@nuxt/ui 2.12.2 → 2.13.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/dist/module.d.mts +109 -38
- package/dist/module.d.ts +109 -38
- package/dist/module.json +1 -1
- package/dist/module.mjs +6 -3
- package/dist/runtime/components/elements/Button.vue.d.ts +6 -6
- package/dist/runtime/components/elements/Carousel.vue +149 -0
- package/dist/runtime/components/elements/Carousel.vue.d.ts +104 -0
- package/dist/runtime/components/elements/Chip.vue.d.ts +3 -3
- package/dist/runtime/components/elements/Dropdown.vue +2 -2
- package/dist/runtime/components/elements/Dropdown.vue.d.ts +4 -4
- package/dist/runtime/components/elements/Link.vue +2 -2
- package/dist/runtime/components/elements/Link.vue.d.ts +6 -6
- package/dist/runtime/components/elements/Meter.vue.d.ts +3 -3
- package/dist/runtime/components/elements/MeterGroup.d.ts +3 -3
- package/dist/runtime/components/elements/Progress.vue.d.ts +3 -3
- package/dist/runtime/components/forms/Form.vue +7 -3
- package/dist/runtime/components/forms/InputMenu.vue +8 -0
- package/dist/runtime/components/forms/InputMenu.vue.d.ts +9 -0
- package/dist/runtime/components/forms/Select.vue +5 -1
- package/dist/runtime/components/forms/SelectMenu.vue +1 -1
- package/dist/runtime/components/forms/Toggle.vue +1 -1
- package/dist/runtime/components/forms/Toggle.vue.d.ts +2 -2
- package/dist/runtime/components/navigation/HorizontalNavigation.vue +102 -0
- package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +44 -0
- package/dist/runtime/components/navigation/Pagination.vue.d.ts +2 -2
- package/dist/runtime/components/navigation/VerticalNavigation.vue +12 -3
- package/dist/runtime/components/overlays/Modal.vue +6 -2
- package/dist/runtime/components/overlays/Modal.vue.d.ts +2 -1
- package/dist/runtime/components/overlays/Popover.vue +2 -2
- package/dist/runtime/components/overlays/Popover.vue.d.ts +4 -4
- package/dist/runtime/components/overlays/Slideover.vue +6 -2
- package/dist/runtime/components/overlays/Slideover.vue.d.ts +2 -1
- package/dist/runtime/components/overlays/Tooltip.vue +2 -2
- package/dist/runtime/components/overlays/Tooltip.vue.d.ts +4 -4
- package/dist/runtime/composables/useCarouselScroll.d.ts +2 -0
- package/dist/runtime/composables/useCarouselScroll.mjs +35 -0
- package/dist/runtime/composables/usePopper.d.ts +3 -3
- package/dist/runtime/types/horizontal-navigation.d.ts +13 -0
- package/dist/runtime/types/index.d.ts +1 -0
- package/dist/runtime/types/vertical-navigation.d.ts +2 -1
- package/dist/runtime/ui.config/elements/carousel.d.ts +27 -0
- package/dist/runtime/ui.config/elements/carousel.mjs +26 -0
- package/dist/runtime/ui.config/elements/dropdown.d.ts +5 -1
- package/dist/runtime/ui.config/elements/dropdown.mjs +8 -4
- package/dist/runtime/ui.config/forms/inputMenu.d.ts +1 -1
- package/dist/runtime/ui.config/forms/inputMenu.mjs +5 -5
- package/dist/runtime/ui.config/forms/select.mjs +1 -1
- package/dist/runtime/ui.config/forms/selectMenu.d.ts +1 -1
- package/dist/runtime/ui.config/index.d.ts +2 -0
- package/dist/runtime/ui.config/index.mjs +2 -0
- package/dist/runtime/ui.config/navigation/breadcrumb.mjs +4 -4
- package/dist/runtime/ui.config/navigation/commandPalette.d.ts +1 -1
- package/dist/runtime/ui.config/navigation/commandPalette.mjs +8 -8
- package/dist/runtime/ui.config/navigation/horizontalNavigation.d.ts +27 -0
- package/dist/runtime/ui.config/navigation/horizontalNavigation.mjs +26 -0
- package/dist/runtime/ui.config/navigation/verticalNavigation.d.ts +4 -3
- package/dist/runtime/ui.config/navigation/verticalNavigation.mjs +8 -7
- package/dist/runtime/ui.config/overlays/popover.d.ts +4 -0
- package/dist/runtime/ui.config/overlays/popover.mjs +4 -0
- package/dist/runtime/ui.config/overlays/slideover.mjs +2 -2
- package/dist/runtime/ui.config/overlays/tooltip.d.ts +4 -0
- package/dist/runtime/ui.config/overlays/tooltip.mjs +4 -0
- package/dist/runtime/ui.css +1 -1
- package/dist/runtime/utils/link.d.ts +0 -1
- package/dist/types.d.mts +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +8 -8
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
wrapper: "relative",
|
|
3
|
-
base: "group relative flex items-center gap-
|
|
3
|
+
base: "group relative flex items-center gap-1.5 focus:outline-none focus-visible:outline-none dark:focus-visible:outline-none focus-visible:before:ring-inset focus-visible:before:ring-1 focus-visible:before:ring-primary-500 dark:focus-visible:before:ring-primary-400 before:absolute before:inset-px before:rounded-md disabled:cursor-not-allowed disabled:opacity-75",
|
|
4
4
|
ring: "focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400",
|
|
5
|
-
padding: "px-
|
|
5
|
+
padding: "px-2.5 py-1.5",
|
|
6
6
|
width: "w-full",
|
|
7
7
|
rounded: "rounded-md",
|
|
8
8
|
font: "font-medium",
|
|
@@ -11,18 +11,19 @@ export default {
|
|
|
11
11
|
inactive: "text-gray-500 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white hover:before:bg-gray-50 dark:hover:before:bg-gray-800/50",
|
|
12
12
|
label: "truncate relative",
|
|
13
13
|
icon: {
|
|
14
|
-
base: "flex-shrink-0 w-
|
|
14
|
+
base: "flex-shrink-0 w-5 h-5",
|
|
15
15
|
active: "text-gray-700 dark:text-gray-200",
|
|
16
16
|
inactive: "text-gray-400 dark:text-gray-500 group-hover:text-gray-700 dark:group-hover:text-gray-200"
|
|
17
17
|
},
|
|
18
18
|
avatar: {
|
|
19
19
|
base: "flex-shrink-0",
|
|
20
|
-
size: "
|
|
20
|
+
size: "2xs"
|
|
21
21
|
},
|
|
22
22
|
badge: {
|
|
23
|
-
base: "
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
base: "flex-shrink-0 ml-auto relative rounded",
|
|
24
|
+
color: "gray",
|
|
25
|
+
variant: "solid",
|
|
26
|
+
size: "xs"
|
|
26
27
|
},
|
|
27
28
|
divider: {
|
|
28
29
|
wrapper: {
|
|
@@ -22,8 +22,8 @@ export default {
|
|
|
22
22
|
width: "w-screen max-w-md",
|
|
23
23
|
translate: {
|
|
24
24
|
base: "translate-x-0",
|
|
25
|
-
left: "-translate-x-full",
|
|
26
|
-
right: "translate-x-full"
|
|
25
|
+
left: "-translate-x-full rtl:translate-x-full",
|
|
26
|
+
right: "translate-x-full rtl:-translate-x-full"
|
|
27
27
|
},
|
|
28
28
|
// Syntax for `<TransitionRoot>` component https://headlessui.com/vue/transition#basic-example
|
|
29
29
|
transition: {
|
package/dist/runtime/ui.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.dark{color-scheme:dark}a:focus-visible{@apply outline-primary}::-moz-selection{@apply bg-primary/40}::selection{@apply bg-primary/40}
|
|
1
|
+
.dark{color-scheme:dark}a:focus-visible{@apply outline-primary}::-moz-selection{@apply bg-primary/40}::selection{@apply bg-primary/40}
|
package/dist/types.d.mts
CHANGED
|
@@ -13,4 +13,4 @@ declare module 'nuxt/schema' {
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
export type { accordion, alert, avatar, avatarGroup, badge, breadcrumb, button, buttonGroup, card, checkbox, chip, commandPalette, container, contextMenu, divider, dropdown, formGroup, input, inputMenu, kbd, meter, meterGroup, modal, notification, notifications, pagination, popover, progress, radio, radioGroup, range, select, selectMenu, skeleton, slideover, table, tabs, textarea, toggle, tooltip, verticalNavigation } from './module.js'
|
|
16
|
+
export type { accordion, alert, avatar, avatarGroup, badge, breadcrumb, button, buttonGroup, card, carousel, checkbox, chip, commandPalette, container, contextMenu, divider, dropdown, formGroup, horizontalNavigation, input, inputMenu, kbd, meter, meterGroup, modal, notification, notifications, pagination, popover, progress, radio, radioGroup, range, select, selectMenu, skeleton, slideover, table, tabs, textarea, toggle, tooltip, verticalNavigation } from './module.js'
|
package/dist/types.d.ts
CHANGED
|
@@ -13,4 +13,4 @@ declare module 'nuxt/schema' {
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
export type { accordion, alert, avatar, avatarGroup, badge, breadcrumb, button, buttonGroup, card, checkbox, chip, commandPalette, container, contextMenu, divider, dropdown, formGroup, input, inputMenu, kbd, meter, meterGroup, modal, notification, notifications, pagination, popover, progress, radio, radioGroup, range, select, selectMenu, skeleton, slideover, table, tabs, textarea, toggle, tooltip, verticalNavigation } from './module'
|
|
16
|
+
export type { accordion, alert, avatar, avatarGroup, badge, breadcrumb, button, buttonGroup, card, carousel, checkbox, chip, commandPalette, container, contextMenu, divider, dropdown, formGroup, horizontalNavigation, input, inputMenu, kbd, meter, meterGroup, modal, notification, notifications, pagination, popover, progress, radio, radioGroup, range, select, selectMenu, skeleton, slideover, table, tabs, textarea, toggle, tooltip, verticalNavigation } from './module'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.13.0",
|
|
4
4
|
"repository": "nuxt/ui",
|
|
5
5
|
"homepage": "https://ui.nuxt.com",
|
|
6
6
|
"license": "MIT",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@iconify-json/heroicons": "^1.1.19",
|
|
39
39
|
"@nuxt/kit": "^3.9.3",
|
|
40
40
|
"@nuxtjs/color-mode": "^3.3.2",
|
|
41
|
-
"@nuxtjs/tailwindcss": "^6.
|
|
41
|
+
"@nuxtjs/tailwindcss": "^6.11.2",
|
|
42
42
|
"@popperjs/core": "^2.11.8",
|
|
43
43
|
"@tailwindcss/aspect-ratio": "^0.4.2",
|
|
44
44
|
"@tailwindcss/container-queries": "^0.1.1",
|
|
@@ -53,24 +53,24 @@
|
|
|
53
53
|
"ohash": "^1.1.3",
|
|
54
54
|
"pathe": "^1.1.2",
|
|
55
55
|
"scule": "^1.2.0",
|
|
56
|
-
"tailwind-merge": "^2.2.
|
|
56
|
+
"tailwind-merge": "^2.2.1",
|
|
57
57
|
"tailwindcss": "^3.4.1"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@nuxt/eslint-config": "^0.2.0",
|
|
61
61
|
"@nuxt/module-builder": "^0.5.5",
|
|
62
|
-
"@nuxt/test-utils": "^3.
|
|
62
|
+
"@nuxt/test-utils": "^3.11.0",
|
|
63
63
|
"@release-it/conventional-changelog": "^8.0.1",
|
|
64
|
-
"@vue/test-utils": "^2.4.
|
|
64
|
+
"@vue/test-utils": "^2.4.4",
|
|
65
65
|
"eslint": "^8.56.0",
|
|
66
|
-
"happy-dom": "^
|
|
66
|
+
"happy-dom": "^13.3.5",
|
|
67
67
|
"joi": "^17.11.1",
|
|
68
68
|
"nuxt": "^3.9.3",
|
|
69
|
-
"release-it": "^17.0.
|
|
69
|
+
"release-it": "^17.0.3",
|
|
70
70
|
"typescript": "^5.3.3",
|
|
71
71
|
"unbuild": "^2.0.0",
|
|
72
72
|
"valibot": "^0.25.0",
|
|
73
|
-
"vitest": "^1.2.
|
|
73
|
+
"vitest": "^1.2.2",
|
|
74
74
|
"vitest-environment-nuxt": "^1.0.0",
|
|
75
75
|
"vue-tsc": "^1.8.27",
|
|
76
76
|
"yup": "^1.3.3",
|