@deepnoid/ui 0.0.80 → 0.0.84
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/dist/{chunk-KWOLWE6I.mjs → chunk-463XE4SI.mjs} +4 -4
- package/dist/chunk-5T5F5WVS.mjs +32 -0
- package/dist/{chunk-S4DTK5GI.mjs → chunk-ADDUBJ4I.mjs} +1 -1
- package/dist/{chunk-GJKNTX2T.mjs → chunk-AHORH5PH.mjs} +6 -4
- package/dist/{chunk-7LYJAJIS.mjs → chunk-EWKYBS7I.mjs} +13 -6
- package/dist/{chunk-H7BLXC5M.mjs → chunk-ILMIS63S.mjs} +14 -14
- package/dist/{chunk-H737LHAY.mjs → chunk-KA4L5SCT.mjs} +8 -8
- package/dist/{chunk-DLVQWKQG.mjs → chunk-LGELMZCN.mjs} +24 -19
- package/dist/chunk-LXPWTJ3F.mjs +58 -0
- package/dist/{chunk-FNPWLOGV.mjs → chunk-NTTHTGDK.mjs} +39 -37
- package/dist/{chunk-G3CX6IWH.mjs → chunk-PUFNT5LS.mjs} +18 -6
- package/dist/{chunk-WIKB37T7.mjs → chunk-QCOPD2HG.mjs} +1 -1
- package/dist/{chunk-TLYAFXE2.mjs → chunk-QURXBWKK.mjs} +1902 -746
- package/dist/{chunk-TDMXAHWR.mjs → chunk-RTH3FPAS.mjs} +32 -6
- package/dist/chunk-SDNTEP5C.mjs +61 -0
- package/dist/{chunk-FLJ4ZZXV.mjs → chunk-SQLRQTFC.mjs} +1 -1
- package/dist/chunk-W7ABNK3K.mjs +1 -0
- package/dist/chunk-XTJL67KM.mjs +127 -0
- package/dist/chunk-ZYIIXWVY.mjs +1 -0
- package/dist/components/accordion/accordion.test.js +39 -37
- package/dist/components/accordion/accordion.test.mjs +1 -1
- package/dist/components/accordion/accordionItem.js +1905 -749
- package/dist/components/accordion/accordionItem.mjs +4 -4
- package/dist/components/accordion/index.js +1905 -749
- package/dist/components/accordion/index.mjs +4 -4
- package/dist/components/button/button-group.test.js +39 -37
- package/dist/components/button/button-group.test.mjs +2 -2
- package/dist/components/button/button.test.js +52 -50
- package/dist/components/button/button.test.mjs +2 -2
- package/dist/components/card/card.test.js +39 -37
- package/dist/components/card/card.test.mjs +1 -1
- package/dist/components/checkbox/checkbox.test.js +39 -37
- package/dist/components/checkbox/checkbox.test.mjs +2 -2
- package/dist/components/{list/list.d.mts → dropdown/dropdown.d.ts} +9 -9
- package/dist/components/dropdown/dropdown.js +122 -0
- package/dist/components/dropdown/dropdown.mjs +10 -0
- package/dist/components/dropdown/dropdown.test.js +12997 -0
- package/dist/components/dropdown/dropdown.test.mjs +25 -0
- package/dist/components/dropdown/index.js +128 -0
- package/dist/components/dropdown/index.mjs +11 -0
- package/dist/components/icon/Icon.d.ts +499 -1
- package/dist/components/icon/Icon.js +1940 -778
- package/dist/components/icon/Icon.mjs +6 -4
- package/dist/components/icon/index.js +1910 -751
- package/dist/components/icon/index.mjs +7 -5
- package/dist/components/icon/template.d.ts +98 -61
- package/dist/components/icon/template.js +1902 -746
- package/dist/components/icon/template.mjs +1 -1
- package/dist/components/input/index.js +1912 -756
- package/dist/components/input/index.mjs +4 -4
- package/dist/components/input/input.js +1912 -756
- package/dist/components/input/input.mjs +4 -4
- package/dist/components/input/input.test.js +1983 -825
- package/dist/components/input/input.test.mjs +6 -6
- package/dist/components/list/index.mjs +3 -3
- package/dist/components/list/list.test.js +39 -37
- package/dist/components/list/list.test.mjs +1 -1
- package/dist/components/modal/index.js +1942 -779
- package/dist/components/modal/index.mjs +3 -3
- package/dist/components/modal/modal.js +1942 -779
- package/dist/components/modal/modal.mjs +3 -3
- package/dist/components/modal/modal.test.js +1981 -816
- package/dist/components/modal/modal.test.mjs +4 -4
- package/dist/components/pagination/pagination.test.js +39 -37
- package/dist/components/pagination/pagination.test.mjs +1 -1
- package/dist/components/progress/progress.test.d.ts +0 -2
- package/dist/components/progress/progress.test.js +39 -37
- package/dist/components/progress/progress.test.mjs +1 -1
- package/dist/components/radio/radio.test.js +39 -37
- package/dist/components/radio/radio.test.mjs +1 -1
- package/dist/components/select/index.js +1905 -749
- package/dist/components/select/index.mjs +5 -5
- package/dist/components/select/option.js +1905 -749
- package/dist/components/select/option.mjs +4 -4
- package/dist/components/select/select.js +1905 -749
- package/dist/components/select/select.mjs +5 -5
- package/dist/components/select/select.test.js +1951 -793
- package/dist/components/select/select.test.mjs +7 -7
- package/dist/components/slider/slider.test.d.ts +0 -2
- package/dist/components/slider/slider.test.js +39 -37
- package/dist/components/slider/slider.test.mjs +1 -1
- package/dist/components/switch/switch.test.d.ts +0 -2
- package/dist/components/switch/switch.test.js +39 -37
- package/dist/components/switch/switch.test.mjs +1 -1
- package/dist/components/table/index.js +1985 -786
- package/dist/components/table/index.mjs +6 -6
- package/dist/components/table/table-body.d.ts +5 -2
- package/dist/components/table/table-body.js +1953 -792
- package/dist/components/table/table-body.mjs +4 -4
- package/dist/components/table/table-head.d.ts +4 -2
- package/dist/components/table/table-head.js +18 -6
- package/dist/components/table/table-head.mjs +1 -1
- package/dist/components/table/table.d.ts +32 -59
- package/dist/components/table/table.js +1985 -786
- package/dist/components/table/table.mjs +6 -6
- package/dist/components/table/table.test.d.ts +0 -2
- package/dist/components/table/table.test.js +2020 -819
- package/dist/components/table/table.test.mjs +7 -7
- package/dist/components/tabs/tabs.test.d.ts +0 -2
- package/dist/components/tabs/tabs.test.js +39 -37
- package/dist/components/tabs/tabs.test.mjs +2 -2
- package/dist/components/textarea/textarea.test.d.ts +0 -2
- package/dist/components/textarea/textarea.test.js +52 -50
- package/dist/components/textarea/textarea.test.mjs +2 -2
- package/dist/components/toast/index.js +3810 -0
- package/dist/components/toast/index.mjs +16 -0
- package/dist/components/toast/toast-utils.js +84 -0
- package/dist/components/toast/toast-utils.mjs +8 -0
- package/dist/components/toast/toast.d.ts +204 -0
- package/dist/components/toast/toast.js +3804 -0
- package/dist/components/toast/toast.mjs +15 -0
- package/dist/components/toast/toast.test.d.ts +0 -0
- package/dist/components/toast/toast.test.js +16689 -0
- package/dist/components/toast/toast.test.mjs +30 -0
- package/dist/components/toast/useToast.d.ts +0 -0
- package/dist/components/toast/useToast.js +110 -0
- package/dist/components/toast/useToast.mjs +9 -0
- package/dist/components/tooltip/tooltip-utils.d.ts +0 -2
- package/dist/components/tooltip/tooltip.test.d.ts +0 -2
- package/dist/components/tooltip/tooltip.test.js +39 -37
- package/dist/components/tooltip/tooltip.test.mjs +1 -1
- package/dist/components/tooltip/useTooltip.d.ts +0 -2
- package/dist/index.d.ts +4 -1
- package/dist/index.js +2247 -793
- package/dist/index.mjs +42 -28
- package/package.json +4 -3
- package/dist/components/accordion/accordion.d.mts +0 -154
- package/dist/components/accordion/accordionItem.d.mts +0 -282
- package/dist/components/accordion/index.d.mts +0 -6
- package/dist/components/button/button-group.d.mts +0 -14
- package/dist/components/button/button-group.test.d.mts +0 -2
- package/dist/components/button/button.d.mts +0 -18
- package/dist/components/button/button.test.d.mts +0 -2
- package/dist/components/button/index.d.mts +0 -3
- package/dist/components/card/card.d.mts +0 -124
- package/dist/components/card/card.test.d.mts +0 -2
- package/dist/components/card/index.d.mts +0 -5
- package/dist/components/card/index.d.ts +0 -5
- package/dist/components/checkbox/checkbox.d.mts +0 -349
- package/dist/components/checkbox/checkbox.test.d.mts +0 -2
- package/dist/components/checkbox/index.d.mts +0 -5
- package/dist/components/checkbox/index.d.ts +0 -5
- package/dist/components/icon/Icon.d.mts +0 -15
- package/dist/components/icon/index.d.mts +0 -4
- package/dist/components/icon/index.d.ts +0 -4
- package/dist/components/icon/template.d.mts +0 -97
- package/dist/components/input/index.d.mts +0 -5
- package/dist/components/input/index.d.ts +0 -5
- package/dist/components/input/input.d.mts +0 -437
- package/dist/components/input/input.test.d.mts +0 -2
- package/dist/components/list/index.d.mts +0 -6
- package/dist/components/list/list.test.d.mts +0 -2
- package/dist/components/list/listItem.d.mts +0 -183
- package/dist/components/modal/index.d.mts +0 -8
- package/dist/components/modal/index.d.ts +0 -8
- package/dist/components/modal/modal.d.mts +0 -214
- package/dist/components/modal/modal.test.d.mts +0 -2
- package/dist/components/pagination/index.d.mts +0 -4
- package/dist/components/pagination/index.d.ts +0 -4
- package/dist/components/pagination/pagination.d.mts +0 -186
- package/dist/components/pagination/pagination.test.d.mts +0 -2
- package/dist/components/pagination/usePagination.d.mts +0 -16
- package/dist/components/progress/index.d.mts +0 -5
- package/dist/components/progress/index.d.ts +0 -5
- package/dist/components/progress/progress.d.mts +0 -281
- package/dist/components/progress/progress.test.d.mts +0 -2
- package/dist/components/radio/index.d.mts +0 -5
- package/dist/components/radio/index.d.ts +0 -5
- package/dist/components/radio/radio.d.mts +0 -278
- package/dist/components/radio/radio.test.d.mts +0 -2
- package/dist/components/select/index.d.mts +0 -5
- package/dist/components/select/index.d.ts +0 -5
- package/dist/components/select/option.d.mts +0 -18
- package/dist/components/select/select.d.mts +0 -449
- package/dist/components/select/select.test.d.mts +0 -2
- package/dist/components/select/useSelect.d.mts +0 -32
- package/dist/components/slider/index.d.mts +0 -5
- package/dist/components/slider/index.d.ts +0 -5
- package/dist/components/slider/slider.d.mts +0 -333
- package/dist/components/slider/slider.test.d.mts +0 -2
- package/dist/components/switch/index.d.mts +0 -5
- package/dist/components/switch/index.d.ts +0 -5
- package/dist/components/switch/switch.d.mts +0 -304
- package/dist/components/switch/switch.test.d.mts +0 -2
- package/dist/components/table/index.d.mts +0 -5
- package/dist/components/table/index.d.ts +0 -5
- package/dist/components/table/table-body.d.mts +0 -23
- package/dist/components/table/table-head.d.mts +0 -19
- package/dist/components/table/table.d.mts +0 -610
- package/dist/components/table/table.test.d.mts +0 -2
- package/dist/components/tabs/index.d.mts +0 -5
- package/dist/components/tabs/index.d.ts +0 -5
- package/dist/components/tabs/tabs.d.mts +0 -241
- package/dist/components/tabs/tabs.test.d.mts +0 -2
- package/dist/components/textarea/index.d.mts +0 -2
- package/dist/components/textarea/index.d.ts +0 -2
- package/dist/components/textarea/textarea.d.mts +0 -17
- package/dist/components/textarea/textarea.test.d.mts +0 -2
- package/dist/components/tooltip/index.d.mts +0 -6
- package/dist/components/tooltip/index.d.ts +0 -6
- package/dist/components/tooltip/tooltip-utils.d.mts +0 -2
- package/dist/components/tooltip/tooltip.d.mts +0 -143
- package/dist/components/tooltip/tooltip.test.d.mts +0 -2
- package/dist/components/tooltip/useTooltip.d.mts +0 -2
- package/dist/index.d.mts +0 -30
- package/dist/tooltip-utils-DCKA5gnI.d.mts +0 -30
- package/dist/tooltip-utils-DCKA5gnI.d.ts +0 -30
- package/dist/utils/clsx.d.mts +0 -3
- package/dist/utils/props.d.mts +0 -3
- package/dist/utils/tailwind-variants.d.mts +0 -26
- package/dist/utils/types.d.mts +0 -10
- /package/dist/{chunk-M5PMA3CT.mjs → chunk-RDEWIZV3.mjs} +0 -0
- /package/dist/components/{accordion/accordion.test.d.mts → dropdown/dropdown.test.d.ts} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
table_body_default
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-LGELMZCN.mjs";
|
|
5
5
|
import "../../chunk-QZ3LVYJW.mjs";
|
|
6
6
|
import "../../chunk-BE2OG6M4.mjs";
|
|
7
7
|
import "../../chunk-27Y6K5NK.mjs";
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
8
|
+
import "../../chunk-ZYIIXWVY.mjs";
|
|
9
|
+
import "../../chunk-AHORH5PH.mjs";
|
|
10
|
+
import "../../chunk-QURXBWKK.mjs";
|
|
11
11
|
import "../../chunk-E3G5QXSH.mjs";
|
|
12
12
|
import "../../chunk-J725QONZ.mjs";
|
|
13
13
|
import "../../chunk-IZ6II3QA.mjs";
|
|
@@ -10,10 +10,12 @@ type TableHeadProps = {
|
|
|
10
10
|
slots: TableReturnType;
|
|
11
11
|
size?: "md" | "sm" | "lg";
|
|
12
12
|
color?: "primary" | "secondary";
|
|
13
|
-
isSelected?: boolean;
|
|
14
13
|
isExpanded?: boolean;
|
|
14
|
+
isSelected?: boolean;
|
|
15
|
+
isAllSelected: boolean;
|
|
15
16
|
classNames?: SlotsToClasses<TableSlots>;
|
|
17
|
+
onSelectAll: (isSelected: boolean) => void;
|
|
16
18
|
};
|
|
17
|
-
declare const TableHead: ({ columns, slots, size, color, isSelected,
|
|
19
|
+
declare const TableHead: ({ columns, slots, size, color, isExpanded, isSelected, isAllSelected, classNames, onSelectAll, }: TableHeadProps) => react_jsx_runtime.JSX.Element;
|
|
18
20
|
|
|
19
21
|
export { TableHead as default };
|
|
@@ -292,7 +292,17 @@ var checkbox = tv({
|
|
|
292
292
|
// src/components/table/table-head.tsx
|
|
293
293
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
294
294
|
var import_react3 = require("react");
|
|
295
|
-
var TableHead = ({
|
|
295
|
+
var TableHead = ({
|
|
296
|
+
columns,
|
|
297
|
+
slots,
|
|
298
|
+
size,
|
|
299
|
+
color,
|
|
300
|
+
isExpanded,
|
|
301
|
+
isSelected,
|
|
302
|
+
isAllSelected,
|
|
303
|
+
classNames,
|
|
304
|
+
onSelectAll
|
|
305
|
+
}) => {
|
|
296
306
|
const getTheadProps = (0, import_react2.useCallback)(
|
|
297
307
|
() => ({
|
|
298
308
|
className: slots.thead({ class: clsx(classNames == null ? void 0 : classNames.thead) })
|
|
@@ -309,14 +319,16 @@ var TableHead = ({ columns, slots, size, color, isSelected, isExpanded, classNam
|
|
|
309
319
|
({ className }) => ({
|
|
310
320
|
className: slots.th({ class: clsx(classNames == null ? void 0 : classNames.th, className) })
|
|
311
321
|
}),
|
|
312
|
-
[classNames == null ? void 0 : classNames.th,
|
|
322
|
+
[classNames == null ? void 0 : classNames.th, slots]
|
|
313
323
|
);
|
|
324
|
+
const handleClickSelectAll = (e) => {
|
|
325
|
+
e.preventDefault();
|
|
326
|
+
onSelectAll(!isAllSelected);
|
|
327
|
+
};
|
|
314
328
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("thead", { ...getTheadProps(), children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("tr", { ...getTrProps(), children: [
|
|
315
|
-
isSelected && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("th", { className: "w-[40px]", children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(checkbox_default, { size, color, classNames: { wrapper: "bg-background" } }) }),
|
|
329
|
+
isSelected && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("th", { className: "w-[40px]", onClick: handleClickSelectAll, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(checkbox_default, { size, color, checked: isAllSelected, classNames: { wrapper: "bg-background" } }) }),
|
|
316
330
|
isExpanded && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("th", { className: "w-[40px]" }),
|
|
317
|
-
columns.map((column, index) => {
|
|
318
|
-
return /* @__PURE__ */ (0, import_react3.createElement)("th", { ...getThProps(column), key: column.field + index + "th" }, column.headerName);
|
|
319
|
-
})
|
|
331
|
+
columns.map((column, index) => /* @__PURE__ */ (0, import_react3.createElement)("th", { ...getThProps(column), key: column.field + index + "th" }, column.headerName))
|
|
320
332
|
] }) });
|
|
321
333
|
};
|
|
322
334
|
var table_head_default = TableHead;
|
|
@@ -1,71 +1,23 @@
|
|
|
1
1
|
import * as tailwind_variants from 'tailwind-variants';
|
|
2
2
|
import { VariantProps } from 'tailwind-variants';
|
|
3
3
|
import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
|
|
4
|
-
import
|
|
5
|
-
import { ReactElement, ReactNode } from 'react';
|
|
4
|
+
import react__default, { ReactElement } from 'react';
|
|
6
5
|
import { SlotsToClasses } from '../../utils/types.js';
|
|
7
6
|
|
|
8
|
-
interface Props extends Omit<
|
|
7
|
+
interface Props extends Omit<react__default.ComponentPropsWithRef<"table">, "ref" | "color" | "slot" | "size" | "defaultChecked" | "defaultValue"> {
|
|
9
8
|
rows: TableRow[];
|
|
10
9
|
columns: TableColumn[];
|
|
11
10
|
isLoading?: boolean;
|
|
12
|
-
emptyContent?:
|
|
13
|
-
onRowAction?: (e: React.MouseEvent, params: TableRow) => void;
|
|
14
|
-
/**
|
|
15
|
-
* @example
|
|
16
|
-
* ```ts
|
|
17
|
-
* <Table classNames={{
|
|
18
|
-
* base:"base-classes", // table wrapper
|
|
19
|
-
* table: "table-classes",
|
|
20
|
-
* thead: "thead-classes",
|
|
21
|
-
* tbody: "tbody-classes",
|
|
22
|
-
* tr: "tr-classes",
|
|
23
|
-
* th: "th-classes",
|
|
24
|
-
* td: "td-classes",
|
|
25
|
-
* tfoot: "tfoot-classes",
|
|
26
|
-
* sortIcon: "sort-icon-classes",
|
|
27
|
-
* emptyWrapper: "empty-wrapper-classes",
|
|
28
|
-
* }} />
|
|
29
|
-
* ```
|
|
30
|
-
*/
|
|
11
|
+
emptyContent?: ReactElement;
|
|
31
12
|
classNames?: SlotsToClasses<TableSlots>;
|
|
13
|
+
onRowAction?: (e: react__default.MouseEvent, params: TableRow) => void;
|
|
32
14
|
}
|
|
33
|
-
|
|
15
|
+
interface TableRef {
|
|
16
|
+
selectedRows: Set<number>;
|
|
17
|
+
setSelectedRows: (rows: Set<number>) => void;
|
|
18
|
+
}
|
|
19
|
+
declare const Table: react__default.ForwardRefExoticComponent<Props & TableVariantProps & react__default.RefAttributes<TableRef>>;
|
|
34
20
|
|
|
35
|
-
/**
|
|
36
|
-
* Table 테일 윈드
|
|
37
|
-
*
|
|
38
|
-
* @example
|
|
39
|
-
* ```js
|
|
40
|
-
* const {base, table, thead, tbody, th, th, th, tfoot} = table({...})
|
|
41
|
-
*
|
|
42
|
-
* <div className={base()}>
|
|
43
|
-
* <table className={table()}>
|
|
44
|
-
* <thead className={thead()}>
|
|
45
|
-
* <tr className={tr()}>
|
|
46
|
-
* <th className={th()}>...</th>
|
|
47
|
-
* <th className={th()}>...</th>
|
|
48
|
-
* </tr>
|
|
49
|
-
* </thead>
|
|
50
|
-
* <tbody className={tbody()}>
|
|
51
|
-
* <tr className={tr()}>
|
|
52
|
-
* <td className={td()}>...</td>
|
|
53
|
-
* <td className={td()}>...</td>
|
|
54
|
-
* </tr>
|
|
55
|
-
* <tr className={tr()}>
|
|
56
|
-
* <td className={td()}>...</td>
|
|
57
|
-
* <td className={td()}>...</td>
|
|
58
|
-
* </tr>
|
|
59
|
-
* </tbody>
|
|
60
|
-
* <tfoot className={tfoot()}>
|
|
61
|
-
* <tr className={tr()}>
|
|
62
|
-
* <td className={td()}>...</td>
|
|
63
|
-
* <td className={td()}>...</td>
|
|
64
|
-
* </tr>
|
|
65
|
-
* </tfoot>
|
|
66
|
-
* </table>
|
|
67
|
-
* </div>
|
|
68
|
-
*/
|
|
69
21
|
declare const table: tailwind_variants.TVReturnType<{
|
|
70
22
|
variant: {
|
|
71
23
|
solid: {
|
|
@@ -113,6 +65,9 @@ declare const table: tailwind_variants.TVReturnType<{
|
|
|
113
65
|
isSelected: {
|
|
114
66
|
true: {};
|
|
115
67
|
};
|
|
68
|
+
isSelectedRow: {
|
|
69
|
+
true: {};
|
|
70
|
+
};
|
|
116
71
|
hideHeader: {
|
|
117
72
|
true: {
|
|
118
73
|
thead: string;
|
|
@@ -194,6 +149,9 @@ declare const table: tailwind_variants.TVReturnType<{
|
|
|
194
149
|
isSelected: {
|
|
195
150
|
true: {};
|
|
196
151
|
};
|
|
152
|
+
isSelectedRow: {
|
|
153
|
+
true: {};
|
|
154
|
+
};
|
|
197
155
|
hideHeader: {
|
|
198
156
|
true: {
|
|
199
157
|
thead: string;
|
|
@@ -262,6 +220,9 @@ declare const table: tailwind_variants.TVReturnType<{
|
|
|
262
220
|
isSelected: {
|
|
263
221
|
true: {};
|
|
264
222
|
};
|
|
223
|
+
isSelectedRow: {
|
|
224
|
+
true: {};
|
|
225
|
+
};
|
|
265
226
|
hideHeader: {
|
|
266
227
|
true: {
|
|
267
228
|
thead: string;
|
|
@@ -330,6 +291,9 @@ declare const table: tailwind_variants.TVReturnType<{
|
|
|
330
291
|
isSelected: {
|
|
331
292
|
true: {};
|
|
332
293
|
};
|
|
294
|
+
isSelectedRow: {
|
|
295
|
+
true: {};
|
|
296
|
+
};
|
|
333
297
|
hideHeader: {
|
|
334
298
|
true: {
|
|
335
299
|
thead: string;
|
|
@@ -411,6 +375,9 @@ declare const table: tailwind_variants.TVReturnType<{
|
|
|
411
375
|
isSelected: {
|
|
412
376
|
true: {};
|
|
413
377
|
};
|
|
378
|
+
isSelectedRow: {
|
|
379
|
+
true: {};
|
|
380
|
+
};
|
|
414
381
|
hideHeader: {
|
|
415
382
|
true: {
|
|
416
383
|
thead: string;
|
|
@@ -492,6 +459,9 @@ declare const table: tailwind_variants.TVReturnType<{
|
|
|
492
459
|
isSelected: {
|
|
493
460
|
true: {};
|
|
494
461
|
};
|
|
462
|
+
isSelectedRow: {
|
|
463
|
+
true: {};
|
|
464
|
+
};
|
|
495
465
|
hideHeader: {
|
|
496
466
|
true: {
|
|
497
467
|
thead: string;
|
|
@@ -560,6 +530,9 @@ declare const table: tailwind_variants.TVReturnType<{
|
|
|
560
530
|
isSelected: {
|
|
561
531
|
true: {};
|
|
562
532
|
};
|
|
533
|
+
isSelectedRow: {
|
|
534
|
+
true: {};
|
|
535
|
+
};
|
|
563
536
|
hideHeader: {
|
|
564
537
|
true: {
|
|
565
538
|
thead: string;
|
|
@@ -604,7 +577,7 @@ type TableColumn<R extends RowValue = RowValue, V = any, F = V> = {
|
|
|
604
577
|
headerName?: string | ReactElement;
|
|
605
578
|
className?: string;
|
|
606
579
|
valueFormatter?: (params: ValueFormatterParams<V>) => F;
|
|
607
|
-
renderCell?: (params: CellParams<R, V, F>) =>
|
|
580
|
+
renderCell?: (params: CellParams<R, V, F>) => react__default.ReactNode;
|
|
608
581
|
};
|
|
609
582
|
|
|
610
|
-
export { type TableColumn, type TableReturnType, type TableRow, type TableSlots, type TableVariantProps, Table as default };
|
|
583
|
+
export { type TableColumn, type TableRef, type TableReturnType, type TableRow, type TableSlots, type TableVariantProps, Table as default };
|