Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
3a9b015
Reaplicando mudanças do dark mode
FelipeO16 Mar 2, 2025
fb2107f
chore(config): update readme
FelipeO16 Mar 2, 2025
29df465
feat(docs): add PUCard and PUGrid components with documentation
FelipeO16 Aug 3, 2025
80eee44
feat: add PUDivider component with hand-drawn style separators
FelipeO16 Aug 3, 2025
c8739db
feat: add PULoading component with multiple animation types
FelipeO16 Aug 3, 2025
badb5b1
feat: add PUSlider component with drag interactions and markers
FelipeO16 Aug 3, 2025
ddeccfe
feat: add PURating component with interactive star system
FelipeO16 Aug 3, 2025
d33b801
feat: add PUCounter component with increment/decrement controls
FelipeO16 Aug 3, 2025
320daf1
feat: add PUDropdown component with smooth animations
FelipeO16 Aug 3, 2025
c12f4cd
feat: add PUCopyToClipboard component with success feedback
FelipeO16 Aug 3, 2025
b652e22
feat: add PUSearch component with suggestions and loading states
FelipeO16 Aug 3, 2025
2cca59e
feat: add PUConfetti component with canvas-based particle animation
FelipeO16 Aug 3, 2025
9e90957
docs: update navigation and component list with new components
FelipeO16 Aug 3, 2025
401c80b
refactor: remove unnecessary comments from existing components
FelipeO16 Aug 3, 2025
1073333
refactor: remove HTML comments from all components and pages
FelipeO16 Aug 3, 2025
a13d8c8
refactor: clean up whitespace and improve button alignment in components
FelipeO16 Aug 3, 2025
9e5ca46
fix: disabled state keeps normal colors in PURating
FelipeO16 Aug 3, 2025
ff8bc67
docs: update code examples in pu-grid documentation to use code-box f…
FelipeO16 Aug 3, 2025
7273b5f
refactor: update PUDivider component to use 'divider-style' prop inst…
FelipeO16 Aug 3, 2025
73cb9c1
chore: disable eslint rule for multi-word component names in multiple…
FelipeO16 Aug 3, 2025
aedb752
docs: enhance ShowDivider component example with additional content s…
FelipeO16 Aug 3, 2025
4b22aad
feat: enhance PUDropdown component with teleport for menu rendering a…
FelipeO16 Aug 3, 2025
e7a6841
refactor: remove hand-drawn effect comments from multiple components …
FelipeO16 Aug 3, 2025
c2bbc6d
refactor: enhance PUSlider component to support vertical orientation …
FelipeO16 Aug 3, 2025
501c0ca
refactor: reorganize AsideMenu component structure and update compone…
FelipeO16 Aug 3, 2025
65d1d6e
Update ci.yml
FelipeO16 Aug 4, 2025
bc9383f
refactor: clean up whitespace and improve formatting across multiple …
FelipeO16 Aug 4, 2025
2eb9282
Merge branch 'feat/v1.8' of https://github.com/paper-kit/nuxt into fe…
FelipeO16 Aug 4, 2025
626de49
Update ci.yml
FelipeO16 Aug 4, 2025
7a7e819
Update ci.yml
FelipeO16 Aug 4, 2025
bba22e0
Update ci.yml
FelipeO16 Aug 4, 2025
045ae3f
feat(docs): add new components and images to the project, including c…
FelipeO16 Aug 12, 2025
ef05bed
refactor: update color utility classes in PUCopyToClipboard and PURat…
FelipeO16 Aug 12, 2025
07eedf3
fix: update default colors in PUConfetti component to a single color …
FelipeO16 Aug 12, 2025
b97d71d
refactor: enhance layout and styling on WelcomePage component for imp…
FelipeO16 Aug 12, 2025
1301fbc
refactor: remove unused examples layout component and fix formatting …
FelipeO16 Aug 13, 2025
b43ae04
feat: implement new sidebar menu with expand and collapse functionali…
FelipeO16 Aug 13, 2025
9b008a4
Merge branch 'feat/v1.8' of https://github.com/paper-kit/nuxt into fe…
FelipeO16 Aug 13, 2025
bfbdf37
fix: eslint warnings
FelipeO16 Aug 13, 2025
a83a985
feat: adicionar página de changelog para a versão 2.0, incluindo nova…
FelipeO16 Aug 15, 2025
16462c9
refactor: remove PUGridItem link from sidebar menu for simplification
FelipeO16 Aug 15, 2025
f56e88e
chore: update version to 2.0.0 in package.json, remove incremental co…
FelipeO16 Aug 15, 2025
4f2bbcd
chore(release): v2.1.0
FelipeO16 Aug 15, 2025
e394680
chore: fix repository url on package.json
FelipeO16 Aug 15, 2025
f689a3d
chore(release): v2.0.1
FelipeO16 Aug 15, 2025
1bfd288
chore(release): v2.0.2
FelipeO16 Aug 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,14 @@ jobs:
with:
node-version: 20

- name: Install pnpm
run: npm install -g pnpm

- name: Install dependencies
run: npm install
run: pnpm install

- name: Lint
run: npm run lint
run: pnpm lint

test:
runs-on: ubuntu-latest
Expand All @@ -35,11 +38,14 @@ jobs:
with:
node-version: 20

- name: Install pnpm
run: npm install -g pnpm

- name: Install dependencies
run: npm install
run: pnpm install

- name: Playground prepare
run: npm run dev:prepare
run: pnpm dev:prepare

- name: Test
run: npm run test
run: pnpm test
91 changes: 91 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,97 @@
# Changelog


## v2.0.2

[compare changes](https://github.com/paper-kit/nuxt/compare/v2.0.1...v2.0.2)

## v2.0.1

[compare changes](https://github.com/paper-kit/nuxt/compare/v2.1.0...v2.0.1)

### 🏡 Chore

- Fix repository url on package.json ([e394680](https://github.com/paper-kit/nuxt/commit/e394680))

### ❤️ Contributors

- FelipeO16 <felipe16.12.1998@gmail.com>

## v2.1.0

[compare changes](https://github.com/paper-kit/nuxt/compare/v1.7.0...v2.1.0)

### 🚀 Enhancements

- Initial tests with darkmode ([9d07ea9](https://github.com/paper-kit/nuxt/commit/9d07ea9))
- **components:** Initial darkmode ([809d6cf](https://github.com/paper-kit/nuxt/commit/809d6cf))
- **docs:** Add compare on codeblock ([d4c6961](https://github.com/paper-kit/nuxt/commit/d4c6961))
- **docs:** Add docs page for compare ([ae3f2b7](https://github.com/paper-kit/nuxt/commit/ae3f2b7))
- **docs:** Add darkmode on tailwind ([fbe600a](https://github.com/paper-kit/nuxt/commit/fbe600a))
- **docs:** Add compare page on menu ([938fdcc](https://github.com/paper-kit/nuxt/commit/938fdcc))
- **docs:** Add PUCard and PUGrid components with documentation ([29df465](https://github.com/paper-kit/nuxt/commit/29df465))
- Add PUDivider component with hand-drawn style separators ([80eee44](https://github.com/paper-kit/nuxt/commit/80eee44))
- Add PULoading component with multiple animation types ([c8739db](https://github.com/paper-kit/nuxt/commit/c8739db))
- Add PUSlider component with drag interactions and markers ([badb5b1](https://github.com/paper-kit/nuxt/commit/badb5b1))
- Add PURating component with interactive star system ([ddeccfe](https://github.com/paper-kit/nuxt/commit/ddeccfe))
- Add PUCounter component with increment/decrement controls ([d33b801](https://github.com/paper-kit/nuxt/commit/d33b801))
- Add PUDropdown component with smooth animations ([320daf1](https://github.com/paper-kit/nuxt/commit/320daf1))
- Add PUCopyToClipboard component with success feedback ([c12f4cd](https://github.com/paper-kit/nuxt/commit/c12f4cd))
- Add PUSearch component with suggestions and loading states ([b652e22](https://github.com/paper-kit/nuxt/commit/b652e22))
- Add PUConfetti component with canvas-based particle animation ([2cca59e](https://github.com/paper-kit/nuxt/commit/2cca59e))
- Enhance PUDropdown component with teleport for menu rendering and improved positioning logic ([4b22aad](https://github.com/paper-kit/nuxt/commit/4b22aad))
- **docs:** Add new components and images to the project, including carousel support and layout optimization on the welcome page ([045ae3f](https://github.com/paper-kit/nuxt/commit/045ae3f))
- Implement new sidebar menu with expand and collapse functionality, plus improvements in component styling and layout ([b43ae04](https://github.com/paper-kit/nuxt/commit/b43ae04))
- Adicionar página de changelog para a versão 2.0, incluindo novas funcionalidades e melhorias, além de atualizar o menu lateral e a página de boas-vindas com links para as novidades ([a83a985](https://github.com/paper-kit/nuxt/commit/a83a985))

### 🩹 Fixes

- **component:** Add new props to PUCompare ([9f5f235](https://github.com/paper-kit/nuxt/commit/9f5f235))
- Disabled state keeps normal colors in PURating ([9e5ca46](https://github.com/paper-kit/nuxt/commit/9e5ca46))
- Update default colors in PUConfetti component to a single color for improved visual consistency ([07eedf3](https://github.com/paper-kit/nuxt/commit/07eedf3))
- Eslint warnings ([bfbdf37](https://github.com/paper-kit/nuxt/commit/bfbdf37))

### 💅 Refactors

- Remove unnecessary comments from existing components ([401c80b](https://github.com/paper-kit/nuxt/commit/401c80b))
- Remove HTML comments from all components and pages ([1073333](https://github.com/paper-kit/nuxt/commit/1073333))
- Clean up whitespace and improve button alignment in components ([a13d8c8](https://github.com/paper-kit/nuxt/commit/a13d8c8))
- Update PUDivider component to use 'divider-style' prop instead of 'style' and adjust related documentation ([7273b5f](https://github.com/paper-kit/nuxt/commit/7273b5f))
- Remove hand-drawn effect comments from multiple components for cleaner code ([e7a6841](https://github.com/paper-kit/nuxt/commit/e7a6841))
- Enhance PUSlider component to support vertical orientation with updated marker and thumb positioning ([c2bbc6d](https://github.com/paper-kit/nuxt/commit/c2bbc6d))
- Reorganize AsideMenu component structure and update component links for better categorization ([501c0ca](https://github.com/paper-kit/nuxt/commit/501c0ca))
- Clean up whitespace and improve formatting across multiple components for better code readability ([bc9383f](https://github.com/paper-kit/nuxt/commit/bc9383f))
- Update color utility classes in PUCopyToClipboard and PURating components for consistency with design system ([ef05bed](https://github.com/paper-kit/nuxt/commit/ef05bed))
- Enhance layout and styling on WelcomePage component for improved responsiveness and visual appeal ([b97d71d](https://github.com/paper-kit/nuxt/commit/b97d71d))
- Remove unused examples layout component and fix formatting in nuxt.config.ts ([1301fbc](https://github.com/paper-kit/nuxt/commit/1301fbc))
- Remove PUGridItem link from sidebar menu for simplification ([16462c9](https://github.com/paper-kit/nuxt/commit/16462c9))

### 📖 Documentation

- Update navigation and component list with new components ([9e90957](https://github.com/paper-kit/nuxt/commit/9e90957))
- Update code examples in pu-grid documentation to use code-box format ([ff8bc67](https://github.com/paper-kit/nuxt/commit/ff8bc67))
- Enhance ShowDivider component example with additional content structure ([aedb752](https://github.com/paper-kit/nuxt/commit/aedb752))

### 🏡 Chore

- **lint:** Fix lint warnings ([f235d70](https://github.com/paper-kit/nuxt/commit/f235d70))
- **component:** Change slot name ([e553dd3](https://github.com/paper-kit/nuxt/commit/e553dd3))
- **docs:** Remove compare from preview ([8de45c6](https://github.com/paper-kit/nuxt/commit/8de45c6))
- **docs:** Fix eslint warning ([6c75310](https://github.com/paper-kit/nuxt/commit/6c75310))
- **config:** Update readme ([fb2107f](https://github.com/paper-kit/nuxt/commit/fb2107f))
- Disable eslint rule for multi-word component names in multiple Vue files ([73cb9c1](https://github.com/paper-kit/nuxt/commit/73cb9c1))
- Update version to 2.0.0 in package.json, remove incremental configuration from tsconfig.json and adjust formatting across multiple documentation pages for better readability ([f56e88e](https://github.com/paper-kit/nuxt/commit/f56e88e))

### 🎨 Styles

- **component:** Update icon and style props ([b40f45c](https://github.com/paper-kit/nuxt/commit/b40f45c))

### ❤️ Contributors

- FelipeO16 <felipe16.12.1998@gmail.com>
- Felipe <felipe16.12.1998@gmail.com>
- Felipe Oliveira <felipe16.12.1998@gmail.com>

## v1.7.0

[compare changes](https://github.com/paper-kit/nuxt/compare/v1.6.0...v1.7.0)
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Find and replace all on all files (CMD+SHIFT+F):

![paper-ui-home](https://github.com/user-attachments/assets/c5b4f83a-d052-475d-ad0b-596c9621b5a0)


`@paper-ui/nuxt` is a component library for Nuxt.js that aims to create a "hand-drawn" aesthetic for your UI. With this library, you can build interfaces using components with a unique and artistically crafted style.


Expand All @@ -26,6 +27,7 @@ Find and replace all on all files (CMD+SHIFT+F):
- [📦 NPM Package](https://www.npmjs.com/package/@paper-ui/nuxt)
- [🌍 Nuxt Module Page](https://nuxt.com/modules/paper-ui)


## Installation

To install the module in your Nuxt.js project, use `one` of the following commands:
Expand Down
197 changes: 196 additions & 1 deletion docs/app/components/AllComponents.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,189 @@
<template>
<div class="flex gap-4 flex-wrap mx-4">
<ShowComponent is-new>
<template #component>
<div class="w-64 h-32">
<PUGrid
:cols="2"
gap="small"
>
<PUGridItem>
<div class="p-2 text-center text-xs bg-blue-50 dark:bg-blue-900/20 rounded">
Item 1
</div>
</PUGridItem>
<PUGridItem>
<div class="p-2 text-center text-xs bg-green-50 dark:bg-green-900/20 rounded">
Item 2
</div>
</PUGridItem>
</PUGrid>
</div>
</template>
<template #component-name>
<a href="/docs/components/pu-grid">PUGrid</a>
</template>
</ShowComponent>

<ShowComponent is-new>
<template #component>
<div class="w-64">
<PUCard
variant="simple"
size="small"
>
<h3 class="text-md font-bold mb-1">
Card
</h3>
<p class="text-xs text-gray-600">
Hand-drawn style
</p>
</PUCard>
</div>
</template>
<template #component-name>
<a href="/docs/components/pu-card">PUCard</a>
</template>
</ShowComponent>

<ShowComponent is-new>
<template #component>
<div class="w-64">
<PUDivider
text="Section"
style="dashed"
/>
</div>
</template>
<template #component-name>
<a href="/docs/components/pu-divider">PUDivider</a>
</template>
</ShowComponent>

<ShowComponent is-new>
<template #component>
<div class="w-64">
<PULoading
type="circular"
size="medium"
/>
</div>
</template>
<template #component-name>
<a href="/docs/components/pu-loading">PULoading</a>
</template>
</ShowComponent>

<ShowComponent is-new>
<template #component>
<div class="w-64">
<PUSlider
v-model="sliderValue"
:min="0"
:max="100"
/>
</div>
</template>
<template #component-name>
<a href="/docs/components/pu-slider">PUSlider</a>
</template>
</ShowComponent>

<ShowComponent is-new>
<template #component>
<div class="w-64">
<PURating v-model="ratingValue" />
</div>
</template>
<template #component-name>
<a href="/docs/components/pu-rating">PURating</a>
</template>
</ShowComponent>

<ShowComponent is-new>
<template #component>
<div class="w-64">
<PUCounter v-model="counterValue" />
</div>
</template>
<template #component-name>
<a href="/docs/components/pu-counter">PUCounter</a>
</template>
</ShowComponent>

<ShowComponent is-new>
<template #component>
<div class="w-64">
<PUDropdown
v-model="dropdownValue"
:options="dropdownOptions"
placeholder="Select..."
/>
</div>
</template>
<template #component-name>
<a href="/docs/components/pu-dropdown">PUDropdown</a>
</template>
</ShowComponent>

<ShowComponent is-new>
<template #component>
<div class="w-64">
<PUCopyToClipboard value="Copy this text" />
</div>
</template>
<template #component-name>
<a href="/docs/components/pu-copy">PUCopyToClipboard</a>
</template>
</ShowComponent>

<ShowComponent is-new>
<template #component>
<div class="w-64">
<PUSearch placeholder="Search..." />
</div>
</template>
<template #component-name>
<a href="/docs/components/pu-search">PUSearch</a>
</template>
</ShowComponent>

<ShowComponent is-new>
<template #component>
<div class="w-64 h-32 relative">
<PUConfetti
:active="true"
:width="256"
:height="128"
class="absolute inset-0"
/>
</div>
</template>
<template #component-name>
<a href="/docs/components/pu-confetti">PUConfetti</a>
</template>
</ShowComponent>

<ShowComponent is-new>
<template #component>
<div class="flex w-48 relative">
<div class="flex gap-4 flex-wrap mx-4 w-full h-24">
<PUCompare with-dark-mode>
<PUButton
flavor="normal"
shape="rounded"
>
Click me!
</PUButton>
</PUCompare>
</div>
</div>
</template>
<template #component-name>
<a href="/docs/components/pu-compare">PUCompare</a>
</template>
</ShowComponent>

<ShowComponent is-new>
<template #component>
<div class="flex w-48 relative">
Expand Down Expand Up @@ -241,7 +425,6 @@
</div>
</template>

<!-- Content Customization -->
<template #content="{ tab }">
<p class="my-4">
{{ tab.content }}
Expand Down Expand Up @@ -341,6 +524,8 @@
</template>

<script setup lang="ts">
import { ref } from 'vue'

const { add } = useToast()

const options = ref([
Expand Down Expand Up @@ -389,6 +574,16 @@ const handleModelValueUpdate = (value: string | number | null) => {

const checked = ref<boolean>(false)

const sliderValue = ref(50)
const ratingValue = ref(3)
const counterValue = ref(5)
const dropdownValue = ref('')
const dropdownOptions = ref([
{ value: 'option1', label: 'Option 1' },
{ value: 'option2', label: 'Option 2' },
{ value: 'option3', label: 'Option 3' },
])

const openToast = () => {
add({
severity: 'secondary',
Expand Down
Loading