@deepnoid/ui 0.0.80 → 0.0.84

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 (213) hide show
  1. package/dist/{chunk-KWOLWE6I.mjs → chunk-463XE4SI.mjs} +4 -4
  2. package/dist/chunk-5T5F5WVS.mjs +32 -0
  3. package/dist/{chunk-S4DTK5GI.mjs → chunk-ADDUBJ4I.mjs} +1 -1
  4. package/dist/{chunk-GJKNTX2T.mjs → chunk-AHORH5PH.mjs} +6 -4
  5. package/dist/{chunk-7LYJAJIS.mjs → chunk-EWKYBS7I.mjs} +13 -6
  6. package/dist/{chunk-H7BLXC5M.mjs → chunk-ILMIS63S.mjs} +14 -14
  7. package/dist/{chunk-H737LHAY.mjs → chunk-KA4L5SCT.mjs} +8 -8
  8. package/dist/{chunk-DLVQWKQG.mjs → chunk-LGELMZCN.mjs} +24 -19
  9. package/dist/chunk-LXPWTJ3F.mjs +58 -0
  10. package/dist/{chunk-FNPWLOGV.mjs → chunk-NTTHTGDK.mjs} +39 -37
  11. package/dist/{chunk-G3CX6IWH.mjs → chunk-PUFNT5LS.mjs} +18 -6
  12. package/dist/{chunk-WIKB37T7.mjs → chunk-QCOPD2HG.mjs} +1 -1
  13. package/dist/{chunk-TLYAFXE2.mjs → chunk-QURXBWKK.mjs} +1902 -746
  14. package/dist/{chunk-TDMXAHWR.mjs → chunk-RTH3FPAS.mjs} +32 -6
  15. package/dist/chunk-SDNTEP5C.mjs +61 -0
  16. package/dist/{chunk-FLJ4ZZXV.mjs → chunk-SQLRQTFC.mjs} +1 -1
  17. package/dist/chunk-W7ABNK3K.mjs +1 -0
  18. package/dist/chunk-XTJL67KM.mjs +127 -0
  19. package/dist/chunk-ZYIIXWVY.mjs +1 -0
  20. package/dist/components/accordion/accordion.test.js +39 -37
  21. package/dist/components/accordion/accordion.test.mjs +1 -1
  22. package/dist/components/accordion/accordionItem.js +1905 -749
  23. package/dist/components/accordion/accordionItem.mjs +4 -4
  24. package/dist/components/accordion/index.js +1905 -749
  25. package/dist/components/accordion/index.mjs +4 -4
  26. package/dist/components/button/button-group.test.js +39 -37
  27. package/dist/components/button/button-group.test.mjs +2 -2
  28. package/dist/components/button/button.test.js +52 -50
  29. package/dist/components/button/button.test.mjs +2 -2
  30. package/dist/components/card/card.test.js +39 -37
  31. package/dist/components/card/card.test.mjs +1 -1
  32. package/dist/components/checkbox/checkbox.test.js +39 -37
  33. package/dist/components/checkbox/checkbox.test.mjs +2 -2
  34. package/dist/components/{list/list.d.mts → dropdown/dropdown.d.ts} +9 -9
  35. package/dist/components/dropdown/dropdown.js +122 -0
  36. package/dist/components/dropdown/dropdown.mjs +10 -0
  37. package/dist/components/dropdown/dropdown.test.js +12997 -0
  38. package/dist/components/dropdown/dropdown.test.mjs +25 -0
  39. package/dist/components/dropdown/index.js +128 -0
  40. package/dist/components/dropdown/index.mjs +11 -0
  41. package/dist/components/icon/Icon.d.ts +499 -1
  42. package/dist/components/icon/Icon.js +1940 -778
  43. package/dist/components/icon/Icon.mjs +6 -4
  44. package/dist/components/icon/index.js +1910 -751
  45. package/dist/components/icon/index.mjs +7 -5
  46. package/dist/components/icon/template.d.ts +98 -61
  47. package/dist/components/icon/template.js +1902 -746
  48. package/dist/components/icon/template.mjs +1 -1
  49. package/dist/components/input/index.js +1912 -756
  50. package/dist/components/input/index.mjs +4 -4
  51. package/dist/components/input/input.js +1912 -756
  52. package/dist/components/input/input.mjs +4 -4
  53. package/dist/components/input/input.test.js +1983 -825
  54. package/dist/components/input/input.test.mjs +6 -6
  55. package/dist/components/list/index.mjs +3 -3
  56. package/dist/components/list/list.test.js +39 -37
  57. package/dist/components/list/list.test.mjs +1 -1
  58. package/dist/components/modal/index.js +1942 -779
  59. package/dist/components/modal/index.mjs +3 -3
  60. package/dist/components/modal/modal.js +1942 -779
  61. package/dist/components/modal/modal.mjs +3 -3
  62. package/dist/components/modal/modal.test.js +1981 -816
  63. package/dist/components/modal/modal.test.mjs +4 -4
  64. package/dist/components/pagination/pagination.test.js +39 -37
  65. package/dist/components/pagination/pagination.test.mjs +1 -1
  66. package/dist/components/progress/progress.test.d.ts +0 -2
  67. package/dist/components/progress/progress.test.js +39 -37
  68. package/dist/components/progress/progress.test.mjs +1 -1
  69. package/dist/components/radio/radio.test.js +39 -37
  70. package/dist/components/radio/radio.test.mjs +1 -1
  71. package/dist/components/select/index.js +1905 -749
  72. package/dist/components/select/index.mjs +5 -5
  73. package/dist/components/select/option.js +1905 -749
  74. package/dist/components/select/option.mjs +4 -4
  75. package/dist/components/select/select.js +1905 -749
  76. package/dist/components/select/select.mjs +5 -5
  77. package/dist/components/select/select.test.js +1951 -793
  78. package/dist/components/select/select.test.mjs +7 -7
  79. package/dist/components/slider/slider.test.d.ts +0 -2
  80. package/dist/components/slider/slider.test.js +39 -37
  81. package/dist/components/slider/slider.test.mjs +1 -1
  82. package/dist/components/switch/switch.test.d.ts +0 -2
  83. package/dist/components/switch/switch.test.js +39 -37
  84. package/dist/components/switch/switch.test.mjs +1 -1
  85. package/dist/components/table/index.js +1985 -786
  86. package/dist/components/table/index.mjs +6 -6
  87. package/dist/components/table/table-body.d.ts +5 -2
  88. package/dist/components/table/table-body.js +1953 -792
  89. package/dist/components/table/table-body.mjs +4 -4
  90. package/dist/components/table/table-head.d.ts +4 -2
  91. package/dist/components/table/table-head.js +18 -6
  92. package/dist/components/table/table-head.mjs +1 -1
  93. package/dist/components/table/table.d.ts +32 -59
  94. package/dist/components/table/table.js +1985 -786
  95. package/dist/components/table/table.mjs +6 -6
  96. package/dist/components/table/table.test.d.ts +0 -2
  97. package/dist/components/table/table.test.js +2020 -819
  98. package/dist/components/table/table.test.mjs +7 -7
  99. package/dist/components/tabs/tabs.test.d.ts +0 -2
  100. package/dist/components/tabs/tabs.test.js +39 -37
  101. package/dist/components/tabs/tabs.test.mjs +2 -2
  102. package/dist/components/textarea/textarea.test.d.ts +0 -2
  103. package/dist/components/textarea/textarea.test.js +52 -50
  104. package/dist/components/textarea/textarea.test.mjs +2 -2
  105. package/dist/components/toast/index.js +3810 -0
  106. package/dist/components/toast/index.mjs +16 -0
  107. package/dist/components/toast/toast-utils.js +84 -0
  108. package/dist/components/toast/toast-utils.mjs +8 -0
  109. package/dist/components/toast/toast.d.ts +204 -0
  110. package/dist/components/toast/toast.js +3804 -0
  111. package/dist/components/toast/toast.mjs +15 -0
  112. package/dist/components/toast/toast.test.d.ts +0 -0
  113. package/dist/components/toast/toast.test.js +16689 -0
  114. package/dist/components/toast/toast.test.mjs +30 -0
  115. package/dist/components/toast/useToast.d.ts +0 -0
  116. package/dist/components/toast/useToast.js +110 -0
  117. package/dist/components/toast/useToast.mjs +9 -0
  118. package/dist/components/tooltip/tooltip-utils.d.ts +0 -2
  119. package/dist/components/tooltip/tooltip.test.d.ts +0 -2
  120. package/dist/components/tooltip/tooltip.test.js +39 -37
  121. package/dist/components/tooltip/tooltip.test.mjs +1 -1
  122. package/dist/components/tooltip/useTooltip.d.ts +0 -2
  123. package/dist/index.d.ts +4 -1
  124. package/dist/index.js +2247 -793
  125. package/dist/index.mjs +42 -28
  126. package/package.json +4 -3
  127. package/dist/components/accordion/accordion.d.mts +0 -154
  128. package/dist/components/accordion/accordionItem.d.mts +0 -282
  129. package/dist/components/accordion/index.d.mts +0 -6
  130. package/dist/components/button/button-group.d.mts +0 -14
  131. package/dist/components/button/button-group.test.d.mts +0 -2
  132. package/dist/components/button/button.d.mts +0 -18
  133. package/dist/components/button/button.test.d.mts +0 -2
  134. package/dist/components/button/index.d.mts +0 -3
  135. package/dist/components/card/card.d.mts +0 -124
  136. package/dist/components/card/card.test.d.mts +0 -2
  137. package/dist/components/card/index.d.mts +0 -5
  138. package/dist/components/card/index.d.ts +0 -5
  139. package/dist/components/checkbox/checkbox.d.mts +0 -349
  140. package/dist/components/checkbox/checkbox.test.d.mts +0 -2
  141. package/dist/components/checkbox/index.d.mts +0 -5
  142. package/dist/components/checkbox/index.d.ts +0 -5
  143. package/dist/components/icon/Icon.d.mts +0 -15
  144. package/dist/components/icon/index.d.mts +0 -4
  145. package/dist/components/icon/index.d.ts +0 -4
  146. package/dist/components/icon/template.d.mts +0 -97
  147. package/dist/components/input/index.d.mts +0 -5
  148. package/dist/components/input/index.d.ts +0 -5
  149. package/dist/components/input/input.d.mts +0 -437
  150. package/dist/components/input/input.test.d.mts +0 -2
  151. package/dist/components/list/index.d.mts +0 -6
  152. package/dist/components/list/list.test.d.mts +0 -2
  153. package/dist/components/list/listItem.d.mts +0 -183
  154. package/dist/components/modal/index.d.mts +0 -8
  155. package/dist/components/modal/index.d.ts +0 -8
  156. package/dist/components/modal/modal.d.mts +0 -214
  157. package/dist/components/modal/modal.test.d.mts +0 -2
  158. package/dist/components/pagination/index.d.mts +0 -4
  159. package/dist/components/pagination/index.d.ts +0 -4
  160. package/dist/components/pagination/pagination.d.mts +0 -186
  161. package/dist/components/pagination/pagination.test.d.mts +0 -2
  162. package/dist/components/pagination/usePagination.d.mts +0 -16
  163. package/dist/components/progress/index.d.mts +0 -5
  164. package/dist/components/progress/index.d.ts +0 -5
  165. package/dist/components/progress/progress.d.mts +0 -281
  166. package/dist/components/progress/progress.test.d.mts +0 -2
  167. package/dist/components/radio/index.d.mts +0 -5
  168. package/dist/components/radio/index.d.ts +0 -5
  169. package/dist/components/radio/radio.d.mts +0 -278
  170. package/dist/components/radio/radio.test.d.mts +0 -2
  171. package/dist/components/select/index.d.mts +0 -5
  172. package/dist/components/select/index.d.ts +0 -5
  173. package/dist/components/select/option.d.mts +0 -18
  174. package/dist/components/select/select.d.mts +0 -449
  175. package/dist/components/select/select.test.d.mts +0 -2
  176. package/dist/components/select/useSelect.d.mts +0 -32
  177. package/dist/components/slider/index.d.mts +0 -5
  178. package/dist/components/slider/index.d.ts +0 -5
  179. package/dist/components/slider/slider.d.mts +0 -333
  180. package/dist/components/slider/slider.test.d.mts +0 -2
  181. package/dist/components/switch/index.d.mts +0 -5
  182. package/dist/components/switch/index.d.ts +0 -5
  183. package/dist/components/switch/switch.d.mts +0 -304
  184. package/dist/components/switch/switch.test.d.mts +0 -2
  185. package/dist/components/table/index.d.mts +0 -5
  186. package/dist/components/table/index.d.ts +0 -5
  187. package/dist/components/table/table-body.d.mts +0 -23
  188. package/dist/components/table/table-head.d.mts +0 -19
  189. package/dist/components/table/table.d.mts +0 -610
  190. package/dist/components/table/table.test.d.mts +0 -2
  191. package/dist/components/tabs/index.d.mts +0 -5
  192. package/dist/components/tabs/index.d.ts +0 -5
  193. package/dist/components/tabs/tabs.d.mts +0 -241
  194. package/dist/components/tabs/tabs.test.d.mts +0 -2
  195. package/dist/components/textarea/index.d.mts +0 -2
  196. package/dist/components/textarea/index.d.ts +0 -2
  197. package/dist/components/textarea/textarea.d.mts +0 -17
  198. package/dist/components/textarea/textarea.test.d.mts +0 -2
  199. package/dist/components/tooltip/index.d.mts +0 -6
  200. package/dist/components/tooltip/index.d.ts +0 -6
  201. package/dist/components/tooltip/tooltip-utils.d.mts +0 -2
  202. package/dist/components/tooltip/tooltip.d.mts +0 -143
  203. package/dist/components/tooltip/tooltip.test.d.mts +0 -2
  204. package/dist/components/tooltip/useTooltip.d.mts +0 -2
  205. package/dist/index.d.mts +0 -30
  206. package/dist/tooltip-utils-DCKA5gnI.d.mts +0 -30
  207. package/dist/tooltip-utils-DCKA5gnI.d.ts +0 -30
  208. package/dist/utils/clsx.d.mts +0 -3
  209. package/dist/utils/props.d.mts +0 -3
  210. package/dist/utils/tailwind-variants.d.mts +0 -26
  211. package/dist/utils/types.d.mts +0 -10
  212. /package/dist/{chunk-M5PMA3CT.mjs → chunk-RDEWIZV3.mjs} +0 -0
  213. /package/dist/components/{accordion/accordion.test.d.mts → dropdown/dropdown.test.d.ts} +0 -0
@@ -1,333 +0,0 @@
1
- import * as tailwind_variants from 'tailwind-variants';
2
- import { VariantProps } from 'tailwind-variants';
3
- import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
4
- import * as react from 'react';
5
- import { ComponentPropsWithRef } from 'react';
6
- import { SlotsToClasses } from '../../utils/types.mjs';
7
-
8
- interface Props extends Omit<ComponentPropsWithRef<"input">, "ref" | "size" | "onChange"> {
9
- label?: string;
10
- max?: number;
11
- min?: number;
12
- value?: number;
13
- classNames?: SlotsToClasses<SliderSlots>;
14
- onChange?: (value: number) => void;
15
- }
16
- type SliderProps = Props & SliderVariantProps;
17
- declare const Slider: react.ForwardRefExoticComponent<Props & SliderVariantProps & react.RefAttributes<HTMLInputElement>>;
18
-
19
- declare const slider: tailwind_variants.TVReturnType<{
20
- size: {
21
- sm: {
22
- track: string;
23
- thumb: string[];
24
- label: string;
25
- value: string;
26
- };
27
- md: {
28
- track: string;
29
- thumb: string[];
30
- label: string;
31
- value: string;
32
- };
33
- lg: {
34
- track: string;
35
- thumb: string[];
36
- label: string;
37
- value: string;
38
- };
39
- };
40
- color: {
41
- primary: {
42
- filter: string;
43
- thumb: string;
44
- };
45
- secondary: {
46
- filter: string;
47
- thumb: string;
48
- };
49
- };
50
- fullWidth: {
51
- true: {
52
- base: string;
53
- };
54
- };
55
- hideThumb: {
56
- true: {
57
- thumb: string;
58
- track: string;
59
- };
60
- };
61
- isDisabled: {
62
- false: {
63
- thumb: string[];
64
- };
65
- true: {
66
- thumb: string[];
67
- filter: string[];
68
- };
69
- };
70
- }, {
71
- base: string;
72
- labelWrapper: string;
73
- label: string;
74
- value: string;
75
- trackWrapper: string;
76
- track: string[];
77
- filter: string[];
78
- thumb: string[];
79
- }, undefined, {
80
- responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
81
- size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
82
- color?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
83
- fullWidth?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
84
- isDisabled?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
85
- hideThumb?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
86
- } | undefined;
87
- } & tailwind_variants_dist_config.TWMConfig & {
88
- twMergeConfig: {
89
- classGroups: {
90
- fontSize: {
91
- text: string[];
92
- }[];
93
- borderRadius: {
94
- rounded: string[];
95
- }[];
96
- boxShadow: {
97
- shadow: string[];
98
- }[];
99
- padding: {
100
- p: string[];
101
- }[];
102
- gap: {
103
- gap: string[];
104
- }[];
105
- };
106
- };
107
- }, {
108
- size: {
109
- sm: {
110
- track: string;
111
- thumb: string[];
112
- label: string;
113
- value: string;
114
- };
115
- md: {
116
- track: string;
117
- thumb: string[];
118
- label: string;
119
- value: string;
120
- };
121
- lg: {
122
- track: string;
123
- thumb: string[];
124
- label: string;
125
- value: string;
126
- };
127
- };
128
- color: {
129
- primary: {
130
- filter: string;
131
- thumb: string;
132
- };
133
- secondary: {
134
- filter: string;
135
- thumb: string;
136
- };
137
- };
138
- fullWidth: {
139
- true: {
140
- base: string;
141
- };
142
- };
143
- hideThumb: {
144
- true: {
145
- thumb: string;
146
- track: string;
147
- };
148
- };
149
- isDisabled: {
150
- false: {
151
- thumb: string[];
152
- };
153
- true: {
154
- thumb: string[];
155
- filter: string[];
156
- };
157
- };
158
- }, {
159
- base: string;
160
- labelWrapper: string;
161
- label: string;
162
- value: string;
163
- trackWrapper: string;
164
- track: string[];
165
- filter: string[];
166
- thumb: string[];
167
- }, tailwind_variants.TVReturnType<{
168
- size: {
169
- sm: {
170
- track: string;
171
- thumb: string[];
172
- label: string;
173
- value: string;
174
- };
175
- md: {
176
- track: string;
177
- thumb: string[];
178
- label: string;
179
- value: string;
180
- };
181
- lg: {
182
- track: string;
183
- thumb: string[];
184
- label: string;
185
- value: string;
186
- };
187
- };
188
- color: {
189
- primary: {
190
- filter: string;
191
- thumb: string;
192
- };
193
- secondary: {
194
- filter: string;
195
- thumb: string;
196
- };
197
- };
198
- fullWidth: {
199
- true: {
200
- base: string;
201
- };
202
- };
203
- hideThumb: {
204
- true: {
205
- thumb: string;
206
- track: string;
207
- };
208
- };
209
- isDisabled: {
210
- false: {
211
- thumb: string[];
212
- };
213
- true: {
214
- thumb: string[];
215
- filter: string[];
216
- };
217
- };
218
- }, {
219
- base: string;
220
- labelWrapper: string;
221
- label: string;
222
- value: string;
223
- trackWrapper: string;
224
- track: string[];
225
- filter: string[];
226
- thumb: string[];
227
- }, undefined, tailwind_variants_dist_config.TVConfig<{
228
- size: {
229
- sm: {
230
- track: string;
231
- thumb: string[];
232
- label: string;
233
- value: string;
234
- };
235
- md: {
236
- track: string;
237
- thumb: string[];
238
- label: string;
239
- value: string;
240
- };
241
- lg: {
242
- track: string;
243
- thumb: string[];
244
- label: string;
245
- value: string;
246
- };
247
- };
248
- color: {
249
- primary: {
250
- filter: string;
251
- thumb: string;
252
- };
253
- secondary: {
254
- filter: string;
255
- thumb: string;
256
- };
257
- };
258
- fullWidth: {
259
- true: {
260
- base: string;
261
- };
262
- };
263
- hideThumb: {
264
- true: {
265
- thumb: string;
266
- track: string;
267
- };
268
- };
269
- isDisabled: {
270
- false: {
271
- thumb: string[];
272
- };
273
- true: {
274
- thumb: string[];
275
- filter: string[];
276
- };
277
- };
278
- }, {
279
- size: {
280
- sm: {
281
- track: string;
282
- thumb: string[];
283
- label: string;
284
- value: string;
285
- };
286
- md: {
287
- track: string;
288
- thumb: string[];
289
- label: string;
290
- value: string;
291
- };
292
- lg: {
293
- track: string;
294
- thumb: string[];
295
- label: string;
296
- value: string;
297
- };
298
- };
299
- color: {
300
- primary: {
301
- filter: string;
302
- thumb: string;
303
- };
304
- secondary: {
305
- filter: string;
306
- thumb: string;
307
- };
308
- };
309
- fullWidth: {
310
- true: {
311
- base: string;
312
- };
313
- };
314
- hideThumb: {
315
- true: {
316
- thumb: string;
317
- track: string;
318
- };
319
- };
320
- isDisabled: {
321
- false: {
322
- thumb: string[];
323
- };
324
- true: {
325
- thumb: string[];
326
- filter: string[];
327
- };
328
- };
329
- }>, unknown, unknown, undefined>>;
330
- type SliderVariantProps = VariantProps<typeof slider>;
331
- type SliderSlots = keyof ReturnType<typeof slider>;
332
-
333
- export { type Props, type SliderProps, type SliderSlots, type SliderVariantProps, Slider as default, slider };
@@ -1,2 +0,0 @@
1
-
2
- export { }
@@ -1,5 +0,0 @@
1
- export { default as Switch, SwitchProps } from './switch.mjs';
2
- import 'tailwind-variants';
3
- import 'tailwind-variants/dist/config';
4
- import 'react';
5
- import '../../utils/types.mjs';
@@ -1,5 +0,0 @@
1
- export { default as Switch, SwitchProps } from './switch.js';
2
- import 'tailwind-variants';
3
- import 'tailwind-variants/dist/config';
4
- import 'react';
5
- import '../../utils/types.js';
@@ -1,304 +0,0 @@
1
- import * as tailwind_variants from 'tailwind-variants';
2
- import { VariantProps } from 'tailwind-variants';
3
- import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
4
- import * as react from 'react';
5
- import { ComponentPropsWithRef } from 'react';
6
- import { SlotsToClasses } from '../../utils/types.mjs';
7
-
8
- interface Props extends Omit<ComponentPropsWithRef<"input">, "ref" | "size"> {
9
- classNames?: SlotsToClasses<ToggleSlots>;
10
- size?: "sm" | "md" | "lg";
11
- label?: string;
12
- }
13
- type SwitchProps = Props & ToggleVariantProps;
14
- declare const Switch: react.ForwardRefExoticComponent<Props & ToggleVariantProps & react.RefAttributes<HTMLInputElement>>;
15
-
16
- declare const toggle: tailwind_variants.TVReturnType<{
17
- size: {
18
- sm: {
19
- outerWrapper: string;
20
- wrapper: string;
21
- thumb: string[];
22
- label: string;
23
- };
24
- md: {
25
- outerWrapper: string;
26
- wrapper: string;
27
- thumb: string[];
28
- label: string;
29
- };
30
- lg: {
31
- outerWrapper: string;
32
- wrapper: string;
33
- thumb: string[];
34
- label: string;
35
- };
36
- };
37
- isDisabled: {
38
- true: {
39
- base: string;
40
- wrapper: string;
41
- thumb: string;
42
- };
43
- };
44
- disableAnimation: {
45
- true: {
46
- wrapper: string;
47
- thumb: string;
48
- };
49
- false: {
50
- wrapper: string;
51
- thumb: string;
52
- };
53
- };
54
- }, {
55
- base: string;
56
- outerWrapper: string[];
57
- wrapper: string[];
58
- thumb: string[];
59
- label: string;
60
- }, undefined, tailwind_variants_dist_config.TVConfig<{
61
- size: {
62
- sm: {
63
- outerWrapper: string;
64
- wrapper: string;
65
- thumb: string[];
66
- label: string;
67
- };
68
- md: {
69
- outerWrapper: string;
70
- wrapper: string;
71
- thumb: string[];
72
- label: string;
73
- };
74
- lg: {
75
- outerWrapper: string;
76
- wrapper: string;
77
- thumb: string[];
78
- label: string;
79
- };
80
- };
81
- isDisabled: {
82
- true: {
83
- base: string;
84
- wrapper: string;
85
- thumb: string;
86
- };
87
- };
88
- disableAnimation: {
89
- true: {
90
- wrapper: string;
91
- thumb: string;
92
- };
93
- false: {
94
- wrapper: string;
95
- thumb: string;
96
- };
97
- };
98
- }, {
99
- size: {
100
- sm: {
101
- outerWrapper: string;
102
- wrapper: string;
103
- thumb: string[];
104
- label: string;
105
- };
106
- md: {
107
- outerWrapper: string;
108
- wrapper: string;
109
- thumb: string[];
110
- label: string;
111
- };
112
- lg: {
113
- outerWrapper: string;
114
- wrapper: string;
115
- thumb: string[];
116
- label: string;
117
- };
118
- };
119
- isDisabled: {
120
- true: {
121
- base: string;
122
- wrapper: string;
123
- thumb: string;
124
- };
125
- };
126
- disableAnimation: {
127
- true: {
128
- wrapper: string;
129
- thumb: string;
130
- };
131
- false: {
132
- wrapper: string;
133
- thumb: string;
134
- };
135
- };
136
- }>, {
137
- size: {
138
- sm: {
139
- outerWrapper: string;
140
- wrapper: string;
141
- thumb: string[];
142
- label: string;
143
- };
144
- md: {
145
- outerWrapper: string;
146
- wrapper: string;
147
- thumb: string[];
148
- label: string;
149
- };
150
- lg: {
151
- outerWrapper: string;
152
- wrapper: string;
153
- thumb: string[];
154
- label: string;
155
- };
156
- };
157
- isDisabled: {
158
- true: {
159
- base: string;
160
- wrapper: string;
161
- thumb: string;
162
- };
163
- };
164
- disableAnimation: {
165
- true: {
166
- wrapper: string;
167
- thumb: string;
168
- };
169
- false: {
170
- wrapper: string;
171
- thumb: string;
172
- };
173
- };
174
- }, {
175
- base: string;
176
- outerWrapper: string[];
177
- wrapper: string[];
178
- thumb: string[];
179
- label: string;
180
- }, tailwind_variants.TVReturnType<{
181
- size: {
182
- sm: {
183
- outerWrapper: string;
184
- wrapper: string;
185
- thumb: string[];
186
- label: string;
187
- };
188
- md: {
189
- outerWrapper: string;
190
- wrapper: string;
191
- thumb: string[];
192
- label: string;
193
- };
194
- lg: {
195
- outerWrapper: string;
196
- wrapper: string;
197
- thumb: string[];
198
- label: string;
199
- };
200
- };
201
- isDisabled: {
202
- true: {
203
- base: string;
204
- wrapper: string;
205
- thumb: string;
206
- };
207
- };
208
- disableAnimation: {
209
- true: {
210
- wrapper: string;
211
- thumb: string;
212
- };
213
- false: {
214
- wrapper: string;
215
- thumb: string;
216
- };
217
- };
218
- }, {
219
- base: string;
220
- outerWrapper: string[];
221
- wrapper: string[];
222
- thumb: string[];
223
- label: string;
224
- }, undefined, tailwind_variants_dist_config.TVConfig<{
225
- size: {
226
- sm: {
227
- outerWrapper: string;
228
- wrapper: string;
229
- thumb: string[];
230
- label: string;
231
- };
232
- md: {
233
- outerWrapper: string;
234
- wrapper: string;
235
- thumb: string[];
236
- label: string;
237
- };
238
- lg: {
239
- outerWrapper: string;
240
- wrapper: string;
241
- thumb: string[];
242
- label: string;
243
- };
244
- };
245
- isDisabled: {
246
- true: {
247
- base: string;
248
- wrapper: string;
249
- thumb: string;
250
- };
251
- };
252
- disableAnimation: {
253
- true: {
254
- wrapper: string;
255
- thumb: string;
256
- };
257
- false: {
258
- wrapper: string;
259
- thumb: string;
260
- };
261
- };
262
- }, {
263
- size: {
264
- sm: {
265
- outerWrapper: string;
266
- wrapper: string;
267
- thumb: string[];
268
- label: string;
269
- };
270
- md: {
271
- outerWrapper: string;
272
- wrapper: string;
273
- thumb: string[];
274
- label: string;
275
- };
276
- lg: {
277
- outerWrapper: string;
278
- wrapper: string;
279
- thumb: string[];
280
- label: string;
281
- };
282
- };
283
- isDisabled: {
284
- true: {
285
- base: string;
286
- wrapper: string;
287
- thumb: string;
288
- };
289
- };
290
- disableAnimation: {
291
- true: {
292
- wrapper: string;
293
- thumb: string;
294
- };
295
- false: {
296
- wrapper: string;
297
- thumb: string;
298
- };
299
- };
300
- }>, unknown, unknown, undefined>>;
301
- type ToggleVariantProps = VariantProps<typeof toggle>;
302
- type ToggleSlots = keyof ReturnType<typeof toggle>;
303
-
304
- export { type Props, type SwitchProps, type ToggleSlots, type ToggleVariantProps, Switch as default, toggle };
@@ -1,2 +0,0 @@
1
-
2
- export { }
@@ -1,5 +0,0 @@
1
- export { default as Table, TableColumn, TableRow } from './table.mjs';
2
- import 'tailwind-variants';
3
- import 'tailwind-variants/dist/config';
4
- import 'react';
5
- import '../../utils/types.mjs';
@@ -1,5 +0,0 @@
1
- export { default as Table, TableColumn, TableRow } from './table.js';
2
- import 'tailwind-variants';
3
- import 'tailwind-variants/dist/config';
4
- import 'react';
5
- import '../../utils/types.js';
@@ -1,23 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import react__default, { ReactNode } from 'react';
3
- import { SlotsToClasses } from '../../utils/types.mjs';
4
- import { TableSlots, TableReturnType, TableRow, TableColumn } from './table.mjs';
5
- import 'tailwind-variants';
6
- import 'tailwind-variants/dist/config';
7
-
8
- type TableBodyProps = {
9
- classNames?: SlotsToClasses<TableSlots>;
10
- size?: "md" | "sm" | "lg";
11
- color?: "primary" | "secondary";
12
- slots: TableReturnType;
13
- rows: TableRow[];
14
- columns: TableColumn[];
15
- isLoading?: boolean;
16
- isExpanded?: boolean;
17
- emptyContent?: ReactNode;
18
- isSelected?: boolean;
19
- onRowAction?: (e: react__default.MouseEvent, params: TableRow) => void;
20
- };
21
- declare const TableBody: ({ classNames, size, color, slots, rows, columns, isSelected, isExpanded, emptyContent, onRowAction, }: TableBodyProps) => react_jsx_runtime.JSX.Element;
22
-
23
- export { TableBody as default };
@@ -1,19 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { SlotsToClasses } from '../../utils/types.mjs';
3
- import { TableColumn, TableReturnType, TableSlots } from './table.mjs';
4
- import 'tailwind-variants';
5
- import 'tailwind-variants/dist/config';
6
- import 'react';
7
-
8
- type TableHeadProps = {
9
- columns: TableColumn[];
10
- slots: TableReturnType;
11
- size?: "md" | "sm" | "lg";
12
- color?: "primary" | "secondary";
13
- isSelected?: boolean;
14
- isExpanded?: boolean;
15
- classNames?: SlotsToClasses<TableSlots>;
16
- };
17
- declare const TableHead: ({ columns, slots, size, color, isSelected, isExpanded, classNames }: TableHeadProps) => react_jsx_runtime.JSX.Element;
18
-
19
- export { TableHead as default };