@nuxt/ui 2.13.0 → 2.14.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 +8 -8
- package/dist/module.d.mts +61 -2
- package/dist/module.d.ts +61 -2
- package/dist/module.json +2 -2
- package/dist/module.mjs +131 -144
- package/dist/runtime/components/data/Table.vue +16 -4
- package/dist/runtime/components/data/Table.vue.d.ts +21 -3
- package/dist/runtime/components/elements/Accordion.vue +11 -2
- package/dist/runtime/components/elements/Accordion.vue.d.ts +1 -1
- package/dist/runtime/components/elements/Alert.vue +2 -2
- package/dist/runtime/components/elements/Alert.vue.d.ts +4 -3
- package/dist/runtime/components/elements/Avatar.vue.d.ts +1 -1
- package/dist/runtime/components/elements/AvatarGroup.d.ts +1 -1
- package/dist/runtime/components/elements/Badge.vue.d.ts +2 -2
- package/dist/runtime/components/elements/Button.vue.d.ts +63 -37
- package/dist/runtime/components/elements/ButtonGroup.d.ts +1 -1
- package/dist/runtime/components/elements/Carousel.vue +19 -12
- package/dist/runtime/components/elements/Carousel.vue.d.ts +4 -4
- package/dist/runtime/components/elements/Chip.vue.d.ts +2 -2
- package/dist/runtime/components/elements/Dropdown.vue +3 -1
- package/dist/runtime/components/elements/Dropdown.vue.d.ts +3 -3
- package/dist/runtime/components/elements/Icon.vue.d.ts +1 -1
- package/dist/runtime/components/elements/Kbd.vue.d.ts +1 -1
- package/dist/runtime/components/elements/Link.vue +1 -1
- package/dist/runtime/components/elements/Link.vue.d.ts +62 -36
- package/dist/runtime/components/elements/Meter.vue +4 -0
- package/dist/runtime/components/elements/Meter.vue.d.ts +1 -1
- package/dist/runtime/components/elements/MeterGroup.d.ts +1 -1
- package/dist/runtime/components/elements/Progress.vue +4 -1
- package/dist/runtime/components/elements/Progress.vue.d.ts +5 -5
- package/dist/runtime/components/forms/Checkbox.vue +1 -6
- package/dist/runtime/components/forms/Checkbox.vue.d.ts +6 -15
- package/dist/runtime/components/forms/Form.vue +6 -3
- package/dist/runtime/components/forms/Form.vue.d.ts +1 -1
- package/dist/runtime/components/forms/FormGroup.vue +20 -17
- package/dist/runtime/components/forms/FormGroup.vue.d.ts +2 -2
- package/dist/runtime/components/forms/Input.vue +1 -0
- package/dist/runtime/components/forms/Input.vue.d.ts +6 -6
- package/dist/runtime/components/forms/InputMenu.vue +4 -1
- package/dist/runtime/components/forms/InputMenu.vue.d.ts +7 -7
- package/dist/runtime/components/forms/Radio.vue +5 -11
- package/dist/runtime/components/forms/Radio.vue.d.ts +6 -6
- package/dist/runtime/components/forms/RadioGroup.vue +1 -0
- package/dist/runtime/components/forms/RadioGroup.vue.d.ts +4 -4
- package/dist/runtime/components/forms/Range.vue.d.ts +4 -4
- package/dist/runtime/components/forms/Select.vue.d.ts +6 -6
- package/dist/runtime/components/forms/SelectMenu.vue +4 -1
- package/dist/runtime/components/forms/SelectMenu.vue.d.ts +7 -7
- package/dist/runtime/components/forms/Textarea.vue +5 -1
- package/dist/runtime/components/forms/Textarea.vue.d.ts +15 -6
- package/dist/runtime/components/forms/Toggle.vue +3 -1
- package/dist/runtime/components/forms/Toggle.vue.d.ts +4 -4
- package/dist/runtime/components/layout/Card.vue +1 -1
- package/dist/runtime/components/layout/Card.vue.d.ts +1 -1
- package/dist/runtime/components/layout/Container.vue.d.ts +1 -1
- package/dist/runtime/components/layout/Divider.vue +8 -1
- package/dist/runtime/components/layout/Divider.vue.d.ts +15 -4
- package/dist/runtime/components/layout/Skeleton.vue.d.ts +1 -1
- package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +1 -1
- package/dist/runtime/components/navigation/CommandPalette.vue +3 -1
- package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +2 -2
- package/dist/runtime/components/navigation/CommandPaletteGroup.vue +3 -1
- package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +1 -1
- package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +1 -1
- package/dist/runtime/components/navigation/Pagination.vue.d.ts +1 -1
- package/dist/runtime/components/navigation/Tabs.vue +8 -8
- package/dist/runtime/components/navigation/Tabs.vue.d.ts +10 -1
- package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +1 -1
- package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +3 -3
- package/dist/runtime/components/overlays/Modal.vue +3 -1
- package/dist/runtime/components/overlays/Modal.vue.d.ts +5 -5
- package/dist/runtime/components/overlays/Modals.client.vue +12 -0
- package/dist/runtime/components/overlays/Notification.vue +2 -2
- package/dist/runtime/components/overlays/Notification.vue.d.ts +4 -3
- package/dist/runtime/components/overlays/Notifications.vue.d.ts +1 -1
- package/dist/runtime/components/overlays/Popover.vue +3 -1
- package/dist/runtime/components/overlays/Popover.vue.d.ts +3 -3
- package/dist/runtime/components/overlays/Slideover.vue +3 -1
- package/dist/runtime/components/overlays/Slideover.vue.d.ts +5 -5
- package/dist/runtime/components/overlays/Tooltip.vue.d.ts +2 -2
- package/dist/runtime/composables/useFormGroup.d.ts +1 -1
- package/dist/runtime/composables/useFormGroup.mjs +9 -12
- package/dist/runtime/composables/useModal.d.ts +12 -0
- package/dist/runtime/composables/useModal.mjs +37 -0
- package/dist/runtime/plugins/modals.d.ts +2 -0
- package/dist/runtime/plugins/modals.mjs +10 -0
- package/dist/runtime/types/component.d.ts +14 -0
- package/dist/runtime/types/divider.d.ts +3 -0
- package/dist/runtime/types/form.d.ts +2 -1
- package/dist/runtime/types/index.d.ts +2 -0
- package/dist/runtime/types/modal.d.ts +18 -0
- package/dist/runtime/types/progress.d.ts +2 -0
- package/dist/runtime/types/range.d.ts +2 -0
- package/dist/runtime/types/toggle.d.ts +2 -0
- package/dist/runtime/ui.config/data/table.d.ts +7 -0
- package/dist/runtime/ui.config/data/table.mjs +10 -3
- package/dist/runtime/ui.config/elements/accordion.d.ts +1 -0
- package/dist/runtime/ui.config/elements/accordion.mjs +1 -0
- package/dist/runtime/ui.config/forms/formGroup.d.ts +1 -0
- package/dist/runtime/ui.config/forms/formGroup.mjs +1 -0
- package/dist/runtime/ui.config/forms/input.d.ts +11 -0
- package/dist/runtime/ui.config/forms/input.mjs +11 -0
- package/dist/runtime/ui.config/forms/select.d.ts +11 -0
- package/dist/runtime/ui.config/forms/textarea.d.ts +11 -0
- package/dist/runtime/ui.config/layout/divider.d.ts +19 -2
- package/dist/runtime/ui.config/layout/divider.mjs +20 -3
- package/dist/runtime/utils/colors.d.ts +3 -0
- package/dist/runtime/utils/colors.mjs +261 -0
- package/dist/runtime/utils/index.mjs +9 -0
- package/dist/runtime/utils/link.d.ts +24 -11
- package/dist/runtime/utils/link.mjs +26 -13
- package/package.json +21 -19
- package/dist/runtime/utils/uid.d.ts +0 -1
- package/dist/runtime/utils/uid.mjs +0 -5
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.14.0",
|
|
4
4
|
"repository": "nuxt/ui",
|
|
5
5
|
"homepage": "https://ui.nuxt.com",
|
|
6
|
+
"type": "module",
|
|
6
7
|
"license": "MIT",
|
|
7
8
|
"exports": {
|
|
8
9
|
".": {
|
|
@@ -32,27 +33,27 @@
|
|
|
32
33
|
"test": "vitest"
|
|
33
34
|
},
|
|
34
35
|
"dependencies": {
|
|
35
|
-
"@egoist/tailwindcss-icons": "^1.7.
|
|
36
|
+
"@egoist/tailwindcss-icons": "^1.7.4",
|
|
36
37
|
"@headlessui/tailwindcss": "^0.2.0",
|
|
37
|
-
"@headlessui/vue": "1.7.
|
|
38
|
-
"@iconify-json/heroicons": "^1.1.
|
|
39
|
-
"@nuxt/kit": "^3.
|
|
38
|
+
"@headlessui/vue": "^1.7.19",
|
|
39
|
+
"@iconify-json/heroicons": "^1.1.20",
|
|
40
|
+
"@nuxt/kit": "^3.10.2",
|
|
40
41
|
"@nuxtjs/color-mode": "^3.3.2",
|
|
41
|
-
"@nuxtjs/tailwindcss": "^6.11.
|
|
42
|
+
"@nuxtjs/tailwindcss": "^6.11.4",
|
|
42
43
|
"@popperjs/core": "^2.11.8",
|
|
43
44
|
"@tailwindcss/aspect-ratio": "^0.4.2",
|
|
44
45
|
"@tailwindcss/container-queries": "^0.1.1",
|
|
45
46
|
"@tailwindcss/forms": "^0.5.7",
|
|
46
47
|
"@tailwindcss/typography": "^0.5.10",
|
|
47
|
-
"@vueuse/core": "^10.
|
|
48
|
-
"@vueuse/integrations": "^10.
|
|
49
|
-
"@vueuse/math": "^10.
|
|
48
|
+
"@vueuse/core": "^10.8.0",
|
|
49
|
+
"@vueuse/integrations": "^10.8.0",
|
|
50
|
+
"@vueuse/math": "^10.8.0",
|
|
50
51
|
"defu": "^6.1.4",
|
|
51
52
|
"fuse.js": "^6.6.2",
|
|
52
53
|
"nuxt-icon": "^0.6.8",
|
|
53
54
|
"ohash": "^1.1.3",
|
|
54
55
|
"pathe": "^1.1.2",
|
|
55
|
-
"scule": "^1.
|
|
56
|
+
"scule": "^1.3.0",
|
|
56
57
|
"tailwind-merge": "^2.2.1",
|
|
57
58
|
"tailwindcss": "^3.4.1"
|
|
58
59
|
},
|
|
@@ -63,23 +64,24 @@
|
|
|
63
64
|
"@release-it/conventional-changelog": "^8.0.1",
|
|
64
65
|
"@vue/test-utils": "^2.4.4",
|
|
65
66
|
"eslint": "^8.56.0",
|
|
66
|
-
"happy-dom": "^13.3.
|
|
67
|
-
"joi": "^17.
|
|
68
|
-
"nuxt": "^3.
|
|
69
|
-
"release-it": "^17.
|
|
67
|
+
"happy-dom": "^13.3.8",
|
|
68
|
+
"joi": "^17.12.1",
|
|
69
|
+
"nuxt": "^3.10.2",
|
|
70
|
+
"release-it": "^17.1.1",
|
|
70
71
|
"typescript": "^5.3.3",
|
|
71
72
|
"unbuild": "^2.0.0",
|
|
72
|
-
"valibot": "^0.
|
|
73
|
-
"vitest": "^1.
|
|
73
|
+
"valibot": "^0.29.0",
|
|
74
|
+
"vitest": "^1.3.1",
|
|
74
75
|
"vitest-environment-nuxt": "^1.0.0",
|
|
75
76
|
"vue-tsc": "^1.8.27",
|
|
76
77
|
"yup": "^1.3.3",
|
|
77
78
|
"zod": "^3.22.4"
|
|
78
79
|
},
|
|
79
80
|
"resolutions": {
|
|
80
|
-
"@nuxt/kit": "3.
|
|
81
|
-
"@nuxt/schema": "3.
|
|
81
|
+
"@nuxt/kit": "^3.10.2",
|
|
82
|
+
"@nuxt/schema": "3.10.2",
|
|
82
83
|
"tailwindcss": "3.4.1",
|
|
83
|
-
"vue": "
|
|
84
|
+
"@headlessui/vue": "^1.7.19",
|
|
85
|
+
"vue": "3.4.19"
|
|
84
86
|
}
|
|
85
87
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function uid(): string;
|