@deepnoid/ui 0.0.84 → 0.0.86

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 (183) hide show
  1. package/dist/{chunk-NTTHTGDK.mjs → chunk-FNPWLOGV.mjs} +37 -39
  2. package/dist/chunk-FRIK4CS7.mjs +83 -0
  3. package/dist/{chunk-ILMIS63S.mjs → chunk-H7BLXC5M.mjs} +14 -14
  4. package/dist/{chunk-XTJL67KM.mjs → chunk-HH2LF2SU.mjs} +32 -46
  5. package/dist/{chunk-ADDUBJ4I.mjs → chunk-S4DTK5GI.mjs} +1 -1
  6. package/dist/chunk-ZOTHPHXA.mjs +41 -0
  7. package/dist/components/accordion/accordion.d.mts +154 -0
  8. package/dist/components/accordion/accordion.test.js +37 -39
  9. package/dist/components/accordion/accordion.test.mjs +1 -1
  10. package/dist/components/accordion/accordionItem.d.mts +282 -0
  11. package/dist/components/accordion/index.d.mts +6 -0
  12. package/dist/components/button/button-group.d.mts +14 -0
  13. package/dist/components/button/button-group.test.d.mts +2 -0
  14. package/dist/components/button/button-group.test.js +37 -39
  15. package/dist/components/button/button-group.test.mjs +2 -2
  16. package/dist/components/button/button.d.mts +18 -0
  17. package/dist/components/button/button.test.d.mts +2 -0
  18. package/dist/components/button/button.test.js +50 -52
  19. package/dist/components/button/button.test.mjs +2 -2
  20. package/dist/components/button/index.d.mts +3 -0
  21. package/dist/components/card/card.d.mts +124 -0
  22. package/dist/components/card/card.test.d.mts +2 -0
  23. package/dist/components/card/card.test.js +37 -39
  24. package/dist/components/card/card.test.mjs +1 -1
  25. package/dist/components/card/index.d.mts +5 -0
  26. package/dist/components/card/index.d.ts +5 -0
  27. package/dist/components/checkbox/checkbox.d.mts +349 -0
  28. package/dist/components/checkbox/checkbox.test.d.mts +2 -0
  29. package/dist/components/checkbox/checkbox.test.js +37 -39
  30. package/dist/components/checkbox/checkbox.test.mjs +2 -2
  31. package/dist/components/checkbox/index.d.mts +5 -0
  32. package/dist/components/checkbox/index.d.ts +5 -0
  33. package/dist/components/icon/Icon.d.mts +513 -0
  34. package/dist/components/icon/index.d.mts +4 -0
  35. package/dist/components/icon/index.d.ts +4 -0
  36. package/dist/components/icon/template.d.mts +134 -0
  37. package/dist/components/input/index.d.mts +5 -0
  38. package/dist/components/input/index.d.ts +5 -0
  39. package/dist/components/input/input.d.mts +437 -0
  40. package/dist/components/input/input.test.d.mts +2 -0
  41. package/dist/components/input/input.test.js +50 -52
  42. package/dist/components/input/input.test.mjs +2 -2
  43. package/dist/components/list/index.d.mts +6 -0
  44. package/dist/components/list/index.mjs +3 -3
  45. package/dist/components/{dropdown/dropdown.d.ts → list/list.d.mts} +9 -9
  46. package/dist/components/list/list.test.d.mts +2 -0
  47. package/dist/components/list/list.test.js +37 -39
  48. package/dist/components/list/list.test.mjs +1 -1
  49. package/dist/components/list/listItem.d.mts +183 -0
  50. package/dist/components/modal/index.d.mts +8 -0
  51. package/dist/components/modal/index.d.ts +8 -0
  52. package/dist/components/modal/modal.d.mts +214 -0
  53. package/dist/components/modal/modal.test.d.mts +2 -0
  54. package/dist/components/modal/modal.test.js +37 -39
  55. package/dist/components/modal/modal.test.mjs +1 -1
  56. package/dist/components/pagination/index.d.mts +4 -0
  57. package/dist/components/pagination/index.d.ts +4 -0
  58. package/dist/components/pagination/pagination.d.mts +186 -0
  59. package/dist/components/pagination/pagination.test.d.mts +2 -0
  60. package/dist/components/pagination/pagination.test.js +37 -39
  61. package/dist/components/pagination/pagination.test.mjs +1 -1
  62. package/dist/components/pagination/usePagination.d.mts +16 -0
  63. package/dist/components/progress/index.d.mts +5 -0
  64. package/dist/components/progress/index.d.ts +5 -0
  65. package/dist/components/progress/progress.d.mts +281 -0
  66. package/dist/components/progress/progress.test.d.mts +2 -0
  67. package/dist/components/progress/progress.test.d.ts +2 -0
  68. package/dist/components/progress/progress.test.js +37 -39
  69. package/dist/components/progress/progress.test.mjs +1 -1
  70. package/dist/components/radio/index.d.mts +5 -0
  71. package/dist/components/radio/index.d.ts +5 -0
  72. package/dist/components/radio/radio.d.mts +278 -0
  73. package/dist/components/radio/radio.test.d.mts +2 -0
  74. package/dist/components/radio/radio.test.js +37 -39
  75. package/dist/components/radio/radio.test.mjs +1 -1
  76. package/dist/components/select/index.d.mts +5 -0
  77. package/dist/components/select/index.d.ts +5 -0
  78. package/dist/components/select/index.mjs +2 -2
  79. package/dist/components/select/option.d.mts +18 -0
  80. package/dist/components/select/select.d.mts +449 -0
  81. package/dist/components/select/select.mjs +2 -2
  82. package/dist/components/select/select.test.d.mts +2 -0
  83. package/dist/components/select/select.test.js +37 -39
  84. package/dist/components/select/select.test.mjs +4 -4
  85. package/dist/components/select/useSelect.d.mts +32 -0
  86. package/dist/components/slider/index.d.mts +5 -0
  87. package/dist/components/slider/index.d.ts +5 -0
  88. package/dist/components/slider/slider.d.mts +333 -0
  89. package/dist/components/slider/slider.test.d.mts +2 -0
  90. package/dist/components/slider/slider.test.d.ts +2 -0
  91. package/dist/components/slider/slider.test.js +37 -39
  92. package/dist/components/slider/slider.test.mjs +1 -1
  93. package/dist/components/switch/index.d.mts +5 -0
  94. package/dist/components/switch/index.d.ts +5 -0
  95. package/dist/components/switch/switch.d.mts +304 -0
  96. package/dist/components/switch/switch.test.d.mts +2 -0
  97. package/dist/components/switch/switch.test.d.ts +2 -0
  98. package/dist/components/switch/switch.test.js +37 -39
  99. package/dist/components/switch/switch.test.mjs +1 -1
  100. package/dist/components/table/index.d.mts +5 -0
  101. package/dist/components/table/index.d.ts +5 -0
  102. package/dist/components/table/index.mjs +2 -2
  103. package/dist/components/table/table-body.d.mts +26 -0
  104. package/dist/components/table/table-head.d.mts +21 -0
  105. package/dist/components/table/table.d.mts +583 -0
  106. package/dist/components/table/table.mjs +2 -2
  107. package/dist/components/table/table.test.d.mts +2 -0
  108. package/dist/components/table/table.test.d.ts +2 -0
  109. package/dist/components/table/table.test.js +37 -39
  110. package/dist/components/table/table.test.mjs +3 -3
  111. package/dist/components/tabs/index.d.mts +5 -0
  112. package/dist/components/tabs/index.d.ts +5 -0
  113. package/dist/components/tabs/tabs.d.mts +241 -0
  114. package/dist/components/tabs/tabs.test.d.mts +2 -0
  115. package/dist/components/tabs/tabs.test.d.ts +2 -0
  116. package/dist/components/tabs/tabs.test.js +37 -39
  117. package/dist/components/tabs/tabs.test.mjs +2 -2
  118. package/dist/components/textarea/index.d.mts +2 -0
  119. package/dist/components/textarea/index.d.ts +2 -0
  120. package/dist/components/textarea/textarea.d.mts +17 -0
  121. package/dist/components/textarea/textarea.test.d.mts +2 -0
  122. package/dist/components/textarea/textarea.test.d.ts +2 -0
  123. package/dist/components/textarea/textarea.test.js +50 -52
  124. package/dist/components/textarea/textarea.test.mjs +2 -2
  125. package/dist/components/toast/index.d.mts +9 -0
  126. package/dist/components/toast/index.d.ts +9 -0
  127. package/dist/components/toast/index.js +147 -127
  128. package/dist/components/toast/index.mjs +10 -5
  129. package/dist/components/toast/toast-utils.d.mts +9 -0
  130. package/dist/components/toast/toast-utils.d.ts +9 -0
  131. package/dist/components/toast/toast-utils.js +25 -45
  132. package/dist/components/toast/toast-utils.mjs +1 -1
  133. package/dist/components/toast/toast.d.mts +207 -0
  134. package/dist/components/toast/toast.d.ts +13 -10
  135. package/dist/components/toast/toast.js +32 -125
  136. package/dist/components/toast/toast.mjs +1 -3
  137. package/dist/components/toast/toast.test.d.mts +2 -0
  138. package/dist/components/toast/toast.test.d.ts +2 -0
  139. package/dist/components/toast/toast.test.js +73 -168
  140. package/dist/components/toast/toast.test.mjs +4 -6
  141. package/dist/components/toast/use-toast.d.mts +31 -0
  142. package/dist/components/toast/use-toast.d.ts +31 -0
  143. package/dist/components/toast/use-toast.js +3826 -0
  144. package/dist/components/toast/use-toast.mjs +17 -0
  145. package/dist/components/tooltip/index.d.mts +6 -0
  146. package/dist/components/tooltip/index.d.ts +6 -0
  147. package/dist/components/tooltip/tooltip-utils.d.mts +2 -0
  148. package/dist/components/tooltip/tooltip-utils.d.ts +2 -0
  149. package/dist/components/tooltip/tooltip.d.mts +143 -0
  150. package/dist/components/tooltip/tooltip.test.d.mts +2 -0
  151. package/dist/components/tooltip/tooltip.test.d.ts +2 -0
  152. package/dist/components/tooltip/tooltip.test.js +37 -39
  153. package/dist/components/tooltip/tooltip.test.mjs +1 -1
  154. package/dist/components/tooltip/useTooltip.d.mts +2 -0
  155. package/dist/components/tooltip/useTooltip.d.ts +2 -0
  156. package/dist/index.d.mts +33 -0
  157. package/dist/index.d.ts +2 -2
  158. package/dist/index.js +249 -180
  159. package/dist/index.mjs +136 -36
  160. package/dist/tooltip-utils-DCKA5gnI.d.mts +30 -0
  161. package/dist/tooltip-utils-DCKA5gnI.d.ts +30 -0
  162. package/dist/utils/clsx.d.mts +3 -0
  163. package/dist/utils/props.d.mts +3 -0
  164. package/dist/utils/tailwind-variants.d.mts +26 -0
  165. package/dist/utils/types.d.mts +10 -0
  166. package/package.json +2 -2
  167. package/dist/chunk-5T5F5WVS.mjs +0 -32
  168. package/dist/chunk-LXPWTJ3F.mjs +0 -58
  169. package/dist/chunk-SDNTEP5C.mjs +0 -61
  170. package/dist/chunk-W7ABNK3K.mjs +0 -1
  171. package/dist/components/dropdown/dropdown.js +0 -122
  172. package/dist/components/dropdown/dropdown.mjs +0 -10
  173. package/dist/components/dropdown/dropdown.test.js +0 -12997
  174. package/dist/components/dropdown/dropdown.test.mjs +0 -25
  175. package/dist/components/dropdown/index.js +0 -128
  176. package/dist/components/dropdown/index.mjs +0 -11
  177. package/dist/components/toast/useToast.d.ts +0 -0
  178. package/dist/components/toast/useToast.js +0 -110
  179. package/dist/components/toast/useToast.mjs +0 -9
  180. package/dist/{chunk-RDEWIZV3.mjs → chunk-LUWGOKLG.mjs} +0 -0
  181. package/dist/{chunk-RTH3FPAS.mjs → chunk-PSXPOYLX.mjs} +3 -3
  182. package/dist/{chunk-463XE4SI.mjs → chunk-RVGOARET.mjs} +3 -3
  183. /package/dist/components/{dropdown/dropdown.test.d.ts → accordion/accordion.test.d.mts} +0 -0
@@ -0,0 +1,583 @@
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,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  table_default
4
- } from "../../chunk-RTH3FPAS.mjs";
5
- import "../../chunk-LGELMZCN.mjs";
4
+ } from "../../chunk-PSXPOYLX.mjs";
6
5
  import "../../chunk-PUFNT5LS.mjs";
6
+ import "../../chunk-LGELMZCN.mjs";
7
7
  import "../../chunk-QZ3LVYJW.mjs";
8
8
  import "../../chunk-BE2OG6M4.mjs";
9
9
  import "../../chunk-27Y6K5NK.mjs";
@@ -0,0 +1,2 @@
1
+
2
+ export { }
@@ -0,0 +1,2 @@
1
+
2
+ export { }