@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.
Files changed (201) hide show
  1. package/README.md +11 -0
  2. package/dist/module.d.mts +449 -72
  3. package/dist/module.d.ts +449 -72
  4. package/dist/module.json +1 -1
  5. package/dist/module.mjs +32 -6
  6. package/dist/runtime/components/data/Table.vue +8 -6
  7. package/dist/runtime/components/data/Table.vue.d.ts +2 -1
  8. package/dist/runtime/components/elements/Accordion.vue +15 -13
  9. package/dist/runtime/components/elements/Accordion.vue.d.ts +5 -2
  10. package/dist/runtime/components/elements/Alert.vue +7 -6
  11. package/dist/runtime/components/elements/Alert.vue.d.ts +6 -5
  12. package/dist/runtime/components/elements/Avatar.vue.d.ts +5 -4
  13. package/dist/runtime/components/elements/AvatarGroup.d.ts +4 -3
  14. package/dist/runtime/components/elements/Badge.vue +4 -2
  15. package/dist/runtime/components/elements/Badge.vue.d.ts +5 -5
  16. package/dist/runtime/components/elements/Button.vue +8 -6
  17. package/dist/runtime/components/elements/Button.vue.d.ts +7 -7
  18. package/dist/runtime/components/elements/ButtonGroup.d.ts +5 -4
  19. package/dist/runtime/components/elements/ButtonGroup.mjs +19 -32
  20. package/dist/runtime/components/elements/Chip.vue +85 -0
  21. package/dist/runtime/components/elements/Chip.vue.d.ts +90 -0
  22. package/dist/runtime/components/elements/Dropdown.vue +45 -25
  23. package/dist/runtime/components/elements/Dropdown.vue.d.ts +8 -0
  24. package/dist/runtime/components/elements/Icon.vue +16 -2
  25. package/dist/runtime/components/elements/Icon.vue.d.ts +14 -2
  26. package/dist/runtime/components/elements/Kbd.vue.d.ts +5 -4
  27. package/dist/runtime/components/elements/Link.vue +2 -5
  28. package/dist/runtime/components/elements/Meter.vue +166 -0
  29. package/dist/runtime/components/elements/Meter.vue.d.ts +123 -0
  30. package/dist/runtime/components/elements/MeterGroup.d.ts +78 -0
  31. package/dist/runtime/components/elements/MeterGroup.mjs +172 -0
  32. package/dist/runtime/components/elements/Progress.vue +284 -0
  33. package/dist/runtime/components/elements/Progress.vue.d.ts +2 -0
  34. package/dist/runtime/components/forms/Checkbox.vue +2 -4
  35. package/dist/runtime/components/forms/Checkbox.vue.d.ts +6 -6
  36. package/dist/runtime/components/forms/Form.vue +32 -7
  37. package/dist/runtime/components/forms/Form.vue.d.ts +2 -1
  38. package/dist/runtime/components/forms/FormGroup.vue +7 -3
  39. package/dist/runtime/components/forms/FormGroup.vue.d.ts +15 -5
  40. package/dist/runtime/components/forms/Input.vue +41 -6
  41. package/dist/runtime/components/forms/Input.vue.d.ts +42 -10
  42. package/dist/runtime/components/forms/Radio.vue +16 -9
  43. package/dist/runtime/components/forms/Radio.vue.d.ts +8 -7
  44. package/dist/runtime/components/forms/RadioGroup.vue +136 -0
  45. package/dist/runtime/components/forms/RadioGroup.vue.d.ts +118 -0
  46. package/dist/runtime/components/forms/Range.vue.d.ts +8 -7
  47. package/dist/runtime/components/forms/Select.vue +5 -2
  48. package/dist/runtime/components/forms/Select.vue.d.ts +10 -9
  49. package/dist/runtime/components/forms/SelectMenu.vue +80 -58
  50. package/dist/runtime/components/forms/SelectMenu.vue.d.ts +23 -13
  51. package/dist/runtime/components/forms/Textarea.vue +38 -4
  52. package/dist/runtime/components/forms/Textarea.vue.d.ts +41 -9
  53. package/dist/runtime/components/forms/Toggle.vue +19 -1
  54. package/dist/runtime/components/forms/Toggle.vue.d.ts +16 -3
  55. package/dist/runtime/components/layout/Divider.vue +107 -0
  56. package/dist/runtime/components/layout/Divider.vue.d.ts +82 -0
  57. package/dist/runtime/components/navigation/Breadcrumb.vue +78 -0
  58. package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +50 -0
  59. package/dist/runtime/components/navigation/CommandPalette.vue +18 -7
  60. package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +2 -2
  61. package/dist/runtime/components/navigation/Pagination.vue +65 -9
  62. package/dist/runtime/components/navigation/Pagination.vue.d.ts +45 -7
  63. package/dist/runtime/components/navigation/Tabs.vue +1 -1
  64. package/dist/runtime/components/navigation/Tabs.vue.d.ts +1 -1
  65. package/dist/runtime/components/overlays/ContextMenu.vue +7 -2
  66. package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +2 -1
  67. package/dist/runtime/components/overlays/Modal.vue +1 -1
  68. package/dist/runtime/components/overlays/Modal.vue.d.ts +1 -1
  69. package/dist/runtime/components/overlays/Notification.vue +32 -27
  70. package/dist/runtime/components/overlays/Notification.vue.d.ts +4 -3
  71. package/dist/runtime/components/overlays/Notifications.vue +16 -14
  72. package/dist/runtime/components/overlays/Popover.vue +31 -7
  73. package/dist/runtime/components/overlays/Popover.vue.d.ts +27 -2
  74. package/dist/runtime/components/overlays/Slideover.vue.d.ts +1 -1
  75. package/dist/runtime/components/overlays/Tooltip.vue +16 -10
  76. package/dist/runtime/components/overlays/Tooltip.vue.d.ts +1 -0
  77. package/dist/runtime/composables/defineShortcuts.d.ts +1 -1
  78. package/dist/runtime/composables/defineShortcuts.mjs +8 -4
  79. package/dist/runtime/composables/useButtonGroup.d.ts +20 -0
  80. package/dist/runtime/composables/useButtonGroup.mjs +52 -0
  81. package/dist/runtime/composables/useFormGroup.d.ts +6 -4
  82. package/dist/runtime/composables/useFormGroup.mjs +19 -7
  83. package/dist/runtime/composables/usePopper.d.ts +3 -3
  84. package/dist/runtime/composables/usePopper.mjs +7 -1
  85. package/dist/runtime/composables/useShortcuts.d.ts +2 -2
  86. package/dist/runtime/composables/useUI.d.ts +2 -2
  87. package/dist/runtime/composables/useUI.mjs +2 -2
  88. package/dist/runtime/types/alert.d.ts +7 -0
  89. package/dist/runtime/types/avatar.d.ts +3 -1
  90. package/dist/runtime/types/badge.d.ts +5 -4
  91. package/dist/runtime/types/breadcrumb.d.ts +7 -0
  92. package/dist/runtime/types/button.d.ts +5 -4
  93. package/dist/runtime/types/chip.d.ts +11 -0
  94. package/dist/runtime/types/command-palette.d.ts +1 -0
  95. package/dist/runtime/types/dropdown.d.ts +2 -2
  96. package/dist/runtime/types/form-group.d.ts +5 -0
  97. package/dist/runtime/types/form.d.ts +14 -6
  98. package/dist/runtime/types/index.d.ts +12 -0
  99. package/dist/runtime/types/input.d.ts +8 -0
  100. package/dist/runtime/types/kbd.d.ts +5 -0
  101. package/dist/runtime/types/meter.d.ts +5 -0
  102. package/dist/runtime/types/popper.d.ts +1 -0
  103. package/dist/runtime/types/progress.d.ts +4 -0
  104. package/dist/runtime/types/range.d.ts +5 -0
  105. package/dist/runtime/types/select.d.ts +8 -0
  106. package/dist/runtime/types/textarea.d.ts +8 -0
  107. package/dist/runtime/types/toggle.d.ts +5 -0
  108. package/dist/runtime/types/utils.d.ts +22 -5
  109. package/dist/runtime/ui.config/_popperArrow.d.ts +9 -0
  110. package/dist/runtime/ui.config/_popperArrow.mjs +8 -0
  111. package/dist/runtime/ui.config/data/table.d.ts +60 -0
  112. package/dist/runtime/ui.config/data/table.mjs +59 -0
  113. package/dist/runtime/ui.config/elements/accordion.d.ts +21 -0
  114. package/dist/runtime/ui.config/elements/accordion.mjs +20 -0
  115. package/dist/runtime/ui.config/elements/alert.d.ts +40 -0
  116. package/dist/runtime/ui.config/elements/alert.mjs +39 -0
  117. package/dist/runtime/ui.config/elements/avatar.d.ts +60 -0
  118. package/dist/runtime/ui.config/elements/avatar.mjs +59 -0
  119. package/dist/runtime/ui.config/elements/avatarGroup.d.ts +6 -0
  120. package/dist/runtime/ui.config/elements/avatarGroup.mjs +5 -0
  121. package/dist/runtime/ui.config/elements/badge.d.ts +34 -0
  122. package/dist/runtime/ui.config/elements/badge.mjs +33 -0
  123. package/dist/runtime/ui.config/elements/button.d.ts +77 -0
  124. package/dist/runtime/ui.config/elements/button.mjs +76 -0
  125. package/dist/runtime/ui.config/elements/buttonGroup.d.ts +9 -0
  126. package/dist/runtime/ui.config/elements/buttonGroup.mjs +8 -0
  127. package/dist/runtime/ui.config/elements/chip.d.ts +35 -0
  128. package/dist/runtime/ui.config/elements/chip.mjs +34 -0
  129. package/dist/runtime/ui.config/elements/dropdown.d.ts +53 -0
  130. package/dist/runtime/ui.config/elements/dropdown.mjs +51 -0
  131. package/dist/runtime/ui.config/elements/kbd.d.ts +17 -0
  132. package/dist/runtime/ui.config/elements/kbd.mjs +16 -0
  133. package/dist/runtime/ui.config/elements/meter.d.ts +77 -0
  134. package/dist/runtime/ui.config/elements/meter.mjs +76 -0
  135. package/dist/runtime/ui.config/elements/meterGroup.d.ts +12 -0
  136. package/dist/runtime/ui.config/elements/meterGroup.mjs +11 -0
  137. package/dist/runtime/ui.config/elements/progress.d.ts +75 -0
  138. package/dist/runtime/ui.config/elements/progress.mjs +74 -0
  139. package/dist/runtime/ui.config/forms/checkbox.d.ts +16 -0
  140. package/dist/runtime/ui.config/forms/checkbox.mjs +15 -0
  141. package/dist/runtime/ui.config/forms/formGroup.d.ts +25 -0
  142. package/dist/runtime/ui.config/forms/formGroup.mjs +25 -0
  143. package/dist/runtime/ui.config/forms/input.d.ts +105 -0
  144. package/dist/runtime/ui.config/forms/input.mjs +104 -0
  145. package/dist/runtime/ui.config/forms/radio.d.ts +15 -0
  146. package/dist/runtime/ui.config/forms/radio.mjs +14 -0
  147. package/dist/runtime/ui.config/forms/radioGroup.d.ts +8 -0
  148. package/dist/runtime/ui.config/forms/radioGroup.mjs +7 -0
  149. package/dist/runtime/ui.config/forms/range.d.ts +64 -0
  150. package/dist/runtime/ui.config/forms/range.mjs +63 -0
  151. package/dist/runtime/ui.config/forms/select.d.ts +106 -0
  152. package/dist/runtime/ui.config/forms/select.mjs +12 -0
  153. package/dist/runtime/ui.config/forms/selectMenu.d.ts +63 -0
  154. package/dist/runtime/ui.config/forms/selectMenu.mjs +61 -0
  155. package/dist/runtime/ui.config/forms/textarea.d.ts +104 -0
  156. package/dist/runtime/ui.config/forms/textarea.mjs +9 -0
  157. package/dist/runtime/ui.config/forms/toggle.d.ts +61 -0
  158. package/dist/runtime/ui.config/forms/toggle.mjs +60 -0
  159. package/dist/runtime/ui.config/index.d.ts +40 -0
  160. package/dist/runtime/ui.config/index.mjs +40 -0
  161. package/dist/runtime/ui.config/layout/card.d.ts +24 -0
  162. package/dist/runtime/ui.config/layout/card.mjs +23 -0
  163. package/dist/runtime/ui.config/layout/container.d.ts +6 -0
  164. package/dist/runtime/ui.config/layout/container.mjs +5 -0
  165. package/dist/runtime/ui.config/layout/divider.d.ts +30 -0
  166. package/dist/runtime/ui.config/layout/divider.mjs +29 -0
  167. package/dist/runtime/ui.config/layout/skeleton.d.ts +6 -0
  168. package/dist/runtime/ui.config/layout/skeleton.mjs +5 -0
  169. package/dist/runtime/ui.config/navigation/breadcrumb.d.ts +20 -0
  170. package/dist/runtime/ui.config/navigation/breadcrumb.mjs +19 -0
  171. package/dist/runtime/ui.config/navigation/commandPalette.d.ts +68 -0
  172. package/dist/runtime/ui.config/navigation/commandPalette.mjs +67 -0
  173. package/dist/runtime/ui.config/navigation/pagination.d.ts +35 -0
  174. package/dist/runtime/ui.config/navigation/pagination.mjs +34 -0
  175. package/dist/runtime/ui.config/navigation/tabs.d.ts +34 -0
  176. package/dist/runtime/ui.config/navigation/tabs.mjs +33 -0
  177. package/dist/runtime/ui.config/navigation/verticalNavigation.d.ts +28 -0
  178. package/dist/runtime/ui.config/navigation/verticalNavigation.mjs +27 -0
  179. package/dist/runtime/ui.config/overlays/contextMenu.d.ts +31 -0
  180. package/dist/runtime/ui.config/overlays/contextMenu.mjs +25 -0
  181. package/dist/runtime/ui.config/overlays/modal.d.ts +35 -0
  182. package/dist/runtime/ui.config/overlays/modal.mjs +36 -0
  183. package/dist/runtime/ui.config/overlays/notification.d.ts +49 -0
  184. package/dist/runtime/ui.config/overlays/notification.mjs +49 -0
  185. package/dist/runtime/ui.config/overlays/notifications.d.ts +7 -0
  186. package/dist/runtime/ui.config/overlays/notifications.mjs +6 -0
  187. package/dist/runtime/ui.config/overlays/popover.d.ts +42 -0
  188. package/dist/runtime/ui.config/overlays/popover.mjs +36 -0
  189. package/dist/runtime/ui.config/overlays/slideover.d.ts +27 -0
  190. package/dist/runtime/ui.config/overlays/slideover.mjs +28 -0
  191. package/dist/runtime/ui.config/overlays/tooltip.d.ts +32 -0
  192. package/dist/runtime/ui.config/overlays/tooltip.mjs +26 -0
  193. package/dist/runtime/utils/index.d.ts +5 -0
  194. package/dist/runtime/utils/index.mjs +6 -2
  195. package/dist/types.d.mts +3 -2
  196. package/dist/types.d.ts +3 -2
  197. package/package.json +41 -28
  198. package/dist/runtime/ui.config.d.ts +0 -1207
  199. package/dist/runtime/ui.config.mjs +0 -1029
  200. package/dist/runtime/utils/StateEmitter.d.ts +0 -17
  201. package/dist/runtime/utils/StateEmitter.mjs +0 -21
@@ -0,0 +1,68 @@
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
+ size: string;
13
+ padding: string;
14
+ };
15
+ closeButton: string;
16
+ };
17
+ emptyState: {
18
+ wrapper: string;
19
+ label: string;
20
+ queryLabel: string;
21
+ icon: string;
22
+ };
23
+ group: {
24
+ wrapper: string;
25
+ label: string;
26
+ container: string;
27
+ command: {
28
+ base: string;
29
+ active: string;
30
+ inactive: string;
31
+ label: string;
32
+ prefix: string;
33
+ suffix: string;
34
+ container: string;
35
+ icon: {
36
+ base: string;
37
+ active: string;
38
+ inactive: string;
39
+ };
40
+ selectedIcon: {
41
+ base: string;
42
+ };
43
+ avatar: {
44
+ base: string;
45
+ size: "3xs";
46
+ };
47
+ chip: {
48
+ base: string;
49
+ };
50
+ disabled: string;
51
+ shortcuts: string;
52
+ };
53
+ active: string;
54
+ inactive: string;
55
+ };
56
+ default: {
57
+ icon: string;
58
+ loadingIcon: string;
59
+ emptyState: {
60
+ icon: string;
61
+ label: string;
62
+ queryLabel: string;
63
+ };
64
+ closeButton: null;
65
+ selectedIcon: string;
66
+ };
67
+ };
68
+ export default _default;
@@ -0,0 +1,67 @@
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
+ size: "h-4 w-4",
13
+ padding: "ps-10"
14
+ },
15
+ closeButton: "absolute end-4"
16
+ },
17
+ emptyState: {
18
+ wrapper: "flex flex-col items-center justify-center flex-1 px-6 py-14 sm:px-14",
19
+ label: "text-sm text-center text-gray-900 dark:text-white",
20
+ queryLabel: "text-sm text-center text-gray-900 dark:text-white",
21
+ icon: "w-6 h-6 mx-auto text-gray-400 dark:text-gray-500 mb-4"
22
+ },
23
+ group: {
24
+ wrapper: "p-2",
25
+ label: "px-2 my-2 text-xs font-semibold text-gray-900 dark:text-white",
26
+ container: "text-sm text-gray-700 dark:text-gray-200",
27
+ command: {
28
+ base: "flex justify-between select-none items-center rounded-md px-2 py-1.5 gap-2 relative",
29
+ active: "bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-white",
30
+ inactive: "",
31
+ label: "flex items-center gap-1.5 min-w-0",
32
+ prefix: "text-gray-400 dark:text-gray-500",
33
+ suffix: "text-gray-400 dark:text-gray-500",
34
+ container: "flex items-center gap-2 min-w-0",
35
+ icon: {
36
+ base: "flex-shrink-0 w-4 h-4",
37
+ active: "text-gray-900 dark:text-white",
38
+ inactive: "text-gray-400 dark:text-gray-500"
39
+ },
40
+ selectedIcon: {
41
+ base: "h-4 w-4 text-gray-900 dark:text-white flex-shrink-0"
42
+ },
43
+ avatar: {
44
+ base: "flex-shrink-0",
45
+ size: "3xs"
46
+ },
47
+ chip: {
48
+ base: "flex-shrink-0 w-2 h-2 mx-1 rounded-full"
49
+ },
50
+ disabled: "opacity-50",
51
+ shortcuts: "hidden md:inline-flex flex-shrink-0 gap-0.5"
52
+ },
53
+ active: "flex-shrink-0 text-gray-500 dark:text-gray-400",
54
+ inactive: "flex-shrink-0 text-gray-500 dark:text-gray-400"
55
+ },
56
+ default: {
57
+ icon: "i-heroicons-magnifying-glass-20-solid",
58
+ loadingIcon: "i-heroicons-arrow-path-20-solid",
59
+ emptyState: {
60
+ icon: "i-heroicons-magnifying-glass-20-solid",
61
+ label: "We couldn't find any items.",
62
+ queryLabel: "We couldn't find any items with that term. Please try again."
63
+ },
64
+ closeButton: null,
65
+ selectedIcon: "i-heroicons-check-20-solid"
66
+ }
67
+ };
@@ -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: string;
9
+ };
10
+ inactiveButton: {
11
+ color: string;
12
+ };
13
+ firstButton: {
14
+ color: string;
15
+ class: string;
16
+ icon: string;
17
+ };
18
+ lastButton: {
19
+ color: string;
20
+ class: string;
21
+ icon: string;
22
+ };
23
+ prevButton: {
24
+ color: string;
25
+ class: string;
26
+ icon: string;
27
+ };
28
+ nextButton: {
29
+ color: string;
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: string;
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 "../_popperArrow.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,35 @@
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
+ transition: {
27
+ enter: string;
28
+ enterFrom: string;
29
+ enterTo: string;
30
+ leave: string;
31
+ leaveFrom: string;
32
+ leaveTo: string;
33
+ };
34
+ };
35
+ export default _default;
@@ -0,0 +1,36 @@
1
+ export default {
2
+ wrapper: "relative z-50",
3
+ inner: "fixed inset-0 overflow-y-auto",
4
+ container: "flex min-h-full items-end sm:items-center justify-center text-center",
5
+ padding: "p-4 sm:p-0",
6
+ margin: "sm:my-8",
7
+ base: "relative text-left rtl:text-right overflow-hidden w-full flex flex-col",
8
+ overlay: {
9
+ base: "fixed inset-0 transition-opacity",
10
+ background: "bg-gray-200/75 dark:bg-gray-800/75",
11
+ // Syntax for `<TransitionRoot>` component https://headlessui.com/vue/transition#basic-example
12
+ transition: {
13
+ enter: "ease-out duration-300",
14
+ enterFrom: "opacity-0",
15
+ enterTo: "opacity-100",
16
+ leave: "ease-in duration-200",
17
+ leaveFrom: "opacity-100",
18
+ leaveTo: "opacity-0"
19
+ }
20
+ },
21
+ background: "bg-white dark:bg-gray-900",
22
+ ring: "",
23
+ rounded: "rounded-lg",
24
+ shadow: "shadow-xl",
25
+ width: "sm:max-w-lg",
26
+ height: "",
27
+ // Syntax for `<TransitionRoot>` component https://headlessui.com/vue/transition#basic-example
28
+ transition: {
29
+ enter: "ease-out duration-300",
30
+ enterFrom: "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",
31
+ enterTo: "opacity-100 translate-y-0 sm:scale-100",
32
+ leave: "ease-in duration-200",
33
+ leaveFrom: "opacity-100 translate-y-0 sm:scale-100",
34
+ leaveTo: "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"
35
+ }
36
+ };
@@ -0,0 +1,49 @@
1
+ declare const _default: {
2
+ wrapper: string;
3
+ container: string;
4
+ title: string;
5
+ description: string;
6
+ actions: string;
7
+ background: string;
8
+ shadow: string;
9
+ rounded: string;
10
+ padding: string;
11
+ gap: string;
12
+ ring: string;
13
+ icon: {
14
+ base: string;
15
+ color: string;
16
+ };
17
+ avatar: {
18
+ base: string;
19
+ size: "md";
20
+ };
21
+ progress: {
22
+ base: string;
23
+ background: string;
24
+ };
25
+ transition: {
26
+ enterActiveClass: string;
27
+ enterFromClass: string;
28
+ enterToClass: string;
29
+ leaveActiveClass: string;
30
+ leaveFromClass: string;
31
+ leaveToClass: string;
32
+ };
33
+ default: {
34
+ color: string;
35
+ icon: null;
36
+ timeout: number;
37
+ closeButton: {
38
+ icon: string;
39
+ color: string;
40
+ variant: string;
41
+ padded: boolean;
42
+ };
43
+ actionButton: {
44
+ size: string;
45
+ color: string;
46
+ };
47
+ };
48
+ };
49
+ export default _default;
@@ -0,0 +1,49 @@
1
+ export default {
2
+ wrapper: "w-full pointer-events-auto",
3
+ container: "relative overflow-hidden",
4
+ title: "text-sm font-medium text-gray-900 dark:text-white",
5
+ description: "mt-1 text-sm leading-4 text-gray-500 dark:text-gray-400",
6
+ actions: "flex items-center gap-2 mt-3 flex-shrink-0",
7
+ background: "bg-white dark:bg-gray-900",
8
+ shadow: "shadow-lg",
9
+ rounded: "rounded-lg",
10
+ padding: "p-4",
11
+ gap: "gap-3",
12
+ ring: "ring-1 ring-gray-200 dark:ring-gray-800",
13
+ icon: {
14
+ base: "flex-shrink-0 w-5 h-5",
15
+ color: "text-{color}-500 dark:text-{color}-400"
16
+ },
17
+ avatar: {
18
+ base: "flex-shrink-0 self-center",
19
+ size: "md"
20
+ },
21
+ progress: {
22
+ base: "absolute bottom-0 end-0 start-0 h-1",
23
+ background: "bg-{color}-500 dark:bg-{color}-400"
24
+ },
25
+ // Syntax for `<Transition>` component https://vuejs.org/guide/built-ins/transition.html#css-based-transitions
26
+ transition: {
27
+ enterActiveClass: "transform ease-out duration-300 transition",
28
+ enterFromClass: "translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-2",
29
+ enterToClass: "translate-y-0 opacity-100 sm:translate-x-0",
30
+ leaveActiveClass: "transition ease-in duration-100",
31
+ leaveFromClass: "opacity-100",
32
+ leaveToClass: "opacity-0"
33
+ },
34
+ default: {
35
+ color: "primary",
36
+ icon: null,
37
+ timeout: 5e3,
38
+ closeButton: {
39
+ icon: "i-heroicons-x-mark-20-solid",
40
+ color: "gray",
41
+ variant: "link",
42
+ padded: false
43
+ },
44
+ actionButton: {
45
+ size: "xs",
46
+ color: "white"
47
+ }
48
+ }
49
+ };
@@ -0,0 +1,7 @@
1
+ declare const _default: {
2
+ wrapper: string;
3
+ position: string;
4
+ width: string;
5
+ container: string;
6
+ };
7
+ export default _default;
@@ -0,0 +1,6 @@
1
+ export default {
2
+ wrapper: "fixed flex flex-col justify-end z-[55]",
3
+ position: "bottom-0 end-0",
4
+ width: "w-full sm:w-96",
5
+ container: "px-4 sm:px-6 py-6 space-y-3 overflow-y-auto"
6
+ };
@@ -0,0 +1,42 @@
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
+ overlay: {
19
+ base: string;
20
+ background: string;
21
+ transition: {
22
+ enterActiveClass: string;
23
+ enterFromClass: string;
24
+ enterToClass: string;
25
+ leaveActiveClass: string;
26
+ leaveFromClass: string;
27
+ leaveToClass: string;
28
+ };
29
+ };
30
+ popper: {
31
+ strategy: string;
32
+ };
33
+ arrow: {
34
+ base: string;
35
+ ring: string;
36
+ rounded: string;
37
+ background: string;
38
+ shadow: string;
39
+ placement: string;
40
+ };
41
+ };
42
+ export default _default;
@@ -0,0 +1,36 @@
1
+ import arrow from "../_popperArrow.mjs";
2
+ export default {
3
+ wrapper: "relative",
4
+ container: "z-50 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
+ overlay: {
21
+ base: "fixed inset-0 transition-opacity z-50",
22
+ background: "bg-gray-200/75 dark:bg-gray-800/75",
23
+ transition: {
24
+ enterActiveClass: "ease-out duration-200",
25
+ enterFromClass: "opacity-0",
26
+ enterToClass: "opacity-100",
27
+ leaveActiveClass: "ease-in duration-150",
28
+ leaveFromClass: "opacity-100",
29
+ leaveToClass: "opacity-0"
30
+ }
31
+ },
32
+ popper: {
33
+ strategy: "fixed"
34
+ },
35
+ arrow
36
+ };
@@ -0,0 +1,27 @@
1
+ declare const _default: {
2
+ wrapper: string;
3
+ overlay: {
4
+ base: string;
5
+ background: string;
6
+ transition: {
7
+ enter: string;
8
+ enterFrom: string;
9
+ enterTo: string;
10
+ leave: string;
11
+ leaveFrom: string;
12
+ leaveTo: string;
13
+ };
14
+ };
15
+ base: string;
16
+ background: string;
17
+ ring: string;
18
+ rounded: string;
19
+ padding: string;
20
+ shadow: string;
21
+ width: string;
22
+ transition: {
23
+ enter: string;
24
+ leave: string;
25
+ };
26
+ };
27
+ export default _default;