@deepnoid/ui 0.1.143 → 0.1.145
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 +161 -161
- package/dist/{chunk-MCBAEW2Q.mjs → chunk-2CLPU5LR.mjs} +1 -1
- package/dist/{chunk-YYL4LXS7.mjs → chunk-3D5ZOAUR.mjs} +4 -4
- package/dist/{chunk-P3PXIJTU.mjs → chunk-3IILPVRA.mjs} +1 -1
- package/dist/{chunk-2TDHQLVV.mjs → chunk-4DESGO3D.mjs} +1 -1
- package/dist/{chunk-GBVRYEVP.mjs → chunk-5HMTKXVV.mjs} +1 -1
- package/dist/{chunk-4ED5G3HR.mjs → chunk-5PJMKFMX.mjs} +1 -1
- package/dist/{chunk-QQMJQSD7.mjs → chunk-6EMUORXZ.mjs} +1 -1
- package/dist/{chunk-Y6TPXGN2.mjs → chunk-6F4GD2PP.mjs} +1 -1
- package/dist/{chunk-GXU7XPZX.mjs → chunk-7HWPWDYW.mjs} +2 -2
- package/dist/{chunk-IW2MDZBW.mjs → chunk-AF4I7ZQS.mjs} +1 -1
- package/dist/{chunk-76QIZILI.mjs → chunk-CDXBML6O.mjs} +3 -6
- package/dist/{chunk-FYDSBMWH.mjs → chunk-CSZQLOP5.mjs} +2 -2
- package/dist/{chunk-XL3K55LE.mjs → chunk-EKLA6ZR4.mjs} +1 -1
- package/dist/{chunk-DRFO5P44.mjs → chunk-EOP4227J.mjs} +1 -1
- package/dist/{chunk-IHLCZM5T.mjs → chunk-GCVS5SLN.mjs} +1 -1
- package/dist/{chunk-BTXDP4WR.mjs → chunk-H3UI2ZNK.mjs} +1 -1
- package/dist/{chunk-3U5NJTRH.mjs → chunk-H6JGLPPF.mjs} +1 -1
- package/dist/{chunk-CVXLLXLE.mjs → chunk-I3ADJOUT.mjs} +1 -1
- package/dist/{chunk-GUTGDPXH.mjs → chunk-ITWKPTSD.mjs} +1 -1
- package/dist/{chunk-LMQR4BWD.mjs → chunk-J64OQUOI.mjs} +3 -3
- package/dist/{chunk-OEFILEL3.mjs → chunk-JGQ5MLQ7.mjs} +1 -1
- package/dist/{chunk-T3BUL253.mjs → chunk-JZMJ5UMR.mjs} +1 -1
- package/dist/{chunk-J26Y2G5W.mjs → chunk-LWSGRTWO.mjs} +2 -2
- package/dist/{chunk-BQ2HWORN.mjs → chunk-M523N4SD.mjs} +6 -6
- package/dist/{chunk-BBRPAQON.mjs → chunk-NBJHZ4X2.mjs} +1 -1
- package/dist/{chunk-SDUDU3CU.mjs → chunk-Q364C3FI.mjs} +1 -1
- package/dist/{chunk-STDK4DIP.mjs → chunk-QW7T3V5O.mjs} +25 -19
- package/dist/{chunk-5XV45JBV.mjs → chunk-S7Y7XUBL.mjs} +1 -1
- package/dist/{chunk-NCK5E2NL.mjs → chunk-U2MHQYVG.mjs} +1 -1
- package/dist/{chunk-UZBMLAXN.mjs → chunk-U7L6Q5QY.mjs} +58 -49
- package/dist/{chunk-YLHM5XCF.mjs → chunk-UMMZ7NI5.mjs} +1 -1
- package/dist/{chunk-TWDIAH3Z.mjs → chunk-UOVPR2VJ.mjs} +1 -1
- package/dist/{chunk-MG62SPLM.mjs → chunk-V4QN7YF6.mjs} +2 -2
- package/dist/{chunk-JOHU56C6.mjs → chunk-WD5NOXWK.mjs} +1 -1
- package/dist/{chunk-3CW4WUMY.mjs → chunk-WYEUAXY7.mjs} +1 -1
- package/dist/{chunk-YGOX6FBU.mjs → chunk-YBVJFHH6.mjs} +1 -1
- package/dist/components/accordion/accordion.mjs +2 -2
- package/dist/components/accordion/accordionItem.mjs +2 -2
- package/dist/components/accordion/index.mjs +3 -3
- package/dist/components/avatar/avatar.mjs +2 -2
- package/dist/components/avatar/index.mjs +2 -2
- 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-group.mjs +2 -2
- package/dist/components/button/button.mjs +2 -2
- package/dist/components/button/icon-button.mjs +2 -2
- 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 +5 -5
- package/dist/components/charts/radarChart.mjs +2 -2
- 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/drawer/drawer.mjs +2 -2
- package/dist/components/drawer/index.mjs +2 -2
- package/dist/components/fileUpload/fileUpload.mjs +8 -8
- package/dist/components/fileUpload/index.mjs +8 -8
- package/dist/components/input/index.mjs +2 -2
- package/dist/components/input/input.mjs +2 -2
- package/dist/components/list/index.mjs +4 -4
- package/dist/components/list/list.mjs +2 -2
- package/dist/components/list/listItem.mjs +3 -3
- package/dist/components/modal/index.mjs +7 -7
- package/dist/components/modal/modal.mjs +7 -7
- package/dist/components/pagination/index.mjs +3 -3
- package/dist/components/pagination/pagination.mjs +3 -3
- package/dist/components/picker/datePicker.mjs +8 -8
- package/dist/components/picker/day.mjs +2 -2
- package/dist/components/picker/index.mjs +10 -10
- package/dist/components/picker/timePicker.mjs +3 -3
- package/dist/components/progress/index.mjs +2 -2
- package/dist/components/progress/progress.mjs +2 -2
- package/dist/components/radio/index.js +24 -18
- package/dist/components/radio/index.mjs +2 -2
- package/dist/components/radio/radio.d.mts +15 -0
- package/dist/components/radio/radio.d.ts +15 -0
- package/dist/components/radio/radio.js +24 -18
- package/dist/components/radio/radio.mjs +2 -2
- package/dist/components/select/index.mjs +2 -2
- package/dist/components/select/select.mjs +2 -2
- package/dist/components/table/definition-table.mjs +2 -2
- package/dist/components/table/form-table.mjs +1 -1
- package/dist/components/table/index.js +56 -47
- package/dist/components/table/index.mjs +6 -6
- package/dist/components/table/table-body.js +56 -47
- package/dist/components/table/table-body.mjs +5 -5
- package/dist/components/table/table-head.js +56 -47
- package/dist/components/table/table-head.mjs +5 -5
- package/dist/components/table/table.d.mts +3 -0
- package/dist/components/table/table.d.ts +3 -0
- package/dist/components/table/table.js +56 -47
- package/dist/components/table/table.mjs +5 -5
- package/dist/components/tabs/index.mjs +2 -2
- package/dist/components/tabs/tabs.mjs +2 -2
- package/dist/components/timePicker/calendar.mjs +1 -1
- 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.js +83 -71
- package/dist/index.mjs +42 -42
- package/dist/utils/tailwind-variants.mjs +1 -1
- package/package.json +1 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
progress_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2CLPU5LR.mjs";
|
|
5
5
|
import {
|
|
6
6
|
input_default
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WD5NOXWK.mjs";
|
|
8
8
|
import {
|
|
9
9
|
button_default
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6F4GD2PP.mjs";
|
|
11
11
|
import {
|
|
12
12
|
icon_button_default
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-WYEUAXY7.mjs";
|
|
14
14
|
|
|
15
15
|
// src/components/fileUpload/fileUpload.tsx
|
|
16
16
|
import { useRef, useState, useEffect } from "react";
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
} from "./chunk-E3G5QXSH.mjs";
|
|
8
8
|
import {
|
|
9
9
|
avatar_default
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-H3UI2ZNK.mjs";
|
|
11
11
|
import {
|
|
12
12
|
tv
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-CDXBML6O.mjs";
|
|
14
14
|
|
|
15
15
|
// src/components/list/listItem.tsx
|
|
16
16
|
import { forwardRef, useMemo } from "react";
|
|
@@ -468,8 +468,7 @@ var scrollbar = {
|
|
|
468
468
|
height: "6px"
|
|
469
469
|
},
|
|
470
470
|
"&::-webkit-scrollbar-thumb": {
|
|
471
|
-
backgroundColor: "
|
|
472
|
-
// "rgba(0, 0, 0, 0.05)",
|
|
471
|
+
backgroundColor: "rgba(0, 0, 0, 0.05)",
|
|
473
472
|
borderRadius: "100px"
|
|
474
473
|
},
|
|
475
474
|
"&::-webkit-scrollbar-track": {
|
|
@@ -482,8 +481,7 @@ var scrollbar = {
|
|
|
482
481
|
height: "8px"
|
|
483
482
|
},
|
|
484
483
|
"&::-webkit-scrollbar-thumb": {
|
|
485
|
-
backgroundColor: "
|
|
486
|
-
// "rgba(0, 0, 0, 0.05)",
|
|
484
|
+
backgroundColor: "rgba(0, 0, 0, 0.05)",
|
|
487
485
|
borderRadius: "100px"
|
|
488
486
|
},
|
|
489
487
|
"&::-webkit-scrollbar-track": {
|
|
@@ -496,8 +494,7 @@ var scrollbar = {
|
|
|
496
494
|
height: "10px"
|
|
497
495
|
},
|
|
498
496
|
"&::-webkit-scrollbar-thumb": {
|
|
499
|
-
backgroundColor: "
|
|
500
|
-
// "rgba(0, 0, 0, 0.05)",
|
|
497
|
+
backgroundColor: "rgba(0, 0, 0, 0.05)",
|
|
501
498
|
borderRadius: "100px"
|
|
502
499
|
},
|
|
503
500
|
"&::-webkit-scrollbar-track": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
select_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5HMTKXVV.mjs";
|
|
5
5
|
import {
|
|
6
6
|
Icon_default
|
|
7
7
|
} from "./chunk-Q6BXFXQM.mjs";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-E3G5QXSH.mjs";
|
|
11
11
|
import {
|
|
12
12
|
tv
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-CDXBML6O.mjs";
|
|
14
14
|
import {
|
|
15
15
|
clsx
|
|
16
16
|
} from "./chunk-27Y6K5NK.mjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
backdrop_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-AF4I7ZQS.mjs";
|
|
5
5
|
import {
|
|
6
6
|
button_default
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6F4GD2PP.mjs";
|
|
8
8
|
import {
|
|
9
9
|
Icon_default
|
|
10
10
|
} from "./chunk-Q6BXFXQM.mjs";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-E3G5QXSH.mjs";
|
|
14
14
|
import {
|
|
15
15
|
tv
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-CDXBML6O.mjs";
|
|
17
17
|
|
|
18
18
|
// src/components/modal/modal.tsx
|
|
19
19
|
import { forwardRef, useMemo, useEffect } from "react";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
text_button_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-Q364C3FI.mjs";
|
|
5
5
|
import {
|
|
6
6
|
Icon_default
|
|
7
7
|
} from "./chunk-Q6BXFXQM.mjs";
|
|
8
8
|
import {
|
|
9
9
|
tv
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CDXBML6O.mjs";
|
|
11
11
|
|
|
12
12
|
// src/components/breadcrumb/breadcrumb.tsx
|
|
13
13
|
import { forwardRef, useMemo } from "react";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
day_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4DESGO3D.mjs";
|
|
5
5
|
import {
|
|
6
6
|
formatDateToString,
|
|
7
7
|
formatStringToDate
|
|
8
8
|
} from "./chunk-FWFEKWWD.mjs";
|
|
9
9
|
import {
|
|
10
10
|
input_default
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WD5NOXWK.mjs";
|
|
12
12
|
import {
|
|
13
13
|
text_button_default
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-Q364C3FI.mjs";
|
|
15
15
|
import {
|
|
16
16
|
button_default
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6F4GD2PP.mjs";
|
|
18
18
|
import {
|
|
19
19
|
icon_button_default
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-WYEUAXY7.mjs";
|
|
21
21
|
import {
|
|
22
22
|
Icon_default
|
|
23
23
|
} from "./chunk-Q6BXFXQM.mjs";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./chunk-E3G5QXSH.mjs";
|
|
27
27
|
import {
|
|
28
28
|
tv
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-CDXBML6O.mjs";
|
|
30
30
|
|
|
31
31
|
// src/components/picker/datePicker.tsx
|
|
32
32
|
import {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-E3G5QXSH.mjs";
|
|
5
5
|
import {
|
|
6
6
|
tv
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CDXBML6O.mjs";
|
|
8
8
|
import {
|
|
9
9
|
clsx
|
|
10
10
|
} from "./chunk-27Y6K5NK.mjs";
|
|
@@ -25,7 +25,10 @@ var Radio = forwardRef((originalProps, ref) => {
|
|
|
25
25
|
),
|
|
26
26
|
children: [
|
|
27
27
|
/* @__PURE__ */ jsx("div", { className: "hidden", children: /* @__PURE__ */ jsx("input", { ...inputProps, type: "radio", ref }) }),
|
|
28
|
-
/* @__PURE__ */
|
|
28
|
+
/* @__PURE__ */ jsxs("div", { className: slots.radioWrapper({ class: classNames == null ? void 0 : classNames.radioWrapper }), children: [
|
|
29
|
+
/* @__PURE__ */ jsx("span", { className: slots.outerDot({ class: classNames == null ? void 0 : classNames.outerDot }) }),
|
|
30
|
+
/* @__PURE__ */ jsx("span", { className: slots.innerDot({ class: classNames == null ? void 0 : classNames.innerDot }) })
|
|
31
|
+
] }),
|
|
29
32
|
/* @__PURE__ */ jsx("div", { className: slots.labelWrapper({ class: classNames == null ? void 0 : classNames.labelWrapper }), children: children && /* @__PURE__ */ jsx("span", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), children }) })
|
|
30
33
|
]
|
|
31
34
|
}
|
|
@@ -45,26 +48,26 @@ var radioStyle = tv({
|
|
|
45
48
|
"cursor-pointer",
|
|
46
49
|
"tap-highlight-transparent"
|
|
47
50
|
],
|
|
51
|
+
radioWrapper: ["relative", "flex-shrink-0"],
|
|
48
52
|
outerDot: [
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"h-[15px]",
|
|
53
|
+
"absolute",
|
|
54
|
+
"top-1/2",
|
|
55
|
+
"left-1/2",
|
|
56
|
+
"-translate-x-1/2",
|
|
57
|
+
"-translate-y-1/2",
|
|
58
|
+
"z-[1]",
|
|
56
59
|
"rounded-full",
|
|
57
60
|
"border",
|
|
58
61
|
"border-default",
|
|
59
|
-
"
|
|
60
|
-
"before:absolute",
|
|
61
|
-
"before:inset-0",
|
|
62
|
-
"before:rounded-full"
|
|
62
|
+
"bg-white"
|
|
63
63
|
],
|
|
64
64
|
innerDot: [
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
65
|
+
"absolute",
|
|
66
|
+
"top-1/2",
|
|
67
|
+
"left-1/2",
|
|
68
|
+
"-translate-x-1/2",
|
|
69
|
+
"-translate-y-1/2",
|
|
70
|
+
"z-[2]",
|
|
68
71
|
"rounded-full",
|
|
69
72
|
"bg-primary-main",
|
|
70
73
|
"opacity-0",
|
|
@@ -79,7 +82,6 @@ var radioStyle = tv({
|
|
|
79
82
|
color: {
|
|
80
83
|
primary: {
|
|
81
84
|
outerDot: [
|
|
82
|
-
"group-has-[:checked]/radio:border-primary-main",
|
|
83
85
|
"group-has-[:checked]/radio:border-primary-main",
|
|
84
86
|
"group-hover/radio:border-primary-light",
|
|
85
87
|
"group-hover/radio:bg-primary-soft"
|
|
@@ -106,25 +108,29 @@ var radioStyle = tv({
|
|
|
106
108
|
size: {
|
|
107
109
|
sm: {
|
|
108
110
|
base: ["gap-[8px]"],
|
|
111
|
+
radioWrapper: ["w-[12px]", "h-[12px]"],
|
|
109
112
|
outerDot: ["w-[12px]", "h-[12px]", "border-sm"],
|
|
110
113
|
innerDot: ["w-[6px]", "h-[6px]"],
|
|
111
114
|
label: ["text-sm"]
|
|
112
115
|
},
|
|
113
116
|
md: {
|
|
114
117
|
base: ["gap-[8px]"],
|
|
115
|
-
|
|
118
|
+
radioWrapper: ["w-[14px]", "h-[14px]"],
|
|
119
|
+
outerDot: ["w-[14px]", "h-[14px]", "border-md"],
|
|
116
120
|
innerDot: ["w-[8px]", "h-[8px]"],
|
|
117
121
|
label: ["text-md"]
|
|
118
122
|
},
|
|
119
123
|
lg: {
|
|
120
124
|
base: ["gap-[10px]"],
|
|
125
|
+
radioWrapper: ["w-[18px]", "h-[18px]"],
|
|
121
126
|
outerDot: ["w-[18px]", "h-[18px]", "border-lg"],
|
|
122
127
|
innerDot: ["w-[10px]", "h-[10px]"],
|
|
123
128
|
label: ["text-lg"]
|
|
124
129
|
},
|
|
125
130
|
xl: {
|
|
126
131
|
base: ["gap-[10px]"],
|
|
127
|
-
|
|
132
|
+
radioWrapper: ["w-[22px]", "h-[22px]"],
|
|
133
|
+
outerDot: ["w-[22px]", "h-[22px]", "border-xl"],
|
|
128
134
|
innerDot: ["w-[12px]", "h-[12px]"],
|
|
129
135
|
label: ["text-xl"]
|
|
130
136
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
pagination_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-V4QN7YF6.mjs";
|
|
5
5
|
import {
|
|
6
6
|
scrollArea_default
|
|
7
7
|
} from "./chunk-M37VBNB3.mjs";
|
|
8
8
|
import {
|
|
9
9
|
checkbox_default
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-H6JGLPPF.mjs";
|
|
11
11
|
import {
|
|
12
12
|
mapPropsVariants
|
|
13
13
|
} from "./chunk-E3G5QXSH.mjs";
|
|
@@ -173,52 +173,60 @@ var Table = forwardRef((originalProps, ref) => {
|
|
|
173
173
|
[variantProps, onRowClick]
|
|
174
174
|
);
|
|
175
175
|
return /* @__PURE__ */ jsxs2("div", { "data-table": "base", className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
|
|
176
|
-
/* @__PURE__ */ jsxs2(
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
176
|
+
/* @__PURE__ */ jsxs2(
|
|
177
|
+
scrollArea_default,
|
|
178
|
+
{
|
|
179
|
+
direction: "both",
|
|
180
|
+
size: size === "xl" ? "lg" : size,
|
|
181
|
+
className: slots.scroll({ class: classNames == null ? void 0 : classNames.scroll }),
|
|
182
|
+
children: [
|
|
183
|
+
/* @__PURE__ */ jsxs2(
|
|
184
|
+
"table",
|
|
185
|
+
{
|
|
186
|
+
className: slots.table({ class: classNames == null ? void 0 : classNames.table }),
|
|
187
|
+
style: {
|
|
188
|
+
tableLayout: "fixed",
|
|
189
|
+
width: "100%",
|
|
190
|
+
minWidth: `${tableMinWidth}px`
|
|
191
|
+
},
|
|
192
|
+
children: [
|
|
193
|
+
/* @__PURE__ */ jsx2(
|
|
194
|
+
table_head_default,
|
|
195
|
+
{
|
|
196
|
+
columns,
|
|
197
|
+
size,
|
|
198
|
+
color,
|
|
199
|
+
rowCheckbox,
|
|
200
|
+
hasCheckedRows: rows.length > 0 && rows.every((row) => checkedRowIds.has(row.id)),
|
|
201
|
+
onCheckAll: handleAllRowCheck,
|
|
202
|
+
classNames,
|
|
203
|
+
slots
|
|
204
|
+
}
|
|
205
|
+
),
|
|
206
|
+
/* @__PURE__ */ jsx2(
|
|
207
|
+
table_body_default,
|
|
208
|
+
{
|
|
209
|
+
slots,
|
|
210
|
+
rows,
|
|
211
|
+
columns,
|
|
212
|
+
size,
|
|
213
|
+
color,
|
|
214
|
+
rowCheckbox,
|
|
215
|
+
checkedRows: checkedRowIds,
|
|
216
|
+
onCheckRow: handleRowCheck,
|
|
217
|
+
onRowClick: handleRowClick,
|
|
218
|
+
isLoading,
|
|
219
|
+
emptyContent,
|
|
220
|
+
classNames
|
|
221
|
+
}
|
|
222
|
+
)
|
|
223
|
+
]
|
|
224
|
+
}
|
|
225
|
+
),
|
|
226
|
+
isLoading && /* @__PURE__ */ jsx2("div", { className: slots.overlay({ class: classNames == null ? void 0 : classNames.overlay }) })
|
|
227
|
+
]
|
|
228
|
+
}
|
|
229
|
+
),
|
|
222
230
|
showPagination && /* @__PURE__ */ jsx2("div", { className: "flex justify-center", children: /* @__PURE__ */ jsx2(
|
|
223
231
|
pagination_default,
|
|
224
232
|
{
|
|
@@ -240,7 +248,8 @@ Table.displayName = "Table";
|
|
|
240
248
|
var table_default = Table;
|
|
241
249
|
var tableStyle = tv({
|
|
242
250
|
slots: {
|
|
243
|
-
base: ["flex", "flex-col", "relative", "select-none", "gap-[20px]"],
|
|
251
|
+
base: ["flex", "flex-col", "relative", "select-none", "gap-[20px]", "min-h-[calc(100vh+46px)]"],
|
|
252
|
+
scroll: ["max-h-screen", "overflow-y-auto"],
|
|
244
253
|
table: ["w-full", "h-auto"],
|
|
245
254
|
thead: ["w-full"],
|
|
246
255
|
tbody: ["w-full"],
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-ZOTHPHXA.mjs";
|
|
5
5
|
import {
|
|
6
6
|
toast_default
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-EOP4227J.mjs";
|
|
8
8
|
|
|
9
9
|
// src/components/toast/use-toast.tsx
|
|
10
10
|
import { createContext, useContext, useState, useCallback, useEffect, useRef } from "react";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-F3HENRVM.mjs";
|
|
5
5
|
import {
|
|
6
6
|
input_default
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WD5NOXWK.mjs";
|
|
8
8
|
import {
|
|
9
9
|
Icon_default
|
|
10
10
|
} from "./chunk-Q6BXFXQM.mjs";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-E3G5QXSH.mjs";
|
|
14
14
|
import {
|
|
15
15
|
tv
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-CDXBML6O.mjs";
|
|
17
17
|
import {
|
|
18
18
|
clsx
|
|
19
19
|
} from "./chunk-27Y6K5NK.mjs";
|