@deepnoid/ui 0.1.66 → 0.1.68

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 (167) hide show
  1. package/.turbo/turbo-build.log +181 -181
  2. package/dist/{chunk-37HWNOK3.mjs → chunk-337VFHYV.mjs} +3 -3
  3. package/dist/{chunk-RDAADKOZ.mjs → chunk-3WBUF37A.mjs} +4 -4
  4. package/dist/{chunk-OXQZAEOP.mjs → chunk-3YXCBM7H.mjs} +5 -5
  5. package/dist/{chunk-MIQMNEXX.mjs → chunk-4IKNOB5Y.mjs} +2 -2
  6. package/dist/{chunk-YIIFWADW.mjs → chunk-5IESFXPF.mjs} +4 -4
  7. package/dist/{chunk-UHT6GDT2.mjs → chunk-63JDURFU.mjs} +19 -23
  8. package/dist/{chunk-UFVQPPPW.mjs → chunk-B6XJNGQL.mjs} +3 -3
  9. package/dist/{chunk-GJHU6PFC.mjs → chunk-BGLH2JB6.mjs} +2 -2
  10. package/dist/{chunk-LCLEMQ5R.mjs → chunk-BUH3JK3B.mjs} +4 -4
  11. package/dist/{chunk-ZJURCHUU.mjs → chunk-CFB4JWDA.mjs} +4 -4
  12. package/dist/{chunk-KXTA5GBQ.mjs → chunk-EKWUOA5B.mjs} +1 -1
  13. package/dist/{chunk-XODEITY4.mjs → chunk-F5XBEFX5.mjs} +5 -5
  14. package/dist/{chunk-EP66I5EV.mjs → chunk-FMZEP4LD.mjs} +4 -4
  15. package/dist/{chunk-SSMMWMQC.mjs → chunk-FRKIXGG5.mjs} +3 -3
  16. package/dist/{chunk-P5QCU457.mjs → chunk-FZJ5PLRU.mjs} +3 -3
  17. package/dist/{chunk-TMCRSM54.mjs → chunk-HLLRDA4A.mjs} +6 -6
  18. package/dist/{chunk-QEPJICMO.mjs → chunk-I6MFQAQE.mjs} +3 -3
  19. package/dist/{chunk-5UWNYEG4.mjs → chunk-IHERL7SE.mjs} +6 -6
  20. package/dist/{chunk-IL5ENWCR.mjs → chunk-JPFA7PPB.mjs} +3 -3
  21. package/dist/{chunk-ZGPNJQZX.mjs → chunk-KCAGZUYM.mjs} +3 -3
  22. package/dist/{chunk-LZVR2G2W.mjs → chunk-KOZ7WRQU.mjs} +3 -3
  23. package/dist/{chunk-HLPTI3UO.mjs → chunk-LIP5CNY3.mjs} +7 -7
  24. package/dist/{chunk-G4OFX2OO.mjs → chunk-MNGULMJI.mjs} +5 -5
  25. package/dist/{chunk-YLYLDWUR.mjs → chunk-N5BS5LZJ.mjs} +6 -6
  26. package/dist/{chunk-NLDBVRJT.mjs → chunk-NQYWOEB3.mjs} +4 -4
  27. package/dist/{chunk-4SDLHEKS.mjs → chunk-ORXMPU2C.mjs} +3 -3
  28. package/dist/{chunk-2XWRY3U7.mjs → chunk-Q6IUCVAN.mjs} +14 -19
  29. package/dist/{chunk-6XSBM3DG.mjs → chunk-SJTGJ6NC.mjs} +1 -1
  30. package/dist/{chunk-7H5XPHY6.mjs → chunk-SKOCUCE5.mjs} +4 -4
  31. package/dist/{chunk-VGFGIXS6.mjs → chunk-STAE4IPE.mjs} +3 -3
  32. package/dist/{chunk-UCU5ON5M.mjs → chunk-TKB2JL2E.mjs} +1 -1
  33. package/dist/{chunk-ZSEX6SVO.mjs → chunk-TVTIX7MO.mjs} +4 -4
  34. package/dist/{chunk-TVIVXGEN.mjs → chunk-UTWY7OBW.mjs} +1 -1
  35. package/dist/{chunk-4ZJFD3L3.mjs → chunk-XOPCRI7Z.mjs} +9 -1
  36. package/dist/{chunk-SQF2SUJZ.mjs → chunk-YZ7HQHTL.mjs} +584 -3
  37. package/dist/{chunk-YOE2AVC6.mjs → chunk-ZY7MY7KH.mjs} +4 -4
  38. package/dist/components/avatar/avatar.js +593 -4
  39. package/dist/components/avatar/avatar.mjs +3 -3
  40. package/dist/components/avatar/index.js +593 -4
  41. package/dist/components/avatar/index.mjs +3 -3
  42. package/dist/components/backdrop/backdrop.js +9 -1
  43. package/dist/components/backdrop/backdrop.mjs +2 -2
  44. package/dist/components/backdrop/index.js +9 -1
  45. package/dist/components/backdrop/index.mjs +2 -2
  46. package/dist/components/breadcrumb/breadcrumb.js +593 -4
  47. package/dist/components/breadcrumb/breadcrumb.mjs +9 -9
  48. package/dist/components/breadcrumb/index.js +593 -4
  49. package/dist/components/breadcrumb/index.mjs +9 -9
  50. package/dist/components/button/button-group.js +9 -1
  51. package/dist/components/button/button-group.mjs +2 -2
  52. package/dist/components/button/button.js +593 -4
  53. package/dist/components/button/button.mjs +4 -4
  54. package/dist/components/button/icon-button.js +593 -4
  55. package/dist/components/button/icon-button.mjs +4 -4
  56. package/dist/components/button/index.js +593 -4
  57. package/dist/components/button/index.mjs +8 -8
  58. package/dist/components/button/text-button.js +9 -1
  59. package/dist/components/button/text-button.mjs +3 -3
  60. package/dist/components/charts/areaChart.js +9 -1
  61. package/dist/components/charts/areaChart.mjs +2 -2
  62. package/dist/components/charts/barChart.js +9 -1
  63. package/dist/components/charts/barChart.mjs +2 -2
  64. package/dist/components/charts/circularProgress.js +9 -1
  65. package/dist/components/charts/circularProgress.mjs +2 -2
  66. package/dist/components/charts/index.js +9 -1
  67. package/dist/components/charts/index.mjs +6 -6
  68. package/dist/components/checkbox/checkbox.js +9 -1
  69. package/dist/components/checkbox/checkbox.mjs +3 -3
  70. package/dist/components/checkbox/index.js +9 -1
  71. package/dist/components/checkbox/index.mjs +3 -3
  72. package/dist/components/chip/chip.js +593 -4
  73. package/dist/components/chip/chip.mjs +4 -4
  74. package/dist/components/chip/index.js +593 -4
  75. package/dist/components/chip/index.mjs +4 -4
  76. package/dist/components/dateTimePicker/calendar.js +593 -4
  77. package/dist/components/dateTimePicker/calendar.mjs +4 -4
  78. package/dist/components/dateTimePicker/dateTimePicker.js +593 -4
  79. package/dist/components/dateTimePicker/dateTimePicker.mjs +9 -9
  80. package/dist/components/dateTimePicker/index.js +593 -4
  81. package/dist/components/dateTimePicker/index.mjs +9 -9
  82. package/dist/components/dateTimePicker/timePicker.js +593 -4
  83. package/dist/components/dateTimePicker/timePicker.mjs +7 -7
  84. package/dist/components/drawer/drawer.js +9 -1
  85. package/dist/components/drawer/drawer.mjs +3 -3
  86. package/dist/components/drawer/index.js +9 -1
  87. package/dist/components/drawer/index.mjs +3 -3
  88. package/dist/components/fileUpload/fileUpload.js +593 -4
  89. package/dist/components/fileUpload/fileUpload.mjs +10 -10
  90. package/dist/components/fileUpload/index.js +593 -4
  91. package/dist/components/fileUpload/index.mjs +10 -10
  92. package/dist/components/icon/Icon.d.mts +71 -3
  93. package/dist/components/icon/Icon.d.ts +71 -3
  94. package/dist/components/icon/Icon.js +584 -3
  95. package/dist/components/icon/Icon.mjs +2 -2
  96. package/dist/components/icon/index.js +584 -3
  97. package/dist/components/icon/index.mjs +2 -2
  98. package/dist/components/icon/template.d.mts +20 -3
  99. package/dist/components/icon/template.d.ts +20 -3
  100. package/dist/components/icon/template.js +584 -3
  101. package/dist/components/icon/template.mjs +1 -1
  102. package/dist/components/input/index.js +593 -4
  103. package/dist/components/input/index.mjs +5 -5
  104. package/dist/components/input/input.js +593 -4
  105. package/dist/components/input/input.mjs +5 -5
  106. package/dist/components/list/index.js +593 -4
  107. package/dist/components/list/index.mjs +6 -6
  108. package/dist/components/list/list.js +9 -1
  109. package/dist/components/list/list.mjs +2 -2
  110. package/dist/components/list/listItem.js +593 -4
  111. package/dist/components/list/listItem.mjs +5 -5
  112. package/dist/components/modal/index.js +593 -4
  113. package/dist/components/modal/index.mjs +10 -10
  114. package/dist/components/modal/modal.js +593 -4
  115. package/dist/components/modal/modal.mjs +10 -10
  116. package/dist/components/pagination/index.js +593 -4
  117. package/dist/components/pagination/index.mjs +6 -6
  118. package/dist/components/pagination/pagination.js +593 -4
  119. package/dist/components/pagination/pagination.mjs +6 -6
  120. package/dist/components/radio/index.js +9 -1
  121. package/dist/components/radio/index.mjs +3 -3
  122. package/dist/components/radio/radio.js +9 -1
  123. package/dist/components/radio/radio.mjs +3 -3
  124. package/dist/components/select/index.js +593 -4
  125. package/dist/components/select/index.mjs +5 -5
  126. package/dist/components/select/select.js +593 -4
  127. package/dist/components/select/select.mjs +5 -5
  128. package/dist/components/table/definition-table.js +9 -1
  129. package/dist/components/table/definition-table.mjs +2 -2
  130. package/dist/components/table/form-table.js +9 -1
  131. package/dist/components/table/form-table.mjs +1 -1
  132. package/dist/components/table/index.js +619 -38
  133. package/dist/components/table/index.mjs +11 -11
  134. package/dist/components/table/table-body.js +27 -23
  135. package/dist/components/table/table-body.mjs +4 -4
  136. package/dist/components/table/table-head.js +9 -1
  137. package/dist/components/table/table-head.mjs +4 -4
  138. package/dist/components/table/table.d.mts +12 -12
  139. package/dist/components/table/table.d.ts +12 -12
  140. package/dist/components/table/table.js +619 -38
  141. package/dist/components/table/table.mjs +10 -10
  142. package/dist/components/tabs/index.js +9 -1
  143. package/dist/components/tabs/index.mjs +2 -2
  144. package/dist/components/tabs/tabs.js +9 -1
  145. package/dist/components/tabs/tabs.mjs +2 -2
  146. package/dist/components/textarea/index.mjs +2 -2
  147. package/dist/components/textarea/textarea.mjs +2 -2
  148. package/dist/components/toast/index.js +593 -4
  149. package/dist/components/toast/index.mjs +6 -6
  150. package/dist/components/toast/toast.js +593 -4
  151. package/dist/components/toast/toast.mjs +5 -5
  152. package/dist/components/toast/use-toast.js +593 -4
  153. package/dist/components/toast/use-toast.mjs +6 -6
  154. package/dist/components/tooltip/index.js +9 -1
  155. package/dist/components/tooltip/index.mjs +2 -2
  156. package/dist/components/tooltip/tooltip.js +9 -1
  157. package/dist/components/tooltip/tooltip.mjs +2 -2
  158. package/dist/components/tree/index.js +593 -4
  159. package/dist/components/tree/index.mjs +4 -4
  160. package/dist/components/tree/tree.js +593 -4
  161. package/dist/components/tree/tree.mjs +4 -4
  162. package/dist/index.js +619 -38
  163. package/dist/index.mjs +48 -48
  164. package/dist/utils/tailwind-variants.js +9 -1
  165. package/dist/utils/tailwind-variants.mjs +1 -1
  166. package/package.json +1 -1
  167. package/dist/{chunk-6Q2BXHJL.mjs → chunk-4EIGHKUO.mjs} +3 -3
@@ -2,29 +2,29 @@
2
2
  import "../../chunk-DX3KXNP6.mjs";
3
3
  import {
4
4
  definition_table_default
5
- } from "../../chunk-ZGPNJQZX.mjs";
5
+ } from "../../chunk-KCAGZUYM.mjs";
6
6
  import {
7
7
  table_default
8
- } from "../../chunk-2XWRY3U7.mjs";
9
- import "../../chunk-UHT6GDT2.mjs";
10
- import "../../chunk-UCU5ON5M.mjs";
8
+ } from "../../chunk-Q6IUCVAN.mjs";
9
+ import "../../chunk-63JDURFU.mjs";
10
+ import "../../chunk-TKB2JL2E.mjs";
11
11
  import "../../chunk-DQRAFUDA.mjs";
12
12
  import "../../chunk-M37VBNB3.mjs";
13
13
  import "../../chunk-MZ76AA76.mjs";
14
14
  import "../../chunk-6PN3DGOE.mjs";
15
15
  import "../../chunk-7B7LRG5J.mjs";
16
- import "../../chunk-TMCRSM54.mjs";
16
+ import "../../chunk-HLLRDA4A.mjs";
17
17
  import "../../chunk-F3HENRVM.mjs";
18
18
  import "../../chunk-2GCSFWHD.mjs";
19
- import "../../chunk-G4OFX2OO.mjs";
19
+ import "../../chunk-MNGULMJI.mjs";
20
20
  import "../../chunk-QZ3LVYJW.mjs";
21
- import "../../chunk-7H5XPHY6.mjs";
21
+ import "../../chunk-SKOCUCE5.mjs";
22
22
  import "../../chunk-ZYIIXWVY.mjs";
23
- import "../../chunk-TVIVXGEN.mjs";
24
- import "../../chunk-E3G5QXSH.mjs";
23
+ import "../../chunk-UTWY7OBW.mjs";
24
+ import "../../chunk-YZ7HQHTL.mjs";
25
+ import "../../chunk-XOPCRI7Z.mjs";
25
26
  import "../../chunk-27Y6K5NK.mjs";
26
- import "../../chunk-SQF2SUJZ.mjs";
27
- import "../../chunk-4ZJFD3L3.mjs";
27
+ import "../../chunk-E3G5QXSH.mjs";
28
28
  import "../../chunk-AC6TWLRT.mjs";
29
29
  export {
30
30
  definition_table_default as DefinitionTable,
@@ -328,7 +328,15 @@ var boxShadow = {
328
328
  "border-9": "inner 0 0 0 9px inset",
329
329
  "border-10": "inner 0 0 0 10px inset",
330
330
  inner: "inset 0 4px 8px 0 rgba(36, 39, 44, 0.2)",
331
- drop: "0 20px 40px 0 rgba(36, 39, 44, 0.2)"
331
+ "inner-sm": "inset 0 4px 8px 0 rgba(0, 0, 0, 0.2)",
332
+ "inner-md": "inset 0 6px 12px 0 rgba(0, 0, 0, 0.2)",
333
+ "inner-lg": "inset 0 8px 16px 0 rgba(0, 0, 0, 0.2)",
334
+ "inner-xl": "inset 0 10px 20px 0 rgba(0, 0, 0, 0.2)",
335
+ drop: "0 20px 40px 0 rgba(36, 39, 44, 0.2)",
336
+ "drop-sm": "0 4px 12px 0 rgba(0, 0, 0, 0.1)",
337
+ "drop-md": "0 6px 18px 0 rgba(0, 0, 0, 0.1)",
338
+ "drop-lg": "0 8px 24px 0 rgba(0, 0, 0, 0.1)",
339
+ "drop-xl": "0 10px 30px 0 rgba(0, 0, 0, 0.1)"
332
340
  };
333
341
 
334
342
  // ../tailwind-config/src/border/radius.ts
@@ -672,7 +680,6 @@ var TableBody = ({
672
680
  rowCheckbox = false,
673
681
  checkedRows,
674
682
  onCheckRow,
675
- // onRowClick,
676
683
  isLoading = false,
677
684
  emptyContent,
678
685
  skeletonRow,
@@ -700,27 +707,24 @@ var TableBody = ({
700
707
  rowCheckbox && renderTdSkeleton(`skeleton-checkbox-${rowIndex}`)
701
708
  ] }, `skeleton-${rowIndex}`);
702
709
  const renderEmptyRow = () => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("tr", { className: slots.tr({ class: classNames == null ? void 0 : classNames.tr }), children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("td", { colSpan: columns.length + (rowCheckbox ? 1 : 0), className: slots.empty({ class: classNames == null ? void 0 : classNames.empty }), children: emptyContent }) });
703
- const renderDataRow = (row, rowIndex) => (
704
- // <tr key={rowIndex} className={slots.tr({ class: classNames?.tr })} onClick={() => onRowClick?.(row)}>
705
- /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("tr", { className: slots.tr({ class: classNames == null ? void 0 : classNames.tr }), children: [
706
- columns.map((column, colIdx) => {
707
- var _a;
708
- const value = row[column.field];
709
- const formattedValue = ((_a = column.valueFormatter) == null ? void 0 : _a.call(column, { value, field: column.field })) || value;
710
- const content = column.renderCell ? column.renderCell({ id: row.id, field: column.field, value, formattedValue, row }) : formattedValue;
711
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
712
- "td",
713
- {
714
- className: clsx(slots.td({ class: classNames == null ? void 0 : classNames.td }), column.className),
715
- style: getCellStyle(column),
716
- children: content
717
- },
718
- `${rowIndex}-${colIdx}`
719
- );
720
- }),
721
- rowCheckbox && renderCheckboxCell(rowIndex)
722
- ] }, rowIndex)
723
- );
710
+ const renderDataRow = (row, rowIndex) => /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("tr", { className: slots.tr({ class: classNames == null ? void 0 : classNames.tr }), children: [
711
+ columns.map((column, colIdx) => {
712
+ var _a;
713
+ const value = row[column.field];
714
+ const formattedValue = ((_a = column.valueFormatter) == null ? void 0 : _a.call(column, { value, field: column.field })) || value;
715
+ const content = column.renderCell ? column.renderCell({ id: row.id, field: column.field, value, formattedValue, row }) : formattedValue;
716
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
717
+ "td",
718
+ {
719
+ className: clsx(slots.td({ class: classNames == null ? void 0 : classNames.td }), column.className),
720
+ style: getCellStyle(column),
721
+ children: content
722
+ },
723
+ `${rowIndex}-${colIdx}`
724
+ );
725
+ }),
726
+ rowCheckbox && renderCheckboxCell(rowIndex)
727
+ ] }, rowIndex);
724
728
  const renderRows = () => {
725
729
  if (isLoading) return skeletonRow ? Array.from({ length: skeletonRow }, (_, idx) => renderSkeletonRow(idx)) : /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, {});
726
730
  if (!rows.length && emptyContent) return renderEmptyRow();
@@ -1,14 +1,14 @@
1
1
  "use client";
2
2
  import {
3
3
  table_body_default
4
- } from "../../chunk-UHT6GDT2.mjs";
4
+ } from "../../chunk-63JDURFU.mjs";
5
5
  import "../../chunk-MZ76AA76.mjs";
6
6
  import "../../chunk-6PN3DGOE.mjs";
7
7
  import "../../chunk-QZ3LVYJW.mjs";
8
- import "../../chunk-7H5XPHY6.mjs";
9
- import "../../chunk-E3G5QXSH.mjs";
8
+ import "../../chunk-SKOCUCE5.mjs";
9
+ import "../../chunk-XOPCRI7Z.mjs";
10
10
  import "../../chunk-27Y6K5NK.mjs";
11
- import "../../chunk-4ZJFD3L3.mjs";
11
+ import "../../chunk-E3G5QXSH.mjs";
12
12
  import "../../chunk-AC6TWLRT.mjs";
13
13
  export {
14
14
  table_body_default as default
@@ -328,7 +328,15 @@ var boxShadow = {
328
328
  "border-9": "inner 0 0 0 9px inset",
329
329
  "border-10": "inner 0 0 0 10px inset",
330
330
  inner: "inset 0 4px 8px 0 rgba(36, 39, 44, 0.2)",
331
- drop: "0 20px 40px 0 rgba(36, 39, 44, 0.2)"
331
+ "inner-sm": "inset 0 4px 8px 0 rgba(0, 0, 0, 0.2)",
332
+ "inner-md": "inset 0 6px 12px 0 rgba(0, 0, 0, 0.2)",
333
+ "inner-lg": "inset 0 8px 16px 0 rgba(0, 0, 0, 0.2)",
334
+ "inner-xl": "inset 0 10px 20px 0 rgba(0, 0, 0, 0.2)",
335
+ drop: "0 20px 40px 0 rgba(36, 39, 44, 0.2)",
336
+ "drop-sm": "0 4px 12px 0 rgba(0, 0, 0, 0.1)",
337
+ "drop-md": "0 6px 18px 0 rgba(0, 0, 0, 0.1)",
338
+ "drop-lg": "0 8px 24px 0 rgba(0, 0, 0, 0.1)",
339
+ "drop-xl": "0 10px 30px 0 rgba(0, 0, 0, 0.1)"
332
340
  };
333
341
 
334
342
  // ../tailwind-config/src/border/radius.ts
@@ -1,14 +1,14 @@
1
1
  "use client";
2
2
  import {
3
3
  table_head_default
4
- } from "../../chunk-UCU5ON5M.mjs";
4
+ } from "../../chunk-TKB2JL2E.mjs";
5
5
  import "../../chunk-MZ76AA76.mjs";
6
6
  import "../../chunk-6PN3DGOE.mjs";
7
7
  import "../../chunk-QZ3LVYJW.mjs";
8
- import "../../chunk-7H5XPHY6.mjs";
9
- import "../../chunk-E3G5QXSH.mjs";
8
+ import "../../chunk-SKOCUCE5.mjs";
9
+ import "../../chunk-XOPCRI7Z.mjs";
10
10
  import "../../chunk-27Y6K5NK.mjs";
11
- import "../../chunk-4ZJFD3L3.mjs";
11
+ import "../../chunk-E3G5QXSH.mjs";
12
12
  import "../../chunk-AC6TWLRT.mjs";
13
13
  export {
14
14
  table_head_default as default
@@ -193,18 +193,6 @@ type TableVariantProps = VariantProps<typeof tableStyle>;
193
193
  type TableSlots = keyof ReturnType<typeof tableStyle>;
194
194
  type TableReturnType = ReturnType<typeof tableStyle>;
195
195
  type RowValue = Record<string | symbol, any>;
196
- type CellParams<R extends RowValue = any, V = any, F = V> = {
197
- id: string | number;
198
- field: string;
199
- value: V | undefined;
200
- formattedValue: F | undefined;
201
- row: TableRow<R>;
202
- };
203
- type ValueFormatterParams<V = any> = {
204
- id?: string | number;
205
- field: string;
206
- value: V;
207
- };
208
196
  type TableRow<R extends RowValue = RowValue> = R;
209
197
  type Align = "center" | "left" | "right";
210
198
  type TableColumn<R extends RowValue = RowValue, V = any, F = V> = {
@@ -219,5 +207,17 @@ type TableColumn<R extends RowValue = RowValue, V = any, F = V> = {
219
207
  renderCell?: (params: CellParams<R, V, F>) => ReactNode;
220
208
  valueFormatter?: (params: ValueFormatterParams<V>) => F;
221
209
  };
210
+ type CellParams<R extends RowValue = any, V = any, F = V> = {
211
+ id: string | number;
212
+ field: string;
213
+ value: V | undefined;
214
+ formattedValue: F | undefined;
215
+ row: TableRow<R>;
216
+ };
217
+ type ValueFormatterParams<V = any> = {
218
+ id?: string | number;
219
+ field: string;
220
+ value: V;
221
+ };
222
222
 
223
223
  export { type TableColumn, type TableRef, type TableReturnType, type TableRow, type TableSlots, type TableVariantProps, Table as default };
@@ -193,18 +193,6 @@ type TableVariantProps = VariantProps<typeof tableStyle>;
193
193
  type TableSlots = keyof ReturnType<typeof tableStyle>;
194
194
  type TableReturnType = ReturnType<typeof tableStyle>;
195
195
  type RowValue = Record<string | symbol, any>;
196
- type CellParams<R extends RowValue = any, V = any, F = V> = {
197
- id: string | number;
198
- field: string;
199
- value: V | undefined;
200
- formattedValue: F | undefined;
201
- row: TableRow<R>;
202
- };
203
- type ValueFormatterParams<V = any> = {
204
- id?: string | number;
205
- field: string;
206
- value: V;
207
- };
208
196
  type TableRow<R extends RowValue = RowValue> = R;
209
197
  type Align = "center" | "left" | "right";
210
198
  type TableColumn<R extends RowValue = RowValue, V = any, F = V> = {
@@ -219,5 +207,17 @@ type TableColumn<R extends RowValue = RowValue, V = any, F = V> = {
219
207
  renderCell?: (params: CellParams<R, V, F>) => ReactNode;
220
208
  valueFormatter?: (params: ValueFormatterParams<V>) => F;
221
209
  };
210
+ type CellParams<R extends RowValue = any, V = any, F = V> = {
211
+ id: string | number;
212
+ field: string;
213
+ value: V | undefined;
214
+ formattedValue: F | undefined;
215
+ row: TableRow<R>;
216
+ };
217
+ type ValueFormatterParams<V = any> = {
218
+ id?: string | number;
219
+ field: string;
220
+ value: V;
221
+ };
222
222
 
223
223
  export { type TableColumn, type TableRef, type TableReturnType, type TableRow, type TableSlots, type TableVariantProps, Table as default };