diff --git a/cli/package.json b/cli/package.json index cac56f65..3d86cc1c 100644 --- a/cli/package.json +++ b/cli/package.json @@ -6,7 +6,7 @@ }, "dependencies": { "citty": "^0.1.6", - "consola": "^3.3.1", + "consola": "^3.3.3", "pathe": "^2.0.0", "scule": "^1.3.0" } diff --git a/docs/package.json b/docs/package.json index 5a69cf4c..cc4e129b 100644 --- a/docs/package.json +++ b/docs/package.json @@ -4,9 +4,9 @@ "type": "module", "dependencies": { "@iconify-json/logos": "^1.2.4", - "@iconify-json/lucide": "^1.2.20", - "@iconify-json/simple-icons": "^1.2.17", - "@iconify-json/vscode-icons": "^1.2.6", + "@iconify-json/lucide": "^1.2.21", + "@iconify-json/simple-icons": "^1.2.18", + "@iconify-json/vscode-icons": "^1.2.8", "@nuxt/content": "https://pkg.pr.new/@nuxt/content@f124c95", "@nuxt/image": "^1.8.1", "@nuxt/ui": "latest", @@ -14,7 +14,7 @@ "@nuxthub/core": "^0.8.10", "@nuxtjs/plausible": "^1.2.0", "@octokit/rest": "^21.0.2", - "@vueuse/nuxt": "^12.2.0", + "@vueuse/nuxt": "^12.3.0", "joi": "^17.13.3", "nuxt": "^3.15.1", "nuxt-component-meta": "^0.9.0", diff --git a/package.json b/package.json index b5e1522c..6755095b 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@nuxt/ui", "description": "A UI Library for Modern Web Apps, powered by Vue & Tailwind CSS.", "version": "3.0.0-alpha.10", - "packageManager": "pnpm@9.15.1", + "packageManager": "pnpm@9.15.3", "repository": { "type": "git", "url": "git+https://github.com/nuxt/ui.git" @@ -67,10 +67,10 @@ "release": "release-it --preRelease=alpha --npm.tag=next" }, "dependencies": { - "@iconify/vue": "^4.2.0", + "@iconify/vue": "^4.3.0", "@internationalized/date": "^3.6.0", "@internationalized/number": "^3.6.0", - "@nuxt/devtools-kit": "^1.6.4", + "@nuxt/devtools-kit": "^1.7.0", "@nuxt/fonts": "^0.10.3", "@nuxt/icon": "^1.10.3", "@nuxt/kit": "^3.15.1", @@ -81,10 +81,10 @@ "@tanstack/vue-table": "^8.20.5", "@types/color": "^4.2.0", "@unhead/vue": "^1.11.14", - "@vueuse/core": "^12.2.0", - "@vueuse/integrations": "^12.2.0", + "@vueuse/core": "^12.3.0", + "@vueuse/integrations": "^12.3.0", "color": "^4.2.3", - "consola": "^3.3.1", + "consola": "^3.3.3", "defu": "^6.1.4", "embla-carousel-auto-height": "^8.5.1", "embla-carousel-auto-scroll": "^8.5.1", @@ -99,7 +99,7 @@ "magic-string": "^0.30.17", "mlly": "^1.7.3", "ohash": "^1.1.4", - "reka-ui": "1.0.0-alpha.7", + "reka-ui": "1.0.0-alpha.8", "pathe": "^2.0.0", "scule": "^1.3.0", "sirv": "^3.0.0", diff --git a/playground/package.json b/playground/package.json index a005f30a..2ccc2292 100644 --- a/playground/package.json +++ b/playground/package.json @@ -8,8 +8,8 @@ "generate": "nuxi generate" }, "dependencies": { - "@iconify-json/lucide": "^1.2.20", - "@iconify-json/simple-icons": "^1.2.17", + "@iconify-json/lucide": "^1.2.21", + "@iconify-json/simple-icons": "^1.2.18", "@nuxt/ui": "latest", "nuxt": "^3.15.1" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0f105d82..af7f6fa3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -21,7 +21,7 @@ importers: .: dependencies: '@iconify/vue': - specifier: ^4.2.0 + specifier: ^4.3.0 version: 4.3.0(vue@3.5.13(typescript@5.7.2)) '@internationalized/date': specifier: ^3.6.0 @@ -30,7 +30,7 @@ importers: specifier: ^3.6.0 version: 3.6.0 '@nuxt/devtools-kit': - specifier: ^1.6.4 + specifier: ^1.7.0 version: 1.7.0(magicast@0.3.5)(rollup@4.30.0)(vite@6.0.7(@types/node@22.10.5)(jiti@2.4.2)(lightningcss@1.28.2)(terser@5.37.0)(yaml@2.7.0)) '@nuxt/fonts': specifier: ^0.10.3 @@ -63,16 +63,16 @@ importers: specifier: ^1.11.14 version: 1.11.14(vue@3.5.13(typescript@5.7.2)) '@vueuse/core': - specifier: ^12.2.0 + specifier: ^12.3.0 version: 12.3.0(typescript@5.7.2) '@vueuse/integrations': - specifier: ^12.2.0 + specifier: ^12.3.0 version: 12.3.0(change-case@5.4.4)(fuse.js@7.0.0)(typescript@5.7.2) color: specifier: ^4.2.3 version: 4.2.3 consola: - specifier: ^3.3.1 + specifier: ^3.3.3 version: 3.3.3 defu: specifier: ^6.1.4 @@ -120,8 +120,8 @@ importers: specifier: ^2.0.0 version: 2.0.0 reka-ui: - specifier: 1.0.0-alpha.7 - version: 1.0.0-alpha.7(typescript@5.7.2)(vue@3.5.13(typescript@5.7.2)) + specifier: 1.0.0-alpha.8 + version: 1.0.0-alpha.8(typescript@5.7.2)(vue@3.5.13(typescript@5.7.2)) scule: specifier: ^1.3.0 version: 1.3.0 @@ -220,7 +220,7 @@ importers: specifier: ^0.1.6 version: 0.1.6 consola: - specifier: ^3.3.1 + specifier: ^3.3.3 version: 3.3.3 pathe: specifier: ^2.0.0 @@ -253,13 +253,13 @@ importers: specifier: ^1.2.4 version: 1.2.4 '@iconify-json/lucide': - specifier: ^1.2.20 + specifier: ^1.2.21 version: 1.2.21 '@iconify-json/simple-icons': - specifier: ^1.2.17 + specifier: ^1.2.18 version: 1.2.18 '@iconify-json/vscode-icons': - specifier: ^1.2.6 + specifier: ^1.2.8 version: 1.2.8 '@nuxt/content': specifier: https://pkg.pr.new/@nuxt/content@f124c95 @@ -283,7 +283,7 @@ importers: specifier: ^21.0.2 version: 21.0.2 '@vueuse/nuxt': - specifier: ^12.2.0 + specifier: ^12.3.0 version: 12.3.0(magicast@0.3.5)(nuxt@3.15.1(@libsql/client@0.14.0)(@parcel/watcher@2.5.0)(@types/node@22.10.5)(better-sqlite3@11.7.2)(db0@0.2.1(@libsql/client@0.14.0)(better-sqlite3@11.7.2))(eslint@9.17.0(jiti@2.4.2))(ioredis@5.4.2)(lightningcss@1.28.2)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.30.0)(terser@5.37.0)(typescript@5.7.2)(vite@6.0.7(@types/node@22.10.5)(jiti@2.4.2)(lightningcss@1.28.2)(terser@5.37.0)(yaml@2.7.0))(vue-tsc@2.2.0(typescript@5.7.2))(yaml@2.7.0))(rollup@4.30.0)(typescript@5.7.2) joi: specifier: ^17.13.3 @@ -326,10 +326,10 @@ importers: playground: dependencies: '@iconify-json/lucide': - specifier: ^1.2.20 + specifier: ^1.2.21 version: 1.2.21 '@iconify-json/simple-icons': - specifier: ^1.2.17 + specifier: ^1.2.18 version: 1.2.18 '@nuxt/ui': specifier: workspace:* @@ -5495,8 +5495,8 @@ packages: rehype-sort-attributes@5.0.1: resolution: {integrity: sha512-Bxo+AKUIELcnnAZwJDt5zUDDRpt4uzhfz9d0PVGhcxYWsbFj5Cv35xuWxu5r1LeYNFNhgGqsr9Q2QiIOM/Qctg==} - reka-ui@1.0.0-alpha.7: - resolution: {integrity: sha512-4HnBz4xml1h63K/ZkYfy3+UGOLcuNnCD9TLqwwKNb3LUbUAh/bXpUeYPkm3cYOtXz/TPbhwJIWNr/ZX7cFKfDQ==} + reka-ui@1.0.0-alpha.8: + resolution: {integrity: sha512-FmAUxWFLWtvbheBLvjgotR/RsE1KSjciMJOLmo7wL0Sbe+sW7M35O8K6f141a0Vc1cE0mH57UHcWBuVpeJNQNA==} peerDependencies: vue: '>= 3.2.0' @@ -13132,7 +13132,7 @@ snapshots: '@types/hast': 3.0.4 unist-util-visit: 5.0.0 - reka-ui@1.0.0-alpha.7(typescript@5.7.2)(vue@3.5.13(typescript@5.7.2)): + reka-ui@1.0.0-alpha.8(typescript@5.7.2)(vue@3.5.13(typescript@5.7.2)): dependencies: '@floating-ui/dom': 1.6.12 '@floating-ui/vue': 1.1.5(vue@3.5.13(typescript@5.7.2)) @@ -13144,7 +13144,6 @@ snapshots: aria-hidden: 1.2.4 defu: 6.1.4 ohash: 1.1.4 - uncrypto: 0.1.3 vue: 3.5.13(typescript@5.7.2) transitivePeerDependencies: - '@vue/composition-api' diff --git a/src/runtime/components/InputMenu.vue b/src/runtime/components/InputMenu.vue index 73c54ab6..bdea99d3 100644 --- a/src/runtime/components/InputMenu.vue +++ b/src/runtime/components/InputMenu.vue @@ -201,7 +201,7 @@ function displayValue(value: T): string { return value && (typeof value === 'object' ? get(value, props.labelKey as string) : value) } - const item = items.value.find(item => compare(typeof item === 'object' ? get(item, props.valueKey as string) : item, value)) + const item = items.value.find(item => compare(typeof item === 'object' ? get(item as Record, props.valueKey as string) : item, value)) return item && (typeof item === 'object' ? get(item, props.labelKey as string) : item) } diff --git a/src/runtime/components/Select.vue b/src/runtime/components/Select.vue index 0be707d4..595a05a7 100644 --- a/src/runtime/components/Select.vue +++ b/src/runtime/components/Select.vue @@ -158,7 +158,7 @@ function displayValue(value?: AcceptableValue | AcceptableValue[]): string | und return value.map(v => displayValue(v)).filter(Boolean).join(', ') } - const item = items.value.find(item => compare(typeof item === 'object' ? get(item, props.valueKey as string) : item, value)) + const item = items.value.find(item => compare(typeof item === 'object' ? get(item as Record, props.valueKey as string) : item, value)) return item && (typeof item === 'object' ? get(item, props.labelKey as string) : item) } diff --git a/src/runtime/components/SelectMenu.vue b/src/runtime/components/SelectMenu.vue index 70ff58c8..fa57bcde 100644 --- a/src/runtime/components/SelectMenu.vue +++ b/src/runtime/components/SelectMenu.vue @@ -194,7 +194,7 @@ function displayValue(value: T | T[]): string { return value && (typeof value === 'object' ? get(value, props.labelKey as string) : value) } - const item = items.value.find(item => compare(typeof item === 'object' ? get(item, props.valueKey as string) : item, value)) + const item = items.value.find(item => compare(typeof item === 'object' ? get(item as Record, props.valueKey as string) : item, value)) return item && (typeof item === 'object' ? get(item, props.labelKey as string) : item) } diff --git a/test/components/__snapshots__/DropdownMenu-vue.spec.ts.snap b/test/components/__snapshots__/DropdownMenu-vue.spec.ts.snap index ca4ae22e..992bcb86 100644 --- a/test/components/__snapshots__/DropdownMenu-vue.spec.ts.snap +++ b/test/components/__snapshots__/DropdownMenu-vue.spec.ts.snap @@ -25,7 +25,7 @@ exports[`DropdownMenu > renders with arrow correctly 1`] = `
GitHubSupport - +
GitHubSupport - +
GitHubSupport - +
GitHubSupport - +
GitHubSupport - +
Item slotItem slot - +
@@ -245,7 +245,7 @@ exports[`DropdownMenu > renders with item-label slot correctly 1`] = `
Item label slotItem label slot - +
Item leading slotGitHubItem leading slotSupport - +
GitHubItem trailing slotSupportItem trailing slot - +
@@ -351,7 +351,7 @@ exports[`DropdownMenu > renders with items correctly 1`] = `
GitHubSupport - +
i-simple-icons-githubi-lucide-life-buoy - +
GitHubSupport - +
GitHubSupport - +
GitHubSupport - +
GitHubSupport - +
GitHubSupport - +
GitHubSupport - +
GitHubSupport - +
GitHubSupport - +
GitHubSupport - +
GitHubSupport - +
GitHubSupport - +
Item slotItem slot - +
@@ -257,7 +257,7 @@ exports[`DropdownMenu > renders with item-label slot correctly 1`] = `
Item label slotItem label slot - +
Item leading slotGitHubItem leading slotSupport - +
GitHubItem trailing slotSupportItem trailing slot - +
@@ -367,7 +367,7 @@ exports[`DropdownMenu > renders with items correctly 1`] = `
GitHubSupport - +
i-simple-icons-githubi-lucide-life-buoy - +
GitHubSupport - +
GitHubSupport - +
GitHubSupport - +
GitHubSupport - +
GitHubSupport - +
GitHubSupport - +