diff --git a/docs/content/1.getting-started/2.migration.md b/docs/content/1.getting-started/2.migration.md index a2eb08d9..9d718200 100644 --- a/docs/content/1.getting-started/2.migration.md +++ b/docs/content/1.getting-started/2.migration.md @@ -536,6 +536,33 @@ import { ModalExampleComponent } from '#components' ``` +### Changed form validation + +- The error object property for targeting form fields has been renamed from `path` to `name`: + +```diff + +``` + --- ::warning diff --git a/docs/content/3.components/kbd.md b/docs/content/3.components/kbd.md index be38e8db..18cc3a39 100644 --- a/docs/content/3.components/kbd.md +++ b/docs/content/3.components/kbd.md @@ -62,6 +62,19 @@ items: --- :: +### Color :badge{label="Soon" class="align-text-top"} + +Use the `color` prop to change the color of the Kbd. + +::component-code +--- +props: + color: neutral +slots: + default: K +--- +:: + ### Variant Use the `variant` prop to change the variant of the Kbd. @@ -69,6 +82,7 @@ Use the `variant` prop to change the variant of the Kbd. ::component-code --- props: + color: neutral variant: solid slots: default: K diff --git a/docs/package.json b/docs/package.json index 7c633ccb..00a30aba 100644 --- a/docs/package.json +++ b/docs/package.json @@ -12,7 +12,7 @@ "@ai-sdk/vue": "^1.2.12", "@iconify-json/logos": "^1.2.4", "@iconify-json/lucide": "^1.2.57", - "@iconify-json/simple-icons": "^1.2.43", + "@iconify-json/simple-icons": "^1.2.44", "@iconify-json/vscode-icons": "^1.2.23", "@nuxt/content": "^3.6.3", "@nuxt/image": "^1.10.0", @@ -24,13 +24,13 @@ "@rollup/plugin-yaml": "^4.1.2", "@vueuse/integrations": "^13.5.0", "@vueuse/nuxt": "^13.5.0", - "ai": "^4.3.17", + "ai": "^4.3.19", "better-sqlite3": "^12.2.0", "capture-website": "^4.2.0", "joi": "^17.13.3", "maska": "^3.2.0", "motion-v": "^1.5.0", - "nuxt": "^4.0.0", + "nuxt": "^4.0.1", "nuxt-component-meta": "^0.12.1", "nuxt-llms": "^0.1.3", "nuxt-og-image": "^5.1.9", @@ -45,6 +45,6 @@ "zod": "^4.0.5" }, "devDependencies": { - "wrangler": "^4.24.3" + "wrangler": "^4.25.0" } } diff --git a/package.json b/package.json index 465dd29b..baa0af50 100644 --- a/package.json +++ b/package.json @@ -116,8 +116,8 @@ "@internationalized/number": "^3.6.3", "@nuxt/fonts": "^0.11.4", "@nuxt/icon": "^1.15.0", - "@nuxt/kit": "^4.0.0", - "@nuxt/schema": "^4.0.0", + "@nuxt/kit": "^4.0.1", + "@nuxt/schema": "^4.0.1", "@nuxtjs/color-mode": "^3.5.2", "@standard-schema/spec": "^1.0.0", "@tailwindcss/postcss": "^4.1.11", @@ -155,7 +155,7 @@ "vue-component-type-helpers": "^3.0.1" }, "devDependencies": { - "@nuxt/eslint-config": "^1.5.2", + "@nuxt/eslint-config": "^1.6.0", "@nuxt/module-builder": "^1.0.1", "@nuxt/test-utils": "^3.19.2", "@release-it/conventional-changelog": "^10.0.1", @@ -163,8 +163,8 @@ "embla-carousel": "^8.6.0", "eslint": "^9.31.0", "happy-dom": "^18.0.1", - "nuxt": "^4.0.0", - "release-it": "^19.0.3", + "nuxt": "^4.0.1", + "release-it": "^19.0.4", "vitest": "^3.2.4", "vitest-environment-nuxt": "^1.0.1", "vue-tsc": "^3.0.1" diff --git a/playground-vue/package.json b/playground-vue/package.json index 3bdb784c..a503024b 100644 --- a/playground-vue/package.json +++ b/playground-vue/package.json @@ -18,7 +18,7 @@ "devDependencies": { "@vitejs/plugin-vue": "^6.0.0", "typescript": "^5.8.3", - "vite": "^7.0.4", + "vite": "^7.0.5", "vue-tsc": "^3.0.1" } } diff --git a/playground/app/pages/components/kbd.vue b/playground/app/pages/components/kbd.vue index 500abda9..5fec5142 100644 --- a/playground/app/pages/components/kbd.vue +++ b/playground/app/pages/components/kbd.vue @@ -3,20 +3,16 @@ import theme from '#build/ui/kbd' import { kbdKeysMap } from '@nuxt/ui/composables/useKbd.js' const sizes = Object.keys(theme.variants.size) as Array +const variants = Object.keys(theme.variants.variant) as Array +const colors = Object.keys(theme.variants.color) as Array const kbdKeys = Object.keys(kbdKeysMap)