@deepnoid/ui 0.0.93 → 0.0.95
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-6YE26GOI.mjs → chunk-JWFWFBQM.mjs} +1 -1
- package/dist/{chunk-DWROPKZW.mjs → chunk-PR277HT5.mjs} +3 -2
- package/dist/{chunk-L7P6OBUX.mjs → chunk-PRLGHYFO.mjs} +2 -2
- package/dist/{chunk-3DRIHQOM.mjs → chunk-ZNEEYSIK.mjs} +1 -1
- package/dist/components/accordion/accordion.test.mjs +3 -3
- package/dist/components/button/button-group.test.mjs +3 -3
- package/dist/components/button/button.test.mjs +3 -3
- package/dist/components/checkbox/checkbox.test.mjs +3 -3
- package/dist/components/input/index.js +1 -1
- package/dist/components/input/index.mjs +1 -1
- package/dist/components/input/input.js +1 -1
- package/dist/components/input/input.mjs +1 -1
- package/dist/components/input/input.test.js +1 -1
- package/dist/components/input/input.test.mjs +2 -2
- package/dist/components/modal/index.js +2 -2
- package/dist/components/modal/index.mjs +1 -1
- package/dist/components/modal/modal.js +2 -2
- package/dist/components/modal/modal.mjs +1 -1
- package/dist/components/modal/modal.test.js +2 -2
- package/dist/components/modal/modal.test.mjs +2 -2
- package/dist/components/select/index.mjs +2 -2
- package/dist/components/select/select.mjs +2 -2
- package/dist/components/select/select.test.mjs +5 -5
- package/dist/components/table/index.js +3 -2
- package/dist/components/table/index.mjs +2 -2
- package/dist/components/table/table-body.js +3 -2
- package/dist/components/table/table-body.mjs +1 -1
- package/dist/components/table/table.js +3 -2
- package/dist/components/table/table.mjs +2 -2
- package/dist/components/table/table.test.js +3 -2
- package/dist/components/table/table.test.mjs +2 -2
- package/dist/components/tabs/tabs.test.mjs +3 -3
- package/dist/components/textarea/textarea.test.mjs +1 -1
- package/dist/components/tooltip/tooltip.test.mjs +3 -3
- package/dist/index.js +7 -6
- package/dist/index.mjs +39 -39
- package/package.json +1 -1
- package/dist/{chunk-JN7EGKJL.mjs → chunk-2BCJZILI.mjs} +3 -3
|
@@ -92,13 +92,14 @@ var TableBody = ({
|
|
|
92
92
|
});
|
|
93
93
|
};
|
|
94
94
|
const handleRowClick = (index) => (e) => {
|
|
95
|
+
var _a;
|
|
95
96
|
e.stopPropagation();
|
|
96
97
|
e.preventDefault();
|
|
97
98
|
if (isExpanded) onChangeExpandedRow(index);
|
|
98
99
|
if (isSelected && isSelectedRow) onSelectRow(index);
|
|
99
100
|
const row = rows[index];
|
|
100
|
-
if (row
|
|
101
|
-
onRowAction == null ? void 0 :
|
|
101
|
+
if (row) {
|
|
102
|
+
(_a = row.onRowAction) == null ? void 0 : _a.call(row, e, row);
|
|
102
103
|
}
|
|
103
104
|
};
|
|
104
105
|
return /* @__PURE__ */ jsx("tbody", { ...getTbodyProps(), children: rows.length > 0 ? rows.map((row, rowIndex) => {
|
|
@@ -151,7 +151,7 @@ var modal = tv({
|
|
|
151
151
|
slots: {
|
|
152
152
|
backdrop: ["relative w-screen h-screen fixed inset-0 bg-black/60", "z-[900]"],
|
|
153
153
|
modalWrapper: ["group/modal", "absolute", "top-1/2", "-translate-y-1/2", "left-1/2", "-translate-x-1/2"],
|
|
154
|
-
icon: ["absolute", "top-[
|
|
154
|
+
icon: ["absolute", "top-[-40px]", "left-1/2", "-translate-x-1/2", "z-10"],
|
|
155
155
|
closeIcon: [
|
|
156
156
|
"absolute",
|
|
157
157
|
"top-[20px]",
|
|
@@ -170,7 +170,7 @@ var modal = tv({
|
|
|
170
170
|
"bg-background",
|
|
171
171
|
"shadow-drop shadow-foreground/20 rounded-xxlg",
|
|
172
172
|
"overflow-hidden",
|
|
173
|
-
"group-data-[icon-visibility=true]/modal:mt-[
|
|
173
|
+
"group-data-[icon-visibility=true]/modal:mt-[0]",
|
|
174
174
|
"group-data-[icon-visibility=true]/modal:pt-[60px]"
|
|
175
175
|
],
|
|
176
176
|
body: ["flex", "flex-col", "gap-[20px]"],
|
|
@@ -222,7 +222,7 @@ var inputStyle = tv({
|
|
|
222
222
|
label: ["text-neutral-light"],
|
|
223
223
|
inputWrapper: ["bg-neutral-soft", "border-neutral-light", "pointer-events-none"],
|
|
224
224
|
input: ["text-neutral-light", "placeholder:text-neutral-light"],
|
|
225
|
-
content: ["text-neutral-light"],
|
|
225
|
+
content: ["text-neutral-light", "group-has-[p]/input:text-danger-light"],
|
|
226
226
|
errorMessage: ["text-danger-light"]
|
|
227
227
|
}
|
|
228
228
|
},
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
render
|
|
4
|
-
} from "../../chunk-FNPWLOGV.mjs";
|
|
5
2
|
import {
|
|
6
3
|
accordion_default
|
|
7
4
|
} from "../../chunk-SWR7E3NU.mjs";
|
|
5
|
+
import {
|
|
6
|
+
render
|
|
7
|
+
} from "../../chunk-FNPWLOGV.mjs";
|
|
8
8
|
import "../../chunk-E3G5QXSH.mjs";
|
|
9
9
|
import "../../chunk-J725QONZ.mjs";
|
|
10
10
|
import "../../chunk-IZ6II3QA.mjs";
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
button_group_default
|
|
7
7
|
} from "../../chunk-NGQ3MK2J.mjs";
|
|
8
|
-
import {
|
|
9
|
-
button_default
|
|
10
|
-
} from "../../chunk-UR64ZUAU.mjs";
|
|
11
8
|
import {
|
|
12
9
|
render
|
|
13
10
|
} from "../../chunk-FNPWLOGV.mjs";
|
|
11
|
+
import {
|
|
12
|
+
button_default
|
|
13
|
+
} from "../../chunk-UR64ZUAU.mjs";
|
|
14
14
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
15
15
|
import "../../chunk-LCI6RPWE.mjs";
|
|
16
16
|
import "../../chunk-IOCRFIQF.mjs";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "../../chunk-H7BLXC5M.mjs";
|
|
3
|
-
import {
|
|
4
|
-
button_default
|
|
5
|
-
} from "../../chunk-UR64ZUAU.mjs";
|
|
6
3
|
import {
|
|
7
4
|
act,
|
|
8
5
|
render
|
|
9
6
|
} from "../../chunk-FNPWLOGV.mjs";
|
|
7
|
+
import {
|
|
8
|
+
button_default
|
|
9
|
+
} from "../../chunk-UR64ZUAU.mjs";
|
|
10
10
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
11
11
|
import "../../chunk-LCI6RPWE.mjs";
|
|
12
12
|
import "../../chunk-IOCRFIQF.mjs";
|
|
@@ -3858,7 +3858,7 @@ var inputStyle = tv({
|
|
|
3858
3858
|
label: ["text-neutral-light"],
|
|
3859
3859
|
inputWrapper: ["bg-neutral-soft", "border-neutral-light", "pointer-events-none"],
|
|
3860
3860
|
input: ["text-neutral-light", "placeholder:text-neutral-light"],
|
|
3861
|
-
content: ["text-neutral-light"],
|
|
3861
|
+
content: ["text-neutral-light", "group-has-[p]/input:text-danger-light"],
|
|
3862
3862
|
errorMessage: ["text-danger-light"]
|
|
3863
3863
|
}
|
|
3864
3864
|
},
|
|
@@ -3857,7 +3857,7 @@ var inputStyle = tv({
|
|
|
3857
3857
|
label: ["text-neutral-light"],
|
|
3858
3858
|
inputWrapper: ["bg-neutral-soft", "border-neutral-light", "pointer-events-none"],
|
|
3859
3859
|
input: ["text-neutral-light", "placeholder:text-neutral-light"],
|
|
3860
|
-
content: ["text-neutral-light"],
|
|
3860
|
+
content: ["text-neutral-light", "group-has-[p]/input:text-danger-light"],
|
|
3861
3861
|
errorMessage: ["text-danger-light"]
|
|
3862
3862
|
}
|
|
3863
3863
|
},
|
|
@@ -22644,7 +22644,7 @@ var inputStyle = tv({
|
|
|
22644
22644
|
label: ["text-neutral-light"],
|
|
22645
22645
|
inputWrapper: ["bg-neutral-soft", "border-neutral-light", "pointer-events-none"],
|
|
22646
22646
|
input: ["text-neutral-light", "placeholder:text-neutral-light"],
|
|
22647
|
-
content: ["text-neutral-light"],
|
|
22647
|
+
content: ["text-neutral-light", "group-has-[p]/input:text-danger-light"],
|
|
22648
22648
|
errorMessage: ["text-danger-light"]
|
|
22649
22649
|
}
|
|
22650
22650
|
},
|
|
@@ -4441,7 +4441,7 @@ var modal = tv({
|
|
|
4441
4441
|
slots: {
|
|
4442
4442
|
backdrop: ["relative w-screen h-screen fixed inset-0 bg-black/60", "z-[900]"],
|
|
4443
4443
|
modalWrapper: ["group/modal", "absolute", "top-1/2", "-translate-y-1/2", "left-1/2", "-translate-x-1/2"],
|
|
4444
|
-
icon: ["absolute", "top-[
|
|
4444
|
+
icon: ["absolute", "top-[-40px]", "left-1/2", "-translate-x-1/2", "z-10"],
|
|
4445
4445
|
closeIcon: [
|
|
4446
4446
|
"absolute",
|
|
4447
4447
|
"top-[20px]",
|
|
@@ -4460,7 +4460,7 @@ var modal = tv({
|
|
|
4460
4460
|
"bg-background",
|
|
4461
4461
|
"shadow-drop shadow-foreground/20 rounded-xxlg",
|
|
4462
4462
|
"overflow-hidden",
|
|
4463
|
-
"group-data-[icon-visibility=true]/modal:mt-[
|
|
4463
|
+
"group-data-[icon-visibility=true]/modal:mt-[0]",
|
|
4464
4464
|
"group-data-[icon-visibility=true]/modal:pt-[60px]"
|
|
4465
4465
|
],
|
|
4466
4466
|
body: ["flex", "flex-col", "gap-[20px]"],
|
|
@@ -4440,7 +4440,7 @@ var modal = tv({
|
|
|
4440
4440
|
slots: {
|
|
4441
4441
|
backdrop: ["relative w-screen h-screen fixed inset-0 bg-black/60", "z-[900]"],
|
|
4442
4442
|
modalWrapper: ["group/modal", "absolute", "top-1/2", "-translate-y-1/2", "left-1/2", "-translate-x-1/2"],
|
|
4443
|
-
icon: ["absolute", "top-[
|
|
4443
|
+
icon: ["absolute", "top-[-40px]", "left-1/2", "-translate-x-1/2", "z-10"],
|
|
4444
4444
|
closeIcon: [
|
|
4445
4445
|
"absolute",
|
|
4446
4446
|
"top-[20px]",
|
|
@@ -4459,7 +4459,7 @@ var modal = tv({
|
|
|
4459
4459
|
"bg-background",
|
|
4460
4460
|
"shadow-drop shadow-foreground/20 rounded-xxlg",
|
|
4461
4461
|
"overflow-hidden",
|
|
4462
|
-
"group-data-[icon-visibility=true]/modal:mt-[
|
|
4462
|
+
"group-data-[icon-visibility=true]/modal:mt-[0]",
|
|
4463
4463
|
"group-data-[icon-visibility=true]/modal:pt-[60px]"
|
|
4464
4464
|
],
|
|
4465
4465
|
body: ["flex", "flex-col", "gap-[20px]"],
|
|
@@ -17276,7 +17276,7 @@ var modal = tv({
|
|
|
17276
17276
|
slots: {
|
|
17277
17277
|
backdrop: ["relative w-screen h-screen fixed inset-0 bg-black/60", "z-[900]"],
|
|
17278
17278
|
modalWrapper: ["group/modal", "absolute", "top-1/2", "-translate-y-1/2", "left-1/2", "-translate-x-1/2"],
|
|
17279
|
-
icon: ["absolute", "top-[
|
|
17279
|
+
icon: ["absolute", "top-[-40px]", "left-1/2", "-translate-x-1/2", "z-10"],
|
|
17280
17280
|
closeIcon: [
|
|
17281
17281
|
"absolute",
|
|
17282
17282
|
"top-[20px]",
|
|
@@ -17295,7 +17295,7 @@ var modal = tv({
|
|
|
17295
17295
|
"bg-background",
|
|
17296
17296
|
"shadow-drop shadow-foreground/20 rounded-xxlg",
|
|
17297
17297
|
"overflow-hidden",
|
|
17298
|
-
"group-data-[icon-visibility=true]/modal:mt-[
|
|
17298
|
+
"group-data-[icon-visibility=true]/modal:mt-[0]",
|
|
17299
17299
|
"group-data-[icon-visibility=true]/modal:pt-[60px]"
|
|
17300
17300
|
],
|
|
17301
17301
|
body: ["flex", "flex-col", "gap-[20px]"],
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
modal_default
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-PRLGHYFO.mjs";
|
|
5
5
|
import "../../chunk-VUYUQGLF.mjs";
|
|
6
6
|
import "../../chunk-NGQ3MK2J.mjs";
|
|
7
|
-
import "../../chunk-UR64ZUAU.mjs";
|
|
8
7
|
import {
|
|
9
8
|
fireEvent,
|
|
10
9
|
render
|
|
11
10
|
} from "../../chunk-FNPWLOGV.mjs";
|
|
11
|
+
import "../../chunk-UR64ZUAU.mjs";
|
|
12
12
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
13
13
|
import "../../chunk-LCI6RPWE.mjs";
|
|
14
14
|
import "../../chunk-IOCRFIQF.mjs";
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import "../../chunk-QCEKPS7U.mjs";
|
|
3
3
|
import {
|
|
4
4
|
select_default
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import "../../chunk-RZZWHI6O.mjs";
|
|
5
|
+
} from "../../chunk-2BCJZILI.mjs";
|
|
7
6
|
import "../../chunk-S3QS5B7F.mjs";
|
|
7
|
+
import "../../chunk-RZZWHI6O.mjs";
|
|
8
8
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
9
9
|
import "../../chunk-LCI6RPWE.mjs";
|
|
10
10
|
import "../../chunk-IOCRFIQF.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
select_default
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-RZZWHI6O.mjs";
|
|
4
|
+
} from "../../chunk-2BCJZILI.mjs";
|
|
6
5
|
import "../../chunk-S3QS5B7F.mjs";
|
|
6
|
+
import "../../chunk-RZZWHI6O.mjs";
|
|
7
7
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
8
8
|
import "../../chunk-LCI6RPWE.mjs";
|
|
9
9
|
import "../../chunk-IOCRFIQF.mjs";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
userEvent
|
|
4
|
-
} from "../../chunk-S4DTK5GI.mjs";
|
|
5
2
|
import {
|
|
6
3
|
select_default
|
|
7
|
-
} from "../../chunk-
|
|
8
|
-
import "../../chunk-RZZWHI6O.mjs";
|
|
4
|
+
} from "../../chunk-2BCJZILI.mjs";
|
|
9
5
|
import "../../chunk-S3QS5B7F.mjs";
|
|
6
|
+
import "../../chunk-RZZWHI6O.mjs";
|
|
7
|
+
import {
|
|
8
|
+
userEvent
|
|
9
|
+
} from "../../chunk-S4DTK5GI.mjs";
|
|
10
10
|
import {
|
|
11
11
|
act,
|
|
12
12
|
render
|
|
@@ -4009,13 +4009,14 @@ var TableBody = ({
|
|
|
4009
4009
|
});
|
|
4010
4010
|
};
|
|
4011
4011
|
const handleRowClick = (index) => (e) => {
|
|
4012
|
+
var _a;
|
|
4012
4013
|
e.stopPropagation();
|
|
4013
4014
|
e.preventDefault();
|
|
4014
4015
|
if (isExpanded) onChangeExpandedRow(index);
|
|
4015
4016
|
if (isSelected && isSelectedRow) onSelectRow(index);
|
|
4016
4017
|
const row = rows[index];
|
|
4017
|
-
if (row
|
|
4018
|
-
onRowAction == null ? void 0 :
|
|
4018
|
+
if (row) {
|
|
4019
|
+
(_a = row.onRowAction) == null ? void 0 : _a.call(row, e, row);
|
|
4019
4020
|
}
|
|
4020
4021
|
};
|
|
4021
4022
|
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("tbody", { ...getTbodyProps(), children: rows.length > 0 ? rows.map((row, rowIndex) => {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import "../../chunk-2UUH2MBF.mjs";
|
|
3
3
|
import {
|
|
4
4
|
table_default
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
5
|
+
} from "../../chunk-JWFWFBQM.mjs";
|
|
6
|
+
import "../../chunk-PR277HT5.mjs";
|
|
7
7
|
import "../../chunk-VG4644BG.mjs";
|
|
8
8
|
import "../../chunk-QZ3LVYJW.mjs";
|
|
9
9
|
import "../../chunk-ANYPMQH4.mjs";
|
|
@@ -3957,13 +3957,14 @@ var TableBody = ({
|
|
|
3957
3957
|
});
|
|
3958
3958
|
};
|
|
3959
3959
|
const handleRowClick = (index) => (e) => {
|
|
3960
|
+
var _a;
|
|
3960
3961
|
e.stopPropagation();
|
|
3961
3962
|
e.preventDefault();
|
|
3962
3963
|
if (isExpanded) onChangeExpandedRow(index);
|
|
3963
3964
|
if (isSelected && isSelectedRow) onSelectRow(index);
|
|
3964
3965
|
const row = rows[index];
|
|
3965
|
-
if (row
|
|
3966
|
-
onRowAction == null ? void 0 :
|
|
3966
|
+
if (row) {
|
|
3967
|
+
(_a = row.onRowAction) == null ? void 0 : _a.call(row, e, row);
|
|
3967
3968
|
}
|
|
3968
3969
|
};
|
|
3969
3970
|
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("tbody", { ...getTbodyProps(), children: rows.length > 0 ? rows.map((row, rowIndex) => {
|
|
@@ -4007,13 +4007,14 @@ var TableBody = ({
|
|
|
4007
4007
|
});
|
|
4008
4008
|
};
|
|
4009
4009
|
const handleRowClick = (index) => (e) => {
|
|
4010
|
+
var _a;
|
|
4010
4011
|
e.stopPropagation();
|
|
4011
4012
|
e.preventDefault();
|
|
4012
4013
|
if (isExpanded) onChangeExpandedRow(index);
|
|
4013
4014
|
if (isSelected && isSelectedRow) onSelectRow(index);
|
|
4014
4015
|
const row = rows[index];
|
|
4015
|
-
if (row
|
|
4016
|
-
onRowAction == null ? void 0 :
|
|
4016
|
+
if (row) {
|
|
4017
|
+
(_a = row.onRowAction) == null ? void 0 : _a.call(row, e, row);
|
|
4017
4018
|
}
|
|
4018
4019
|
};
|
|
4019
4020
|
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("tbody", { ...getTbodyProps(), children: rows.length > 0 ? rows.map((row, rowIndex) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
table_default
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-JWFWFBQM.mjs";
|
|
5
|
+
import "../../chunk-PR277HT5.mjs";
|
|
6
6
|
import "../../chunk-VG4644BG.mjs";
|
|
7
7
|
import "../../chunk-QZ3LVYJW.mjs";
|
|
8
8
|
import "../../chunk-ANYPMQH4.mjs";
|
|
@@ -16844,13 +16844,14 @@ var TableBody = ({
|
|
|
16844
16844
|
});
|
|
16845
16845
|
};
|
|
16846
16846
|
const handleRowClick = (index) => (e) => {
|
|
16847
|
+
var _a2;
|
|
16847
16848
|
e.stopPropagation();
|
|
16848
16849
|
e.preventDefault();
|
|
16849
16850
|
if (isExpanded) onChangeExpandedRow(index);
|
|
16850
16851
|
if (isSelected && isSelectedRow) onSelectRow(index);
|
|
16851
16852
|
const row = rows2[index];
|
|
16852
|
-
if (row
|
|
16853
|
-
onRowAction == null ? void 0 :
|
|
16853
|
+
if (row) {
|
|
16854
|
+
(_a2 = row.onRowAction) == null ? void 0 : _a2.call(row, e, row);
|
|
16854
16855
|
}
|
|
16855
16856
|
};
|
|
16856
16857
|
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("tbody", { ...getTbodyProps(), children: rows2.length > 0 ? rows2.map((row, rowIndex) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
table_default
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-JWFWFBQM.mjs";
|
|
5
|
+
import "../../chunk-PR277HT5.mjs";
|
|
6
6
|
import "../../chunk-VG4644BG.mjs";
|
|
7
7
|
import "../../chunk-QZ3LVYJW.mjs";
|
|
8
8
|
import "../../chunk-ANYPMQH4.mjs";
|
|
@@ -6,12 +6,12 @@ import "../../chunk-DSBSLSJW.mjs";
|
|
|
6
6
|
import "../../chunk-ODMRJXLJ.mjs";
|
|
7
7
|
import "../../chunk-VUYUQGLF.mjs";
|
|
8
8
|
import "../../chunk-NGQ3MK2J.mjs";
|
|
9
|
-
import {
|
|
10
|
-
button_default
|
|
11
|
-
} from "../../chunk-UR64ZUAU.mjs";
|
|
12
9
|
import {
|
|
13
10
|
render
|
|
14
11
|
} from "../../chunk-FNPWLOGV.mjs";
|
|
12
|
+
import {
|
|
13
|
+
button_default
|
|
14
|
+
} from "../../chunk-UR64ZUAU.mjs";
|
|
15
15
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
16
16
|
import "../../chunk-LCI6RPWE.mjs";
|
|
17
17
|
import "../../chunk-IOCRFIQF.mjs";
|
package/dist/index.js
CHANGED
|
@@ -4633,7 +4633,7 @@ var inputStyle = tv({
|
|
|
4633
4633
|
label: ["text-neutral-light"],
|
|
4634
4634
|
inputWrapper: ["bg-neutral-soft", "border-neutral-light", "pointer-events-none"],
|
|
4635
4635
|
input: ["text-neutral-light", "placeholder:text-neutral-light"],
|
|
4636
|
-
content: ["text-neutral-light"],
|
|
4636
|
+
content: ["text-neutral-light", "group-has-[p]/input:text-danger-light"],
|
|
4637
4637
|
errorMessage: ["text-danger-light"]
|
|
4638
4638
|
}
|
|
4639
4639
|
},
|
|
@@ -5423,13 +5423,14 @@ var TableBody = ({
|
|
|
5423
5423
|
});
|
|
5424
5424
|
};
|
|
5425
5425
|
const handleRowClick = (index) => (e) => {
|
|
5426
|
+
var _a;
|
|
5426
5427
|
e.stopPropagation();
|
|
5427
5428
|
e.preventDefault();
|
|
5428
5429
|
if (isExpanded) onChangeExpandedRow(index);
|
|
5429
5430
|
if (isSelected && isSelectedRow) onSelectRow(index);
|
|
5430
5431
|
const row = rows[index];
|
|
5431
|
-
if (row
|
|
5432
|
-
onRowAction == null ? void 0 :
|
|
5432
|
+
if (row) {
|
|
5433
|
+
(_a = row.onRowAction) == null ? void 0 : _a.call(row, e, row);
|
|
5433
5434
|
}
|
|
5434
5435
|
};
|
|
5435
5436
|
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("tbody", { ...getTbodyProps(), children: rows.length > 0 ? rows.map((row, rowIndex) => {
|
|
@@ -7278,7 +7279,7 @@ var modal = tv({
|
|
|
7278
7279
|
slots: {
|
|
7279
7280
|
backdrop: ["relative w-screen h-screen fixed inset-0 bg-black/60", "z-[900]"],
|
|
7280
7281
|
modalWrapper: ["group/modal", "absolute", "top-1/2", "-translate-y-1/2", "left-1/2", "-translate-x-1/2"],
|
|
7281
|
-
icon: ["absolute", "top-[
|
|
7282
|
+
icon: ["absolute", "top-[-40px]", "left-1/2", "-translate-x-1/2", "z-10"],
|
|
7282
7283
|
closeIcon: [
|
|
7283
7284
|
"absolute",
|
|
7284
7285
|
"top-[20px]",
|
|
@@ -7297,7 +7298,7 @@ var modal = tv({
|
|
|
7297
7298
|
"bg-background",
|
|
7298
7299
|
"shadow-drop shadow-foreground/20 rounded-xxlg",
|
|
7299
7300
|
"overflow-hidden",
|
|
7300
|
-
"group-data-[icon-visibility=true]/modal:mt-[
|
|
7301
|
+
"group-data-[icon-visibility=true]/modal:mt-[0]",
|
|
7301
7302
|
"group-data-[icon-visibility=true]/modal:pt-[60px]"
|
|
7302
7303
|
],
|
|
7303
7304
|
body: ["flex", "flex-col", "gap-[20px]"],
|
|
@@ -8960,7 +8961,7 @@ var getThemeColors = (colorChip, mode) => {
|
|
|
8960
8961
|
trans: getColor("gray", mode, "trans"),
|
|
8961
8962
|
info: getColor("teal", mode, "function"),
|
|
8962
8963
|
success: getColor("green", mode, "function"),
|
|
8963
|
-
warning: getColor("
|
|
8964
|
+
warning: getColor("orange", mode, "function"),
|
|
8964
8965
|
danger: getColor("pink", mode, "function")
|
|
8965
8966
|
};
|
|
8966
8967
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -1,10 +1,29 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import "./chunk-LUWGOKLG.mjs";
|
|
3
|
+
import {
|
|
4
|
+
ToastProvider,
|
|
5
|
+
useToast
|
|
6
|
+
} from "./chunk-7HHFRKJU.mjs";
|
|
7
|
+
import "./chunk-ZOTHPHXA.mjs";
|
|
8
|
+
import {
|
|
9
|
+
toast_default
|
|
10
|
+
} from "./chunk-PXUBPWKU.mjs";
|
|
11
|
+
import "./chunk-2UUH2MBF.mjs";
|
|
12
|
+
import {
|
|
13
|
+
table_default
|
|
14
|
+
} from "./chunk-JWFWFBQM.mjs";
|
|
15
|
+
import "./chunk-PR277HT5.mjs";
|
|
16
|
+
import "./chunk-VG4644BG.mjs";
|
|
2
17
|
import "./chunk-HIE2YRGA.mjs";
|
|
3
18
|
import {
|
|
4
19
|
tooltip_default
|
|
5
20
|
} from "./chunk-P6AZMYVR.mjs";
|
|
6
21
|
import "./chunk-DSBSLSJW.mjs";
|
|
7
22
|
import "./chunk-ODMRJXLJ.mjs";
|
|
23
|
+
import "./chunk-MV2WCFK7.mjs";
|
|
24
|
+
import {
|
|
25
|
+
slider_default
|
|
26
|
+
} from "./chunk-A3RWT3JJ.mjs";
|
|
8
27
|
import "./chunk-3MY6LO7N.mjs";
|
|
9
28
|
import {
|
|
10
29
|
tabs_default
|
|
@@ -13,47 +32,28 @@ import "./chunk-RRAZM5D3.mjs";
|
|
|
13
32
|
import {
|
|
14
33
|
textarea_default
|
|
15
34
|
} from "./chunk-OJ2OEI5B.mjs";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import {
|
|
18
|
-
ToastProvider,
|
|
19
|
-
useToast
|
|
20
|
-
} from "./chunk-7HHFRKJU.mjs";
|
|
21
|
-
import "./chunk-ZOTHPHXA.mjs";
|
|
35
|
+
import "./chunk-TPFN22HR.mjs";
|
|
22
36
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./chunk-
|
|
37
|
+
radio_default
|
|
38
|
+
} from "./chunk-QWFOYO3D.mjs";
|
|
25
39
|
import "./chunk-LVFI2NOH.mjs";
|
|
26
40
|
import {
|
|
27
41
|
switch_default
|
|
28
42
|
} from "./chunk-S3O52LLG.mjs";
|
|
29
|
-
import "./chunk-2UUH2MBF.mjs";
|
|
30
|
-
import {
|
|
31
|
-
table_default
|
|
32
|
-
} from "./chunk-6YE26GOI.mjs";
|
|
33
|
-
import "./chunk-DWROPKZW.mjs";
|
|
34
|
-
import "./chunk-VG4644BG.mjs";
|
|
35
|
-
import "./chunk-QCEKPS7U.mjs";
|
|
36
|
-
import {
|
|
37
|
-
select_default
|
|
38
|
-
} from "./chunk-JN7EGKJL.mjs";
|
|
39
|
-
import "./chunk-RZZWHI6O.mjs";
|
|
40
|
-
import "./chunk-S3QS5B7F.mjs";
|
|
41
|
-
import "./chunk-MV2WCFK7.mjs";
|
|
42
|
-
import {
|
|
43
|
-
slider_default
|
|
44
|
-
} from "./chunk-A3RWT3JJ.mjs";
|
|
45
43
|
import "./chunk-7VOQKIIK.mjs";
|
|
46
44
|
import {
|
|
47
45
|
progress_default
|
|
48
46
|
} from "./chunk-N2JULHST.mjs";
|
|
49
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-QCEKPS7U.mjs";
|
|
50
48
|
import {
|
|
51
|
-
|
|
52
|
-
} from "./chunk-
|
|
49
|
+
select_default
|
|
50
|
+
} from "./chunk-2BCJZILI.mjs";
|
|
51
|
+
import "./chunk-S3QS5B7F.mjs";
|
|
52
|
+
import "./chunk-RZZWHI6O.mjs";
|
|
53
53
|
import "./chunk-DJOG6Z35.mjs";
|
|
54
54
|
import {
|
|
55
55
|
modal_default
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-PRLGHYFO.mjs";
|
|
57
57
|
import "./chunk-7B7LRG5J.mjs";
|
|
58
58
|
import {
|
|
59
59
|
pagination_default
|
|
@@ -62,8 +62,8 @@ import "./chunk-F3HENRVM.mjs";
|
|
|
62
62
|
import "./chunk-2GCSFWHD.mjs";
|
|
63
63
|
import {
|
|
64
64
|
input_default
|
|
65
|
-
} from "./chunk-
|
|
66
|
-
import "./chunk-
|
|
65
|
+
} from "./chunk-ZNEEYSIK.mjs";
|
|
66
|
+
import "./chunk-NMSDSEBD.mjs";
|
|
67
67
|
import "./chunk-QZ3LVYJW.mjs";
|
|
68
68
|
import {
|
|
69
69
|
checkbox_default
|
|
@@ -83,24 +83,24 @@ import {
|
|
|
83
83
|
import {
|
|
84
84
|
listItem_default
|
|
85
85
|
} from "./chunk-V77MALL4.mjs";
|
|
86
|
-
import "./chunk-NMSDSEBD.mjs";
|
|
87
86
|
import "./chunk-VUYUQGLF.mjs";
|
|
88
|
-
import
|
|
89
|
-
button_group_default
|
|
90
|
-
} from "./chunk-NGQ3MK2J.mjs";
|
|
91
|
-
import {
|
|
92
|
-
button_default
|
|
93
|
-
} from "./chunk-UR64ZUAU.mjs";
|
|
87
|
+
import "./chunk-HAOK24MK.mjs";
|
|
94
88
|
import {
|
|
95
89
|
card_default
|
|
96
90
|
} from "./chunk-2ALY3PH5.mjs";
|
|
97
|
-
import "./chunk-27Y6K5NK.mjs";
|
|
98
91
|
import {
|
|
99
92
|
accordion_default
|
|
100
93
|
} from "./chunk-SWR7E3NU.mjs";
|
|
101
94
|
import {
|
|
102
95
|
accordionItem_default
|
|
103
96
|
} from "./chunk-L6BQA6GI.mjs";
|
|
97
|
+
import "./chunk-27Y6K5NK.mjs";
|
|
98
|
+
import {
|
|
99
|
+
button_group_default
|
|
100
|
+
} from "./chunk-NGQ3MK2J.mjs";
|
|
101
|
+
import {
|
|
102
|
+
button_default
|
|
103
|
+
} from "./chunk-UR64ZUAU.mjs";
|
|
104
104
|
import "./chunk-ZYIIXWVY.mjs";
|
|
105
105
|
import {
|
|
106
106
|
Icon_default,
|
|
@@ -454,7 +454,7 @@ var getThemeColors = (colorChip, mode) => {
|
|
|
454
454
|
trans: getColor("gray", mode, "trans"),
|
|
455
455
|
info: getColor("teal", mode, "function"),
|
|
456
456
|
success: getColor("green", mode, "function"),
|
|
457
|
-
warning: getColor("
|
|
457
|
+
warning: getColor("orange", mode, "function"),
|
|
458
458
|
danger: getColor("pink", mode, "function")
|
|
459
459
|
};
|
|
460
460
|
};
|
package/package.json
CHANGED