@deepnoid/ui 0.0.84 → 0.0.87

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 (216) hide show
  1. package/dist/{chunk-XTJL67KM.mjs → chunk-2COCX2VX.mjs} +37 -47
  2. package/dist/{chunk-KA4L5SCT.mjs → chunk-4DLTBZUQ.mjs} +1 -1
  3. package/dist/{chunk-RTH3FPAS.mjs → chunk-4SWFYTMR.mjs} +3 -3
  4. package/dist/{chunk-463XE4SI.mjs → chunk-4VIEZ5FT.mjs} +4 -4
  5. package/dist/{chunk-NTTHTGDK.mjs → chunk-FNPWLOGV.mjs} +37 -39
  6. package/dist/{chunk-ILMIS63S.mjs → chunk-H7BLXC5M.mjs} +14 -14
  7. package/dist/{chunk-QURXBWKK.mjs → chunk-IOV7MEPG.mjs} +323 -331
  8. package/dist/{chunk-SQLRQTFC.mjs → chunk-LY6LJRUX.mjs} +1 -1
  9. package/dist/{chunk-EWKYBS7I.mjs → chunk-PHQY5T3E.mjs} +1 -1
  10. package/dist/{chunk-AHORH5PH.mjs → chunk-PRUAIZTU.mjs} +1 -1
  11. package/dist/{chunk-LGELMZCN.mjs → chunk-QIZOXBOY.mjs} +1 -1
  12. package/dist/chunk-QX6VJLEM.mjs +83 -0
  13. package/dist/{chunk-ADDUBJ4I.mjs → chunk-S4DTK5GI.mjs} +1 -1
  14. package/dist/{chunk-QCOPD2HG.mjs → chunk-SFNR4F3J.mjs} +1 -1
  15. package/dist/chunk-ZOTHPHXA.mjs +41 -0
  16. package/dist/components/accordion/accordion.d.mts +154 -0
  17. package/dist/components/accordion/accordion.test.js +37 -39
  18. package/dist/components/accordion/accordion.test.mjs +1 -1
  19. package/dist/components/accordion/accordionItem.d.mts +282 -0
  20. package/dist/components/accordion/accordionItem.js +323 -331
  21. package/dist/components/accordion/accordionItem.mjs +3 -3
  22. package/dist/components/accordion/index.d.mts +6 -0
  23. package/dist/components/accordion/index.js +323 -331
  24. package/dist/components/accordion/index.mjs +3 -3
  25. package/dist/components/button/button-group.d.mts +14 -0
  26. package/dist/components/button/button-group.test.d.mts +2 -0
  27. package/dist/components/button/button-group.test.js +37 -39
  28. package/dist/components/button/button-group.test.mjs +2 -2
  29. package/dist/components/button/button.d.mts +18 -0
  30. package/dist/components/button/button.test.d.mts +2 -0
  31. package/dist/components/button/button.test.js +50 -52
  32. package/dist/components/button/button.test.mjs +2 -2
  33. package/dist/components/button/index.d.mts +3 -0
  34. package/dist/components/card/card.d.mts +124 -0
  35. package/dist/components/card/card.test.d.mts +2 -0
  36. package/dist/components/card/card.test.js +37 -39
  37. package/dist/components/card/card.test.mjs +1 -1
  38. package/dist/components/card/index.d.mts +5 -0
  39. package/dist/components/card/index.d.ts +5 -0
  40. package/dist/components/checkbox/checkbox.d.mts +349 -0
  41. package/dist/components/checkbox/checkbox.test.d.mts +2 -0
  42. package/dist/components/checkbox/checkbox.test.js +37 -39
  43. package/dist/components/checkbox/checkbox.test.mjs +2 -2
  44. package/dist/components/checkbox/index.d.mts +5 -0
  45. package/dist/components/checkbox/index.d.ts +5 -0
  46. package/dist/components/icon/Icon.d.mts +513 -0
  47. package/dist/components/icon/Icon.js +323 -331
  48. package/dist/components/icon/Icon.mjs +2 -2
  49. package/dist/components/icon/index.d.mts +4 -0
  50. package/dist/components/icon/index.d.ts +4 -0
  51. package/dist/components/icon/index.js +323 -331
  52. package/dist/components/icon/index.mjs +2 -2
  53. package/dist/components/icon/template.d.mts +134 -0
  54. package/dist/components/icon/template.js +323 -331
  55. package/dist/components/icon/template.mjs +1 -1
  56. package/dist/components/input/index.d.mts +5 -0
  57. package/dist/components/input/index.d.ts +5 -0
  58. package/dist/components/input/index.js +323 -331
  59. package/dist/components/input/index.mjs +3 -3
  60. package/dist/components/input/input.d.mts +437 -0
  61. package/dist/components/input/input.js +323 -331
  62. package/dist/components/input/input.mjs +3 -3
  63. package/dist/components/input/input.test.d.mts +2 -0
  64. package/dist/components/input/input.test.js +373 -383
  65. package/dist/components/input/input.test.mjs +5 -5
  66. package/dist/components/list/index.d.mts +6 -0
  67. package/dist/components/list/index.mjs +3 -3
  68. package/dist/components/{dropdown/dropdown.d.ts → list/list.d.mts} +9 -9
  69. package/dist/components/list/list.test.d.mts +2 -0
  70. package/dist/components/list/list.test.js +37 -39
  71. package/dist/components/list/list.test.mjs +1 -1
  72. package/dist/components/list/listItem.d.mts +183 -0
  73. package/dist/components/modal/index.d.mts +8 -0
  74. package/dist/components/modal/index.d.ts +8 -0
  75. package/dist/components/modal/index.js +323 -331
  76. package/dist/components/modal/index.mjs +3 -3
  77. package/dist/components/modal/modal.d.mts +214 -0
  78. package/dist/components/modal/modal.js +323 -331
  79. package/dist/components/modal/modal.mjs +3 -3
  80. package/dist/components/modal/modal.test.d.mts +2 -0
  81. package/dist/components/modal/modal.test.js +360 -370
  82. package/dist/components/modal/modal.test.mjs +4 -4
  83. package/dist/components/pagination/index.d.mts +4 -0
  84. package/dist/components/pagination/index.d.ts +4 -0
  85. package/dist/components/pagination/pagination.d.mts +186 -0
  86. package/dist/components/pagination/pagination.test.d.mts +2 -0
  87. package/dist/components/pagination/pagination.test.js +37 -39
  88. package/dist/components/pagination/pagination.test.mjs +1 -1
  89. package/dist/components/pagination/usePagination.d.mts +16 -0
  90. package/dist/components/progress/index.d.mts +5 -0
  91. package/dist/components/progress/index.d.ts +5 -0
  92. package/dist/components/progress/progress.d.mts +281 -0
  93. package/dist/components/progress/progress.test.d.mts +2 -0
  94. package/dist/components/progress/progress.test.d.ts +2 -0
  95. package/dist/components/progress/progress.test.js +37 -39
  96. package/dist/components/progress/progress.test.mjs +1 -1
  97. package/dist/components/radio/index.d.mts +5 -0
  98. package/dist/components/radio/index.d.ts +5 -0
  99. package/dist/components/radio/radio.d.mts +278 -0
  100. package/dist/components/radio/radio.test.d.mts +2 -0
  101. package/dist/components/radio/radio.test.js +37 -39
  102. package/dist/components/radio/radio.test.mjs +1 -1
  103. package/dist/components/select/index.d.mts +5 -0
  104. package/dist/components/select/index.d.ts +5 -0
  105. package/dist/components/select/index.js +323 -331
  106. package/dist/components/select/index.mjs +4 -4
  107. package/dist/components/select/option.d.mts +18 -0
  108. package/dist/components/select/option.js +323 -331
  109. package/dist/components/select/option.mjs +3 -3
  110. package/dist/components/select/select.d.mts +449 -0
  111. package/dist/components/select/select.js +323 -331
  112. package/dist/components/select/select.mjs +4 -4
  113. package/dist/components/select/select.test.d.mts +2 -0
  114. package/dist/components/select/select.test.js +360 -370
  115. package/dist/components/select/select.test.mjs +6 -6
  116. package/dist/components/select/useSelect.d.mts +32 -0
  117. package/dist/components/slider/index.d.mts +5 -0
  118. package/dist/components/slider/index.d.ts +5 -0
  119. package/dist/components/slider/slider.d.mts +333 -0
  120. package/dist/components/slider/slider.test.d.mts +2 -0
  121. package/dist/components/slider/slider.test.d.ts +2 -0
  122. package/dist/components/slider/slider.test.js +37 -39
  123. package/dist/components/slider/slider.test.mjs +1 -1
  124. package/dist/components/switch/index.d.mts +5 -0
  125. package/dist/components/switch/index.d.ts +5 -0
  126. package/dist/components/switch/switch.d.mts +304 -0
  127. package/dist/components/switch/switch.test.d.mts +2 -0
  128. package/dist/components/switch/switch.test.d.ts +2 -0
  129. package/dist/components/switch/switch.test.js +37 -39
  130. package/dist/components/switch/switch.test.mjs +1 -1
  131. package/dist/components/table/index.d.mts +5 -0
  132. package/dist/components/table/index.d.ts +5 -0
  133. package/dist/components/table/index.js +323 -331
  134. package/dist/components/table/index.mjs +4 -4
  135. package/dist/components/table/table-body.d.mts +26 -0
  136. package/dist/components/table/table-body.js +323 -331
  137. package/dist/components/table/table-body.mjs +3 -3
  138. package/dist/components/table/table-head.d.mts +21 -0
  139. package/dist/components/table/table.d.mts +583 -0
  140. package/dist/components/table/table.js +323 -331
  141. package/dist/components/table/table.mjs +4 -4
  142. package/dist/components/table/table.test.d.mts +2 -0
  143. package/dist/components/table/table.test.d.ts +2 -0
  144. package/dist/components/table/table.test.js +360 -370
  145. package/dist/components/table/table.test.mjs +5 -5
  146. package/dist/components/tabs/index.d.mts +5 -0
  147. package/dist/components/tabs/index.d.ts +5 -0
  148. package/dist/components/tabs/tabs.d.mts +241 -0
  149. package/dist/components/tabs/tabs.test.d.mts +2 -0
  150. package/dist/components/tabs/tabs.test.d.ts +2 -0
  151. package/dist/components/tabs/tabs.test.js +37 -39
  152. package/dist/components/tabs/tabs.test.mjs +2 -2
  153. package/dist/components/textarea/index.d.mts +2 -0
  154. package/dist/components/textarea/index.d.ts +2 -0
  155. package/dist/components/textarea/textarea.d.mts +17 -0
  156. package/dist/components/textarea/textarea.test.d.mts +2 -0
  157. package/dist/components/textarea/textarea.test.d.ts +2 -0
  158. package/dist/components/textarea/textarea.test.js +50 -52
  159. package/dist/components/textarea/textarea.test.mjs +2 -2
  160. package/dist/components/toast/index.d.mts +9 -0
  161. package/dist/components/toast/index.d.ts +9 -0
  162. package/dist/components/toast/index.js +474 -458
  163. package/dist/components/toast/index.mjs +12 -7
  164. package/dist/components/toast/toast-utils.d.mts +9 -0
  165. package/dist/components/toast/toast-utils.d.ts +9 -0
  166. package/dist/components/toast/toast-utils.js +25 -45
  167. package/dist/components/toast/toast-utils.mjs +1 -1
  168. package/dist/components/toast/toast.d.mts +208 -0
  169. package/dist/components/toast/toast.d.ts +14 -10
  170. package/dist/components/toast/toast.js +359 -456
  171. package/dist/components/toast/toast.mjs +3 -5
  172. package/dist/components/toast/toast.test.d.mts +2 -0
  173. package/dist/components/toast/toast.test.d.ts +2 -0
  174. package/dist/components/toast/toast.test.js +400 -499
  175. package/dist/components/toast/toast.test.mjs +6 -8
  176. package/dist/components/toast/use-toast.d.mts +31 -0
  177. package/dist/components/toast/use-toast.d.ts +31 -0
  178. package/dist/components/toast/use-toast.js +3822 -0
  179. package/dist/components/toast/use-toast.mjs +17 -0
  180. package/dist/components/tooltip/index.d.mts +6 -0
  181. package/dist/components/tooltip/index.d.ts +6 -0
  182. package/dist/components/tooltip/tooltip-utils.d.mts +2 -0
  183. package/dist/components/tooltip/tooltip-utils.d.ts +2 -0
  184. package/dist/components/tooltip/tooltip.d.mts +143 -0
  185. package/dist/components/tooltip/tooltip.test.d.mts +2 -0
  186. package/dist/components/tooltip/tooltip.test.d.ts +2 -0
  187. package/dist/components/tooltip/tooltip.test.js +37 -39
  188. package/dist/components/tooltip/tooltip.test.mjs +1 -1
  189. package/dist/components/tooltip/useTooltip.d.mts +2 -0
  190. package/dist/components/tooltip/useTooltip.d.ts +2 -0
  191. package/dist/index.d.mts +33 -0
  192. package/dist/index.d.ts +2 -2
  193. package/dist/index.js +576 -511
  194. package/dist/index.mjs +139 -39
  195. package/dist/tooltip-utils-DCKA5gnI.d.mts +30 -0
  196. package/dist/tooltip-utils-DCKA5gnI.d.ts +30 -0
  197. package/dist/utils/clsx.d.mts +3 -0
  198. package/dist/utils/props.d.mts +3 -0
  199. package/dist/utils/tailwind-variants.d.mts +26 -0
  200. package/dist/utils/types.d.mts +10 -0
  201. package/package.json +3 -2
  202. package/dist/chunk-5T5F5WVS.mjs +0 -32
  203. package/dist/chunk-LXPWTJ3F.mjs +0 -58
  204. package/dist/chunk-SDNTEP5C.mjs +0 -61
  205. package/dist/chunk-W7ABNK3K.mjs +0 -1
  206. package/dist/components/dropdown/dropdown.js +0 -122
  207. package/dist/components/dropdown/dropdown.mjs +0 -10
  208. package/dist/components/dropdown/dropdown.test.js +0 -12997
  209. package/dist/components/dropdown/dropdown.test.mjs +0 -25
  210. package/dist/components/dropdown/index.js +0 -128
  211. package/dist/components/dropdown/index.mjs +0 -11
  212. package/dist/components/toast/useToast.d.ts +0 -0
  213. package/dist/components/toast/useToast.js +0 -110
  214. package/dist/components/toast/useToast.mjs +0 -9
  215. /package/dist/{chunk-RDEWIZV3.mjs → chunk-LUWGOKLG.mjs} +0 -0
  216. /package/dist/components/{dropdown/dropdown.test.d.ts → accordion/accordion.test.d.mts} +0 -0
@@ -1,13 +1,13 @@
1
1
  "use client";
2
2
  import {
3
3
  table_body_default
4
- } from "../../chunk-LGELMZCN.mjs";
4
+ } from "../../chunk-QIZOXBOY.mjs";
5
5
  import "../../chunk-QZ3LVYJW.mjs";
6
6
  import "../../chunk-BE2OG6M4.mjs";
7
7
  import "../../chunk-27Y6K5NK.mjs";
8
8
  import "../../chunk-ZYIIXWVY.mjs";
9
- import "../../chunk-AHORH5PH.mjs";
10
- import "../../chunk-QURXBWKK.mjs";
9
+ import "../../chunk-PRUAIZTU.mjs";
10
+ import "../../chunk-IOV7MEPG.mjs";
11
11
  import "../../chunk-E3G5QXSH.mjs";
12
12
  import "../../chunk-J725QONZ.mjs";
13
13
  import "../../chunk-IZ6II3QA.mjs";
@@ -0,0 +1,21 @@
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
+ isExpanded?: boolean;
14
+ isSelected?: boolean;
15
+ isAllSelected: boolean;
16
+ classNames?: SlotsToClasses<TableSlots>;
17
+ onSelectAll: (isSelected: boolean) => void;
18
+ };
19
+ declare const TableHead: ({ columns, slots, size, color, isExpanded, isSelected, isAllSelected, classNames, onSelectAll, }: TableHeadProps) => react_jsx_runtime.JSX.Element;
20
+
21
+ export { TableHead as default };
@@ -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 };