@deepnoid/ui 0.1.137 → 0.1.139

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 (46) hide show
  1. package/.turbo/turbo-build.log +149 -149
  2. package/dist/{chunk-3YR6VGGQ.mjs → chunk-UXVOLQ3I.mjs} +48 -44
  3. package/dist/components/breadcrumb/breadcrumb.mjs +1 -1
  4. package/dist/components/breadcrumb/index.mjs +1 -1
  5. package/dist/components/button/button.mjs +1 -1
  6. package/dist/components/button/icon-button.mjs +1 -1
  7. package/dist/components/button/index.mjs +1 -1
  8. package/dist/components/chip/chip.mjs +1 -1
  9. package/dist/components/chip/index.mjs +1 -1
  10. package/dist/components/fileUpload/fileUpload.mjs +1 -1
  11. package/dist/components/fileUpload/index.mjs +1 -1
  12. package/dist/components/input/index.mjs +1 -1
  13. package/dist/components/input/input.mjs +1 -1
  14. package/dist/components/list/index.mjs +2 -2
  15. package/dist/components/list/listItem.mjs +2 -2
  16. package/dist/components/modal/index.mjs +1 -1
  17. package/dist/components/modal/modal.mjs +1 -1
  18. package/dist/components/pagination/index.mjs +1 -1
  19. package/dist/components/pagination/pagination.mjs +1 -1
  20. package/dist/components/picker/datePicker.mjs +1 -1
  21. package/dist/components/picker/index.mjs +1 -1
  22. package/dist/components/picker/timePicker.mjs +1 -1
  23. package/dist/components/select/index.mjs +1 -1
  24. package/dist/components/select/select.mjs +1 -1
  25. package/dist/components/table/index.d.mts +1 -1
  26. package/dist/components/table/index.d.ts +1 -1
  27. package/dist/components/table/index.js +48 -44
  28. package/dist/components/table/index.mjs +2 -2
  29. package/dist/components/table/table-body.js +48 -44
  30. package/dist/components/table/table-body.mjs +2 -2
  31. package/dist/components/table/table-head.js +48 -44
  32. package/dist/components/table/table-head.mjs +2 -2
  33. package/dist/components/table/table.d.mts +5 -1
  34. package/dist/components/table/table.d.ts +5 -1
  35. package/dist/components/table/table.js +48 -44
  36. package/dist/components/table/table.mjs +2 -2
  37. package/dist/components/timePicker/calendar.mjs +1 -1
  38. package/dist/components/toast/index.mjs +1 -1
  39. package/dist/components/toast/toast.mjs +1 -1
  40. package/dist/components/toast/use-toast.mjs +1 -1
  41. package/dist/index.d.mts +1 -1
  42. package/dist/index.d.ts +1 -1
  43. package/dist/index.js +48 -44
  44. package/dist/index.mjs +15 -15
  45. package/package.json +1 -1
  46. package/dist/{chunk-D6ALZBZ7.mjs → chunk-X77GRWC7.mjs} +3 -3
@@ -6257,49 +6257,52 @@ var Table = (0, import_react5.forwardRef)((originalProps, ref) => {
6257
6257
  [variantProps, onRowClick]
6258
6258
  );
6259
6259
  return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { "data-table": "base", className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
6260
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(scrollArea_default, { direction: "x", size: size === "xl" ? "lg" : size, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
6261
- "table",
6262
- {
6263
- className: slots.table({ class: classNames == null ? void 0 : classNames.table }),
6264
- style: {
6265
- tableLayout: "fixed",
6266
- width: "100%",
6267
- minWidth: `${tableMinWidth}px`
6268
- },
6269
- children: [
6270
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
6271
- table_head_default,
6272
- {
6273
- columns,
6274
- size,
6275
- color,
6276
- rowCheckbox,
6277
- hasCheckedRows: rows.length > 0 && rows.every((row) => checkedRowIds.has(row.id)),
6278
- onCheckAll: handleAllRowCheck,
6279
- classNames,
6280
- slots
6281
- }
6282
- ),
6283
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
6284
- table_body_default,
6285
- {
6286
- slots,
6287
- rows,
6288
- columns,
6289
- size,
6290
- color,
6291
- rowCheckbox,
6292
- checkedRows: checkedRowIds,
6293
- onCheckRow: handleRowCheck,
6294
- onRowClick: handleRowClick,
6295
- isLoading,
6296
- emptyContent,
6297
- classNames
6298
- }
6299
- )
6300
- ]
6301
- }
6302
- ) }),
6260
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(scrollArea_default, { direction: "x", size: size === "xl" ? "lg" : size, children: [
6261
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
6262
+ "table",
6263
+ {
6264
+ className: slots.table({ class: classNames == null ? void 0 : classNames.table }),
6265
+ style: {
6266
+ tableLayout: "fixed",
6267
+ width: "100%",
6268
+ minWidth: `${tableMinWidth}px`
6269
+ },
6270
+ children: [
6271
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
6272
+ table_head_default,
6273
+ {
6274
+ columns,
6275
+ size,
6276
+ color,
6277
+ rowCheckbox,
6278
+ hasCheckedRows: rows.length > 0 && rows.every((row) => checkedRowIds.has(row.id)),
6279
+ onCheckAll: handleAllRowCheck,
6280
+ classNames,
6281
+ slots
6282
+ }
6283
+ ),
6284
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
6285
+ table_body_default,
6286
+ {
6287
+ slots,
6288
+ rows,
6289
+ columns,
6290
+ size,
6291
+ color,
6292
+ rowCheckbox,
6293
+ checkedRows: checkedRowIds,
6294
+ onCheckRow: handleRowCheck,
6295
+ onRowClick: handleRowClick,
6296
+ isLoading,
6297
+ emptyContent,
6298
+ classNames
6299
+ }
6300
+ )
6301
+ ]
6302
+ }
6303
+ ),
6304
+ isLoading && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: slots.overlay({ class: classNames == null ? void 0 : classNames.overlay }) })
6305
+ ] }),
6303
6306
  showPagination && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "flex justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
6304
6307
  pagination_default,
6305
6308
  {
@@ -6354,7 +6357,8 @@ var tableStyle = (0, import_tailwind_variants6.tv)({
6354
6357
  "[&>*]:relative",
6355
6358
  "align-middle"
6356
6359
  ],
6357
- tbodyLoading: []
6360
+ tbodyLoading: [],
6361
+ overlay: []
6358
6362
  },
6359
6363
  variants: {
6360
6364
  variant: {
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  table_head_default
4
- } from "../../chunk-3YR6VGGQ.mjs";
4
+ } from "../../chunk-UXVOLQ3I.mjs";
5
5
  import "../../chunk-7B7LRG5J.mjs";
6
6
  import "../../chunk-4JOD47VZ.mjs";
7
7
  import "../../chunk-F3HENRVM.mjs";
@@ -13,8 +13,8 @@ import "../../chunk-QZ3LVYJW.mjs";
13
13
  import "../../chunk-3U5NJTRH.mjs";
14
14
  import "../../chunk-ZYIIXWVY.mjs";
15
15
  import "../../chunk-TZIL6LDD.mjs";
16
- import "../../chunk-E3G5QXSH.mjs";
17
16
  import "../../chunk-VNT5KKMS.mjs";
17
+ import "../../chunk-E3G5QXSH.mjs";
18
18
  import "../../chunk-76QIZILI.mjs";
19
19
  import "../../chunk-27Y6K5NK.mjs";
20
20
  import "../../chunk-AC6TWLRT.mjs";
@@ -24,6 +24,7 @@ interface TableBaseProps extends Omit<ComponentPropsWithRef<"table">, "ref" | "c
24
24
  onRowClick?: (row: TableRow, index: number, event: React.MouseEvent<HTMLTableRowElement>) => void;
25
25
  classNames?: SlotsToClasses<TableSlots>;
26
26
  }
27
+ type TableProps = TableBaseProps & TableVariantProps;
27
28
  interface TableRef {
28
29
  checkedRowIds: Set<number>;
29
30
  setCheckedRowIds: (rows: Set<number>) => void;
@@ -89,6 +90,7 @@ declare const tableStyle: tailwind_variants.TVReturnType<{
89
90
  td: string[];
90
91
  empty: string[];
91
92
  tbodyLoading: never[];
93
+ overlay: never[];
92
94
  }, undefined, {
93
95
  variant: {
94
96
  solid: {
@@ -148,6 +150,7 @@ declare const tableStyle: tailwind_variants.TVReturnType<{
148
150
  td: string[];
149
151
  empty: string[];
150
152
  tbodyLoading: never[];
153
+ overlay: never[];
151
154
  }, tailwind_variants.TVReturnType<{
152
155
  variant: {
153
156
  solid: {
@@ -207,6 +210,7 @@ declare const tableStyle: tailwind_variants.TVReturnType<{
207
210
  td: string[];
208
211
  empty: string[];
209
212
  tbodyLoading: never[];
213
+ overlay: never[];
210
214
  }, undefined, unknown, unknown, undefined>>;
211
215
  declare const getCellStyle: (column: TableColumn) => CSSProperties;
212
216
  type TableVariantProps = VariantProps<typeof tableStyle>;
@@ -240,4 +244,4 @@ type ValueFormatterParams<V = any> = {
240
244
  value: V;
241
245
  };
242
246
 
243
- export { type TableColumn, type TableRef, type TableReturnType, type TableRow, type TableSlots, type TableVariantProps, Table as default, getCellStyle };
247
+ export { type TableColumn, type TableProps, type TableRef, type TableReturnType, type TableRow, type TableSlots, type TableVariantProps, Table as default, getCellStyle };
@@ -24,6 +24,7 @@ interface TableBaseProps extends Omit<ComponentPropsWithRef<"table">, "ref" | "c
24
24
  onRowClick?: (row: TableRow, index: number, event: React.MouseEvent<HTMLTableRowElement>) => void;
25
25
  classNames?: SlotsToClasses<TableSlots>;
26
26
  }
27
+ type TableProps = TableBaseProps & TableVariantProps;
27
28
  interface TableRef {
28
29
  checkedRowIds: Set<number>;
29
30
  setCheckedRowIds: (rows: Set<number>) => void;
@@ -89,6 +90,7 @@ declare const tableStyle: tailwind_variants.TVReturnType<{
89
90
  td: string[];
90
91
  empty: string[];
91
92
  tbodyLoading: never[];
93
+ overlay: never[];
92
94
  }, undefined, {
93
95
  variant: {
94
96
  solid: {
@@ -148,6 +150,7 @@ declare const tableStyle: tailwind_variants.TVReturnType<{
148
150
  td: string[];
149
151
  empty: string[];
150
152
  tbodyLoading: never[];
153
+ overlay: never[];
151
154
  }, tailwind_variants.TVReturnType<{
152
155
  variant: {
153
156
  solid: {
@@ -207,6 +210,7 @@ declare const tableStyle: tailwind_variants.TVReturnType<{
207
210
  td: string[];
208
211
  empty: string[];
209
212
  tbodyLoading: never[];
213
+ overlay: never[];
210
214
  }, undefined, unknown, unknown, undefined>>;
211
215
  declare const getCellStyle: (column: TableColumn) => CSSProperties;
212
216
  type TableVariantProps = VariantProps<typeof tableStyle>;
@@ -240,4 +244,4 @@ type ValueFormatterParams<V = any> = {
240
244
  value: V;
241
245
  };
242
246
 
243
- export { type TableColumn, type TableRef, type TableReturnType, type TableRow, type TableSlots, type TableVariantProps, Table as default, getCellStyle };
247
+ export { type TableColumn, type TableProps, type TableRef, type TableReturnType, type TableRow, type TableSlots, type TableVariantProps, Table as default, getCellStyle };
@@ -6303,49 +6303,52 @@ var Table = (0, import_react5.forwardRef)((originalProps, ref) => {
6303
6303
  [variantProps, onRowClick]
6304
6304
  );
6305
6305
  return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { "data-table": "base", className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
6306
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(scrollArea_default, { direction: "x", size: size === "xl" ? "lg" : size, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
6307
- "table",
6308
- {
6309
- className: slots.table({ class: classNames == null ? void 0 : classNames.table }),
6310
- style: {
6311
- tableLayout: "fixed",
6312
- width: "100%",
6313
- minWidth: `${tableMinWidth}px`
6314
- },
6315
- children: [
6316
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
6317
- table_head_default,
6318
- {
6319
- columns,
6320
- size,
6321
- color,
6322
- rowCheckbox,
6323
- hasCheckedRows: rows.length > 0 && rows.every((row) => checkedRowIds.has(row.id)),
6324
- onCheckAll: handleAllRowCheck,
6325
- classNames,
6326
- slots
6327
- }
6328
- ),
6329
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
6330
- table_body_default,
6331
- {
6332
- slots,
6333
- rows,
6334
- columns,
6335
- size,
6336
- color,
6337
- rowCheckbox,
6338
- checkedRows: checkedRowIds,
6339
- onCheckRow: handleRowCheck,
6340
- onRowClick: handleRowClick,
6341
- isLoading,
6342
- emptyContent,
6343
- classNames
6344
- }
6345
- )
6346
- ]
6347
- }
6348
- ) }),
6306
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(scrollArea_default, { direction: "x", size: size === "xl" ? "lg" : size, children: [
6307
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
6308
+ "table",
6309
+ {
6310
+ className: slots.table({ class: classNames == null ? void 0 : classNames.table }),
6311
+ style: {
6312
+ tableLayout: "fixed",
6313
+ width: "100%",
6314
+ minWidth: `${tableMinWidth}px`
6315
+ },
6316
+ children: [
6317
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
6318
+ table_head_default,
6319
+ {
6320
+ columns,
6321
+ size,
6322
+ color,
6323
+ rowCheckbox,
6324
+ hasCheckedRows: rows.length > 0 && rows.every((row) => checkedRowIds.has(row.id)),
6325
+ onCheckAll: handleAllRowCheck,
6326
+ classNames,
6327
+ slots
6328
+ }
6329
+ ),
6330
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
6331
+ table_body_default,
6332
+ {
6333
+ slots,
6334
+ rows,
6335
+ columns,
6336
+ size,
6337
+ color,
6338
+ rowCheckbox,
6339
+ checkedRows: checkedRowIds,
6340
+ onCheckRow: handleRowCheck,
6341
+ onRowClick: handleRowClick,
6342
+ isLoading,
6343
+ emptyContent,
6344
+ classNames
6345
+ }
6346
+ )
6347
+ ]
6348
+ }
6349
+ ),
6350
+ isLoading && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: slots.overlay({ class: classNames == null ? void 0 : classNames.overlay }) })
6351
+ ] }),
6349
6352
  showPagination && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "flex justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
6350
6353
  pagination_default,
6351
6354
  {
@@ -6401,7 +6404,8 @@ var tableStyle = (0, import_tailwind_variants6.tv)({
6401
6404
  "[&>*]:relative",
6402
6405
  "align-middle"
6403
6406
  ],
6404
- tbodyLoading: []
6407
+ tbodyLoading: [],
6408
+ overlay: []
6405
6409
  },
6406
6410
  variants: {
6407
6411
  variant: {
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  getCellStyle,
4
4
  table_default
5
- } from "../../chunk-3YR6VGGQ.mjs";
5
+ } from "../../chunk-UXVOLQ3I.mjs";
6
6
  import "../../chunk-7B7LRG5J.mjs";
7
7
  import "../../chunk-4JOD47VZ.mjs";
8
8
  import "../../chunk-F3HENRVM.mjs";
@@ -14,8 +14,8 @@ import "../../chunk-QZ3LVYJW.mjs";
14
14
  import "../../chunk-3U5NJTRH.mjs";
15
15
  import "../../chunk-ZYIIXWVY.mjs";
16
16
  import "../../chunk-TZIL6LDD.mjs";
17
- import "../../chunk-E3G5QXSH.mjs";
18
17
  import "../../chunk-VNT5KKMS.mjs";
18
+ import "../../chunk-E3G5QXSH.mjs";
19
19
  import "../../chunk-76QIZILI.mjs";
20
20
  import "../../chunk-27Y6K5NK.mjs";
21
21
  import "../../chunk-AC6TWLRT.mjs";
@@ -7,10 +7,10 @@ import "../../chunk-ZYIIXWVY.mjs";
7
7
  import {
8
8
  Icon_default
9
9
  } from "../../chunk-TZIL6LDD.mjs";
10
+ import "../../chunk-VNT5KKMS.mjs";
10
11
  import {
11
12
  mapPropsVariants
12
13
  } from "../../chunk-E3G5QXSH.mjs";
13
- import "../../chunk-VNT5KKMS.mjs";
14
14
  import {
15
15
  tv
16
16
  } from "../../chunk-76QIZILI.mjs";
@@ -10,8 +10,8 @@ import {
10
10
  } from "../../chunk-IC3QFXSF.mjs";
11
11
  import "../../chunk-ZYIIXWVY.mjs";
12
12
  import "../../chunk-TZIL6LDD.mjs";
13
- import "../../chunk-E3G5QXSH.mjs";
14
13
  import "../../chunk-VNT5KKMS.mjs";
14
+ import "../../chunk-E3G5QXSH.mjs";
15
15
  import "../../chunk-76QIZILI.mjs";
16
16
  import "../../chunk-27Y6K5NK.mjs";
17
17
  import "../../chunk-AC6TWLRT.mjs";
@@ -4,8 +4,8 @@ import {
4
4
  } from "../../chunk-IC3QFXSF.mjs";
5
5
  import "../../chunk-ZYIIXWVY.mjs";
6
6
  import "../../chunk-TZIL6LDD.mjs";
7
- import "../../chunk-E3G5QXSH.mjs";
8
7
  import "../../chunk-VNT5KKMS.mjs";
8
+ import "../../chunk-E3G5QXSH.mjs";
9
9
  import "../../chunk-76QIZILI.mjs";
10
10
  import "../../chunk-27Y6K5NK.mjs";
11
11
  import "../../chunk-AC6TWLRT.mjs";
@@ -7,8 +7,8 @@ import "../../chunk-ZOTHPHXA.mjs";
7
7
  import "../../chunk-IC3QFXSF.mjs";
8
8
  import "../../chunk-ZYIIXWVY.mjs";
9
9
  import "../../chunk-TZIL6LDD.mjs";
10
- import "../../chunk-E3G5QXSH.mjs";
11
10
  import "../../chunk-VNT5KKMS.mjs";
11
+ import "../../chunk-E3G5QXSH.mjs";
12
12
  import "../../chunk-76QIZILI.mjs";
13
13
  import "../../chunk-27Y6K5NK.mjs";
14
14
  import "../../chunk-AC6TWLRT.mjs";
package/dist/index.d.mts CHANGED
@@ -10,7 +10,7 @@ export { default as ButtonGroup } from './components/button/button-group.mjs';
10
10
  export { default as Input } from './components/input/input.mjs';
11
11
  export { default as Tabs, TabsDataType } from './components/tabs/tabs.mjs';
12
12
  export { default as Textarea } from './components/textarea/textarea.mjs';
13
- export { default as Table, TableColumn, TableRef, TableRow } from './components/table/table.mjs';
13
+ export { default as Table, TableColumn, TableProps, TableRef, TableRow } from './components/table/table.mjs';
14
14
  export { default as DefinitionTable, DefinitionTableRow, DefinitionTableRowCell } from './components/table/definition-table.mjs';
15
15
  export { default as Select, SelectOption, SelectProps } from './components/select/select.mjs';
16
16
  export { default as CheckBox } from './components/checkbox/checkbox.mjs';
package/dist/index.d.ts CHANGED
@@ -10,7 +10,7 @@ export { default as ButtonGroup } from './components/button/button-group.js';
10
10
  export { default as Input } from './components/input/input.js';
11
11
  export { default as Tabs, TabsDataType } from './components/tabs/tabs.js';
12
12
  export { default as Textarea } from './components/textarea/textarea.js';
13
- export { default as Table, TableColumn, TableRef, TableRow } from './components/table/table.js';
13
+ export { default as Table, TableColumn, TableProps, TableRef, TableRow } from './components/table/table.js';
14
14
  export { default as DefinitionTable, DefinitionTableRow, DefinitionTableRowCell } from './components/table/definition-table.js';
15
15
  export { default as Select, SelectOption, SelectProps } from './components/select/select.js';
16
16
  export { default as CheckBox } from './components/checkbox/checkbox.js';
package/dist/index.js CHANGED
@@ -8651,49 +8651,52 @@ var Table = (0, import_react17.forwardRef)((originalProps, ref) => {
8651
8651
  [variantProps, onRowClick]
8652
8652
  );
8653
8653
  return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { "data-table": "base", className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
8654
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(scrollArea_default, { direction: "x", size: size === "xl" ? "lg" : size, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
8655
- "table",
8656
- {
8657
- className: slots.table({ class: classNames == null ? void 0 : classNames.table }),
8658
- style: {
8659
- tableLayout: "fixed",
8660
- width: "100%",
8661
- minWidth: `${tableMinWidth}px`
8662
- },
8663
- children: [
8664
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
8665
- table_head_default,
8666
- {
8667
- columns,
8668
- size,
8669
- color,
8670
- rowCheckbox,
8671
- hasCheckedRows: rows.length > 0 && rows.every((row) => checkedRowIds.has(row.id)),
8672
- onCheckAll: handleAllRowCheck,
8673
- classNames,
8674
- slots
8675
- }
8676
- ),
8677
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
8678
- table_body_default,
8679
- {
8680
- slots,
8681
- rows,
8682
- columns,
8683
- size,
8684
- color,
8685
- rowCheckbox,
8686
- checkedRows: checkedRowIds,
8687
- onCheckRow: handleRowCheck,
8688
- onRowClick: handleRowClick,
8689
- isLoading,
8690
- emptyContent,
8691
- classNames
8692
- }
8693
- )
8694
- ]
8695
- }
8696
- ) }),
8654
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(scrollArea_default, { direction: "x", size: size === "xl" ? "lg" : size, children: [
8655
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
8656
+ "table",
8657
+ {
8658
+ className: slots.table({ class: classNames == null ? void 0 : classNames.table }),
8659
+ style: {
8660
+ tableLayout: "fixed",
8661
+ width: "100%",
8662
+ minWidth: `${tableMinWidth}px`
8663
+ },
8664
+ children: [
8665
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
8666
+ table_head_default,
8667
+ {
8668
+ columns,
8669
+ size,
8670
+ color,
8671
+ rowCheckbox,
8672
+ hasCheckedRows: rows.length > 0 && rows.every((row) => checkedRowIds.has(row.id)),
8673
+ onCheckAll: handleAllRowCheck,
8674
+ classNames,
8675
+ slots
8676
+ }
8677
+ ),
8678
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
8679
+ table_body_default,
8680
+ {
8681
+ slots,
8682
+ rows,
8683
+ columns,
8684
+ size,
8685
+ color,
8686
+ rowCheckbox,
8687
+ checkedRows: checkedRowIds,
8688
+ onCheckRow: handleRowCheck,
8689
+ onRowClick: handleRowClick,
8690
+ isLoading,
8691
+ emptyContent,
8692
+ classNames
8693
+ }
8694
+ )
8695
+ ]
8696
+ }
8697
+ ),
8698
+ isLoading && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: slots.overlay({ class: classNames == null ? void 0 : classNames.overlay }) })
8699
+ ] }),
8697
8700
  showPagination && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "flex justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
8698
8701
  pagination_default,
8699
8702
  {
@@ -8749,7 +8752,8 @@ var tableStyle = (0, import_tailwind_variants17.tv)({
8749
8752
  "[&>*]:relative",
8750
8753
  "align-middle"
8751
8754
  ],
8752
- tbodyLoading: []
8755
+ tbodyLoading: [],
8756
+ overlay: []
8753
8757
  },
8754
8758
  variants: {
8755
8759
  variant: {
package/dist/index.mjs CHANGED
@@ -21,7 +21,7 @@ import "./chunk-WSIADHVC.mjs";
21
21
  import "./chunk-DX3KXNP6.mjs";
22
22
  import {
23
23
  table_default
24
- } from "./chunk-3YR6VGGQ.mjs";
24
+ } from "./chunk-UXVOLQ3I.mjs";
25
25
  import "./chunk-3MY6LO7N.mjs";
26
26
  import {
27
27
  tabs_default
@@ -30,14 +30,14 @@ import "./chunk-RRAZM5D3.mjs";
30
30
  import {
31
31
  textarea_default
32
32
  } from "./chunk-3CRSSRCH.mjs";
33
- import "./chunk-MZ76AA76.mjs";
34
- import {
35
- skeleton_default
36
- } from "./chunk-6PN3DGOE.mjs";
37
33
  import "./chunk-LVFI2NOH.mjs";
38
34
  import {
39
35
  switch_default
40
36
  } from "./chunk-AGE57VDD.mjs";
37
+ import "./chunk-MZ76AA76.mjs";
38
+ import {
39
+ skeleton_default
40
+ } from "./chunk-6PN3DGOE.mjs";
41
41
  import {
42
42
  definition_table_default
43
43
  } from "./chunk-T3BUL253.mjs";
@@ -71,7 +71,7 @@ import {
71
71
  } from "./chunk-P3PXIJTU.mjs";
72
72
  import {
73
73
  listItem_default
74
- } from "./chunk-D6ALZBZ7.mjs";
74
+ } from "./chunk-X77GRWC7.mjs";
75
75
  import "./chunk-DJOG6Z35.mjs";
76
76
  import {
77
77
  modal_default
@@ -117,14 +117,14 @@ import "./chunk-QZ3LVYJW.mjs";
117
117
  import {
118
118
  checkbox_default
119
119
  } from "./chunk-3U5NJTRH.mjs";
120
- import "./chunk-SE5TU755.mjs";
121
- import {
122
- backdrop_default
123
- } from "./chunk-IW2MDZBW.mjs";
124
120
  import "./chunk-KYIODWXL.mjs";
125
121
  import {
126
122
  breadcrumb_default
127
123
  } from "./chunk-5QUOI54M.mjs";
124
+ import "./chunk-SE5TU755.mjs";
125
+ import {
126
+ backdrop_default
127
+ } from "./chunk-IW2MDZBW.mjs";
128
128
  import "./chunk-MY5U63QO.mjs";
129
129
  import {
130
130
  text_button_default
@@ -146,6 +146,11 @@ import {
146
146
  Icon_default,
147
147
  iconTemplate
148
148
  } from "./chunk-TZIL6LDD.mjs";
149
+ import "./chunk-7DLOYKVC.mjs";
150
+ import {
151
+ avatar_default
152
+ } from "./chunk-F4ROD4P5.mjs";
153
+ import "./chunk-VNT5KKMS.mjs";
149
154
  import "./chunk-NMSDSEBD.mjs";
150
155
  import {
151
156
  accordion_default
@@ -154,11 +159,6 @@ import {
154
159
  accordionItem_default
155
160
  } from "./chunk-CVXLLXLE.mjs";
156
161
  import "./chunk-E3G5QXSH.mjs";
157
- import "./chunk-7DLOYKVC.mjs";
158
- import {
159
- avatar_default
160
- } from "./chunk-F4ROD4P5.mjs";
161
- import "./chunk-VNT5KKMS.mjs";
162
162
  import {
163
163
  deepnoidUi,
164
164
  tv
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepnoid/ui",
3
- "version": "0.1.137",
3
+ "version": "0.1.139",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "exports": {
@@ -2,12 +2,12 @@
2
2
  import {
3
3
  Icon_default
4
4
  } from "./chunk-TZIL6LDD.mjs";
5
- import {
6
- mapPropsVariants
7
- } from "./chunk-E3G5QXSH.mjs";
8
5
  import {
9
6
  avatar_default
10
7
  } from "./chunk-F4ROD4P5.mjs";
8
+ import {
9
+ mapPropsVariants
10
+ } from "./chunk-E3G5QXSH.mjs";
11
11
  import {
12
12
  tv
13
13
  } from "./chunk-76QIZILI.mjs";