@deepnoid/ui 0.1.135 → 0.1.137

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-ZHYRFDNF.mjs";
5
- import "../../chunk-MZ76AA76.mjs";
6
- import "../../chunk-6PN3DGOE.mjs";
4
+ } from "../../chunk-3YR6VGGQ.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,14 +19,14 @@ interface TableBaseProps extends Omit<ComponentPropsWithRef<"table">, "ref" | "c
19
19
  }) => void;
20
20
  emptyContent?: ReactNode;
21
21
  isLoading?: boolean;
22
- skeletonRow?: number;
22
+ checkedRows?: TableRow[];
23
23
  onCheckedRowsChange?: (rows: TableRow[]) => void;
24
24
  onRowClick?: (row: TableRow, index: number, event: React.MouseEvent<HTMLTableRowElement>) => void;
25
25
  classNames?: SlotsToClasses<TableSlots>;
26
26
  }
27
27
  interface TableRef {
28
- checkedRows: Set<number>;
29
- setCheckedRows: (rows: Set<number>) => void;
28
+ checkedRowIds: Set<number>;
29
+ setCheckedRowIds: (rows: Set<number>) => void;
30
30
  }
31
31
  declare const Table: react.ForwardRefExoticComponent<TableBaseProps & TableVariantProps & react.RefAttributes<TableRef>>;
32
32
 
@@ -88,6 +88,7 @@ declare const tableStyle: tailwind_variants.TVReturnType<{
88
88
  th: string[];
89
89
  td: string[];
90
90
  empty: string[];
91
+ tbodyLoading: never[];
91
92
  }, undefined, {
92
93
  variant: {
93
94
  solid: {
@@ -146,6 +147,7 @@ declare const tableStyle: tailwind_variants.TVReturnType<{
146
147
  th: string[];
147
148
  td: string[];
148
149
  empty: string[];
150
+ tbodyLoading: never[];
149
151
  }, tailwind_variants.TVReturnType<{
150
152
  variant: {
151
153
  solid: {
@@ -204,6 +206,7 @@ declare const tableStyle: tailwind_variants.TVReturnType<{
204
206
  th: string[];
205
207
  td: string[];
206
208
  empty: string[];
209
+ tbodyLoading: never[];
207
210
  }, undefined, unknown, unknown, undefined>>;
208
211
  declare const getCellStyle: (column: TableColumn) => CSSProperties;
209
212
  type TableVariantProps = VariantProps<typeof tableStyle>;
@@ -19,14 +19,14 @@ interface TableBaseProps extends Omit<ComponentPropsWithRef<"table">, "ref" | "c
19
19
  }) => void;
20
20
  emptyContent?: ReactNode;
21
21
  isLoading?: boolean;
22
- skeletonRow?: number;
22
+ checkedRows?: TableRow[];
23
23
  onCheckedRowsChange?: (rows: TableRow[]) => void;
24
24
  onRowClick?: (row: TableRow, index: number, event: React.MouseEvent<HTMLTableRowElement>) => void;
25
25
  classNames?: SlotsToClasses<TableSlots>;
26
26
  }
27
27
  interface TableRef {
28
- checkedRows: Set<number>;
29
- setCheckedRows: (rows: Set<number>) => void;
28
+ checkedRowIds: Set<number>;
29
+ setCheckedRowIds: (rows: Set<number>) => void;
30
30
  }
31
31
  declare const Table: react.ForwardRefExoticComponent<TableBaseProps & TableVariantProps & react.RefAttributes<TableRef>>;
32
32
 
@@ -88,6 +88,7 @@ declare const tableStyle: tailwind_variants.TVReturnType<{
88
88
  th: string[];
89
89
  td: string[];
90
90
  empty: string[];
91
+ tbodyLoading: never[];
91
92
  }, undefined, {
92
93
  variant: {
93
94
  solid: {
@@ -146,6 +147,7 @@ declare const tableStyle: tailwind_variants.TVReturnType<{
146
147
  th: string[];
147
148
  td: string[];
148
149
  empty: string[];
150
+ tbodyLoading: never[];
149
151
  }, tailwind_variants.TVReturnType<{
150
152
  variant: {
151
153
  solid: {
@@ -204,6 +206,7 @@ declare const tableStyle: tailwind_variants.TVReturnType<{
204
206
  th: string[];
205
207
  td: string[];
206
208
  empty: string[];
209
+ tbodyLoading: never[];
207
210
  }, undefined, unknown, unknown, undefined>>;
208
211
  declare const getCellStyle: (column: TableColumn) => CSSProperties;
209
212
  type TableVariantProps = VariantProps<typeof tableStyle>;