@nuxt/ui 3.1.0 → 3.1.2
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/accordion.ts +2 -23
- package/.nuxt/ui/alert.ts +2 -28
- package/.nuxt/ui/avatar-group.ts +2 -23
- package/.nuxt/ui/avatar.ts +2 -23
- package/.nuxt/ui/badge.ts +32 -30
- package/.nuxt/ui/breadcrumb.ts +2 -23
- package/.nuxt/ui/button-group.ts +2 -36
- package/.nuxt/ui/button.ts +4 -30
- package/.nuxt/ui/calendar.ts +4 -25
- package/.nuxt/ui/card.ts +2 -23
- package/.nuxt/ui/carousel.ts +2 -28
- package/.nuxt/ui/checkbox-group.ts +146 -24
- package/.nuxt/ui/checkbox.ts +2 -23
- package/.nuxt/ui/chip.ts +2 -23
- package/.nuxt/ui/collapsible.ts +2 -23
- package/.nuxt/ui/color-picker.ts +4 -25
- package/.nuxt/ui/command-palette.ts +2 -23
- package/.nuxt/ui/container.ts +2 -23
- package/.nuxt/ui/context-menu.ts +2 -23
- package/.nuxt/ui/drawer.ts +2 -23
- package/.nuxt/ui/dropdown-menu.ts +2 -23
- package/.nuxt/ui/form-field.ts +2 -23
- package/.nuxt/ui/form.ts +2 -23
- package/.nuxt/ui/input-menu.ts +4 -34
- package/.nuxt/ui/input-number.ts +12 -23
- package/.nuxt/ui/input.ts +4 -34
- package/.nuxt/ui/kbd.ts +2 -23
- package/.nuxt/ui/link.ts +14 -28
- package/.nuxt/ui/modal.ts +2 -23
- package/.nuxt/ui/navigation-menu.ts +3 -24
- package/.nuxt/ui/pagination.ts +2 -23
- package/.nuxt/ui/pin-input.ts +2 -23
- package/.nuxt/ui/popover.ts +2 -23
- package/.nuxt/ui/progress.ts +2 -23
- package/.nuxt/ui/radio-group.ts +2 -23
- package/.nuxt/ui/select-menu.ts +4 -34
- package/.nuxt/ui/select.ts +4 -34
- package/.nuxt/ui/separator.ts +2 -23
- package/.nuxt/ui/skeleton.ts +2 -23
- package/.nuxt/ui/slideover.ts +2 -23
- package/.nuxt/ui/slider.ts +2 -23
- package/.nuxt/ui/stepper.ts +2 -23
- package/.nuxt/ui/switch.ts +2 -23
- package/.nuxt/ui/table.ts +2 -23
- package/.nuxt/ui/tabs.ts +6 -26
- package/.nuxt/ui/textarea.ts +4 -34
- package/.nuxt/ui/toast.ts +2 -28
- package/.nuxt/ui/toaster.ts +2 -23
- package/.nuxt/ui/tooltip.ts +2 -23
- package/.nuxt/ui/tree.ts +2 -23
- package/.nuxt/ui.css +15 -8
- package/README.md +4 -0
- package/cli/templates.mjs +2 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +15 -5
- package/dist/runtime/components/Accordion.vue +9 -9
- package/dist/runtime/components/Accordion.vue.d.ts +6 -20
- package/dist/runtime/components/Alert.vue +1 -1
- package/dist/runtime/components/Alert.vue.d.ts +7 -22
- package/dist/runtime/components/App.vue.d.ts +2 -2
- package/dist/runtime/components/Avatar.vue +2 -2
- package/dist/runtime/components/Avatar.vue.d.ts +4 -25
- package/dist/runtime/components/AvatarGroup.vue +1 -1
- package/dist/runtime/components/AvatarGroup.vue.d.ts +2 -11
- package/dist/runtime/components/Badge.vue +5 -3
- package/dist/runtime/components/Badge.vue.d.ts +5 -24
- package/dist/runtime/components/Breadcrumb.vue +8 -8
- package/dist/runtime/components/Breadcrumb.vue.d.ts +4 -20
- package/dist/runtime/components/Button.vue +2 -3
- package/dist/runtime/components/Button.vue.d.ts +4 -29
- package/dist/runtime/components/ButtonGroup.vue.d.ts +3 -24
- package/dist/runtime/components/Calendar.vue +2 -1
- package/dist/runtime/components/Calendar.vue.d.ts +6 -2
- package/dist/runtime/components/Card.vue +1 -1
- package/dist/runtime/components/Card.vue.d.ts +2 -11
- package/dist/runtime/components/Carousel.vue +5 -2
- package/dist/runtime/components/Carousel.vue.d.ts +10 -3
- package/dist/runtime/components/Checkbox.vue +2 -2
- package/dist/runtime/components/Checkbox.vue.d.ts +10 -13
- package/dist/runtime/components/CheckboxGroup.vue +8 -5
- package/dist/runtime/components/CheckboxGroup.vue.d.ts +12 -3
- package/dist/runtime/components/Chip.vue +1 -1
- package/dist/runtime/components/Chip.vue.d.ts +10 -24
- package/dist/runtime/components/Collapsible.vue +1 -1
- package/dist/runtime/components/Collapsible.vue.d.ts +7 -22
- package/dist/runtime/components/ColorPicker.vue +1 -1
- package/dist/runtime/components/ColorPicker.vue.d.ts +9 -24
- package/dist/runtime/components/CommandPalette.vue +17 -17
- package/dist/runtime/components/CommandPalette.vue.d.ts +17 -27
- package/dist/runtime/components/Container.vue.d.ts +2 -11
- package/dist/runtime/components/ContextMenu.vue.d.ts +6 -24
- package/dist/runtime/components/ContextMenuContent.vue +15 -15
- package/dist/runtime/components/ContextMenuContent.vue.d.ts +17 -57
- package/dist/runtime/components/Drawer.vue.d.ts +17 -27
- package/dist/runtime/components/DropdownMenu.vue.d.ts +6 -28
- package/dist/runtime/components/DropdownMenuContent.vue +15 -15
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +19 -6
- package/dist/runtime/components/Form.vue.d.ts +5 -2
- package/dist/runtime/components/FormField.vue +5 -5
- package/dist/runtime/components/FormField.vue.d.ts +2 -11
- package/dist/runtime/components/Icon.vue.d.ts +1 -10
- package/dist/runtime/components/Input.vue +2 -2
- package/dist/runtime/components/Input.vue.d.ts +20 -41
- package/dist/runtime/components/InputMenu.vue +17 -17
- package/dist/runtime/components/InputMenu.vue.d.ts +227 -5
- package/dist/runtime/components/InputNumber.vue +13 -7
- package/dist/runtime/components/InputNumber.vue.d.ts +90 -23
- package/dist/runtime/components/Kbd.vue.d.ts +3 -24
- package/dist/runtime/components/Link.vue +5 -14
- package/dist/runtime/components/Link.vue.d.ts +3 -34
- package/dist/runtime/components/LinkBase.vue.d.ts +4 -27
- package/dist/runtime/components/Modal.vue.d.ts +12 -28
- package/dist/runtime/components/NavigationMenu.vue +35 -28
- package/dist/runtime/components/NavigationMenu.vue.d.ts +24 -26
- package/dist/runtime/components/Pagination.vue +1 -1
- package/dist/runtime/components/Pagination.vue.d.ts +9 -33
- package/dist/runtime/components/PinInput.vue +1 -1
- package/dist/runtime/components/PinInput.vue.d.ts +13 -24
- package/dist/runtime/components/Popover.vue.d.ts +9 -26
- package/dist/runtime/components/Progress.vue +1 -1
- package/dist/runtime/components/Progress.vue.d.ts +10 -41
- package/dist/runtime/components/RadioGroup.vue +8 -8
- package/dist/runtime/components/RadioGroup.vue.d.ts +8 -3
- package/dist/runtime/components/Select.vue +12 -12
- package/dist/runtime/components/Select.vue.d.ts +11 -3
- package/dist/runtime/components/SelectMenu.vue +13 -13
- package/dist/runtime/components/SelectMenu.vue.d.ts +19 -5
- package/dist/runtime/components/Separator.vue +1 -1
- package/dist/runtime/components/Separator.vue.d.ts +3 -24
- package/dist/runtime/components/Skeleton.vue.d.ts +3 -12
- package/dist/runtime/components/Slideover.vue.d.ts +12 -29
- package/dist/runtime/components/Slider.vue +16 -4
- package/dist/runtime/components/Slider.vue.d.ts +23 -36
- package/dist/runtime/components/Stepper.vue +10 -10
- package/dist/runtime/components/Stepper.vue.d.ts +10 -14
- package/dist/runtime/components/Switch.vue +1 -1
- package/dist/runtime/components/Switch.vue.d.ts +10 -13
- package/dist/runtime/components/Table.vue +2 -2
- package/dist/runtime/components/Table.vue.d.ts +17 -17
- package/dist/runtime/components/Tabs.vue +6 -6
- package/dist/runtime/components/Tabs.vue.d.ts +6 -20
- package/dist/runtime/components/Textarea.vue +3 -3
- package/dist/runtime/components/Textarea.vue.d.ts +20 -44
- package/dist/runtime/components/Toast.vue +3 -2
- package/dist/runtime/components/Toast.vue.d.ts +92 -24
- package/dist/runtime/components/Toaster.vue +4 -4
- package/dist/runtime/components/Toaster.vue.d.ts +9 -28
- package/dist/runtime/components/Tooltip.vue.d.ts +7 -22
- package/dist/runtime/components/Tree.vue +10 -10
- package/dist/runtime/components/Tree.vue.d.ts +7 -22
- package/dist/runtime/composables/defineShortcuts.js +6 -0
- package/dist/runtime/composables/useAvatarGroup.d.ts +1 -1
- package/dist/runtime/composables/useButtonGroup.d.ts +1 -1
- package/dist/runtime/composables/useFormField.d.ts +2 -2
- package/dist/runtime/composables/useFormField.js +2 -1
- package/dist/runtime/composables/useKbd.d.ts +1 -0
- package/dist/runtime/composables/useKbd.js +4 -3
- package/dist/runtime/composables/useOverlay.d.ts +9 -10
- package/dist/runtime/composables/useOverlay.js +11 -6
- package/dist/runtime/inertia/components/Link.vue +46 -60
- package/dist/runtime/inertia/components/Link.vue.d.ts +4 -33
- package/dist/runtime/inertia/components/LinkBase.vue +68 -0
- package/dist/runtime/inertia/components/LinkBase.vue.d.ts +25 -0
- package/dist/runtime/inertia/stubs.d.ts +1 -1
- package/dist/runtime/inertia/stubs.js +1 -1
- package/dist/runtime/locale/index.d.ts +1 -0
- package/dist/runtime/locale/index.js +1 -0
- package/dist/runtime/locale/sl.d.ts +3 -0
- package/dist/runtime/locale/sl.js +54 -0
- package/dist/runtime/types/tv.d.ts +53 -0
- package/dist/runtime/types/tv.js +0 -0
- package/dist/runtime/types/utils.d.ts +2 -52
- package/dist/runtime/types/utils.js +1 -0
- package/dist/runtime/utils/link.d.ts +1 -0
- package/dist/runtime/utils/link.js +12 -0
- package/dist/runtime/vue/components/Icon.vue.d.ts +1 -10
- package/dist/runtime/vue/components/Link.vue +27 -40
- package/dist/runtime/vue/components/Link.vue.d.ts +3 -34
- package/dist/runtime/vue/composables/useAppConfig.js +3 -1
- package/dist/runtime/vue/stubs.d.ts +1 -1
- package/dist/runtime/vue/stubs.js +1 -1
- package/dist/shared/{ui.D7lOOabO.mjs → ui.BvUP-pSb.mjs} +120 -27
- package/dist/unplugin.d.mts +2 -2
- package/dist/unplugin.mjs +1 -1
- package/dist/vite.d.mts +1 -1
- package/dist/vite.mjs +2 -2
- package/package.json +28 -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.1.
|
|
5
|
-
"packageManager": "pnpm@10.
|
|
4
|
+
"version": "3.1.2",
|
|
5
|
+
"packageManager": "pnpm@10.11.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/nuxt/ui.git"
|
|
@@ -96,12 +96,12 @@
|
|
|
96
96
|
"scripts": {
|
|
97
97
|
"build": "nuxt-module-build build",
|
|
98
98
|
"prepack": "pnpm build",
|
|
99
|
-
"dev": "nuxi dev playground",
|
|
99
|
+
"dev": "nuxi dev playground --uiDev",
|
|
100
100
|
"dev:build": "nuxi build playground",
|
|
101
|
-
"dev:vue": "vite playground-vue",
|
|
101
|
+
"dev:vue": "vite playground-vue -- --uiDev",
|
|
102
102
|
"dev:vue:build": "vite build playground-vue",
|
|
103
103
|
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground && nuxi prepare docs && vite build playground-vue",
|
|
104
|
-
"docs": "nuxi dev docs",
|
|
104
|
+
"docs": "nuxi dev docs --uiDev",
|
|
105
105
|
"docs:build": "nuxi build docs",
|
|
106
106
|
"docs:prepare": "nuxt-component-meta docs",
|
|
107
107
|
"lint": "eslint .",
|
|
@@ -115,18 +115,18 @@
|
|
|
115
115
|
"@iconify/vue": "^4.3.0",
|
|
116
116
|
"@internationalized/date": "^3.8.0",
|
|
117
117
|
"@internationalized/number": "^3.6.1",
|
|
118
|
-
"@nuxt/fonts": "^0.11.
|
|
118
|
+
"@nuxt/fonts": "^0.11.4",
|
|
119
119
|
"@nuxt/icon": "^1.12.0",
|
|
120
|
-
"@nuxt/kit": "^3.
|
|
121
|
-
"@nuxt/schema": "^3.
|
|
120
|
+
"@nuxt/kit": "^3.17.3",
|
|
121
|
+
"@nuxt/schema": "^3.17.3",
|
|
122
122
|
"@nuxtjs/color-mode": "^3.5.2",
|
|
123
123
|
"@standard-schema/spec": "^1.0.0",
|
|
124
|
-
"@tailwindcss/postcss": "^4.1.
|
|
125
|
-
"@tailwindcss/vite": "^4.1.
|
|
124
|
+
"@tailwindcss/postcss": "^4.1.6",
|
|
125
|
+
"@tailwindcss/vite": "^4.1.6",
|
|
126
126
|
"@tanstack/vue-table": "^8.21.3",
|
|
127
127
|
"@unhead/vue": "^2.0.8",
|
|
128
|
-
"@vueuse/core": "^13.
|
|
129
|
-
"@vueuse/integrations": "^13.
|
|
128
|
+
"@vueuse/core": "^13.2.0",
|
|
129
|
+
"@vueuse/integrations": "^13.2.0",
|
|
130
130
|
"colortranslator": "^4.1.0",
|
|
131
131
|
"consola": "^3.4.2",
|
|
132
132
|
"defu": "^6.1.4",
|
|
@@ -144,30 +144,31 @@
|
|
|
144
144
|
"mlly": "^1.7.4",
|
|
145
145
|
"ohash": "^2.0.11",
|
|
146
146
|
"pathe": "^2.0.3",
|
|
147
|
-
"reka-ui": "^2.2.
|
|
147
|
+
"reka-ui": "^2.2.1",
|
|
148
148
|
"scule": "^1.3.0",
|
|
149
149
|
"tailwind-variants": "^1.0.0",
|
|
150
|
-
"tailwindcss": "^4.1.
|
|
150
|
+
"tailwindcss": "^4.1.6",
|
|
151
151
|
"tinyglobby": "^0.2.13",
|
|
152
|
-
"unplugin": "^2.3.
|
|
153
|
-
"unplugin-auto-import": "^19.
|
|
152
|
+
"unplugin": "^2.3.4",
|
|
153
|
+
"unplugin-auto-import": "^19.2.0",
|
|
154
154
|
"unplugin-vue-components": "^28.5.0",
|
|
155
|
-
"vaul-vue": "^0.4.1"
|
|
155
|
+
"vaul-vue": "^0.4.1",
|
|
156
|
+
"vue-component-type-helpers": "^2.2.10"
|
|
156
157
|
},
|
|
157
158
|
"devDependencies": {
|
|
158
|
-
"@nuxt/eslint-config": "^1.3.
|
|
159
|
+
"@nuxt/eslint-config": "^1.3.1",
|
|
159
160
|
"@nuxt/module-builder": "^1.0.1",
|
|
160
|
-
"@nuxt/test-utils": "^3.
|
|
161
|
+
"@nuxt/test-utils": "^3.18.0",
|
|
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
|
-
"happy-dom": "^17.4.
|
|
166
|
-
"nuxt": "^3.
|
|
167
|
-
"release-it": "^19.0.
|
|
168
|
-
"vitest": "^3.1.
|
|
165
|
+
"eslint": "^9.26.0",
|
|
166
|
+
"happy-dom": "^17.4.7",
|
|
167
|
+
"nuxt": "^3.17.3",
|
|
168
|
+
"release-it": "^19.0.2",
|
|
169
|
+
"vitest": "^3.1.3",
|
|
169
170
|
"vitest-environment-nuxt": "^1.0.1",
|
|
170
|
-
"vue-tsc": "^2.2.
|
|
171
|
+
"vue-tsc": "^2.2.10"
|
|
171
172
|
},
|
|
172
173
|
"peerDependencies": {
|
|
173
174
|
"@inertiajs/vue3": "^2.0.7",
|
|
@@ -207,8 +208,8 @@
|
|
|
207
208
|
"chokidar": "3.6.0",
|
|
208
209
|
"debug": "4.3.7",
|
|
209
210
|
"rollup": "4.34.9",
|
|
210
|
-
"
|
|
211
|
-
"
|
|
211
|
+
"unimport": "4.1.1",
|
|
212
|
+
"unplugin": "^2.3.4"
|
|
212
213
|
},
|
|
213
214
|
"pnpm": {
|
|
214
215
|
"onlyBuiltDependencies": [
|