@sytechui/theme 3.0.0 → 3.0.2

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 (261) hide show
  1. package/dist/{chunk-GRXVRRMQ.mjs → chunk-2QZDAFQ3.mjs} +5 -5
  2. package/dist/{chunk-CVEUMSFB.mjs → chunk-2TFOWOJL.mjs} +1 -1
  3. package/dist/{chunk-LNIOH7P3.mjs → chunk-47BB6GL3.mjs} +1 -1
  4. package/dist/{chunk-27PW7EKT.mjs → chunk-4N2PLITL.mjs} +1 -1
  5. package/dist/{chunk-3CPLY5GO.mjs → chunk-5DJU5KUL.mjs} +1 -1
  6. package/dist/{chunk-W5EOCY2Q.mjs → chunk-7ARJ2TQM.mjs} +1 -1
  7. package/dist/{chunk-CEXS5CRG.mjs → chunk-AGSAOCCR.mjs} +1 -1
  8. package/dist/{chunk-E6CTGLWE.mjs → chunk-AL5UNXQI.mjs} +1 -1
  9. package/dist/chunk-BF4542X6.mjs +142 -0
  10. package/dist/{chunk-HR4NECU7.mjs → chunk-CV2E4DI2.mjs} +2 -2
  11. package/dist/{chunk-XSOFQFH2.mjs → chunk-ECD4ABCS.mjs} +1 -1
  12. package/dist/{chunk-HQL3C3RQ.mjs → chunk-EZ47UJPD.mjs} +1 -1
  13. package/dist/{chunk-KFYNGEBZ.mjs → chunk-I5YZBAB3.mjs} +1 -1
  14. package/dist/{chunk-U2PPTT27.mjs → chunk-KKEJLP4U.mjs} +1 -1
  15. package/dist/{chunk-3PMV23D5.mjs → chunk-MTBQ5EO5.mjs} +1 -1
  16. package/dist/{chunk-P576IVAB.mjs → chunk-OSP4OLTO.mjs} +1 -1
  17. package/dist/{chunk-YUIGJJHE.mjs → chunk-P5HLCB43.mjs} +1 -1
  18. package/dist/{chunk-HNHTWJN2.mjs → chunk-PY74IHS4.mjs} +1 -1
  19. package/dist/{chunk-6R3AOQOQ.mjs → chunk-USGOG5QI.mjs} +1 -1
  20. package/dist/{chunk-MKKI3P75.mjs → chunk-W37Q6YFS.mjs} +1 -1
  21. package/dist/{chunk-VRZZBSOR.mjs → chunk-WH4ODSEM.mjs} +1 -1
  22. package/dist/{chunk-2ANGJDXN.mjs → chunk-XBJNS5SU.mjs} +1 -1
  23. package/dist/{chunk-UDC2HH2I.mjs → chunk-ZWG2GMCI.mjs} +1 -1
  24. package/dist/components/accordion.mjs +27 -26
  25. package/dist/components/alert.mjs +7 -7
  26. package/dist/components/autocomplete.mjs +7 -7
  27. package/dist/components/avatar.mjs +27 -26
  28. package/dist/components/badge.mjs +27 -26
  29. package/dist/components/bottom-bar.mjs +27 -26
  30. package/dist/components/breadcrumbs.mjs +27 -26
  31. package/dist/components/button.mjs +27 -26
  32. package/dist/components/calendar.mjs +27 -26
  33. package/dist/components/card.mjs +27 -26
  34. package/dist/components/checkbox.mjs +27 -26
  35. package/dist/components/chip.mjs +27 -26
  36. package/dist/components/code.mjs +27 -26
  37. package/dist/components/date-input.mjs +7 -7
  38. package/dist/components/date-picker.mjs +7 -7
  39. package/dist/components/divider.js +4 -4
  40. package/dist/components/divider.mjs +7 -7
  41. package/dist/components/drawer.mjs +7 -7
  42. package/dist/components/drip.mjs +7 -7
  43. package/dist/components/drop-zone.mjs +27 -26
  44. package/dist/components/dropdown.mjs +27 -26
  45. package/dist/components/form.mjs +7 -7
  46. package/dist/components/image.mjs +7 -7
  47. package/dist/components/index.js +141 -4
  48. package/dist/components/index.mjs +33 -29
  49. package/dist/components/input-otp.mjs +27 -26
  50. package/dist/components/input.mjs +27 -26
  51. package/dist/components/kbd.mjs +7 -7
  52. package/dist/components/link.mjs +27 -26
  53. package/dist/components/listbox.mjs +27 -26
  54. package/dist/components/menu.mjs +27 -26
  55. package/dist/components/modal.mjs +27 -26
  56. package/dist/components/navbar.mjs +27 -26
  57. package/dist/components/number-input.mjs +27 -26
  58. package/dist/components/pagination.mjs +27 -26
  59. package/dist/components/popover.mjs +27 -26
  60. package/dist/components/progress.mjs +7 -7
  61. package/dist/components/radio.mjs +27 -26
  62. package/dist/components/scroll-area.mjs +7 -7
  63. package/dist/components/scroll-shadow.mjs +7 -7
  64. package/dist/components/select.mjs +27 -26
  65. package/dist/components/shimmer-text.mjs +7 -7
  66. package/dist/components/sidebar.js +433 -0
  67. package/dist/components/sidebar.mjs +15 -0
  68. package/dist/components/skeleton.mjs +7 -7
  69. package/dist/components/slider.mjs +27 -26
  70. package/dist/components/snippet.mjs +27 -26
  71. package/dist/components/spacer.mjs +7 -7
  72. package/dist/components/spinner.mjs +7 -7
  73. package/dist/components/stepper.mjs +27 -26
  74. package/dist/components/table.mjs +27 -26
  75. package/dist/components/tabs.mjs +27 -26
  76. package/dist/components/toast.mjs +27 -26
  77. package/dist/components/toggle.mjs +27 -26
  78. package/dist/components/user.mjs +27 -26
  79. package/dist/index.js +141 -4
  80. package/dist/index.mjs +33 -29
  81. package/dist/plugin.mjs +5 -5
  82. package/dist/utilities/index.mjs +4 -4
  83. package/dist/utils/cn.mjs +6 -6
  84. package/dist/utils/index.mjs +27 -26
  85. package/dist/utils/merge-classes.mjs +27 -26
  86. package/dist/utils/tv.mjs +6 -6
  87. package/dist/utils/tw-merge-config.mjs +5 -5
  88. package/package.json +1 -1
  89. package/dist/animations/index.d.mts +0 -132
  90. package/dist/animations/index.d.ts +0 -132
  91. package/dist/colors/blue.d.mts +0 -14
  92. package/dist/colors/blue.d.ts +0 -14
  93. package/dist/colors/common.d.mts +0 -103
  94. package/dist/colors/common.d.ts +0 -103
  95. package/dist/colors/cyan.d.mts +0 -14
  96. package/dist/colors/cyan.d.ts +0 -14
  97. package/dist/colors/green.d.mts +0 -14
  98. package/dist/colors/green.d.ts +0 -14
  99. package/dist/colors/index.d.mts +0 -109
  100. package/dist/colors/index.d.ts +0 -109
  101. package/dist/colors/pink.d.mts +0 -14
  102. package/dist/colors/pink.d.ts +0 -14
  103. package/dist/colors/purple.d.mts +0 -14
  104. package/dist/colors/purple.d.ts +0 -14
  105. package/dist/colors/red.d.mts +0 -14
  106. package/dist/colors/red.d.ts +0 -14
  107. package/dist/colors/semantic.d.mts +0 -10
  108. package/dist/colors/semantic.d.ts +0 -10
  109. package/dist/colors/types.d.mts +0 -39
  110. package/dist/colors/types.d.ts +0 -39
  111. package/dist/colors/yellow.d.mts +0 -14
  112. package/dist/colors/yellow.d.ts +0 -14
  113. package/dist/colors/zinc.d.mts +0 -14
  114. package/dist/colors/zinc.d.ts +0 -14
  115. package/dist/colors.d.mts +0 -4
  116. package/dist/colors.d.ts +0 -4
  117. package/dist/components/accordion.d.mts +0 -228
  118. package/dist/components/accordion.d.ts +0 -228
  119. package/dist/components/alert.d.mts +0 -316
  120. package/dist/components/alert.d.ts +0 -316
  121. package/dist/components/autocomplete.d.mts +0 -95
  122. package/dist/components/autocomplete.d.ts +0 -95
  123. package/dist/components/avatar.d.mts +0 -300
  124. package/dist/components/avatar.d.ts +0 -300
  125. package/dist/components/badge.d.mts +0 -223
  126. package/dist/components/badge.d.ts +0 -223
  127. package/dist/components/bottom-bar.d.mts +0 -263
  128. package/dist/components/bottom-bar.d.ts +0 -263
  129. package/dist/components/breadcrumbs.d.mts +0 -379
  130. package/dist/components/breadcrumbs.d.ts +0 -379
  131. package/dist/components/button.d.mts +0 -188
  132. package/dist/components/button.d.ts +0 -188
  133. package/dist/components/calendar.d.mts +0 -279
  134. package/dist/components/calendar.d.ts +0 -279
  135. package/dist/components/card.d.mts +0 -257
  136. package/dist/components/card.d.ts +0 -257
  137. package/dist/components/checkbox.d.mts +0 -375
  138. package/dist/components/checkbox.d.ts +0 -375
  139. package/dist/components/chip.d.mts +0 -340
  140. package/dist/components/chip.d.ts +0 -340
  141. package/dist/components/code.d.mts +0 -80
  142. package/dist/components/code.d.ts +0 -80
  143. package/dist/components/date-input.d.mts +0 -392
  144. package/dist/components/date-input.d.ts +0 -392
  145. package/dist/components/date-picker.d.mts +0 -220
  146. package/dist/components/date-picker.d.ts +0 -220
  147. package/dist/components/divider.d.mts +0 -85
  148. package/dist/components/divider.d.ts +0 -85
  149. package/dist/components/drawer.d.mts +0 -190
  150. package/dist/components/drawer.d.ts +0 -190
  151. package/dist/components/drip.d.mts +0 -13
  152. package/dist/components/drip.d.ts +0 -13
  153. package/dist/components/drop-zone.d.mts +0 -434
  154. package/dist/components/drop-zone.d.ts +0 -434
  155. package/dist/components/dropdown.d.mts +0 -247
  156. package/dist/components/dropdown.d.ts +0 -247
  157. package/dist/components/form.d.mts +0 -19
  158. package/dist/components/form.d.ts +0 -19
  159. package/dist/components/image.d.mts +0 -174
  160. package/dist/components/image.d.ts +0 -174
  161. package/dist/components/index.d.mts +0 -51
  162. package/dist/components/index.d.ts +0 -51
  163. package/dist/components/input-otp.d.mts +0 -282
  164. package/dist/components/input-otp.d.ts +0 -282
  165. package/dist/components/input.d.mts +0 -458
  166. package/dist/components/input.d.ts +0 -458
  167. package/dist/components/kbd.d.mts +0 -50
  168. package/dist/components/kbd.d.ts +0 -50
  169. package/dist/components/link.d.mts +0 -107
  170. package/dist/components/link.d.ts +0 -107
  171. package/dist/components/listbox.d.mts +0 -3
  172. package/dist/components/listbox.d.ts +0 -3
  173. package/dist/components/menu.d.mts +0 -324
  174. package/dist/components/menu.d.ts +0 -324
  175. package/dist/components/modal.d.mts +0 -380
  176. package/dist/components/modal.d.ts +0 -380
  177. package/dist/components/navbar.d.mts +0 -246
  178. package/dist/components/navbar.d.ts +0 -246
  179. package/dist/components/number-input.d.mts +0 -476
  180. package/dist/components/number-input.d.ts +0 -476
  181. package/dist/components/pagination.d.mts +0 -288
  182. package/dist/components/pagination.d.ts +0 -288
  183. package/dist/components/popover.d.mts +0 -339
  184. package/dist/components/popover.d.ts +0 -339
  185. package/dist/components/progress.d.mts +0 -498
  186. package/dist/components/progress.d.ts +0 -498
  187. package/dist/components/radio.d.mts +0 -354
  188. package/dist/components/radio.d.ts +0 -354
  189. package/dist/components/scroll-area.d.mts +0 -109
  190. package/dist/components/scroll-area.d.ts +0 -109
  191. package/dist/components/scroll-shadow.d.mts +0 -48
  192. package/dist/components/scroll-shadow.d.ts +0 -48
  193. package/dist/components/select.d.mts +0 -530
  194. package/dist/components/select.d.ts +0 -530
  195. package/dist/components/shimmer-text.d.mts +0 -46
  196. package/dist/components/shimmer-text.d.ts +0 -46
  197. package/dist/components/skeleton.d.mts +0 -60
  198. package/dist/components/skeleton.d.ts +0 -60
  199. package/dist/components/slider.d.mts +0 -482
  200. package/dist/components/slider.d.ts +0 -482
  201. package/dist/components/snippet.d.mts +0 -206
  202. package/dist/components/snippet.d.ts +0 -206
  203. package/dist/components/spacer.d.mts +0 -31
  204. package/dist/components/spacer.d.ts +0 -31
  205. package/dist/components/spinner.d.mts +0 -398
  206. package/dist/components/spinner.d.ts +0 -398
  207. package/dist/components/stepper.d.mts +0 -288
  208. package/dist/components/stepper.d.ts +0 -288
  209. package/dist/components/table.d.mts +0 -509
  210. package/dist/components/table.d.ts +0 -509
  211. package/dist/components/tabs.d.mts +0 -413
  212. package/dist/components/tabs.d.ts +0 -413
  213. package/dist/components/toast.d.mts +0 -329
  214. package/dist/components/toast.d.ts +0 -329
  215. package/dist/components/toggle.d.mts +0 -243
  216. package/dist/components/toggle.d.ts +0 -243
  217. package/dist/components/user.d.mts +0 -63
  218. package/dist/components/user.d.ts +0 -63
  219. package/dist/default-layout.d.mts +0 -8
  220. package/dist/default-layout.d.ts +0 -8
  221. package/dist/index.d.mts +0 -66
  222. package/dist/index.d.ts +0 -66
  223. package/dist/plugin.d.mts +0 -12
  224. package/dist/plugin.d.ts +0 -12
  225. package/dist/types.d.mts +0 -138
  226. package/dist/types.d.ts +0 -138
  227. package/dist/utilities/animation.d.mts +0 -16
  228. package/dist/utilities/animation.d.ts +0 -16
  229. package/dist/utilities/custom.d.mts +0 -27
  230. package/dist/utilities/custom.d.ts +0 -27
  231. package/dist/utilities/index.d.mts +0 -171
  232. package/dist/utilities/index.d.ts +0 -171
  233. package/dist/utilities/scrollbar-hide.d.mts +0 -59
  234. package/dist/utilities/scrollbar-hide.d.ts +0 -59
  235. package/dist/utilities/shimmer-text.d.mts +0 -42
  236. package/dist/utilities/shimmer-text.d.ts +0 -42
  237. package/dist/utilities/text.d.mts +0 -23
  238. package/dist/utilities/text.d.ts +0 -23
  239. package/dist/utilities/transition.d.mts +0 -58
  240. package/dist/utilities/transition.d.ts +0 -58
  241. package/dist/utils/classes.d.mts +0 -43
  242. package/dist/utils/classes.d.ts +0 -43
  243. package/dist/utils/cn.d.mts +0 -13
  244. package/dist/utils/cn.d.ts +0 -13
  245. package/dist/utils/index.d.mts +0 -7
  246. package/dist/utils/index.d.ts +0 -7
  247. package/dist/utils/merge-classes.d.mts +0 -12
  248. package/dist/utils/merge-classes.d.ts +0 -12
  249. package/dist/utils/object.d.mts +0 -13
  250. package/dist/utils/object.d.ts +0 -13
  251. package/dist/utils/theme.d.mts +0 -9
  252. package/dist/utils/theme.d.ts +0 -9
  253. package/dist/utils/tv.d.mts +0 -5
  254. package/dist/utils/tv.d.ts +0 -5
  255. package/dist/utils/tw-merge-config.d.mts +0 -25
  256. package/dist/utils/tw-merge-config.d.ts +0 -25
  257. package/dist/utils/types.d.mts +0 -10
  258. package/dist/utils/types.d.ts +0 -10
  259. package/dist/utils/variants.d.mts +0 -67
  260. package/dist/utils/variants.d.ts +0 -67
  261. package/dist/{chunk-OQQBKYNE.mjs → chunk-ROFEKAS6.mjs} +9 -9
@@ -1,107 +0,0 @@
1
- import * as tailwind_variants from 'tailwind-variants';
2
- import { VariantProps } from 'tailwind-variants';
3
-
4
- /**
5
- * Link wrapper **Tailwind Variants** component
6
- *
7
- * @example
8
- * <a className={link({ color: "secondary", isBlock: true })} href="#" />
9
- */
10
- declare const link: tailwind_variants.TVReturnType<{
11
- size: {
12
- sm: string;
13
- md: string;
14
- lg: string;
15
- };
16
- color: {
17
- foreground: string;
18
- primary: string;
19
- secondary: string;
20
- success: string;
21
- warning: string;
22
- danger: string;
23
- };
24
- underline: {
25
- none: string;
26
- hover: string;
27
- always: string;
28
- active: string;
29
- focus: string;
30
- };
31
- isBlock: {
32
- true: string[];
33
- false: string;
34
- };
35
- isDisabled: {
36
- true: string;
37
- };
38
- disableAnimation: {
39
- true: string;
40
- };
41
- }, undefined, string[], {
42
- size: {
43
- sm: string;
44
- md: string;
45
- lg: string;
46
- };
47
- color: {
48
- foreground: string;
49
- primary: string;
50
- secondary: string;
51
- success: string;
52
- warning: string;
53
- danger: string;
54
- };
55
- underline: {
56
- none: string;
57
- hover: string;
58
- always: string;
59
- active: string;
60
- focus: string;
61
- };
62
- isBlock: {
63
- true: string[];
64
- false: string;
65
- };
66
- isDisabled: {
67
- true: string;
68
- };
69
- disableAnimation: {
70
- true: string;
71
- };
72
- }, undefined, tailwind_variants.TVReturnType<{
73
- size: {
74
- sm: string;
75
- md: string;
76
- lg: string;
77
- };
78
- color: {
79
- foreground: string;
80
- primary: string;
81
- secondary: string;
82
- success: string;
83
- warning: string;
84
- danger: string;
85
- };
86
- underline: {
87
- none: string;
88
- hover: string;
89
- always: string;
90
- active: string;
91
- focus: string;
92
- };
93
- isBlock: {
94
- true: string[];
95
- false: string;
96
- };
97
- isDisabled: {
98
- true: string;
99
- };
100
- disableAnimation: {
101
- true: string;
102
- };
103
- }, undefined, string[], unknown, unknown, undefined>>;
104
- declare const linkAnchorClasses = "flex mx-1 text-current self-center";
105
- type LinkVariantProps = VariantProps<typeof link>;
106
-
107
- export { type LinkVariantProps, link, linkAnchorClasses };
@@ -1,3 +0,0 @@
1
- export { MenuItemSlots as ListboxItemSlots, MenuItemVariantProps as ListboxItemVariantProps, MenuSectionSlots as ListboxSectionSlots, MenuSectionVariantProps as ListboxSectionVariantProps, MenuSlots as ListboxSlots, MenuVariantProps as ListboxVariantProps, menu as listbox, menuItem as listboxItem, menuSection as listboxSection } from './menu.mjs';
2
- import 'tailwind-variants';
3
- import 'tailwind-merge';
@@ -1,3 +0,0 @@
1
- export { MenuItemSlots as ListboxItemSlots, MenuItemVariantProps as ListboxItemVariantProps, MenuSectionSlots as ListboxSectionSlots, MenuSectionVariantProps as ListboxSectionVariantProps, MenuSlots as ListboxSlots, MenuVariantProps as ListboxVariantProps, menu as listbox, menuItem as listboxItem, menuSection as listboxSection } from './menu.js';
2
- import 'tailwind-variants';
3
- import 'tailwind-merge';
@@ -1,324 +0,0 @@
1
- import * as tailwind_variants from 'tailwind-variants';
2
- import { VariantProps } from 'tailwind-variants';
3
- import * as tailwind_merge from 'tailwind-merge';
4
-
5
- /**
6
- * Menu wrapper **Tailwind Variants** component
7
- *
8
- * const classNames = menu({...})
9
-
10
- */
11
- declare const menu: tailwind_variants.TVReturnType<{
12
- [key: string]: {
13
- [key: string]: tailwind_merge.ClassNameValue | {
14
- base?: tailwind_merge.ClassNameValue;
15
- list?: tailwind_merge.ClassNameValue;
16
- emptyContent?: tailwind_merge.ClassNameValue;
17
- };
18
- };
19
- } | {
20
- [x: string]: {
21
- [x: string]: tailwind_merge.ClassNameValue | {
22
- base?: tailwind_merge.ClassNameValue;
23
- list?: tailwind_merge.ClassNameValue;
24
- emptyContent?: tailwind_merge.ClassNameValue;
25
- };
26
- };
27
- } | {}, {
28
- base: string;
29
- list: string;
30
- emptyContent: string[];
31
- }, undefined, {
32
- [key: string]: {
33
- [key: string]: tailwind_merge.ClassNameValue | {
34
- base?: tailwind_merge.ClassNameValue;
35
- list?: tailwind_merge.ClassNameValue;
36
- emptyContent?: tailwind_merge.ClassNameValue;
37
- };
38
- };
39
- } | {}, {
40
- base: string;
41
- list: string;
42
- emptyContent: string[];
43
- }, tailwind_variants.TVReturnType<unknown, {
44
- base: string;
45
- list: string;
46
- emptyContent: string[];
47
- }, undefined, unknown, unknown, undefined>>;
48
- /**
49
- * MenuItem wrapper **Tailwind Variants** component
50
- *
51
- * const {base, heading, indicator, trigger, leftIndicator, title, subtitle, content } = menuItem({...})
52
- *
53
- * @example
54
- * <div className={base())} data-focus-visible={boolean} data-hover={boolean}>
55
- * <div className={heading())}>
56
- * <button className={trigger())}>
57
- * <div className={leftIndicator()}>
58
- * // content
59
- * </div>
60
- * <div className={titleWrapper()}>
61
- * <h3 className={title())}>Title</h3>
62
- * <span className={subtitle())}>Subtitle</span>
63
- * </div>
64
- * <span className={indicator())}>Indicator</span>
65
- * </button>
66
- * </div>
67
- * <div className={content())}>Content</div>
68
- * </div>
69
- */
70
- declare const menuItem: tailwind_variants.TVReturnType<{
71
- variant: {
72
- solid: {
73
- base: string;
74
- };
75
- bordered: {
76
- base: string;
77
- };
78
- light: {
79
- base: string;
80
- };
81
- faded: {
82
- base: string[];
83
- };
84
- flat: {
85
- base: string;
86
- };
87
- shadow: {
88
- base: string;
89
- };
90
- };
91
- color: {
92
- default: {};
93
- primary: {};
94
- secondary: {};
95
- success: {};
96
- warning: {};
97
- danger: {};
98
- };
99
- showDivider: {
100
- true: {
101
- base: string[];
102
- };
103
- false: {};
104
- };
105
- isDisabled: {
106
- true: {
107
- base: string;
108
- };
109
- };
110
- disableAnimation: {
111
- true: {};
112
- false: {
113
- base: string;
114
- };
115
- };
116
- hasTitleTextChild: {
117
- true: {
118
- title: string;
119
- };
120
- };
121
- hasDescriptionTextChild: {
122
- true: {
123
- description: string;
124
- };
125
- };
126
- }, {
127
- base: string[];
128
- wrapper: string;
129
- title: string;
130
- description: string[];
131
- selectedIcon: string[];
132
- shortcut: string[];
133
- }, undefined, {
134
- variant: {
135
- solid: {
136
- base: string;
137
- };
138
- bordered: {
139
- base: string;
140
- };
141
- light: {
142
- base: string;
143
- };
144
- faded: {
145
- base: string[];
146
- };
147
- flat: {
148
- base: string;
149
- };
150
- shadow: {
151
- base: string;
152
- };
153
- };
154
- color: {
155
- default: {};
156
- primary: {};
157
- secondary: {};
158
- success: {};
159
- warning: {};
160
- danger: {};
161
- };
162
- showDivider: {
163
- true: {
164
- base: string[];
165
- };
166
- false: {};
167
- };
168
- isDisabled: {
169
- true: {
170
- base: string;
171
- };
172
- };
173
- disableAnimation: {
174
- true: {};
175
- false: {
176
- base: string;
177
- };
178
- };
179
- hasTitleTextChild: {
180
- true: {
181
- title: string;
182
- };
183
- };
184
- hasDescriptionTextChild: {
185
- true: {
186
- description: string;
187
- };
188
- };
189
- }, {
190
- base: string[];
191
- wrapper: string;
192
- title: string;
193
- description: string[];
194
- selectedIcon: string[];
195
- shortcut: string[];
196
- }, tailwind_variants.TVReturnType<{
197
- variant: {
198
- solid: {
199
- base: string;
200
- };
201
- bordered: {
202
- base: string;
203
- };
204
- light: {
205
- base: string;
206
- };
207
- faded: {
208
- base: string[];
209
- };
210
- flat: {
211
- base: string;
212
- };
213
- shadow: {
214
- base: string;
215
- };
216
- };
217
- color: {
218
- default: {};
219
- primary: {};
220
- secondary: {};
221
- success: {};
222
- warning: {};
223
- danger: {};
224
- };
225
- showDivider: {
226
- true: {
227
- base: string[];
228
- };
229
- false: {};
230
- };
231
- isDisabled: {
232
- true: {
233
- base: string;
234
- };
235
- };
236
- disableAnimation: {
237
- true: {};
238
- false: {
239
- base: string;
240
- };
241
- };
242
- hasTitleTextChild: {
243
- true: {
244
- title: string;
245
- };
246
- };
247
- hasDescriptionTextChild: {
248
- true: {
249
- description: string;
250
- };
251
- };
252
- }, {
253
- base: string[];
254
- wrapper: string;
255
- title: string;
256
- description: string[];
257
- selectedIcon: string[];
258
- shortcut: string[];
259
- }, undefined, unknown, unknown, undefined>>;
260
- /**
261
- * Menu section wrapper **Tailwind Variants** component
262
- *
263
- * const { base, section, heading } = menuSection({...})
264
- *
265
- * @example
266
- * <div className={base()}>
267
- * <button className={trigger()} aria-expanded="true/false">your trigger</button>
268
- * <div className={section()}>
269
- * // menu content
270
- * <span className={arrow()} data-placement="top/bottom/left/right..." /> // arrow
271
- * </div>
272
- * </div>
273
- */
274
- declare const menuSection: tailwind_variants.TVReturnType<{
275
- [key: string]: {
276
- [key: string]: tailwind_merge.ClassNameValue | {
277
- divider?: tailwind_merge.ClassNameValue;
278
- base?: tailwind_merge.ClassNameValue;
279
- group?: tailwind_merge.ClassNameValue;
280
- heading?: tailwind_merge.ClassNameValue;
281
- };
282
- };
283
- } | {
284
- [x: string]: {
285
- [x: string]: tailwind_merge.ClassNameValue | {
286
- divider?: tailwind_merge.ClassNameValue;
287
- base?: tailwind_merge.ClassNameValue;
288
- group?: tailwind_merge.ClassNameValue;
289
- heading?: tailwind_merge.ClassNameValue;
290
- };
291
- };
292
- } | {}, {
293
- base: string;
294
- heading: string;
295
- group: string;
296
- divider: string;
297
- }, undefined, {
298
- [key: string]: {
299
- [key: string]: tailwind_merge.ClassNameValue | {
300
- divider?: tailwind_merge.ClassNameValue;
301
- base?: tailwind_merge.ClassNameValue;
302
- group?: tailwind_merge.ClassNameValue;
303
- heading?: tailwind_merge.ClassNameValue;
304
- };
305
- };
306
- } | {}, {
307
- base: string;
308
- heading: string;
309
- group: string;
310
- divider: string;
311
- }, tailwind_variants.TVReturnType<unknown, {
312
- base: string;
313
- heading: string;
314
- group: string;
315
- divider: string;
316
- }, undefined, unknown, unknown, undefined>>;
317
- type MenuVariantProps = VariantProps<typeof menu>;
318
- type MenuSlots = keyof ReturnType<typeof menu>;
319
- type MenuSectionVariantProps = VariantProps<typeof menuSection>;
320
- type MenuSectionSlots = keyof ReturnType<typeof menuSection>;
321
- type MenuItemVariantProps = VariantProps<typeof menuItem>;
322
- type MenuItemSlots = keyof ReturnType<typeof menuItem>;
323
-
324
- export { type MenuItemSlots, type MenuItemVariantProps, type MenuSectionSlots, type MenuSectionVariantProps, type MenuSlots, type MenuVariantProps, menu, menuItem, menuSection };