@nuxt/ui 2.17.0 → 2.18.1
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 +3 -1988
- package/dist/module.d.ts +3 -1988
- package/dist/module.json +6 -2
- package/dist/module.mjs +6 -71
- package/dist/runtime/components/data/Table.vue +53 -15
- package/dist/runtime/components/data/Table.vue.d.ts +249 -50
- package/dist/runtime/components/elements/Accordion.vue.d.ts +140 -14
- package/dist/runtime/components/elements/Alert.vue +1 -1
- package/dist/runtime/components/elements/Alert.vue.d.ts +106 -23
- package/dist/runtime/components/elements/Avatar.vue.d.ts +146 -25
- package/dist/runtime/components/elements/AvatarGroup.d.ts +20 -11
- package/dist/runtime/components/elements/{AvatarGroup.mjs → AvatarGroup.js} +2 -2
- package/dist/runtime/components/elements/Badge.vue.d.ts +53 -16
- package/dist/runtime/components/elements/Button.vue.d.ts +259 -96
- package/dist/runtime/components/elements/ButtonGroup.d.ts +113 -9
- package/dist/runtime/components/elements/{ButtonGroup.mjs → ButtonGroup.js} +3 -3
- package/dist/runtime/components/elements/Carousel.vue.d.ts +75 -20
- package/dist/runtime/components/elements/Chip.vue.d.ts +95 -23
- package/dist/runtime/components/elements/Dropdown.vue +3 -6
- package/dist/runtime/components/elements/Dropdown.vue.d.ts +135 -16
- package/dist/runtime/components/elements/Icon.vue +16 -15
- package/dist/runtime/components/elements/Icon.vue.d.ts +33 -10
- package/dist/runtime/components/elements/Kbd.vue.d.ts +45 -10
- package/dist/runtime/components/elements/Link.vue.d.ts +72 -72
- package/dist/runtime/components/elements/Meter.vue +1 -1
- package/dist/runtime/components/elements/Meter.vue.d.ts +179 -23
- package/dist/runtime/components/elements/MeterGroup.d.ts +72 -15
- package/dist/runtime/components/elements/{MeterGroup.mjs → MeterGroup.js} +3 -3
- package/dist/runtime/components/elements/Progress.vue +7 -2
- package/dist/runtime/components/elements/Progress.vue.d.ts +188 -32
- package/dist/runtime/components/forms/Checkbox.vue +5 -3
- package/dist/runtime/components/forms/Checkbox.vue.d.ts +73 -32
- package/dist/runtime/components/forms/Form.vue +1 -2
- package/dist/runtime/components/forms/Form.vue.d.ts +11 -10
- package/dist/runtime/components/forms/FormGroup.vue +1 -1
- package/dist/runtime/components/forms/FormGroup.vue.d.ts +78 -25
- package/dist/runtime/components/forms/Input.vue +1 -1
- package/dist/runtime/components/forms/Input.vue.d.ts +272 -55
- package/dist/runtime/components/forms/InputMenu.vue +11 -8
- package/dist/runtime/components/forms/InputMenu.vue.d.ts +431 -81
- package/dist/runtime/components/forms/Radio.vue +5 -3
- package/dist/runtime/components/forms/Radio.vue.d.ts +71 -32
- package/dist/runtime/components/forms/RadioGroup.vue +11 -3
- package/dist/runtime/components/forms/RadioGroup.vue.d.ts +83 -25
- package/dist/runtime/components/forms/Range.vue.d.ts +153 -24
- package/dist/runtime/components/forms/Select.vue +1 -1
- package/dist/runtime/components/forms/Select.vue.d.ts +272 -49
- package/dist/runtime/components/forms/SelectMenu.vue +49 -23
- package/dist/runtime/components/forms/SelectMenu.vue.d.ts +449 -84
- package/dist/runtime/components/forms/Textarea.vue.d.ts +258 -43
- package/dist/runtime/components/forms/Toggle.vue.d.ts +152 -25
- package/dist/runtime/components/layout/Card.vue.d.ts +54 -4
- package/dist/runtime/components/layout/Container.vue.d.ts +18 -4
- package/dist/runtime/components/layout/Divider.vue.d.ts +121 -16
- package/dist/runtime/components/layout/Skeleton.vue +5 -1
- package/dist/runtime/components/layout/Skeleton.vue.d.ts +27 -4
- package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +52 -9
- package/dist/runtime/components/navigation/CommandPalette.vue +7 -4
- package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +193 -35
- package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +5 -7
- package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +64 -9
- package/dist/runtime/components/navigation/Pagination.vue +2 -4
- package/dist/runtime/components/navigation/Pagination.vue.d.ts +83 -11
- package/dist/runtime/components/navigation/Tabs.vue +10 -0
- package/dist/runtime/components/navigation/Tabs.vue.d.ts +85 -14
- package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +78 -9
- package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +71 -8
- package/dist/runtime/components/overlays/Modal.vue.d.ts +85 -11
- package/dist/runtime/components/overlays/Notification.vue +1 -1
- package/dist/runtime/components/overlays/Notification.vue.d.ts +127 -26
- package/dist/runtime/components/overlays/Notifications.vue.d.ts +31 -16
- package/dist/runtime/components/overlays/Popover.vue +3 -6
- package/dist/runtime/components/overlays/Popover.vue.d.ts +110 -15
- package/dist/runtime/components/overlays/Slideover.vue.d.ts +86 -14
- package/dist/runtime/components/overlays/Tooltip.vue.d.ts +90 -15
- package/dist/runtime/composables/{defineShortcuts.mjs → defineShortcuts.js} +1 -1
- package/dist/runtime/composables/{useButtonGroup.mjs → useButtonGroup.js} +8 -9
- package/dist/runtime/composables/useCopyToClipboard.d.ts +1 -1
- package/dist/runtime/composables/{useCopyToClipboard.mjs → useCopyToClipboard.js} +1 -1
- package/dist/runtime/composables/useFormGroup.d.ts +5 -5
- package/dist/runtime/composables/useFormGroup.js +49 -0
- package/dist/runtime/composables/useModal.d.ts +3 -3
- package/dist/runtime/composables/{useModal.mjs → useModal.js} +2 -4
- package/dist/runtime/composables/usePopper.d.ts +90 -54
- package/dist/runtime/composables/useShortcuts.d.ts +4 -4
- package/dist/runtime/composables/useSlideover.d.ts +3 -3
- package/dist/runtime/composables/{useSlideover.mjs → useSlideover.js} +2 -4
- package/dist/runtime/composables/useTimer.d.ts +1 -1
- package/dist/runtime/composables/useToast.d.ts +11 -11
- package/dist/runtime/composables/useUI.d.ts +1 -1
- package/dist/runtime/composables/{useUI.mjs → useUI.js} +1 -1
- package/dist/runtime/plugins/colors.d.ts +1 -1
- package/dist/runtime/plugins/{colors.mjs → colors.js} +1 -1
- package/dist/runtime/plugins/modals.d.ts +1 -1
- package/dist/runtime/plugins/{modals.mjs → modals.js} +1 -1
- package/dist/runtime/plugins/slideovers.d.ts +1 -1
- package/dist/runtime/plugins/{slideovers.mjs → slideovers.js} +1 -1
- package/dist/runtime/types/accordion.d.ts +6 -7
- package/dist/runtime/types/accordion.js +0 -0
- package/dist/runtime/types/alert.d.ts +8 -10
- package/dist/runtime/types/alert.js +0 -0
- package/dist/runtime/types/avatar.d.ts +13 -15
- package/dist/runtime/types/avatar.js +0 -0
- package/dist/runtime/types/badge.d.ts +11 -13
- package/dist/runtime/types/badge.js +0 -0
- package/dist/runtime/types/breadcrumb.d.ts +6 -8
- package/dist/runtime/types/breadcrumb.js +0 -0
- package/dist/runtime/types/button.d.ts +27 -29
- package/dist/runtime/types/button.js +0 -0
- package/dist/runtime/types/chip.d.ts +11 -13
- package/dist/runtime/types/chip.js +0 -0
- package/dist/runtime/types/clipboard.d.ts +7 -1
- package/dist/runtime/types/clipboard.js +0 -0
- package/dist/runtime/types/command-palette.d.ts +23 -24
- package/dist/runtime/types/command-palette.js +0 -0
- package/dist/runtime/types/component.d.ts +17 -14
- package/dist/runtime/types/component.js +0 -0
- package/dist/runtime/types/divider.d.ts +2 -3
- package/dist/runtime/types/divider.js +0 -0
- package/dist/runtime/types/dropdown.d.ts +12 -13
- package/dist/runtime/types/dropdown.js +0 -0
- package/dist/runtime/types/form-group.d.ts +4 -5
- package/dist/runtime/types/form-group.js +0 -0
- package/dist/runtime/types/form.d.ts +29 -28
- package/dist/runtime/types/form.js +0 -0
- package/dist/runtime/types/horizontal-navigation.d.ts +10 -11
- package/dist/runtime/types/horizontal-navigation.js +0 -0
- package/dist/runtime/types/index.d.ts +31 -31
- package/dist/runtime/types/index.js +31 -0
- package/dist/runtime/types/input.d.ts +7 -8
- package/dist/runtime/types/input.js +0 -0
- package/dist/runtime/types/kbd.d.ts +4 -5
- package/dist/runtime/types/kbd.js +0 -0
- package/dist/runtime/types/link.d.ts +9 -10
- package/dist/runtime/types/link.js +0 -0
- package/dist/runtime/types/meter.d.ts +4 -5
- package/dist/runtime/types/meter.js +0 -0
- package/dist/runtime/types/modal.d.ts +13 -15
- package/dist/runtime/types/modal.js +0 -0
- package/dist/runtime/types/notification.d.ts +17 -20
- package/dist/runtime/types/notification.js +0 -0
- package/dist/runtime/types/popper.d.ts +13 -15
- package/dist/runtime/types/popper.js +0 -0
- package/dist/runtime/types/progress.d.ts +5 -6
- package/dist/runtime/types/progress.js +0 -0
- package/dist/runtime/types/range.d.ts +6 -7
- package/dist/runtime/types/range.js +0 -0
- package/dist/runtime/types/select.d.ts +7 -8
- package/dist/runtime/types/select.js +0 -0
- package/dist/runtime/types/slideover.d.ts +10 -12
- package/dist/runtime/types/slideover.js +0 -0
- package/dist/runtime/types/tabs.d.ts +6 -5
- package/dist/runtime/types/tabs.js +0 -0
- package/dist/runtime/types/textarea.d.ts +7 -8
- package/dist/runtime/types/textarea.js +0 -0
- package/dist/runtime/types/toggle.d.ts +6 -7
- package/dist/runtime/types/toggle.js +0 -0
- package/dist/runtime/types/tooltip.d.ts +5 -5
- package/dist/runtime/types/tooltip.js +0 -0
- package/dist/runtime/types/utils.d.ts +15 -27
- package/dist/runtime/types/utils.js +0 -0
- package/dist/runtime/types/vertical-navigation.d.ts +10 -11
- package/dist/runtime/types/vertical-navigation.js +0 -0
- package/dist/runtime/ui.config/data/table.d.ts +10 -0
- package/dist/runtime/ui.config/data/{table.mjs → table.js} +10 -0
- package/dist/runtime/ui.config/elements/accordion.d.ts +1 -0
- package/dist/runtime/ui.config/elements/{accordion.mjs → accordion.js} +3 -2
- package/dist/runtime/ui.config/elements/alert.d.ts +2 -2
- package/dist/runtime/ui.config/elements/avatar.d.ts +2 -2
- package/dist/runtime/ui.config/elements/{carousel.mjs → carousel.js} +1 -1
- package/dist/runtime/ui.config/elements/{dropdown.mjs → dropdown.js} +1 -1
- package/dist/runtime/ui.config/forms/{inputMenu.mjs → inputMenu.js} +1 -1
- package/dist/runtime/ui.config/forms/{select.mjs → select.js} +1 -1
- package/dist/runtime/ui.config/forms/{selectMenu.mjs → selectMenu.js} +2 -2
- package/dist/runtime/ui.config/forms/{textarea.mjs → textarea.js} +1 -1
- package/dist/runtime/ui.config/forms/toggle.d.ts +2 -2
- package/dist/runtime/ui.config/index.d.ts +43 -43
- package/dist/runtime/ui.config/index.js +43 -0
- package/dist/runtime/ui.config/navigation/{breadcrumb.mjs → breadcrumb.js} +2 -2
- package/dist/runtime/ui.config/navigation/commandPalette.d.ts +1 -1
- package/dist/runtime/ui.config/navigation/tabs.d.ts +1 -0
- package/dist/runtime/ui.config/navigation/{tabs.mjs → tabs.js} +2 -1
- package/dist/runtime/ui.config/overlays/{contextMenu.mjs → contextMenu.js} +1 -1
- package/dist/runtime/ui.config/overlays/{modal.mjs → modal.js} +2 -2
- package/dist/runtime/ui.config/overlays/notification.d.ts +1 -1
- package/dist/runtime/ui.config/overlays/{popover.mjs → popover.js} +1 -1
- package/dist/runtime/ui.config/overlays/{slideover.mjs → slideover.js} +2 -2
- package/dist/runtime/ui.config/overlays/{tooltip.mjs → tooltip.js} +1 -1
- package/dist/runtime/utils/colors.d.ts +2 -2
- package/dist/runtime/utils/{colors.mjs → colors.js} +1 -1
- package/dist/runtime/utils/index.d.ts +4 -4
- package/dist/runtime/utils/{index.mjs → index.js} +2 -2
- package/dist/runtime/utils/link.d.ts +26 -24
- package/dist/runtime/utils/{link.mjs → link.js} +1 -1
- package/dist/types.d.mts +1 -16
- package/dist/types.d.ts +1 -16
- package/package.json +19 -21
- package/dist/runtime/composables/useFormGroup.mjs +0 -45
- package/dist/runtime/ui.config/index.mjs +0 -43
- /package/dist/runtime/composables/{useCarouselScroll.mjs → useCarouselScroll.js} +0 -0
- /package/dist/runtime/composables/{usePopper.mjs → usePopper.js} +0 -0
- /package/dist/runtime/composables/{useShortcuts.mjs → useShortcuts.js} +0 -0
- /package/dist/runtime/composables/{useTimer.mjs → useTimer.js} +0 -0
- /package/dist/runtime/composables/{useToast.mjs → useToast.js} +0 -0
- /package/dist/runtime/ui.config/elements/{alert.mjs → alert.js} +0 -0
- /package/dist/runtime/ui.config/elements/{avatar.mjs → avatar.js} +0 -0
- /package/dist/runtime/ui.config/elements/{avatarGroup.mjs → avatarGroup.js} +0 -0
- /package/dist/runtime/ui.config/elements/{badge.mjs → badge.js} +0 -0
- /package/dist/runtime/ui.config/elements/{button.mjs → button.js} +0 -0
- /package/dist/runtime/ui.config/elements/{buttonGroup.mjs → buttonGroup.js} +0 -0
- /package/dist/runtime/ui.config/elements/{chip.mjs → chip.js} +0 -0
- /package/dist/runtime/ui.config/elements/{kbd.mjs → kbd.js} +0 -0
- /package/dist/runtime/ui.config/elements/{meter.mjs → meter.js} +0 -0
- /package/dist/runtime/ui.config/elements/{meterGroup.mjs → meterGroup.js} +0 -0
- /package/dist/runtime/ui.config/elements/{progress.mjs → progress.js} +0 -0
- /package/dist/runtime/ui.config/forms/{checkbox.mjs → checkbox.js} +0 -0
- /package/dist/runtime/ui.config/forms/{formGroup.mjs → formGroup.js} +0 -0
- /package/dist/runtime/ui.config/forms/{input.mjs → input.js} +0 -0
- /package/dist/runtime/ui.config/forms/{radio.mjs → radio.js} +0 -0
- /package/dist/runtime/ui.config/forms/{radioGroup.mjs → radioGroup.js} +0 -0
- /package/dist/runtime/ui.config/forms/{range.mjs → range.js} +0 -0
- /package/dist/runtime/ui.config/forms/{toggle.mjs → toggle.js} +0 -0
- /package/dist/runtime/ui.config/layout/{card.mjs → card.js} +0 -0
- /package/dist/runtime/ui.config/layout/{container.mjs → container.js} +0 -0
- /package/dist/runtime/ui.config/layout/{divider.mjs → divider.js} +0 -0
- /package/dist/runtime/ui.config/layout/{skeleton.mjs → skeleton.js} +0 -0
- /package/dist/runtime/ui.config/navigation/{commandPalette.mjs → commandPalette.js} +0 -0
- /package/dist/runtime/ui.config/navigation/{horizontalNavigation.mjs → horizontalNavigation.js} +0 -0
- /package/dist/runtime/ui.config/navigation/{pagination.mjs → pagination.js} +0 -0
- /package/dist/runtime/ui.config/navigation/{verticalNavigation.mjs → verticalNavigation.js} +0 -0
- /package/dist/runtime/ui.config/overlays/{notification.mjs → notification.js} +0 -0
- /package/dist/runtime/ui.config/overlays/{notifications.mjs → notifications.js} +0 -0
- /package/dist/runtime/ui.config/{popper.mjs → popper.js} +0 -0
- /package/dist/runtime/utils/{lodash.mjs → lodash.js} +0 -0
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
export { default as table } from './data/table';
|
|
2
|
-
export { default as avatar } from './elements/avatar';
|
|
3
|
-
export { default as avatarGroup } from './elements/avatarGroup';
|
|
4
|
-
export { default as badge } from './elements/badge';
|
|
5
|
-
export { default as button } from './elements/button';
|
|
6
|
-
export { default as buttonGroup } from './elements/buttonGroup';
|
|
7
|
-
export { default as chip } from './elements/chip';
|
|
8
|
-
export { default as dropdown } from './elements/dropdown';
|
|
9
|
-
export { default as accordion } from './elements/accordion';
|
|
10
|
-
export { default as alert } from './elements/alert';
|
|
11
|
-
export { default as kbd } from './elements/kbd';
|
|
12
|
-
export { default as progress } from './elements/progress';
|
|
13
|
-
export { default as meter } from './elements/meter';
|
|
14
|
-
export { default as meterGroup } from './elements/meterGroup';
|
|
15
|
-
export { default as carousel } from './elements/carousel';
|
|
16
|
-
export { default as input } from './forms/input';
|
|
17
|
-
export { default as inputMenu } from './forms/inputMenu';
|
|
18
|
-
export { default as formGroup } from './forms/formGroup';
|
|
19
|
-
export { default as textarea } from './forms/textarea';
|
|
20
|
-
export { default as select } from './forms/select';
|
|
21
|
-
export { default as selectMenu } from './forms/selectMenu';
|
|
22
|
-
export { default as radioGroup } from './forms/radioGroup';
|
|
23
|
-
export { default as radio } from './forms/radio';
|
|
24
|
-
export { default as checkbox } from './forms/checkbox';
|
|
25
|
-
export { default as toggle } from './forms/toggle';
|
|
26
|
-
export { default as range } from './forms/range';
|
|
27
|
-
export { default as card } from './layout/card';
|
|
28
|
-
export { default as container } from './layout/container';
|
|
29
|
-
export { default as skeleton } from './layout/skeleton';
|
|
30
|
-
export { default as divider } from './layout/divider';
|
|
31
|
-
export { default as verticalNavigation } from './navigation/verticalNavigation';
|
|
32
|
-
export { default as horizontalNavigation } from './navigation/horizontalNavigation';
|
|
33
|
-
export { default as commandPalette } from './navigation/commandPalette';
|
|
34
|
-
export { default as pagination } from './navigation/pagination';
|
|
35
|
-
export { default as tabs } from './navigation/tabs';
|
|
36
|
-
export { default as breadcrumb } from './navigation/breadcrumb';
|
|
37
|
-
export { default as modal } from './overlays/modal';
|
|
38
|
-
export { default as slideover } from './overlays/slideover';
|
|
39
|
-
export { default as tooltip } from './overlays/tooltip';
|
|
40
|
-
export { default as popover } from './overlays/popover';
|
|
41
|
-
export { default as contextMenu } from './overlays/contextMenu';
|
|
42
|
-
export { default as notification } from './overlays/notification';
|
|
43
|
-
export { default as notifications } from './overlays/notifications';
|
|
1
|
+
export { default as table } from './data/table.js';
|
|
2
|
+
export { default as avatar } from './elements/avatar.js';
|
|
3
|
+
export { default as avatarGroup } from './elements/avatarGroup.js';
|
|
4
|
+
export { default as badge } from './elements/badge.js';
|
|
5
|
+
export { default as button } from './elements/button.js';
|
|
6
|
+
export { default as buttonGroup } from './elements/buttonGroup.js';
|
|
7
|
+
export { default as chip } from './elements/chip.js';
|
|
8
|
+
export { default as dropdown } from './elements/dropdown.js';
|
|
9
|
+
export { default as accordion } from './elements/accordion.js';
|
|
10
|
+
export { default as alert } from './elements/alert.js';
|
|
11
|
+
export { default as kbd } from './elements/kbd.js';
|
|
12
|
+
export { default as progress } from './elements/progress.js';
|
|
13
|
+
export { default as meter } from './elements/meter.js';
|
|
14
|
+
export { default as meterGroup } from './elements/meterGroup.js';
|
|
15
|
+
export { default as carousel } from './elements/carousel.js';
|
|
16
|
+
export { default as input } from './forms/input.js';
|
|
17
|
+
export { default as inputMenu } from './forms/inputMenu.js';
|
|
18
|
+
export { default as formGroup } from './forms/formGroup.js';
|
|
19
|
+
export { default as textarea } from './forms/textarea.js';
|
|
20
|
+
export { default as select } from './forms/select.js';
|
|
21
|
+
export { default as selectMenu } from './forms/selectMenu.js';
|
|
22
|
+
export { default as radioGroup } from './forms/radioGroup.js';
|
|
23
|
+
export { default as radio } from './forms/radio.js';
|
|
24
|
+
export { default as checkbox } from './forms/checkbox.js';
|
|
25
|
+
export { default as toggle } from './forms/toggle.js';
|
|
26
|
+
export { default as range } from './forms/range.js';
|
|
27
|
+
export { default as card } from './layout/card.js';
|
|
28
|
+
export { default as container } from './layout/container.js';
|
|
29
|
+
export { default as skeleton } from './layout/skeleton.js';
|
|
30
|
+
export { default as divider } from './layout/divider.js';
|
|
31
|
+
export { default as verticalNavigation } from './navigation/verticalNavigation.js';
|
|
32
|
+
export { default as horizontalNavigation } from './navigation/horizontalNavigation.js';
|
|
33
|
+
export { default as commandPalette } from './navigation/commandPalette.js';
|
|
34
|
+
export { default as pagination } from './navigation/pagination.js';
|
|
35
|
+
export { default as tabs } from './navigation/tabs.js';
|
|
36
|
+
export { default as breadcrumb } from './navigation/breadcrumb.js';
|
|
37
|
+
export { default as modal } from './overlays/modal.js';
|
|
38
|
+
export { default as slideover } from './overlays/slideover.js';
|
|
39
|
+
export { default as tooltip } from './overlays/tooltip.js';
|
|
40
|
+
export { default as popover } from './overlays/popover.js';
|
|
41
|
+
export { default as contextMenu } from './overlays/contextMenu.js';
|
|
42
|
+
export { default as notification } from './overlays/notification.js';
|
|
43
|
+
export { default as notifications } from './overlays/notifications.js';
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export { default as table } from "./data/table.js";
|
|
2
|
+
export { default as avatar } from "./elements/avatar.js";
|
|
3
|
+
export { default as avatarGroup } from "./elements/avatarGroup.js";
|
|
4
|
+
export { default as badge } from "./elements/badge.js";
|
|
5
|
+
export { default as button } from "./elements/button.js";
|
|
6
|
+
export { default as buttonGroup } from "./elements/buttonGroup.js";
|
|
7
|
+
export { default as chip } from "./elements/chip.js";
|
|
8
|
+
export { default as dropdown } from "./elements/dropdown.js";
|
|
9
|
+
export { default as accordion } from "./elements/accordion.js";
|
|
10
|
+
export { default as alert } from "./elements/alert.js";
|
|
11
|
+
export { default as kbd } from "./elements/kbd.js";
|
|
12
|
+
export { default as progress } from "./elements/progress.js";
|
|
13
|
+
export { default as meter } from "./elements/meter.js";
|
|
14
|
+
export { default as meterGroup } from "./elements/meterGroup.js";
|
|
15
|
+
export { default as carousel } from "./elements/carousel.js";
|
|
16
|
+
export { default as input } from "./forms/input.js";
|
|
17
|
+
export { default as inputMenu } from "./forms/inputMenu.js";
|
|
18
|
+
export { default as formGroup } from "./forms/formGroup.js";
|
|
19
|
+
export { default as textarea } from "./forms/textarea.js";
|
|
20
|
+
export { default as select } from "./forms/select.js";
|
|
21
|
+
export { default as selectMenu } from "./forms/selectMenu.js";
|
|
22
|
+
export { default as radioGroup } from "./forms/radioGroup.js";
|
|
23
|
+
export { default as radio } from "./forms/radio.js";
|
|
24
|
+
export { default as checkbox } from "./forms/checkbox.js";
|
|
25
|
+
export { default as toggle } from "./forms/toggle.js";
|
|
26
|
+
export { default as range } from "./forms/range.js";
|
|
27
|
+
export { default as card } from "./layout/card.js";
|
|
28
|
+
export { default as container } from "./layout/container.js";
|
|
29
|
+
export { default as skeleton } from "./layout/skeleton.js";
|
|
30
|
+
export { default as divider } from "./layout/divider.js";
|
|
31
|
+
export { default as verticalNavigation } from "./navigation/verticalNavigation.js";
|
|
32
|
+
export { default as horizontalNavigation } from "./navigation/horizontalNavigation.js";
|
|
33
|
+
export { default as commandPalette } from "./navigation/commandPalette.js";
|
|
34
|
+
export { default as pagination } from "./navigation/pagination.js";
|
|
35
|
+
export { default as tabs } from "./navigation/tabs.js";
|
|
36
|
+
export { default as breadcrumb } from "./navigation/breadcrumb.js";
|
|
37
|
+
export { default as modal } from "./overlays/modal.js";
|
|
38
|
+
export { default as slideover } from "./overlays/slideover.js";
|
|
39
|
+
export { default as tooltip } from "./overlays/tooltip.js";
|
|
40
|
+
export { default as popover } from "./overlays/popover.js";
|
|
41
|
+
export { default as contextMenu } from "./overlays/contextMenu.js";
|
|
42
|
+
export { default as notification } from "./overlays/notification.js";
|
|
43
|
+
export { default as notifications } from "./overlays/notifications.js";
|
|
@@ -10,11 +10,11 @@ export default {
|
|
|
10
10
|
inactive: ""
|
|
11
11
|
},
|
|
12
12
|
divider: {
|
|
13
|
-
base: "flex-shrink-0 w-5 h-5"
|
|
13
|
+
base: "flex-shrink-0 w-5 h-5 rtl:rotate-180"
|
|
14
14
|
},
|
|
15
15
|
active: "text-primary-500 dark:text-primary-400",
|
|
16
16
|
inactive: " hover:text-gray-700 dark:hover:text-gray-200",
|
|
17
17
|
default: {
|
|
18
|
-
divider: "i-heroicons-chevron-right-20-solid
|
|
18
|
+
divider: "i-heroicons-chevron-right-20-solid"
|
|
19
19
|
}
|
|
20
20
|
};
|
|
@@ -8,7 +8,7 @@ export default {
|
|
|
8
8
|
overlay: {
|
|
9
9
|
base: "fixed inset-0 transition-opacity",
|
|
10
10
|
background: "bg-gray-200/75 dark:bg-gray-800/75",
|
|
11
|
-
// Syntax for `<TransitionRoot>` component https://headlessui.com/vue/transition#basic-example
|
|
11
|
+
// Syntax for `<TransitionRoot>` component https://headlessui.com/v1/vue/transition#basic-example
|
|
12
12
|
transition: {
|
|
13
13
|
enter: "ease-out duration-300",
|
|
14
14
|
enterFrom: "opacity-0",
|
|
@@ -25,7 +25,7 @@ export default {
|
|
|
25
25
|
width: "w-full sm:max-w-lg",
|
|
26
26
|
height: "",
|
|
27
27
|
fullscreen: "w-screen h-screen",
|
|
28
|
-
// Syntax for `<TransitionRoot>` component https://headlessui.com/vue/transition#basic-example
|
|
28
|
+
// Syntax for `<TransitionRoot>` component https://headlessui.com/v1/vue/transition#basic-example
|
|
29
29
|
transition: {
|
|
30
30
|
enter: "ease-out duration-300",
|
|
31
31
|
enterFrom: "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",
|
|
@@ -3,7 +3,7 @@ export default {
|
|
|
3
3
|
overlay: {
|
|
4
4
|
base: "fixed inset-0 transition-opacity",
|
|
5
5
|
background: "bg-gray-200/75 dark:bg-gray-800/75",
|
|
6
|
-
// Syntax for `<TransitionRoot>` component https://headlessui.com/vue/transition#basic-example
|
|
6
|
+
// Syntax for `<TransitionRoot>` component https://headlessui.com/v1/vue/transition#basic-example
|
|
7
7
|
transition: {
|
|
8
8
|
enter: "ease-in-out duration-500",
|
|
9
9
|
enterFrom: "opacity-0",
|
|
@@ -28,7 +28,7 @@ export default {
|
|
|
28
28
|
top: "-translate-y-full",
|
|
29
29
|
bottom: "translate-y-full"
|
|
30
30
|
},
|
|
31
|
-
// Syntax for `<TransitionRoot>` component https://headlessui.com/vue/transition#basic-example
|
|
31
|
+
// Syntax for `<TransitionRoot>` component https://headlessui.com/v1/vue/transition#basic-example
|
|
32
32
|
transition: {
|
|
33
33
|
enter: "transform transition ease-in-out duration-300",
|
|
34
34
|
leave: "transform transition ease-in-out duration-200"
|
|
@@ -2,8 +2,8 @@ import type { Config as TWConfig } from 'tailwindcss';
|
|
|
2
2
|
import defaultColors from 'tailwindcss/colors.js';
|
|
3
3
|
type ColorConfig = Exclude<TWConfig['theme']['colors'], Function>;
|
|
4
4
|
export declare const excludeColors: (colors: ColorConfig | typeof defaultColors) => string[];
|
|
5
|
-
export declare const setGlobalColors: (theme: TWConfig[
|
|
6
|
-
export declare const generateSafelist: (colors: string[], globalColors: string[]) =>
|
|
5
|
+
export declare const setGlobalColors: (theme: TWConfig["theme"]) => string[];
|
|
6
|
+
export declare const generateSafelist: (colors: string[], globalColors: string[]) => import("tailwindcss/types/config").SafelistConfig[];
|
|
7
7
|
type SafelistFn = Exclude<NonNullable<Extract<TWConfig['content'], {
|
|
8
8
|
extract?: unknown;
|
|
9
9
|
}>['extract']>, Record<string, unknown>>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { Strategy } from '../types';
|
|
1
|
+
import type { Strategy } from '../types.js';
|
|
2
2
|
export declare function mergeConfig<T>(strategy: Strategy, ...configs: any[]): T;
|
|
3
|
-
export declare function hexToRgb(hex: string): string
|
|
3
|
+
export declare function hexToRgb(hex: string): string;
|
|
4
4
|
export declare function getSlotsChildren(slots: any): any;
|
|
5
5
|
/**
|
|
6
6
|
* "123-foo" will be parsed to 123
|
|
7
7
|
* This is used for the .number modifier in v-model
|
|
8
8
|
*/
|
|
9
9
|
export declare function looseToNumber(val: any): any;
|
|
10
|
-
export * from './lodash';
|
|
11
|
-
export * from './link';
|
|
10
|
+
export * from './lodash.js';
|
|
11
|
+
export * from './link.js';
|
|
@@ -1,68 +1,70 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
+
import type { RouteLocationRaw } from '#vue-router';
|
|
3
|
+
import type { NuxtLinkProps } from '#app';
|
|
2
4
|
export declare const nuxtLinkProps: {
|
|
3
5
|
readonly to: {
|
|
4
6
|
readonly type: PropType<RouteLocationRaw>;
|
|
5
|
-
readonly default:
|
|
7
|
+
readonly default: any;
|
|
6
8
|
readonly required: false;
|
|
7
9
|
};
|
|
8
10
|
readonly href: {
|
|
9
11
|
readonly type: PropType<RouteLocationRaw>;
|
|
10
|
-
readonly default:
|
|
12
|
+
readonly default: any;
|
|
11
13
|
readonly required: false;
|
|
12
14
|
};
|
|
13
15
|
readonly target: {
|
|
14
|
-
readonly type: PropType<NuxtLinkProps>;
|
|
15
|
-
readonly default:
|
|
16
|
+
readonly type: PropType<NuxtLinkProps["target"]>;
|
|
17
|
+
readonly default: any;
|
|
16
18
|
readonly required: false;
|
|
17
19
|
};
|
|
18
20
|
readonly rel: {
|
|
19
|
-
readonly type: PropType<NuxtLinkProps>;
|
|
20
|
-
readonly default:
|
|
21
|
+
readonly type: PropType<NuxtLinkProps["rel"]>;
|
|
22
|
+
readonly default: any;
|
|
21
23
|
readonly required: false;
|
|
22
24
|
};
|
|
23
25
|
readonly noRel: {
|
|
24
|
-
readonly type: PropType<NuxtLinkProps>;
|
|
25
|
-
readonly default:
|
|
26
|
+
readonly type: PropType<NuxtLinkProps["noRel"]>;
|
|
27
|
+
readonly default: any;
|
|
26
28
|
readonly required: false;
|
|
27
29
|
};
|
|
28
30
|
readonly prefetch: {
|
|
29
|
-
readonly type: PropType<NuxtLinkProps>;
|
|
30
|
-
readonly default:
|
|
31
|
+
readonly type: PropType<NuxtLinkProps["prefetch"]>;
|
|
32
|
+
readonly default: any;
|
|
31
33
|
readonly required: false;
|
|
32
34
|
};
|
|
33
35
|
readonly noPrefetch: {
|
|
34
|
-
readonly type: PropType<NuxtLinkProps>;
|
|
35
|
-
readonly default:
|
|
36
|
+
readonly type: PropType<NuxtLinkProps["noPrefetch"]>;
|
|
37
|
+
readonly default: any;
|
|
36
38
|
readonly required: false;
|
|
37
39
|
};
|
|
38
40
|
readonly activeClass: {
|
|
39
|
-
readonly type: PropType<NuxtLinkProps>;
|
|
40
|
-
readonly default:
|
|
41
|
+
readonly type: PropType<NuxtLinkProps["activeClass"]>;
|
|
42
|
+
readonly default: any;
|
|
41
43
|
readonly required: false;
|
|
42
44
|
};
|
|
43
45
|
readonly exactActiveClass: {
|
|
44
|
-
readonly type: PropType<NuxtLinkProps>;
|
|
45
|
-
readonly default:
|
|
46
|
+
readonly type: PropType<NuxtLinkProps["exactActiveClass"]>;
|
|
47
|
+
readonly default: any;
|
|
46
48
|
readonly required: false;
|
|
47
49
|
};
|
|
48
50
|
readonly prefetchedClass: {
|
|
49
|
-
readonly type: PropType<NuxtLinkProps>;
|
|
50
|
-
readonly default:
|
|
51
|
+
readonly type: PropType<NuxtLinkProps["prefetchedClass"]>;
|
|
52
|
+
readonly default: any;
|
|
51
53
|
readonly required: false;
|
|
52
54
|
};
|
|
53
55
|
readonly replace: {
|
|
54
|
-
readonly type: PropType<NuxtLinkProps>;
|
|
55
|
-
readonly default:
|
|
56
|
+
readonly type: PropType<NuxtLinkProps["replace"]>;
|
|
57
|
+
readonly default: any;
|
|
56
58
|
readonly required: false;
|
|
57
59
|
};
|
|
58
60
|
readonly ariaCurrentValue: {
|
|
59
|
-
readonly type: PropType<NuxtLinkProps>;
|
|
60
|
-
readonly default:
|
|
61
|
+
readonly type: PropType<NuxtLinkProps["ariaCurrentValue"]>;
|
|
62
|
+
readonly default: any;
|
|
61
63
|
readonly required: false;
|
|
62
64
|
};
|
|
63
65
|
readonly external: {
|
|
64
|
-
readonly type: PropType<NuxtLinkProps>;
|
|
65
|
-
readonly default:
|
|
66
|
+
readonly type: PropType<NuxtLinkProps["external"]>;
|
|
67
|
+
readonly default: any;
|
|
66
68
|
readonly required: false;
|
|
67
69
|
};
|
|
68
70
|
};
|
|
@@ -114,7 +114,7 @@ export const getNuxtLinkProps = (props) => {
|
|
|
114
114
|
}, {});
|
|
115
115
|
};
|
|
116
116
|
export const getULinkProps = (props) => {
|
|
117
|
-
const keys = [...Object.keys(nuxtLinkProps), ...Object.keys(uLinkProps)];
|
|
117
|
+
const keys = [...Object.keys(nuxtLinkProps), ...Object.keys(uLinkProps), "ariaLabel"];
|
|
118
118
|
return keys.reduce((acc, key) => {
|
|
119
119
|
if (props[key] !== void 0) {
|
|
120
120
|
acc[key] = props[key];
|
package/dist/types.d.mts
CHANGED
|
@@ -1,16 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import type { ModuleOptions } from './module.js'
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
declare module '@nuxt/schema' {
|
|
6
|
-
interface NuxtConfig { ['ui']?: Partial<ModuleOptions> }
|
|
7
|
-
interface NuxtOptions { ['ui']?: ModuleOptions }
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
declare module 'nuxt/schema' {
|
|
11
|
-
interface NuxtConfig { ['ui']?: Partial<ModuleOptions> }
|
|
12
|
-
interface NuxtOptions { ['ui']?: ModuleOptions }
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
|
|
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'
|
|
1
|
+
export { type ModuleOptions, default } from './module.js'
|
package/dist/types.d.ts
CHANGED
|
@@ -1,16 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import type { ModuleOptions } from './module'
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
declare module '@nuxt/schema' {
|
|
6
|
-
interface NuxtConfig { ['ui']?: Partial<ModuleOptions> }
|
|
7
|
-
interface NuxtOptions { ['ui']?: ModuleOptions }
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
declare module 'nuxt/schema' {
|
|
11
|
-
interface NuxtConfig { ['ui']?: Partial<ModuleOptions> }
|
|
12
|
-
interface NuxtOptions { ['ui']?: ModuleOptions }
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
|
|
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'
|
|
1
|
+
export { type ModuleOptions, default } from './module'
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/ui",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"packageManager": "pnpm@9.
|
|
3
|
+
"version": "2.18.1",
|
|
4
|
+
"packageManager": "pnpm@9.5.0",
|
|
5
5
|
"repository": "nuxt/ui",
|
|
6
6
|
"homepage": "https://ui.nuxt.com",
|
|
7
7
|
"type": "module",
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
"test": "vitest"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@egoist/tailwindcss-icons": "^1.8.1",
|
|
38
37
|
"@headlessui/tailwindcss": "^0.2.1",
|
|
39
38
|
"@headlessui/vue": "^1.7.22",
|
|
40
|
-
"@iconify-json/heroicons": "^1.1.
|
|
41
|
-
"@nuxt/
|
|
42
|
-
"@
|
|
43
|
-
"@nuxtjs/
|
|
39
|
+
"@iconify-json/heroicons": "^1.1.22",
|
|
40
|
+
"@nuxt/icon": "^1.2.1",
|
|
41
|
+
"@nuxt/kit": "^3.12.4",
|
|
42
|
+
"@nuxtjs/color-mode": "^3.4.2",
|
|
43
|
+
"@nuxtjs/tailwindcss": "^6.12.1",
|
|
44
44
|
"@popperjs/core": "^2.11.8",
|
|
45
45
|
"@tailwindcss/aspect-ratio": "^0.4.2",
|
|
46
46
|
"@tailwindcss/container-queries": "^0.1.1",
|
|
@@ -51,37 +51,35 @@
|
|
|
51
51
|
"@vueuse/math": "^10.11.0",
|
|
52
52
|
"defu": "^6.1.4",
|
|
53
53
|
"fuse.js": "^6.6.2",
|
|
54
|
-
"nuxt-icon": "^0.6.10",
|
|
55
54
|
"ohash": "^1.1.3",
|
|
56
55
|
"pathe": "^1.1.2",
|
|
57
56
|
"scule": "^1.3.0",
|
|
58
|
-
"tailwind-merge": "^2.
|
|
59
|
-
"tailwindcss": "^3.4.
|
|
57
|
+
"tailwind-merge": "^2.4.0",
|
|
58
|
+
"tailwindcss": "^3.4.6"
|
|
60
59
|
},
|
|
61
60
|
"devDependencies": {
|
|
62
61
|
"@nuxt/eslint-config": "^0.3.13",
|
|
63
|
-
"@nuxt/module-builder": "^0.
|
|
62
|
+
"@nuxt/module-builder": "^0.8.1",
|
|
64
63
|
"@nuxt/test-utils": "^3.13.1",
|
|
65
64
|
"@release-it/conventional-changelog": "^8.0.1",
|
|
66
65
|
"@vue/test-utils": "^2.4.6",
|
|
67
66
|
"eslint": "^8.57.0",
|
|
68
|
-
"happy-dom": "^14.
|
|
69
|
-
"joi": "^17.13.
|
|
70
|
-
"nuxt": "^3.12.
|
|
71
|
-
"release-it": "^17.
|
|
72
|
-
"typescript": "^5.4.5",
|
|
67
|
+
"happy-dom": "^14.12.3",
|
|
68
|
+
"joi": "^17.13.3",
|
|
69
|
+
"nuxt": "^3.12.4",
|
|
70
|
+
"release-it": "^17.6.0",
|
|
73
71
|
"unbuild": "^2.0.0",
|
|
72
|
+
"valibot": "^0.36.0",
|
|
74
73
|
"valibot30": "npm:valibot@0.30.0",
|
|
75
|
-
"
|
|
76
|
-
"vitest": "^
|
|
74
|
+
"valibot31": "npm:valibot@0.31.0",
|
|
75
|
+
"vitest": "^2.0.3",
|
|
77
76
|
"vitest-environment-nuxt": "^1.0.0",
|
|
78
|
-
"vue-tsc": "^2.0.
|
|
77
|
+
"vue-tsc": "^2.0.29",
|
|
79
78
|
"yup": "^1.4.0",
|
|
80
79
|
"zod": "^3.23.8"
|
|
81
80
|
},
|
|
82
81
|
"resolutions": {
|
|
83
82
|
"@nuxt/ui": "workspace:*",
|
|
84
|
-
"
|
|
85
|
-
"vue-tsc": "2.0.16"
|
|
83
|
+
"nuxt-component-meta": "0.6.4"
|
|
86
84
|
}
|
|
87
85
|
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { inject, ref, computed } from "vue";
|
|
2
|
-
import { useDebounceFn } from "@vueuse/core";
|
|
3
|
-
export const useFormGroup = (inputProps, config) => {
|
|
4
|
-
const formBus = inject("form-events", void 0);
|
|
5
|
-
const formGroup = inject("form-group", void 0);
|
|
6
|
-
const formInputs = inject("form-inputs", void 0);
|
|
7
|
-
if (formGroup) {
|
|
8
|
-
if (inputProps?.id) {
|
|
9
|
-
formGroup.inputId.value = inputProps?.id;
|
|
10
|
-
}
|
|
11
|
-
if (formInputs) {
|
|
12
|
-
formInputs.value[formGroup.name.value] = formGroup.inputId.value;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
const blurred = ref(false);
|
|
16
|
-
function emitFormEvent(type, path) {
|
|
17
|
-
if (formBus) {
|
|
18
|
-
formBus.emit({ type, path });
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
function emitFormBlur() {
|
|
22
|
-
emitFormEvent("blur", formGroup?.name.value);
|
|
23
|
-
blurred.value = true;
|
|
24
|
-
}
|
|
25
|
-
function emitFormChange() {
|
|
26
|
-
emitFormEvent("change", formGroup?.name.value);
|
|
27
|
-
}
|
|
28
|
-
const emitFormInput = useDebounceFn(() => {
|
|
29
|
-
if (blurred.value || formGroup?.eagerValidation.value) {
|
|
30
|
-
emitFormEvent("input", formGroup?.name.value);
|
|
31
|
-
}
|
|
32
|
-
}, 300);
|
|
33
|
-
return {
|
|
34
|
-
inputId: computed(() => inputProps?.id ?? formGroup?.inputId.value),
|
|
35
|
-
name: computed(() => inputProps?.name ?? formGroup?.name.value),
|
|
36
|
-
size: computed(() => {
|
|
37
|
-
const formGroupSize = config.size[formGroup?.size.value] ? formGroup?.size.value : null;
|
|
38
|
-
return inputProps?.size ?? formGroupSize ?? config?.default?.size;
|
|
39
|
-
}),
|
|
40
|
-
color: computed(() => formGroup?.error?.value ? "red" : inputProps?.color),
|
|
41
|
-
emitFormBlur,
|
|
42
|
-
emitFormInput,
|
|
43
|
-
emitFormChange
|
|
44
|
-
};
|
|
45
|
-
};
|