@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.
- package/.turbo/turbo-build.log +176 -176
- package/dist/{chunk-4URRLVNR.mjs → chunk-4JOD47VZ.mjs} +1 -1
- package/dist/{chunk-IUNZZ77V.mjs → chunk-VRSRT4DM.mjs} +22 -39
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/pagination/index.mjs +1 -1
- package/dist/components/pagination/pagination.js +1 -1
- package/dist/components/pagination/pagination.mjs +1 -1
- package/dist/components/table/index.d.mts +1 -1
- package/dist/components/table/index.d.ts +1 -1
- package/dist/components/table/index.js +607 -690
- package/dist/components/table/index.mjs +2 -4
- package/dist/components/table/table-body.d.mts +1 -2
- package/dist/components/table/table-body.d.ts +1 -2
- package/dist/components/table/table-body.js +598 -681
- package/dist/components/table/table-body.mjs +2 -4
- package/dist/components/table/table-head.d.mts +1 -2
- package/dist/components/table/table-head.d.ts +1 -2
- package/dist/components/table/table-head.js +598 -681
- package/dist/components/table/table-head.mjs +2 -4
- package/dist/components/table/table.d.mts +8 -2
- package/dist/components/table/table.d.ts +8 -2
- package/dist/components/table/table.js +598 -681
- package/dist/components/table/table.mjs +2 -4
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +271 -285
- package/dist/index.mjs +24 -24
- package/package.json +1 -1
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
table_head_default
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-MZ76AA76.mjs";
|
|
6
|
-
import "../../chunk-6PN3DGOE.mjs";
|
|
4
|
+
} from "../../chunk-VRSRT4DM.mjs";
|
|
7
5
|
import "../../chunk-7B7LRG5J.mjs";
|
|
8
|
-
import "../../chunk-
|
|
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 };
|