@deepnoid/ui 0.1.0 → 0.1.1
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 +168 -168
- package/dist/{chunk-VWMXZUR2.mjs → chunk-2TJDQIKB.mjs} +1 -1
- package/dist/{chunk-IE2BRM7Z.mjs → chunk-2ZT6V4QR.mjs} +0 -9
- package/dist/{chunk-PKVQXVCS.mjs → chunk-56VCX2QR.mjs} +1 -1
- package/dist/{chunk-UAMIPCUD.mjs → chunk-AMA53H3C.mjs} +2 -2
- package/dist/{chunk-MW6Y3FSE.mjs → chunk-AYWI2CRE.mjs} +2 -2
- package/dist/{chunk-XAA5KY6A.mjs → chunk-CF6O6TCF.mjs} +1 -1
- package/dist/chunk-DUOYMLZL.mjs +283 -0
- package/dist/{chunk-QNA2GDTN.mjs → chunk-GLBASISV.mjs} +1 -1
- package/dist/{chunk-QJHZJRSQ.mjs → chunk-HKXUNG3H.mjs} +1 -1
- package/dist/{chunk-XTGRSVYO.mjs → chunk-J5WJD6XZ.mjs} +1 -1
- package/dist/chunk-M2IRRTFM.mjs +79 -0
- package/dist/{chunk-Q5WACGVP.mjs → chunk-N4F3R6HG.mjs} +1 -1
- package/dist/{chunk-WQBOPCH6.mjs → chunk-ON5SGXHZ.mjs} +1 -1
- package/dist/chunk-OQS4LGZK.mjs +27 -0
- package/dist/{chunk-KCYJYS66.mjs → chunk-RCU5MLBU.mjs} +1 -1
- package/dist/chunk-RT5NKQX4.mjs +285 -0
- package/dist/{chunk-X2MQCISM.mjs → chunk-S65S7QZ5.mjs} +1 -1
- package/dist/chunk-SPX2BHO2.mjs +314 -0
- package/dist/{chunk-3AMZ55Y6.mjs → chunk-SSEQSF5F.mjs} +3 -3
- package/dist/{chunk-RRL6KBU4.mjs → chunk-U2YKMXVG.mjs} +1 -1
- package/dist/{chunk-VBFXKJTI.mjs → chunk-VRGHUYRU.mjs} +2 -2
- package/dist/{chunk-5S4XGPBB.mjs → chunk-VVOOYDJS.mjs} +1 -1
- package/dist/{chunk-FYJZ7Q5L.mjs → chunk-XIHAABHB.mjs} +1 -1
- package/dist/{chunk-CATOSBI7.mjs → chunk-YCMZELLD.mjs} +2 -2
- package/dist/{chunk-2HSK6XGZ.mjs → chunk-YZNQ2QGK.mjs} +1 -1
- package/dist/{chunk-P5WT7WJO.mjs → chunk-ZEZ6ZA3N.mjs} +1 -1
- package/dist/components/avatar/avatar.js +0 -9
- package/dist/components/avatar/avatar.mjs +2 -2
- package/dist/components/avatar/index.js +0 -9
- package/dist/components/avatar/index.mjs +2 -2
- package/dist/components/backdrop/backdrop.js +0 -9
- package/dist/components/backdrop/backdrop.mjs +2 -2
- package/dist/components/backdrop/index.js +0 -9
- package/dist/components/backdrop/index.mjs +2 -2
- package/dist/components/breadcrumb/breadcrumb.js +0 -9
- package/dist/components/breadcrumb/breadcrumb.mjs +2 -2
- package/dist/components/breadcrumb/index.js +0 -9
- package/dist/components/breadcrumb/index.mjs +2 -2
- package/dist/components/button/button-group.js +0 -9
- package/dist/components/button/button-group.mjs +2 -2
- package/dist/components/button/button.js +0 -9
- package/dist/components/button/button.mjs +2 -2
- package/dist/components/button/index.js +0 -9
- package/dist/components/button/index.mjs +3 -3
- package/dist/components/checkbox/checkbox.js +0 -9
- package/dist/components/checkbox/checkbox.mjs +2 -2
- package/dist/components/checkbox/index.js +0 -9
- package/dist/components/checkbox/index.mjs +2 -2
- package/dist/components/chip/chip.js +0 -9
- package/dist/components/chip/chip.mjs +2 -2
- package/dist/components/chip/index.js +0 -9
- package/dist/components/chip/index.mjs +2 -2
- package/dist/components/dateTimePicker/calendar.js +0 -9
- package/dist/components/dateTimePicker/calendar.mjs +2 -2
- package/dist/components/dateTimePicker/dateTimePicker.js +0 -9
- package/dist/components/dateTimePicker/dateTimePicker.mjs +7 -7
- package/dist/components/dateTimePicker/index.js +0 -9
- package/dist/components/dateTimePicker/index.mjs +7 -7
- package/dist/components/dateTimePicker/timePicker.js +0 -9
- package/dist/components/dateTimePicker/timePicker.mjs +5 -5
- package/dist/components/input/index.d.mts +1 -1
- package/dist/components/input/index.d.ts +1 -1
- package/dist/components/input/index.js +429 -379
- package/dist/components/input/index.mjs +3 -2
- package/dist/components/input/input.d.mts +96 -81
- package/dist/components/input/input.d.ts +96 -81
- package/dist/components/input/input.js +429 -379
- package/dist/components/input/input.mjs +3 -2
- package/dist/components/list/index.js +0 -9
- package/dist/components/list/index.mjs +4 -4
- package/dist/components/list/list.js +0 -9
- package/dist/components/list/list.mjs +2 -2
- package/dist/components/list/listItem.js +0 -9
- package/dist/components/list/listItem.mjs +3 -3
- package/dist/components/modal/index.js +0 -9
- package/dist/components/modal/index.mjs +4 -4
- package/dist/components/modal/modal.js +0 -9
- package/dist/components/modal/modal.mjs +4 -4
- package/dist/components/pagination/index.d.mts +1 -1
- package/dist/components/pagination/index.d.ts +1 -1
- package/dist/components/pagination/index.js +320 -292
- package/dist/components/pagination/index.mjs +5 -4
- package/dist/components/pagination/pagination.d.mts +39 -95
- package/dist/components/pagination/pagination.d.ts +39 -95
- package/dist/components/pagination/pagination.js +322 -296
- package/dist/components/pagination/pagination.mjs +7 -8
- package/dist/components/radio/index.js +0 -9
- package/dist/components/radio/index.mjs +2 -2
- package/dist/components/radio/radio.js +0 -9
- package/dist/components/radio/radio.mjs +2 -2
- package/dist/components/select/index.js +0 -9
- package/dist/components/select/index.mjs +3 -3
- package/dist/components/select/option.js +0 -9
- package/dist/components/select/option.mjs +2 -2
- package/dist/components/select/select.js +0 -9
- package/dist/components/select/select.mjs +3 -3
- package/dist/components/table/index.js +1193 -775
- package/dist/components/table/index.mjs +10 -5
- package/dist/components/table/table-body.d.mts +10 -16
- package/dist/components/table/table-body.d.ts +10 -16
- package/dist/components/table/table-body.js +54 -3792
- package/dist/components/table/table-body.mjs +3 -6
- package/dist/components/table/table-head.d.mts +4 -6
- package/dist/components/table/table-head.d.ts +4 -6
- package/dist/components/table/table-head.js +6 -44
- package/dist/components/table/table-head.mjs +3 -3
- package/dist/components/table/table.d.mts +91 -231
- package/dist/components/table/table.d.ts +91 -231
- package/dist/components/table/table.js +1193 -775
- package/dist/components/table/table.mjs +10 -5
- package/dist/components/tabs/index.js +0 -9
- package/dist/components/tabs/index.mjs +2 -2
- package/dist/components/tabs/tabs.js +0 -9
- package/dist/components/tabs/tabs.mjs +2 -2
- package/dist/components/toast/index.js +0 -9
- package/dist/components/toast/index.mjs +3 -3
- package/dist/components/toast/toast.js +0 -9
- package/dist/components/toast/toast.mjs +2 -2
- package/dist/components/toast/use-toast.js +0 -9
- package/dist/components/toast/use-toast.mjs +3 -3
- package/dist/components/tooltip/index.js +0 -9
- package/dist/components/tooltip/index.mjs +2 -2
- package/dist/components/tooltip/tooltip.js +0 -9
- package/dist/components/tooltip/tooltip.mjs +2 -2
- package/dist/index.js +822 -958
- package/dist/index.mjs +46 -46
- package/dist/utils/tailwind-variants.js +0 -9
- package/dist/utils/tailwind-variants.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-5IQKKLZY.mjs +0 -139
- package/dist/chunk-PFYYYUJW.mjs +0 -56
- package/dist/chunk-RQ76IOYC.mjs +0 -300
- package/dist/chunk-SK2A72R2.mjs +0 -263
- package/dist/chunk-YGOEKSNZ.mjs +0 -345
package/dist/chunk-YGOEKSNZ.mjs
DELETED
|
@@ -1,345 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
table_body_default
|
|
4
|
-
} from "./chunk-5IQKKLZY.mjs";
|
|
5
|
-
import {
|
|
6
|
-
table_head_default
|
|
7
|
-
} from "./chunk-PFYYYUJW.mjs";
|
|
8
|
-
import {
|
|
9
|
-
clsx
|
|
10
|
-
} from "./chunk-27Y6K5NK.mjs";
|
|
11
|
-
import {
|
|
12
|
-
mapPropsVariants
|
|
13
|
-
} from "./chunk-E3G5QXSH.mjs";
|
|
14
|
-
|
|
15
|
-
// src/components/table/table.tsx
|
|
16
|
-
import { forwardRef, useCallback, useEffect, useImperativeHandle, useMemo, useState } from "react";
|
|
17
|
-
import { tv } from "tailwind-variants";
|
|
18
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
19
|
-
var Table = forwardRef((originalProps, ref) => {
|
|
20
|
-
const [props, variantProps] = mapPropsVariants(originalProps, table.variantKeys);
|
|
21
|
-
const { classNames, rows, columns, className, emptyContent, loadingContent, onRowAction, ...tableComponentsProps } = props;
|
|
22
|
-
const [checkedRows, setCheckedRows] = useState(/* @__PURE__ */ new Set());
|
|
23
|
-
useImperativeHandle(ref, () => ({
|
|
24
|
-
checkedRows,
|
|
25
|
-
setCheckedRows
|
|
26
|
-
}));
|
|
27
|
-
useEffect(() => {
|
|
28
|
-
setCheckedRows(/* @__PURE__ */ new Set());
|
|
29
|
-
}, [rows]);
|
|
30
|
-
const slots = useMemo(() => table({ ...variantProps }), [...Object.values(variantProps)]);
|
|
31
|
-
const getBaseProps = useCallback(
|
|
32
|
-
(props2) => ({
|
|
33
|
-
...props2,
|
|
34
|
-
className: slots.base({ class: clsx(classNames == null ? void 0 : classNames.base) })
|
|
35
|
-
}),
|
|
36
|
-
[classNames == null ? void 0 : classNames.base, slots]
|
|
37
|
-
);
|
|
38
|
-
const getTableProps = useCallback(
|
|
39
|
-
(props2) => ({
|
|
40
|
-
...props2,
|
|
41
|
-
className: slots.table({ class: clsx(classNames == null ? void 0 : classNames.table) })
|
|
42
|
-
}),
|
|
43
|
-
[classNames == null ? void 0 : classNames.table, slots]
|
|
44
|
-
);
|
|
45
|
-
const getLoadingWrapperProps = useCallback(
|
|
46
|
-
(props2) => ({
|
|
47
|
-
...props2,
|
|
48
|
-
className: slots.loadingWrapper({ class: clsx(classNames == null ? void 0 : classNames.loadingWrapper) })
|
|
49
|
-
}),
|
|
50
|
-
[classNames == null ? void 0 : classNames.loadingWrapper, slots]
|
|
51
|
-
);
|
|
52
|
-
const handleCheckAll = (isChecked) => {
|
|
53
|
-
const newCheckedRows = isChecked ? new Set(rows.map((_, index) => index)) : /* @__PURE__ */ new Set();
|
|
54
|
-
setCheckedRows(newCheckedRows);
|
|
55
|
-
};
|
|
56
|
-
const handleCheckRow = (index) => {
|
|
57
|
-
const newCheckedRows = new Set(checkedRows);
|
|
58
|
-
if (newCheckedRows.has(index)) {
|
|
59
|
-
newCheckedRows.delete(index);
|
|
60
|
-
} else {
|
|
61
|
-
newCheckedRows.add(index);
|
|
62
|
-
}
|
|
63
|
-
setCheckedRows(newCheckedRows);
|
|
64
|
-
};
|
|
65
|
-
return /* @__PURE__ */ jsxs("div", { ref, "data-table": "base", ...getBaseProps(), children: [
|
|
66
|
-
/* @__PURE__ */ jsxs("table", { ...getTableProps(tableComponentsProps), children: [
|
|
67
|
-
/* @__PURE__ */ jsx(
|
|
68
|
-
table_head_default,
|
|
69
|
-
{
|
|
70
|
-
classNames,
|
|
71
|
-
slots,
|
|
72
|
-
columns,
|
|
73
|
-
size: originalProps.size,
|
|
74
|
-
color: originalProps.color === "neutral" ? "primary" : originalProps.color,
|
|
75
|
-
isChecked: originalProps.isChecked,
|
|
76
|
-
isExpanded: originalProps.isExpanded,
|
|
77
|
-
onCheckAll: handleCheckAll,
|
|
78
|
-
isCheckedAll: checkedRows.size === rows.length
|
|
79
|
-
}
|
|
80
|
-
),
|
|
81
|
-
/* @__PURE__ */ jsx(
|
|
82
|
-
table_body_default,
|
|
83
|
-
{
|
|
84
|
-
rows,
|
|
85
|
-
columns,
|
|
86
|
-
slots,
|
|
87
|
-
size: originalProps.size,
|
|
88
|
-
color: originalProps.color === "neutral" ? "primary" : originalProps.color,
|
|
89
|
-
isSelected: originalProps.isSelected,
|
|
90
|
-
isChecked: originalProps.isChecked,
|
|
91
|
-
isCheckedRow: originalProps.isCheckedRow,
|
|
92
|
-
isExpanded: originalProps.isExpanded,
|
|
93
|
-
classNames,
|
|
94
|
-
emptyContent,
|
|
95
|
-
checkedRows,
|
|
96
|
-
onCheckedRow: handleCheckRow,
|
|
97
|
-
onRowAction
|
|
98
|
-
}
|
|
99
|
-
)
|
|
100
|
-
] }),
|
|
101
|
-
rows.length > 0 && /* @__PURE__ */ jsx("div", { ...getLoadingWrapperProps(), children: loadingContent || "Loading..." })
|
|
102
|
-
] });
|
|
103
|
-
});
|
|
104
|
-
Table.displayName = "Table";
|
|
105
|
-
var table_default = Table;
|
|
106
|
-
var table = tv({
|
|
107
|
-
slots: {
|
|
108
|
-
base: "flex flex-col relative gap-4 select-none",
|
|
109
|
-
table: "w-full h-auto",
|
|
110
|
-
thead: "[&>tr]:first:rounded-lg",
|
|
111
|
-
tbody: "",
|
|
112
|
-
tr: ["group", "outline-none", "w-full"],
|
|
113
|
-
th: [
|
|
114
|
-
"text-foreground",
|
|
115
|
-
"!text-center",
|
|
116
|
-
"align-middle",
|
|
117
|
-
"whitespace-nowrap",
|
|
118
|
-
"font-normal",
|
|
119
|
-
"outline-none",
|
|
120
|
-
"pointer-events-none",
|
|
121
|
-
"data-[sortable=true]:transition-colors",
|
|
122
|
-
"data-[sortable=true]:cursor-pointer"
|
|
123
|
-
],
|
|
124
|
-
td: [
|
|
125
|
-
"relative",
|
|
126
|
-
"text-foreground",
|
|
127
|
-
"align-middle",
|
|
128
|
-
"whitespace-normal",
|
|
129
|
-
"outline-none",
|
|
130
|
-
"text-center",
|
|
131
|
-
"[&>*]:z-1",
|
|
132
|
-
"[&>*]:relative",
|
|
133
|
-
"transition duration-200",
|
|
134
|
-
"group-data-[disabled=true]:text-default-300"
|
|
135
|
-
],
|
|
136
|
-
tfoot: "",
|
|
137
|
-
expandedTr: "border-b",
|
|
138
|
-
sortIcon: [
|
|
139
|
-
"ml-2",
|
|
140
|
-
"mb-px",
|
|
141
|
-
"opacity-0",
|
|
142
|
-
"text-inherit",
|
|
143
|
-
"inline-block",
|
|
144
|
-
"transition-transform-opacity",
|
|
145
|
-
"data-[visible=true]:opacity-100",
|
|
146
|
-
"group-data-[hover=true]:opacity-100",
|
|
147
|
-
"data-[direction=ascending]:rotate-180"
|
|
148
|
-
],
|
|
149
|
-
emptyWrapper: "text-neutral-light align-middle text-center h-40",
|
|
150
|
-
loadingWrapper: [
|
|
151
|
-
"absolute",
|
|
152
|
-
"inset-0",
|
|
153
|
-
"flex",
|
|
154
|
-
"items-center",
|
|
155
|
-
"justify-center",
|
|
156
|
-
"bg-black/40",
|
|
157
|
-
"text-white",
|
|
158
|
-
"transition-opacity",
|
|
159
|
-
"duration-200",
|
|
160
|
-
"ease-in-out",
|
|
161
|
-
"cursor-default"
|
|
162
|
-
]
|
|
163
|
-
},
|
|
164
|
-
variants: {
|
|
165
|
-
variant: {
|
|
166
|
-
solid: {
|
|
167
|
-
tbody: "[&>tr]:border-b"
|
|
168
|
-
},
|
|
169
|
-
stripe: {
|
|
170
|
-
thead: "border-t border-b"
|
|
171
|
-
},
|
|
172
|
-
line: {
|
|
173
|
-
tr: "border-b",
|
|
174
|
-
thead: "border-t-2"
|
|
175
|
-
}
|
|
176
|
-
},
|
|
177
|
-
size: {
|
|
178
|
-
sm: {
|
|
179
|
-
tr: "h-[30px] text-sm"
|
|
180
|
-
},
|
|
181
|
-
md: {
|
|
182
|
-
tr: "h-[40px] text-md"
|
|
183
|
-
},
|
|
184
|
-
lg: {
|
|
185
|
-
tr: "h-[50px] text-lg"
|
|
186
|
-
},
|
|
187
|
-
xl: {
|
|
188
|
-
tr: "h-[50px] text-xl"
|
|
189
|
-
}
|
|
190
|
-
},
|
|
191
|
-
color: {
|
|
192
|
-
primary: {
|
|
193
|
-
thead: "border-primary-dark",
|
|
194
|
-
tr: "border-primary-light",
|
|
195
|
-
td: "group-hover:bg-primary-soft",
|
|
196
|
-
expandedTr: "border-primary-light"
|
|
197
|
-
},
|
|
198
|
-
secondary: {
|
|
199
|
-
thead: "border-secondary-dark",
|
|
200
|
-
tr: "border-secondary-light",
|
|
201
|
-
td: "group-hover:bg-secondary-soft",
|
|
202
|
-
expandedTr: "border-secondary-light"
|
|
203
|
-
},
|
|
204
|
-
neutral: {
|
|
205
|
-
thead: "border-neutral-dark",
|
|
206
|
-
tr: "border-trans-light",
|
|
207
|
-
td: "group-hover:bg-trans-soft",
|
|
208
|
-
expandedTr: "border-trans-light"
|
|
209
|
-
}
|
|
210
|
-
},
|
|
211
|
-
isLoading: {
|
|
212
|
-
true: {
|
|
213
|
-
loadingWrapper: "visible opacity-100"
|
|
214
|
-
},
|
|
215
|
-
false: {
|
|
216
|
-
loadingWrapper: "invisible opacity-0"
|
|
217
|
-
}
|
|
218
|
-
},
|
|
219
|
-
isSelected: {
|
|
220
|
-
true: {}
|
|
221
|
-
},
|
|
222
|
-
isMultiSelect: {
|
|
223
|
-
true: {}
|
|
224
|
-
},
|
|
225
|
-
isChecked: {
|
|
226
|
-
true: {}
|
|
227
|
-
},
|
|
228
|
-
isCheckedRow: {
|
|
229
|
-
true: {
|
|
230
|
-
tr: "cursor-pointer"
|
|
231
|
-
}
|
|
232
|
-
},
|
|
233
|
-
hideHeader: {
|
|
234
|
-
true: {
|
|
235
|
-
thead: "hidden"
|
|
236
|
-
}
|
|
237
|
-
},
|
|
238
|
-
isCompact: {
|
|
239
|
-
true: {
|
|
240
|
-
td: "py-1"
|
|
241
|
-
},
|
|
242
|
-
false: {}
|
|
243
|
-
},
|
|
244
|
-
isHeaderSticky: {
|
|
245
|
-
true: {
|
|
246
|
-
thead: "sticky top-0 z-20 [&>tr]:first:shadow-small"
|
|
247
|
-
}
|
|
248
|
-
},
|
|
249
|
-
isExpanded: {
|
|
250
|
-
true: {
|
|
251
|
-
tr: "cursor-pointer"
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
},
|
|
255
|
-
defaultVariants: {
|
|
256
|
-
layout: "auto",
|
|
257
|
-
color: "primary",
|
|
258
|
-
variant: "solid",
|
|
259
|
-
size: "md",
|
|
260
|
-
isChecked: false,
|
|
261
|
-
isExpanded: false,
|
|
262
|
-
isCompact: false,
|
|
263
|
-
hideHeader: false,
|
|
264
|
-
isStriped: false,
|
|
265
|
-
fullWidth: false
|
|
266
|
-
},
|
|
267
|
-
compoundVariants: [
|
|
268
|
-
{
|
|
269
|
-
variant: "solid",
|
|
270
|
-
color: "primary",
|
|
271
|
-
class: {
|
|
272
|
-
thead: "[&>tr]:bg-primary-light",
|
|
273
|
-
tr: ["data-[expanded=true]:bg-primary-soft", "data-[selected=true]:bg-primary-soft"]
|
|
274
|
-
}
|
|
275
|
-
},
|
|
276
|
-
{
|
|
277
|
-
variant: "solid",
|
|
278
|
-
color: "secondary",
|
|
279
|
-
class: {
|
|
280
|
-
thead: "[&>tr]:bg-secondary-light",
|
|
281
|
-
tr: ["data-[expanded=true]:bg-secondary-soft", "data-[selected=true]:bg-secondary-soft"]
|
|
282
|
-
}
|
|
283
|
-
},
|
|
284
|
-
{
|
|
285
|
-
variant: "solid",
|
|
286
|
-
color: "neutral",
|
|
287
|
-
class: {
|
|
288
|
-
thead: "[&>tr]:bg-trans-light",
|
|
289
|
-
tr: ["data-[expanded=true]:bg-neutral-soft", "data-[selected=true]:bg-neutral-soft"]
|
|
290
|
-
}
|
|
291
|
-
},
|
|
292
|
-
{
|
|
293
|
-
variant: "line",
|
|
294
|
-
color: "primary",
|
|
295
|
-
class: {
|
|
296
|
-
thead: "border-primary-light",
|
|
297
|
-
tr: ["data-[expanded=true]:bg-primary-soft", "data-[selected=true]:bg-primary-soft"]
|
|
298
|
-
}
|
|
299
|
-
},
|
|
300
|
-
{
|
|
301
|
-
variant: "line",
|
|
302
|
-
color: "secondary",
|
|
303
|
-
class: {
|
|
304
|
-
thead: "border-secondary-light",
|
|
305
|
-
tr: ["data-[expanded=true]:bg-secondary-soft", "data-[selected=true]:bg-secondary-soft"]
|
|
306
|
-
}
|
|
307
|
-
},
|
|
308
|
-
{
|
|
309
|
-
variant: "line",
|
|
310
|
-
color: "neutral",
|
|
311
|
-
class: {
|
|
312
|
-
thead: "border-trans-light",
|
|
313
|
-
tr: ["data-[expanded=true]:bg-neutral-soft", "data-[selected=true]:bg-neutral-soft"]
|
|
314
|
-
}
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
variant: "stripe",
|
|
318
|
-
color: "primary",
|
|
319
|
-
class: {
|
|
320
|
-
tr: "data-[odd=true]:bg-primary-soft",
|
|
321
|
-
td: "group-hover:bg-primary-light"
|
|
322
|
-
}
|
|
323
|
-
},
|
|
324
|
-
{
|
|
325
|
-
variant: "stripe",
|
|
326
|
-
color: "secondary",
|
|
327
|
-
class: {
|
|
328
|
-
tr: "data-[odd=true]:bg-secondary-soft",
|
|
329
|
-
td: "group-hover:bg-secondary-light"
|
|
330
|
-
}
|
|
331
|
-
},
|
|
332
|
-
{
|
|
333
|
-
variant: "stripe",
|
|
334
|
-
color: "neutral",
|
|
335
|
-
class: {
|
|
336
|
-
tr: "data-[odd=true]:bg-trans-soft",
|
|
337
|
-
td: "group-hover:bg-neutral-light"
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
]
|
|
341
|
-
});
|
|
342
|
-
|
|
343
|
-
export {
|
|
344
|
-
table_default
|
|
345
|
-
};
|