diff --git a/.github/ISSUE_TEMPLATE/bug-report-v3.yml b/.github/ISSUE_TEMPLATE/bug-report-v3.yml index fea10297..e662c767 100644 --- a/.github/ISSUE_TEMPLATE/bug-report-v3.yml +++ b/.github/ISSUE_TEMPLATE/bug-report-v3.yml @@ -5,7 +5,7 @@ body: - type: markdown attributes: value: | - Before reporting a bug, please make sure that you have read through our [v3 documentation](https://ui3.nuxt.dev/) and existing [issues](https://github.com/nuxt/ui/issues?q=is%3Aissue%20is%3Aopen%20sort%3Aupdated-desc%20label%3Av3). + Before reporting a bug, please make sure that you have read through our [v3 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: @@ -37,7 +37,7 @@ body: id: version attributes: label: Version - placeholder: v3.0.0-alpha.x + placeholder: v3.0.0 validations: required: true - type: textarea diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 13f235ef..62c92483 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://ui.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://ui2.nuxt.com) and existing [issues](https://github.com/nuxt/ui/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc). - type: textarea id: env attributes: diff --git a/.github/ISSUE_TEMPLATE/feature-request-v3.yml b/.github/ISSUE_TEMPLATE/feature-request-v3.yml index d3132573..ee6dba5e 100644 --- a/.github/ISSUE_TEMPLATE/feature-request-v3.yml +++ b/.github/ISSUE_TEMPLATE/feature-request-v3.yml @@ -5,7 +5,7 @@ body: - type: markdown attributes: value: | - Before requesting a feature, please make sure that you have read through our [v3 documentation](https://ui3.nuxt.dev/) and existing [issues](https://github.com/nuxt/ui/issues?q=is%3Aissue%20is%3Aopen%20sort%3Aupdated-desc%20label%3Av3). + Before requesting a feature, please make sure that you have read through our [v3 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: diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml index 25f223ba..92ad15b4 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://ui.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://ui2.nuxt.com) and existing [issues](https://github.com/nuxt/ui/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc). - type: textarea id: description attributes: diff --git a/.github/ISSUE_TEMPLATE/question-v3.yml b/.github/ISSUE_TEMPLATE/question-v3.yml index 1cd60bf3..e05cf13e 100644 --- a/.github/ISSUE_TEMPLATE/question-v3.yml +++ b/.github/ISSUE_TEMPLATE/question-v3.yml @@ -5,7 +5,7 @@ body: - type: markdown attributes: value: | - Before asking a question, please make sure that you have read through our [v3 documentation](https://ui3.nuxt.dev/) and existing [issues](https://github.com/nuxt/ui/issues?q=is%3Aissue%20is%3Aopen%20sort%3Aupdated-desc%20label%3Av3). + Before asking a question, please make sure that you have read through our [v3 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: diff --git a/.github/ISSUE_TEMPLATE/question.yml b/.github/ISSUE_TEMPLATE/question.yml index 1862bc39..8472116d 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://ui.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://ui2.nuxt.com) and existing [issues](https://github.com/nuxt/ui/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc). - type: textarea id: description attributes: diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml new file mode 100644 index 00000000..0ecb5bd1 --- /dev/null +++ b/.github/workflows/integration.yml @@ -0,0 +1,86 @@ +name: integration + +on: + workflow_run: + workflows: ["module"] + types: + - completed + +jobs: + nuxt: + runs-on: ${{ matrix.os }} + + permissions: + contents: read + pull-requests: read + + strategy: + matrix: + os: [ubuntu-latest] # macos-latest, windows-latest + node: [22] + + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + repository: benjamincanac/app-ui3 + + - name: Set short SHA + run: echo "COMMIT=$(git rev-parse --short HEAD)" >> $GITHUB_ENV + + - 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 https://pkg.pr.new/@nuxt/ui@${{ env.COMMIT }} + + - name: Typecheck + run: pnpm run typecheck + + - name: Build + run: pnpm run build + + vue: + runs-on: ${{ matrix.os }} + + permissions: + contents: read + pull-requests: read + + strategy: + matrix: + os: [ubuntu-latest] # macos-latest, windows-latest + node: [22] + + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + repository: benjamincanac/app-ui3-vue + + - name: Set short SHA + run: echo "COMMIT=$(git rev-parse --short HEAD)" >> $GITHUB_ENV + + - 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 https://pkg.pr.new/@nuxt/ui@${{ env.COMMIT }} + + # - name: Typecheck + # run: pnpm run typecheck + + - name: Build + run: pnpm run build \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index a208a08b..0368e3aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,36 @@ # Changelog +## [3.0.0](https://github.com/nuxt/ui/compare/v3.0.0-beta.4...v3.0.0) (2025-03-12) + +## [3.0.0-beta.4](https://github.com/nuxt/ui/compare/v3.0.0-beta.3...v3.0.0-beta.4) (2025-03-12) + +### Features + +* **Form:** global errors ([#3482](https://github.com/nuxt/ui/issues/3482)) ([6e03d9c](https://github.com/nuxt/ui/commit/6e03d9c6efc8f4cfc306813e733d7d3e03706323)) +* **Input/Textarea:** allow `null` value in model ([#3415](https://github.com/nuxt/ui/issues/3415)) ([cfe9b2e](https://github.com/nuxt/ui/commit/cfe9b2ecf34827bc11a5281a069988ab96030047)) +* **useLocale:** handle generic messages ([#3100](https://github.com/nuxt/ui/issues/3100)) ([a9c8eb3](https://github.com/nuxt/ui/commit/a9c8eb3f60a10d1a71632991c9db594716b0fba1)) + +### Bug Fixes + +* **Button:** missing import ([21dbf01](https://github.com/nuxt/ui/commit/21dbf01888a161a9d8ac6eb0d957c1342f6cc30d)), closes [nuxt/ui#3417](https://github.com/nuxt/ui/issues/3417) +* **Form:** input blur validation on submit ([#3504](https://github.com/nuxt/ui/issues/3504)) ([97c8098](https://github.com/nuxt/ui/commit/97c8098d4a35c392719ae179d36aa008d6f8f78a)) +* **vue:** prevent calling `useHead` in colors ([5ecd227](https://github.com/nuxt/ui/commit/5ecd2271ca86087cb805548397d75c38763ad412)) + +## [3.0.0-beta.3](https://github.com/nuxt/ui/compare/v3.0.0-beta.2...v3.0.0-beta.3) (2025-03-07) + +### Features + +* **Button:** handle `active` state ([bd2d484](https://github.com/nuxt/ui/commit/bd2d4848d246a3d5930f8059913f5a1a0abe29fd)), closes [#3417](https://github.com/nuxt/ui/issues/3417) +* **Table:** add `loading` slot ([99e531d](https://github.com/nuxt/ui/commit/99e531d8dfb7954322b7ab7feda3d8814c6d8d02)), closes [#3444](https://github.com/nuxt/ui/issues/3444) + +### Bug Fixes + +* **InputMenu/SelectMenu:** proxy `required` in root props ([60b7e2d](https://github.com/nuxt/ui/commit/60b7e2d69e80afa7e221855dcec46479d0ca5c6c)) +* **InputMenu:** wrong `required` in multiple mode ([01fa230](https://github.com/nuxt/ui/commit/01fa230eae4b6623c5fd71cc218d114d9f6f0f25)), closes [#2741](https://github.com/nuxt/ui/issues/2741) +* **Pagination:** add missing slots ([a47c5ff](https://github.com/nuxt/ui/commit/a47c5ff46616eafee3158cb9801183965f5f9874)), closes [#3441](https://github.com/nuxt/ui/issues/3441) +* **Pagination:** wrong next link ([e823022](https://github.com/nuxt/ui/commit/e823022b19bb172d2e5fabb9144b4a4286a25a5f)), closes [#3008](https://github.com/nuxt/ui/issues/3008) +* **templates:** prevent overriding existing colors ([ccbd89c](https://github.com/nuxt/ui/commit/ccbd89c908fe8af54c7d723dd12da5b7f3906c8f)), closes [#3426](https://github.com/nuxt/ui/issues/3426) + ## [3.0.0-beta.2](https://github.com/nuxt/ui/compare/v3.0.0-beta.1...v3.0.0-beta.2) (2025-02-28) ### Bug Fixes diff --git a/README.md b/README.md index fe9a787e..8433e743 100644 --- a/README.md +++ b/README.md @@ -11,31 +11,31 @@ [![License][license-src]][license-href] [![Nuxt][nuxt-src]][nuxt-href] -We're thrilled to introduce Nuxt UI v3, a significant upgrade to our UI library that delivers extensive improvements and robust new capabilities. This major update harnesses the combined strengths of [Reka UI](https://reka-ui.com/), [Tailwind CSS v4](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. +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 [dev branch](https://github.com/nuxt/ui/tree/dev) for Nuxt UI v2. +> You are on the `v3` development branch, check out the [v2 branch](https://github.com/nuxt/ui/tree/v2) for Nuxt UI v2. ## Documentation -Visit https://ui3.nuxt.dev to explore the documentation. +Visit https://ui.nuxt.com to explore the documentation. ## Installation ```bash [pnpm] -pnpm add @nuxt/ui@next +pnpm add @nuxt/ui ``` ```bash [yarn] -yarn add @nuxt/ui@next +yarn add @nuxt/ui ``` ```bash [npm] -npm install @nuxt/ui@next +npm install @nuxt/ui ``` ```bash [bun] -bun add @nuxt/ui@next +bun add @nuxt/ui ``` ### Nuxt @@ -55,7 +55,7 @@ export default defineNuxtConfig({ @import "@nuxt/ui"; ``` -Learn more in the [installation guide](https://ui3.nuxt.dev/getting-started/installation/nuxt). +Learn more in the [installation guide](https://ui.nuxt.com/getting-started/installation/nuxt). ### Vue @@ -102,7 +102,7 @@ app.mount('#app') @import "@nuxt/ui"; ``` -Learn more in the [installation guide](https://ui3.nuxt.dev/getting-started/installation/vue). +Learn more in the [installation guide](https://ui.nuxt.com/getting-started/installation/vue). ## Credits @@ -119,7 +119,7 @@ Learn more in the [installation guide](https://ui3.nuxt.dev/getting-started/inst Licensed under the [MIT license](https://github.com/nuxt/ui/blob/v3/LICENSE.md). -[npm-version-src]: https://img.shields.io/npm/v/@nuxt/ui/next.svg?style=flat&colorA=18181B&colorB=28CF8D +[npm-version-src]: https://img.shields.io/npm/v/@nuxt/ui/latest.svg?style=flat&colorA=18181B&colorB=28CF8D [npm-version-href]: https://npmjs.com/package/@nuxt/ui [npm-downloads-src]: https://img.shields.io/npm/dm/@nuxt/ui.svg?style=flat&colorA=18181B&colorB=28CF8D diff --git a/docs/app/app.vue b/docs/app/app.vue index 6da21f44..92d4a12e 100644 --- a/docs/app/app.vue +++ b/docs/app/app.vue @@ -1,7 +1,6 @@ + + + + diff --git a/docs/app/components/Banner.vue b/docs/app/components/Banner.vue index e073c2af..6786ddc1 100644 --- a/docs/app/components/Banner.vue +++ b/docs/app/components/Banner.vue @@ -1,7 +1,18 @@ diff --git a/docs/app/components/Countdown.vue b/docs/app/components/Countdown.vue new file mode 100644 index 00000000..9394eabc --- /dev/null +++ b/docs/app/components/Countdown.vue @@ -0,0 +1,51 @@ + + + diff --git a/docs/app/components/Footer.vue b/docs/app/components/Footer.vue index 6b98a2ad..b5bab47a 100644 --- a/docs/app/components/Footer.vue +++ b/docs/app/components/Footer.vue @@ -1,4 +1,6 @@