@sytechui/theme 3.0.2 → 3.0.3

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 (259) hide show
  1. package/dist/animations/index.d.mts +132 -0
  2. package/dist/animations/index.d.ts +132 -0
  3. package/dist/{chunk-AGSAOCCR.mjs → chunk-4LAQM2VM.mjs} +1 -1
  4. package/dist/{chunk-MTBQ5EO5.mjs → chunk-AAPQ76Q7.mjs} +1 -1
  5. package/dist/{chunk-WH4ODSEM.mjs → chunk-APF6RSVD.mjs} +1 -1
  6. package/dist/{chunk-PY74IHS4.mjs → chunk-ATGLNP24.mjs} +1 -1
  7. package/dist/{chunk-47BB6GL3.mjs → chunk-D2TQCDY4.mjs} +1 -1
  8. package/dist/{chunk-ECD4ABCS.mjs → chunk-DFZLOLJU.mjs} +1 -1
  9. package/dist/{chunk-AL5UNXQI.mjs → chunk-EIZCYQZJ.mjs} +1 -1
  10. package/dist/{chunk-ZWG2GMCI.mjs → chunk-FPG5J5ZJ.mjs} +1 -1
  11. package/dist/{chunk-CV2E4DI2.mjs → chunk-FUQEL335.mjs} +4 -4
  12. package/dist/{chunk-EZ47UJPD.mjs → chunk-HF2LJVZX.mjs} +1 -1
  13. package/dist/{chunk-7ARJ2TQM.mjs → chunk-HFD73SWH.mjs} +1 -1
  14. package/dist/{chunk-USGOG5QI.mjs → chunk-IFDUGF3P.mjs} +1 -1
  15. package/dist/{chunk-KKEJLP4U.mjs → chunk-IURX3VEE.mjs} +1 -1
  16. package/dist/{chunk-BF4542X6.mjs → chunk-IVAVJ7ZU.mjs} +1 -1
  17. package/dist/{chunk-2QZDAFQ3.mjs → chunk-L26ZWPVZ.mjs} +1 -1
  18. package/dist/{chunk-OSP4OLTO.mjs → chunk-M4FWEMJZ.mjs} +1 -1
  19. package/dist/{chunk-4N2PLITL.mjs → chunk-OC45BUIA.mjs} +1 -1
  20. package/dist/{chunk-5DJU5KUL.mjs → chunk-QQZDCYMA.mjs} +1 -1
  21. package/dist/{chunk-P5HLCB43.mjs → chunk-U4D7XSGV.mjs} +1 -1
  22. package/dist/{chunk-I5YZBAB3.mjs → chunk-UL4VFH3Z.mjs} +1 -1
  23. package/dist/{chunk-W37Q6YFS.mjs → chunk-XV7LJG6E.mjs} +1 -1
  24. package/dist/{chunk-XBJNS5SU.mjs → chunk-XWHXIFLL.mjs} +1 -1
  25. package/dist/{chunk-2TFOWOJL.mjs → chunk-Z2UCLPEC.mjs} +4 -4
  26. package/dist/colors/blue.d.mts +14 -0
  27. package/dist/colors/blue.d.ts +14 -0
  28. package/dist/colors/common.d.mts +103 -0
  29. package/dist/colors/common.d.ts +103 -0
  30. package/dist/colors/cyan.d.mts +14 -0
  31. package/dist/colors/cyan.d.ts +14 -0
  32. package/dist/colors/green.d.mts +14 -0
  33. package/dist/colors/green.d.ts +14 -0
  34. package/dist/colors/index.d.mts +109 -0
  35. package/dist/colors/index.d.ts +109 -0
  36. package/dist/colors/pink.d.mts +14 -0
  37. package/dist/colors/pink.d.ts +14 -0
  38. package/dist/colors/purple.d.mts +14 -0
  39. package/dist/colors/purple.d.ts +14 -0
  40. package/dist/colors/red.d.mts +14 -0
  41. package/dist/colors/red.d.ts +14 -0
  42. package/dist/colors/semantic.d.mts +10 -0
  43. package/dist/colors/semantic.d.ts +10 -0
  44. package/dist/colors/types.d.mts +39 -0
  45. package/dist/colors/types.d.ts +39 -0
  46. package/dist/colors/yellow.d.mts +14 -0
  47. package/dist/colors/yellow.d.ts +14 -0
  48. package/dist/colors/zinc.d.mts +14 -0
  49. package/dist/colors/zinc.d.ts +14 -0
  50. package/dist/colors.d.mts +4 -0
  51. package/dist/colors.d.ts +4 -0
  52. package/dist/components/accordion.d.mts +228 -0
  53. package/dist/components/accordion.d.ts +228 -0
  54. package/dist/components/accordion.mjs +27 -27
  55. package/dist/components/alert.d.mts +316 -0
  56. package/dist/components/alert.d.ts +316 -0
  57. package/dist/components/alert.mjs +6 -6
  58. package/dist/components/autocomplete.d.mts +95 -0
  59. package/dist/components/autocomplete.d.ts +95 -0
  60. package/dist/components/autocomplete.mjs +6 -6
  61. package/dist/components/avatar.d.mts +300 -0
  62. package/dist/components/avatar.d.ts +300 -0
  63. package/dist/components/avatar.mjs +27 -27
  64. package/dist/components/badge.d.mts +223 -0
  65. package/dist/components/badge.d.ts +223 -0
  66. package/dist/components/badge.mjs +27 -27
  67. package/dist/components/bottom-bar.d.mts +263 -0
  68. package/dist/components/bottom-bar.d.ts +263 -0
  69. package/dist/components/bottom-bar.mjs +27 -27
  70. package/dist/components/breadcrumbs.d.mts +379 -0
  71. package/dist/components/breadcrumbs.d.ts +379 -0
  72. package/dist/components/breadcrumbs.mjs +27 -27
  73. package/dist/components/button.d.mts +188 -0
  74. package/dist/components/button.d.ts +188 -0
  75. package/dist/components/button.mjs +27 -27
  76. package/dist/components/calendar.d.mts +279 -0
  77. package/dist/components/calendar.d.ts +279 -0
  78. package/dist/components/calendar.mjs +27 -27
  79. package/dist/components/card.d.mts +257 -0
  80. package/dist/components/card.d.ts +257 -0
  81. package/dist/components/card.mjs +27 -27
  82. package/dist/components/checkbox.d.mts +375 -0
  83. package/dist/components/checkbox.d.ts +375 -0
  84. package/dist/components/checkbox.mjs +27 -27
  85. package/dist/components/chip.d.mts +340 -0
  86. package/dist/components/chip.d.ts +340 -0
  87. package/dist/components/chip.mjs +27 -27
  88. package/dist/components/code.d.mts +80 -0
  89. package/dist/components/code.d.ts +80 -0
  90. package/dist/components/code.mjs +27 -27
  91. package/dist/components/date-input.d.mts +392 -0
  92. package/dist/components/date-input.d.ts +392 -0
  93. package/dist/components/date-input.mjs +6 -6
  94. package/dist/components/date-picker.d.mts +220 -0
  95. package/dist/components/date-picker.d.ts +220 -0
  96. package/dist/components/date-picker.mjs +6 -6
  97. package/dist/components/divider.d.mts +85 -0
  98. package/dist/components/divider.d.ts +85 -0
  99. package/dist/components/divider.mjs +6 -6
  100. package/dist/components/drawer.d.mts +190 -0
  101. package/dist/components/drawer.d.ts +190 -0
  102. package/dist/components/drawer.mjs +6 -6
  103. package/dist/components/drip.d.mts +13 -0
  104. package/dist/components/drip.d.ts +13 -0
  105. package/dist/components/drip.mjs +6 -6
  106. package/dist/components/drop-zone.d.mts +434 -0
  107. package/dist/components/drop-zone.d.ts +434 -0
  108. package/dist/components/drop-zone.mjs +27 -27
  109. package/dist/components/dropdown.d.mts +247 -0
  110. package/dist/components/dropdown.d.ts +247 -0
  111. package/dist/components/dropdown.mjs +27 -27
  112. package/dist/components/form.d.mts +19 -0
  113. package/dist/components/form.d.ts +19 -0
  114. package/dist/components/form.mjs +6 -6
  115. package/dist/components/image.d.mts +174 -0
  116. package/dist/components/image.d.ts +174 -0
  117. package/dist/components/image.mjs +6 -6
  118. package/dist/components/index.d.mts +52 -0
  119. package/dist/components/index.d.ts +52 -0
  120. package/dist/components/index.mjs +38 -38
  121. package/dist/components/input-otp.d.mts +282 -0
  122. package/dist/components/input-otp.d.ts +282 -0
  123. package/dist/components/input-otp.mjs +27 -27
  124. package/dist/components/input.d.mts +458 -0
  125. package/dist/components/input.d.ts +458 -0
  126. package/dist/components/input.mjs +27 -27
  127. package/dist/components/kbd.d.mts +50 -0
  128. package/dist/components/kbd.d.ts +50 -0
  129. package/dist/components/kbd.mjs +6 -6
  130. package/dist/components/link.d.mts +107 -0
  131. package/dist/components/link.d.ts +107 -0
  132. package/dist/components/link.mjs +27 -27
  133. package/dist/components/listbox.d.mts +3 -0
  134. package/dist/components/listbox.d.ts +3 -0
  135. package/dist/components/listbox.mjs +27 -27
  136. package/dist/components/menu.d.mts +324 -0
  137. package/dist/components/menu.d.ts +324 -0
  138. package/dist/components/menu.mjs +27 -27
  139. package/dist/components/modal.d.mts +380 -0
  140. package/dist/components/modal.d.ts +380 -0
  141. package/dist/components/modal.mjs +27 -27
  142. package/dist/components/navbar.d.mts +246 -0
  143. package/dist/components/navbar.d.ts +246 -0
  144. package/dist/components/navbar.mjs +27 -27
  145. package/dist/components/number-input.d.mts +476 -0
  146. package/dist/components/number-input.d.ts +476 -0
  147. package/dist/components/number-input.mjs +27 -27
  148. package/dist/components/pagination.d.mts +288 -0
  149. package/dist/components/pagination.d.ts +288 -0
  150. package/dist/components/pagination.mjs +27 -27
  151. package/dist/components/popover.d.mts +339 -0
  152. package/dist/components/popover.d.ts +339 -0
  153. package/dist/components/popover.mjs +27 -27
  154. package/dist/components/progress.d.mts +498 -0
  155. package/dist/components/progress.d.ts +498 -0
  156. package/dist/components/progress.mjs +6 -6
  157. package/dist/components/radio.d.mts +354 -0
  158. package/dist/components/radio.d.ts +354 -0
  159. package/dist/components/radio.mjs +27 -27
  160. package/dist/components/scroll-area.d.mts +109 -0
  161. package/dist/components/scroll-area.d.ts +109 -0
  162. package/dist/components/scroll-area.mjs +6 -6
  163. package/dist/components/scroll-shadow.d.mts +48 -0
  164. package/dist/components/scroll-shadow.d.ts +48 -0
  165. package/dist/components/scroll-shadow.mjs +6 -6
  166. package/dist/components/select.d.mts +530 -0
  167. package/dist/components/select.d.ts +530 -0
  168. package/dist/components/select.mjs +27 -27
  169. package/dist/components/shimmer-text.d.mts +46 -0
  170. package/dist/components/shimmer-text.d.ts +46 -0
  171. package/dist/components/shimmer-text.mjs +6 -6
  172. package/dist/components/sidebar.d.mts +201 -0
  173. package/dist/components/sidebar.d.ts +201 -0
  174. package/dist/components/sidebar.mjs +6 -6
  175. package/dist/components/skeleton.d.mts +60 -0
  176. package/dist/components/skeleton.d.ts +60 -0
  177. package/dist/components/skeleton.mjs +6 -6
  178. package/dist/components/slider.d.mts +482 -0
  179. package/dist/components/slider.d.ts +482 -0
  180. package/dist/components/slider.mjs +27 -27
  181. package/dist/components/snippet.d.mts +206 -0
  182. package/dist/components/snippet.d.ts +206 -0
  183. package/dist/components/snippet.mjs +27 -27
  184. package/dist/components/spacer.d.mts +31 -0
  185. package/dist/components/spacer.d.ts +31 -0
  186. package/dist/components/spacer.mjs +6 -6
  187. package/dist/components/spinner.d.mts +398 -0
  188. package/dist/components/spinner.d.ts +398 -0
  189. package/dist/components/spinner.mjs +6 -6
  190. package/dist/components/stepper.d.mts +288 -0
  191. package/dist/components/stepper.d.ts +288 -0
  192. package/dist/components/stepper.mjs +27 -27
  193. package/dist/components/table.d.mts +509 -0
  194. package/dist/components/table.d.ts +509 -0
  195. package/dist/components/table.mjs +27 -27
  196. package/dist/components/tabs.d.mts +413 -0
  197. package/dist/components/tabs.d.ts +413 -0
  198. package/dist/components/tabs.mjs +27 -27
  199. package/dist/components/toast.d.mts +329 -0
  200. package/dist/components/toast.d.ts +329 -0
  201. package/dist/components/toast.mjs +27 -27
  202. package/dist/components/toggle.d.mts +243 -0
  203. package/dist/components/toggle.d.ts +243 -0
  204. package/dist/components/toggle.mjs +27 -27
  205. package/dist/components/user.d.mts +63 -0
  206. package/dist/components/user.d.ts +63 -0
  207. package/dist/components/user.mjs +27 -27
  208. package/dist/default-layout.d.mts +8 -0
  209. package/dist/default-layout.d.ts +8 -0
  210. package/dist/index.d.mts +67 -0
  211. package/dist/index.d.ts +67 -0
  212. package/dist/index.mjs +40 -40
  213. package/dist/plugin.d.mts +12 -0
  214. package/dist/plugin.d.ts +12 -0
  215. package/dist/plugin.mjs +5 -5
  216. package/dist/types.d.mts +138 -0
  217. package/dist/types.d.ts +138 -0
  218. package/dist/utilities/animation.d.mts +16 -0
  219. package/dist/utilities/animation.d.ts +16 -0
  220. package/dist/utilities/custom.d.mts +27 -0
  221. package/dist/utilities/custom.d.ts +27 -0
  222. package/dist/utilities/index.d.mts +171 -0
  223. package/dist/utilities/index.d.ts +171 -0
  224. package/dist/utilities/index.mjs +3 -3
  225. package/dist/utilities/scrollbar-hide.d.mts +59 -0
  226. package/dist/utilities/scrollbar-hide.d.ts +59 -0
  227. package/dist/utilities/shimmer-text.d.mts +42 -0
  228. package/dist/utilities/shimmer-text.d.ts +42 -0
  229. package/dist/utilities/text.d.mts +23 -0
  230. package/dist/utilities/text.d.ts +23 -0
  231. package/dist/utilities/transition.d.mts +58 -0
  232. package/dist/utilities/transition.d.ts +58 -0
  233. package/dist/utils/classes.d.mts +43 -0
  234. package/dist/utils/classes.d.ts +43 -0
  235. package/dist/utils/cn.d.mts +13 -0
  236. package/dist/utils/cn.d.ts +13 -0
  237. package/dist/utils/cn.mjs +5 -5
  238. package/dist/utils/index.d.mts +7 -0
  239. package/dist/utils/index.d.ts +7 -0
  240. package/dist/utils/index.mjs +27 -27
  241. package/dist/utils/merge-classes.d.mts +12 -0
  242. package/dist/utils/merge-classes.d.ts +12 -0
  243. package/dist/utils/merge-classes.mjs +27 -27
  244. package/dist/utils/object.d.mts +13 -0
  245. package/dist/utils/object.d.ts +13 -0
  246. package/dist/utils/theme.d.mts +9 -0
  247. package/dist/utils/theme.d.ts +9 -0
  248. package/dist/utils/tv.d.mts +5 -0
  249. package/dist/utils/tv.d.ts +5 -0
  250. package/dist/utils/tv.mjs +5 -5
  251. package/dist/utils/tw-merge-config.d.mts +25 -0
  252. package/dist/utils/tw-merge-config.d.ts +25 -0
  253. package/dist/utils/tw-merge-config.mjs +4 -4
  254. package/dist/utils/types.d.mts +10 -0
  255. package/dist/utils/types.d.ts +10 -0
  256. package/dist/utils/variants.d.mts +67 -0
  257. package/dist/utils/variants.d.ts +67 -0
  258. package/package.json +1 -1
  259. package/dist/{chunk-ROFEKAS6.mjs → chunk-3C7AZEID.mjs} +6 -6
@@ -0,0 +1,243 @@
1
+ import * as tailwind_variants from 'tailwind-variants';
2
+ import { VariantProps } from 'tailwind-variants';
3
+
4
+ /**
5
+ * Toggle (Switch) wrapper **Tailwind Variants** component
6
+ *
7
+ * const {base, wrapper, thumb, thumbIcon, label, startContent, endContent} = toggle({...})
8
+ *
9
+ * @example
10
+ * <label
11
+ * className={base())}
12
+ * data-selected={true/false}
13
+ * data-pressed={true/false}
14
+ * data-focus={true/false}
15
+ * data-hover={true/false}
16
+ * data-focus-visible={true/false}
17
+ * >
18
+ * <input/> // hidden input
19
+ * <span className={wrapper()} aria-hidden="true">
20
+ * <svg className={startContent()}>...</svg>
21
+ * <span className={thumb()}>
22
+ * <svg className={thumbIcon()}>...</svg>
23
+ * </span>
24
+ * <svg className={endContent()}>...</svg>
25
+ * </span>
26
+ * <span className={label()}>Label</span>
27
+ * </label>
28
+ */
29
+ declare const toggle: tailwind_variants.TVReturnType<{
30
+ color: {
31
+ default: {
32
+ wrapper: string[];
33
+ };
34
+ primary: {
35
+ wrapper: string[];
36
+ };
37
+ secondary: {
38
+ wrapper: string[];
39
+ };
40
+ success: {
41
+ wrapper: string[];
42
+ };
43
+ warning: {
44
+ wrapper: string[];
45
+ };
46
+ danger: {
47
+ wrapper: string[];
48
+ };
49
+ };
50
+ size: {
51
+ sm: {
52
+ wrapper: string;
53
+ thumb: string[];
54
+ endContent: string;
55
+ startContent: string;
56
+ label: string;
57
+ };
58
+ md: {
59
+ wrapper: string;
60
+ thumb: string[];
61
+ endContent: string;
62
+ startContent: string;
63
+ label: string;
64
+ };
65
+ lg: {
66
+ wrapper: string;
67
+ thumb: string[];
68
+ endContent: string;
69
+ startContent: string;
70
+ label: string;
71
+ };
72
+ };
73
+ isDisabled: {
74
+ true: {
75
+ base: string;
76
+ };
77
+ };
78
+ disableAnimation: {
79
+ true: {
80
+ wrapper: string;
81
+ thumb: string;
82
+ };
83
+ false: {
84
+ wrapper: string;
85
+ thumb: string;
86
+ startContent: string[];
87
+ endContent: string[];
88
+ };
89
+ };
90
+ }, {
91
+ base: string;
92
+ wrapper: string[];
93
+ thumb: string[];
94
+ hiddenInput: string[];
95
+ startContent: string;
96
+ endContent: string;
97
+ thumbIcon: string;
98
+ label: string;
99
+ }, undefined, {
100
+ color: {
101
+ default: {
102
+ wrapper: string[];
103
+ };
104
+ primary: {
105
+ wrapper: string[];
106
+ };
107
+ secondary: {
108
+ wrapper: string[];
109
+ };
110
+ success: {
111
+ wrapper: string[];
112
+ };
113
+ warning: {
114
+ wrapper: string[];
115
+ };
116
+ danger: {
117
+ wrapper: string[];
118
+ };
119
+ };
120
+ size: {
121
+ sm: {
122
+ wrapper: string;
123
+ thumb: string[];
124
+ endContent: string;
125
+ startContent: string;
126
+ label: string;
127
+ };
128
+ md: {
129
+ wrapper: string;
130
+ thumb: string[];
131
+ endContent: string;
132
+ startContent: string;
133
+ label: string;
134
+ };
135
+ lg: {
136
+ wrapper: string;
137
+ thumb: string[];
138
+ endContent: string;
139
+ startContent: string;
140
+ label: string;
141
+ };
142
+ };
143
+ isDisabled: {
144
+ true: {
145
+ base: string;
146
+ };
147
+ };
148
+ disableAnimation: {
149
+ true: {
150
+ wrapper: string;
151
+ thumb: string;
152
+ };
153
+ false: {
154
+ wrapper: string;
155
+ thumb: string;
156
+ startContent: string[];
157
+ endContent: string[];
158
+ };
159
+ };
160
+ }, {
161
+ base: string;
162
+ wrapper: string[];
163
+ thumb: string[];
164
+ hiddenInput: string[];
165
+ startContent: string;
166
+ endContent: string;
167
+ thumbIcon: string;
168
+ label: string;
169
+ }, tailwind_variants.TVReturnType<{
170
+ color: {
171
+ default: {
172
+ wrapper: string[];
173
+ };
174
+ primary: {
175
+ wrapper: string[];
176
+ };
177
+ secondary: {
178
+ wrapper: string[];
179
+ };
180
+ success: {
181
+ wrapper: string[];
182
+ };
183
+ warning: {
184
+ wrapper: string[];
185
+ };
186
+ danger: {
187
+ wrapper: string[];
188
+ };
189
+ };
190
+ size: {
191
+ sm: {
192
+ wrapper: string;
193
+ thumb: string[];
194
+ endContent: string;
195
+ startContent: string;
196
+ label: string;
197
+ };
198
+ md: {
199
+ wrapper: string;
200
+ thumb: string[];
201
+ endContent: string;
202
+ startContent: string;
203
+ label: string;
204
+ };
205
+ lg: {
206
+ wrapper: string;
207
+ thumb: string[];
208
+ endContent: string;
209
+ startContent: string;
210
+ label: string;
211
+ };
212
+ };
213
+ isDisabled: {
214
+ true: {
215
+ base: string;
216
+ };
217
+ };
218
+ disableAnimation: {
219
+ true: {
220
+ wrapper: string;
221
+ thumb: string;
222
+ };
223
+ false: {
224
+ wrapper: string;
225
+ thumb: string;
226
+ startContent: string[];
227
+ endContent: string[];
228
+ };
229
+ };
230
+ }, {
231
+ base: string;
232
+ wrapper: string[];
233
+ thumb: string[];
234
+ hiddenInput: string[];
235
+ startContent: string;
236
+ endContent: string;
237
+ thumbIcon: string;
238
+ label: string;
239
+ }, undefined, unknown, unknown, undefined>>;
240
+ type ToggleVariantProps = VariantProps<typeof toggle>;
241
+ type ToggleSlots = keyof ReturnType<typeof toggle>;
242
+
243
+ export { type ToggleSlots, type ToggleVariantProps, toggle };
@@ -0,0 +1,243 @@
1
+ import * as tailwind_variants from 'tailwind-variants';
2
+ import { VariantProps } from 'tailwind-variants';
3
+
4
+ /**
5
+ * Toggle (Switch) wrapper **Tailwind Variants** component
6
+ *
7
+ * const {base, wrapper, thumb, thumbIcon, label, startContent, endContent} = toggle({...})
8
+ *
9
+ * @example
10
+ * <label
11
+ * className={base())}
12
+ * data-selected={true/false}
13
+ * data-pressed={true/false}
14
+ * data-focus={true/false}
15
+ * data-hover={true/false}
16
+ * data-focus-visible={true/false}
17
+ * >
18
+ * <input/> // hidden input
19
+ * <span className={wrapper()} aria-hidden="true">
20
+ * <svg className={startContent()}>...</svg>
21
+ * <span className={thumb()}>
22
+ * <svg className={thumbIcon()}>...</svg>
23
+ * </span>
24
+ * <svg className={endContent()}>...</svg>
25
+ * </span>
26
+ * <span className={label()}>Label</span>
27
+ * </label>
28
+ */
29
+ declare const toggle: tailwind_variants.TVReturnType<{
30
+ color: {
31
+ default: {
32
+ wrapper: string[];
33
+ };
34
+ primary: {
35
+ wrapper: string[];
36
+ };
37
+ secondary: {
38
+ wrapper: string[];
39
+ };
40
+ success: {
41
+ wrapper: string[];
42
+ };
43
+ warning: {
44
+ wrapper: string[];
45
+ };
46
+ danger: {
47
+ wrapper: string[];
48
+ };
49
+ };
50
+ size: {
51
+ sm: {
52
+ wrapper: string;
53
+ thumb: string[];
54
+ endContent: string;
55
+ startContent: string;
56
+ label: string;
57
+ };
58
+ md: {
59
+ wrapper: string;
60
+ thumb: string[];
61
+ endContent: string;
62
+ startContent: string;
63
+ label: string;
64
+ };
65
+ lg: {
66
+ wrapper: string;
67
+ thumb: string[];
68
+ endContent: string;
69
+ startContent: string;
70
+ label: string;
71
+ };
72
+ };
73
+ isDisabled: {
74
+ true: {
75
+ base: string;
76
+ };
77
+ };
78
+ disableAnimation: {
79
+ true: {
80
+ wrapper: string;
81
+ thumb: string;
82
+ };
83
+ false: {
84
+ wrapper: string;
85
+ thumb: string;
86
+ startContent: string[];
87
+ endContent: string[];
88
+ };
89
+ };
90
+ }, {
91
+ base: string;
92
+ wrapper: string[];
93
+ thumb: string[];
94
+ hiddenInput: string[];
95
+ startContent: string;
96
+ endContent: string;
97
+ thumbIcon: string;
98
+ label: string;
99
+ }, undefined, {
100
+ color: {
101
+ default: {
102
+ wrapper: string[];
103
+ };
104
+ primary: {
105
+ wrapper: string[];
106
+ };
107
+ secondary: {
108
+ wrapper: string[];
109
+ };
110
+ success: {
111
+ wrapper: string[];
112
+ };
113
+ warning: {
114
+ wrapper: string[];
115
+ };
116
+ danger: {
117
+ wrapper: string[];
118
+ };
119
+ };
120
+ size: {
121
+ sm: {
122
+ wrapper: string;
123
+ thumb: string[];
124
+ endContent: string;
125
+ startContent: string;
126
+ label: string;
127
+ };
128
+ md: {
129
+ wrapper: string;
130
+ thumb: string[];
131
+ endContent: string;
132
+ startContent: string;
133
+ label: string;
134
+ };
135
+ lg: {
136
+ wrapper: string;
137
+ thumb: string[];
138
+ endContent: string;
139
+ startContent: string;
140
+ label: string;
141
+ };
142
+ };
143
+ isDisabled: {
144
+ true: {
145
+ base: string;
146
+ };
147
+ };
148
+ disableAnimation: {
149
+ true: {
150
+ wrapper: string;
151
+ thumb: string;
152
+ };
153
+ false: {
154
+ wrapper: string;
155
+ thumb: string;
156
+ startContent: string[];
157
+ endContent: string[];
158
+ };
159
+ };
160
+ }, {
161
+ base: string;
162
+ wrapper: string[];
163
+ thumb: string[];
164
+ hiddenInput: string[];
165
+ startContent: string;
166
+ endContent: string;
167
+ thumbIcon: string;
168
+ label: string;
169
+ }, tailwind_variants.TVReturnType<{
170
+ color: {
171
+ default: {
172
+ wrapper: string[];
173
+ };
174
+ primary: {
175
+ wrapper: string[];
176
+ };
177
+ secondary: {
178
+ wrapper: string[];
179
+ };
180
+ success: {
181
+ wrapper: string[];
182
+ };
183
+ warning: {
184
+ wrapper: string[];
185
+ };
186
+ danger: {
187
+ wrapper: string[];
188
+ };
189
+ };
190
+ size: {
191
+ sm: {
192
+ wrapper: string;
193
+ thumb: string[];
194
+ endContent: string;
195
+ startContent: string;
196
+ label: string;
197
+ };
198
+ md: {
199
+ wrapper: string;
200
+ thumb: string[];
201
+ endContent: string;
202
+ startContent: string;
203
+ label: string;
204
+ };
205
+ lg: {
206
+ wrapper: string;
207
+ thumb: string[];
208
+ endContent: string;
209
+ startContent: string;
210
+ label: string;
211
+ };
212
+ };
213
+ isDisabled: {
214
+ true: {
215
+ base: string;
216
+ };
217
+ };
218
+ disableAnimation: {
219
+ true: {
220
+ wrapper: string;
221
+ thumb: string;
222
+ };
223
+ false: {
224
+ wrapper: string;
225
+ thumb: string;
226
+ startContent: string[];
227
+ endContent: string[];
228
+ };
229
+ };
230
+ }, {
231
+ base: string;
232
+ wrapper: string[];
233
+ thumb: string[];
234
+ hiddenInput: string[];
235
+ startContent: string;
236
+ endContent: string;
237
+ thumbIcon: string;
238
+ label: string;
239
+ }, undefined, unknown, unknown, undefined>>;
240
+ type ToggleVariantProps = VariantProps<typeof toggle>;
241
+ type ToggleSlots = keyof ReturnType<typeof toggle>;
242
+
243
+ export { type ToggleSlots, type ToggleVariantProps, toggle };
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  toggle
3
- } from "../chunk-CV2E4DI2.mjs";
3
+ } from "../chunk-FUQEL335.mjs";
4
+ import "../chunk-XWHXIFLL.mjs";
5
+ import "../chunk-HF2LJVZX.mjs";
6
+ import "../chunk-XV7LJG6E.mjs";
7
+ import "../chunk-IVAVJ7ZU.mjs";
8
+ import "../chunk-D2TQCDY4.mjs";
9
+ import "../chunk-APF6RSVD.mjs";
10
+ import "../chunk-M4FWEMJZ.mjs";
11
+ import "../chunk-OC45BUIA.mjs";
12
+ import "../chunk-4LAQM2VM.mjs";
13
+ import "../chunk-QQZDCYMA.mjs";
14
+ import "../chunk-FPG5J5ZJ.mjs";
15
+ import "../chunk-U4D7XSGV.mjs";
16
+ import "../chunk-L26ZWPVZ.mjs";
17
+ import "../chunk-AAPQ76Q7.mjs";
18
+ import "../chunk-EIZCYQZJ.mjs";
19
+ import "../chunk-IFDUGF3P.mjs";
20
+ import "../chunk-ATGLNP24.mjs";
21
+ import "../chunk-UL4VFH3Z.mjs";
22
+ import "../chunk-IURX3VEE.mjs";
4
23
  import "../chunk-GQT3YUX3.mjs";
5
- import "../chunk-7ARJ2TQM.mjs";
6
- import "../chunk-W37Q6YFS.mjs";
7
- import "../chunk-BF4542X6.mjs";
8
- import "../chunk-47BB6GL3.mjs";
9
- import "../chunk-WH4ODSEM.mjs";
10
- import "../chunk-XBJNS5SU.mjs";
11
- import "../chunk-OSP4OLTO.mjs";
12
- import "../chunk-4N2PLITL.mjs";
13
- import "../chunk-EZ47UJPD.mjs";
14
- import "../chunk-5DJU5KUL.mjs";
15
- import "../chunk-2QZDAFQ3.mjs";
16
- import "../chunk-MTBQ5EO5.mjs";
17
- import "../chunk-AL5UNXQI.mjs";
18
- import "../chunk-USGOG5QI.mjs";
19
- import "../chunk-AGSAOCCR.mjs";
20
- import "../chunk-ZWG2GMCI.mjs";
21
- import "../chunk-P5HLCB43.mjs";
22
- import "../chunk-PY74IHS4.mjs";
23
- import "../chunk-I5YZBAB3.mjs";
24
- import "../chunk-KKEJLP4U.mjs";
25
- import "../chunk-ECD4ABCS.mjs";
26
- import "../chunk-2TFOWOJL.mjs";
27
- import "../chunk-D2XMP2NC.mjs";
24
+ import "../chunk-HFD73SWH.mjs";
25
+ import "../chunk-DFZLOLJU.mjs";
26
+ import "../chunk-Z2UCLPEC.mjs";
28
27
  import "../chunk-ZHIADCEL.mjs";
29
- import "../chunk-ROFEKAS6.mjs";
28
+ import "../chunk-3C7AZEID.mjs";
29
+ import "../chunk-FJOYYPB2.mjs";
30
+ import "../chunk-RUIUXVZ4.mjs";
30
31
  import "../chunk-GSRZWDGA.mjs";
31
32
  import "../chunk-AWXUGVFR.mjs";
32
33
  import "../chunk-MPVWW3DX.mjs";
33
34
  import "../chunk-7FAFG773.mjs";
34
- import "../chunk-FJOYYPB2.mjs";
35
- import "../chunk-RUIUXVZ4.mjs";
35
+ import "../chunk-D2XMP2NC.mjs";
36
36
  import "../chunk-WQEDQHKX.mjs";
37
37
  import "../chunk-CPSLANMP.mjs";
38
38
  import "../chunk-FFKHVGFX.mjs";
@@ -0,0 +1,63 @@
1
+ import * as tailwind_variants from 'tailwind-variants';
2
+ import * as tailwind_merge from 'tailwind-merge';
3
+
4
+ /**
5
+ * User wrapper **Tailwind Variants** component
6
+ *
7
+ * const {base, wrapper, name, description} = user({...})
8
+ *
9
+ * @example
10
+ * <div className={base())}>
11
+ * // avatar element @see avatar
12
+ * <div className={wrapper())}>
13
+ * <span className={name())}>user name</span>
14
+ * <span className={description())}>user description</span>
15
+ * </div>
16
+ * </div>
17
+ */
18
+ declare const user: tailwind_variants.TVReturnType<{
19
+ [key: string]: {
20
+ [key: string]: tailwind_merge.ClassNameValue | {
21
+ description?: tailwind_merge.ClassNameValue;
22
+ base?: tailwind_merge.ClassNameValue;
23
+ name?: tailwind_merge.ClassNameValue;
24
+ wrapper?: tailwind_merge.ClassNameValue;
25
+ };
26
+ };
27
+ } | {
28
+ [x: string]: {
29
+ [x: string]: tailwind_merge.ClassNameValue | {
30
+ description?: tailwind_merge.ClassNameValue;
31
+ base?: tailwind_merge.ClassNameValue;
32
+ name?: tailwind_merge.ClassNameValue;
33
+ wrapper?: tailwind_merge.ClassNameValue;
34
+ };
35
+ };
36
+ } | {}, {
37
+ base: string[];
38
+ wrapper: string;
39
+ name: string;
40
+ description: string;
41
+ }, undefined, {
42
+ [key: string]: {
43
+ [key: string]: tailwind_merge.ClassNameValue | {
44
+ description?: tailwind_merge.ClassNameValue;
45
+ base?: tailwind_merge.ClassNameValue;
46
+ name?: tailwind_merge.ClassNameValue;
47
+ wrapper?: tailwind_merge.ClassNameValue;
48
+ };
49
+ };
50
+ } | {}, {
51
+ base: string[];
52
+ wrapper: string;
53
+ name: string;
54
+ description: string;
55
+ }, tailwind_variants.TVReturnType<unknown, {
56
+ base: string[];
57
+ wrapper: string;
58
+ name: string;
59
+ description: string;
60
+ }, undefined, unknown, unknown, undefined>>;
61
+ type UserSlots = keyof ReturnType<typeof user>;
62
+
63
+ export { type UserSlots, user };
@@ -0,0 +1,63 @@
1
+ import * as tailwind_variants from 'tailwind-variants';
2
+ import * as tailwind_merge from 'tailwind-merge';
3
+
4
+ /**
5
+ * User wrapper **Tailwind Variants** component
6
+ *
7
+ * const {base, wrapper, name, description} = user({...})
8
+ *
9
+ * @example
10
+ * <div className={base())}>
11
+ * // avatar element @see avatar
12
+ * <div className={wrapper())}>
13
+ * <span className={name())}>user name</span>
14
+ * <span className={description())}>user description</span>
15
+ * </div>
16
+ * </div>
17
+ */
18
+ declare const user: tailwind_variants.TVReturnType<{
19
+ [key: string]: {
20
+ [key: string]: tailwind_merge.ClassNameValue | {
21
+ description?: tailwind_merge.ClassNameValue;
22
+ base?: tailwind_merge.ClassNameValue;
23
+ name?: tailwind_merge.ClassNameValue;
24
+ wrapper?: tailwind_merge.ClassNameValue;
25
+ };
26
+ };
27
+ } | {
28
+ [x: string]: {
29
+ [x: string]: tailwind_merge.ClassNameValue | {
30
+ description?: tailwind_merge.ClassNameValue;
31
+ base?: tailwind_merge.ClassNameValue;
32
+ name?: tailwind_merge.ClassNameValue;
33
+ wrapper?: tailwind_merge.ClassNameValue;
34
+ };
35
+ };
36
+ } | {}, {
37
+ base: string[];
38
+ wrapper: string;
39
+ name: string;
40
+ description: string;
41
+ }, undefined, {
42
+ [key: string]: {
43
+ [key: string]: tailwind_merge.ClassNameValue | {
44
+ description?: tailwind_merge.ClassNameValue;
45
+ base?: tailwind_merge.ClassNameValue;
46
+ name?: tailwind_merge.ClassNameValue;
47
+ wrapper?: tailwind_merge.ClassNameValue;
48
+ };
49
+ };
50
+ } | {}, {
51
+ base: string[];
52
+ wrapper: string;
53
+ name: string;
54
+ description: string;
55
+ }, tailwind_variants.TVReturnType<unknown, {
56
+ base: string[];
57
+ wrapper: string;
58
+ name: string;
59
+ description: string;
60
+ }, undefined, unknown, unknown, undefined>>;
61
+ type UserSlots = keyof ReturnType<typeof user>;
62
+
63
+ export { type UserSlots, user };