@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.
- package/.turbo/turbo-build.log +147 -147
- package/dist/{chunk-ZHYRFDNF.mjs → chunk-3YR6VGGQ.mjs} +33 -51
- package/dist/{chunk-4URRLVNR.mjs → chunk-4JOD47VZ.mjs} +1 -1
- 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.js +618 -702
- 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 +609 -693
- 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 +609 -693
- package/dist/components/table/table-head.mjs +2 -4
- package/dist/components/table/table.d.mts +6 -3
- package/dist/components/table/table.d.ts +6 -3
- package/dist/components/table/table.js +609 -693
- package/dist/components/table/table.mjs +2 -4
- package/dist/index.js +282 -297
- package/dist/index.mjs +2 -2
- 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-3YR6VGGQ.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,14 +19,14 @@ interface TableBaseProps extends Omit<ComponentPropsWithRef<"table">, "ref" | "c
|
|
|
19
19
|
}) => void;
|
|
20
20
|
emptyContent?: ReactNode;
|
|
21
21
|
isLoading?: boolean;
|
|
22
|
-
|
|
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
|
-
|
|
29
|
-
|
|
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
|
-
|
|
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
|
-
|
|
29
|
-
|
|
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>;
|