@nuxt/ui 4.6.1 → 4.7.0
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/README.md +7 -4
- package/cli/package.json +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +3 -2
- package/dist/runtime/components/Accordion.d.vue.ts +6 -1
- package/dist/runtime/components/Accordion.vue +1 -1
- package/dist/runtime/components/Accordion.vue.d.ts +6 -1
- package/dist/runtime/components/AuthForm.d.vue.ts +22 -29
- package/dist/runtime/components/AuthForm.vue +8 -6
- package/dist/runtime/components/AuthForm.vue.d.ts +22 -29
- package/dist/runtime/components/Calendar.vue +4 -4
- package/dist/runtime/components/Card.d.vue.ts +4 -0
- package/dist/runtime/components/Card.vue +16 -2
- package/dist/runtime/components/Card.vue.d.ts +4 -0
- package/dist/runtime/components/ChatMessage.d.vue.ts +27 -17
- package/dist/runtime/components/ChatMessage.vue +10 -16
- package/dist/runtime/components/ChatMessage.vue.d.ts +27 -17
- package/dist/runtime/components/ChatMessages.d.vue.ts +27 -21
- package/dist/runtime/components/ChatMessages.vue +22 -23
- package/dist/runtime/components/ChatMessages.vue.d.ts +27 -21
- package/dist/runtime/components/ChatPromptSubmit.vue +3 -1
- package/dist/runtime/components/Checkbox.vue +5 -3
- package/dist/runtime/components/CommandPalette.d.vue.ts +18 -3
- package/dist/runtime/components/CommandPalette.vue +11 -7
- package/dist/runtime/components/CommandPalette.vue.d.ts +18 -3
- package/dist/runtime/components/ContextMenuContent.vue +68 -65
- package/dist/runtime/components/DashboardSearch.d.vue.ts +8 -37
- package/dist/runtime/components/DashboardSearch.vue +11 -10
- package/dist/runtime/components/DashboardSearch.vue.d.ts +8 -37
- package/dist/runtime/components/DashboardSidebar.vue +1 -5
- package/dist/runtime/components/Drawer.vue +44 -41
- package/dist/runtime/components/DropdownMenuContent.vue +90 -87
- package/dist/runtime/components/EditorEmojiMenu.d.vue.ts +1 -1
- package/dist/runtime/components/EditorEmojiMenu.vue +2 -0
- package/dist/runtime/components/EditorEmojiMenu.vue.d.ts +1 -1
- package/dist/runtime/components/EditorMentionMenu.d.vue.ts +1 -1
- package/dist/runtime/components/EditorMentionMenu.vue +2 -0
- package/dist/runtime/components/EditorMentionMenu.vue.d.ts +1 -1
- package/dist/runtime/components/EditorSuggestionMenu.d.vue.ts +1 -1
- package/dist/runtime/components/EditorSuggestionMenu.vue +2 -0
- package/dist/runtime/components/EditorSuggestionMenu.vue.d.ts +1 -1
- package/dist/runtime/components/FileUpload.vue +7 -5
- package/dist/runtime/components/Header.vue +1 -5
- package/dist/runtime/components/Input.vue +2 -2
- package/dist/runtime/components/InputDate.vue +6 -6
- package/dist/runtime/components/InputMenu.d.vue.ts +3 -3
- package/dist/runtime/components/InputMenu.vue +40 -38
- package/dist/runtime/components/InputMenu.vue.d.ts +3 -3
- package/dist/runtime/components/InputNumber.vue +2 -2
- package/dist/runtime/components/InputTags.vue +2 -2
- package/dist/runtime/components/InputTime.vue +2 -2
- package/dist/runtime/components/Link.vue +64 -8
- package/dist/runtime/components/Listbox.d.vue.ts +228 -0
- package/dist/runtime/components/Listbox.vue +242 -0
- package/dist/runtime/components/Listbox.vue.d.ts +228 -0
- package/dist/runtime/components/Modal.vue +13 -10
- package/dist/runtime/components/Popover.vue +7 -4
- package/dist/runtime/components/PricingTable.vue +60 -58
- package/dist/runtime/components/RadioGroup.vue +5 -3
- package/dist/runtime/components/Select.d.vue.ts +1 -1
- package/dist/runtime/components/Select.vue +84 -73
- package/dist/runtime/components/Select.vue.d.ts +1 -1
- package/dist/runtime/components/SelectMenu.d.vue.ts +3 -3
- package/dist/runtime/components/SelectMenu.vue +54 -52
- package/dist/runtime/components/SelectMenu.vue.d.ts +3 -3
- package/dist/runtime/components/Sidebar.vue +1 -4
- package/dist/runtime/components/Slideover.vue +67 -64
- package/dist/runtime/components/Table.d.vue.ts +1 -2
- package/dist/runtime/components/Table.vue +17 -29
- package/dist/runtime/components/Table.vue.d.ts +1 -2
- package/dist/runtime/components/Tabs.d.vue.ts +5 -1
- package/dist/runtime/components/Tabs.vue +2 -2
- package/dist/runtime/components/Tabs.vue.d.ts +5 -1
- package/dist/runtime/components/Textarea.d.vue.ts +1 -0
- package/dist/runtime/components/Textarea.vue +2 -1
- package/dist/runtime/components/Textarea.vue.d.ts +1 -0
- package/dist/runtime/components/Tooltip.vue +12 -9
- package/dist/runtime/components/content/ContentSearch.d.vue.ts +19 -35
- package/dist/runtime/components/content/ContentSearch.vue +10 -9
- package/dist/runtime/components/content/ContentSearch.vue.d.ts +19 -35
- package/dist/runtime/components/content/ContentToc.vue +19 -9
- package/dist/runtime/components/prose/Img.vue +2 -1
- package/dist/runtime/components/prose/Pre.vue +8 -3
- package/dist/runtime/components/prose/Prompt.d.vue.ts +32 -0
- package/dist/runtime/components/prose/Prompt.vue +88 -0
- package/dist/runtime/components/prose/Prompt.vue.d.ts +32 -0
- package/dist/runtime/composables/index.d.ts +1 -0
- package/dist/runtime/composables/index.js +1 -0
- package/dist/runtime/composables/useContentSearch.js +19 -5
- package/dist/runtime/composables/useEditorMenu.d.ts +5 -0
- package/dist/runtime/composables/useEditorMenu.js +3 -1
- package/dist/runtime/composables/useFieldGroup.d.ts +3 -0
- package/dist/runtime/composables/useFieldGroup.js +11 -1
- package/dist/runtime/composables/useResolvedVariants.d.ts +21 -0
- package/dist/runtime/composables/useResolvedVariants.js +14 -0
- package/dist/runtime/locale/ar.js +9 -0
- package/dist/runtime/locale/az.js +9 -0
- package/dist/runtime/locale/be.js +9 -0
- package/dist/runtime/locale/bg.js +9 -0
- package/dist/runtime/locale/bn.js +9 -0
- package/dist/runtime/locale/ca.js +9 -0
- package/dist/runtime/locale/ckb.js +10 -1
- package/dist/runtime/locale/cs.js +9 -0
- package/dist/runtime/locale/da.js +9 -0
- package/dist/runtime/locale/de.js +9 -0
- package/dist/runtime/locale/de_ch.js +9 -0
- package/dist/runtime/locale/el.js +9 -0
- package/dist/runtime/locale/en.js +10 -1
- package/dist/runtime/locale/es.js +9 -0
- package/dist/runtime/locale/et.js +9 -0
- package/dist/runtime/locale/eu.js +11 -2
- package/dist/runtime/locale/fa_ir.js +9 -0
- package/dist/runtime/locale/fi.js +9 -0
- package/dist/runtime/locale/fr.js +9 -0
- package/dist/runtime/locale/gl.js +9 -0
- package/dist/runtime/locale/he.js +9 -0
- package/dist/runtime/locale/hi.js +9 -0
- package/dist/runtime/locale/hr.js +9 -0
- package/dist/runtime/locale/hu.js +9 -0
- package/dist/runtime/locale/hy.js +9 -0
- package/dist/runtime/locale/id.js +9 -0
- package/dist/runtime/locale/is.js +9 -0
- package/dist/runtime/locale/it.js +9 -0
- package/dist/runtime/locale/ja.js +9 -0
- package/dist/runtime/locale/ka.js +9 -0
- package/dist/runtime/locale/kk.js +9 -0
- package/dist/runtime/locale/km.js +9 -0
- package/dist/runtime/locale/ko.js +9 -0
- package/dist/runtime/locale/ky.js +9 -0
- package/dist/runtime/locale/lb.js +11 -2
- package/dist/runtime/locale/lo.js +15 -6
- package/dist/runtime/locale/lt.js +9 -0
- package/dist/runtime/locale/mn.js +9 -0
- package/dist/runtime/locale/ms.js +9 -0
- package/dist/runtime/locale/nb_no.js +9 -0
- package/dist/runtime/locale/nl.js +9 -0
- package/dist/runtime/locale/pl.js +9 -0
- package/dist/runtime/locale/pt.js +9 -0
- package/dist/runtime/locale/pt_br.js +9 -0
- package/dist/runtime/locale/ro.js +9 -0
- package/dist/runtime/locale/ru.js +9 -0
- package/dist/runtime/locale/sk.js +9 -0
- package/dist/runtime/locale/sl.js +9 -0
- package/dist/runtime/locale/sq.js +9 -0
- package/dist/runtime/locale/sv.js +9 -0
- package/dist/runtime/locale/th.js +9 -0
- package/dist/runtime/locale/tj.js +9 -0
- package/dist/runtime/locale/tr.js +9 -0
- package/dist/runtime/locale/ug_cn.js +9 -0
- package/dist/runtime/locale/uk.js +9 -0
- package/dist/runtime/locale/ur.js +9 -0
- package/dist/runtime/locale/uz.js +9 -0
- package/dist/runtime/locale/vi.js +9 -0
- package/dist/runtime/locale/zh_cn.js +9 -0
- package/dist/runtime/locale/zh_tw.js +9 -0
- package/dist/runtime/plugins/colors.js +1 -1
- package/dist/runtime/types/index.d.ts +1 -0
- package/dist/runtime/types/index.js +1 -0
- package/dist/runtime/types/locale.d.ts +9 -0
- package/dist/runtime/types/prose.d.ts +1 -0
- package/dist/runtime/types/prose.js +1 -0
- package/dist/runtime/vue/overrides/inertia/Link.vue +3 -3
- package/dist/runtime/vue/overrides/none/Link.vue +3 -2
- package/dist/runtime/vue/overrides/vue-router/Link.vue +27 -31
- package/dist/shared/{ui.DJUbBpE2.mjs → ui.BIQuJqNV.mjs} +186 -34
- package/dist/unplugin.mjs +1 -1
- package/dist/vite.mjs +1 -1
- package/package.json +48 -39
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": "4.
|
|
5
|
-
"packageManager": "pnpm@10.33.
|
|
4
|
+
"version": "4.7.0",
|
|
5
|
+
"packageManager": "pnpm@10.33.1",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/nuxt/ui.git"
|
|
@@ -115,6 +115,7 @@
|
|
|
115
115
|
"repl": "pnpm --filter './playgrounds/repl' dev",
|
|
116
116
|
"repl:bundle": "pnpm --filter './playgrounds/repl' bundle",
|
|
117
117
|
"repl:build": "pnpm --filter './playgrounds/repl' build",
|
|
118
|
+
"repl:prepare": "nuxt-module-build build --stub && mkdir -p .nuxt && echo '{\"compilerOptions\":{}}' > .nuxt/tsconfig.json",
|
|
118
119
|
"docs": "nuxt dev docs --uiDev",
|
|
119
120
|
"docs:build": "nuxt build docs",
|
|
120
121
|
"lint": "eslint .",
|
|
@@ -128,42 +129,42 @@
|
|
|
128
129
|
"dependencies": {
|
|
129
130
|
"@floating-ui/dom": "^1.7.6",
|
|
130
131
|
"@iconify/vue": "^5.0.0",
|
|
131
|
-
"@internationalized/date": "^3.12.
|
|
132
|
-
"@internationalized/number": "^3.6.
|
|
132
|
+
"@internationalized/date": "^3.12.1",
|
|
133
|
+
"@internationalized/number": "^3.6.6",
|
|
133
134
|
"@nuxt/fonts": "^0.14.0",
|
|
134
135
|
"@nuxt/icon": "^2.2.1",
|
|
135
136
|
"@nuxt/kit": "^4.4.2",
|
|
136
137
|
"@nuxt/schema": "^4.4.2",
|
|
137
138
|
"@nuxtjs/color-mode": "^3.5.2",
|
|
138
139
|
"@standard-schema/spec": "^1.1.0",
|
|
139
|
-
"@tailwindcss/postcss": "^4.2.
|
|
140
|
-
"@tailwindcss/vite": "^4.2.
|
|
140
|
+
"@tailwindcss/postcss": "^4.2.4",
|
|
141
|
+
"@tailwindcss/vite": "^4.2.4",
|
|
141
142
|
"@tanstack/vue-table": "^8.21.3",
|
|
142
|
-
"@tanstack/vue-virtual": "^3.13.
|
|
143
|
-
"@tiptap/core": "^3.
|
|
144
|
-
"@tiptap/extension-bubble-menu": "^3.
|
|
145
|
-
"@tiptap/extension-code": "^3.
|
|
146
|
-
"@tiptap/extension-collaboration": "^3.
|
|
147
|
-
"@tiptap/extension-drag-handle": "^3.
|
|
148
|
-
"@tiptap/extension-drag-handle-vue-3": "^3.
|
|
149
|
-
"@tiptap/extension-floating-menu": "^3.
|
|
150
|
-
"@tiptap/extension-horizontal-rule": "^3.
|
|
151
|
-
"@tiptap/extension-image": "^3.
|
|
152
|
-
"@tiptap/extension-mention": "^3.
|
|
153
|
-
"@tiptap/extension-node-range": "^3.
|
|
154
|
-
"@tiptap/extension-placeholder": "^3.
|
|
155
|
-
"@tiptap/markdown": "^3.
|
|
156
|
-
"@tiptap/pm": "^3.
|
|
157
|
-
"@tiptap/starter-kit": "^3.
|
|
158
|
-
"@tiptap/suggestion": "^3.
|
|
159
|
-
"@tiptap/vue-3": "^3.
|
|
160
|
-
"@unhead/vue": "^2.1.
|
|
143
|
+
"@tanstack/vue-virtual": "^3.13.24",
|
|
144
|
+
"@tiptap/core": "^3.22.4",
|
|
145
|
+
"@tiptap/extension-bubble-menu": "^3.22.4",
|
|
146
|
+
"@tiptap/extension-code": "^3.22.4",
|
|
147
|
+
"@tiptap/extension-collaboration": "^3.22.4",
|
|
148
|
+
"@tiptap/extension-drag-handle": "^3.22.4",
|
|
149
|
+
"@tiptap/extension-drag-handle-vue-3": "^3.22.4",
|
|
150
|
+
"@tiptap/extension-floating-menu": "^3.22.4",
|
|
151
|
+
"@tiptap/extension-horizontal-rule": "^3.22.4",
|
|
152
|
+
"@tiptap/extension-image": "^3.22.4",
|
|
153
|
+
"@tiptap/extension-mention": "^3.22.4",
|
|
154
|
+
"@tiptap/extension-node-range": "^3.22.4",
|
|
155
|
+
"@tiptap/extension-placeholder": "^3.22.4",
|
|
156
|
+
"@tiptap/markdown": "^3.22.4",
|
|
157
|
+
"@tiptap/pm": "^3.22.4",
|
|
158
|
+
"@tiptap/starter-kit": "^3.22.4",
|
|
159
|
+
"@tiptap/suggestion": "^3.22.4",
|
|
160
|
+
"@tiptap/vue-3": "^3.22.4",
|
|
161
|
+
"@unhead/vue": "^2.1.13",
|
|
161
162
|
"@vueuse/core": "^14.2.1",
|
|
162
163
|
"@vueuse/integrations": "^14.2.1",
|
|
163
164
|
"@vueuse/shared": "^14.2.1",
|
|
164
165
|
"colortranslator": "^5.0.0",
|
|
165
166
|
"consola": "^3.4.2",
|
|
166
|
-
"defu": "^6.1.
|
|
167
|
+
"defu": "^6.1.7",
|
|
167
168
|
"embla-carousel-auto-height": "^8.6.0",
|
|
168
169
|
"embla-carousel-auto-scroll": "^8.6.0",
|
|
169
170
|
"embla-carousel-autoplay": "^8.6.0",
|
|
@@ -171,50 +172,52 @@
|
|
|
171
172
|
"embla-carousel-fade": "^8.6.0",
|
|
172
173
|
"embla-carousel-vue": "^8.6.0",
|
|
173
174
|
"embla-carousel-wheel-gestures": "^8.1.0",
|
|
174
|
-
"fuse.js": "^7.
|
|
175
|
-
"hookable": "^6.1.
|
|
175
|
+
"fuse.js": "^7.3.0",
|
|
176
|
+
"hookable": "^6.1.1",
|
|
176
177
|
"knitwork": "^1.3.0",
|
|
177
178
|
"magic-string": "^0.30.21",
|
|
178
179
|
"mlly": "^1.8.2",
|
|
179
|
-
"motion-v": "^2.2.
|
|
180
|
+
"motion-v": "^2.2.1",
|
|
180
181
|
"ohash": "^2.0.11",
|
|
181
182
|
"pathe": "^2.0.3",
|
|
182
|
-
"reka-ui": "2.9.
|
|
183
|
+
"reka-ui": "2.9.6",
|
|
183
184
|
"scule": "^1.3.0",
|
|
184
185
|
"tailwind-merge": "^3.5.0",
|
|
185
186
|
"tailwind-variants": "^3.2.2",
|
|
186
|
-
"tailwindcss": "^4.2.
|
|
187
|
-
"tinyglobby": "^0.2.
|
|
187
|
+
"tailwindcss": "^4.2.4",
|
|
188
|
+
"tinyglobby": "^0.2.16",
|
|
188
189
|
"ufo": "^1.6.3",
|
|
189
190
|
"unplugin": "^3.0.0",
|
|
190
191
|
"unplugin-auto-import": "^21.0.0",
|
|
191
192
|
"unplugin-vue-components": "^32.0.0",
|
|
192
193
|
"vaul-vue": "0.4.1",
|
|
193
|
-
"vue-component-type-helpers": "^3.2.
|
|
194
|
+
"vue-component-type-helpers": "^3.2.7"
|
|
194
195
|
},
|
|
195
196
|
"devDependencies": {
|
|
196
197
|
"@nuxt/eslint-config": "^1.15.2",
|
|
197
198
|
"@nuxt/module-builder": "^1.0.2",
|
|
198
|
-
"@nuxt/test-utils": "^4.0.
|
|
199
|
+
"@nuxt/test-utils": "^4.0.2",
|
|
199
200
|
"@release-it/conventional-changelog": "^10.0.6",
|
|
200
201
|
"@tanstack/table-core": "^8.21.3",
|
|
201
202
|
"@vitejs/plugin-vue": "^6.0.5",
|
|
202
203
|
"@vue/test-utils": "^2.4.6",
|
|
203
|
-
"ai": "^6.0.
|
|
204
|
+
"ai": "^6.0.168",
|
|
204
205
|
"embla-carousel": "^8.6.0",
|
|
205
|
-
"eslint": "^10.1
|
|
206
|
-
"happy-dom": "^20.
|
|
206
|
+
"eslint": "^10.2.1",
|
|
207
|
+
"happy-dom": "^20.9.0",
|
|
207
208
|
"nuxt": "^4.4.2",
|
|
208
209
|
"release-it": "^19.2.4",
|
|
209
210
|
"unbuild": "^3.6.1",
|
|
210
|
-
"vitest": "^4.1.
|
|
211
|
+
"vitest": "^4.1.5",
|
|
211
212
|
"vitest-axe": "^0.1.0",
|
|
212
213
|
"vitest-environment-nuxt": "^1.0.1",
|
|
213
214
|
"vue": "^3.5.30",
|
|
214
|
-
"vue-tsc": "^3.2.
|
|
215
|
+
"vue-tsc": "^3.2.7"
|
|
215
216
|
},
|
|
216
217
|
"peerDependencies": {
|
|
217
218
|
"@inertiajs/vue3": "^2.0.7 || ^3.0.0",
|
|
219
|
+
"@internationalized/date": "^3.0.0",
|
|
220
|
+
"@internationalized/number": "^3.0.0",
|
|
218
221
|
"@nuxt/content": "^3.0.0",
|
|
219
222
|
"joi": "^18.0.0",
|
|
220
223
|
"superstruct": "^2.0.0",
|
|
@@ -229,6 +232,12 @@
|
|
|
229
232
|
"@inertiajs/vue3": {
|
|
230
233
|
"optional": true
|
|
231
234
|
},
|
|
235
|
+
"@internationalized/date": {
|
|
236
|
+
"optional": true
|
|
237
|
+
},
|
|
238
|
+
"@internationalized/number": {
|
|
239
|
+
"optional": true
|
|
240
|
+
},
|
|
232
241
|
"@nuxt/content": {
|
|
233
242
|
"optional": true
|
|
234
243
|
},
|