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