@nuxt/ui 3.1.2 → 3.2.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/.nuxt/ui/avatar.ts +1 -1
- package/.nuxt/ui/card.ts +1 -1
- package/.nuxt/ui/carousel.ts +1 -1
- package/.nuxt/ui/checkbox-group.ts +1 -1
- package/.nuxt/ui/command-palette.ts +1 -0
- package/.nuxt/ui/context-menu.ts +2 -1
- package/.nuxt/ui/drawer.ts +1 -1
- package/.nuxt/ui/dropdown-menu.ts +2 -1
- package/.nuxt/ui/index.ts +2 -0
- package/.nuxt/ui/input-menu.ts +26 -12
- package/.nuxt/ui/input-tags.ts +310 -0
- package/.nuxt/ui/modal.ts +1 -1
- package/.nuxt/ui/navigation-menu.ts +43 -34
- package/.nuxt/ui/radio-group.ts +1 -1
- package/.nuxt/ui/select-menu.ts +13 -8
- package/.nuxt/ui/select.ts +13 -8
- package/.nuxt/ui/table.ts +3 -2
- package/.nuxt/ui/timeline.ts +321 -0
- package/.nuxt/ui/toaster.ts +1 -1
- package/.nuxt/ui/tooltip.ts +1 -1
- package/.nuxt/ui.css +4 -1
- package/cli/templates.mjs +7 -4
- package/dist/module.json +1 -1
- package/dist/module.mjs +2 -2
- package/dist/runtime/components/Alert.vue +0 -1
- package/dist/runtime/components/Avatar.vue +10 -2
- package/dist/runtime/components/Avatar.vue.d.ts +2 -0
- package/dist/runtime/components/Calendar.vue +4 -1
- package/dist/runtime/components/Carousel.vue +1 -2
- package/dist/runtime/components/Checkbox.vue +1 -1
- package/dist/runtime/components/CommandPalette.vue +80 -16
- package/dist/runtime/components/CommandPalette.vue.d.ts +32 -8
- package/dist/runtime/components/ContextMenuContent.vue +58 -56
- package/dist/runtime/components/ContextMenuContent.vue.d.ts +4 -20
- package/dist/runtime/components/Drawer.vue +15 -1
- package/dist/runtime/components/DropdownMenuContent.vue +60 -58
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +4 -20
- package/dist/runtime/components/Form.vue +6 -6
- package/dist/runtime/components/Form.vue.d.ts +12 -11
- package/dist/runtime/components/Input.vue +1 -0
- package/dist/runtime/components/Input.vue.d.ts +7 -0
- package/dist/runtime/components/InputMenu.vue +3 -3
- package/dist/runtime/components/InputMenu.vue.d.ts +4 -4
- package/dist/runtime/components/InputNumber.vue +3 -2
- package/dist/runtime/components/InputNumber.vue.d.ts +1 -1
- package/dist/runtime/components/InputTags.vue +159 -0
- package/dist/runtime/components/InputTags.vue.d.ts +183 -0
- package/dist/runtime/components/Modal.vue +16 -15
- package/dist/runtime/components/Modal.vue.d.ts +17 -4
- package/dist/runtime/components/NavigationMenu.vue +85 -26
- package/dist/runtime/components/NavigationMenu.vue.d.ts +30 -17
- package/dist/runtime/components/OverlayProvider.vue +2 -2
- package/dist/runtime/components/Pagination.vue +1 -1
- package/dist/runtime/components/Pagination.vue.d.ts +0 -1
- package/dist/runtime/components/PinInput.vue +4 -3
- package/dist/runtime/components/PinInput.vue.d.ts +22 -19
- package/dist/runtime/components/Popover.vue +4 -0
- package/dist/runtime/components/Popover.vue.d.ts +1 -0
- package/dist/runtime/components/Progress.vue +2 -1
- package/dist/runtime/components/Progress.vue.d.ts +1 -1
- package/dist/runtime/components/RadioGroup.vue +2 -2
- package/dist/runtime/components/Select.vue +26 -7
- package/dist/runtime/components/Select.vue.d.ts +107 -1
- package/dist/runtime/components/SelectMenu.vue +27 -8
- package/dist/runtime/components/SelectMenu.vue.d.ts +105 -1
- package/dist/runtime/components/Slideover.vue +23 -15
- package/dist/runtime/components/Slideover.vue.d.ts +17 -4
- package/dist/runtime/components/Table.vue +7 -1
- package/dist/runtime/components/Table.vue.d.ts +10 -8
- package/dist/runtime/components/Tabs.vue +13 -2
- package/dist/runtime/components/Tabs.vue.d.ts +4 -1
- package/dist/runtime/components/Textarea.vue +4 -1
- package/dist/runtime/components/Textarea.vue.d.ts +11 -4
- package/dist/runtime/components/Timeline.vue +92 -0
- package/dist/runtime/components/Timeline.vue.d.ts +70 -0
- package/dist/runtime/components/Toast.vue +4 -5
- package/dist/runtime/components/Tree.vue +3 -2
- package/dist/runtime/components/Tree.vue.d.ts +1 -1
- package/dist/runtime/composables/defineLocale.d.ts +2 -0
- package/dist/runtime/composables/defineLocale.js +4 -0
- package/dist/runtime/composables/defineShortcuts.js +2 -2
- package/dist/runtime/composables/useOverlay.d.ts +2 -1
- package/dist/runtime/composables/useOverlay.js +7 -6
- package/dist/runtime/locale/ar.js +2 -1
- package/dist/runtime/locale/az.js +2 -1
- package/dist/runtime/locale/bg.js +2 -1
- package/dist/runtime/locale/bn.js +2 -1
- package/dist/runtime/locale/ca.js +2 -1
- package/dist/runtime/locale/ckb.js +2 -1
- package/dist/runtime/locale/cs.js +2 -1
- package/dist/runtime/locale/da.js +2 -1
- package/dist/runtime/locale/de.js +2 -1
- package/dist/runtime/locale/el.js +2 -1
- package/dist/runtime/locale/en.js +2 -1
- package/dist/runtime/locale/es.js +2 -1
- package/dist/runtime/locale/et.js +2 -1
- package/dist/runtime/locale/fa_ir.js +2 -1
- package/dist/runtime/locale/fi.js +2 -1
- package/dist/runtime/locale/fr.js +2 -1
- package/dist/runtime/locale/he.js +2 -1
- package/dist/runtime/locale/hi.js +2 -1
- package/dist/runtime/locale/hu.js +2 -1
- package/dist/runtime/locale/hy.js +2 -1
- package/dist/runtime/locale/id.js +2 -1
- package/dist/runtime/locale/index.d.ts +7 -2
- package/dist/runtime/locale/index.js +7 -2
- package/dist/runtime/locale/it.js +2 -1
- package/dist/runtime/locale/ja.js +2 -1
- package/dist/runtime/locale/kk.js +2 -1
- package/dist/runtime/locale/km.js +2 -1
- package/dist/runtime/locale/ko.js +2 -1
- package/dist/runtime/locale/ky.d.ts +3 -0
- package/dist/runtime/locale/ky.js +55 -0
- package/dist/runtime/locale/lb.d.ts +3 -0
- package/dist/runtime/locale/lb.js +55 -0
- package/dist/runtime/locale/lt.d.ts +3 -0
- package/dist/runtime/locale/lt.js +55 -0
- package/dist/runtime/locale/mn.d.ts +3 -0
- package/dist/runtime/locale/mn.js +55 -0
- package/dist/runtime/locale/ms.d.ts +3 -0
- package/dist/runtime/locale/ms.js +55 -0
- package/dist/runtime/locale/nb_no.js +2 -1
- package/dist/runtime/locale/nl.js +2 -1
- package/dist/runtime/locale/pl.js +2 -1
- package/dist/runtime/locale/pt.js +2 -1
- package/dist/runtime/locale/pt_br.js +2 -1
- package/dist/runtime/locale/ro.js +2 -1
- package/dist/runtime/locale/ru.js +2 -1
- package/dist/runtime/locale/sk.js +2 -1
- package/dist/runtime/locale/sl.js +2 -1
- package/dist/runtime/locale/sv.js +2 -1
- package/dist/runtime/locale/th.js +2 -1
- package/dist/runtime/locale/tj.js +2 -1
- package/dist/runtime/locale/tr.js +2 -1
- package/dist/runtime/locale/ug_cn.js +2 -1
- package/dist/runtime/locale/uk.js +2 -1
- package/dist/runtime/locale/ur.js +2 -1
- package/dist/runtime/locale/uz.js +2 -1
- package/dist/runtime/locale/vi.js +2 -1
- package/dist/runtime/locale/zh_cn.js +2 -1
- package/dist/runtime/locale/zh_tw.js +2 -1
- package/dist/runtime/types/form.d.ts +11 -10
- package/dist/runtime/types/index.d.ts +2 -0
- package/dist/runtime/types/index.js +2 -0
- package/dist/runtime/types/locale.d.ts +1 -0
- package/dist/runtime/types/utils.d.ts +3 -0
- package/dist/shared/{ui.BvUP-pSb.mjs → ui.BPVxSPGY.mjs} +332 -62
- package/dist/unplugin.mjs +1 -1
- package/dist/vite.mjs +1 -1
- package/package.json +35 -36
package/dist/unplugin.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { join, normalize } from 'pathe';
|
|
|
3
3
|
import { createUnplugin } from 'unplugin';
|
|
4
4
|
import { defu } from 'defu';
|
|
5
5
|
import tailwind from '@tailwindcss/vite';
|
|
6
|
-
import { g as getTemplates, d as defaultOptions, r as resolveColors, a as getDefaultUiConfig } from './shared/ui.
|
|
6
|
+
import { g as getTemplates, d as defaultOptions, r as resolveColors, a as getDefaultUiConfig } from './shared/ui.BPVxSPGY.mjs';
|
|
7
7
|
import { globSync } from 'tinyglobby';
|
|
8
8
|
import { genSafeVariableName } from 'knitwork';
|
|
9
9
|
import MagicString from 'magic-string';
|
package/dist/vite.mjs
CHANGED
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.2.0",
|
|
5
|
+
"packageManager": "pnpm@10.12.2",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/nuxt/ui.git"
|
|
@@ -96,38 +96,37 @@
|
|
|
96
96
|
"scripts": {
|
|
97
97
|
"build": "nuxt-module-build build",
|
|
98
98
|
"prepack": "pnpm build",
|
|
99
|
-
"dev": "
|
|
100
|
-
"dev:build": "
|
|
99
|
+
"dev": "nuxt dev playground --uiDev",
|
|
100
|
+
"dev:build": "nuxt build playground",
|
|
101
101
|
"dev:vue": "vite playground-vue -- --uiDev",
|
|
102
102
|
"dev:vue:build": "vite build playground-vue",
|
|
103
|
-
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare &&
|
|
104
|
-
"docs": "
|
|
105
|
-
"docs:build": "
|
|
106
|
-
"docs:prepare": "nuxt-component-meta docs",
|
|
103
|
+
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxt prepare playground && nuxt prepare docs && vite build playground-vue",
|
|
104
|
+
"docs": "nuxt dev docs --uiDev",
|
|
105
|
+
"docs:build": "nuxt build docs",
|
|
107
106
|
"lint": "eslint .",
|
|
108
107
|
"lint:fix": "eslint . --fix",
|
|
109
|
-
"typecheck": "vue-tsc --noEmit &&
|
|
108
|
+
"typecheck": "vue-tsc --noEmit && nuxt typecheck playground && nuxt typecheck docs && cd playground-vue && vue-tsc --noEmit",
|
|
110
109
|
"test": "vitest",
|
|
111
110
|
"test:vue": "vitest -c vitest.vue.config.ts",
|
|
112
111
|
"release": "release-it"
|
|
113
112
|
},
|
|
114
113
|
"dependencies": {
|
|
115
|
-
"@iconify/vue": "^
|
|
116
|
-
"@internationalized/date": "^3.8.
|
|
117
|
-
"@internationalized/number": "^3.6.
|
|
114
|
+
"@iconify/vue": "^5.0.0",
|
|
115
|
+
"@internationalized/date": "^3.8.2",
|
|
116
|
+
"@internationalized/number": "^3.6.3",
|
|
118
117
|
"@nuxt/fonts": "^0.11.4",
|
|
119
|
-
"@nuxt/icon": "^1.
|
|
120
|
-
"@nuxt/kit": "^3.17.
|
|
121
|
-
"@nuxt/schema": "^3.17.
|
|
118
|
+
"@nuxt/icon": "^1.14.0",
|
|
119
|
+
"@nuxt/kit": "^3.17.5",
|
|
120
|
+
"@nuxt/schema": "^3.17.5",
|
|
122
121
|
"@nuxtjs/color-mode": "^3.5.2",
|
|
123
122
|
"@standard-schema/spec": "^1.0.0",
|
|
124
|
-
"@tailwindcss/postcss": "^4.1.
|
|
125
|
-
"@tailwindcss/vite": "^4.1.
|
|
123
|
+
"@tailwindcss/postcss": "^4.1.10",
|
|
124
|
+
"@tailwindcss/vite": "^4.1.10",
|
|
126
125
|
"@tanstack/vue-table": "^8.21.3",
|
|
127
|
-
"@unhead/vue": "^2.0.
|
|
128
|
-
"@vueuse/core": "^13.
|
|
129
|
-
"@vueuse/integrations": "^13.
|
|
130
|
-
"colortranslator": "^
|
|
126
|
+
"@unhead/vue": "^2.0.10",
|
|
127
|
+
"@vueuse/core": "^13.4.0",
|
|
128
|
+
"@vueuse/integrations": "^13.4.0",
|
|
129
|
+
"colortranslator": "^5.0.0",
|
|
131
130
|
"consola": "^3.4.2",
|
|
132
131
|
"defu": "^6.1.4",
|
|
133
132
|
"embla-carousel-auto-height": "^8.6.0",
|
|
@@ -144,29 +143,29 @@
|
|
|
144
143
|
"mlly": "^1.7.4",
|
|
145
144
|
"ohash": "^2.0.11",
|
|
146
145
|
"pathe": "^2.0.3",
|
|
147
|
-
"reka-ui": "
|
|
146
|
+
"reka-ui": "2.3.1",
|
|
148
147
|
"scule": "^1.3.0",
|
|
149
148
|
"tailwind-variants": "^1.0.0",
|
|
150
|
-
"tailwindcss": "^4.1.
|
|
151
|
-
"tinyglobby": "^0.2.
|
|
152
|
-
"unplugin": "^2.3.
|
|
153
|
-
"unplugin-auto-import": "^19.
|
|
154
|
-
"unplugin-vue-components": "^28.
|
|
155
|
-
"vaul-vue": "
|
|
149
|
+
"tailwindcss": "^4.1.10",
|
|
150
|
+
"tinyglobby": "^0.2.14",
|
|
151
|
+
"unplugin": "^2.3.5",
|
|
152
|
+
"unplugin-auto-import": "^19.3.0",
|
|
153
|
+
"unplugin-vue-components": "^28.7.0",
|
|
154
|
+
"vaul-vue": "0.4.1",
|
|
156
155
|
"vue-component-type-helpers": "^2.2.10"
|
|
157
156
|
},
|
|
158
157
|
"devDependencies": {
|
|
159
|
-
"@nuxt/eslint-config": "^1.
|
|
158
|
+
"@nuxt/eslint-config": "^1.4.1",
|
|
160
159
|
"@nuxt/module-builder": "^1.0.1",
|
|
161
|
-
"@nuxt/test-utils": "^3.
|
|
160
|
+
"@nuxt/test-utils": "^3.19.1",
|
|
162
161
|
"@release-it/conventional-changelog": "^10.0.1",
|
|
163
162
|
"@vue/test-utils": "^2.4.6",
|
|
164
163
|
"embla-carousel": "^8.6.0",
|
|
165
|
-
"eslint": "^9.
|
|
166
|
-
"happy-dom": "^
|
|
167
|
-
"nuxt": "^3.17.
|
|
168
|
-
"release-it": "^19.0.
|
|
169
|
-
"vitest": "^3.
|
|
164
|
+
"eslint": "^9.29.0",
|
|
165
|
+
"happy-dom": "^18.0.1",
|
|
166
|
+
"nuxt": "^3.17.5",
|
|
167
|
+
"release-it": "^19.0.3",
|
|
168
|
+
"vitest": "^3.2.4",
|
|
170
169
|
"vitest-environment-nuxt": "^1.0.1",
|
|
171
170
|
"vue-tsc": "^2.2.10"
|
|
172
171
|
},
|
|
@@ -209,7 +208,7 @@
|
|
|
209
208
|
"debug": "4.3.7",
|
|
210
209
|
"rollup": "4.34.9",
|
|
211
210
|
"unimport": "4.1.1",
|
|
212
|
-
"unplugin": "^2.3.
|
|
211
|
+
"unplugin": "^2.3.5"
|
|
213
212
|
},
|
|
214
213
|
"pnpm": {
|
|
215
214
|
"onlyBuiltDependencies": [
|