@nuxt/ui 3.2.0 → 3.3.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/button.ts +42 -42
- package/.nuxt/ui/command-palette.ts +2 -1
- package/.nuxt/ui/file-upload.ts +290 -0
- package/.nuxt/ui/index.ts +1 -0
- package/.nuxt/ui/kbd.ts +167 -3
- package/.nuxt/ui/table.ts +8 -0
- package/.nuxt/ui/tabs.ts +4 -2
- package/.nuxt/ui/toast.ts +8 -15
- package/.nuxt/ui/tooltip.ts +1 -1
- package/cli/templates.mjs +4 -3
- package/dist/module.d.mts +15 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +3 -3
- package/dist/runtime/components/Accordion.vue.d.ts +1 -1
- package/dist/runtime/components/Alert.vue.d.ts +2 -2
- package/dist/runtime/components/App.vue.d.ts +1 -1
- package/dist/runtime/components/Avatar.vue.d.ts +1 -1
- package/dist/runtime/components/AvatarGroup.vue.d.ts +1 -1
- package/dist/runtime/components/Badge.vue.d.ts +1 -1
- package/dist/runtime/components/Breadcrumb.vue.d.ts +1 -1
- package/dist/runtime/components/Button.vue +6 -6
- package/dist/runtime/components/Button.vue.d.ts +1 -5
- package/dist/runtime/components/ButtonGroup.vue.d.ts +1 -1
- package/dist/runtime/components/Calendar.vue.d.ts +1 -1
- package/dist/runtime/components/Card.vue.d.ts +1 -1
- package/dist/runtime/components/Carousel.vue +18 -14
- package/dist/runtime/components/Carousel.vue.d.ts +1 -1
- package/dist/runtime/components/Checkbox.vue.d.ts +1 -1
- package/dist/runtime/components/CheckboxGroup.vue.d.ts +1 -1
- package/dist/runtime/components/Chip.vue.d.ts +2 -2
- package/dist/runtime/components/Collapsible.vue.d.ts +1 -1
- package/dist/runtime/components/ColorPicker.vue +1 -2
- package/dist/runtime/components/ColorPicker.vue.d.ts +1 -1
- package/dist/runtime/components/CommandPalette.vue +4 -0
- package/dist/runtime/components/CommandPalette.vue.d.ts +6 -1
- package/dist/runtime/components/Container.vue.d.ts +1 -1
- package/dist/runtime/components/ContextMenu.vue.d.ts +1 -1
- package/dist/runtime/components/ContextMenuContent.vue.d.ts +1 -1
- package/dist/runtime/components/Drawer.vue +4 -4
- package/dist/runtime/components/Drawer.vue.d.ts +6 -1
- package/dist/runtime/components/DropdownMenu.vue.d.ts +1 -1
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +8 -5
- package/dist/runtime/components/FileUpload.vue +242 -0
- package/dist/runtime/components/FileUpload.vue.d.ts +167 -0
- package/dist/runtime/components/Form.vue.d.ts +6 -5
- package/dist/runtime/components/FormField.vue +2 -2
- package/dist/runtime/components/FormField.vue.d.ts +4 -4
- package/dist/runtime/components/Icon.vue.d.ts +1 -1
- package/dist/runtime/components/Input.vue +10 -7
- package/dist/runtime/components/Input.vue.d.ts +9 -9
- package/dist/runtime/components/InputMenu.vue +17 -10
- package/dist/runtime/components/InputMenu.vue.d.ts +15 -12
- package/dist/runtime/components/InputNumber.vue.d.ts +4 -4
- package/dist/runtime/components/InputTags.vue +2 -0
- package/dist/runtime/components/InputTags.vue.d.ts +5 -3
- package/dist/runtime/components/Kbd.vue +2 -1
- package/dist/runtime/components/Kbd.vue.d.ts +5 -1
- package/dist/runtime/components/Link.vue +6 -5
- package/dist/runtime/components/Link.vue.d.ts +1 -3
- package/dist/runtime/components/LinkBase.vue.d.ts +1 -1
- package/dist/runtime/components/Modal.vue.d.ts +2 -2
- package/dist/runtime/components/NavigationMenu.vue +3 -2
- package/dist/runtime/components/NavigationMenu.vue.d.ts +1 -1
- package/dist/runtime/components/OverlayProvider.vue.d.ts +1 -1
- package/dist/runtime/components/Pagination.vue.d.ts +1 -1
- package/dist/runtime/components/PinInput.vue.d.ts +1 -1
- package/dist/runtime/components/Popover.vue +2 -1
- package/dist/runtime/components/Popover.vue.d.ts +8 -2
- package/dist/runtime/components/Progress.vue.d.ts +1 -1
- package/dist/runtime/components/RadioGroup.vue +1 -1
- package/dist/runtime/components/RadioGroup.vue.d.ts +5 -4
- package/dist/runtime/components/Select.vue.d.ts +1 -1
- package/dist/runtime/components/SelectMenu.vue +9 -6
- package/dist/runtime/components/SelectMenu.vue.d.ts +1 -1
- package/dist/runtime/components/Separator.vue.d.ts +1 -1
- package/dist/runtime/components/Skeleton.vue.d.ts +1 -1
- package/dist/runtime/components/Slideover.vue.d.ts +2 -2
- package/dist/runtime/components/Slider.vue.d.ts +5 -5
- package/dist/runtime/components/Stepper.vue.d.ts +1 -1
- package/dist/runtime/components/Switch.vue.d.ts +1 -1
- package/dist/runtime/components/Table.vue +83 -8
- package/dist/runtime/components/Table.vue.d.ts +20 -4
- package/dist/runtime/components/Tabs.vue +11 -2
- package/dist/runtime/components/Tabs.vue.d.ts +8 -3
- package/dist/runtime/components/Textarea.vue +10 -7
- package/dist/runtime/components/Textarea.vue.d.ts +10 -9
- package/dist/runtime/components/Timeline.vue.d.ts +1 -1
- package/dist/runtime/components/Toast.vue +12 -4
- package/dist/runtime/components/Toast.vue.d.ts +14 -13
- package/dist/runtime/components/Toaster.vue.d.ts +1 -1
- package/dist/runtime/components/Tooltip.vue +2 -1
- package/dist/runtime/components/Tooltip.vue.d.ts +8 -2
- package/dist/runtime/components/Tree.vue +3 -2
- package/dist/runtime/components/Tree.vue.d.ts +1 -1
- package/dist/runtime/composables/defineShortcuts.js +5 -3
- package/dist/runtime/composables/useAvatarGroup.d.ts +1 -1
- package/dist/runtime/composables/useComponentIcons.d.ts +1 -1
- package/dist/runtime/composables/useFileUpload.d.ts +19 -0
- package/dist/runtime/composables/useFileUpload.js +63 -0
- package/dist/runtime/composables/useFormField.d.ts +3 -6
- package/dist/runtime/composables/useFormField.js +5 -2
- package/dist/runtime/composables/useKbd.d.ts +1 -1
- package/dist/runtime/composables/useLocale.js +2 -2
- package/dist/runtime/composables/useOverlay.d.ts +28 -1
- package/dist/runtime/composables/useOverlay.js +4 -4
- package/dist/runtime/composables/usePortal.d.ts +1 -1
- package/dist/runtime/inertia/components/Link.vue.d.ts +1 -1
- package/dist/runtime/inertia/components/LinkBase.vue.d.ts +1 -1
- package/dist/runtime/inertia/stubs.d.ts +1 -0
- package/dist/runtime/inertia/stubs.js +4 -2
- package/dist/runtime/locale/ar.js +2 -1
- package/dist/runtime/locale/az.js +1 -0
- package/dist/runtime/locale/bg.js +1 -0
- package/dist/runtime/locale/bn.js +1 -0
- package/dist/runtime/locale/ca.js +1 -0
- package/dist/runtime/locale/ckb.js +2 -1
- package/dist/runtime/locale/cs.js +1 -0
- package/dist/runtime/locale/da.js +1 -0
- package/dist/runtime/locale/de.js +1 -0
- package/dist/runtime/locale/el.js +1 -0
- package/dist/runtime/locale/en.js +1 -0
- package/dist/runtime/locale/es.js +1 -0
- package/dist/runtime/locale/et.js +1 -0
- package/dist/runtime/locale/fa_ir.js +1 -0
- package/dist/runtime/locale/fi.js +1 -0
- package/dist/runtime/locale/fr.js +1 -0
- package/dist/runtime/locale/he.js +1 -0
- package/dist/runtime/locale/hi.js +2 -1
- package/dist/runtime/locale/hu.js +1 -0
- package/dist/runtime/locale/hy.js +1 -0
- package/dist/runtime/locale/id.js +1 -0
- package/dist/runtime/locale/it.js +1 -0
- package/dist/runtime/locale/ja.js +1 -0
- package/dist/runtime/locale/kk.js +1 -0
- package/dist/runtime/locale/km.js +2 -1
- package/dist/runtime/locale/ko.js +1 -0
- package/dist/runtime/locale/ky.js +1 -0
- package/dist/runtime/locale/lb.js +1 -0
- package/dist/runtime/locale/lt.js +1 -0
- package/dist/runtime/locale/mn.js +1 -0
- package/dist/runtime/locale/ms.js +1 -0
- package/dist/runtime/locale/nb_no.js +1 -0
- package/dist/runtime/locale/nl.js +1 -0
- package/dist/runtime/locale/pl.js +1 -0
- package/dist/runtime/locale/pt.js +1 -0
- package/dist/runtime/locale/pt_br.js +1 -0
- package/dist/runtime/locale/ro.js +1 -0
- package/dist/runtime/locale/ru.js +1 -0
- package/dist/runtime/locale/sk.js +1 -0
- package/dist/runtime/locale/sl.js +1 -0
- package/dist/runtime/locale/sv.js +1 -0
- package/dist/runtime/locale/th.js +1 -0
- package/dist/runtime/locale/tj.js +1 -0
- package/dist/runtime/locale/tr.js +1 -0
- package/dist/runtime/locale/ug_cn.js +1 -0
- package/dist/runtime/locale/uk.js +1 -0
- package/dist/runtime/locale/ur.js +1 -0
- package/dist/runtime/locale/uz.js +1 -0
- package/dist/runtime/locale/vi.js +1 -0
- package/dist/runtime/locale/zh_cn.js +1 -0
- package/dist/runtime/locale/zh_tw.js +1 -0
- package/dist/runtime/types/index.d.ts +1 -0
- package/dist/runtime/types/index.js +1 -0
- package/dist/runtime/types/locale.d.ts +1 -0
- package/dist/runtime/utils/index.d.ts +1 -0
- package/dist/runtime/utils/index.js +9 -0
- package/dist/runtime/vue/components/Icon.vue.d.ts +1 -1
- package/dist/runtime/vue/components/Link.vue.d.ts +1 -1
- package/dist/runtime/vue/stubs.d.ts +1 -0
- package/dist/runtime/vue/stubs.js +3 -1
- package/dist/shared/{ui.BPVxSPGY.mjs → ui.BkSj2DmF.mjs} +278 -29
- package/dist/unplugin.d.mts +2 -0
- package/dist/unplugin.mjs +6 -3
- package/dist/vite.mjs +1 -1
- package/package.json +24 -24
|
@@ -19,12 +19,14 @@ const icons = {
|
|
|
19
19
|
close: "i-lucide-x",
|
|
20
20
|
ellipsis: "i-lucide-ellipsis",
|
|
21
21
|
external: "i-lucide-arrow-up-right",
|
|
22
|
+
file: "i-lucide-file",
|
|
22
23
|
folder: "i-lucide-folder",
|
|
23
24
|
folderOpen: "i-lucide-folder-open",
|
|
24
25
|
loading: "i-lucide-loader-circle",
|
|
25
26
|
minus: "i-lucide-minus",
|
|
26
27
|
plus: "i-lucide-plus",
|
|
27
|
-
search: "i-lucide-search"
|
|
28
|
+
search: "i-lucide-search",
|
|
29
|
+
upload: "i-lucide-upload"
|
|
28
30
|
};
|
|
29
31
|
|
|
30
32
|
const getDefaultUiConfig = (colors) => ({
|
|
@@ -529,51 +531,51 @@ const button = (options) => ({
|
|
|
529
531
|
compoundVariants: [...(options.theme.colors || []).map((color) => ({
|
|
530
532
|
color,
|
|
531
533
|
variant: "solid",
|
|
532
|
-
class: `text-inverted bg-${color} hover:bg-${color}/75 disabled:bg-${color} aria-disabled:bg-${color} focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-${color}`
|
|
534
|
+
class: `text-inverted bg-${color} hover:bg-${color}/75 active:bg-${color}/75 disabled:bg-${color} aria-disabled:bg-${color} focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-${color}`
|
|
533
535
|
})), ...(options.theme.colors || []).map((color) => ({
|
|
534
536
|
color,
|
|
535
537
|
variant: "outline",
|
|
536
|
-
class: `ring ring-inset ring-${color}/50 text-${color} hover:bg-${color}/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-${color}`
|
|
538
|
+
class: `ring ring-inset ring-${color}/50 text-${color} hover:bg-${color}/10 active:bg-${color}/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-${color}`
|
|
537
539
|
})), ...(options.theme.colors || []).map((color) => ({
|
|
538
540
|
color,
|
|
539
541
|
variant: "soft",
|
|
540
|
-
class: `text-${color} bg-${color}/10 hover:bg-${color}/15 focus:outline-none focus-visible:bg-${color}/15 disabled:bg-${color}/10 aria-disabled:bg-${color}/10`
|
|
542
|
+
class: `text-${color} bg-${color}/10 hover:bg-${color}/15 active:bg-${color}/15 focus:outline-none focus-visible:bg-${color}/15 disabled:bg-${color}/10 aria-disabled:bg-${color}/10`
|
|
541
543
|
})), ...(options.theme.colors || []).map((color) => ({
|
|
542
544
|
color,
|
|
543
545
|
variant: "subtle",
|
|
544
|
-
class: `text-${color} ring ring-inset ring-${color}/25 bg-${color}/10 hover:bg-${color}/15 disabled:bg-${color}/10 aria-disabled:bg-${color}/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-${color}`
|
|
546
|
+
class: `text-${color} ring ring-inset ring-${color}/25 bg-${color}/10 hover:bg-${color}/15 active:bg-${color}/15 disabled:bg-${color}/10 aria-disabled:bg-${color}/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-${color}`
|
|
545
547
|
})), ...(options.theme.colors || []).map((color) => ({
|
|
546
548
|
color,
|
|
547
549
|
variant: "ghost",
|
|
548
|
-
class: `text-${color} hover:bg-${color}/10 focus:outline-none focus-visible:bg-${color}/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent`
|
|
550
|
+
class: `text-${color} hover:bg-${color}/10 active:bg-${color}/10 focus:outline-none focus-visible:bg-${color}/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent`
|
|
549
551
|
})), ...(options.theme.colors || []).map((color) => ({
|
|
550
552
|
color,
|
|
551
553
|
variant: "link",
|
|
552
|
-
class: `text-${color} hover:text-${color}/75 disabled:text-${color} aria-disabled:text-${color} focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-${color}`
|
|
554
|
+
class: `text-${color} hover:text-${color}/75 active:text-${color}/75 disabled:text-${color} aria-disabled:text-${color} focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-${color}`
|
|
553
555
|
})), {
|
|
554
556
|
color: "neutral",
|
|
555
557
|
variant: "solid",
|
|
556
|
-
class: "text-inverted bg-inverted hover:bg-inverted/90 disabled:bg-inverted aria-disabled:bg-inverted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-inverted"
|
|
558
|
+
class: "text-inverted bg-inverted hover:bg-inverted/90 active:bg-inverted/90 disabled:bg-inverted aria-disabled:bg-inverted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-inverted"
|
|
557
559
|
}, {
|
|
558
560
|
color: "neutral",
|
|
559
561
|
variant: "outline",
|
|
560
|
-
class: "ring ring-inset ring-accented text-default bg-default hover:bg-elevated disabled:bg-default aria-disabled:bg-default focus:outline-none focus-visible:ring-2 focus-visible:ring-inverted"
|
|
562
|
+
class: "ring ring-inset ring-accented text-default bg-default hover:bg-elevated active:bg-elevated disabled:bg-default aria-disabled:bg-default focus:outline-none focus-visible:ring-2 focus-visible:ring-inverted"
|
|
561
563
|
}, {
|
|
562
564
|
color: "neutral",
|
|
563
565
|
variant: "soft",
|
|
564
|
-
class: "text-default bg-elevated hover:bg-accented/75 focus:outline-none focus-visible:bg-accented/75 disabled:bg-elevated aria-disabled:bg-elevated"
|
|
566
|
+
class: "text-default bg-elevated hover:bg-accented/75 active:bg-accented/75 focus:outline-none focus-visible:bg-accented/75 disabled:bg-elevated aria-disabled:bg-elevated"
|
|
565
567
|
}, {
|
|
566
568
|
color: "neutral",
|
|
567
569
|
variant: "subtle",
|
|
568
|
-
class: "ring ring-inset ring-accented text-default bg-elevated hover:bg-accented/75 disabled:bg-elevated aria-disabled:bg-elevated focus:outline-none focus-visible:ring-2 focus-visible:ring-inverted"
|
|
570
|
+
class: "ring ring-inset ring-accented text-default bg-elevated hover:bg-accented/75 active:bg-accented/75 disabled:bg-elevated aria-disabled:bg-elevated focus:outline-none focus-visible:ring-2 focus-visible:ring-inverted"
|
|
569
571
|
}, {
|
|
570
572
|
color: "neutral",
|
|
571
573
|
variant: "ghost",
|
|
572
|
-
class: "text-default hover:bg-elevated focus:outline-none focus-visible:bg-elevated hover:disabled:bg-transparent dark:hover:disabled:bg-transparent hover:aria-disabled:bg-transparent dark:hover:aria-disabled:bg-transparent"
|
|
574
|
+
class: "text-default hover:bg-elevated active:bg-elevated focus:outline-none focus-visible:bg-elevated hover:disabled:bg-transparent dark:hover:disabled:bg-transparent hover:aria-disabled:bg-transparent dark:hover:aria-disabled:bg-transparent"
|
|
573
575
|
}, {
|
|
574
576
|
color: "neutral",
|
|
575
577
|
variant: "link",
|
|
576
|
-
class: "text-muted hover:text-default disabled:text-muted aria-disabled:text-muted focus:outline-none focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-inverted"
|
|
578
|
+
class: "text-muted hover:text-default active:text-default disabled:text-muted aria-disabled:text-muted focus:outline-none focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-inverted"
|
|
577
579
|
}, {
|
|
578
580
|
size: "xs",
|
|
579
581
|
square: true,
|
|
@@ -1083,6 +1085,7 @@ const commandPalette = (options) => ({
|
|
|
1083
1085
|
close: "",
|
|
1084
1086
|
back: "p-0",
|
|
1085
1087
|
content: "relative overflow-hidden flex flex-col",
|
|
1088
|
+
footer: "p-1",
|
|
1086
1089
|
viewport: "relative divide-y divide-default scroll-py-1 overflow-y-auto flex-1 focus:outline-none",
|
|
1087
1090
|
group: "p-1 isolate",
|
|
1088
1091
|
empty: "py-6 text-center text-sm text-muted",
|
|
@@ -1098,7 +1101,7 @@ const commandPalette = (options) => ({
|
|
|
1098
1101
|
itemTrailingHighlightedIcon: "shrink-0 size-5 text-dimmed hidden group-data-highlighted:inline-flex",
|
|
1099
1102
|
itemTrailingKbds: "hidden lg:inline-flex items-center shrink-0 gap-0.5",
|
|
1100
1103
|
itemTrailingKbdsSize: "md",
|
|
1101
|
-
itemLabel: "truncate space-x-1
|
|
1104
|
+
itemLabel: "truncate space-x-1 text-dimmed",
|
|
1102
1105
|
itemLabelBase: "text-highlighted [&>mark]:text-inverted [&>mark]:bg-primary",
|
|
1103
1106
|
itemLabelPrefix: "text-default",
|
|
1104
1107
|
itemLabelSuffix: "text-dimmed [&>mark]:text-inverted [&>mark]:bg-primary"
|
|
@@ -1439,6 +1442,198 @@ const dropdownMenu = (options) => ({
|
|
|
1439
1442
|
}
|
|
1440
1443
|
});
|
|
1441
1444
|
|
|
1445
|
+
const fileUpload = (options) => ({
|
|
1446
|
+
slots: {
|
|
1447
|
+
root: "relative flex flex-col",
|
|
1448
|
+
base: ["w-full flex-1 bg-default border border-default flex flex-col gap-2 items-stretch justify-center rounded-lg focus-visible:outline-2", options.theme.transitions && "transition-[background]"],
|
|
1449
|
+
wrapper: "flex flex-col items-center justify-center text-center",
|
|
1450
|
+
icon: "shrink-0",
|
|
1451
|
+
avatar: "shrink-0",
|
|
1452
|
+
label: "font-medium text-default mt-2",
|
|
1453
|
+
description: "text-muted mt-1",
|
|
1454
|
+
actions: "flex flex-wrap gap-1.5 shrink-0 mt-4",
|
|
1455
|
+
files: "",
|
|
1456
|
+
file: "relative",
|
|
1457
|
+
fileLeadingAvatar: "shrink-0",
|
|
1458
|
+
fileWrapper: "flex flex-col min-w-0",
|
|
1459
|
+
fileName: "text-default truncate",
|
|
1460
|
+
fileSize: "text-muted truncate",
|
|
1461
|
+
fileTrailingButton: ""
|
|
1462
|
+
},
|
|
1463
|
+
variants: {
|
|
1464
|
+
color: {
|
|
1465
|
+
...Object.fromEntries((options.theme.colors || []).map((color) => [color, ""])),
|
|
1466
|
+
neutral: ""
|
|
1467
|
+
},
|
|
1468
|
+
variant: {
|
|
1469
|
+
area: {
|
|
1470
|
+
wrapper: "px-4 py-3",
|
|
1471
|
+
base: "p-4"
|
|
1472
|
+
},
|
|
1473
|
+
button: {}
|
|
1474
|
+
},
|
|
1475
|
+
size: {
|
|
1476
|
+
xs: {
|
|
1477
|
+
base: "text-xs",
|
|
1478
|
+
icon: "size-4",
|
|
1479
|
+
file: "text-xs px-2 py-1 gap-1",
|
|
1480
|
+
fileWrapper: "flex-row gap-1"
|
|
1481
|
+
},
|
|
1482
|
+
sm: {
|
|
1483
|
+
base: "text-xs",
|
|
1484
|
+
icon: "size-4",
|
|
1485
|
+
file: "text-xs px-2.5 py-1.5 gap-1.5",
|
|
1486
|
+
fileWrapper: "flex-row gap-1"
|
|
1487
|
+
},
|
|
1488
|
+
md: {
|
|
1489
|
+
base: "text-sm",
|
|
1490
|
+
icon: "size-5",
|
|
1491
|
+
file: "text-xs px-2.5 py-1.5 gap-1.5"
|
|
1492
|
+
},
|
|
1493
|
+
lg: {
|
|
1494
|
+
base: "text-sm",
|
|
1495
|
+
icon: "size-5",
|
|
1496
|
+
file: "text-sm px-3 py-2 gap-2",
|
|
1497
|
+
fileSize: "text-xs"
|
|
1498
|
+
},
|
|
1499
|
+
xl: {
|
|
1500
|
+
base: "text-base",
|
|
1501
|
+
icon: "size-6",
|
|
1502
|
+
file: "text-sm px-3 py-2 gap-2"
|
|
1503
|
+
}
|
|
1504
|
+
},
|
|
1505
|
+
layout: {
|
|
1506
|
+
list: {
|
|
1507
|
+
root: "gap-2 items-start",
|
|
1508
|
+
files: "flex flex-col w-full gap-2",
|
|
1509
|
+
file: "min-w-0 flex items-center border border-default rounded-md w-full",
|
|
1510
|
+
fileTrailingButton: "ms-auto"
|
|
1511
|
+
},
|
|
1512
|
+
grid: {
|
|
1513
|
+
fileWrapper: "hidden",
|
|
1514
|
+
fileLeadingAvatar: "size-full rounded-lg",
|
|
1515
|
+
fileTrailingButton: "absolute -top-1.5 -end-1.5 p-0 rounded-full border-2 border-bg"
|
|
1516
|
+
}
|
|
1517
|
+
},
|
|
1518
|
+
position: {
|
|
1519
|
+
inside: "",
|
|
1520
|
+
outside: ""
|
|
1521
|
+
},
|
|
1522
|
+
dropzone: {
|
|
1523
|
+
true: "border-dashed data-[dragging=true]:bg-elevated/25"
|
|
1524
|
+
},
|
|
1525
|
+
interactive: {
|
|
1526
|
+
true: ""
|
|
1527
|
+
},
|
|
1528
|
+
highlight: {
|
|
1529
|
+
true: ""
|
|
1530
|
+
},
|
|
1531
|
+
multiple: {
|
|
1532
|
+
true: ""
|
|
1533
|
+
},
|
|
1534
|
+
disabled: {
|
|
1535
|
+
true: "cursor-not-allowed opacity-75"
|
|
1536
|
+
}
|
|
1537
|
+
},
|
|
1538
|
+
compoundVariants: [...(options.theme.colors || []).map((color) => ({
|
|
1539
|
+
color,
|
|
1540
|
+
class: `focus-visible:outline-${color}`
|
|
1541
|
+
})), ...(options.theme.colors || []).map((color) => ({
|
|
1542
|
+
color,
|
|
1543
|
+
highlight: true,
|
|
1544
|
+
class: `border-${color}`
|
|
1545
|
+
})), {
|
|
1546
|
+
color: "neutral",
|
|
1547
|
+
class: "focus-visible:outline-inverted"
|
|
1548
|
+
}, {
|
|
1549
|
+
color: "neutral",
|
|
1550
|
+
highlight: true,
|
|
1551
|
+
class: "border-inverted"
|
|
1552
|
+
}, {
|
|
1553
|
+
size: "xs",
|
|
1554
|
+
layout: "list",
|
|
1555
|
+
class: {
|
|
1556
|
+
fileTrailingButton: "-me-1"
|
|
1557
|
+
}
|
|
1558
|
+
}, {
|
|
1559
|
+
size: "sm",
|
|
1560
|
+
layout: "list",
|
|
1561
|
+
class: {
|
|
1562
|
+
fileTrailingButton: "-me-1.5"
|
|
1563
|
+
}
|
|
1564
|
+
}, {
|
|
1565
|
+
size: "md",
|
|
1566
|
+
layout: "list",
|
|
1567
|
+
class: {
|
|
1568
|
+
fileTrailingButton: "-me-1.5"
|
|
1569
|
+
}
|
|
1570
|
+
}, {
|
|
1571
|
+
size: "lg",
|
|
1572
|
+
layout: "list",
|
|
1573
|
+
class: {
|
|
1574
|
+
fileTrailingButton: "-me-2"
|
|
1575
|
+
}
|
|
1576
|
+
}, {
|
|
1577
|
+
size: "xl",
|
|
1578
|
+
layout: "list",
|
|
1579
|
+
class: {
|
|
1580
|
+
fileTrailingButton: "-me-2"
|
|
1581
|
+
}
|
|
1582
|
+
}, {
|
|
1583
|
+
variant: "button",
|
|
1584
|
+
size: "xs",
|
|
1585
|
+
class: {
|
|
1586
|
+
base: "p-1"
|
|
1587
|
+
}
|
|
1588
|
+
}, {
|
|
1589
|
+
variant: "button",
|
|
1590
|
+
size: "sm",
|
|
1591
|
+
class: {
|
|
1592
|
+
base: "p-1.5"
|
|
1593
|
+
}
|
|
1594
|
+
}, {
|
|
1595
|
+
variant: "button",
|
|
1596
|
+
size: "md",
|
|
1597
|
+
class: {
|
|
1598
|
+
base: "p-1.5"
|
|
1599
|
+
}
|
|
1600
|
+
}, {
|
|
1601
|
+
variant: "button",
|
|
1602
|
+
size: "lg",
|
|
1603
|
+
class: {
|
|
1604
|
+
base: "p-2"
|
|
1605
|
+
}
|
|
1606
|
+
}, {
|
|
1607
|
+
variant: "button",
|
|
1608
|
+
size: "xl",
|
|
1609
|
+
class: {
|
|
1610
|
+
base: "p-2"
|
|
1611
|
+
}
|
|
1612
|
+
}, {
|
|
1613
|
+
layout: "grid",
|
|
1614
|
+
multiple: true,
|
|
1615
|
+
class: {
|
|
1616
|
+
files: "grid grid-cols-2 md:grid-cols-3 gap-4 w-full",
|
|
1617
|
+
file: "p-0 aspect-square"
|
|
1618
|
+
}
|
|
1619
|
+
}, {
|
|
1620
|
+
layout: "grid",
|
|
1621
|
+
multiple: false,
|
|
1622
|
+
class: {
|
|
1623
|
+
file: "absolute inset-0 p-0"
|
|
1624
|
+
}
|
|
1625
|
+
}, {
|
|
1626
|
+
interactive: true,
|
|
1627
|
+
disabled: false,
|
|
1628
|
+
class: "hover:bg-elevated/25"
|
|
1629
|
+
}],
|
|
1630
|
+
defaultVariants: {
|
|
1631
|
+
color: "primary",
|
|
1632
|
+
variant: "area",
|
|
1633
|
+
size: "md"
|
|
1634
|
+
}
|
|
1635
|
+
});
|
|
1636
|
+
|
|
1442
1637
|
const form = {
|
|
1443
1638
|
base: ""
|
|
1444
1639
|
};
|
|
@@ -1913,13 +2108,18 @@ function replaceFocus(str) {
|
|
|
1913
2108
|
return str.replace(/focus:/g, "has-focus:").replace(/focus-visible:/g, "has-focus-visible:");
|
|
1914
2109
|
}
|
|
1915
2110
|
|
|
1916
|
-
const kbd = {
|
|
2111
|
+
const kbd = (options) => ({
|
|
1917
2112
|
base: "inline-flex items-center justify-center px-1 rounded-sm font-medium font-sans",
|
|
1918
2113
|
variants: {
|
|
2114
|
+
color: {
|
|
2115
|
+
...Object.fromEntries((options.theme.colors || []).map((color) => [color, ""])),
|
|
2116
|
+
neutral: ""
|
|
2117
|
+
},
|
|
1919
2118
|
variant: {
|
|
1920
|
-
solid: "
|
|
1921
|
-
outline: "
|
|
1922
|
-
|
|
2119
|
+
solid: "",
|
|
2120
|
+
outline: "",
|
|
2121
|
+
soft: "",
|
|
2122
|
+
subtle: ""
|
|
1923
2123
|
},
|
|
1924
2124
|
size: {
|
|
1925
2125
|
sm: "h-4 min-w-[16px] text-[10px]",
|
|
@@ -1927,11 +2127,45 @@ const kbd = {
|
|
|
1927
2127
|
lg: "h-6 min-w-[24px] text-[12px]"
|
|
1928
2128
|
}
|
|
1929
2129
|
},
|
|
2130
|
+
compoundVariants: [...(options.theme.colors || []).map((color) => ({
|
|
2131
|
+
color,
|
|
2132
|
+
variant: "solid",
|
|
2133
|
+
class: `text-inverted bg-${color}`
|
|
2134
|
+
})), ...(options.theme.colors || []).map((color) => ({
|
|
2135
|
+
color,
|
|
2136
|
+
variant: "outline",
|
|
2137
|
+
class: `ring ring-inset ring-${color}/50 text-${color}`
|
|
2138
|
+
})), ...(options.theme.colors || []).map((color) => ({
|
|
2139
|
+
color,
|
|
2140
|
+
variant: "soft",
|
|
2141
|
+
class: `text-${color} bg-${color}/10`
|
|
2142
|
+
})), ...(options.theme.colors || []).map((color) => ({
|
|
2143
|
+
color,
|
|
2144
|
+
variant: "subtle",
|
|
2145
|
+
class: `text-${color} ring ring-inset ring-${color}/25 bg-${color}/10`
|
|
2146
|
+
})), {
|
|
2147
|
+
color: "neutral",
|
|
2148
|
+
variant: "solid",
|
|
2149
|
+
class: "text-inverted bg-inverted"
|
|
2150
|
+
}, {
|
|
2151
|
+
color: "neutral",
|
|
2152
|
+
variant: "outline",
|
|
2153
|
+
class: "ring ring-inset ring-accented text-default bg-default"
|
|
2154
|
+
}, {
|
|
2155
|
+
color: "neutral",
|
|
2156
|
+
variant: "soft",
|
|
2157
|
+
class: "text-default bg-elevated"
|
|
2158
|
+
}, {
|
|
2159
|
+
color: "neutral",
|
|
2160
|
+
variant: "subtle",
|
|
2161
|
+
class: "ring ring-inset ring-accented text-default bg-elevated"
|
|
2162
|
+
}],
|
|
1930
2163
|
defaultVariants: {
|
|
1931
2164
|
variant: "outline",
|
|
2165
|
+
color: "neutral",
|
|
1932
2166
|
size: "md"
|
|
1933
2167
|
}
|
|
1934
|
-
};
|
|
2168
|
+
});
|
|
1935
2169
|
|
|
1936
2170
|
const link = (options) => ({
|
|
1937
2171
|
base: "focus-visible:outline-primary",
|
|
@@ -3311,6 +3545,7 @@ const table = (options) => ({
|
|
|
3311
3545
|
caption: "sr-only",
|
|
3312
3546
|
thead: "relative",
|
|
3313
3547
|
tbody: "divide-y divide-default [&>tr]:data-[selectable=true]:hover:bg-elevated/50 [&>tr]:data-[selectable=true]:focus-visible:outline-primary",
|
|
3548
|
+
tfoot: "relative",
|
|
3314
3549
|
tr: "data-[selected=true]:bg-elevated/50",
|
|
3315
3550
|
th: "px-4 py-3.5 text-sm text-highlighted text-left rtl:text-right font-semibold [&:has([role=checkbox])]:pe-0",
|
|
3316
3551
|
td: "p-4 text-sm text-muted whitespace-nowrap [&:has([role=checkbox])]:pe-0",
|
|
@@ -3327,7 +3562,14 @@ const table = (options) => ({
|
|
|
3327
3562
|
},
|
|
3328
3563
|
sticky: {
|
|
3329
3564
|
true: {
|
|
3565
|
+
thead: "sticky top-0 inset-x-0 bg-default/75 z-[1] backdrop-blur",
|
|
3566
|
+
tfoot: "sticky bottom-0 inset-x-0 bg-default/75 z-[1] backdrop-blur"
|
|
3567
|
+
},
|
|
3568
|
+
header: {
|
|
3330
3569
|
thead: "sticky top-0 inset-x-0 bg-default/75 z-[1] backdrop-blur"
|
|
3570
|
+
},
|
|
3571
|
+
footer: {
|
|
3572
|
+
tfoot: "sticky bottom-0 inset-x-0 bg-default/75 z-[1] backdrop-blur"
|
|
3331
3573
|
}
|
|
3332
3574
|
},
|
|
3333
3575
|
loading: {
|
|
@@ -3395,11 +3637,13 @@ const tabs = (options) => ({
|
|
|
3395
3637
|
list: "relative flex p-1 group",
|
|
3396
3638
|
indicator: "absolute transition-[translate,width] duration-200",
|
|
3397
3639
|
trigger: ["group relative inline-flex items-center min-w-0 data-[state=inactive]:text-muted hover:data-[state=inactive]:not-disabled:text-default font-medium rounded-md disabled:cursor-not-allowed disabled:opacity-75", options.theme.transitions && "transition-colors"],
|
|
3398
|
-
content: "focus:outline-none w-full",
|
|
3399
3640
|
leadingIcon: "shrink-0",
|
|
3400
3641
|
leadingAvatar: "shrink-0",
|
|
3401
3642
|
leadingAvatarSize: "",
|
|
3402
|
-
label: "truncate"
|
|
3643
|
+
label: "truncate",
|
|
3644
|
+
trailingBadge: "shrink-0",
|
|
3645
|
+
trailingBadgeSize: "sm",
|
|
3646
|
+
content: "focus:outline-none w-full"
|
|
3403
3647
|
},
|
|
3404
3648
|
variants: {
|
|
3405
3649
|
color: {
|
|
@@ -3756,20 +4000,18 @@ const toast = (options) => ({
|
|
|
3756
4000
|
avatar: "shrink-0",
|
|
3757
4001
|
avatarSize: "2xl",
|
|
3758
4002
|
actions: "flex gap-1.5 shrink-0",
|
|
3759
|
-
progress: "absolute inset-x-0 bottom-0
|
|
4003
|
+
progress: "absolute inset-x-0 bottom-0",
|
|
3760
4004
|
close: "p-0"
|
|
3761
4005
|
},
|
|
3762
4006
|
variants: {
|
|
3763
4007
|
color: {
|
|
3764
4008
|
...Object.fromEntries((options.theme.colors || []).map((color) => [color, {
|
|
3765
4009
|
root: `focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-${color}`,
|
|
3766
|
-
icon: `text-${color}
|
|
3767
|
-
progress: `bg-${color}`
|
|
4010
|
+
icon: `text-${color}`
|
|
3768
4011
|
}])),
|
|
3769
4012
|
neutral: {
|
|
3770
4013
|
root: "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-inverted",
|
|
3771
|
-
icon: "text-highlighted"
|
|
3772
|
-
progress: "bg-inverted"
|
|
4014
|
+
icon: "text-highlighted"
|
|
3773
4015
|
}
|
|
3774
4016
|
},
|
|
3775
4017
|
orientation: {
|
|
@@ -3855,7 +4097,7 @@ const tooltip = {
|
|
|
3855
4097
|
content: "flex items-center gap-1 bg-default text-highlighted shadow-sm rounded-sm ring ring-default h-6 px-2.5 py-1 text-xs select-none data-[state=delayed-open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-tooltip-content-transform-origin) pointer-events-auto",
|
|
3856
4098
|
arrow: "fill-default",
|
|
3857
4099
|
text: "truncate",
|
|
3858
|
-
kbds: `hidden lg:inline-flex items-center shrink-0 gap-0.5 before:content-['\xB7'] before:me-0.5`,
|
|
4100
|
+
kbds: `hidden lg:inline-flex items-center shrink-0 gap-0.5 not-first-of-type:before:content-['\xB7'] not-first-of-type:before:me-0.5`,
|
|
3859
4101
|
kbdsSize: "sm"
|
|
3860
4102
|
}
|
|
3861
4103
|
};
|
|
@@ -3964,6 +4206,7 @@ const theme = {
|
|
|
3964
4206
|
contextMenu: contextMenu,
|
|
3965
4207
|
drawer: drawer,
|
|
3966
4208
|
dropdownMenu: dropdownMenu,
|
|
4209
|
+
fileUpload: fileUpload,
|
|
3967
4210
|
form: form,
|
|
3968
4211
|
formField: formField,
|
|
3969
4212
|
input: input,
|
|
@@ -4006,6 +4249,12 @@ function getTemplates(options, uiConfig) {
|
|
|
4006
4249
|
getContents: async () => {
|
|
4007
4250
|
const template = theme[component];
|
|
4008
4251
|
const result = typeof template === "function" ? template(options) : template;
|
|
4252
|
+
if (result?.defaultVariants?.color && options.theme?.defaultVariants?.color) {
|
|
4253
|
+
result.defaultVariants.color = options.theme.defaultVariants.color;
|
|
4254
|
+
}
|
|
4255
|
+
if (result?.defaultVariants?.size && options.theme?.defaultVariants?.size) {
|
|
4256
|
+
result.defaultVariants.size = options.theme.defaultVariants.size;
|
|
4257
|
+
}
|
|
4009
4258
|
const variants = Object.entries(result.variants || {}).filter(([_, values]) => {
|
|
4010
4259
|
const keys = Object.keys(values);
|
|
4011
4260
|
return keys.some((key) => key !== "true" && key !== "false");
|
|
@@ -4115,13 +4364,13 @@ import colors from 'tailwindcss/colors'
|
|
|
4115
4364
|
|
|
4116
4365
|
const icons = ${JSON.stringify(uiConfig.icons)};
|
|
4117
4366
|
|
|
4118
|
-
type NeutralColor = 'slate' | 'gray' | 'zinc' | 'neutral' | 'stone'
|
|
4367
|
+
type NeutralColor = 'slate' | 'gray' | 'zinc' | 'neutral' | 'stone'
|
|
4119
4368
|
type Color = Exclude<keyof typeof colors, 'inherit' | 'current' | 'transparent' | 'black' | 'white' | NeutralColor> | (string & {})
|
|
4120
4369
|
|
|
4121
4370
|
type AppConfigUI = {
|
|
4122
4371
|
colors?: {
|
|
4123
4372
|
${options.theme?.colors?.map((color) => `'${color}'?: Color`).join("\n ")}
|
|
4124
|
-
neutral?: NeutralColor
|
|
4373
|
+
neutral?: NeutralColor | (string & {})
|
|
4125
4374
|
}
|
|
4126
4375
|
icons?: Partial<typeof icons>
|
|
4127
4376
|
tv?: typeof defaultConfig
|
package/dist/unplugin.d.mts
CHANGED
|
@@ -21,12 +21,14 @@ declare const _default: {
|
|
|
21
21
|
close: string;
|
|
22
22
|
ellipsis: string;
|
|
23
23
|
external: string;
|
|
24
|
+
file: string;
|
|
24
25
|
folder: string;
|
|
25
26
|
folderOpen: string;
|
|
26
27
|
loading: string;
|
|
27
28
|
minus: string;
|
|
28
29
|
plus: string;
|
|
29
30
|
search: string;
|
|
31
|
+
upload: string;
|
|
30
32
|
};
|
|
31
33
|
|
|
32
34
|
type NeutralColor = 'slate' | 'gray' | 'zinc' | 'neutral' | 'stone';
|
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.BkSj2DmF.mjs';
|
|
7
7
|
import { globSync } from 'tinyglobby';
|
|
8
8
|
import { genSafeVariableName } from 'knitwork';
|
|
9
9
|
import MagicString from 'magic-string';
|
|
@@ -152,10 +152,13 @@ function ComponentImportPlugin(options, meta) {
|
|
|
152
152
|
name: "nuxt:ui:components",
|
|
153
153
|
enforce: "pre",
|
|
154
154
|
resolveId(id, importer) {
|
|
155
|
-
if (!importer
|
|
155
|
+
if (!importer) {
|
|
156
156
|
return;
|
|
157
157
|
}
|
|
158
|
-
if (!
|
|
158
|
+
if (!normalize(importer).includes(runtimeDir) && (!options.extraRuntimeDir || !normalize(importer).includes(options.extraRuntimeDir))) {
|
|
159
|
+
return;
|
|
160
|
+
}
|
|
161
|
+
if (!RELATIVE_IMPORT_RE.test(id) && !id.startsWith("@nuxt/ui/components/")) {
|
|
159
162
|
return;
|
|
160
163
|
}
|
|
161
164
|
const filename = id.match(/([^/]+)\.vue$/)?.[1];
|
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.3.0",
|
|
5
|
+
"packageManager": "pnpm@10.13.1",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/nuxt/ui.git"
|
|
@@ -98,9 +98,9 @@
|
|
|
98
98
|
"prepack": "pnpm build",
|
|
99
99
|
"dev": "nuxt dev playground --uiDev",
|
|
100
100
|
"dev:build": "nuxt build playground",
|
|
101
|
-
"dev:vue": "
|
|
102
|
-
"dev:vue:build": "
|
|
103
|
-
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxt prepare playground && nuxt prepare docs &&
|
|
101
|
+
"dev:vue": "pnpm --filter playground-vue dev -- --uiDev",
|
|
102
|
+
"dev:vue:build": "pnpm --filter playground-vue build",
|
|
103
|
+
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxt prepare playground && nuxt prepare docs && pnpm dev:vue:build",
|
|
104
104
|
"docs": "nuxt dev docs --uiDev",
|
|
105
105
|
"docs:build": "nuxt build docs",
|
|
106
106
|
"lint": "eslint .",
|
|
@@ -115,17 +115,17 @@
|
|
|
115
115
|
"@internationalized/date": "^3.8.2",
|
|
116
116
|
"@internationalized/number": "^3.6.3",
|
|
117
117
|
"@nuxt/fonts": "^0.11.4",
|
|
118
|
-
"@nuxt/icon": "^1.
|
|
119
|
-
"@nuxt/kit": "^
|
|
120
|
-
"@nuxt/schema": "^
|
|
118
|
+
"@nuxt/icon": "^1.15.0",
|
|
119
|
+
"@nuxt/kit": "^4.0.1",
|
|
120
|
+
"@nuxt/schema": "^4.0.1",
|
|
121
121
|
"@nuxtjs/color-mode": "^3.5.2",
|
|
122
122
|
"@standard-schema/spec": "^1.0.0",
|
|
123
|
-
"@tailwindcss/postcss": "^4.1.
|
|
124
|
-
"@tailwindcss/vite": "^4.1.
|
|
123
|
+
"@tailwindcss/postcss": "^4.1.11",
|
|
124
|
+
"@tailwindcss/vite": "^4.1.11",
|
|
125
125
|
"@tanstack/vue-table": "^8.21.3",
|
|
126
|
-
"@unhead/vue": "^2.0.
|
|
127
|
-
"@vueuse/core": "^13.
|
|
128
|
-
"@vueuse/integrations": "^13.
|
|
126
|
+
"@unhead/vue": "^2.0.12",
|
|
127
|
+
"@vueuse/core": "^13.5.0",
|
|
128
|
+
"@vueuse/integrations": "^13.5.0",
|
|
129
129
|
"colortranslator": "^5.0.0",
|
|
130
130
|
"consola": "^3.4.2",
|
|
131
131
|
"defu": "^6.1.4",
|
|
@@ -143,31 +143,31 @@
|
|
|
143
143
|
"mlly": "^1.7.4",
|
|
144
144
|
"ohash": "^2.0.11",
|
|
145
145
|
"pathe": "^2.0.3",
|
|
146
|
-
"reka-ui": "2.3.
|
|
146
|
+
"reka-ui": "2.3.2",
|
|
147
147
|
"scule": "^1.3.0",
|
|
148
148
|
"tailwind-variants": "^1.0.0",
|
|
149
|
-
"tailwindcss": "^4.1.
|
|
149
|
+
"tailwindcss": "^4.1.11",
|
|
150
150
|
"tinyglobby": "^0.2.14",
|
|
151
151
|
"unplugin": "^2.3.5",
|
|
152
152
|
"unplugin-auto-import": "^19.3.0",
|
|
153
|
-
"unplugin-vue-components": "^28.
|
|
153
|
+
"unplugin-vue-components": "^28.8.0",
|
|
154
154
|
"vaul-vue": "0.4.1",
|
|
155
|
-
"vue-component-type-helpers": "^
|
|
155
|
+
"vue-component-type-helpers": "^3.0.3"
|
|
156
156
|
},
|
|
157
157
|
"devDependencies": {
|
|
158
|
-
"@nuxt/eslint-config": "^1.
|
|
158
|
+
"@nuxt/eslint-config": "^1.6.0",
|
|
159
159
|
"@nuxt/module-builder": "^1.0.1",
|
|
160
|
-
"@nuxt/test-utils": "^3.19.
|
|
160
|
+
"@nuxt/test-utils": "^3.19.2",
|
|
161
161
|
"@release-it/conventional-changelog": "^10.0.1",
|
|
162
162
|
"@vue/test-utils": "^2.4.6",
|
|
163
163
|
"embla-carousel": "^8.6.0",
|
|
164
|
-
"eslint": "^9.
|
|
164
|
+
"eslint": "^9.31.0",
|
|
165
165
|
"happy-dom": "^18.0.1",
|
|
166
|
-
"nuxt": "^
|
|
167
|
-
"release-it": "^19.0.
|
|
166
|
+
"nuxt": "^4.0.1",
|
|
167
|
+
"release-it": "^19.0.4",
|
|
168
168
|
"vitest": "^3.2.4",
|
|
169
169
|
"vitest-environment-nuxt": "^1.0.1",
|
|
170
|
-
"vue-tsc": "^
|
|
170
|
+
"vue-tsc": "^3.0.3"
|
|
171
171
|
},
|
|
172
172
|
"peerDependencies": {
|
|
173
173
|
"@inertiajs/vue3": "^2.0.7",
|
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
"valibot": "^1.0.0",
|
|
178
178
|
"vue-router": "^4.5.0",
|
|
179
179
|
"yup": "^1.6.0",
|
|
180
|
-
"zod": "^3.24.0"
|
|
180
|
+
"zod": "^3.24.0 || ^4.0.0"
|
|
181
181
|
},
|
|
182
182
|
"peerDependenciesMeta": {
|
|
183
183
|
"@inertiajs/vue3": {
|