@nuxt/ui 2.10.0 → 2.11.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/README.md +11 -0
- package/dist/module.d.mts +387 -104
- package/dist/module.d.ts +387 -104
- package/dist/module.json +1 -1
- package/dist/module.mjs +16 -7
- package/dist/runtime/components/data/Table.vue +3 -3
- package/dist/runtime/components/data/Table.vue.d.ts +7 -7
- package/dist/runtime/components/elements/Accordion.vue +2 -2
- package/dist/runtime/components/elements/Accordion.vue.d.ts +7 -7
- package/dist/runtime/components/elements/Alert.vue +13 -12
- package/dist/runtime/components/elements/Alert.vue.d.ts +12 -11
- package/dist/runtime/components/elements/Avatar.vue +2 -2
- package/dist/runtime/components/elements/Avatar.vue.d.ts +11 -10
- package/dist/runtime/components/elements/AvatarGroup.d.ts +11 -10
- package/dist/runtime/components/elements/AvatarGroup.mjs +2 -2
- package/dist/runtime/components/elements/Badge.vue +6 -4
- package/dist/runtime/components/elements/Badge.vue.d.ts +11 -11
- package/dist/runtime/components/elements/Button.vue +16 -12
- package/dist/runtime/components/elements/Button.vue.d.ts +13 -12
- package/dist/runtime/components/elements/ButtonGroup.d.ts +12 -11
- package/dist/runtime/components/elements/ButtonGroup.mjs +8 -34
- 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 +35 -21
- package/dist/runtime/components/elements/Dropdown.vue.d.ts +13 -7
- 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 +2 -2
- package/dist/runtime/components/elements/Kbd.vue.d.ts +12 -11
- package/dist/runtime/components/elements/Link.vue +2 -5
- package/dist/runtime/components/elements/Meter.vue +2 -2
- package/dist/runtime/components/elements/Meter.vue.d.ts +9 -9
- package/dist/runtime/components/elements/MeterGroup.d.ts +10 -10
- package/dist/runtime/components/elements/MeterGroup.mjs +8 -21
- package/dist/runtime/components/elements/Progress.vue +6 -95
- package/dist/runtime/components/elements/Progress.vue.d.ts +123 -1
- package/dist/runtime/components/forms/Checkbox.vue +8 -10
- package/dist/runtime/components/forms/Checkbox.vue.d.ts +10 -10
- package/dist/runtime/components/forms/Form.vue +1 -1
- package/dist/runtime/components/forms/FormGroup.vue +9 -5
- package/dist/runtime/components/forms/FormGroup.vue.d.ts +21 -11
- package/dist/runtime/components/forms/Input.vue +43 -12
- package/dist/runtime/components/forms/Input.vue.d.ts +38 -15
- package/dist/runtime/components/forms/Radio.vue +18 -12
- package/dist/runtime/components/forms/Radio.vue.d.ts +11 -10
- package/dist/runtime/components/forms/RadioGroup.vue +3 -3
- package/dist/runtime/components/forms/RadioGroup.vue.d.ts +13 -13
- package/dist/runtime/components/forms/Range.vue +5 -5
- package/dist/runtime/components/forms/Range.vue.d.ts +11 -10
- package/dist/runtime/components/forms/Select.vue +12 -9
- package/dist/runtime/components/forms/Select.vue.d.ts +15 -14
- package/dist/runtime/components/forms/SelectMenu.vue +42 -25
- package/dist/runtime/components/forms/SelectMenu.vue.d.ts +28 -19
- package/dist/runtime/components/forms/Textarea.vue +36 -6
- package/dist/runtime/components/forms/Textarea.vue.d.ts +37 -14
- package/dist/runtime/components/forms/Toggle.vue +25 -7
- package/dist/runtime/components/forms/Toggle.vue.d.ts +20 -7
- package/dist/runtime/components/layout/Card.vue +2 -2
- package/dist/runtime/components/layout/Card.vue.d.ts +7 -7
- package/dist/runtime/components/layout/Container.vue +2 -2
- package/dist/runtime/components/layout/Container.vue.d.ts +7 -7
- package/dist/runtime/components/layout/Divider.vue +3 -8
- package/dist/runtime/components/layout/Divider.vue.d.ts +9 -9
- package/dist/runtime/components/layout/Skeleton.vue +2 -2
- package/dist/runtime/components/layout/Skeleton.vue.d.ts +7 -7
- 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 +50 -37
- package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +15 -8
- package/dist/runtime/components/navigation/CommandPaletteGroup.vue +1 -3
- package/dist/runtime/components/navigation/Pagination.vue +7 -7
- package/dist/runtime/components/navigation/Pagination.vue.d.ts +11 -11
- package/dist/runtime/components/navigation/Tabs.vue +8 -5
- package/dist/runtime/components/navigation/Tabs.vue.d.ts +10 -10
- package/dist/runtime/components/navigation/VerticalNavigation.vue +2 -2
- package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +7 -7
- package/dist/runtime/components/overlays/ContextMenu.vue +4 -3
- package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +7 -7
- package/dist/runtime/components/overlays/Modal.vue +3 -6
- package/dist/runtime/components/overlays/Modal.vue.d.ts +7 -7
- package/dist/runtime/components/overlays/Notification.vue +30 -31
- package/dist/runtime/components/overlays/Notification.vue.d.ts +10 -9
- package/dist/runtime/components/overlays/Notifications.vue +18 -16
- package/dist/runtime/components/overlays/Notifications.vue.d.ts +7 -7
- package/dist/runtime/components/overlays/Popover.vue +14 -4
- package/dist/runtime/components/overlays/Popover.vue.d.ts +20 -9
- package/dist/runtime/components/overlays/Slideover.vue +6 -6
- package/dist/runtime/components/overlays/Slideover.vue.d.ts +7 -7
- package/dist/runtime/components/overlays/Tooltip.vue +6 -5
- package/dist/runtime/components/overlays/Tooltip.vue.d.ts +7 -7
- 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 +2 -0
- package/dist/runtime/composables/useFormGroup.mjs +3 -2
- package/dist/runtime/composables/useShortcuts.d.ts +2 -2
- package/dist/runtime/composables/useUI.d.ts +3 -3
- 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 +9 -0
- package/dist/runtime/types/button.d.ts +5 -4
- package/dist/runtime/types/chip.d.ts +11 -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 +3 -2
- package/dist/runtime/types/index.d.ts +10 -0
- package/dist/runtime/types/input.d.ts +8 -0
- package/dist/runtime/types/kbd.d.ts +5 -0
- package/dist/runtime/types/popper.d.ts +2 -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 +24 -7
- 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 +41 -0
- package/dist/runtime/ui.config/elements/alert.mjs +40 -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 +81 -0
- package/dist/runtime/ui.config/elements/button.mjs +80 -0
- package/dist/runtime/ui.config/elements/buttonGroup.d.ts +101 -0
- package/dist/runtime/ui.config/elements/buttonGroup.mjs +19 -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 +55 -0
- package/dist/runtime/ui.config/elements/dropdown.mjs +53 -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 +52 -0
- package/dist/runtime/ui.config/elements/meterGroup.mjs +24 -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 +19 -0
- package/dist/runtime/ui.config/forms/checkbox.mjs +18 -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 +107 -0
- package/dist/runtime/ui.config/forms/input.mjs +106 -0
- package/dist/runtime/ui.config/forms/radio.d.ts +18 -0
- package/dist/runtime/ui.config/forms/radio.mjs +17 -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 +108 -0
- package/dist/runtime/ui.config/forms/select.mjs +13 -0
- package/dist/runtime/ui.config/forms/selectMenu.d.ts +68 -0
- package/dist/runtime/ui.config/forms/selectMenu.mjs +66 -0
- package/dist/runtime/ui.config/forms/textarea.d.ts +106 -0
- package/dist/runtime/ui.config/forms/textarea.mjs +10 -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 +35 -0
- package/dist/runtime/ui.config/layout/divider.mjs +34 -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 +72 -0
- package/dist/runtime/ui.config/navigation/commandPalette.mjs +71 -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 +36 -0
- package/dist/runtime/ui.config/overlays/modal.mjs +37 -0
- package/dist/runtime/ui.config/overlays/notification.d.ts +50 -0
- package/dist/runtime/ui.config/overlays/notification.mjs +50 -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 +43 -0
- package/dist/runtime/ui.config/overlays/popover.mjs +37 -0
- package/dist/runtime/ui.config/overlays/slideover.d.ts +32 -0
- package/dist/runtime/ui.config/overlays/slideover.mjs +33 -0
- package/dist/runtime/ui.config/overlays/tooltip.d.ts +33 -0
- package/dist/runtime/ui.config/overlays/tooltip.mjs +27 -0
- package/dist/runtime/ui.config/popper.d.ts +8 -0
- package/dist/runtime/ui.config/popper.mjs +8 -0
- package/dist/runtime/ui.css +1 -13
- package/dist/runtime/utils/index.d.ts +5 -0
- package/dist/runtime/utils/index.mjs +7 -3
- package/dist/types.d.mts +3 -2
- package/dist/types.d.ts +3 -2
- package/package.json +32 -21
- package/dist/runtime/ui.config.d.ts +0 -1470
- package/dist/runtime/ui.config.mjs +0 -1273
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export { default as table } from "./data/table.mjs";
|
|
2
|
+
export { default as avatar } from "./elements/avatar.mjs";
|
|
3
|
+
export { default as avatarGroup } from "./elements/avatarGroup.mjs";
|
|
4
|
+
export { default as badge } from "./elements/badge.mjs";
|
|
5
|
+
export { default as button } from "./elements/button.mjs";
|
|
6
|
+
export { default as buttonGroup } from "./elements/buttonGroup.mjs";
|
|
7
|
+
export { default as chip } from "./elements/chip.mjs";
|
|
8
|
+
export { default as dropdown } from "./elements/dropdown.mjs";
|
|
9
|
+
export { default as accordion } from "./elements/accordion.mjs";
|
|
10
|
+
export { default as alert } from "./elements/alert.mjs";
|
|
11
|
+
export { default as kbd } from "./elements/kbd.mjs";
|
|
12
|
+
export { default as progress } from "./elements/progress.mjs";
|
|
13
|
+
export { default as meter } from "./elements/meter.mjs";
|
|
14
|
+
export { default as meterGroup } from "./elements/meterGroup.mjs";
|
|
15
|
+
export { default as input } from "./forms/input.mjs";
|
|
16
|
+
export { default as formGroup } from "./forms/formGroup.mjs";
|
|
17
|
+
export { default as textarea } from "./forms/textarea.mjs";
|
|
18
|
+
export { default as select } from "./forms/select.mjs";
|
|
19
|
+
export { default as selectMenu } from "./forms/selectMenu.mjs";
|
|
20
|
+
export { default as radioGroup } from "./forms/radioGroup.mjs";
|
|
21
|
+
export { default as radio } from "./forms/radio.mjs";
|
|
22
|
+
export { default as checkbox } from "./forms/checkbox.mjs";
|
|
23
|
+
export { default as toggle } from "./forms/toggle.mjs";
|
|
24
|
+
export { default as range } from "./forms/range.mjs";
|
|
25
|
+
export { default as card } from "./layout/card.mjs";
|
|
26
|
+
export { default as container } from "./layout/container.mjs";
|
|
27
|
+
export { default as skeleton } from "./layout/skeleton.mjs";
|
|
28
|
+
export { default as divider } from "./layout/divider.mjs";
|
|
29
|
+
export { default as verticalNavigation } from "./navigation/verticalNavigation.mjs";
|
|
30
|
+
export { default as commandPalette } from "./navigation/commandPalette.mjs";
|
|
31
|
+
export { default as pagination } from "./navigation/pagination.mjs";
|
|
32
|
+
export { default as tabs } from "./navigation/tabs.mjs";
|
|
33
|
+
export { default as breadcrumb } from "./navigation/breadcrumb.mjs";
|
|
34
|
+
export { default as modal } from "./overlays/modal.mjs";
|
|
35
|
+
export { default as slideover } from "./overlays/slideover.mjs";
|
|
36
|
+
export { default as tooltip } from "./overlays/tooltip.mjs";
|
|
37
|
+
export { default as popover } from "./overlays/popover.mjs";
|
|
38
|
+
export { default as contextMenu } from "./overlays/contextMenu.mjs";
|
|
39
|
+
export { default as notification } from "./overlays/notification.mjs";
|
|
40
|
+
export { default as notifications } from "./overlays/notifications.mjs";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
base: string;
|
|
3
|
+
background: string;
|
|
4
|
+
divide: string;
|
|
5
|
+
ring: string;
|
|
6
|
+
rounded: string;
|
|
7
|
+
shadow: string;
|
|
8
|
+
body: {
|
|
9
|
+
base: string;
|
|
10
|
+
background: string;
|
|
11
|
+
padding: string;
|
|
12
|
+
};
|
|
13
|
+
header: {
|
|
14
|
+
base: string;
|
|
15
|
+
background: string;
|
|
16
|
+
padding: string;
|
|
17
|
+
};
|
|
18
|
+
footer: {
|
|
19
|
+
base: string;
|
|
20
|
+
background: string;
|
|
21
|
+
padding: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
base: "overflow-hidden",
|
|
3
|
+
background: "bg-white dark:bg-gray-900",
|
|
4
|
+
divide: "divide-y divide-gray-200 dark:divide-gray-800",
|
|
5
|
+
ring: "ring-1 ring-gray-200 dark:ring-gray-800",
|
|
6
|
+
rounded: "rounded-lg",
|
|
7
|
+
shadow: "shadow",
|
|
8
|
+
body: {
|
|
9
|
+
base: "",
|
|
10
|
+
background: "",
|
|
11
|
+
padding: "px-4 py-5 sm:p-6"
|
|
12
|
+
},
|
|
13
|
+
header: {
|
|
14
|
+
base: "",
|
|
15
|
+
background: "",
|
|
16
|
+
padding: "px-4 py-5 sm:px-6"
|
|
17
|
+
},
|
|
18
|
+
footer: {
|
|
19
|
+
base: "",
|
|
20
|
+
background: "",
|
|
21
|
+
padding: "px-4 py-4 sm:px-6"
|
|
22
|
+
}
|
|
23
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
wrapper: {
|
|
3
|
+
base: string;
|
|
4
|
+
horizontal: string;
|
|
5
|
+
vertical: string;
|
|
6
|
+
};
|
|
7
|
+
container: {
|
|
8
|
+
base: string;
|
|
9
|
+
horizontal: string;
|
|
10
|
+
vertical: string;
|
|
11
|
+
};
|
|
12
|
+
border: {
|
|
13
|
+
base: string;
|
|
14
|
+
horizontal: string;
|
|
15
|
+
vertical: string;
|
|
16
|
+
size: {
|
|
17
|
+
horizontal: string;
|
|
18
|
+
vertical: string;
|
|
19
|
+
};
|
|
20
|
+
type: {
|
|
21
|
+
solid: string;
|
|
22
|
+
dotted: string;
|
|
23
|
+
dashed: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
icon: {
|
|
27
|
+
base: string;
|
|
28
|
+
};
|
|
29
|
+
avatar: {
|
|
30
|
+
base: string;
|
|
31
|
+
size: "2xs";
|
|
32
|
+
};
|
|
33
|
+
label: string;
|
|
34
|
+
};
|
|
35
|
+
export default _default;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
wrapper: {
|
|
3
|
+
base: "flex items-center align-center text-center w-full",
|
|
4
|
+
horizontal: "flex-row",
|
|
5
|
+
vertical: "flex-col"
|
|
6
|
+
},
|
|
7
|
+
container: {
|
|
8
|
+
base: "font-medium text-gray-700 dark:text-gray-200 flex",
|
|
9
|
+
horizontal: "mx-3 whitespace-nowrap",
|
|
10
|
+
vertical: "my-2"
|
|
11
|
+
},
|
|
12
|
+
border: {
|
|
13
|
+
base: "flex border-gray-200 dark:border-gray-800",
|
|
14
|
+
horizontal: "w-full",
|
|
15
|
+
vertical: "h-full",
|
|
16
|
+
size: {
|
|
17
|
+
horizontal: "border-t",
|
|
18
|
+
vertical: "border-s"
|
|
19
|
+
},
|
|
20
|
+
type: {
|
|
21
|
+
solid: "border-solid",
|
|
22
|
+
dotted: "border-dotted",
|
|
23
|
+
dashed: "border-dashed"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
icon: {
|
|
27
|
+
base: "flex-shrink-0 w-5 h-5"
|
|
28
|
+
},
|
|
29
|
+
avatar: {
|
|
30
|
+
base: "flex-shrink-0",
|
|
31
|
+
size: "2xs"
|
|
32
|
+
},
|
|
33
|
+
label: "text-sm"
|
|
34
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
wrapper: string;
|
|
3
|
+
ol: string;
|
|
4
|
+
li: string;
|
|
5
|
+
base: string;
|
|
6
|
+
icon: {
|
|
7
|
+
base: string;
|
|
8
|
+
active: string;
|
|
9
|
+
inactive: string;
|
|
10
|
+
};
|
|
11
|
+
divider: {
|
|
12
|
+
base: string;
|
|
13
|
+
};
|
|
14
|
+
active: string;
|
|
15
|
+
inactive: string;
|
|
16
|
+
default: {
|
|
17
|
+
divider: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
wrapper: "relative",
|
|
3
|
+
ol: "flex items-center gap-x-1.5",
|
|
4
|
+
li: "flex items-center gap-x-1.5 text-gray-500 dark:text-gray-400 text-sm",
|
|
5
|
+
base: "flex items-center gap-x-1.5 group font-semibold",
|
|
6
|
+
icon: {
|
|
7
|
+
base: "flex-shrink-0 w-4 h-4",
|
|
8
|
+
active: "",
|
|
9
|
+
inactive: ""
|
|
10
|
+
},
|
|
11
|
+
divider: {
|
|
12
|
+
base: "flex-shrink-0 w-5 h-5"
|
|
13
|
+
},
|
|
14
|
+
active: "text-primary-500 dark:text-primary-400",
|
|
15
|
+
inactive: " hover:text-gray-700 dark:hover:text-gray-200",
|
|
16
|
+
default: {
|
|
17
|
+
divider: "i-heroicons-chevron-right-20-solid rtl:i-heroicons-chevron-left-20-solid"
|
|
18
|
+
}
|
|
19
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
wrapper: string;
|
|
3
|
+
container: string;
|
|
4
|
+
input: {
|
|
5
|
+
wrapper: string;
|
|
6
|
+
base: string;
|
|
7
|
+
padding: string;
|
|
8
|
+
height: string;
|
|
9
|
+
size: string;
|
|
10
|
+
icon: {
|
|
11
|
+
base: string;
|
|
12
|
+
loading: string;
|
|
13
|
+
size: string;
|
|
14
|
+
padding: string;
|
|
15
|
+
};
|
|
16
|
+
closeButton: {
|
|
17
|
+
base: string;
|
|
18
|
+
padding: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
emptyState: {
|
|
22
|
+
wrapper: string;
|
|
23
|
+
label: string;
|
|
24
|
+
queryLabel: string;
|
|
25
|
+
icon: string;
|
|
26
|
+
};
|
|
27
|
+
group: {
|
|
28
|
+
wrapper: string;
|
|
29
|
+
label: string;
|
|
30
|
+
container: string;
|
|
31
|
+
command: {
|
|
32
|
+
base: string;
|
|
33
|
+
active: string;
|
|
34
|
+
inactive: string;
|
|
35
|
+
label: string;
|
|
36
|
+
prefix: string;
|
|
37
|
+
suffix: string;
|
|
38
|
+
container: string;
|
|
39
|
+
icon: {
|
|
40
|
+
base: string;
|
|
41
|
+
active: string;
|
|
42
|
+
inactive: string;
|
|
43
|
+
};
|
|
44
|
+
selectedIcon: {
|
|
45
|
+
base: string;
|
|
46
|
+
};
|
|
47
|
+
avatar: {
|
|
48
|
+
base: string;
|
|
49
|
+
size: "3xs";
|
|
50
|
+
};
|
|
51
|
+
chip: {
|
|
52
|
+
base: string;
|
|
53
|
+
};
|
|
54
|
+
disabled: string;
|
|
55
|
+
shortcuts: string;
|
|
56
|
+
};
|
|
57
|
+
active: string;
|
|
58
|
+
inactive: string;
|
|
59
|
+
};
|
|
60
|
+
default: {
|
|
61
|
+
icon: string;
|
|
62
|
+
loadingIcon: string;
|
|
63
|
+
emptyState: {
|
|
64
|
+
icon: string;
|
|
65
|
+
label: string;
|
|
66
|
+
queryLabel: string;
|
|
67
|
+
};
|
|
68
|
+
closeButton: null;
|
|
69
|
+
selectedIcon: string;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
export default _default;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
wrapper: "flex flex-col flex-1 min-h-0 divide-y divide-gray-100 dark:divide-gray-800",
|
|
3
|
+
container: "relative flex-1 overflow-y-auto divide-y divide-gray-100 dark:divide-gray-800 scroll-py-2",
|
|
4
|
+
input: {
|
|
5
|
+
wrapper: "relative flex items-center",
|
|
6
|
+
base: "w-full placeholder-gray-400 dark:placeholder-gray-500 bg-transparent border-0 text-gray-900 dark:text-white focus:ring-0 focus:outline-none",
|
|
7
|
+
padding: "px-4",
|
|
8
|
+
height: "h-12",
|
|
9
|
+
size: "sm:text-sm",
|
|
10
|
+
icon: {
|
|
11
|
+
base: "pointer-events-none absolute start-4 text-gray-400 dark:text-gray-500",
|
|
12
|
+
loading: "animate-spin",
|
|
13
|
+
size: "h-4 w-4",
|
|
14
|
+
padding: "ps-10"
|
|
15
|
+
},
|
|
16
|
+
closeButton: {
|
|
17
|
+
base: "absolute end-4",
|
|
18
|
+
padding: "pe-10"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
emptyState: {
|
|
22
|
+
wrapper: "flex flex-col items-center justify-center flex-1 px-6 py-14 sm:px-14",
|
|
23
|
+
label: "text-sm text-center text-gray-900 dark:text-white",
|
|
24
|
+
queryLabel: "text-sm text-center text-gray-900 dark:text-white",
|
|
25
|
+
icon: "w-6 h-6 mx-auto text-gray-400 dark:text-gray-500 mb-4"
|
|
26
|
+
},
|
|
27
|
+
group: {
|
|
28
|
+
wrapper: "p-2",
|
|
29
|
+
label: "px-2 my-2 text-xs font-semibold text-gray-900 dark:text-white",
|
|
30
|
+
container: "text-sm text-gray-700 dark:text-gray-200",
|
|
31
|
+
command: {
|
|
32
|
+
base: "flex justify-between select-none items-center rounded-md px-2 py-1.5 gap-2 relative",
|
|
33
|
+
active: "bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-white",
|
|
34
|
+
inactive: "",
|
|
35
|
+
label: "flex items-center gap-1.5 min-w-0",
|
|
36
|
+
prefix: "text-gray-400 dark:text-gray-500",
|
|
37
|
+
suffix: "text-gray-400 dark:text-gray-500",
|
|
38
|
+
container: "flex items-center gap-2 min-w-0",
|
|
39
|
+
icon: {
|
|
40
|
+
base: "flex-shrink-0 w-4 h-4",
|
|
41
|
+
active: "text-gray-900 dark:text-white",
|
|
42
|
+
inactive: "text-gray-400 dark:text-gray-500"
|
|
43
|
+
},
|
|
44
|
+
selectedIcon: {
|
|
45
|
+
base: "h-4 w-4 text-gray-900 dark:text-white flex-shrink-0"
|
|
46
|
+
},
|
|
47
|
+
avatar: {
|
|
48
|
+
base: "flex-shrink-0",
|
|
49
|
+
size: "3xs"
|
|
50
|
+
},
|
|
51
|
+
chip: {
|
|
52
|
+
base: "flex-shrink-0 w-2 h-2 mx-1 rounded-full"
|
|
53
|
+
},
|
|
54
|
+
disabled: "opacity-50",
|
|
55
|
+
shortcuts: "hidden md:inline-flex flex-shrink-0 gap-0.5"
|
|
56
|
+
},
|
|
57
|
+
active: "flex-shrink-0 text-gray-500 dark:text-gray-400",
|
|
58
|
+
inactive: "flex-shrink-0 text-gray-500 dark:text-gray-400"
|
|
59
|
+
},
|
|
60
|
+
default: {
|
|
61
|
+
icon: "i-heroicons-magnifying-glass-20-solid",
|
|
62
|
+
loadingIcon: "i-heroicons-arrow-path-20-solid",
|
|
63
|
+
emptyState: {
|
|
64
|
+
icon: "i-heroicons-magnifying-glass-20-solid",
|
|
65
|
+
label: "We couldn't find any items.",
|
|
66
|
+
queryLabel: "We couldn't find any items with that term. Please try again."
|
|
67
|
+
},
|
|
68
|
+
closeButton: null,
|
|
69
|
+
selectedIcon: "i-heroicons-check-20-solid"
|
|
70
|
+
}
|
|
71
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
wrapper: string;
|
|
3
|
+
base: string;
|
|
4
|
+
rounded: string;
|
|
5
|
+
default: {
|
|
6
|
+
size: string;
|
|
7
|
+
activeButton: {
|
|
8
|
+
color: "primary";
|
|
9
|
+
};
|
|
10
|
+
inactiveButton: {
|
|
11
|
+
color: "white";
|
|
12
|
+
};
|
|
13
|
+
firstButton: {
|
|
14
|
+
color: "white";
|
|
15
|
+
class: string;
|
|
16
|
+
icon: string;
|
|
17
|
+
};
|
|
18
|
+
lastButton: {
|
|
19
|
+
color: "white";
|
|
20
|
+
class: string;
|
|
21
|
+
icon: string;
|
|
22
|
+
};
|
|
23
|
+
prevButton: {
|
|
24
|
+
color: "white";
|
|
25
|
+
class: string;
|
|
26
|
+
icon: string;
|
|
27
|
+
};
|
|
28
|
+
nextButton: {
|
|
29
|
+
color: "white";
|
|
30
|
+
class: string;
|
|
31
|
+
icon: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
export default _default;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
wrapper: "flex items-center -space-x-px",
|
|
3
|
+
base: "",
|
|
4
|
+
rounded: "first:rounded-s-md last:rounded-e-md",
|
|
5
|
+
default: {
|
|
6
|
+
size: "sm",
|
|
7
|
+
activeButton: {
|
|
8
|
+
color: "primary"
|
|
9
|
+
},
|
|
10
|
+
inactiveButton: {
|
|
11
|
+
color: "white"
|
|
12
|
+
},
|
|
13
|
+
firstButton: {
|
|
14
|
+
color: "white",
|
|
15
|
+
class: "rtl:[&_span:first-child]:rotate-180",
|
|
16
|
+
icon: "i-heroicons-chevron-double-left-20-solid"
|
|
17
|
+
},
|
|
18
|
+
lastButton: {
|
|
19
|
+
color: "white",
|
|
20
|
+
class: "rtl:[&_span:last-child]:rotate-180",
|
|
21
|
+
icon: "i-heroicons-chevron-double-right-20-solid"
|
|
22
|
+
},
|
|
23
|
+
prevButton: {
|
|
24
|
+
color: "white",
|
|
25
|
+
class: "rtl:[&_span:first-child]:rotate-180",
|
|
26
|
+
icon: "i-heroicons-chevron-left-20-solid"
|
|
27
|
+
},
|
|
28
|
+
nextButton: {
|
|
29
|
+
color: "white",
|
|
30
|
+
class: "rtl:[&_span:last-child]:rotate-180",
|
|
31
|
+
icon: "i-heroicons-chevron-right-20-solid"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
wrapper: string;
|
|
3
|
+
container: string;
|
|
4
|
+
base: string;
|
|
5
|
+
list: {
|
|
6
|
+
base: string;
|
|
7
|
+
background: string;
|
|
8
|
+
rounded: string;
|
|
9
|
+
shadow: string;
|
|
10
|
+
padding: string;
|
|
11
|
+
height: string;
|
|
12
|
+
width: string;
|
|
13
|
+
marker: {
|
|
14
|
+
wrapper: string;
|
|
15
|
+
base: string;
|
|
16
|
+
background: string;
|
|
17
|
+
rounded: string;
|
|
18
|
+
shadow: string;
|
|
19
|
+
};
|
|
20
|
+
tab: {
|
|
21
|
+
base: string;
|
|
22
|
+
background: string;
|
|
23
|
+
active: string;
|
|
24
|
+
inactive: string;
|
|
25
|
+
height: string;
|
|
26
|
+
padding: string;
|
|
27
|
+
size: string;
|
|
28
|
+
font: string;
|
|
29
|
+
rounded: string;
|
|
30
|
+
shadow: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
export default _default;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
wrapper: "relative space-y-2",
|
|
3
|
+
container: "relative w-full",
|
|
4
|
+
base: "focus:outline-none",
|
|
5
|
+
list: {
|
|
6
|
+
base: "relative",
|
|
7
|
+
background: "bg-gray-100 dark:bg-gray-800",
|
|
8
|
+
rounded: "rounded-lg",
|
|
9
|
+
shadow: "",
|
|
10
|
+
padding: "p-1",
|
|
11
|
+
height: "h-10",
|
|
12
|
+
width: "w-full",
|
|
13
|
+
marker: {
|
|
14
|
+
wrapper: "absolute top-[4px] left-[4px] duration-200 ease-out focus:outline-none",
|
|
15
|
+
base: "w-full h-full",
|
|
16
|
+
background: "bg-white dark:bg-gray-900",
|
|
17
|
+
rounded: "rounded-md",
|
|
18
|
+
shadow: "shadow-sm"
|
|
19
|
+
},
|
|
20
|
+
tab: {
|
|
21
|
+
base: "relative inline-flex items-center justify-center flex-shrink-0 w-full ui-focus-visible:outline-0 ui-focus-visible:ring-2 ui-focus-visible:ring-primary-500 dark:ui-focus-visible:ring-primary-400 ui-not-focus-visible:outline-none focus:outline-none disabled:cursor-not-allowed disabled:opacity-75 transition-colors duration-200 ease-out",
|
|
22
|
+
background: "",
|
|
23
|
+
active: "text-gray-900 dark:text-white",
|
|
24
|
+
inactive: "text-gray-500 dark:text-gray-400",
|
|
25
|
+
height: "h-8",
|
|
26
|
+
padding: "px-3",
|
|
27
|
+
size: "text-sm",
|
|
28
|
+
font: "font-medium",
|
|
29
|
+
rounded: "rounded-md",
|
|
30
|
+
shadow: ""
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
wrapper: string;
|
|
3
|
+
base: string;
|
|
4
|
+
ring: string;
|
|
5
|
+
padding: string;
|
|
6
|
+
width: string;
|
|
7
|
+
rounded: string;
|
|
8
|
+
font: string;
|
|
9
|
+
size: string;
|
|
10
|
+
active: string;
|
|
11
|
+
inactive: string;
|
|
12
|
+
label: string;
|
|
13
|
+
icon: {
|
|
14
|
+
base: string;
|
|
15
|
+
active: string;
|
|
16
|
+
inactive: string;
|
|
17
|
+
};
|
|
18
|
+
avatar: {
|
|
19
|
+
base: string;
|
|
20
|
+
size: "3xs";
|
|
21
|
+
};
|
|
22
|
+
badge: {
|
|
23
|
+
base: string;
|
|
24
|
+
active: string;
|
|
25
|
+
inactive: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export default _default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
wrapper: "relative",
|
|
3
|
+
base: "group relative flex items-center gap-2 focus:outline-none focus-visible:outline-none dark:focus-visible:outline-none focus-visible:before:ring-inset focus-visible:before:ring-1 focus-visible:before:ring-primary-500 dark:focus-visible:before:ring-primary-400 before:absolute before:inset-px before:rounded-md disabled:cursor-not-allowed disabled:opacity-75",
|
|
4
|
+
ring: "focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400",
|
|
5
|
+
padding: "px-3 py-1.5",
|
|
6
|
+
width: "w-full",
|
|
7
|
+
rounded: "rounded-md",
|
|
8
|
+
font: "font-medium",
|
|
9
|
+
size: "text-sm",
|
|
10
|
+
active: "text-gray-900 dark:text-white before:bg-gray-100 dark:before:bg-gray-800",
|
|
11
|
+
inactive: "text-gray-500 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white hover:before:bg-gray-50 dark:hover:before:bg-gray-800/50",
|
|
12
|
+
label: "truncate relative",
|
|
13
|
+
icon: {
|
|
14
|
+
base: "flex-shrink-0 w-4 h-4",
|
|
15
|
+
active: "text-gray-700 dark:text-gray-200",
|
|
16
|
+
inactive: "text-gray-400 dark:text-gray-500 group-hover:text-gray-700 dark:group-hover:text-gray-200"
|
|
17
|
+
},
|
|
18
|
+
avatar: {
|
|
19
|
+
base: "flex-shrink-0",
|
|
20
|
+
size: "3xs"
|
|
21
|
+
},
|
|
22
|
+
badge: {
|
|
23
|
+
base: "relative ms-auto inline-block py-0.5 px-2 text-xs rounded-md -me-1 -my-0.5",
|
|
24
|
+
active: "bg-white dark:bg-gray-900",
|
|
25
|
+
inactive: "bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-white group-hover:bg-white dark:group-hover:bg-gray-900"
|
|
26
|
+
}
|
|
27
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
wrapper: string;
|
|
3
|
+
container: string;
|
|
4
|
+
width: string;
|
|
5
|
+
background: string;
|
|
6
|
+
shadow: string;
|
|
7
|
+
rounded: string;
|
|
8
|
+
ring: string;
|
|
9
|
+
base: string;
|
|
10
|
+
transition: {
|
|
11
|
+
enterActiveClass: string;
|
|
12
|
+
enterFromClass: string;
|
|
13
|
+
enterToClass: string;
|
|
14
|
+
leaveActiveClass: string;
|
|
15
|
+
leaveFromClass: string;
|
|
16
|
+
leaveToClass: string;
|
|
17
|
+
};
|
|
18
|
+
popper: {
|
|
19
|
+
placement: string;
|
|
20
|
+
scroll: boolean;
|
|
21
|
+
};
|
|
22
|
+
arrow: {
|
|
23
|
+
base: string;
|
|
24
|
+
ring: string;
|
|
25
|
+
rounded: string;
|
|
26
|
+
background: string;
|
|
27
|
+
shadow: string;
|
|
28
|
+
placement: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { arrow } from "../popper.mjs";
|
|
2
|
+
export default {
|
|
3
|
+
wrapper: "relative",
|
|
4
|
+
container: "z-20 group",
|
|
5
|
+
width: "",
|
|
6
|
+
background: "bg-white dark:bg-gray-900",
|
|
7
|
+
shadow: "shadow-lg",
|
|
8
|
+
rounded: "rounded-md",
|
|
9
|
+
ring: "ring-1 ring-gray-200 dark:ring-gray-800",
|
|
10
|
+
base: "overflow-hidden focus:outline-none relative",
|
|
11
|
+
// Syntax for `<Transition>` component https://vuejs.org/guide/built-ins/transition.html#css-based-transitions
|
|
12
|
+
transition: {
|
|
13
|
+
enterActiveClass: "transition ease-out duration-200",
|
|
14
|
+
enterFromClass: "opacity-0 translate-y-1",
|
|
15
|
+
enterToClass: "opacity-100 translate-y-0",
|
|
16
|
+
leaveActiveClass: "transition ease-in duration-150",
|
|
17
|
+
leaveFromClass: "opacity-100 translate-y-0",
|
|
18
|
+
leaveToClass: "opacity-0 translate-y-1"
|
|
19
|
+
},
|
|
20
|
+
popper: {
|
|
21
|
+
placement: "bottom-start",
|
|
22
|
+
scroll: false
|
|
23
|
+
},
|
|
24
|
+
arrow
|
|
25
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
wrapper: string;
|
|
3
|
+
inner: string;
|
|
4
|
+
container: string;
|
|
5
|
+
padding: string;
|
|
6
|
+
margin: string;
|
|
7
|
+
base: string;
|
|
8
|
+
overlay: {
|
|
9
|
+
base: string;
|
|
10
|
+
background: string;
|
|
11
|
+
transition: {
|
|
12
|
+
enter: string;
|
|
13
|
+
enterFrom: string;
|
|
14
|
+
enterTo: string;
|
|
15
|
+
leave: string;
|
|
16
|
+
leaveFrom: string;
|
|
17
|
+
leaveTo: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
background: string;
|
|
21
|
+
ring: string;
|
|
22
|
+
rounded: string;
|
|
23
|
+
shadow: string;
|
|
24
|
+
width: string;
|
|
25
|
+
height: string;
|
|
26
|
+
fullscreen: string;
|
|
27
|
+
transition: {
|
|
28
|
+
enter: string;
|
|
29
|
+
enterFrom: string;
|
|
30
|
+
enterTo: string;
|
|
31
|
+
leave: string;
|
|
32
|
+
leaveFrom: string;
|
|
33
|
+
leaveTo: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
export default _default;
|