@nuxt/ui 2.9.0 → 2.11.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 +11 -0
- package/dist/module.d.mts +449 -72
- package/dist/module.d.ts +449 -72
- package/dist/module.json +1 -1
- package/dist/module.mjs +32 -6
- package/dist/runtime/components/data/Table.vue +8 -6
- package/dist/runtime/components/data/Table.vue.d.ts +2 -1
- package/dist/runtime/components/elements/Accordion.vue +15 -13
- package/dist/runtime/components/elements/Accordion.vue.d.ts +5 -2
- package/dist/runtime/components/elements/Alert.vue +7 -6
- package/dist/runtime/components/elements/Alert.vue.d.ts +6 -5
- package/dist/runtime/components/elements/Avatar.vue.d.ts +5 -4
- package/dist/runtime/components/elements/AvatarGroup.d.ts +4 -3
- package/dist/runtime/components/elements/Badge.vue +4 -2
- package/dist/runtime/components/elements/Badge.vue.d.ts +5 -5
- package/dist/runtime/components/elements/Button.vue +8 -6
- package/dist/runtime/components/elements/Button.vue.d.ts +7 -7
- package/dist/runtime/components/elements/ButtonGroup.d.ts +5 -4
- package/dist/runtime/components/elements/ButtonGroup.mjs +19 -32
- package/dist/runtime/components/elements/Chip.vue +85 -0
- package/dist/runtime/components/elements/Chip.vue.d.ts +90 -0
- package/dist/runtime/components/elements/Dropdown.vue +45 -25
- package/dist/runtime/components/elements/Dropdown.vue.d.ts +8 -0
- package/dist/runtime/components/elements/Icon.vue +16 -2
- package/dist/runtime/components/elements/Icon.vue.d.ts +14 -2
- package/dist/runtime/components/elements/Kbd.vue.d.ts +5 -4
- package/dist/runtime/components/elements/Link.vue +2 -5
- package/dist/runtime/components/elements/Meter.vue +166 -0
- package/dist/runtime/components/elements/Meter.vue.d.ts +123 -0
- package/dist/runtime/components/elements/MeterGroup.d.ts +78 -0
- package/dist/runtime/components/elements/MeterGroup.mjs +172 -0
- package/dist/runtime/components/elements/Progress.vue +284 -0
- package/dist/runtime/components/elements/Progress.vue.d.ts +2 -0
- package/dist/runtime/components/forms/Checkbox.vue +2 -4
- package/dist/runtime/components/forms/Checkbox.vue.d.ts +6 -6
- package/dist/runtime/components/forms/Form.vue +32 -7
- package/dist/runtime/components/forms/Form.vue.d.ts +2 -1
- package/dist/runtime/components/forms/FormGroup.vue +7 -3
- package/dist/runtime/components/forms/FormGroup.vue.d.ts +15 -5
- package/dist/runtime/components/forms/Input.vue +41 -6
- package/dist/runtime/components/forms/Input.vue.d.ts +42 -10
- package/dist/runtime/components/forms/Radio.vue +16 -9
- package/dist/runtime/components/forms/Radio.vue.d.ts +8 -7
- package/dist/runtime/components/forms/RadioGroup.vue +136 -0
- package/dist/runtime/components/forms/RadioGroup.vue.d.ts +118 -0
- package/dist/runtime/components/forms/Range.vue.d.ts +8 -7
- package/dist/runtime/components/forms/Select.vue +5 -2
- package/dist/runtime/components/forms/Select.vue.d.ts +10 -9
- package/dist/runtime/components/forms/SelectMenu.vue +80 -58
- package/dist/runtime/components/forms/SelectMenu.vue.d.ts +23 -13
- package/dist/runtime/components/forms/Textarea.vue +38 -4
- package/dist/runtime/components/forms/Textarea.vue.d.ts +41 -9
- package/dist/runtime/components/forms/Toggle.vue +19 -1
- package/dist/runtime/components/forms/Toggle.vue.d.ts +16 -3
- package/dist/runtime/components/layout/Divider.vue +107 -0
- package/dist/runtime/components/layout/Divider.vue.d.ts +82 -0
- package/dist/runtime/components/navigation/Breadcrumb.vue +78 -0
- package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +50 -0
- package/dist/runtime/components/navigation/CommandPalette.vue +18 -7
- package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +2 -2
- package/dist/runtime/components/navigation/Pagination.vue +65 -9
- package/dist/runtime/components/navigation/Pagination.vue.d.ts +45 -7
- package/dist/runtime/components/navigation/Tabs.vue +1 -1
- package/dist/runtime/components/navigation/Tabs.vue.d.ts +1 -1
- package/dist/runtime/components/overlays/ContextMenu.vue +7 -2
- package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +2 -1
- package/dist/runtime/components/overlays/Modal.vue +1 -1
- package/dist/runtime/components/overlays/Modal.vue.d.ts +1 -1
- package/dist/runtime/components/overlays/Notification.vue +32 -27
- package/dist/runtime/components/overlays/Notification.vue.d.ts +4 -3
- package/dist/runtime/components/overlays/Notifications.vue +16 -14
- package/dist/runtime/components/overlays/Popover.vue +31 -7
- package/dist/runtime/components/overlays/Popover.vue.d.ts +27 -2
- package/dist/runtime/components/overlays/Slideover.vue.d.ts +1 -1
- package/dist/runtime/components/overlays/Tooltip.vue +16 -10
- package/dist/runtime/components/overlays/Tooltip.vue.d.ts +1 -0
- package/dist/runtime/composables/defineShortcuts.d.ts +1 -1
- package/dist/runtime/composables/defineShortcuts.mjs +8 -4
- package/dist/runtime/composables/useButtonGroup.d.ts +20 -0
- package/dist/runtime/composables/useButtonGroup.mjs +52 -0
- package/dist/runtime/composables/useFormGroup.d.ts +6 -4
- package/dist/runtime/composables/useFormGroup.mjs +19 -7
- package/dist/runtime/composables/usePopper.d.ts +3 -3
- package/dist/runtime/composables/usePopper.mjs +7 -1
- package/dist/runtime/composables/useShortcuts.d.ts +2 -2
- package/dist/runtime/composables/useUI.d.ts +2 -2
- package/dist/runtime/composables/useUI.mjs +2 -2
- package/dist/runtime/types/alert.d.ts +7 -0
- package/dist/runtime/types/avatar.d.ts +3 -1
- package/dist/runtime/types/badge.d.ts +5 -4
- package/dist/runtime/types/breadcrumb.d.ts +7 -0
- package/dist/runtime/types/button.d.ts +5 -4
- package/dist/runtime/types/chip.d.ts +11 -0
- package/dist/runtime/types/command-palette.d.ts +1 -0
- package/dist/runtime/types/dropdown.d.ts +2 -2
- package/dist/runtime/types/form-group.d.ts +5 -0
- package/dist/runtime/types/form.d.ts +14 -6
- package/dist/runtime/types/index.d.ts +12 -0
- package/dist/runtime/types/input.d.ts +8 -0
- package/dist/runtime/types/kbd.d.ts +5 -0
- package/dist/runtime/types/meter.d.ts +5 -0
- package/dist/runtime/types/popper.d.ts +1 -0
- package/dist/runtime/types/progress.d.ts +4 -0
- package/dist/runtime/types/range.d.ts +5 -0
- package/dist/runtime/types/select.d.ts +8 -0
- package/dist/runtime/types/textarea.d.ts +8 -0
- package/dist/runtime/types/toggle.d.ts +5 -0
- package/dist/runtime/types/utils.d.ts +22 -5
- package/dist/runtime/ui.config/_popperArrow.d.ts +9 -0
- package/dist/runtime/ui.config/_popperArrow.mjs +8 -0
- package/dist/runtime/ui.config/data/table.d.ts +60 -0
- package/dist/runtime/ui.config/data/table.mjs +59 -0
- package/dist/runtime/ui.config/elements/accordion.d.ts +21 -0
- package/dist/runtime/ui.config/elements/accordion.mjs +20 -0
- package/dist/runtime/ui.config/elements/alert.d.ts +40 -0
- package/dist/runtime/ui.config/elements/alert.mjs +39 -0
- package/dist/runtime/ui.config/elements/avatar.d.ts +60 -0
- package/dist/runtime/ui.config/elements/avatar.mjs +59 -0
- package/dist/runtime/ui.config/elements/avatarGroup.d.ts +6 -0
- package/dist/runtime/ui.config/elements/avatarGroup.mjs +5 -0
- package/dist/runtime/ui.config/elements/badge.d.ts +34 -0
- package/dist/runtime/ui.config/elements/badge.mjs +33 -0
- package/dist/runtime/ui.config/elements/button.d.ts +77 -0
- package/dist/runtime/ui.config/elements/button.mjs +76 -0
- package/dist/runtime/ui.config/elements/buttonGroup.d.ts +9 -0
- package/dist/runtime/ui.config/elements/buttonGroup.mjs +8 -0
- package/dist/runtime/ui.config/elements/chip.d.ts +35 -0
- package/dist/runtime/ui.config/elements/chip.mjs +34 -0
- package/dist/runtime/ui.config/elements/dropdown.d.ts +53 -0
- package/dist/runtime/ui.config/elements/dropdown.mjs +51 -0
- package/dist/runtime/ui.config/elements/kbd.d.ts +17 -0
- package/dist/runtime/ui.config/elements/kbd.mjs +16 -0
- package/dist/runtime/ui.config/elements/meter.d.ts +77 -0
- package/dist/runtime/ui.config/elements/meter.mjs +76 -0
- package/dist/runtime/ui.config/elements/meterGroup.d.ts +12 -0
- package/dist/runtime/ui.config/elements/meterGroup.mjs +11 -0
- package/dist/runtime/ui.config/elements/progress.d.ts +75 -0
- package/dist/runtime/ui.config/elements/progress.mjs +74 -0
- package/dist/runtime/ui.config/forms/checkbox.d.ts +16 -0
- package/dist/runtime/ui.config/forms/checkbox.mjs +15 -0
- package/dist/runtime/ui.config/forms/formGroup.d.ts +25 -0
- package/dist/runtime/ui.config/forms/formGroup.mjs +25 -0
- package/dist/runtime/ui.config/forms/input.d.ts +105 -0
- package/dist/runtime/ui.config/forms/input.mjs +104 -0
- package/dist/runtime/ui.config/forms/radio.d.ts +15 -0
- package/dist/runtime/ui.config/forms/radio.mjs +14 -0
- package/dist/runtime/ui.config/forms/radioGroup.d.ts +8 -0
- package/dist/runtime/ui.config/forms/radioGroup.mjs +7 -0
- package/dist/runtime/ui.config/forms/range.d.ts +64 -0
- package/dist/runtime/ui.config/forms/range.mjs +63 -0
- package/dist/runtime/ui.config/forms/select.d.ts +106 -0
- package/dist/runtime/ui.config/forms/select.mjs +12 -0
- package/dist/runtime/ui.config/forms/selectMenu.d.ts +63 -0
- package/dist/runtime/ui.config/forms/selectMenu.mjs +61 -0
- package/dist/runtime/ui.config/forms/textarea.d.ts +104 -0
- package/dist/runtime/ui.config/forms/textarea.mjs +9 -0
- package/dist/runtime/ui.config/forms/toggle.d.ts +61 -0
- package/dist/runtime/ui.config/forms/toggle.mjs +60 -0
- package/dist/runtime/ui.config/index.d.ts +40 -0
- package/dist/runtime/ui.config/index.mjs +40 -0
- package/dist/runtime/ui.config/layout/card.d.ts +24 -0
- package/dist/runtime/ui.config/layout/card.mjs +23 -0
- package/dist/runtime/ui.config/layout/container.d.ts +6 -0
- package/dist/runtime/ui.config/layout/container.mjs +5 -0
- package/dist/runtime/ui.config/layout/divider.d.ts +30 -0
- package/dist/runtime/ui.config/layout/divider.mjs +29 -0
- package/dist/runtime/ui.config/layout/skeleton.d.ts +6 -0
- package/dist/runtime/ui.config/layout/skeleton.mjs +5 -0
- package/dist/runtime/ui.config/navigation/breadcrumb.d.ts +20 -0
- package/dist/runtime/ui.config/navigation/breadcrumb.mjs +19 -0
- package/dist/runtime/ui.config/navigation/commandPalette.d.ts +68 -0
- package/dist/runtime/ui.config/navigation/commandPalette.mjs +67 -0
- package/dist/runtime/ui.config/navigation/pagination.d.ts +35 -0
- package/dist/runtime/ui.config/navigation/pagination.mjs +34 -0
- package/dist/runtime/ui.config/navigation/tabs.d.ts +34 -0
- package/dist/runtime/ui.config/navigation/tabs.mjs +33 -0
- package/dist/runtime/ui.config/navigation/verticalNavigation.d.ts +28 -0
- package/dist/runtime/ui.config/navigation/verticalNavigation.mjs +27 -0
- package/dist/runtime/ui.config/overlays/contextMenu.d.ts +31 -0
- package/dist/runtime/ui.config/overlays/contextMenu.mjs +25 -0
- package/dist/runtime/ui.config/overlays/modal.d.ts +35 -0
- package/dist/runtime/ui.config/overlays/modal.mjs +36 -0
- package/dist/runtime/ui.config/overlays/notification.d.ts +49 -0
- package/dist/runtime/ui.config/overlays/notification.mjs +49 -0
- package/dist/runtime/ui.config/overlays/notifications.d.ts +7 -0
- package/dist/runtime/ui.config/overlays/notifications.mjs +6 -0
- package/dist/runtime/ui.config/overlays/popover.d.ts +42 -0
- package/dist/runtime/ui.config/overlays/popover.mjs +36 -0
- package/dist/runtime/ui.config/overlays/slideover.d.ts +27 -0
- package/dist/runtime/ui.config/overlays/slideover.mjs +28 -0
- package/dist/runtime/ui.config/overlays/tooltip.d.ts +32 -0
- package/dist/runtime/ui.config/overlays/tooltip.mjs +26 -0
- package/dist/runtime/utils/index.d.ts +5 -0
- package/dist/runtime/utils/index.mjs +6 -2
- package/dist/types.d.mts +3 -2
- package/dist/types.d.ts +3 -2
- package/package.json +41 -28
- package/dist/runtime/ui.config.d.ts +0 -1207
- package/dist/runtime/ui.config.mjs +0 -1029
- package/dist/runtime/utils/StateEmitter.d.ts +0 -17
- package/dist/runtime/utils/StateEmitter.mjs +0 -21
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
base: string;
|
|
3
|
+
font: string;
|
|
4
|
+
rounded: string;
|
|
5
|
+
size: {
|
|
6
|
+
'2xs': string;
|
|
7
|
+
xs: string;
|
|
8
|
+
sm: string;
|
|
9
|
+
md: string;
|
|
10
|
+
lg: string;
|
|
11
|
+
xl: string;
|
|
12
|
+
};
|
|
13
|
+
gap: {
|
|
14
|
+
'2xs': string;
|
|
15
|
+
xs: string;
|
|
16
|
+
sm: string;
|
|
17
|
+
md: string;
|
|
18
|
+
lg: string;
|
|
19
|
+
xl: string;
|
|
20
|
+
};
|
|
21
|
+
padding: {
|
|
22
|
+
'2xs': string;
|
|
23
|
+
xs: string;
|
|
24
|
+
sm: string;
|
|
25
|
+
md: string;
|
|
26
|
+
lg: string;
|
|
27
|
+
xl: string;
|
|
28
|
+
};
|
|
29
|
+
square: {
|
|
30
|
+
'2xs': string;
|
|
31
|
+
xs: string;
|
|
32
|
+
sm: string;
|
|
33
|
+
md: string;
|
|
34
|
+
lg: string;
|
|
35
|
+
xl: string;
|
|
36
|
+
};
|
|
37
|
+
color: {
|
|
38
|
+
white: {
|
|
39
|
+
solid: string;
|
|
40
|
+
ghost: string;
|
|
41
|
+
};
|
|
42
|
+
gray: {
|
|
43
|
+
solid: string;
|
|
44
|
+
ghost: string;
|
|
45
|
+
link: string;
|
|
46
|
+
};
|
|
47
|
+
black: {
|
|
48
|
+
solid: string;
|
|
49
|
+
link: string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
variant: {
|
|
53
|
+
solid: string;
|
|
54
|
+
outline: string;
|
|
55
|
+
soft: string;
|
|
56
|
+
ghost: string;
|
|
57
|
+
link: string;
|
|
58
|
+
};
|
|
59
|
+
icon: {
|
|
60
|
+
base: string;
|
|
61
|
+
size: {
|
|
62
|
+
'2xs': string;
|
|
63
|
+
xs: string;
|
|
64
|
+
sm: string;
|
|
65
|
+
md: string;
|
|
66
|
+
lg: string;
|
|
67
|
+
xl: string;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
default: {
|
|
71
|
+
size: string;
|
|
72
|
+
variant: string;
|
|
73
|
+
color: string;
|
|
74
|
+
loadingIcon: string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
export default _default;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
base: "focus:outline-none focus-visible:outline-0 disabled:cursor-not-allowed disabled:opacity-75 flex-shrink-0",
|
|
3
|
+
font: "font-medium",
|
|
4
|
+
rounded: "rounded-md",
|
|
5
|
+
size: {
|
|
6
|
+
"2xs": "text-xs",
|
|
7
|
+
xs: "text-xs",
|
|
8
|
+
sm: "text-sm",
|
|
9
|
+
md: "text-sm",
|
|
10
|
+
lg: "text-sm",
|
|
11
|
+
xl: "text-base"
|
|
12
|
+
},
|
|
13
|
+
gap: {
|
|
14
|
+
"2xs": "gap-x-1",
|
|
15
|
+
xs: "gap-x-1.5",
|
|
16
|
+
sm: "gap-x-1.5",
|
|
17
|
+
md: "gap-x-2",
|
|
18
|
+
lg: "gap-x-2.5",
|
|
19
|
+
xl: "gap-x-2.5"
|
|
20
|
+
},
|
|
21
|
+
padding: {
|
|
22
|
+
"2xs": "px-2 py-1",
|
|
23
|
+
xs: "px-2.5 py-1.5",
|
|
24
|
+
sm: "px-2.5 py-1.5",
|
|
25
|
+
md: "px-3 py-2",
|
|
26
|
+
lg: "px-3.5 py-2.5",
|
|
27
|
+
xl: "px-3.5 py-2.5"
|
|
28
|
+
},
|
|
29
|
+
square: {
|
|
30
|
+
"2xs": "p-1",
|
|
31
|
+
xs: "p-1.5",
|
|
32
|
+
sm: "p-1.5",
|
|
33
|
+
md: "p-2",
|
|
34
|
+
lg: "p-2.5",
|
|
35
|
+
xl: "p-2.5"
|
|
36
|
+
},
|
|
37
|
+
color: {
|
|
38
|
+
white: {
|
|
39
|
+
solid: "shadow-sm ring-1 ring-inset ring-gray-300 dark:ring-gray-700 text-gray-900 dark:text-white bg-white hover:bg-gray-50 disabled:bg-white dark:bg-gray-900 dark:hover:bg-gray-800/50 dark:disabled:bg-gray-900 focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400",
|
|
40
|
+
ghost: "text-gray-900 dark:text-white hover:bg-white dark:hover:bg-gray-900 focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400"
|
|
41
|
+
},
|
|
42
|
+
gray: {
|
|
43
|
+
solid: "shadow-sm ring-1 ring-inset ring-gray-300 dark:ring-gray-700 text-gray-700 dark:text-gray-200 bg-gray-50 hover:bg-gray-100 disabled:bg-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700/50 dark:disabled:bg-gray-800 focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400",
|
|
44
|
+
ghost: "text-gray-700 dark:text-gray-200 hover:text-gray-900 dark:hover:text-white hover:bg-gray-50 dark:hover:bg-gray-800 focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400",
|
|
45
|
+
link: "text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200 underline-offset-4 hover:underline focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400"
|
|
46
|
+
},
|
|
47
|
+
black: {
|
|
48
|
+
solid: "shadow-sm text-white dark:text-gray-900 bg-gray-900 hover:bg-gray-800 disabled:bg-gray-900 dark:bg-white dark:hover:bg-gray-100 dark:disabled:bg-white focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400",
|
|
49
|
+
link: "text-gray-900 dark:text-white underline-offset-4 hover:underline focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
variant: {
|
|
53
|
+
solid: "shadow-sm text-white dark:text-gray-900 bg-{color}-500 hover:bg-{color}-600 disabled:bg-{color}-500 dark:bg-{color}-400 dark:hover:bg-{color}-500 dark:disabled:bg-{color}-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-{color}-500 dark:focus-visible:outline-{color}-400",
|
|
54
|
+
outline: "ring-1 ring-inset ring-current text-{color}-500 dark:text-{color}-400 hover:bg-{color}-50 disabled:bg-transparent dark:hover:bg-{color}-950 dark:disabled:bg-transparent focus-visible:ring-2 focus-visible:ring-{color}-500 dark:focus-visible:ring-{color}-400",
|
|
55
|
+
soft: "text-{color}-500 dark:text-{color}-400 bg-{color}-50 hover:bg-{color}-100 disabled:bg-{color}-50 dark:bg-{color}-950 dark:hover:bg-{color}-900 dark:disabled:bg-{color}-950 focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-{color}-500 dark:focus-visible:ring-{color}-400",
|
|
56
|
+
ghost: "text-{color}-500 dark:text-{color}-400 hover:bg-{color}-50 disabled:bg-transparent dark:hover:bg-{color}-950 dark:disabled:bg-transparent focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-{color}-500 dark:focus-visible:ring-{color}-400",
|
|
57
|
+
link: "text-{color}-500 hover:text-{color}-600 disabled:text-{color}-500 dark:text-{color}-400 dark:hover:text-{color}-500 dark:disabled:text-{color}-400 underline-offset-4 hover:underline focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-{color}-500 dark:focus-visible:ring-{color}-400"
|
|
58
|
+
},
|
|
59
|
+
icon: {
|
|
60
|
+
base: "flex-shrink-0",
|
|
61
|
+
size: {
|
|
62
|
+
"2xs": "h-4 w-4",
|
|
63
|
+
xs: "h-4 w-4",
|
|
64
|
+
sm: "h-5 w-5",
|
|
65
|
+
md: "h-5 w-5",
|
|
66
|
+
lg: "h-5 w-5",
|
|
67
|
+
xl: "h-6 w-6"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
default: {
|
|
71
|
+
size: "sm",
|
|
72
|
+
variant: "solid",
|
|
73
|
+
color: "primary",
|
|
74
|
+
loadingIcon: "i-heroicons-arrow-path-20-solid"
|
|
75
|
+
}
|
|
76
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
wrapper: string;
|
|
3
|
+
base: string;
|
|
4
|
+
background: string;
|
|
5
|
+
position: {
|
|
6
|
+
'top-right': string;
|
|
7
|
+
'bottom-right': string;
|
|
8
|
+
'top-left': string;
|
|
9
|
+
'bottom-left': string;
|
|
10
|
+
};
|
|
11
|
+
translate: {
|
|
12
|
+
'top-right': string;
|
|
13
|
+
'bottom-right': string;
|
|
14
|
+
'top-left': string;
|
|
15
|
+
'bottom-left': string;
|
|
16
|
+
};
|
|
17
|
+
size: {
|
|
18
|
+
'3xs': string;
|
|
19
|
+
'2xs': string;
|
|
20
|
+
xs: string;
|
|
21
|
+
sm: string;
|
|
22
|
+
md: string;
|
|
23
|
+
lg: string;
|
|
24
|
+
xl: string;
|
|
25
|
+
'2xl': string;
|
|
26
|
+
'3xl': string;
|
|
27
|
+
};
|
|
28
|
+
default: {
|
|
29
|
+
size: string;
|
|
30
|
+
color: string;
|
|
31
|
+
position: string;
|
|
32
|
+
inset: boolean;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
export default _default;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
wrapper: "relative inline-flex items-center justify-center flex-shrink-0",
|
|
3
|
+
base: "absolute rounded-full ring-1 ring-white dark:ring-gray-900 flex items-center justify-center text-white dark:text-gray-900 font-medium whitespace-nowrap",
|
|
4
|
+
background: "bg-{color}-500 dark:bg-{color}-400",
|
|
5
|
+
position: {
|
|
6
|
+
"top-right": "top-0 right-0",
|
|
7
|
+
"bottom-right": "bottom-0 right-0",
|
|
8
|
+
"top-left": "top-0 left-0",
|
|
9
|
+
"bottom-left": "bottom-0 left-0"
|
|
10
|
+
},
|
|
11
|
+
translate: {
|
|
12
|
+
"top-right": "-translate-y-1/2 translate-x-1/2 transform",
|
|
13
|
+
"bottom-right": "translate-y-1/2 translate-x-1/2 transform",
|
|
14
|
+
"top-left": "-translate-y-1/2 -translate-x-1/2 transform",
|
|
15
|
+
"bottom-left": "translate-y-1/2 -translate-x-1/2 transform"
|
|
16
|
+
},
|
|
17
|
+
size: {
|
|
18
|
+
"3xs": "h-[4px] min-w-[4px] text-[4px] p-px",
|
|
19
|
+
"2xs": "h-[5px] min-w-[5px] text-[5px] p-px",
|
|
20
|
+
xs: "h-1.5 min-w-[0.375rem] text-[6px] p-px",
|
|
21
|
+
sm: "h-2 min-w-[0.5rem] text-[7px] p-0.5",
|
|
22
|
+
md: "h-2.5 min-w-[0.625rem] text-[8px] p-0.5",
|
|
23
|
+
lg: "h-3 min-w-[0.75rem] text-[10px] p-0.5",
|
|
24
|
+
xl: "h-3.5 min-w-[0.875rem] text-[11px] p-1",
|
|
25
|
+
"2xl": "h-4 min-w-[1rem] text-[12px] p-1",
|
|
26
|
+
"3xl": "h-5 min-w-[1.25rem] text-[14px] p-1"
|
|
27
|
+
},
|
|
28
|
+
default: {
|
|
29
|
+
size: "sm",
|
|
30
|
+
color: "primary",
|
|
31
|
+
position: "top-right",
|
|
32
|
+
inset: false
|
|
33
|
+
}
|
|
34
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
wrapper: string;
|
|
3
|
+
container: string;
|
|
4
|
+
width: string;
|
|
5
|
+
height: string;
|
|
6
|
+
background: string;
|
|
7
|
+
shadow: string;
|
|
8
|
+
rounded: string;
|
|
9
|
+
ring: string;
|
|
10
|
+
base: string;
|
|
11
|
+
divide: string;
|
|
12
|
+
padding: string;
|
|
13
|
+
item: {
|
|
14
|
+
base: string;
|
|
15
|
+
rounded: string;
|
|
16
|
+
padding: string;
|
|
17
|
+
size: string;
|
|
18
|
+
active: string;
|
|
19
|
+
inactive: string;
|
|
20
|
+
disabled: string;
|
|
21
|
+
icon: {
|
|
22
|
+
base: string;
|
|
23
|
+
active: string;
|
|
24
|
+
inactive: string;
|
|
25
|
+
};
|
|
26
|
+
avatar: {
|
|
27
|
+
base: string;
|
|
28
|
+
size: string;
|
|
29
|
+
};
|
|
30
|
+
shortcuts: string;
|
|
31
|
+
};
|
|
32
|
+
transition: {
|
|
33
|
+
enterActiveClass: string;
|
|
34
|
+
enterFromClass: string;
|
|
35
|
+
enterToClass: string;
|
|
36
|
+
leaveActiveClass: string;
|
|
37
|
+
leaveFromClass: string;
|
|
38
|
+
leaveToClass: string;
|
|
39
|
+
};
|
|
40
|
+
popper: {
|
|
41
|
+
placement: string;
|
|
42
|
+
strategy: string;
|
|
43
|
+
};
|
|
44
|
+
arrow: {
|
|
45
|
+
ring: string;
|
|
46
|
+
background: string;
|
|
47
|
+
base: string;
|
|
48
|
+
rounded: string;
|
|
49
|
+
shadow: string;
|
|
50
|
+
placement: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
export default _default;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import _popperArrow from "../_popperArrow.mjs";
|
|
2
|
+
export default {
|
|
3
|
+
wrapper: "relative inline-flex text-left rtl:text-right",
|
|
4
|
+
container: "z-20 group",
|
|
5
|
+
width: "w-48",
|
|
6
|
+
height: "",
|
|
7
|
+
background: "bg-white dark:bg-gray-800",
|
|
8
|
+
shadow: "shadow-lg",
|
|
9
|
+
rounded: "rounded-md",
|
|
10
|
+
ring: "ring-1 ring-gray-200 dark:ring-gray-700",
|
|
11
|
+
base: "relative focus:outline-none overflow-y-auto scroll-py-1",
|
|
12
|
+
divide: "divide-y divide-gray-200 dark:divide-gray-700",
|
|
13
|
+
padding: "p-1",
|
|
14
|
+
item: {
|
|
15
|
+
base: "group flex items-center gap-2 w-full",
|
|
16
|
+
rounded: "rounded-md",
|
|
17
|
+
padding: "px-2 py-1.5",
|
|
18
|
+
size: "text-sm",
|
|
19
|
+
active: "bg-gray-100 dark:bg-gray-900 text-gray-900 dark:text-white",
|
|
20
|
+
inactive: "text-gray-700 dark:text-gray-200",
|
|
21
|
+
disabled: "cursor-not-allowed opacity-50",
|
|
22
|
+
icon: {
|
|
23
|
+
base: "flex-shrink-0 h-4 w-4",
|
|
24
|
+
active: "text-gray-500 dark:text-gray-400",
|
|
25
|
+
inactive: "text-gray-400 dark:text-gray-500"
|
|
26
|
+
},
|
|
27
|
+
avatar: {
|
|
28
|
+
base: "flex-shrink-0",
|
|
29
|
+
size: "3xs"
|
|
30
|
+
},
|
|
31
|
+
shortcuts: "hidden md:inline-flex flex-shrink-0 gap-0.5 ms-auto"
|
|
32
|
+
},
|
|
33
|
+
// Syntax for `<Transition>` component https://vuejs.org/guide/built-ins/transition.html#css-based-transitions
|
|
34
|
+
transition: {
|
|
35
|
+
enterActiveClass: "transition duration-100 ease-out",
|
|
36
|
+
enterFromClass: "transform scale-95 opacity-0",
|
|
37
|
+
enterToClass: "transform scale-100 opacity-100",
|
|
38
|
+
leaveActiveClass: "transition duration-75 ease-in",
|
|
39
|
+
leaveFromClass: "transform scale-100 opacity-100",
|
|
40
|
+
leaveToClass: "transform scale-95 opacity-0"
|
|
41
|
+
},
|
|
42
|
+
popper: {
|
|
43
|
+
placement: "bottom-end",
|
|
44
|
+
strategy: "fixed"
|
|
45
|
+
},
|
|
46
|
+
arrow: {
|
|
47
|
+
..._popperArrow,
|
|
48
|
+
ring: "before:ring-1 before:ring-gray-200 dark:before:ring-gray-700",
|
|
49
|
+
background: "before:bg-white dark:before:bg-gray-700"
|
|
50
|
+
}
|
|
51
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
base: string;
|
|
3
|
+
padding: string;
|
|
4
|
+
size: {
|
|
5
|
+
xs: string;
|
|
6
|
+
sm: string;
|
|
7
|
+
md: string;
|
|
8
|
+
};
|
|
9
|
+
rounded: string;
|
|
10
|
+
font: string;
|
|
11
|
+
background: string;
|
|
12
|
+
ring: string;
|
|
13
|
+
default: {
|
|
14
|
+
size: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
base: "inline-flex items-center justify-center text-gray-900 dark:text-white",
|
|
3
|
+
padding: "px-1",
|
|
4
|
+
size: {
|
|
5
|
+
xs: "h-4 min-w-[16px] text-[10px]",
|
|
6
|
+
sm: "h-5 min-w-[20px] text-[11px]",
|
|
7
|
+
md: "h-6 min-w-[24px] text-[12px]"
|
|
8
|
+
},
|
|
9
|
+
rounded: "rounded",
|
|
10
|
+
font: "font-medium font-sans",
|
|
11
|
+
background: "bg-gray-100 dark:bg-gray-800",
|
|
12
|
+
ring: "ring-1 ring-gray-300 dark:ring-gray-700 ring-inset",
|
|
13
|
+
default: {
|
|
14
|
+
size: "sm"
|
|
15
|
+
}
|
|
16
|
+
};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
wrapper: string;
|
|
3
|
+
indicator: {
|
|
4
|
+
container: string;
|
|
5
|
+
text: string;
|
|
6
|
+
size: {
|
|
7
|
+
'2xs': string;
|
|
8
|
+
xs: string;
|
|
9
|
+
sm: string;
|
|
10
|
+
md: string;
|
|
11
|
+
lg: string;
|
|
12
|
+
xl: string;
|
|
13
|
+
'2xl': string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
meter: {
|
|
17
|
+
base: string;
|
|
18
|
+
background: string;
|
|
19
|
+
color: string;
|
|
20
|
+
ring: string;
|
|
21
|
+
rounded: string;
|
|
22
|
+
shadow: string;
|
|
23
|
+
size: {
|
|
24
|
+
'2xs': string;
|
|
25
|
+
xs: string;
|
|
26
|
+
sm: string;
|
|
27
|
+
md: string;
|
|
28
|
+
lg: string;
|
|
29
|
+
xl: string;
|
|
30
|
+
'2xl': string;
|
|
31
|
+
};
|
|
32
|
+
appearance: {
|
|
33
|
+
inner: string;
|
|
34
|
+
meter: string;
|
|
35
|
+
bar: string;
|
|
36
|
+
value: string;
|
|
37
|
+
};
|
|
38
|
+
bar: {
|
|
39
|
+
transition: string;
|
|
40
|
+
ring: string;
|
|
41
|
+
rounded: string;
|
|
42
|
+
size: {
|
|
43
|
+
'2xs': string;
|
|
44
|
+
xs: string;
|
|
45
|
+
sm: string;
|
|
46
|
+
md: string;
|
|
47
|
+
lg: string;
|
|
48
|
+
xl: string;
|
|
49
|
+
'2xl': string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
label: {
|
|
54
|
+
base: string;
|
|
55
|
+
text: string;
|
|
56
|
+
color: string;
|
|
57
|
+
size: {
|
|
58
|
+
'2xs': string;
|
|
59
|
+
xs: string;
|
|
60
|
+
sm: string;
|
|
61
|
+
md: string;
|
|
62
|
+
lg: string;
|
|
63
|
+
xl: string;
|
|
64
|
+
'2xl': string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
color: {
|
|
68
|
+
white: string;
|
|
69
|
+
black: string;
|
|
70
|
+
gray: string;
|
|
71
|
+
};
|
|
72
|
+
default: {
|
|
73
|
+
size: string;
|
|
74
|
+
color: string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
export default _default;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
wrapper: "w-full flex flex-col gap-2",
|
|
3
|
+
indicator: {
|
|
4
|
+
container: "min-w-fit transition-all",
|
|
5
|
+
text: "text-gray-400 dark:text-gray-500 text-end",
|
|
6
|
+
size: {
|
|
7
|
+
"2xs": "text-xs",
|
|
8
|
+
xs: "text-xs",
|
|
9
|
+
sm: "text-sm",
|
|
10
|
+
md: "text-sm",
|
|
11
|
+
lg: "text-sm",
|
|
12
|
+
xl: "text-base",
|
|
13
|
+
"2xl": "text-base"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
meter: {
|
|
17
|
+
base: "appearance-none block w-full bg-none overflow-y-hidden",
|
|
18
|
+
background: "bg-gray-200 dark:bg-gray-700",
|
|
19
|
+
color: "text-{color}-500 dark:text-{color}-400",
|
|
20
|
+
ring: "",
|
|
21
|
+
rounded: "rounded-full",
|
|
22
|
+
shadow: "",
|
|
23
|
+
size: {
|
|
24
|
+
"2xs": "h-px",
|
|
25
|
+
xs: "h-0.5",
|
|
26
|
+
sm: "h-1",
|
|
27
|
+
md: "h-2",
|
|
28
|
+
lg: "h-3",
|
|
29
|
+
xl: "h-4",
|
|
30
|
+
"2xl": "h-5"
|
|
31
|
+
},
|
|
32
|
+
appearance: {
|
|
33
|
+
inner: "[&::-webkit-meter-inner-element]:block [&::-webkit-meter-inner-element]:relative [&::-webkit-meter-inner-element]:border-none [&::-webkit-meter-inner-element]:bg-none [&::-webkit-meter-inner-element]:bg-transparent",
|
|
34
|
+
meter: "[&::-webkit-meter-bar]:border-none [&::-webkit-meter-bar]:bg-none [&::-webkit-meter-bar]:bg-transparent",
|
|
35
|
+
bar: "[&::-webkit-meter-optimum-value]:border-none [&::-webkit-meter-optimum-value]:bg-none [&::-webkit-meter-optimum-value]:bg-current",
|
|
36
|
+
value: "[&::-moz-meter-bar]:border-none [&::-moz-meter-bar]:bg-none [&::-moz-meter-bar]:bg-current"
|
|
37
|
+
},
|
|
38
|
+
bar: {
|
|
39
|
+
transition: "[&::-webkit-meter-optimum-value]:transition-all [&::-moz-meter-bar]:transition-all",
|
|
40
|
+
ring: "",
|
|
41
|
+
rounded: "[&::-webkit-meter-optimum-value]:rounded-full [&::-moz-meter-bar]:rounded-full",
|
|
42
|
+
size: {
|
|
43
|
+
"2xs": "[&::-webkit-meter-optimum-value]:h-px [&::-moz-meter-bar]:h-px",
|
|
44
|
+
xs: "[&::-webkit-meter-optimum-value]:h-0.5 [&::-moz-meter-bar]:h-0.5",
|
|
45
|
+
sm: "[&::-webkit-meter-optimum-value]:h-1 [&::-moz-meter-bar]:h-1",
|
|
46
|
+
md: "[&::-webkit-meter-optimum-value]:h-2 [&::-moz-meter-bar]:h-2",
|
|
47
|
+
lg: "[&::-webkit-meter-optimum-value]:h-3 [&::-moz-meter-bar]:h-3",
|
|
48
|
+
xl: "[&::-webkit-meter-optimum-value]:h-4 [&::-moz-meter-bar]:h-4",
|
|
49
|
+
"2xl": "[&::-webkit-meter-optimum-value]:h-5 [&::-moz-meter-bar]:h-5"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
label: {
|
|
54
|
+
base: "flex gap-2 items-center",
|
|
55
|
+
text: "truncate",
|
|
56
|
+
color: "text-{color}-500 dark:text-{color}-400",
|
|
57
|
+
size: {
|
|
58
|
+
"2xs": "text-xs",
|
|
59
|
+
xs: "text-xs",
|
|
60
|
+
sm: "text-sm",
|
|
61
|
+
md: "text-sm",
|
|
62
|
+
lg: "text-sm",
|
|
63
|
+
xl: "text-base",
|
|
64
|
+
"2xl": "text-base"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
color: {
|
|
68
|
+
white: "text-white dark:text-black",
|
|
69
|
+
black: "text-black dark:text-white",
|
|
70
|
+
gray: "text-gray-500 dark:text-gray-400"
|
|
71
|
+
},
|
|
72
|
+
default: {
|
|
73
|
+
size: "md",
|
|
74
|
+
color: "primary"
|
|
75
|
+
}
|
|
76
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
wrapper: "flex flex-col gap-2 w-full",
|
|
3
|
+
base: "flex flex-row flex-nowrap flex-shrink overflow-hidden",
|
|
4
|
+
background: "bg-gray-200 dark:bg-gray-700",
|
|
5
|
+
transition: "transition-all",
|
|
6
|
+
rounded: "rounded-full",
|
|
7
|
+
shadow: "",
|
|
8
|
+
default: {
|
|
9
|
+
size: "md"
|
|
10
|
+
}
|
|
11
|
+
};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
wrapper: string;
|
|
3
|
+
indicator: {
|
|
4
|
+
container: {
|
|
5
|
+
base: string;
|
|
6
|
+
width: string;
|
|
7
|
+
transition: string;
|
|
8
|
+
};
|
|
9
|
+
align: string;
|
|
10
|
+
width: string;
|
|
11
|
+
color: string;
|
|
12
|
+
size: {
|
|
13
|
+
'2xs': string;
|
|
14
|
+
xs: string;
|
|
15
|
+
sm: string;
|
|
16
|
+
md: string;
|
|
17
|
+
lg: string;
|
|
18
|
+
xl: string;
|
|
19
|
+
'2xl': string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
progress: {
|
|
23
|
+
base: string;
|
|
24
|
+
width: string;
|
|
25
|
+
size: {
|
|
26
|
+
'2xs': string;
|
|
27
|
+
xs: string;
|
|
28
|
+
sm: string;
|
|
29
|
+
md: string;
|
|
30
|
+
lg: string;
|
|
31
|
+
xl: string;
|
|
32
|
+
'2xl': string;
|
|
33
|
+
};
|
|
34
|
+
rounded: string;
|
|
35
|
+
track: string;
|
|
36
|
+
bar: string;
|
|
37
|
+
color: string;
|
|
38
|
+
background: string;
|
|
39
|
+
indeterminate: {
|
|
40
|
+
base: string;
|
|
41
|
+
rounded: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
steps: {
|
|
45
|
+
base: string;
|
|
46
|
+
color: string;
|
|
47
|
+
size: {
|
|
48
|
+
'2xs': string;
|
|
49
|
+
xs: string;
|
|
50
|
+
sm: string;
|
|
51
|
+
md: string;
|
|
52
|
+
lg: string;
|
|
53
|
+
xl: string;
|
|
54
|
+
'2xl': string;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
step: {
|
|
58
|
+
base: string;
|
|
59
|
+
align: string;
|
|
60
|
+
active: string;
|
|
61
|
+
first: string;
|
|
62
|
+
};
|
|
63
|
+
animation: {
|
|
64
|
+
carousel: string;
|
|
65
|
+
'carousel-inverse': string;
|
|
66
|
+
swing: string;
|
|
67
|
+
elastic: string;
|
|
68
|
+
};
|
|
69
|
+
default: {
|
|
70
|
+
color: string;
|
|
71
|
+
size: string;
|
|
72
|
+
animation: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
export default _default;
|