@nuxt/ui 2.10.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 (172) hide show
  1. package/README.md +11 -0
  2. package/dist/module.d.mts +191 -82
  3. package/dist/module.d.ts +191 -82
  4. package/dist/module.json +1 -1
  5. package/dist/module.mjs +12 -5
  6. package/dist/runtime/components/elements/Alert.vue +7 -6
  7. package/dist/runtime/components/elements/Alert.vue.d.ts +6 -5
  8. package/dist/runtime/components/elements/Avatar.vue.d.ts +5 -4
  9. package/dist/runtime/components/elements/AvatarGroup.d.ts +4 -3
  10. package/dist/runtime/components/elements/Badge.vue +4 -2
  11. package/dist/runtime/components/elements/Badge.vue.d.ts +5 -5
  12. package/dist/runtime/components/elements/Button.vue +8 -6
  13. package/dist/runtime/components/elements/Button.vue.d.ts +6 -6
  14. package/dist/runtime/components/elements/ButtonGroup.d.ts +5 -4
  15. package/dist/runtime/components/elements/ButtonGroup.mjs +19 -32
  16. package/dist/runtime/components/elements/Chip.vue +85 -0
  17. package/dist/runtime/components/elements/Chip.vue.d.ts +90 -0
  18. package/dist/runtime/components/elements/Dropdown.vue +31 -17
  19. package/dist/runtime/components/elements/Dropdown.vue.d.ts +6 -0
  20. package/dist/runtime/components/elements/Icon.vue +16 -2
  21. package/dist/runtime/components/elements/Icon.vue.d.ts +14 -2
  22. package/dist/runtime/components/elements/Kbd.vue.d.ts +5 -4
  23. package/dist/runtime/components/elements/Link.vue +2 -5
  24. package/dist/runtime/components/elements/Meter.vue.d.ts +3 -3
  25. package/dist/runtime/components/elements/MeterGroup.d.ts +2 -2
  26. package/dist/runtime/components/elements/Progress.vue +1 -1
  27. package/dist/runtime/components/forms/Checkbox.vue +2 -4
  28. package/dist/runtime/components/forms/Checkbox.vue.d.ts +5 -5
  29. package/dist/runtime/components/forms/FormGroup.vue +7 -3
  30. package/dist/runtime/components/forms/FormGroup.vue.d.ts +15 -5
  31. package/dist/runtime/components/forms/Input.vue +36 -5
  32. package/dist/runtime/components/forms/Input.vue.d.ts +32 -9
  33. package/dist/runtime/components/forms/Radio.vue +12 -6
  34. package/dist/runtime/components/forms/Radio.vue.d.ts +5 -4
  35. package/dist/runtime/components/forms/RadioGroup.vue +1 -1
  36. package/dist/runtime/components/forms/RadioGroup.vue.d.ts +1 -1
  37. package/dist/runtime/components/forms/Range.vue.d.ts +6 -5
  38. package/dist/runtime/components/forms/Select.vue +5 -2
  39. package/dist/runtime/components/forms/Select.vue.d.ts +9 -8
  40. package/dist/runtime/components/forms/SelectMenu.vue +24 -7
  41. package/dist/runtime/components/forms/SelectMenu.vue.d.ts +18 -9
  42. package/dist/runtime/components/forms/Textarea.vue +33 -3
  43. package/dist/runtime/components/forms/Textarea.vue.d.ts +31 -8
  44. package/dist/runtime/components/forms/Toggle.vue +19 -1
  45. package/dist/runtime/components/forms/Toggle.vue.d.ts +15 -2
  46. package/dist/runtime/components/layout/Divider.vue.d.ts +3 -3
  47. package/dist/runtime/components/navigation/Breadcrumb.vue +78 -0
  48. package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +50 -0
  49. package/dist/runtime/components/navigation/CommandPalette.vue +8 -4
  50. package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +1 -1
  51. package/dist/runtime/components/navigation/Pagination.vue.d.ts +4 -4
  52. package/dist/runtime/components/navigation/Tabs.vue.d.ts +1 -1
  53. package/dist/runtime/components/overlays/Notification.vue +27 -28
  54. package/dist/runtime/components/overlays/Notification.vue.d.ts +4 -3
  55. package/dist/runtime/components/overlays/Notifications.vue +16 -14
  56. package/dist/runtime/components/overlays/Popover.vue +9 -0
  57. package/dist/runtime/components/overlays/Popover.vue.d.ts +13 -2
  58. package/dist/runtime/composables/defineShortcuts.d.ts +1 -1
  59. package/dist/runtime/composables/defineShortcuts.mjs +8 -4
  60. package/dist/runtime/composables/useButtonGroup.d.ts +20 -0
  61. package/dist/runtime/composables/useButtonGroup.mjs +52 -0
  62. package/dist/runtime/composables/useFormGroup.d.ts +4 -2
  63. package/dist/runtime/composables/useFormGroup.mjs +3 -2
  64. package/dist/runtime/composables/useShortcuts.d.ts +2 -2
  65. package/dist/runtime/types/alert.d.ts +7 -0
  66. package/dist/runtime/types/avatar.d.ts +3 -1
  67. package/dist/runtime/types/badge.d.ts +5 -4
  68. package/dist/runtime/types/breadcrumb.d.ts +7 -0
  69. package/dist/runtime/types/button.d.ts +5 -4
  70. package/dist/runtime/types/chip.d.ts +11 -0
  71. package/dist/runtime/types/dropdown.d.ts +2 -2
  72. package/dist/runtime/types/form-group.d.ts +5 -0
  73. package/dist/runtime/types/form.d.ts +2 -1
  74. package/dist/runtime/types/index.d.ts +10 -0
  75. package/dist/runtime/types/input.d.ts +8 -0
  76. package/dist/runtime/types/kbd.d.ts +5 -0
  77. package/dist/runtime/types/range.d.ts +5 -0
  78. package/dist/runtime/types/select.d.ts +8 -0
  79. package/dist/runtime/types/textarea.d.ts +8 -0
  80. package/dist/runtime/types/toggle.d.ts +5 -0
  81. package/dist/runtime/types/utils.d.ts +22 -5
  82. package/dist/runtime/ui.config/_popperArrow.d.ts +9 -0
  83. package/dist/runtime/ui.config/_popperArrow.mjs +8 -0
  84. package/dist/runtime/ui.config/data/table.d.ts +60 -0
  85. package/dist/runtime/ui.config/data/table.mjs +59 -0
  86. package/dist/runtime/ui.config/elements/accordion.d.ts +21 -0
  87. package/dist/runtime/ui.config/elements/accordion.mjs +20 -0
  88. package/dist/runtime/ui.config/elements/alert.d.ts +40 -0
  89. package/dist/runtime/ui.config/elements/alert.mjs +39 -0
  90. package/dist/runtime/ui.config/elements/avatar.d.ts +60 -0
  91. package/dist/runtime/ui.config/elements/avatar.mjs +59 -0
  92. package/dist/runtime/ui.config/elements/avatarGroup.d.ts +6 -0
  93. package/dist/runtime/ui.config/elements/avatarGroup.mjs +5 -0
  94. package/dist/runtime/ui.config/elements/badge.d.ts +34 -0
  95. package/dist/runtime/ui.config/elements/badge.mjs +33 -0
  96. package/dist/runtime/ui.config/elements/button.d.ts +77 -0
  97. package/dist/runtime/ui.config/elements/button.mjs +76 -0
  98. package/dist/runtime/ui.config/elements/buttonGroup.d.ts +9 -0
  99. package/dist/runtime/ui.config/elements/buttonGroup.mjs +8 -0
  100. package/dist/runtime/ui.config/elements/chip.d.ts +35 -0
  101. package/dist/runtime/ui.config/elements/chip.mjs +34 -0
  102. package/dist/runtime/ui.config/elements/dropdown.d.ts +53 -0
  103. package/dist/runtime/ui.config/elements/dropdown.mjs +51 -0
  104. package/dist/runtime/ui.config/elements/kbd.d.ts +17 -0
  105. package/dist/runtime/ui.config/elements/kbd.mjs +16 -0
  106. package/dist/runtime/ui.config/elements/meter.d.ts +77 -0
  107. package/dist/runtime/ui.config/elements/meter.mjs +76 -0
  108. package/dist/runtime/ui.config/elements/meterGroup.d.ts +12 -0
  109. package/dist/runtime/ui.config/elements/meterGroup.mjs +11 -0
  110. package/dist/runtime/ui.config/elements/progress.d.ts +75 -0
  111. package/dist/runtime/ui.config/elements/progress.mjs +74 -0
  112. package/dist/runtime/ui.config/forms/checkbox.d.ts +16 -0
  113. package/dist/runtime/ui.config/forms/checkbox.mjs +15 -0
  114. package/dist/runtime/ui.config/forms/formGroup.d.ts +25 -0
  115. package/dist/runtime/ui.config/forms/formGroup.mjs +25 -0
  116. package/dist/runtime/ui.config/forms/input.d.ts +105 -0
  117. package/dist/runtime/ui.config/forms/input.mjs +104 -0
  118. package/dist/runtime/ui.config/forms/radio.d.ts +15 -0
  119. package/dist/runtime/ui.config/forms/radio.mjs +14 -0
  120. package/dist/runtime/ui.config/forms/radioGroup.d.ts +8 -0
  121. package/dist/runtime/ui.config/forms/radioGroup.mjs +7 -0
  122. package/dist/runtime/ui.config/forms/range.d.ts +64 -0
  123. package/dist/runtime/ui.config/forms/range.mjs +63 -0
  124. package/dist/runtime/ui.config/forms/select.d.ts +106 -0
  125. package/dist/runtime/ui.config/forms/select.mjs +12 -0
  126. package/dist/runtime/ui.config/forms/selectMenu.d.ts +63 -0
  127. package/dist/runtime/ui.config/forms/selectMenu.mjs +61 -0
  128. package/dist/runtime/ui.config/forms/textarea.d.ts +104 -0
  129. package/dist/runtime/ui.config/forms/textarea.mjs +9 -0
  130. package/dist/runtime/ui.config/forms/toggle.d.ts +61 -0
  131. package/dist/runtime/ui.config/forms/toggle.mjs +60 -0
  132. package/dist/runtime/ui.config/index.d.ts +40 -0
  133. package/dist/runtime/ui.config/index.mjs +40 -0
  134. package/dist/runtime/ui.config/layout/card.d.ts +24 -0
  135. package/dist/runtime/ui.config/layout/card.mjs +23 -0
  136. package/dist/runtime/ui.config/layout/container.d.ts +6 -0
  137. package/dist/runtime/ui.config/layout/container.mjs +5 -0
  138. package/dist/runtime/ui.config/layout/divider.d.ts +30 -0
  139. package/dist/runtime/ui.config/layout/divider.mjs +29 -0
  140. package/dist/runtime/ui.config/layout/skeleton.d.ts +6 -0
  141. package/dist/runtime/ui.config/layout/skeleton.mjs +5 -0
  142. package/dist/runtime/ui.config/navigation/breadcrumb.d.ts +20 -0
  143. package/dist/runtime/ui.config/navigation/breadcrumb.mjs +19 -0
  144. package/dist/runtime/ui.config/navigation/commandPalette.d.ts +68 -0
  145. package/dist/runtime/ui.config/navigation/commandPalette.mjs +67 -0
  146. package/dist/runtime/ui.config/navigation/pagination.d.ts +35 -0
  147. package/dist/runtime/ui.config/navigation/pagination.mjs +34 -0
  148. package/dist/runtime/ui.config/navigation/tabs.d.ts +34 -0
  149. package/dist/runtime/ui.config/navigation/tabs.mjs +33 -0
  150. package/dist/runtime/ui.config/navigation/verticalNavigation.d.ts +28 -0
  151. package/dist/runtime/ui.config/navigation/verticalNavigation.mjs +27 -0
  152. package/dist/runtime/ui.config/overlays/contextMenu.d.ts +31 -0
  153. package/dist/runtime/ui.config/overlays/contextMenu.mjs +25 -0
  154. package/dist/runtime/ui.config/overlays/modal.d.ts +35 -0
  155. package/dist/runtime/ui.config/overlays/modal.mjs +36 -0
  156. package/dist/runtime/ui.config/overlays/notification.d.ts +49 -0
  157. package/dist/runtime/ui.config/overlays/notification.mjs +49 -0
  158. package/dist/runtime/ui.config/overlays/notifications.d.ts +7 -0
  159. package/dist/runtime/ui.config/overlays/notifications.mjs +6 -0
  160. package/dist/runtime/ui.config/overlays/popover.d.ts +42 -0
  161. package/dist/runtime/ui.config/overlays/popover.mjs +36 -0
  162. package/dist/runtime/ui.config/overlays/slideover.d.ts +27 -0
  163. package/dist/runtime/ui.config/overlays/slideover.mjs +28 -0
  164. package/dist/runtime/ui.config/overlays/tooltip.d.ts +32 -0
  165. package/dist/runtime/ui.config/overlays/tooltip.mjs +26 -0
  166. package/dist/runtime/utils/index.d.ts +5 -0
  167. package/dist/runtime/utils/index.mjs +6 -2
  168. package/dist/types.d.mts +3 -2
  169. package/dist/types.d.ts +3 -2
  170. package/package.json +32 -19
  171. package/dist/runtime/ui.config.d.ts +0 -1470
  172. package/dist/runtime/ui.config.mjs +0 -1273
@@ -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,9 @@
1
+ declare const _default: {
2
+ wrapper: {
3
+ horizontal: string;
4
+ vertical: string;
5
+ };
6
+ rounded: string;
7
+ shadow: string;
8
+ };
9
+ export default _default;
@@ -0,0 +1,8 @@
1
+ export default {
2
+ wrapper: {
3
+ horizontal: "inline-flex -space-x-px",
4
+ vertical: "inline-flex flex-col -space-y-px"
5
+ },
6
+ rounded: "rounded-md",
7
+ shadow: "shadow-sm"
8
+ };
@@ -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,12 @@
1
+ declare const _default: {
2
+ wrapper: string;
3
+ base: string;
4
+ background: string;
5
+ transition: string;
6
+ rounded: string;
7
+ shadow: string;
8
+ default: {
9
+ size: string;
10
+ };
11
+ };
12
+ export default _default;
@@ -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;