@deepnoid/ui 0.1.136 → 0.1.138

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.
@@ -1,11 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  table_head_default
4
- } from "../../chunk-IUNZZ77V.mjs";
5
- import "../../chunk-MZ76AA76.mjs";
6
- import "../../chunk-6PN3DGOE.mjs";
4
+ } from "../../chunk-VRSRT4DM.mjs";
7
5
  import "../../chunk-7B7LRG5J.mjs";
8
- import "../../chunk-4URRLVNR.mjs";
6
+ import "../../chunk-4JOD47VZ.mjs";
9
7
  import "../../chunk-F3HENRVM.mjs";
10
8
  import "../../chunk-2GCSFWHD.mjs";
11
9
  import "../../chunk-GL4E6YGW.mjs";
@@ -19,12 +19,12 @@ interface TableBaseProps extends Omit<ComponentPropsWithRef<"table">, "ref" | "c
19
19
  }) => void;
20
20
  emptyContent?: ReactNode;
21
21
  isLoading?: boolean;
22
- skeletonRow?: number;
23
22
  checkedRows?: TableRow[];
24
23
  onCheckedRowsChange?: (rows: TableRow[]) => void;
25
24
  onRowClick?: (row: TableRow, index: number, event: React.MouseEvent<HTMLTableRowElement>) => void;
26
25
  classNames?: SlotsToClasses<TableSlots>;
27
26
  }
27
+ type TableProps = TableBaseProps & TableVariantProps;
28
28
  interface TableRef {
29
29
  checkedRowIds: Set<number>;
30
30
  setCheckedRowIds: (rows: Set<number>) => void;
@@ -89,6 +89,8 @@ declare const tableStyle: tailwind_variants.TVReturnType<{
89
89
  th: string[];
90
90
  td: string[];
91
91
  empty: string[];
92
+ tbodyLoading: never[];
93
+ overlay: never[];
92
94
  }, undefined, {
93
95
  variant: {
94
96
  solid: {
@@ -147,6 +149,8 @@ declare const tableStyle: tailwind_variants.TVReturnType<{
147
149
  th: string[];
148
150
  td: string[];
149
151
  empty: string[];
152
+ tbodyLoading: never[];
153
+ overlay: never[];
150
154
  }, tailwind_variants.TVReturnType<{
151
155
  variant: {
152
156
  solid: {
@@ -205,6 +209,8 @@ declare const tableStyle: tailwind_variants.TVReturnType<{
205
209
  th: string[];
206
210
  td: string[];
207
211
  empty: string[];
212
+ tbodyLoading: never[];
213
+ overlay: never[];
208
214
  }, undefined, unknown, unknown, undefined>>;
209
215
  declare const getCellStyle: (column: TableColumn) => CSSProperties;
210
216
  type TableVariantProps = VariantProps<typeof tableStyle>;
@@ -238,4 +244,4 @@ type ValueFormatterParams<V = any> = {
238
244
  value: V;
239
245
  };
240
246
 
241
- 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 };
@@ -19,12 +19,12 @@ interface TableBaseProps extends Omit<ComponentPropsWithRef<"table">, "ref" | "c
19
19
  }) => void;
20
20
  emptyContent?: ReactNode;
21
21
  isLoading?: boolean;
22
- skeletonRow?: number;
23
22
  checkedRows?: TableRow[];
24
23
  onCheckedRowsChange?: (rows: TableRow[]) => void;
25
24
  onRowClick?: (row: TableRow, index: number, event: React.MouseEvent<HTMLTableRowElement>) => void;
26
25
  classNames?: SlotsToClasses<TableSlots>;
27
26
  }
27
+ type TableProps = TableBaseProps & TableVariantProps;
28
28
  interface TableRef {
29
29
  checkedRowIds: Set<number>;
30
30
  setCheckedRowIds: (rows: Set<number>) => void;
@@ -89,6 +89,8 @@ declare const tableStyle: tailwind_variants.TVReturnType<{
89
89
  th: string[];
90
90
  td: string[];
91
91
  empty: string[];
92
+ tbodyLoading: never[];
93
+ overlay: never[];
92
94
  }, undefined, {
93
95
  variant: {
94
96
  solid: {
@@ -147,6 +149,8 @@ declare const tableStyle: tailwind_variants.TVReturnType<{
147
149
  th: string[];
148
150
  td: string[];
149
151
  empty: string[];
152
+ tbodyLoading: never[];
153
+ overlay: never[];
150
154
  }, tailwind_variants.TVReturnType<{
151
155
  variant: {
152
156
  solid: {
@@ -205,6 +209,8 @@ declare const tableStyle: tailwind_variants.TVReturnType<{
205
209
  th: string[];
206
210
  td: string[];
207
211
  empty: string[];
212
+ tbodyLoading: never[];
213
+ overlay: never[];
208
214
  }, undefined, unknown, unknown, undefined>>;
209
215
  declare const getCellStyle: (column: TableColumn) => CSSProperties;
210
216
  type TableVariantProps = VariantProps<typeof tableStyle>;
@@ -238,4 +244,4 @@ type ValueFormatterParams<V = any> = {
238
244
  value: V;
239
245
  };
240
246
 
241
- 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 };