@deepnoid/ui 0.0.83 → 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 (207) 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-BHSCW5D6.mjs → chunk-LGELMZCN.mjs} +1 -1
  9. package/dist/chunk-LXPWTJ3F.mjs +58 -0
  10. package/dist/{chunk-FNPWLOGV.mjs → chunk-NTTHTGDK.mjs} +39 -37
  11. package/dist/{chunk-WIKB37T7.mjs → chunk-QCOPD2HG.mjs} +1 -1
  12. package/dist/{chunk-TLYAFXE2.mjs → chunk-QURXBWKK.mjs} +1902 -746
  13. package/dist/{chunk-6U736HAX.mjs → chunk-RTH3FPAS.mjs} +3 -3
  14. package/dist/chunk-SDNTEP5C.mjs +61 -0
  15. package/dist/{chunk-FLJ4ZZXV.mjs → chunk-SQLRQTFC.mjs} +1 -1
  16. package/dist/chunk-W7ABNK3K.mjs +1 -0
  17. package/dist/chunk-XTJL67KM.mjs +127 -0
  18. package/dist/chunk-ZYIIXWVY.mjs +1 -0
  19. package/dist/components/accordion/accordion.test.js +39 -37
  20. package/dist/components/accordion/accordion.test.mjs +1 -1
  21. package/dist/components/accordion/accordionItem.js +1905 -749
  22. package/dist/components/accordion/accordionItem.mjs +4 -4
  23. package/dist/components/accordion/index.js +1905 -749
  24. package/dist/components/accordion/index.mjs +4 -4
  25. package/dist/components/button/button-group.test.js +39 -37
  26. package/dist/components/button/button-group.test.mjs +2 -2
  27. package/dist/components/button/button.test.js +52 -50
  28. package/dist/components/button/button.test.mjs +2 -2
  29. package/dist/components/card/card.test.js +39 -37
  30. package/dist/components/card/card.test.mjs +1 -1
  31. package/dist/components/checkbox/checkbox.test.js +39 -37
  32. package/dist/components/checkbox/checkbox.test.mjs +2 -2
  33. package/dist/components/{list/list.d.mts → dropdown/dropdown.d.ts} +9 -9
  34. package/dist/components/dropdown/dropdown.js +122 -0
  35. package/dist/components/dropdown/dropdown.mjs +10 -0
  36. package/dist/components/dropdown/dropdown.test.js +12997 -0
  37. package/dist/components/dropdown/dropdown.test.mjs +25 -0
  38. package/dist/components/dropdown/index.js +128 -0
  39. package/dist/components/dropdown/index.mjs +11 -0
  40. package/dist/components/icon/Icon.d.ts +499 -1
  41. package/dist/components/icon/Icon.js +1940 -778
  42. package/dist/components/icon/Icon.mjs +6 -4
  43. package/dist/components/icon/index.js +1910 -751
  44. package/dist/components/icon/index.mjs +7 -5
  45. package/dist/components/icon/template.d.ts +98 -61
  46. package/dist/components/icon/template.js +1902 -746
  47. package/dist/components/icon/template.mjs +1 -1
  48. package/dist/components/input/index.js +1912 -756
  49. package/dist/components/input/index.mjs +4 -4
  50. package/dist/components/input/input.js +1912 -756
  51. package/dist/components/input/input.mjs +4 -4
  52. package/dist/components/input/input.test.js +1983 -825
  53. package/dist/components/input/input.test.mjs +6 -6
  54. package/dist/components/list/index.mjs +3 -3
  55. package/dist/components/list/list.test.js +39 -37
  56. package/dist/components/list/list.test.mjs +1 -1
  57. package/dist/components/modal/index.js +1942 -779
  58. package/dist/components/modal/index.mjs +3 -3
  59. package/dist/components/modal/modal.js +1942 -779
  60. package/dist/components/modal/modal.mjs +3 -3
  61. package/dist/components/modal/modal.test.js +1981 -816
  62. package/dist/components/modal/modal.test.mjs +4 -4
  63. package/dist/components/pagination/pagination.test.js +39 -37
  64. package/dist/components/pagination/pagination.test.mjs +1 -1
  65. package/dist/components/progress/progress.test.d.ts +0 -2
  66. package/dist/components/progress/progress.test.js +39 -37
  67. package/dist/components/progress/progress.test.mjs +1 -1
  68. package/dist/components/radio/radio.test.js +39 -37
  69. package/dist/components/radio/radio.test.mjs +1 -1
  70. package/dist/components/select/index.js +1905 -749
  71. package/dist/components/select/index.mjs +5 -5
  72. package/dist/components/select/option.js +1905 -749
  73. package/dist/components/select/option.mjs +4 -4
  74. package/dist/components/select/select.js +1905 -749
  75. package/dist/components/select/select.mjs +5 -5
  76. package/dist/components/select/select.test.js +1951 -793
  77. package/dist/components/select/select.test.mjs +7 -7
  78. package/dist/components/slider/slider.test.d.ts +0 -2
  79. package/dist/components/slider/slider.test.js +39 -37
  80. package/dist/components/slider/slider.test.mjs +1 -1
  81. package/dist/components/switch/switch.test.d.ts +0 -2
  82. package/dist/components/switch/switch.test.js +39 -37
  83. package/dist/components/switch/switch.test.mjs +1 -1
  84. package/dist/components/table/index.js +1905 -749
  85. package/dist/components/table/index.mjs +5 -5
  86. package/dist/components/table/table-body.js +1905 -749
  87. package/dist/components/table/table-body.mjs +4 -4
  88. package/dist/components/table/table.js +1905 -749
  89. package/dist/components/table/table.mjs +5 -5
  90. package/dist/components/table/table.test.d.ts +0 -2
  91. package/dist/components/table/table.test.js +1951 -793
  92. package/dist/components/table/table.test.mjs +6 -6
  93. package/dist/components/tabs/tabs.test.d.ts +0 -2
  94. package/dist/components/tabs/tabs.test.js +39 -37
  95. package/dist/components/tabs/tabs.test.mjs +2 -2
  96. package/dist/components/textarea/textarea.test.d.ts +0 -2
  97. package/dist/components/textarea/textarea.test.js +52 -50
  98. package/dist/components/textarea/textarea.test.mjs +2 -2
  99. package/dist/components/toast/index.js +3810 -0
  100. package/dist/components/toast/index.mjs +16 -0
  101. package/dist/components/toast/toast-utils.js +84 -0
  102. package/dist/components/toast/toast-utils.mjs +8 -0
  103. package/dist/components/toast/toast.d.ts +204 -0
  104. package/dist/components/toast/toast.js +3804 -0
  105. package/dist/components/toast/toast.mjs +15 -0
  106. package/dist/components/toast/toast.test.d.ts +0 -0
  107. package/dist/components/toast/toast.test.js +16689 -0
  108. package/dist/components/toast/toast.test.mjs +30 -0
  109. package/dist/components/toast/useToast.d.ts +0 -0
  110. package/dist/components/toast/useToast.js +110 -0
  111. package/dist/components/toast/useToast.mjs +9 -0
  112. package/dist/components/tooltip/tooltip-utils.d.ts +0 -2
  113. package/dist/components/tooltip/tooltip.test.d.ts +0 -2
  114. package/dist/components/tooltip/tooltip.test.js +39 -37
  115. package/dist/components/tooltip/tooltip.test.mjs +1 -1
  116. package/dist/components/tooltip/useTooltip.d.ts +0 -2
  117. package/dist/index.d.ts +4 -1
  118. package/dist/index.js +2172 -761
  119. package/dist/index.mjs +44 -30
  120. package/package.json +4 -3
  121. package/dist/components/accordion/accordion.d.mts +0 -154
  122. package/dist/components/accordion/accordionItem.d.mts +0 -282
  123. package/dist/components/accordion/index.d.mts +0 -6
  124. package/dist/components/button/button-group.d.mts +0 -14
  125. package/dist/components/button/button-group.test.d.mts +0 -2
  126. package/dist/components/button/button.d.mts +0 -18
  127. package/dist/components/button/button.test.d.mts +0 -2
  128. package/dist/components/button/index.d.mts +0 -3
  129. package/dist/components/card/card.d.mts +0 -124
  130. package/dist/components/card/card.test.d.mts +0 -2
  131. package/dist/components/card/index.d.mts +0 -5
  132. package/dist/components/card/index.d.ts +0 -5
  133. package/dist/components/checkbox/checkbox.d.mts +0 -349
  134. package/dist/components/checkbox/checkbox.test.d.mts +0 -2
  135. package/dist/components/checkbox/index.d.mts +0 -5
  136. package/dist/components/checkbox/index.d.ts +0 -5
  137. package/dist/components/icon/Icon.d.mts +0 -15
  138. package/dist/components/icon/index.d.mts +0 -4
  139. package/dist/components/icon/index.d.ts +0 -4
  140. package/dist/components/icon/template.d.mts +0 -97
  141. package/dist/components/input/index.d.mts +0 -5
  142. package/dist/components/input/index.d.ts +0 -5
  143. package/dist/components/input/input.d.mts +0 -437
  144. package/dist/components/input/input.test.d.mts +0 -2
  145. package/dist/components/list/index.d.mts +0 -6
  146. package/dist/components/list/list.test.d.mts +0 -2
  147. package/dist/components/list/listItem.d.mts +0 -183
  148. package/dist/components/modal/index.d.mts +0 -8
  149. package/dist/components/modal/index.d.ts +0 -8
  150. package/dist/components/modal/modal.d.mts +0 -214
  151. package/dist/components/modal/modal.test.d.mts +0 -2
  152. package/dist/components/pagination/index.d.mts +0 -4
  153. package/dist/components/pagination/index.d.ts +0 -4
  154. package/dist/components/pagination/pagination.d.mts +0 -186
  155. package/dist/components/pagination/pagination.test.d.mts +0 -2
  156. package/dist/components/pagination/usePagination.d.mts +0 -16
  157. package/dist/components/progress/index.d.mts +0 -5
  158. package/dist/components/progress/index.d.ts +0 -5
  159. package/dist/components/progress/progress.d.mts +0 -281
  160. package/dist/components/progress/progress.test.d.mts +0 -2
  161. package/dist/components/radio/index.d.mts +0 -5
  162. package/dist/components/radio/index.d.ts +0 -5
  163. package/dist/components/radio/radio.d.mts +0 -278
  164. package/dist/components/radio/radio.test.d.mts +0 -2
  165. package/dist/components/select/index.d.mts +0 -5
  166. package/dist/components/select/index.d.ts +0 -5
  167. package/dist/components/select/option.d.mts +0 -18
  168. package/dist/components/select/select.d.mts +0 -449
  169. package/dist/components/select/select.test.d.mts +0 -2
  170. package/dist/components/select/useSelect.d.mts +0 -32
  171. package/dist/components/slider/index.d.mts +0 -5
  172. package/dist/components/slider/index.d.ts +0 -5
  173. package/dist/components/slider/slider.d.mts +0 -333
  174. package/dist/components/slider/slider.test.d.mts +0 -2
  175. package/dist/components/switch/index.d.mts +0 -5
  176. package/dist/components/switch/index.d.ts +0 -5
  177. package/dist/components/switch/switch.d.mts +0 -304
  178. package/dist/components/switch/switch.test.d.mts +0 -2
  179. package/dist/components/table/index.d.mts +0 -5
  180. package/dist/components/table/index.d.ts +0 -5
  181. package/dist/components/table/table-body.d.mts +0 -26
  182. package/dist/components/table/table-head.d.mts +0 -21
  183. package/dist/components/table/table.d.mts +0 -583
  184. package/dist/components/table/table.test.d.mts +0 -2
  185. package/dist/components/tabs/index.d.mts +0 -5
  186. package/dist/components/tabs/index.d.ts +0 -5
  187. package/dist/components/tabs/tabs.d.mts +0 -241
  188. package/dist/components/tabs/tabs.test.d.mts +0 -2
  189. package/dist/components/textarea/index.d.mts +0 -2
  190. package/dist/components/textarea/index.d.ts +0 -2
  191. package/dist/components/textarea/textarea.d.mts +0 -17
  192. package/dist/components/textarea/textarea.test.d.mts +0 -2
  193. package/dist/components/tooltip/index.d.mts +0 -6
  194. package/dist/components/tooltip/index.d.ts +0 -6
  195. package/dist/components/tooltip/tooltip-utils.d.mts +0 -2
  196. package/dist/components/tooltip/tooltip.d.mts +0 -143
  197. package/dist/components/tooltip/tooltip.test.d.mts +0 -2
  198. package/dist/components/tooltip/useTooltip.d.mts +0 -2
  199. package/dist/index.d.mts +0 -30
  200. package/dist/tooltip-utils-DCKA5gnI.d.mts +0 -30
  201. package/dist/tooltip-utils-DCKA5gnI.d.ts +0 -30
  202. package/dist/utils/clsx.d.mts +0 -3
  203. package/dist/utils/props.d.mts +0 -3
  204. package/dist/utils/tailwind-variants.d.mts +0 -26
  205. package/dist/utils/types.d.mts +0 -10
  206. /package/dist/{chunk-M5PMA3CT.mjs → chunk-RDEWIZV3.mjs} +0 -0
  207. /package/dist/components/{accordion/accordion.test.d.mts → dropdown/dropdown.test.d.ts} +0 -0
@@ -1,583 +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 react__default, { ReactElement } from 'react';
5
- import { SlotsToClasses } from '../../utils/types.mjs';
6
-
7
- interface Props extends Omit<react__default.ComponentPropsWithRef<"table">, "ref" | "color" | "slot" | "size" | "defaultChecked" | "defaultValue"> {
8
- rows: TableRow[];
9
- columns: TableColumn[];
10
- isLoading?: boolean;
11
- emptyContent?: ReactElement;
12
- classNames?: SlotsToClasses<TableSlots>;
13
- onRowAction?: (e: react__default.MouseEvent, params: TableRow) => void;
14
- }
15
- interface TableRef {
16
- selectedRows: Set<number>;
17
- setSelectedRows: (rows: Set<number>) => void;
18
- }
19
- declare const Table: react__default.ForwardRefExoticComponent<Props & TableVariantProps & react__default.RefAttributes<TableRef>>;
20
-
21
- declare const table: tailwind_variants.TVReturnType<{
22
- variant: {
23
- solid: {
24
- tbody: string;
25
- };
26
- stripe: {
27
- thead: string;
28
- };
29
- line: {
30
- tr: string;
31
- thead: string;
32
- };
33
- };
34
- size: {
35
- sm: {
36
- tr: string;
37
- };
38
- md: {
39
- tr: string;
40
- };
41
- lg: {
42
- tr: string;
43
- };
44
- };
45
- color: {
46
- primary: {
47
- thead: string;
48
- tr: string;
49
- td: string;
50
- expandedTr: string;
51
- };
52
- secondary: {
53
- thead: string;
54
- tr: string;
55
- td: string;
56
- expandedTr: string;
57
- };
58
- neutral: {
59
- thead: string;
60
- tr: string;
61
- td: string;
62
- expandedTr: string;
63
- };
64
- };
65
- isSelected: {
66
- true: {};
67
- };
68
- isSelectedRow: {
69
- true: {};
70
- };
71
- hideHeader: {
72
- true: {
73
- thead: string;
74
- };
75
- };
76
- isCompact: {
77
- true: {
78
- td: string;
79
- };
80
- false: {};
81
- };
82
- isHeaderSticky: {
83
- true: {
84
- thead: string;
85
- };
86
- };
87
- isExpanded: {
88
- true: {
89
- tr: string;
90
- };
91
- };
92
- }, {
93
- base: string;
94
- table: string;
95
- thead: string;
96
- tbody: string;
97
- tr: string[];
98
- th: string[];
99
- td: string[];
100
- tfoot: string;
101
- expandedTr: string;
102
- sortIcon: string[];
103
- emptyWrapper: string;
104
- loadingWrapper: string;
105
- }, undefined, tailwind_variants_dist_config.TVConfig<{
106
- variant: {
107
- solid: {
108
- tbody: string;
109
- };
110
- stripe: {
111
- thead: string;
112
- };
113
- line: {
114
- tr: string;
115
- thead: string;
116
- };
117
- };
118
- size: {
119
- sm: {
120
- tr: string;
121
- };
122
- md: {
123
- tr: string;
124
- };
125
- lg: {
126
- tr: string;
127
- };
128
- };
129
- color: {
130
- primary: {
131
- thead: string;
132
- tr: string;
133
- td: string;
134
- expandedTr: string;
135
- };
136
- secondary: {
137
- thead: string;
138
- tr: string;
139
- td: string;
140
- expandedTr: string;
141
- };
142
- neutral: {
143
- thead: string;
144
- tr: string;
145
- td: string;
146
- expandedTr: string;
147
- };
148
- };
149
- isSelected: {
150
- true: {};
151
- };
152
- isSelectedRow: {
153
- true: {};
154
- };
155
- hideHeader: {
156
- true: {
157
- thead: string;
158
- };
159
- };
160
- isCompact: {
161
- true: {
162
- td: string;
163
- };
164
- false: {};
165
- };
166
- isHeaderSticky: {
167
- true: {
168
- thead: string;
169
- };
170
- };
171
- isExpanded: {
172
- true: {
173
- tr: string;
174
- };
175
- };
176
- }, {
177
- variant: {
178
- solid: {
179
- tbody: string;
180
- };
181
- stripe: {
182
- thead: string;
183
- };
184
- line: {
185
- tr: string;
186
- thead: string;
187
- };
188
- };
189
- size: {
190
- sm: {
191
- tr: string;
192
- };
193
- md: {
194
- tr: string;
195
- };
196
- lg: {
197
- tr: string;
198
- };
199
- };
200
- color: {
201
- primary: {
202
- thead: string;
203
- tr: string;
204
- td: string;
205
- expandedTr: string;
206
- };
207
- secondary: {
208
- thead: string;
209
- tr: string;
210
- td: string;
211
- expandedTr: string;
212
- };
213
- neutral: {
214
- thead: string;
215
- tr: string;
216
- td: string;
217
- expandedTr: string;
218
- };
219
- };
220
- isSelected: {
221
- true: {};
222
- };
223
- isSelectedRow: {
224
- true: {};
225
- };
226
- hideHeader: {
227
- true: {
228
- thead: string;
229
- };
230
- };
231
- isCompact: {
232
- true: {
233
- td: string;
234
- };
235
- false: {};
236
- };
237
- isHeaderSticky: {
238
- true: {
239
- thead: string;
240
- };
241
- };
242
- isExpanded: {
243
- true: {
244
- tr: string;
245
- };
246
- };
247
- }>, {
248
- variant: {
249
- solid: {
250
- tbody: string;
251
- };
252
- stripe: {
253
- thead: string;
254
- };
255
- line: {
256
- tr: string;
257
- thead: string;
258
- };
259
- };
260
- size: {
261
- sm: {
262
- tr: string;
263
- };
264
- md: {
265
- tr: string;
266
- };
267
- lg: {
268
- tr: string;
269
- };
270
- };
271
- color: {
272
- primary: {
273
- thead: string;
274
- tr: string;
275
- td: string;
276
- expandedTr: string;
277
- };
278
- secondary: {
279
- thead: string;
280
- tr: string;
281
- td: string;
282
- expandedTr: string;
283
- };
284
- neutral: {
285
- thead: string;
286
- tr: string;
287
- td: string;
288
- expandedTr: string;
289
- };
290
- };
291
- isSelected: {
292
- true: {};
293
- };
294
- isSelectedRow: {
295
- true: {};
296
- };
297
- hideHeader: {
298
- true: {
299
- thead: string;
300
- };
301
- };
302
- isCompact: {
303
- true: {
304
- td: string;
305
- };
306
- false: {};
307
- };
308
- isHeaderSticky: {
309
- true: {
310
- thead: string;
311
- };
312
- };
313
- isExpanded: {
314
- true: {
315
- tr: string;
316
- };
317
- };
318
- }, {
319
- base: string;
320
- table: string;
321
- thead: string;
322
- tbody: string;
323
- tr: string[];
324
- th: string[];
325
- td: string[];
326
- tfoot: string;
327
- expandedTr: string;
328
- sortIcon: string[];
329
- emptyWrapper: string;
330
- loadingWrapper: string;
331
- }, tailwind_variants.TVReturnType<{
332
- variant: {
333
- solid: {
334
- tbody: string;
335
- };
336
- stripe: {
337
- thead: string;
338
- };
339
- line: {
340
- tr: string;
341
- thead: string;
342
- };
343
- };
344
- size: {
345
- sm: {
346
- tr: string;
347
- };
348
- md: {
349
- tr: string;
350
- };
351
- lg: {
352
- tr: string;
353
- };
354
- };
355
- color: {
356
- primary: {
357
- thead: string;
358
- tr: string;
359
- td: string;
360
- expandedTr: string;
361
- };
362
- secondary: {
363
- thead: string;
364
- tr: string;
365
- td: string;
366
- expandedTr: string;
367
- };
368
- neutral: {
369
- thead: string;
370
- tr: string;
371
- td: string;
372
- expandedTr: string;
373
- };
374
- };
375
- isSelected: {
376
- true: {};
377
- };
378
- isSelectedRow: {
379
- true: {};
380
- };
381
- hideHeader: {
382
- true: {
383
- thead: string;
384
- };
385
- };
386
- isCompact: {
387
- true: {
388
- td: string;
389
- };
390
- false: {};
391
- };
392
- isHeaderSticky: {
393
- true: {
394
- thead: string;
395
- };
396
- };
397
- isExpanded: {
398
- true: {
399
- tr: string;
400
- };
401
- };
402
- }, {
403
- base: string;
404
- table: string;
405
- thead: string;
406
- tbody: string;
407
- tr: string[];
408
- th: string[];
409
- td: string[];
410
- tfoot: string;
411
- expandedTr: string;
412
- sortIcon: string[];
413
- emptyWrapper: string;
414
- loadingWrapper: string;
415
- }, undefined, tailwind_variants_dist_config.TVConfig<{
416
- variant: {
417
- solid: {
418
- tbody: string;
419
- };
420
- stripe: {
421
- thead: string;
422
- };
423
- line: {
424
- tr: string;
425
- thead: string;
426
- };
427
- };
428
- size: {
429
- sm: {
430
- tr: string;
431
- };
432
- md: {
433
- tr: string;
434
- };
435
- lg: {
436
- tr: string;
437
- };
438
- };
439
- color: {
440
- primary: {
441
- thead: string;
442
- tr: string;
443
- td: string;
444
- expandedTr: string;
445
- };
446
- secondary: {
447
- thead: string;
448
- tr: string;
449
- td: string;
450
- expandedTr: string;
451
- };
452
- neutral: {
453
- thead: string;
454
- tr: string;
455
- td: string;
456
- expandedTr: string;
457
- };
458
- };
459
- isSelected: {
460
- true: {};
461
- };
462
- isSelectedRow: {
463
- true: {};
464
- };
465
- hideHeader: {
466
- true: {
467
- thead: string;
468
- };
469
- };
470
- isCompact: {
471
- true: {
472
- td: string;
473
- };
474
- false: {};
475
- };
476
- isHeaderSticky: {
477
- true: {
478
- thead: string;
479
- };
480
- };
481
- isExpanded: {
482
- true: {
483
- tr: string;
484
- };
485
- };
486
- }, {
487
- variant: {
488
- solid: {
489
- tbody: string;
490
- };
491
- stripe: {
492
- thead: string;
493
- };
494
- line: {
495
- tr: string;
496
- thead: string;
497
- };
498
- };
499
- size: {
500
- sm: {
501
- tr: string;
502
- };
503
- md: {
504
- tr: string;
505
- };
506
- lg: {
507
- tr: string;
508
- };
509
- };
510
- color: {
511
- primary: {
512
- thead: string;
513
- tr: string;
514
- td: string;
515
- expandedTr: string;
516
- };
517
- secondary: {
518
- thead: string;
519
- tr: string;
520
- td: string;
521
- expandedTr: string;
522
- };
523
- neutral: {
524
- thead: string;
525
- tr: string;
526
- td: string;
527
- expandedTr: string;
528
- };
529
- };
530
- isSelected: {
531
- true: {};
532
- };
533
- isSelectedRow: {
534
- true: {};
535
- };
536
- hideHeader: {
537
- true: {
538
- thead: string;
539
- };
540
- };
541
- isCompact: {
542
- true: {
543
- td: string;
544
- };
545
- false: {};
546
- };
547
- isHeaderSticky: {
548
- true: {
549
- thead: string;
550
- };
551
- };
552
- isExpanded: {
553
- true: {
554
- tr: string;
555
- };
556
- };
557
- }>, unknown, unknown, undefined>>;
558
- type TableVariantProps = VariantProps<typeof table>;
559
- type TableSlots = keyof ReturnType<typeof table>;
560
- type TableReturnType = ReturnType<typeof table>;
561
- type RowValue = Record<string | symbol, any>;
562
- type CellParams<R extends RowValue = any, V = any, F = V> = {
563
- id: string | number;
564
- field: string;
565
- value: V | undefined;
566
- formattedValue: F | undefined;
567
- row: TableRow<R>;
568
- };
569
- type ValueFormatterParams<V = any> = {
570
- id?: string | number;
571
- field: string;
572
- value: V;
573
- };
574
- type TableRow<R extends RowValue = RowValue> = R;
575
- type TableColumn<R extends RowValue = RowValue, V = any, F = V> = {
576
- field: string;
577
- headerName?: string | ReactElement;
578
- className?: string;
579
- valueFormatter?: (params: ValueFormatterParams<V>) => F;
580
- renderCell?: (params: CellParams<R, V, F>) => react__default.ReactNode;
581
- };
582
-
583
- export { type TableColumn, type TableRef, type TableReturnType, type TableRow, type TableSlots, type TableVariantProps, Table as default };
@@ -1,2 +0,0 @@
1
-
2
- export { }
@@ -1,5 +0,0 @@
1
- export { default as Tabs, TabsDataType, TabsReturnType, TabsSlots, TabsVariantProps } from './tabs.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 Tabs, TabsDataType, TabsReturnType, TabsSlots, TabsVariantProps } from './tabs.js';
2
- import 'tailwind-variants';
3
- import 'tailwind-variants/dist/config';
4
- import 'react';
5
- import '../../utils/types.js';