@nuxt/ui 3.2.0 → 3.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.nuxt/ui/button.ts +42 -42
- package/.nuxt/ui/command-palette.ts +2 -1
- package/.nuxt/ui/drawer.ts +1 -1
- package/.nuxt/ui/file-upload.ts +290 -0
- package/.nuxt/ui/index.ts +1 -0
- package/.nuxt/ui/input.ts +1 -1
- package/.nuxt/ui/kbd.ts +167 -3
- package/.nuxt/ui/select.ts +7 -7
- package/.nuxt/ui/table.ts +8 -0
- package/.nuxt/ui/tabs.ts +4 -2
- package/.nuxt/ui/textarea.ts +1 -1
- package/.nuxt/ui/toast.ts +8 -15
- package/.nuxt/ui/tooltip.ts +1 -1
- package/cli/templates.mjs +8 -3
- package/dist/module.d.mts +15 -1
- package/dist/module.json +2 -2
- package/dist/module.mjs +3 -3
- package/dist/runtime/components/Accordion.vue.d.ts +1 -1
- package/dist/runtime/components/Alert.vue.d.ts +2 -2
- package/dist/runtime/components/App.vue.d.ts +1 -1
- package/dist/runtime/components/Avatar.vue.d.ts +1 -1
- package/dist/runtime/components/AvatarGroup.vue.d.ts +1 -1
- package/dist/runtime/components/Badge.vue.d.ts +1 -1
- package/dist/runtime/components/Breadcrumb.vue.d.ts +1 -1
- package/dist/runtime/components/Button.vue +6 -6
- package/dist/runtime/components/Button.vue.d.ts +1 -5
- package/dist/runtime/components/ButtonGroup.vue.d.ts +1 -1
- package/dist/runtime/components/Calendar.vue.d.ts +1 -1
- package/dist/runtime/components/Card.vue.d.ts +1 -1
- package/dist/runtime/components/Carousel.vue +18 -14
- package/dist/runtime/components/Carousel.vue.d.ts +1 -1
- package/dist/runtime/components/Checkbox.vue.d.ts +1 -1
- package/dist/runtime/components/CheckboxGroup.vue.d.ts +1 -1
- package/dist/runtime/components/Chip.vue.d.ts +2 -2
- package/dist/runtime/components/Collapsible.vue.d.ts +1 -1
- package/dist/runtime/components/ColorPicker.vue +1 -2
- package/dist/runtime/components/ColorPicker.vue.d.ts +1 -1
- package/dist/runtime/components/CommandPalette.vue +4 -0
- package/dist/runtime/components/CommandPalette.vue.d.ts +6 -1
- package/dist/runtime/components/Container.vue.d.ts +1 -1
- package/dist/runtime/components/ContextMenu.vue.d.ts +1 -1
- package/dist/runtime/components/ContextMenuContent.vue +5 -3
- package/dist/runtime/components/ContextMenuContent.vue.d.ts +1 -1
- package/dist/runtime/components/Drawer.vue +4 -4
- package/dist/runtime/components/Drawer.vue.d.ts +6 -1
- package/dist/runtime/components/DropdownMenu.vue.d.ts +1 -1
- package/dist/runtime/components/DropdownMenuContent.vue +5 -3
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +8 -5
- package/dist/runtime/components/FileUpload.vue +248 -0
- package/dist/runtime/components/FileUpload.vue.d.ts +167 -0
- package/dist/runtime/components/Form.vue +3 -3
- package/dist/runtime/components/Form.vue.d.ts +6 -5
- package/dist/runtime/components/FormField.vue +2 -2
- package/dist/runtime/components/FormField.vue.d.ts +4 -4
- package/dist/runtime/components/Icon.vue.d.ts +1 -1
- package/dist/runtime/components/Input.vue +10 -7
- package/dist/runtime/components/Input.vue.d.ts +9 -9
- package/dist/runtime/components/InputMenu.vue +25 -13
- package/dist/runtime/components/InputMenu.vue.d.ts +16 -221
- package/dist/runtime/components/InputNumber.vue +3 -2
- package/dist/runtime/components/InputNumber.vue.d.ts +7 -81
- package/dist/runtime/components/InputTags.vue +2 -0
- package/dist/runtime/components/InputTags.vue.d.ts +7 -5
- package/dist/runtime/components/Kbd.vue +2 -1
- package/dist/runtime/components/Kbd.vue.d.ts +5 -1
- package/dist/runtime/components/Link.vue +6 -5
- package/dist/runtime/components/Link.vue.d.ts +1 -3
- package/dist/runtime/components/LinkBase.vue.d.ts +1 -1
- package/dist/runtime/components/Modal.vue.d.ts +2 -2
- package/dist/runtime/components/NavigationMenu.vue +3 -2
- package/dist/runtime/components/NavigationMenu.vue.d.ts +1 -1
- package/dist/runtime/components/OverlayProvider.vue.d.ts +1 -1
- package/dist/runtime/components/Pagination.vue.d.ts +1 -1
- package/dist/runtime/components/PinInput.vue +3 -1
- package/dist/runtime/components/PinInput.vue.d.ts +5 -5
- package/dist/runtime/components/Popover.vue +2 -1
- package/dist/runtime/components/Popover.vue.d.ts +8 -2
- package/dist/runtime/components/Progress.vue.d.ts +1 -1
- package/dist/runtime/components/RadioGroup.vue +1 -1
- package/dist/runtime/components/RadioGroup.vue.d.ts +5 -4
- package/dist/runtime/components/Select.vue +16 -6
- package/dist/runtime/components/Select.vue.d.ts +3 -3
- package/dist/runtime/components/SelectMenu.vue +18 -10
- package/dist/runtime/components/SelectMenu.vue.d.ts +3 -3
- package/dist/runtime/components/Separator.vue.d.ts +1 -1
- package/dist/runtime/components/Skeleton.vue.d.ts +1 -1
- package/dist/runtime/components/Slideover.vue.d.ts +2 -2
- package/dist/runtime/components/Slider.vue.d.ts +5 -5
- package/dist/runtime/components/Stepper.vue.d.ts +1 -1
- package/dist/runtime/components/Switch.vue.d.ts +1 -1
- package/dist/runtime/components/Table.vue +83 -8
- package/dist/runtime/components/Table.vue.d.ts +20 -4
- package/dist/runtime/components/Tabs.vue +12 -2
- package/dist/runtime/components/Tabs.vue.d.ts +8 -3
- package/dist/runtime/components/Textarea.vue +10 -7
- package/dist/runtime/components/Textarea.vue.d.ts +10 -9
- package/dist/runtime/components/Timeline.vue.d.ts +1 -1
- package/dist/runtime/components/Toast.vue +12 -4
- package/dist/runtime/components/Toast.vue.d.ts +14 -13
- package/dist/runtime/components/Toaster.vue.d.ts +1 -1
- package/dist/runtime/components/Tooltip.vue +4 -3
- package/dist/runtime/components/Tooltip.vue.d.ts +8 -2
- package/dist/runtime/components/Tree.vue +31 -28
- package/dist/runtime/components/Tree.vue.d.ts +2 -1
- package/dist/runtime/composables/defineShortcuts.js +5 -3
- package/dist/runtime/composables/useAvatarGroup.d.ts +1 -1
- package/dist/runtime/composables/useComponentIcons.d.ts +1 -1
- package/dist/runtime/composables/useFileUpload.d.ts +19 -0
- package/dist/runtime/composables/useFileUpload.js +69 -0
- package/dist/runtime/composables/useFormField.d.ts +3 -6
- package/dist/runtime/composables/useFormField.js +5 -2
- package/dist/runtime/composables/useKbd.d.ts +1 -1
- package/dist/runtime/composables/useLocale.js +2 -2
- package/dist/runtime/composables/useOverlay.d.ts +29 -2
- package/dist/runtime/composables/useOverlay.js +8 -7
- package/dist/runtime/composables/usePortal.d.ts +1 -1
- package/dist/runtime/inertia/components/Link.vue.d.ts +1 -1
- package/dist/runtime/inertia/components/LinkBase.vue.d.ts +1 -1
- package/dist/runtime/inertia/stubs.d.ts +1 -0
- package/dist/runtime/inertia/stubs.js +4 -2
- package/dist/runtime/locale/ar.js +5 -1
- package/dist/runtime/locale/az.js +4 -0
- package/dist/runtime/locale/bg.js +4 -0
- package/dist/runtime/locale/bn.js +4 -0
- package/dist/runtime/locale/ca.js +4 -0
- package/dist/runtime/locale/ckb.js +5 -1
- package/dist/runtime/locale/cs.js +4 -0
- package/dist/runtime/locale/da.js +4 -0
- package/dist/runtime/locale/de.js +4 -0
- package/dist/runtime/locale/el.js +4 -0
- package/dist/runtime/locale/en.js +4 -0
- package/dist/runtime/locale/es.js +4 -0
- package/dist/runtime/locale/et.js +4 -0
- package/dist/runtime/locale/fa_ir.js +4 -0
- package/dist/runtime/locale/fi.js +4 -0
- package/dist/runtime/locale/fr.js +4 -0
- package/dist/runtime/locale/he.js +4 -0
- package/dist/runtime/locale/hi.js +5 -1
- package/dist/runtime/locale/hu.js +4 -0
- package/dist/runtime/locale/hy.js +4 -0
- package/dist/runtime/locale/id.js +4 -0
- package/dist/runtime/locale/it.js +4 -0
- package/dist/runtime/locale/ja.js +4 -0
- package/dist/runtime/locale/kk.js +4 -0
- package/dist/runtime/locale/km.js +5 -1
- package/dist/runtime/locale/ko.js +4 -0
- package/dist/runtime/locale/ky.js +4 -0
- package/dist/runtime/locale/lb.js +4 -0
- package/dist/runtime/locale/lt.js +4 -0
- package/dist/runtime/locale/mn.js +4 -0
- package/dist/runtime/locale/ms.js +4 -0
- package/dist/runtime/locale/nb_no.js +4 -0
- package/dist/runtime/locale/nl.js +4 -0
- package/dist/runtime/locale/pl.js +4 -0
- package/dist/runtime/locale/pt.js +4 -0
- package/dist/runtime/locale/pt_br.js +4 -0
- package/dist/runtime/locale/ro.js +4 -0
- package/dist/runtime/locale/ru.js +4 -0
- package/dist/runtime/locale/sk.js +4 -0
- package/dist/runtime/locale/sl.js +4 -0
- package/dist/runtime/locale/sv.js +4 -0
- package/dist/runtime/locale/th.js +4 -0
- package/dist/runtime/locale/tj.js +4 -0
- package/dist/runtime/locale/tr.js +4 -0
- package/dist/runtime/locale/ug_cn.js +4 -0
- package/dist/runtime/locale/uk.js +4 -0
- package/dist/runtime/locale/ur.js +4 -0
- package/dist/runtime/locale/uz.js +4 -0
- package/dist/runtime/locale/vi.js +4 -0
- package/dist/runtime/locale/zh_cn.js +4 -0
- package/dist/runtime/locale/zh_tw.js +4 -0
- package/dist/runtime/types/index.d.ts +1 -0
- package/dist/runtime/types/index.js +1 -0
- package/dist/runtime/types/locale.d.ts +4 -0
- package/dist/runtime/utils/index.d.ts +6 -0
- package/dist/runtime/utils/index.js +27 -0
- package/dist/runtime/vue/components/Icon.vue.d.ts +1 -1
- package/dist/runtime/vue/components/Link.vue.d.ts +1 -1
- package/dist/runtime/vue/stubs.d.ts +1 -0
- package/dist/runtime/vue/stubs.js +3 -1
- package/dist/shared/{ui.BPVxSPGY.mjs → ui.BTUFJHYJ.mjs} +299 -36
- package/dist/unplugin.d.mts +2 -0
- package/dist/unplugin.mjs +6 -3
- package/dist/vite.mjs +1 -1
- package/package.json +31 -27
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/ui",
|
|
3
3
|
"description": "A UI Library for Modern Web Apps, powered by Vue & Tailwind CSS.",
|
|
4
|
-
"version": "3.
|
|
5
|
-
"packageManager": "pnpm@10.
|
|
4
|
+
"version": "3.3.1",
|
|
5
|
+
"packageManager": "pnpm@10.14.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/nuxt/ui.git"
|
|
@@ -98,9 +98,9 @@
|
|
|
98
98
|
"prepack": "pnpm build",
|
|
99
99
|
"dev": "nuxt dev playground --uiDev",
|
|
100
100
|
"dev:build": "nuxt build playground",
|
|
101
|
-
"dev:vue": "
|
|
102
|
-
"dev:vue:build": "
|
|
103
|
-
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxt prepare playground && nuxt prepare docs &&
|
|
101
|
+
"dev:vue": "pnpm --filter playground-vue dev -- --uiDev",
|
|
102
|
+
"dev:vue:build": "pnpm --filter playground-vue build",
|
|
103
|
+
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxt prepare playground && nuxt prepare docs && pnpm dev:vue:build",
|
|
104
104
|
"docs": "nuxt dev docs --uiDev",
|
|
105
105
|
"docs:build": "nuxt build docs",
|
|
106
106
|
"lint": "eslint .",
|
|
@@ -113,19 +113,19 @@
|
|
|
113
113
|
"dependencies": {
|
|
114
114
|
"@iconify/vue": "^5.0.0",
|
|
115
115
|
"@internationalized/date": "^3.8.2",
|
|
116
|
-
"@internationalized/number": "^3.6.
|
|
116
|
+
"@internationalized/number": "^3.6.4",
|
|
117
117
|
"@nuxt/fonts": "^0.11.4",
|
|
118
|
-
"@nuxt/icon": "^1.
|
|
119
|
-
"@nuxt/kit": "^
|
|
120
|
-
"@nuxt/schema": "^
|
|
118
|
+
"@nuxt/icon": "^1.15.0",
|
|
119
|
+
"@nuxt/kit": "^4.0.3",
|
|
120
|
+
"@nuxt/schema": "^4.0.3",
|
|
121
121
|
"@nuxtjs/color-mode": "^3.5.2",
|
|
122
122
|
"@standard-schema/spec": "^1.0.0",
|
|
123
|
-
"@tailwindcss/postcss": "^4.1.
|
|
124
|
-
"@tailwindcss/vite": "^4.1.
|
|
123
|
+
"@tailwindcss/postcss": "^4.1.11",
|
|
124
|
+
"@tailwindcss/vite": "^4.1.11",
|
|
125
125
|
"@tanstack/vue-table": "^8.21.3",
|
|
126
|
-
"@unhead/vue": "^2.0.
|
|
127
|
-
"@vueuse/core": "^13.
|
|
128
|
-
"@vueuse/integrations": "^13.
|
|
126
|
+
"@unhead/vue": "^2.0.14",
|
|
127
|
+
"@vueuse/core": "^13.6.0",
|
|
128
|
+
"@vueuse/integrations": "^13.6.0",
|
|
129
129
|
"colortranslator": "^5.0.0",
|
|
130
130
|
"consola": "^3.4.2",
|
|
131
131
|
"defu": "^6.1.4",
|
|
@@ -143,31 +143,32 @@
|
|
|
143
143
|
"mlly": "^1.7.4",
|
|
144
144
|
"ohash": "^2.0.11",
|
|
145
145
|
"pathe": "^2.0.3",
|
|
146
|
-
"reka-ui": "2.
|
|
146
|
+
"reka-ui": "2.4.1",
|
|
147
147
|
"scule": "^1.3.0",
|
|
148
|
-
"tailwind-
|
|
149
|
-
"
|
|
148
|
+
"tailwind-merge": "^3.3.1",
|
|
149
|
+
"tailwind-variants": "^2.0.1",
|
|
150
|
+
"tailwindcss": "^4.1.11",
|
|
150
151
|
"tinyglobby": "^0.2.14",
|
|
151
152
|
"unplugin": "^2.3.5",
|
|
152
153
|
"unplugin-auto-import": "^19.3.0",
|
|
153
|
-
"unplugin-vue-components": "^28.
|
|
154
|
+
"unplugin-vue-components": "^28.8.0",
|
|
154
155
|
"vaul-vue": "0.4.1",
|
|
155
|
-
"vue-component-type-helpers": "^
|
|
156
|
+
"vue-component-type-helpers": "^3.0.5"
|
|
156
157
|
},
|
|
157
158
|
"devDependencies": {
|
|
158
|
-
"@nuxt/eslint-config": "^1.
|
|
159
|
+
"@nuxt/eslint-config": "^1.8.0",
|
|
159
160
|
"@nuxt/module-builder": "^1.0.1",
|
|
160
|
-
"@nuxt/test-utils": "^3.19.
|
|
161
|
+
"@nuxt/test-utils": "^3.19.2",
|
|
161
162
|
"@release-it/conventional-changelog": "^10.0.1",
|
|
162
163
|
"@vue/test-utils": "^2.4.6",
|
|
163
164
|
"embla-carousel": "^8.6.0",
|
|
164
|
-
"eslint": "^9.
|
|
165
|
+
"eslint": "^9.33.0",
|
|
165
166
|
"happy-dom": "^18.0.1",
|
|
166
|
-
"nuxt": "^
|
|
167
|
-
"release-it": "^19.0.
|
|
167
|
+
"nuxt": "^4.0.3",
|
|
168
|
+
"release-it": "^19.0.4",
|
|
168
169
|
"vitest": "^3.2.4",
|
|
169
170
|
"vitest-environment-nuxt": "^1.0.1",
|
|
170
|
-
"vue-tsc": "^
|
|
171
|
+
"vue-tsc": "^3.0.5"
|
|
171
172
|
},
|
|
172
173
|
"peerDependencies": {
|
|
173
174
|
"@inertiajs/vue3": "^2.0.7",
|
|
@@ -177,7 +178,7 @@
|
|
|
177
178
|
"valibot": "^1.0.0",
|
|
178
179
|
"vue-router": "^4.5.0",
|
|
179
180
|
"yup": "^1.6.0",
|
|
180
|
-
"zod": "^3.24.0"
|
|
181
|
+
"zod": "^3.24.0 || ^4.0.0"
|
|
181
182
|
},
|
|
182
183
|
"peerDependenciesMeta": {
|
|
183
184
|
"@inertiajs/vue3": {
|
|
@@ -204,11 +205,14 @@
|
|
|
204
205
|
},
|
|
205
206
|
"resolutions": {
|
|
206
207
|
"@nuxt/ui": "workspace:*",
|
|
208
|
+
"@nuxt/module-builder": "1.0.1",
|
|
207
209
|
"chokidar": "3.6.0",
|
|
208
210
|
"debug": "4.3.7",
|
|
209
211
|
"rollup": "4.34.9",
|
|
210
212
|
"unimport": "4.1.1",
|
|
211
|
-
"unplugin": "^2.3.5"
|
|
213
|
+
"unplugin": "^2.3.5",
|
|
214
|
+
"tailwind-variants": "2.0.1",
|
|
215
|
+
"typescript": "5.8.3"
|
|
212
216
|
},
|
|
213
217
|
"pnpm": {
|
|
214
218
|
"onlyBuiltDependencies": [
|