@deepnoid/ui 0.1.62 → 0.1.63
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 +200 -205
- package/dist/{chunk-FNBVQ77W.mjs → chunk-3UQI4RJU.mjs} +5 -5
- package/dist/{chunk-XUY4V6IQ.mjs → chunk-4T7R3PEH.mjs} +5 -5
- package/dist/{chunk-KJMJIFPS.mjs → chunk-BPEMHZH3.mjs} +1 -1
- package/dist/{chunk-XIQHJBEM.mjs → chunk-DLFXCMUU.mjs} +2 -2
- package/dist/{chunk-CR7MUSOG.mjs → chunk-DLQGQUCD.mjs} +1 -1
- package/dist/{chunk-YNKC7SHK.mjs → chunk-LQEA2HU5.mjs} +4 -4
- package/dist/{chunk-NNDBEMPD.mjs → chunk-MPATONSK.mjs} +1 -1
- package/dist/{chunk-53UVUUMJ.mjs → chunk-ORYYC6BI.mjs} +3 -3
- package/dist/{chunk-SBL6IHEW.mjs → chunk-P7YYNA6L.mjs} +1 -1
- package/dist/{chunk-CY2XMA4S.mjs → chunk-PMZH6GPQ.mjs} +5 -5
- package/dist/{chunk-ATFYXYEV.mjs → chunk-V5T3D6WI.mjs} +6 -6
- package/dist/components/backdrop/backdrop.mjs +2 -2
- package/dist/components/backdrop/index.mjs +2 -2
- package/dist/components/breadcrumb/breadcrumb.mjs +6 -6
- package/dist/components/breadcrumb/index.mjs +6 -6
- package/dist/components/button/button.mjs +3 -3
- package/dist/components/button/icon-button.mjs +3 -3
- package/dist/components/button/index.mjs +5 -5
- package/dist/components/button/text-button.mjs +2 -2
- package/dist/components/charts/areaChart.mjs +2 -2
- package/dist/components/charts/barChart.mjs +2 -2
- package/dist/components/charts/circularProgress.mjs +2 -2
- package/dist/components/charts/index.mjs +4 -4
- package/dist/components/checkbox/checkbox.mjs +2 -2
- package/dist/components/checkbox/index.mjs +2 -2
- package/dist/components/chip/chip.mjs +2 -2
- package/dist/components/chip/index.mjs +2 -2
- package/dist/components/dateTimePicker/calendar.mjs +2 -2
- package/dist/components/dateTimePicker/dateTimePicker.mjs +6 -6
- package/dist/components/dateTimePicker/index.mjs +6 -6
- package/dist/components/dateTimePicker/timePicker.mjs +4 -4
- package/dist/components/drawer/drawer.mjs +2 -2
- package/dist/components/drawer/index.mjs +2 -2
- package/dist/components/fileUpload/fileUpload.mjs +7 -7
- package/dist/components/fileUpload/index.mjs +7 -7
- package/dist/components/input/index.mjs +2 -2
- package/dist/components/input/input.mjs +2 -2
- package/dist/components/list/index.mjs +3 -3
- package/dist/components/list/list.mjs +2 -2
- package/dist/components/list/listItem.mjs +2 -2
- package/dist/components/modal/index.mjs +8 -8
- package/dist/components/modal/modal.mjs +8 -8
- package/dist/components/pagination/index.mjs +3 -3
- package/dist/components/pagination/pagination.mjs +3 -3
- package/dist/components/radio/index.mjs +2 -2
- package/dist/components/radio/radio.mjs +2 -2
- package/dist/components/ripple/index.mjs +3 -3
- package/dist/components/select/index.mjs +2 -2
- package/dist/components/select/select.mjs +2 -2
- package/dist/components/table/definition-table.d.mts +13 -6
- package/dist/components/table/definition-table.d.ts +13 -6
- package/dist/components/table/definition-table.js +99 -12
- package/dist/components/table/definition-table.mjs +2 -1
- package/dist/components/table/index.d.mts +1 -2
- package/dist/components/table/index.d.ts +1 -2
- package/dist/components/table/index.js +12 -41
- package/dist/components/table/index.mjs +11 -15
- package/dist/components/table/table-body.mjs +3 -3
- package/dist/components/table/table-head.mjs +3 -3
- package/dist/components/table/table.mjs +9 -9
- package/dist/components/tabs/index.mjs +2 -2
- package/dist/components/tabs/tabs.mjs +2 -2
- package/dist/components/toast/index.mjs +3 -3
- package/dist/components/toast/toast.mjs +2 -2
- package/dist/components/toast/use-toast.mjs +3 -3
- package/dist/components/tooltip/index.mjs +2 -2
- package/dist/components/tooltip/tooltip.mjs +2 -2
- package/dist/components/tree/index.mjs +2 -2
- package/dist/components/tree/tree.mjs +2 -2
- package/dist/index.d.mts +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/index.js +328 -357
- package/dist/index.mjs +71 -75
- package/package.json +1 -1
- package/dist/chunk-6TIIBU7J.mjs +0 -35
- package/dist/components/table/definition-table2.d.mts +0 -58
- package/dist/components/table/definition-table2.d.ts +0 -58
- package/dist/components/table/definition-table2.js +0 -438
- package/dist/components/table/definition-table2.mjs +0 -10
- package/dist/{chunk-SSMMWMQC.mjs → chunk-2YMAKIZ6.mjs} +3 -3
- package/dist/{chunk-B2BSN6WP.mjs → chunk-73RWXO3Y.mjs} +3 -3
- package/dist/{chunk-QEPJICMO.mjs → chunk-76B5LZBM.mjs} +3 -3
- package/dist/{chunk-YDGGBZAS.mjs → chunk-7TAC2S5U.mjs} +3 -3
- package/dist/{chunk-LW5CNZW5.mjs → chunk-AZA2LAZH.mjs} +6 -6
- package/dist/{chunk-W6H3DI2L.mjs → chunk-C4AGYO7C.mjs} +3 -3
- package/dist/{chunk-YLRYHUTW.mjs → chunk-D6QI3DJG.mjs} +3 -3
- package/dist/{chunk-DLR42ZKG.mjs → chunk-DX3KXNP6.mjs} +0 -0
- package/dist/{chunk-BEKIKGI3.mjs → chunk-GL5J2BKI.mjs} +3 -3
- package/dist/{chunk-UFVQPPPW.mjs → chunk-HIVPDIEP.mjs} +3 -3
- package/dist/{chunk-SWIYZRBZ.mjs → chunk-L3RCWZTV.mjs} +3 -3
- package/dist/{chunk-P5QCU457.mjs → chunk-LL6F3WDX.mjs} +3 -3
- package/dist/{chunk-RM4PEV62.mjs → chunk-LSO5QZIT.mjs} +3 -3
- package/dist/{chunk-33LANVZV.mjs → chunk-QIRL6HY6.mjs} +3 -3
- package/dist/{chunk-BOT5U4IL.mjs → chunk-QX6F6C6X.mjs} +3 -3
- package/dist/{chunk-4SDLHEKS.mjs → chunk-U2NPH2O3.mjs} +3 -3
- package/dist/{chunk-ZNDWOIP4.mjs → chunk-UETBYMGS.mjs} +3 -3
- package/dist/{chunk-VYUH25IC.mjs → chunk-WF7VSHBA.mjs} +6 -6
- package/dist/{chunk-DQX2CILT.mjs → chunk-YZDZYMBP.mjs} +3 -3
- package/dist/{chunk-IL5ENWCR.mjs → chunk-Z2537DF6.mjs} +3 -3
- package/dist/{chunk-VGFGIXS6.mjs → chunk-ZOENHWSZ.mjs} +3 -3
package/dist/index.mjs
CHANGED
|
@@ -2,11 +2,27 @@
|
|
|
2
2
|
import "./chunk-MBLZYQCN.mjs";
|
|
3
3
|
import {
|
|
4
4
|
tree_default
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-QX6F6C6X.mjs";
|
|
6
|
+
import "./chunk-HIE2YRGA.mjs";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./chunk-
|
|
8
|
+
tooltip_default
|
|
9
|
+
} from "./chunk-Z2537DF6.mjs";
|
|
10
|
+
import "./chunk-ZMOAFSYE.mjs";
|
|
11
|
+
import "./chunk-WSIADHVC.mjs";
|
|
12
|
+
import "./chunk-3MY6LO7N.mjs";
|
|
13
|
+
import {
|
|
14
|
+
tabs_default
|
|
15
|
+
} from "./chunk-2YMAKIZ6.mjs";
|
|
16
|
+
import "./chunk-DX3KXNP6.mjs";
|
|
17
|
+
import {
|
|
18
|
+
table_default
|
|
19
|
+
} from "./chunk-4T7R3PEH.mjs";
|
|
20
|
+
import "./chunk-BPEMHZH3.mjs";
|
|
21
|
+
import "./chunk-P7YYNA6L.mjs";
|
|
22
|
+
import "./chunk-MZ76AA76.mjs";
|
|
23
|
+
import {
|
|
24
|
+
skeleton_default
|
|
25
|
+
} from "./chunk-6PN3DGOE.mjs";
|
|
10
26
|
import "./chunk-RRAZM5D3.mjs";
|
|
11
27
|
import {
|
|
12
28
|
textarea_default
|
|
@@ -15,143 +31,124 @@ import "./chunk-LUWGOKLG.mjs";
|
|
|
15
31
|
import {
|
|
16
32
|
ToastProvider,
|
|
17
33
|
useToast
|
|
18
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-DLQGQUCD.mjs";
|
|
19
35
|
import "./chunk-ZOTHPHXA.mjs";
|
|
20
36
|
import {
|
|
21
37
|
toast_default
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import {
|
|
25
|
-
tooltip_default
|
|
26
|
-
} from "./chunk-IL5ENWCR.mjs";
|
|
27
|
-
import "./chunk-ZMOAFSYE.mjs";
|
|
28
|
-
import "./chunk-WSIADHVC.mjs";
|
|
29
|
-
import "./chunk-DLR42ZKG.mjs";
|
|
30
|
-
import {
|
|
31
|
-
definition_table2_default
|
|
32
|
-
} from "./chunk-ATFYXYEV.mjs";
|
|
33
|
-
import {
|
|
34
|
-
table_default
|
|
35
|
-
} from "./chunk-XUY4V6IQ.mjs";
|
|
36
|
-
import "./chunk-KJMJIFPS.mjs";
|
|
37
|
-
import "./chunk-SBL6IHEW.mjs";
|
|
38
|
-
import "./chunk-3MY6LO7N.mjs";
|
|
38
|
+
} from "./chunk-73RWXO3Y.mjs";
|
|
39
|
+
import "./chunk-DQRAFUDA.mjs";
|
|
39
40
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
scrollArea_default
|
|
42
|
+
} from "./chunk-M37VBNB3.mjs";
|
|
42
43
|
import "./chunk-QCEKPS7U.mjs";
|
|
43
44
|
import {
|
|
44
45
|
select_default
|
|
45
|
-
} from "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import {
|
|
48
|
-
skeleton_default
|
|
49
|
-
} from "./chunk-6PN3DGOE.mjs";
|
|
50
|
-
import "./chunk-TPFN22HR.mjs";
|
|
46
|
+
} from "./chunk-C4AGYO7C.mjs";
|
|
47
|
+
import "./chunk-LVFI2NOH.mjs";
|
|
51
48
|
import {
|
|
52
|
-
|
|
53
|
-
} from "./chunk-
|
|
49
|
+
switch_default
|
|
50
|
+
} from "./chunk-AJUQBMSV.mjs";
|
|
54
51
|
import {
|
|
55
52
|
definition_table_default
|
|
56
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-V5T3D6WI.mjs";
|
|
57
54
|
import "./chunk-7B7LRG5J.mjs";
|
|
58
55
|
import {
|
|
59
56
|
pagination_default
|
|
60
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-LQEA2HU5.mjs";
|
|
61
58
|
import "./chunk-F3HENRVM.mjs";
|
|
62
|
-
import "./chunk-DQRAFUDA.mjs";
|
|
63
|
-
import {
|
|
64
|
-
scrollArea_default
|
|
65
|
-
} from "./chunk-M37VBNB3.mjs";
|
|
66
59
|
import "./chunk-DJOG6Z35.mjs";
|
|
67
60
|
import {
|
|
68
61
|
modal_default
|
|
69
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-3UQI4RJU.mjs";
|
|
63
|
+
import "./chunk-TPFN22HR.mjs";
|
|
64
|
+
import {
|
|
65
|
+
radio_default
|
|
66
|
+
} from "./chunk-QIRL6HY6.mjs";
|
|
67
|
+
import "./chunk-32GA3YW4.mjs";
|
|
68
|
+
import {
|
|
69
|
+
drawer_default
|
|
70
|
+
} from "./chunk-LSO5QZIT.mjs";
|
|
70
71
|
import "./chunk-RLXOHILK.mjs";
|
|
71
72
|
import {
|
|
72
73
|
fileUpload_default
|
|
73
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-ORYYC6BI.mjs";
|
|
74
75
|
import "./chunk-2GCSFWHD.mjs";
|
|
75
76
|
import {
|
|
76
77
|
input_default
|
|
77
|
-
} from "./chunk-
|
|
78
|
-
import "./chunk-32GA3YW4.mjs";
|
|
79
|
-
import {
|
|
80
|
-
drawer_default
|
|
81
|
-
} from "./chunk-RM4PEV62.mjs";
|
|
78
|
+
} from "./chunk-UETBYMGS.mjs";
|
|
82
79
|
import "./chunk-XOH6GWRD.mjs";
|
|
83
80
|
import "./chunk-QZ3LVYJW.mjs";
|
|
84
81
|
import {
|
|
85
82
|
checkbox_default
|
|
86
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-D6QI3DJG.mjs";
|
|
87
84
|
import "./chunk-MGEWSREV.mjs";
|
|
88
85
|
import {
|
|
89
86
|
chip_default
|
|
90
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-GL5J2BKI.mjs";
|
|
91
88
|
import "./chunk-75HLCORR.mjs";
|
|
92
89
|
import {
|
|
93
90
|
dateTimePicker_default
|
|
94
|
-
} from "./chunk-
|
|
95
|
-
import "./chunk-
|
|
91
|
+
} from "./chunk-PMZH6GPQ.mjs";
|
|
92
|
+
import "./chunk-DLFXCMUU.mjs";
|
|
96
93
|
import "./chunk-7MVEAQ7Z.mjs";
|
|
97
94
|
import {
|
|
98
95
|
list_default
|
|
99
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-HIVPDIEP.mjs";
|
|
100
97
|
import {
|
|
101
98
|
listItem_default
|
|
102
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-YZDZYMBP.mjs";
|
|
103
100
|
import "./chunk-FWJ2ZKH6.mjs";
|
|
104
|
-
import "./chunk-
|
|
101
|
+
import "./chunk-L3RCWZTV.mjs";
|
|
105
102
|
import "./chunk-P732YGHO.mjs";
|
|
106
|
-
import "./chunk-
|
|
103
|
+
import "./chunk-KYIODWXL.mjs";
|
|
107
104
|
import {
|
|
108
|
-
|
|
109
|
-
} from "./chunk-
|
|
105
|
+
breadcrumb_default
|
|
106
|
+
} from "./chunk-MPATONSK.mjs";
|
|
107
|
+
import "./chunk-MY5U63QO.mjs";
|
|
108
|
+
import {
|
|
109
|
+
icon_button_default
|
|
110
|
+
} from "./chunk-AZA2LAZH.mjs";
|
|
111
|
+
import {
|
|
112
|
+
text_button_default
|
|
113
|
+
} from "./chunk-7TAC2S5U.mjs";
|
|
110
114
|
import {
|
|
111
115
|
areaChart_default
|
|
112
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-ZOENHWSZ.mjs";
|
|
113
117
|
import {
|
|
114
118
|
barChart_default
|
|
115
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-76B5LZBM.mjs";
|
|
116
120
|
import {
|
|
117
121
|
circularProgress_default
|
|
118
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-U2NPH2O3.mjs";
|
|
123
|
+
import "./chunk-7DLOYKVC.mjs";
|
|
124
|
+
import {
|
|
125
|
+
avatar_default
|
|
126
|
+
} from "./chunk-JDWX2LKJ.mjs";
|
|
119
127
|
import "./chunk-SE5TU755.mjs";
|
|
120
128
|
import {
|
|
121
129
|
backdrop_default
|
|
122
|
-
} from "./chunk-
|
|
123
|
-
import "./chunk-KYIODWXL.mjs";
|
|
124
|
-
import {
|
|
125
|
-
breadcrumb_default
|
|
126
|
-
} from "./chunk-NNDBEMPD.mjs";
|
|
127
|
-
import "./chunk-MY5U63QO.mjs";
|
|
128
|
-
import {
|
|
129
|
-
icon_button_default
|
|
130
|
-
} from "./chunk-LW5CNZW5.mjs";
|
|
131
|
-
import {
|
|
132
|
-
text_button_default
|
|
133
|
-
} from "./chunk-YDGGBZAS.mjs";
|
|
130
|
+
} from "./chunk-LL6F3WDX.mjs";
|
|
134
131
|
import {
|
|
135
132
|
button_group_default
|
|
136
133
|
} from "./chunk-QC2XOK2E.mjs";
|
|
137
134
|
import {
|
|
138
135
|
button_default
|
|
139
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-WF7VSHBA.mjs";
|
|
140
137
|
import "./chunk-6WSACUIB.mjs";
|
|
141
|
-
import "./chunk-LXHUO6VM.mjs";
|
|
142
138
|
import "./chunk-6PNKRBUT.mjs";
|
|
139
|
+
import "./chunk-LXHUO6VM.mjs";
|
|
143
140
|
import "./chunk-ZYIIXWVY.mjs";
|
|
144
141
|
import {
|
|
145
142
|
Icon_default,
|
|
146
143
|
iconTemplate
|
|
147
144
|
} from "./chunk-DZ6QJCDZ.mjs";
|
|
148
145
|
import "./chunk-3I7QA57V.mjs";
|
|
149
|
-
import "./chunk-27Y6K5NK.mjs";
|
|
150
|
-
import "./chunk-E3G5QXSH.mjs";
|
|
151
146
|
import {
|
|
152
147
|
deepnoidUi,
|
|
153
148
|
tv
|
|
154
149
|
} from "./chunk-4ZJFD3L3.mjs";
|
|
150
|
+
import "./chunk-27Y6K5NK.mjs";
|
|
151
|
+
import "./chunk-E3G5QXSH.mjs";
|
|
155
152
|
import "./chunk-AC6TWLRT.mjs";
|
|
156
153
|
export {
|
|
157
154
|
areaChart_default as AreaChart,
|
|
@@ -166,7 +163,6 @@ export {
|
|
|
166
163
|
circularProgress_default as CircularProgress,
|
|
167
164
|
dateTimePicker_default as DateTimePicker,
|
|
168
165
|
definition_table_default as DefinitionTable,
|
|
169
|
-
definition_table2_default as DefinitionTable2,
|
|
170
166
|
drawer_default as Drawer,
|
|
171
167
|
fileUpload_default as FileUpload,
|
|
172
168
|
Icon_default as Icon,
|
package/package.json
CHANGED
package/dist/chunk-6TIIBU7J.mjs
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
tv
|
|
4
|
-
} from "./chunk-4ZJFD3L3.mjs";
|
|
5
|
-
|
|
6
|
-
// src/components/table/definition-table.tsx
|
|
7
|
-
import { forwardRef, useMemo } from "react";
|
|
8
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
-
var DEFAULT_COLUMN_CLASSES = [
|
|
10
|
-
"w-[120px] px-[10px] py-[9.5px] font-bold text-md text-body-foreground border-r border-neutral-light",
|
|
11
|
-
"px-[10px] py-[9.5px]"
|
|
12
|
-
];
|
|
13
|
-
var DefinitionTableRow = ({ columns, columnClasses = [] }) => /* @__PURE__ */ jsx("tr", { className: "border-neutral-light min-h-[50px] border-b", children: columns.map((col, index) => {
|
|
14
|
-
var _a;
|
|
15
|
-
return /* @__PURE__ */ jsx("td", { className: (_a = columnClasses[index]) != null ? _a : DEFAULT_COLUMN_CLASSES[index], children: col }, index);
|
|
16
|
-
}) });
|
|
17
|
-
var DefinitionTable = forwardRef(({ rows, footer, classNames }, ref) => {
|
|
18
|
-
const slots = useMemo(() => DefinitionTableStyle(), []);
|
|
19
|
-
return /* @__PURE__ */ jsxs("div", { ref, className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
|
|
20
|
-
/* @__PURE__ */ jsx("table", { className: slots.table({ class: classNames == null ? void 0 : classNames.table }), children: /* @__PURE__ */ jsx("tbody", { children: rows.map((row, i) => /* @__PURE__ */ jsx(DefinitionTableRow, { ...row }, i)) }) }),
|
|
21
|
-
footer && /* @__PURE__ */ jsx("div", { children: footer })
|
|
22
|
-
] });
|
|
23
|
-
});
|
|
24
|
-
DefinitionTable.displayName = "DefinitionTable";
|
|
25
|
-
var definition_table_default = DefinitionTable;
|
|
26
|
-
var DefinitionTableStyle = tv({
|
|
27
|
-
slots: {
|
|
28
|
-
base: ["flex", "flex-col", "gap-[30px]"],
|
|
29
|
-
table: ["w-full", "table-fixed", "border", "border-neutral-light"]
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
|
|
33
|
-
export {
|
|
34
|
-
definition_table_default
|
|
35
|
-
};
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
-
import * as tailwind_merge from 'tailwind-merge';
|
|
3
|
-
import * as react from 'react';
|
|
4
|
-
import { ReactNode } from 'react';
|
|
5
|
-
import { SlotsToClasses } from '../../utils/types.mjs';
|
|
6
|
-
|
|
7
|
-
type TableRowCell = {
|
|
8
|
-
content: ReactNode;
|
|
9
|
-
className?: string;
|
|
10
|
-
colSpan?: number;
|
|
11
|
-
rowSpan?: number;
|
|
12
|
-
width?: string;
|
|
13
|
-
};
|
|
14
|
-
type TableRow = {
|
|
15
|
-
cells: TableRowCell[];
|
|
16
|
-
className?: string;
|
|
17
|
-
};
|
|
18
|
-
interface DefinitionTableProps {
|
|
19
|
-
rows: TableRow[];
|
|
20
|
-
footer?: ReactNode;
|
|
21
|
-
classNames?: SlotsToClasses<DefinitionTableSlots>;
|
|
22
|
-
}
|
|
23
|
-
declare const DefinitionTable2: react.ForwardRefExoticComponent<DefinitionTableProps & react.RefAttributes<HTMLDivElement>>;
|
|
24
|
-
|
|
25
|
-
declare const DefinitionTableStyle: tailwind_variants.TVReturnType<{
|
|
26
|
-
[key: string]: {
|
|
27
|
-
[key: string]: tailwind_merge.ClassNameValue | {
|
|
28
|
-
base?: tailwind_merge.ClassNameValue;
|
|
29
|
-
table?: tailwind_merge.ClassNameValue;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
} | {
|
|
33
|
-
[x: string]: {
|
|
34
|
-
[x: string]: tailwind_merge.ClassNameValue | {
|
|
35
|
-
base?: tailwind_merge.ClassNameValue;
|
|
36
|
-
table?: tailwind_merge.ClassNameValue;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
} | {}, {
|
|
40
|
-
base: string[];
|
|
41
|
-
table: string[];
|
|
42
|
-
}, undefined, {
|
|
43
|
-
[key: string]: {
|
|
44
|
-
[key: string]: tailwind_merge.ClassNameValue | {
|
|
45
|
-
base?: tailwind_merge.ClassNameValue;
|
|
46
|
-
table?: tailwind_merge.ClassNameValue;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
} | {}, {
|
|
50
|
-
base: string[];
|
|
51
|
-
table: string[];
|
|
52
|
-
}, tailwind_variants.TVReturnType<unknown, {
|
|
53
|
-
base: string[];
|
|
54
|
-
table: string[];
|
|
55
|
-
}, undefined, unknown, unknown, undefined>>;
|
|
56
|
-
type DefinitionTableSlots = keyof ReturnType<typeof DefinitionTableStyle>;
|
|
57
|
-
|
|
58
|
-
export { type TableRow, type TableRowCell, DefinitionTable2 as default };
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
-
import * as tailwind_merge from 'tailwind-merge';
|
|
3
|
-
import * as react from 'react';
|
|
4
|
-
import { ReactNode } from 'react';
|
|
5
|
-
import { SlotsToClasses } from '../../utils/types.js';
|
|
6
|
-
|
|
7
|
-
type TableRowCell = {
|
|
8
|
-
content: ReactNode;
|
|
9
|
-
className?: string;
|
|
10
|
-
colSpan?: number;
|
|
11
|
-
rowSpan?: number;
|
|
12
|
-
width?: string;
|
|
13
|
-
};
|
|
14
|
-
type TableRow = {
|
|
15
|
-
cells: TableRowCell[];
|
|
16
|
-
className?: string;
|
|
17
|
-
};
|
|
18
|
-
interface DefinitionTableProps {
|
|
19
|
-
rows: TableRow[];
|
|
20
|
-
footer?: ReactNode;
|
|
21
|
-
classNames?: SlotsToClasses<DefinitionTableSlots>;
|
|
22
|
-
}
|
|
23
|
-
declare const DefinitionTable2: react.ForwardRefExoticComponent<DefinitionTableProps & react.RefAttributes<HTMLDivElement>>;
|
|
24
|
-
|
|
25
|
-
declare const DefinitionTableStyle: tailwind_variants.TVReturnType<{
|
|
26
|
-
[key: string]: {
|
|
27
|
-
[key: string]: tailwind_merge.ClassNameValue | {
|
|
28
|
-
base?: tailwind_merge.ClassNameValue;
|
|
29
|
-
table?: tailwind_merge.ClassNameValue;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
} | {
|
|
33
|
-
[x: string]: {
|
|
34
|
-
[x: string]: tailwind_merge.ClassNameValue | {
|
|
35
|
-
base?: tailwind_merge.ClassNameValue;
|
|
36
|
-
table?: tailwind_merge.ClassNameValue;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
} | {}, {
|
|
40
|
-
base: string[];
|
|
41
|
-
table: string[];
|
|
42
|
-
}, undefined, {
|
|
43
|
-
[key: string]: {
|
|
44
|
-
[key: string]: tailwind_merge.ClassNameValue | {
|
|
45
|
-
base?: tailwind_merge.ClassNameValue;
|
|
46
|
-
table?: tailwind_merge.ClassNameValue;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
} | {}, {
|
|
50
|
-
base: string[];
|
|
51
|
-
table: string[];
|
|
52
|
-
}, tailwind_variants.TVReturnType<unknown, {
|
|
53
|
-
base: string[];
|
|
54
|
-
table: string[];
|
|
55
|
-
}, undefined, unknown, unknown, undefined>>;
|
|
56
|
-
type DefinitionTableSlots = keyof ReturnType<typeof DefinitionTableStyle>;
|
|
57
|
-
|
|
58
|
-
export { type TableRow, type TableRowCell, DefinitionTable2 as default };
|