From 775a701617f531fe56a9137cc54bc243be9f63a0 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Wed, 6 Aug 2025 10:51:01 +0200 Subject: [PATCH 001/181] chore(github): deduplicate issue templates --- .github/ISSUE_TEMPLATE/bug-report-v3.yml | 69 ------------------- .github/ISSUE_TEMPLATE/bug-report.yml | 29 +++++--- .github/ISSUE_TEMPLATE/feature-request-v3.yml | 20 ------ .github/ISSUE_TEMPLATE/feature-request.yml | 2 +- .github/ISSUE_TEMPLATE/question-v3.yml | 14 ---- .github/ISSUE_TEMPLATE/question.yml | 2 +- 6 files changed, 21 insertions(+), 115 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug-report-v3.yml delete mode 100644 .github/ISSUE_TEMPLATE/feature-request-v3.yml delete mode 100644 .github/ISSUE_TEMPLATE/question-v3.yml diff --git a/.github/ISSUE_TEMPLATE/bug-report-v3.yml b/.github/ISSUE_TEMPLATE/bug-report-v3.yml deleted file mode 100644 index d50818255c..0000000000 --- a/.github/ISSUE_TEMPLATE/bug-report-v3.yml +++ /dev/null @@ -1,69 +0,0 @@ -name: "🐛 Bug report (v3)" -description: Report a bug to help us improve the module (v3 only). -labels: ["triage", "bug", "v3"] -body: - - type: markdown - attributes: - value: | - Before reporting a bug, please make sure that you have read through our [documentation](https://ui.nuxt.com/) and existing [issues](https://github.com/nuxt/ui/issues?q=is%3Aissue%20is%3Aopen%20sort%3Aupdated-desc%20label%3Av3). - - type: textarea - id: env - attributes: - label: Environment - description: You can use `npx nuxt info` to fill this section - placeholder: | - - Operating System: `Darwin` - - Node Version: `v18.16.0` - - Nuxt Version: `3.7.3` - - CLI Version: `3.8.4` - - Nitro Version: `2.6.3` - - Package Manager: `pnpm@8.7.4` - - Builder: `-` - - User Config: `-` - - Runtime Modules: `-` - - Build Modules: `-` - validations: - required: true - - type: dropdown - id: package - attributes: - label: Is this bug related to Nuxt or Vue? - options: - - Nuxt - - Vue - validations: - required: true - - type: input - id: version - attributes: - label: Version - placeholder: v3.0.0 - validations: - required: true - - type: textarea - id: reproduction - attributes: - label: Reproduction - description: Please provide a reproduction link using the Nuxt template https://codesandbox.io/p/devbox/nuxt-ui3-n3sxks or the Vue template https://codesandbox.io/p/devbox/nuxt-ui3-vue-4h5gqn. A minimal [reproduction is required](https://antfu.me/posts/why-reproductions-are-required) unless you are absolutely sure that the issue is obvious and the provided information is enough to understand the problem. If a report is vague (e.g. just a generic error message) and has no reproduction, it will receive a "needs reproduction" label. If no reproduction is provided, it will be closed automatically after a while. - placeholder: https://github.com/my/reproduction - validations: - required: true - - type: textarea - id: description - attributes: - label: Description - description: A clear and concise description of what the bug is. If you intend to submit a PR for this issue, tell us in the description. - validations: - required: true - - type: textarea - id: additonal - attributes: - label: Additional context - description: If applicable, add any other context or screenshots here. - - type: textarea - id: logs - attributes: - label: Logs - description: | - Optional if provided reproduction. Please try not to insert an image but copy paste the log text. - render: shell-script diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 349fbe4bed..4cc157e7f7 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -5,7 +5,7 @@ body: - type: markdown attributes: value: | - Before reporting a bug, please make sure that you have read through our [documentation](https://ui2.nuxt.com) and existing [issues](https://github.com/nuxt/ui/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc). + Before reporting a bug, please make sure that you have read through our [documentation](https://ui.nuxt.com/) and existing [issues](https://github.com/nuxt/ui/issues?q=is%3Aissue%20is%3Aopen%20sort%3Aupdated-desc). - type: textarea id: env attributes: @@ -13,30 +13,39 @@ body: description: You can use `npx nuxt info` to fill this section placeholder: | - Operating System: `Darwin` - - Node Version: `v18.16.0` - - Nuxt Version: `3.7.3` - - CLI Version: `3.8.4` - - Nitro Version: `2.6.3` - - Package Manager: `pnpm@8.7.4` + - Node Version: `v24.3.0` + - Nuxt Version: `4.0.3` + - CLI Version: `3.27.0` + - Nitro Version: `2.12.4` + - Package Manager: `pnpm@10.13.1` - Builder: `-` - User Config: `-` - Runtime Modules: `-` - Build Modules: `-` validations: required: true + - type: dropdown + id: package + attributes: + label: Is this bug related to Nuxt or Vue? + options: + - Nuxt + - Vue + validations: + required: true - type: input id: version attributes: - label: Version - placeholder: v2.20.0 + label: Version (@nuxt/ui) + placeholder: v4.0.0 validations: required: true - type: textarea id: reproduction attributes: label: Reproduction - description: Please provide a reproduction link using this template https://stackblitz.com/edit/nuxt-ui. A minimal [reproduction is required](https://antfu.me/posts/why-reproductions-are-required) unless you are absolutely sure that the issue is obvious and the provided information is enough to understand the problem. If a report is vague (e.g. just a generic error message) and has no reproduction, it will receive a "needs reproduction" label. If no reproduction is provided we might close it. - placeholder: https://stackblitz.com/edit/nuxt-ui + description: Please provide a reproduction link using the Nuxt template https://codesandbox.io/p/devbox/nuxt-ui3-n3sxks or the Vue template https://codesandbox.io/p/devbox/nuxt-ui3-vue-4h5gqn. A minimal [reproduction is required](https://antfu.me/posts/why-reproductions-are-required) unless you are absolutely sure that the issue is obvious and the provided information is enough to understand the problem. If a report is vague (e.g. just a generic error message) and has no reproduction, it will receive a "needs reproduction" label. If no reproduction is provided, it will be closed automatically after a while. + placeholder: https://github.com/my/reproduction validations: required: true - type: textarea diff --git a/.github/ISSUE_TEMPLATE/feature-request-v3.yml b/.github/ISSUE_TEMPLATE/feature-request-v3.yml deleted file mode 100644 index 89596ac75f..0000000000 --- a/.github/ISSUE_TEMPLATE/feature-request-v3.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: "🚀 Feature request (v3)" -description: Suggest an idea or enhancement for the module (v3 only). -labels: ["triage", "enhancement", "v3"] -body: - - type: markdown - attributes: - value: | - Before requesting a feature, please make sure that you have read through our [documentation](https://ui.nuxt.com/) and existing [issues](https://github.com/nuxt/ui/issues?q=is%3Aissue%20is%3Aopen%20sort%3Aupdated-desc%20label%3Av3). - - type: textarea - id: description - attributes: - label: Description - description: A clear and concise description of what you think would be an helpful addition to the module, including the possible use cases and alternatives you have considered. If you have a working prototype or module that implements it, please include a link. - validations: - required: true - - type: textarea - id: additonal - attributes: - label: Additional context - description: If applicable, add any other context or screenshots here. diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml index 92ad15b4fd..b82b7c7666 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.yml +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -5,7 +5,7 @@ body: - type: markdown attributes: value: | - Before requesting a feature, please make sure that you have read through our [documentation](https://ui2.nuxt.com) and existing [issues](https://github.com/nuxt/ui/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc). + Before requesting a feature, please make sure that you have read through our [documentation](https://ui.nuxt.com/) and existing [issues](https://github.com/nuxt/ui/issues?q=is%3Aissue%20is%3Aopen%20sort%3Aupdated-desc). - type: textarea id: description attributes: diff --git a/.github/ISSUE_TEMPLATE/question-v3.yml b/.github/ISSUE_TEMPLATE/question-v3.yml deleted file mode 100644 index 149c749be9..0000000000 --- a/.github/ISSUE_TEMPLATE/question-v3.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: "💬 Question (v3)" -description: Ask a question about the module (v3 only). -labels: ["question", "v3"] -body: - - type: markdown - attributes: - value: | - Before asking a question, please make sure that you have read through our [documentation](https://ui.nuxt.com/) and existing [issues](https://github.com/nuxt/ui/issues?q=is%3Aissue%20is%3Aopen%20sort%3Aupdated-desc%20label%3Av3). - - type: textarea - id: description - attributes: - label: Description - validations: - required: true diff --git a/.github/ISSUE_TEMPLATE/question.yml b/.github/ISSUE_TEMPLATE/question.yml index 8472116d61..b576de1cd1 100644 --- a/.github/ISSUE_TEMPLATE/question.yml +++ b/.github/ISSUE_TEMPLATE/question.yml @@ -5,7 +5,7 @@ body: - type: markdown attributes: value: | - Before asking a question, please make sure that you have read through our [documentation](https://ui2.nuxt.com) and existing [issues](https://github.com/nuxt/ui/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc). + Before asking a question, please make sure that you have read through our [documentation](https://ui.nuxt.com/) and existing [issues](https://github.com/nuxt/ui/issues?q=is%3Aissue%20is%3Aopen%20sort%3Aupdated-desc). - type: textarea id: description attributes: From 2282e8f36c1c60af2c5db590026c18ffdf182842 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Wed, 6 Aug 2025 10:51:53 +0200 Subject: [PATCH 002/181] chore(github): update workflows to use `v4` branch --- .github/workflows/docs.yml | 47 -------------------------------- .github/workflows/module.yml | 4 +-- .github/workflows/playground.yml | 45 ------------------------------ .github/workflows/release.yml | 2 +- 4 files changed, 3 insertions(+), 95 deletions(-) delete mode 100644 .github/workflows/docs.yml delete mode 100644 .github/workflows/playground.yml diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml deleted file mode 100644 index 6bab34f4b0..0000000000 --- a/.github/workflows/docs.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: docs - -on: push - -jobs: - deploy: - runs-on: ${{ matrix.os }} - - permissions: - contents: read - id-token: write - - strategy: - matrix: - os: [ubuntu-latest] # macos-latest, windows-latest - node: [22] - - env: - NUXT_GITHUB_TOKEN: ${{ secrets.NUXT_GITHUB_TOKEN }} - - steps: - - uses: actions/checkout@v5 - with: - fetch-depth: 0 - - - name: Install pnpm - uses: pnpm/action-setup@v4 - - - name: Install node - uses: actions/setup-node@v4 - with: - node-version: ${{ matrix.node }} - cache: pnpm - - - name: Install dependencies - run: pnpm install - - - name: Prepare build - run: pnpm run dev:prepare - - - name: Deploy to NuxtHub - uses: nuxt-hub/action@v2 - env: - NODE_OPTIONS: '--max-old-space-size=8192' - with: - project-key: ui-7eg3 - directory: docs diff --git a/.github/workflows/module.yml b/.github/workflows/module.yml index 395cbc9b23..125dc9dfee 100644 --- a/.github/workflows/module.yml +++ b/.github/workflows/module.yml @@ -3,10 +3,10 @@ name: module on: push: branches: - - v3 + - v4 pull_request: branches: - - v3 + - v4 jobs: build: diff --git a/.github/workflows/playground.yml b/.github/workflows/playground.yml deleted file mode 100644 index ca933b8e16..0000000000 --- a/.github/workflows/playground.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: playground - -on: - push: - branches: - - v3 - -jobs: - deploy: - runs-on: ${{ matrix.os }} - - permissions: - contents: read - id-token: write - - strategy: - matrix: - os: [ubuntu-latest] # macos-latest, windows-latest - node: [22] - - steps: - - uses: actions/checkout@v5 - - - name: Install pnpm - uses: pnpm/action-setup@v4 - - - name: Install node - uses: actions/setup-node@v4 - with: - node-version: ${{ matrix.node }} - cache: pnpm - - - name: Install dependencies - run: pnpm install - - - name: Prepare build - run: pnpm run dev:prepare - - - name: Deploy to NuxtHub - uses: nuxt-hub/action@v2 - env: - NODE_OPTIONS: '--max-old-space-size=8192' - with: - project-key: ui3-playground-pb9b - directory: playground diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ba369e8269..4bc873154d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,7 @@ name: release on: push: tags: - - 'v3*' + - 'v4*' jobs: publish: From 55a1b353354ce572a05a4a6cf85a311e5b285efb Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Wed, 6 Aug 2025 10:52:04 +0200 Subject: [PATCH 003/181] chore(readme): update branch to `v4` --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 90be7d2c6a..ba5721c8e9 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Nuxt UI harnesses the combined strengths of [Reka UI](https://reka-ui.com/), [Tailwind CSS](https://tailwindcss.com/), and [Tailwind Variants](https://www.tailwind-variants.org/) to offer developers an unparalleled set of tools for creating sophisticated, accessible, and highly performant user interfaces. > [!NOTE] -> You are on the `v3` development branch, check out the [v2 branch](https://github.com/nuxt/ui/tree/v2) for Nuxt UI v2. +> You are on the `v4` development branch, check out the [v2 branch](https://github.com/nuxt/ui/tree/v2) for Nuxt UI v2. > [!TIP] > **Looking for more components ?** @@ -131,7 +131,7 @@ Follow the docs to [set up your local development environment](https://ui.nuxt.c ## License -Licensed under the [MIT license](https://github.com/nuxt/ui/blob/v3/LICENSE.md). +Licensed under the [MIT license](https://github.com/nuxt/ui/blob/v4/LICENSE.md). [npm-version-src]: https://img.shields.io/npm/v/@nuxt/ui/latest.svg?style=flat&colorA=18181B&colorB=28CF8D @@ -141,7 +141,7 @@ Licensed under the [MIT license](https://github.com/nuxt/ui/blob/v3/LICENSE.md). [npm-downloads-href]: https://npm.chart.dev/@nuxt/ui [license-src]: https://img.shields.io/github/license/nuxt/ui.svg?style=flat&colorA=18181B&colorB=28CF8D -[license-href]: https://github.com/nuxt/ui/blob/v3/LICENSE.md +[license-href]: https://github.com/nuxt/ui/blob/v4/LICENSE.md [nuxt-src]: https://img.shields.io/badge/Nuxt-18181B?logo=nuxt.js [nuxt-href]: https://nuxt.com From 250295cacdbf9d2ef4ee86cc1c6ed537c01dbdcb Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Wed, 6 Aug 2025 10:52:15 +0200 Subject: [PATCH 004/181] chore(renovate): update branch to `v4` --- renovate.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/renovate.json b/renovate.json index e3a2be2944..5621b309c3 100644 --- a/renovate.json +++ b/renovate.json @@ -7,7 +7,7 @@ }, "baseBranchPatterns": [ "v2", - "v3" + "v4" ], "ignoreDeps": [ "@nuxt/module-builder", @@ -17,10 +17,10 @@ "packageRules": [ { "matchBaseBranches": [ - "v3" + "v4" ], "labels": [ - "v3" + "v4" ] }, { From 2e7837eee9f62f9a678da3787e37a56d61455428 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Wed, 6 Aug 2025 10:57:02 +0200 Subject: [PATCH 005/181] docs: update branch to `v4` --- cli/templates.mjs | 2 +- docs/app/components/content/ComponentTheme.vue | 2 +- docs/app/components/content/SupportedLanguages.vue | 2 +- docs/app/pages/[...slug].vue | 2 +- docs/content/1.getting-started/3.theme.md | 2 +- docs/content/1.getting-started/contribution.md | 2 +- docs/content/2.composables/use-toast.md | 2 +- docs/content/3.components/0.app.md | 2 +- docs/content/3.components/accordion.md | 2 +- docs/content/3.components/alert.md | 2 +- docs/content/3.components/avatar-group.md | 2 +- docs/content/3.components/avatar.md | 2 +- docs/content/3.components/badge.md | 2 +- docs/content/3.components/breadcrumb.md | 2 +- docs/content/3.components/button-group.md | 2 +- docs/content/3.components/button.md | 4 ++-- docs/content/3.components/calendar.md | 4 ++-- docs/content/3.components/card.md | 2 +- docs/content/3.components/carousel.md | 2 +- docs/content/3.components/checkbox-group.md | 2 +- docs/content/3.components/checkbox.md | 2 +- docs/content/3.components/chip.md | 2 +- docs/content/3.components/collapsible.md | 2 +- docs/content/3.components/color-picker.md | 2 +- docs/content/3.components/command-palette.md | 2 +- docs/content/3.components/container.md | 2 +- docs/content/3.components/context-menu.md | 2 +- docs/content/3.components/drawer.md | 2 +- docs/content/3.components/dropdown-menu.md | 2 +- docs/content/3.components/file-upload.md | 2 +- docs/content/3.components/form-field.md | 2 +- docs/content/3.components/form.md | 2 +- docs/content/3.components/input-menu.md | 2 +- docs/content/3.components/input-number.md | 2 +- docs/content/3.components/input-tags.md | 2 +- docs/content/3.components/input.md | 2 +- docs/content/3.components/kbd.md | 4 ++-- docs/content/3.components/link.md | 2 +- docs/content/3.components/modal.md | 4 ++-- docs/content/3.components/navigation-menu.md | 2 +- docs/content/3.components/pagination.md | 2 +- docs/content/3.components/pin-input.md | 2 +- docs/content/3.components/popover.md | 2 +- docs/content/3.components/progress.md | 2 +- docs/content/3.components/radio-group.md | 2 +- docs/content/3.components/select-menu.md | 2 +- docs/content/3.components/select.md | 2 +- docs/content/3.components/separator.md | 2 +- docs/content/3.components/skeleton.md | 2 +- docs/content/3.components/slideover.md | 4 ++-- docs/content/3.components/slider.md | 2 +- docs/content/3.components/stepper.md | 2 +- docs/content/3.components/switch.md | 2 +- docs/content/3.components/table.md | 4 ++-- docs/content/3.components/tabs.md | 2 +- docs/content/3.components/textarea.md | 2 +- docs/content/3.components/timeline.md | 2 +- docs/content/3.components/toast.md | 10 +++++----- docs/content/3.components/tooltip.md | 2 +- docs/content/3.components/tree.md | 2 +- 60 files changed, 70 insertions(+), 70 deletions(-) diff --git a/cli/templates.mjs b/cli/templates.mjs index f50ac8f053..6f395c5695 100644 --- a/cli/templates.mjs +++ b/cli/templates.mjs @@ -188,7 +188,7 @@ links:${primitive to: https://reka-ui.com/docs/components/${kebabName}`} - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/${pro ? 'ui-pro' : 'ui'}/tree/v3/src/runtime/components/${upperName}.vue + to: https://github.com/nuxt/${pro ? 'ui-pro' : 'ui'}/tree/v4/src/runtime/components/${upperName}.vue navigation.badge: Soon --- diff --git a/docs/app/components/content/ComponentTheme.vue b/docs/app/components/content/ComponentTheme.vue index 6a09249052..54bccaf36b 100644 --- a/docs/app/components/content/ComponentTheme.vue +++ b/docs/app/components/content/ComponentTheme.vue @@ -83,7 +83,7 @@ const themeLink = computed(() => { const repo = props.pro ? 'ui-pro' : 'ui' const slug = name.startsWith('content') ? `content/${name}` : name - return `https://github.com/nuxt/${repo}/blob/v3/src/theme/${slug}.ts` + return `https://github.com/nuxt/${repo}/blob/v4/src/theme/${slug}.ts` }) const { data: ast } = await useAsyncData(`component-theme-${camelName}-${hash({ props })}`, async () => { diff --git a/docs/app/components/content/SupportedLanguages.vue b/docs/app/components/content/SupportedLanguages.vue index 0ddacb11ed..bd7e18a3d0 100644 --- a/docs/app/components/content/SupportedLanguages.vue +++ b/docs/app/components/content/SupportedLanguages.vue @@ -66,7 +66,7 @@ function getEmojiFlag(locale: string): string { - + If you need additional languages, you can contribute by creating a PR to add a new locale in src/runtime/locale/. diff --git a/docs/app/pages/[...slug].vue b/docs/app/pages/[...slug].vue index 5e16805acc..414830fde4 100644 --- a/docs/app/pages/[...slug].vue +++ b/docs/app/pages/[...slug].vue @@ -99,7 +99,7 @@ if (route.path.startsWith('/components')) { const communityLinks = computed(() => [{ icon: 'i-lucide-file-pen', label: 'Edit this page', - to: `https://github.com/nuxt/${page.value?.module === 'ui-pro' ? 'ui-pro' : 'ui'}/edit/v3/docs/content/${page?.value?.stem}.md`, + to: `https://github.com/nuxt/${page.value?.module === 'ui-pro' ? 'ui-pro' : 'ui'}/edit/v4/docs/content/${page?.value?.stem}.md`, target: '_blank' }, { icon: 'i-lucide-star', diff --git a/docs/content/1.getting-started/3.theme.md b/docs/content/1.getting-started/3.theme.md index 391bad0216..1480a5e208 100644 --- a/docs/content/1.getting-started/3.theme.md +++ b/docs/content/1.getting-started/3.theme.md @@ -1086,7 +1086,7 @@ Tailwind Variants uses [`tailwind-merge`](https://github.com/dcastil/tailwind-me You can explore the theme for each component in two ways: - Check the `Theme` section in the documentation of each individual component. -- Browse the source code directly in the GitHub repository at [`v3/src/theme`](https://github.com/nuxt/ui/tree/v3/src/theme). +- Browse the source code directly in the GitHub repository at [`src/theme`](https://github.com/nuxt/ui/tree/v4/src/theme). :: ### Config diff --git a/docs/content/1.getting-started/contribution.md b/docs/content/1.getting-started/contribution.md index 699f64c6a2..6d362daeaa 100644 --- a/docs/content/1.getting-started/contribution.md +++ b/docs/content/1.getting-started/contribution.md @@ -237,7 +237,7 @@ We use [Conventional Commits](https://www.conventionalcommits.org/) for commit m ### Making a Pull Request -- Follow along the [instructions](https://github.com/nuxt/ui/blob/v3/.github/PULL_REQUEST_TEMPLATE.md?plain=1) provided when creating a PR +- Follow along the [instructions](https://github.com/nuxt/ui/blob/v4/.github/PULL_REQUEST_TEMPLATE.md?plain=1) provided when creating a PR - Ensure your PR's title adheres to the [Conventional Commits](https://www.conventionalcommits.org/) since it will be used once the code is merged. diff --git a/docs/content/2.composables/use-toast.md b/docs/content/2.composables/use-toast.md index 0605ef2c4e..b40132d9fc 100644 --- a/docs/content/2.composables/use-toast.md +++ b/docs/content/2.composables/use-toast.md @@ -18,7 +18,7 @@ const toast = useToast() - When removing a toast, there's a 200ms delay before it's actually removed from the state, allowing for exit animations. ::warning -Make sure to wrap your app with the [`App`](/components/app) component which uses our [`Toaster`](https://github.com/nuxt/ui/blob/v3/src/runtime/components/Toaster.vue) component which uses the [`ToastProvider`](https://reka-ui.com/docs/components/toast#provider) component from Reka UI. +Make sure to wrap your app with the [`App`](/components/app) component which uses our [`Toaster`](https://github.com/nuxt/ui/blob/v4/src/runtime/components/Toaster.vue) component which uses the [`ToastProvider`](https://reka-ui.com/docs/components/toast#provider) component from Reka UI. :: ::tip{to="/components/toast"} diff --git a/docs/content/3.components/0.app.md b/docs/content/3.components/0.app.md index 4d5f85cba1..a7cbe43484 100644 --- a/docs/content/3.components/0.app.md +++ b/docs/content/3.components/0.app.md @@ -5,7 +5,7 @@ category: layout links: - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/App.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/App.vue --- ## Usage diff --git a/docs/content/3.components/accordion.md b/docs/content/3.components/accordion.md index 45d60743b0..69c612e8e0 100644 --- a/docs/content/3.components/accordion.md +++ b/docs/content/3.components/accordion.md @@ -7,7 +7,7 @@ links: to: https://reka-ui.com/docs/components/accordion - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Accordion.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/Accordion.vue --- ## Usage diff --git a/docs/content/3.components/alert.md b/docs/content/3.components/alert.md index fc11269d6e..98acd4a019 100644 --- a/docs/content/3.components/alert.md +++ b/docs/content/3.components/alert.md @@ -4,7 +4,7 @@ category: element links: - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Alert.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/Alert.vue --- ## Usage diff --git a/docs/content/3.components/avatar-group.md b/docs/content/3.components/avatar-group.md index 9e5017dda0..78c4241631 100644 --- a/docs/content/3.components/avatar-group.md +++ b/docs/content/3.components/avatar-group.md @@ -5,7 +5,7 @@ category: element links: - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/AvatarGroup.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/AvatarGroup.vue --- ## Usage diff --git a/docs/content/3.components/avatar.md b/docs/content/3.components/avatar.md index 851c752ee0..2258be7460 100644 --- a/docs/content/3.components/avatar.md +++ b/docs/content/3.components/avatar.md @@ -4,7 +4,7 @@ category: element links: - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Avatar.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/Avatar.vue --- ## Usage diff --git a/docs/content/3.components/badge.md b/docs/content/3.components/badge.md index 96a21dc956..454b9d8ad0 100644 --- a/docs/content/3.components/badge.md +++ b/docs/content/3.components/badge.md @@ -4,7 +4,7 @@ category: element links: - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Badge.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/Badge.vue --- ## Usage diff --git a/docs/content/3.components/breadcrumb.md b/docs/content/3.components/breadcrumb.md index f852b32365..1ab903bb5a 100644 --- a/docs/content/3.components/breadcrumb.md +++ b/docs/content/3.components/breadcrumb.md @@ -4,7 +4,7 @@ category: navigation links: - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Breadcrumb.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/Breadcrumb.vue --- ## Usage diff --git a/docs/content/3.components/button-group.md b/docs/content/3.components/button-group.md index ec79c3e81d..5d17bc24dd 100644 --- a/docs/content/3.components/button-group.md +++ b/docs/content/3.components/button-group.md @@ -5,7 +5,7 @@ category: element links: - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/ButtonGroup.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/ButtonGroup.vue --- ## Usage diff --git a/docs/content/3.components/button.md b/docs/content/3.components/button.md index 1568287014..933cc0e67e 100644 --- a/docs/content/3.components/button.md +++ b/docs/content/3.components/button.md @@ -4,7 +4,7 @@ category: element links: - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Button.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/Button.vue --- ## Usage @@ -344,7 +344,7 @@ slots: :component-props -::callout{icon="i-simple-icons-github" to="https://github.com/nuxt/ui/blob/v3/src/runtime/components/Link.vue#L13"} +::callout{icon="i-simple-icons-github" to="https://github.com/nuxt/ui/blob/v4/src/runtime/components/Link.vue#L13"} The `Button` component extends the `Link` component. Check out the source code on GitHub. :: diff --git a/docs/content/3.components/calendar.md b/docs/content/3.components/calendar.md index 313a704e11..4e1d9b6d14 100644 --- a/docs/content/3.components/calendar.md +++ b/docs/content/3.components/calendar.md @@ -8,7 +8,7 @@ links: to: https://reka-ui.com/docs/components/calendar - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Calendar.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/Calendar.vue --- ::note @@ -211,7 +211,7 @@ name: 'calendar-min-max-dates-example' ### With other calendar systems -You can use other calenders from `@internationalized/date` to implement a different calendar system. +You can use other calenders from `@internationalized/date` to implement a different calendar system. ::component-example --- diff --git a/docs/content/3.components/card.md b/docs/content/3.components/card.md index 510d912330..148bddc98c 100644 --- a/docs/content/3.components/card.md +++ b/docs/content/3.components/card.md @@ -4,7 +4,7 @@ category: layout links: - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Card.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/Card.vue --- ## Usage diff --git a/docs/content/3.components/carousel.md b/docs/content/3.components/carousel.md index 512ac9c865..5a678fa8d4 100644 --- a/docs/content/3.components/carousel.md +++ b/docs/content/3.components/carousel.md @@ -7,7 +7,7 @@ links: icon: i-custom-embla-carousel - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Carousel.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/Carousel.vue --- ## Usage diff --git a/docs/content/3.components/checkbox-group.md b/docs/content/3.components/checkbox-group.md index e74b7eecde..4d6d46cd2e 100644 --- a/docs/content/3.components/checkbox-group.md +++ b/docs/content/3.components/checkbox-group.md @@ -8,7 +8,7 @@ links: to: https://reka-ui.com/docs/components/checkbox#group-root - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/CheckboxGroup.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/CheckboxGroup.vue --- diff --git a/docs/content/3.components/checkbox.md b/docs/content/3.components/checkbox.md index 3aa9f19fb3..cc8b1133e7 100644 --- a/docs/content/3.components/checkbox.md +++ b/docs/content/3.components/checkbox.md @@ -7,7 +7,7 @@ links: to: https://reka-ui.com/docs/components/checkbox - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Checkbox.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/Checkbox.vue --- ## Usage diff --git a/docs/content/3.components/chip.md b/docs/content/3.components/chip.md index 3f1e54c158..0ad7ccbaaa 100644 --- a/docs/content/3.components/chip.md +++ b/docs/content/3.components/chip.md @@ -4,7 +4,7 @@ category: element links: - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Chip.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/Chip.vue --- ## Usage diff --git a/docs/content/3.components/collapsible.md b/docs/content/3.components/collapsible.md index 253ead48b7..fd8afa754b 100644 --- a/docs/content/3.components/collapsible.md +++ b/docs/content/3.components/collapsible.md @@ -7,7 +7,7 @@ links: to: https://reka-ui.com/docs/components/collapsible - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Collapsible.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/Collapsible.vue --- ## Usage diff --git a/docs/content/3.components/color-picker.md b/docs/content/3.components/color-picker.md index a7c0e5985e..4309372784 100644 --- a/docs/content/3.components/color-picker.md +++ b/docs/content/3.components/color-picker.md @@ -5,7 +5,7 @@ category: form links: - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/ColorPicker.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/ColorPicker.vue --- ## Usage diff --git a/docs/content/3.components/command-palette.md b/docs/content/3.components/command-palette.md index 970f6b26e8..5d20cc1482 100644 --- a/docs/content/3.components/command-palette.md +++ b/docs/content/3.components/command-palette.md @@ -12,7 +12,7 @@ links: to: https://reka-ui.com/docs/components/listbox - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/CommandPalette.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/CommandPalette.vue --- ## Usage diff --git a/docs/content/3.components/container.md b/docs/content/3.components/container.md index ae3fffefb4..9bd86eda70 100644 --- a/docs/content/3.components/container.md +++ b/docs/content/3.components/container.md @@ -4,7 +4,7 @@ category: layout links: - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Container.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/Container.vue --- ## Usage diff --git a/docs/content/3.components/context-menu.md b/docs/content/3.components/context-menu.md index 59663dfeae..b00407b092 100644 --- a/docs/content/3.components/context-menu.md +++ b/docs/content/3.components/context-menu.md @@ -8,7 +8,7 @@ links: to: https://reka-ui.com/docs/components/context-menu - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/ContextMenu.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/ContextMenu.vue --- ## Usage diff --git a/docs/content/3.components/drawer.md b/docs/content/3.components/drawer.md index 9a7ffa53dd..7a7cbc3d7f 100644 --- a/docs/content/3.components/drawer.md +++ b/docs/content/3.components/drawer.md @@ -7,7 +7,7 @@ links: to: https://github.com/unovue/vaul-vue - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Drawer.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/Drawer.vue --- ## Usage diff --git a/docs/content/3.components/dropdown-menu.md b/docs/content/3.components/dropdown-menu.md index ae66631968..8023e6eed7 100644 --- a/docs/content/3.components/dropdown-menu.md +++ b/docs/content/3.components/dropdown-menu.md @@ -8,7 +8,7 @@ links: to: https://reka-ui.com/docs/components/dropdown-menu - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/DropdownMenu.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/DropdownMenu.vue --- ## Usage diff --git a/docs/content/3.components/file-upload.md b/docs/content/3.components/file-upload.md index ce56b1615d..bfeb8b8f85 100644 --- a/docs/content/3.components/file-upload.md +++ b/docs/content/3.components/file-upload.md @@ -5,7 +5,7 @@ category: form links: - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/FileUpload.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/FileUpload.vue navigation.badge: New --- diff --git a/docs/content/3.components/form-field.md b/docs/content/3.components/form-field.md index 2c6b952072..6aec071b9d 100644 --- a/docs/content/3.components/form-field.md +++ b/docs/content/3.components/form-field.md @@ -5,7 +5,7 @@ category: form links: - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/FormField.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/FormField.vue --- ## Usage diff --git a/docs/content/3.components/form.md b/docs/content/3.components/form.md index 690c4e2deb..759bf446d2 100644 --- a/docs/content/3.components/form.md +++ b/docs/content/3.components/form.md @@ -4,7 +4,7 @@ category: form links: - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Form.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/Form.vue --- ## Usage diff --git a/docs/content/3.components/input-menu.md b/docs/content/3.components/input-menu.md index 0309af1d1b..2bb603af08 100644 --- a/docs/content/3.components/input-menu.md +++ b/docs/content/3.components/input-menu.md @@ -8,7 +8,7 @@ links: to: https://reka-ui.com/docs/components/combobox - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/InputMenu.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/InputMenu.vue --- ## Usage diff --git a/docs/content/3.components/input-number.md b/docs/content/3.components/input-number.md index eb0786d2e7..5c108e3601 100644 --- a/docs/content/3.components/input-number.md +++ b/docs/content/3.components/input-number.md @@ -8,7 +8,7 @@ links: to: https://www.reka-ui.com/docs/components/number-field - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/InputNumber.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/InputNumber.vue --- ::note diff --git a/docs/content/3.components/input-tags.md b/docs/content/3.components/input-tags.md index 0784768085..dbeb73e0a6 100644 --- a/docs/content/3.components/input-tags.md +++ b/docs/content/3.components/input-tags.md @@ -8,7 +8,7 @@ links: to: https://reka-ui.com/docs/components/tags-input - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/InputTags.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/InputTags.vue --- ## Usage diff --git a/docs/content/3.components/input.md b/docs/content/3.components/input.md index 5d01f6407c..33caa5c8fd 100644 --- a/docs/content/3.components/input.md +++ b/docs/content/3.components/input.md @@ -4,7 +4,7 @@ category: form links: - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Input.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/Input.vue --- ## Usage diff --git a/docs/content/3.components/kbd.md b/docs/content/3.components/kbd.md index 37a0104120..ac30de1352 100644 --- a/docs/content/3.components/kbd.md +++ b/docs/content/3.components/kbd.md @@ -5,7 +5,7 @@ category: element links: - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Kbd.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/Kbd.vue --- ## Usage @@ -30,7 +30,7 @@ props: --- :: -You can pass special keys to the `value` prop that goes through the [`useKbd`](https://github.com/nuxt/ui/blob/v3/src/runtime/composables/useKbd.ts) composable. For example, the `meta` key displays as `⌘` on macOS and `Ctrl` on other platforms. +You can pass special keys to the `value` prop that goes through the [`useKbd`](https://github.com/nuxt/ui/blob/v4/src/runtime/composables/useKbd.ts) composable. For example, the `meta` key displays as `⌘` on macOS and `Ctrl` on other platforms. ::component-code --- diff --git a/docs/content/3.components/link.md b/docs/content/3.components/link.md index f901022ca4..2cd74ecd56 100644 --- a/docs/content/3.components/link.md +++ b/docs/content/3.components/link.md @@ -4,7 +4,7 @@ category: navigation links: - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Link.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/Link.vue --- ## Usage diff --git a/docs/content/3.components/modal.md b/docs/content/3.components/modal.md index 1717bbd133..aba9b1996e 100644 --- a/docs/content/3.components/modal.md +++ b/docs/content/3.components/modal.md @@ -7,7 +7,7 @@ links: to: https://reka-ui.com/docs/components/dialog - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Modal.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/Modal.vue --- ## Usage @@ -308,7 +308,7 @@ slots: You can use the [`useOverlay`](/composables/use-overlay) composable to open a Modal programmatically. ::warning -Make sure to wrap your app with the [`App`](/components/app) component which uses the [`OverlayProvider`](https://github.com/nuxt/ui/blob/v3/src/runtime/components/OverlayProvider.vue) component. +Make sure to wrap your app with the [`App`](/components/app) component which uses the [`OverlayProvider`](https://github.com/nuxt/ui/blob/v4/src/runtime/components/OverlayProvider.vue) component. :: First, create a modal component that will be opened programmatically: diff --git a/docs/content/3.components/navigation-menu.md b/docs/content/3.components/navigation-menu.md index 248d77b5e1..740852eab8 100644 --- a/docs/content/3.components/navigation-menu.md +++ b/docs/content/3.components/navigation-menu.md @@ -8,7 +8,7 @@ links: to: https://reka-ui.com/docs/components/navigation-menu - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/NavigationMenu.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/NavigationMenu.vue --- ## Usage diff --git a/docs/content/3.components/pagination.md b/docs/content/3.components/pagination.md index 7e8ce923e1..760c30f70d 100644 --- a/docs/content/3.components/pagination.md +++ b/docs/content/3.components/pagination.md @@ -7,7 +7,7 @@ links: to: https://reka-ui.com/docs/components/pagination - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Pagination.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/Pagination.vue --- ## Usage diff --git a/docs/content/3.components/pin-input.md b/docs/content/3.components/pin-input.md index d2aa342c8d..5ce3620772 100644 --- a/docs/content/3.components/pin-input.md +++ b/docs/content/3.components/pin-input.md @@ -8,7 +8,7 @@ links: to: https://reka-ui.com/docs/components/pin-input - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/PinInput.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/PinInput.vue --- ## Usage diff --git a/docs/content/3.components/popover.md b/docs/content/3.components/popover.md index 05a9e1055f..23a0a667e0 100644 --- a/docs/content/3.components/popover.md +++ b/docs/content/3.components/popover.md @@ -10,7 +10,7 @@ links: to: https://reka-ui.com/docs/components/popover - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Popover.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/Popover.vue --- ## Usage diff --git a/docs/content/3.components/progress.md b/docs/content/3.components/progress.md index 5978b47bca..f22c6ae2e3 100644 --- a/docs/content/3.components/progress.md +++ b/docs/content/3.components/progress.md @@ -7,7 +7,7 @@ links: to: https://reka-ui.com/docs/components/progress - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Progress.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/Progress.vue --- ## Usage diff --git a/docs/content/3.components/radio-group.md b/docs/content/3.components/radio-group.md index 6730c3a3c2..e7a025cc52 100644 --- a/docs/content/3.components/radio-group.md +++ b/docs/content/3.components/radio-group.md @@ -8,7 +8,7 @@ links: to: https://reka-ui.com/docs/components/radio-group - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/RadioGroup.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/RadioGroup.vue --- ## Usage diff --git a/docs/content/3.components/select-menu.md b/docs/content/3.components/select-menu.md index 6c4c53fbee..83c32e304e 100644 --- a/docs/content/3.components/select-menu.md +++ b/docs/content/3.components/select-menu.md @@ -8,7 +8,7 @@ links: to: https://reka-ui.com/docs/components/combobox - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/SelectMenu.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/SelectMenu.vue --- ## Usage diff --git a/docs/content/3.components/select.md b/docs/content/3.components/select.md index 1c7b6f64f2..e77bd659b4 100644 --- a/docs/content/3.components/select.md +++ b/docs/content/3.components/select.md @@ -7,7 +7,7 @@ links: to: https://reka-ui.com/docs/components/select - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Select.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/Select.vue --- ## Usage diff --git a/docs/content/3.components/separator.md b/docs/content/3.components/separator.md index 5949eff4bb..42759d3b59 100644 --- a/docs/content/3.components/separator.md +++ b/docs/content/3.components/separator.md @@ -7,7 +7,7 @@ links: to: https://reka-ui.com/docs/components/separator - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Separator.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/Separator.vue --- ## Usage diff --git a/docs/content/3.components/skeleton.md b/docs/content/3.components/skeleton.md index 6fb3c5cec3..42b6cf3265 100644 --- a/docs/content/3.components/skeleton.md +++ b/docs/content/3.components/skeleton.md @@ -4,7 +4,7 @@ category: layout links: - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Skeleton.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/Skeleton.vue --- ## Usage diff --git a/docs/content/3.components/slideover.md b/docs/content/3.components/slideover.md index 07e8231730..87a151c457 100644 --- a/docs/content/3.components/slideover.md +++ b/docs/content/3.components/slideover.md @@ -7,7 +7,7 @@ links: to: https://reka-ui.com/docs/components/dialog - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Slideover.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/Slideover.vue --- ## Usage @@ -307,7 +307,7 @@ slots: You can use the [`useOverlay`](/composables/use-overlay) composable to open a Slideover programmatically. ::warning -Make sure to wrap your app with the [`App`](/components/app) component which uses the [`OverlayProvider`](https://github.com/nuxt/ui/blob/v3/src/runtime/components/OverlayProvider.vue) component. +Make sure to wrap your app with the [`App`](/components/app) component which uses the [`OverlayProvider`](https://github.com/nuxt/ui/blob/v4/src/runtime/components/OverlayProvider.vue) component. :: First, create a slideover component that will be opened programmatically: diff --git a/docs/content/3.components/slider.md b/docs/content/3.components/slider.md index f7d8721e8c..e88fced8dd 100644 --- a/docs/content/3.components/slider.md +++ b/docs/content/3.components/slider.md @@ -7,7 +7,7 @@ links: to: https://reka-ui.com/docs/components/slider - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Slider.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/Slider.vue --- ## Usage diff --git a/docs/content/3.components/stepper.md b/docs/content/3.components/stepper.md index 3faf88cce3..c8fb8afec9 100644 --- a/docs/content/3.components/stepper.md +++ b/docs/content/3.components/stepper.md @@ -7,7 +7,7 @@ links: to: https://reka-ui.com/docs/components/stepper - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Stepper.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/Stepper.vue --- ## Usage diff --git a/docs/content/3.components/switch.md b/docs/content/3.components/switch.md index 940887b748..d7ac7cbfc0 100644 --- a/docs/content/3.components/switch.md +++ b/docs/content/3.components/switch.md @@ -7,7 +7,7 @@ links: to: https://reka-ui.com/docs/components/switch - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Switch.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/Switch.vue --- ## Usage diff --git a/docs/content/3.components/table.md b/docs/content/3.components/table.md index 3f40b22086..6df0d8e5ff 100644 --- a/docs/content/3.components/table.md +++ b/docs/content/3.components/table.md @@ -8,7 +8,7 @@ links: to: https://tanstack.com/table/latest - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Table.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/Table.vue --- ## Usage @@ -23,7 +23,7 @@ class: '!p-0' --- :: -::callout{icon="i-simple-icons-github" to="https://github.com/nuxt/ui/tree/v3/docs/app/components/content/examples/table/TableExample.vue" aria-label="View source code"} +::callout{icon="i-simple-icons-github" to="https://github.com/nuxt/ui/tree/v4/docs/app/components/content/examples/table/TableExample.vue" aria-label="View source code"} This example demonstrates the most common use case of the `Table` component. Check out the source code on GitHub. :: diff --git a/docs/content/3.components/tabs.md b/docs/content/3.components/tabs.md index 5e0deb777e..77345d081a 100644 --- a/docs/content/3.components/tabs.md +++ b/docs/content/3.components/tabs.md @@ -7,7 +7,7 @@ links: to: https://reka-ui.com/docs/components/tabs - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Tabs.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/Tabs.vue --- ## Usage diff --git a/docs/content/3.components/textarea.md b/docs/content/3.components/textarea.md index c8c80b9410..4e934fb486 100644 --- a/docs/content/3.components/textarea.md +++ b/docs/content/3.components/textarea.md @@ -4,7 +4,7 @@ category: form links: - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Textarea.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/Textarea.vue --- ## Usage diff --git a/docs/content/3.components/timeline.md b/docs/content/3.components/timeline.md index f720ab0985..63b335cbc7 100644 --- a/docs/content/3.components/timeline.md +++ b/docs/content/3.components/timeline.md @@ -5,7 +5,7 @@ category: data links: - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Timeline.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/Timeline.vue --- ## Usage diff --git a/docs/content/3.components/toast.md b/docs/content/3.components/toast.md index 765e17d1e6..d37decd196 100644 --- a/docs/content/3.components/toast.md +++ b/docs/content/3.components/toast.md @@ -7,7 +7,7 @@ links: to: https://reka-ui.com/docs/components/toast - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Toast.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/Toast.vue --- ## Usage @@ -15,7 +15,7 @@ links: Use the [useToast](/composables/use-toast) composable to display a toast in your application. ::warning -Make sure to wrap your app with the [`App`](/components/app) component which uses our [`Toaster`](https://github.com/nuxt/ui/blob/v3/src/runtime/components/Toaster.vue) component which uses the [`ToastProvider`](https://reka-ui.com/docs/components/toast#provider) component from Reka UI. +Make sure to wrap your app with the [`App`](/components/app) component which uses our [`Toaster`](https://github.com/nuxt/ui/blob/v4/src/runtime/components/Toaster.vue) component which uses the [`ToastProvider`](https://reka-ui.com/docs/components/toast#provider) component from Reka UI. :: ::tip{to="/components/app#props"} @@ -218,7 +218,7 @@ name: 'toast-example' :toaster-position-example :: -::note{to="https://github.com/nuxt/ui/blob/v3/docs/app/app.config.ts#L3"} +::note{to="https://github.com/nuxt/ui/blob/v4/docs/app/app.config.ts#L3"} In this example, we use the `AppConfig` to configure the `position` prop of the `Toaster` component globally. :: @@ -248,7 +248,7 @@ name: 'toast-example' :toaster-duration-example :: -::note{to="https://github.com/nuxt/ui/blob/v3/docs/app/app.config.ts#L5"} +::note{to="https://github.com/nuxt/ui/blob/v4/docs/app/app.config.ts#L5"} In this example, we use the `AppConfig` to configure the `duration` prop of the `Toaster` component globally. :: @@ -282,7 +282,7 @@ name: 'toast-example' :toaster-expand-example :: -::note{to="https://github.com/nuxt/ui/blob/v3/docs/app/app.config.ts#L4"} +::note{to="https://github.com/nuxt/ui/blob/v4/docs/app/app.config.ts#L4"} In this example, we use the `AppConfig` to configure the `expand` prop of the `Toaster` component globally. :: diff --git a/docs/content/3.components/tooltip.md b/docs/content/3.components/tooltip.md index afb231a432..db92d86ff6 100644 --- a/docs/content/3.components/tooltip.md +++ b/docs/content/3.components/tooltip.md @@ -7,7 +7,7 @@ links: to: https://reka-ui.com/docs/components/tooltip - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Tooltip.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/Tooltip.vue --- ## Usage diff --git a/docs/content/3.components/tree.md b/docs/content/3.components/tree.md index 674aa3dc88..7df208b190 100644 --- a/docs/content/3.components/tree.md +++ b/docs/content/3.components/tree.md @@ -7,7 +7,7 @@ links: to: https://reka-ui.com/docs/components/tree - label: GitHub icon: i-simple-icons-github - to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Tree.vue + to: https://github.com/nuxt/ui/tree/v4/src/runtime/components/Tree.vue --- ## Usage From f1d79b795d298f25a34a6f7454b5a430ca7f5035 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Wed, 6 Aug 2025 11:03:38 +0200 Subject: [PATCH 006/181] chore: reorganize under `playgrounds/` --- .github/workflows/module.yml | 8 ++++---- .gitignore | 8 ++++---- cli/templates.mjs | 2 +- package.json | 12 ++++++------ {playground => playgrounds/nuxt}/app/app.config.ts | 0 {playground => playgrounds/nuxt}/app/app.vue | 0 .../nuxt/app}/assets/css/main.css | 0 .../nuxt}/app/components/ModalExample.vue | 0 .../nuxt}/app/components/Placeholder.vue | 0 .../nuxt}/app/components/SlideoverExample.vue | 0 .../nuxt}/app/pages/components/accordion.vue | 0 .../nuxt}/app/pages/components/alert.vue | 0 .../nuxt}/app/pages/components/avatar.vue | 0 .../nuxt}/app/pages/components/badge.vue | 0 .../nuxt}/app/pages/components/breadcrumb.vue | 0 .../nuxt}/app/pages/components/button-group.vue | 0 .../nuxt}/app/pages/components/button.vue | 0 .../nuxt}/app/pages/components/calendar.vue | 0 .../nuxt}/app/pages/components/card.vue | 0 .../nuxt}/app/pages/components/carousel.vue | 0 .../nuxt}/app/pages/components/checkbox-group.vue | 0 .../nuxt}/app/pages/components/checkbox.vue | 0 .../nuxt}/app/pages/components/chip.vue | 0 .../nuxt}/app/pages/components/collapsible.vue | 0 .../nuxt}/app/pages/components/color-picker.vue | 0 .../nuxt}/app/pages/components/command-palette.vue | 0 .../nuxt}/app/pages/components/context-menu.vue | 0 .../nuxt}/app/pages/components/drawer.vue | 0 .../nuxt}/app/pages/components/dropdown-menu.vue | 0 .../nuxt}/app/pages/components/file-upload.vue | 0 .../nuxt}/app/pages/components/form-field.vue | 0 .../nuxt}/app/pages/components/form.vue | 6 +++--- .../nuxt}/app/pages/components/input-menu.vue | 0 .../nuxt}/app/pages/components/input-number.vue | 0 .../nuxt}/app/pages/components/input-tags.vue | 0 .../nuxt}/app/pages/components/input.vue | 0 .../nuxt}/app/pages/components/kbd.vue | 0 .../nuxt}/app/pages/components/link.vue | 0 .../nuxt}/app/pages/components/modal.vue | 0 .../nuxt}/app/pages/components/navigation-menu.vue | 0 .../nuxt}/app/pages/components/pagination.vue | 0 .../nuxt}/app/pages/components/pin-input.vue | 0 .../nuxt}/app/pages/components/popover.vue | 0 .../nuxt}/app/pages/components/progress.vue | 0 .../nuxt}/app/pages/components/radio-group.vue | 0 .../nuxt}/app/pages/components/select-menu.vue | 0 .../nuxt}/app/pages/components/select.vue | 0 .../nuxt}/app/pages/components/separator.vue | 0 .../nuxt}/app/pages/components/shortcuts.vue | 0 .../nuxt}/app/pages/components/skeleton.vue | 0 .../nuxt}/app/pages/components/slideover.vue | 0 .../nuxt}/app/pages/components/slider.vue | 0 .../nuxt}/app/pages/components/stepper.vue | 0 .../nuxt}/app/pages/components/switch.vue | 0 .../nuxt}/app/pages/components/table.vue | 0 .../nuxt}/app/pages/components/tabs.vue | 0 .../nuxt}/app/pages/components/textarea.vue | 0 .../nuxt}/app/pages/components/timeline.vue | 0 .../nuxt}/app/pages/components/toast.vue | 0 .../nuxt}/app/pages/components/tooltip.vue | 0 .../nuxt}/app/pages/components/tree.vue | 0 .../nuxt}/app/pages/index.vue | 0 .../nuxt}/app/types/index.d.ts | 0 {playground => playgrounds/nuxt}/nuxt.config.ts | 0 {playground => playgrounds/nuxt}/package.json | 0 {playground => playgrounds/nuxt}/public/favicon.ico | Bin .../nuxt}/server/api/blob.put.ts | 0 {playground => playgrounds/nuxt}/tsconfig.json | 0 {playground-vue => playgrounds/vue}/index.html | 0 {playground-vue => playgrounds/vue}/package.json | 0 {playground-vue => playgrounds/vue}/public/logo.svg | 0 {playground-vue => playgrounds/vue}/src/app.vue | 0 .../app => playgrounds/vue/src}/assets/css/main.css | 0 {playground-vue => playgrounds/vue}/src/main.ts | 6 +++--- .../vue}/src/vite-env.d.ts | 0 .../vue}/tsconfig.app.json | 0 {playground-vue => playgrounds/vue}/tsconfig.json | 0 .../vue}/tsconfig.node.json | 0 {playground-vue => playgrounds/vue}/vite.config.ts | 2 +- pnpm-lock.yaml | 8 ++++---- pnpm-workspace.yaml | 4 ++-- tsconfig.json | 2 +- 82 files changed, 29 insertions(+), 29 deletions(-) rename {playground => playgrounds/nuxt}/app/app.config.ts (100%) rename {playground => playgrounds/nuxt}/app/app.vue (100%) rename {playground-vue/src => playgrounds/nuxt/app}/assets/css/main.css (100%) rename {playground => playgrounds/nuxt}/app/components/ModalExample.vue (100%) rename {playground => playgrounds/nuxt}/app/components/Placeholder.vue (100%) rename {playground => playgrounds/nuxt}/app/components/SlideoverExample.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/accordion.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/alert.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/avatar.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/badge.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/breadcrumb.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/button-group.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/button.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/calendar.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/card.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/carousel.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/checkbox-group.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/checkbox.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/chip.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/collapsible.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/color-picker.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/command-palette.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/context-menu.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/drawer.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/dropdown-menu.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/file-upload.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/form-field.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/form.vue (84%) rename {playground => playgrounds/nuxt}/app/pages/components/input-menu.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/input-number.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/input-tags.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/input.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/kbd.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/link.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/modal.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/navigation-menu.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/pagination.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/pin-input.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/popover.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/progress.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/radio-group.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/select-menu.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/select.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/separator.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/shortcuts.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/skeleton.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/slideover.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/slider.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/stepper.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/switch.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/table.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/tabs.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/textarea.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/timeline.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/toast.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/tooltip.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/components/tree.vue (100%) rename {playground => playgrounds/nuxt}/app/pages/index.vue (100%) rename {playground => playgrounds/nuxt}/app/types/index.d.ts (100%) rename {playground => playgrounds/nuxt}/nuxt.config.ts (100%) rename {playground => playgrounds/nuxt}/package.json (100%) rename {playground => playgrounds/nuxt}/public/favicon.ico (100%) rename {playground => playgrounds/nuxt}/server/api/blob.put.ts (100%) rename {playground => playgrounds/nuxt}/tsconfig.json (100%) rename {playground-vue => playgrounds/vue}/index.html (100%) rename {playground-vue => playgrounds/vue}/package.json (100%) rename {playground-vue => playgrounds/vue}/public/logo.svg (100%) rename {playground-vue => playgrounds/vue}/src/app.vue (100%) rename {playground/app => playgrounds/vue/src}/assets/css/main.css (100%) rename {playground-vue => playgrounds/vue}/src/main.ts (83%) rename {playground-vue => playgrounds/vue}/src/vite-env.d.ts (100%) rename {playground-vue => playgrounds/vue}/tsconfig.app.json (100%) rename {playground-vue => playgrounds/vue}/tsconfig.json (100%) rename {playground-vue => playgrounds/vue}/tsconfig.node.json (100%) rename {playground-vue => playgrounds/vue}/vite.config.ts (95%) diff --git a/.github/workflows/module.yml b/.github/workflows/module.yml index 125dc9dfee..db04ab76ab 100644 --- a/.github/workflows/module.yml +++ b/.github/workflows/module.yml @@ -58,10 +58,10 @@ jobs: - name: Build run: pnpm run build - - name: Build playground + - name: Build Nuxt playground run: pnpm run dev:build - - name: Build playground (vue) + - name: Build Vue playground run: pnpm run dev:vue:build - name: Publish @@ -69,14 +69,14 @@ jobs: if: matrix.os == 'ubuntu-latest' run: pnpx pkg-pr-new publish --compact --no-template --pnpm - playground: + playground-nuxt: needs: build runs-on: ${{ matrix.os }} defaults: run: - working-directory: ./playground + working-directory: ./playgrounds/nuxt permissions: contents: read diff --git a/.gitignore b/.gitignore index a64c2c531f..791af041b7 100644 --- a/.gitignore +++ b/.gitignore @@ -26,7 +26,7 @@ logs .env.* !.env.example -playground-vue/auto-imports.d.ts -playground-vue/components.d.ts -playground-vue/tsconfig.app.tsbuildinfo -playground-vue/tsconfig.node.tsbuildinfo +playgrounds/vue/auto-imports.d.ts +playgrounds/vue/components.d.ts +playgrounds/vue/tsconfig.app.tsbuildinfo +playgrounds/vue/tsconfig.node.tsbuildinfo diff --git a/cli/templates.mjs b/cli/templates.mjs index 6f395c5695..b56a15a97d 100644 --- a/cli/templates.mjs +++ b/cli/templates.mjs @@ -5,7 +5,7 @@ const playground = ({ name, pro }) => { const kebabName = kebabCase(name) return { - filename: `playground/app/pages/components/${kebabName}.vue`, + filename: `playgrounds/nuxt/app/pages/components/${kebabName}.vue`, contents: pro ? undefined : ` diff --git a/package.json b/package.json index ba7c4638d0..445786b06f 100644 --- a/package.json +++ b/package.json @@ -96,16 +96,16 @@ "scripts": { "build": "nuxt-module-build build", "prepack": "pnpm build", - "dev": "nuxt dev playground --uiDev", - "dev:build": "nuxt build playground", - "dev:vue": "pnpm --filter playground-vue dev -- --uiDev", - "dev:vue:build": "pnpm --filter playground-vue build", - "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxt prepare playground && nuxt prepare docs && pnpm dev:vue:build", + "dev": "nuxt dev playgrounds/nuxt --uiDev", + "dev:build": "nuxt build playgrounds/nuxt", + "dev:vue": "pnpm --filter './playgrounds/vue' dev -- --uiDev", + "dev:vue:build": "pnpm --filter './playgrounds/vue' build", + "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxt prepare playgrounds/nuxt && nuxt prepare docs && pnpm dev:vue:build", "docs": "nuxt dev docs --uiDev", "docs:build": "nuxt build docs", "lint": "eslint .", "lint:fix": "eslint . --fix", - "typecheck": "vue-tsc --noEmit && nuxt typecheck playground && nuxt typecheck docs && cd playground-vue && vue-tsc --noEmit", + "typecheck": "vue-tsc --noEmit && nuxt typecheck playgrounds/nuxt && nuxt typecheck docs && cd playgrounds/vue && vue-tsc --noEmit", "test": "vitest", "test:vue": "vitest -c vitest.vue.config.ts", "release": "release-it" diff --git a/playground/app/app.config.ts b/playgrounds/nuxt/app/app.config.ts similarity index 100% rename from playground/app/app.config.ts rename to playgrounds/nuxt/app/app.config.ts diff --git a/playground/app/app.vue b/playgrounds/nuxt/app/app.vue similarity index 100% rename from playground/app/app.vue rename to playgrounds/nuxt/app/app.vue diff --git a/playground-vue/src/assets/css/main.css b/playgrounds/nuxt/app/assets/css/main.css similarity index 100% rename from playground-vue/src/assets/css/main.css rename to playgrounds/nuxt/app/assets/css/main.css diff --git a/playground/app/components/ModalExample.vue b/playgrounds/nuxt/app/components/ModalExample.vue similarity index 100% rename from playground/app/components/ModalExample.vue rename to playgrounds/nuxt/app/components/ModalExample.vue diff --git a/playground/app/components/Placeholder.vue b/playgrounds/nuxt/app/components/Placeholder.vue similarity index 100% rename from playground/app/components/Placeholder.vue rename to playgrounds/nuxt/app/components/Placeholder.vue diff --git a/playground/app/components/SlideoverExample.vue b/playgrounds/nuxt/app/components/SlideoverExample.vue similarity index 100% rename from playground/app/components/SlideoverExample.vue rename to playgrounds/nuxt/app/components/SlideoverExample.vue diff --git a/playground/app/pages/components/accordion.vue b/playgrounds/nuxt/app/pages/components/accordion.vue similarity index 100% rename from playground/app/pages/components/accordion.vue rename to playgrounds/nuxt/app/pages/components/accordion.vue diff --git a/playground/app/pages/components/alert.vue b/playgrounds/nuxt/app/pages/components/alert.vue similarity index 100% rename from playground/app/pages/components/alert.vue rename to playgrounds/nuxt/app/pages/components/alert.vue diff --git a/playground/app/pages/components/avatar.vue b/playgrounds/nuxt/app/pages/components/avatar.vue similarity index 100% rename from playground/app/pages/components/avatar.vue rename to playgrounds/nuxt/app/pages/components/avatar.vue diff --git a/playground/app/pages/components/badge.vue b/playgrounds/nuxt/app/pages/components/badge.vue similarity index 100% rename from playground/app/pages/components/badge.vue rename to playgrounds/nuxt/app/pages/components/badge.vue diff --git a/playground/app/pages/components/breadcrumb.vue b/playgrounds/nuxt/app/pages/components/breadcrumb.vue similarity index 100% rename from playground/app/pages/components/breadcrumb.vue rename to playgrounds/nuxt/app/pages/components/breadcrumb.vue diff --git a/playground/app/pages/components/button-group.vue b/playgrounds/nuxt/app/pages/components/button-group.vue similarity index 100% rename from playground/app/pages/components/button-group.vue rename to playgrounds/nuxt/app/pages/components/button-group.vue diff --git a/playground/app/pages/components/button.vue b/playgrounds/nuxt/app/pages/components/button.vue similarity index 100% rename from playground/app/pages/components/button.vue rename to playgrounds/nuxt/app/pages/components/button.vue diff --git a/playground/app/pages/components/calendar.vue b/playgrounds/nuxt/app/pages/components/calendar.vue similarity index 100% rename from playground/app/pages/components/calendar.vue rename to playgrounds/nuxt/app/pages/components/calendar.vue diff --git a/playground/app/pages/components/card.vue b/playgrounds/nuxt/app/pages/components/card.vue similarity index 100% rename from playground/app/pages/components/card.vue rename to playgrounds/nuxt/app/pages/components/card.vue diff --git a/playground/app/pages/components/carousel.vue b/playgrounds/nuxt/app/pages/components/carousel.vue similarity index 100% rename from playground/app/pages/components/carousel.vue rename to playgrounds/nuxt/app/pages/components/carousel.vue diff --git a/playground/app/pages/components/checkbox-group.vue b/playgrounds/nuxt/app/pages/components/checkbox-group.vue similarity index 100% rename from playground/app/pages/components/checkbox-group.vue rename to playgrounds/nuxt/app/pages/components/checkbox-group.vue diff --git a/playground/app/pages/components/checkbox.vue b/playgrounds/nuxt/app/pages/components/checkbox.vue similarity index 100% rename from playground/app/pages/components/checkbox.vue rename to playgrounds/nuxt/app/pages/components/checkbox.vue diff --git a/playground/app/pages/components/chip.vue b/playgrounds/nuxt/app/pages/components/chip.vue similarity index 100% rename from playground/app/pages/components/chip.vue rename to playgrounds/nuxt/app/pages/components/chip.vue diff --git a/playground/app/pages/components/collapsible.vue b/playgrounds/nuxt/app/pages/components/collapsible.vue similarity index 100% rename from playground/app/pages/components/collapsible.vue rename to playgrounds/nuxt/app/pages/components/collapsible.vue diff --git a/playground/app/pages/components/color-picker.vue b/playgrounds/nuxt/app/pages/components/color-picker.vue similarity index 100% rename from playground/app/pages/components/color-picker.vue rename to playgrounds/nuxt/app/pages/components/color-picker.vue diff --git a/playground/app/pages/components/command-palette.vue b/playgrounds/nuxt/app/pages/components/command-palette.vue similarity index 100% rename from playground/app/pages/components/command-palette.vue rename to playgrounds/nuxt/app/pages/components/command-palette.vue diff --git a/playground/app/pages/components/context-menu.vue b/playgrounds/nuxt/app/pages/components/context-menu.vue similarity index 100% rename from playground/app/pages/components/context-menu.vue rename to playgrounds/nuxt/app/pages/components/context-menu.vue diff --git a/playground/app/pages/components/drawer.vue b/playgrounds/nuxt/app/pages/components/drawer.vue similarity index 100% rename from playground/app/pages/components/drawer.vue rename to playgrounds/nuxt/app/pages/components/drawer.vue diff --git a/playground/app/pages/components/dropdown-menu.vue b/playgrounds/nuxt/app/pages/components/dropdown-menu.vue similarity index 100% rename from playground/app/pages/components/dropdown-menu.vue rename to playgrounds/nuxt/app/pages/components/dropdown-menu.vue diff --git a/playground/app/pages/components/file-upload.vue b/playgrounds/nuxt/app/pages/components/file-upload.vue similarity index 100% rename from playground/app/pages/components/file-upload.vue rename to playgrounds/nuxt/app/pages/components/file-upload.vue diff --git a/playground/app/pages/components/form-field.vue b/playgrounds/nuxt/app/pages/components/form-field.vue similarity index 100% rename from playground/app/pages/components/form-field.vue rename to playgrounds/nuxt/app/pages/components/form-field.vue diff --git a/playground/app/pages/components/form.vue b/playgrounds/nuxt/app/pages/components/form.vue similarity index 84% rename from playground/app/pages/components/form.vue rename to playgrounds/nuxt/app/pages/components/form.vue index 9641ce79d0..4a44b62f7b 100644 --- a/playground/app/pages/components/form.vue +++ b/playgrounds/nuxt/app/pages/components/form.vue @@ -1,9 +1,9 @@