@deepnoid/ui 0.0.87 → 0.0.88
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-4SWFYTMR.mjs → chunk-IXFP2WQ4.mjs} +1 -1
- package/dist/{chunk-QX6VJLEM.mjs → chunk-K6HPMTN4.mjs} +2 -2
- package/dist/{chunk-2COCX2VX.mjs → chunk-QRHT7MSO.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 +4 -4
- package/dist/components/input/input.test.mjs +5 -5
- package/dist/components/list/list.test.mjs +1 -1
- package/dist/components/modal/index.mjs +3 -3
- package/dist/components/modal/modal.mjs +3 -3
- package/dist/components/modal/modal.test.mjs +5 -5
- package/dist/components/pagination/pagination.test.mjs +1 -1
- package/dist/components/radio/radio.test.mjs +1 -1
- package/dist/components/select/select.test.mjs +7 -7
- package/dist/components/switch/switch.test.mjs +1 -1
- package/dist/components/table/index.mjs +3 -3
- package/dist/components/table/table-body.mjs +2 -2
- package/dist/components/table/table.mjs +3 -3
- package/dist/components/table/table.test.mjs +6 -6
- package/dist/components/tabs/tabs.test.mjs +4 -4
- package/dist/components/textarea/textarea.test.mjs +1 -1
- package/dist/components/toast/index.js +2 -2
- package/dist/components/toast/index.mjs +2 -2
- package/dist/components/toast/toast.js +1 -1
- package/dist/components/toast/toast.mjs +1 -1
- package/dist/components/toast/toast.test.js +1 -1
- package/dist/components/toast/toast.test.mjs +4 -4
- package/dist/components/toast/use-toast.js +2 -2
- package/dist/components/toast/use-toast.mjs +2 -2
- package/dist/components/tooltip/tooltip.test.mjs +4 -4
- package/dist/index.js +2 -2
- package/dist/index.mjs +26 -26
- package/package.json +1 -1
- package/dist/{chunk-QIZOXBOY.mjs → chunk-KHWFCTPX.mjs} +3 -3
- package/dist/{chunk-PHQY5T3E.mjs → chunk-YGTJU3GD.mjs} +3 -3
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-ZOTHPHXA.mjs";
|
|
5
5
|
import {
|
|
6
6
|
toast_default
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QRHT7MSO.mjs";
|
|
8
8
|
|
|
9
9
|
// src/components/toast/use-toast.tsx
|
|
10
10
|
import { createContext, useContext, useState, useCallback, useEffect, useRef } from "react";
|
|
@@ -25,7 +25,7 @@ var ToastProvider = ({
|
|
|
25
25
|
const [containerStyle, setContainerStyle] = useState({});
|
|
26
26
|
const toastRef = useRef();
|
|
27
27
|
const addToast = useCallback((content, options) => {
|
|
28
|
-
const id = Date.now() +
|
|
28
|
+
const id = Date.now() + Math.floor(Math.random() * 1e5);
|
|
29
29
|
const newToast = {
|
|
30
30
|
id,
|
|
31
31
|
content,
|
|
@@ -42,7 +42,7 @@ var Toast = forwardRef((originalProps, ref) => {
|
|
|
42
42
|
);
|
|
43
43
|
return /* @__PURE__ */ jsxs("div", { ref: toastRef, ...getBaseProps(), children: [
|
|
44
44
|
showIcon && /* @__PURE__ */ jsx(Icon_default, { name: originalProps.icon || "info-circle", fill: true, className: "mt-[2px]" }),
|
|
45
|
-
/* @__PURE__ */ jsx("div", { className: "flex-1", children: props.content }),
|
|
45
|
+
/* @__PURE__ */ jsx("div", { className: "flex-1 select-none", children: props.content }),
|
|
46
46
|
showCloseButton && /* @__PURE__ */ jsx(Icon_default, { name: "close", className: "cursor-pointer mt-[2px]", onClick: onClose })
|
|
47
47
|
] });
|
|
48
48
|
});
|
|
@@ -1,11 +1,11 @@
|
|
|
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";
|
|
8
5
|
import "../../chunk-E3G5QXSH.mjs";
|
|
6
|
+
import {
|
|
7
|
+
render
|
|
8
|
+
} from "../../chunk-FNPWLOGV.mjs";
|
|
9
9
|
import "../../chunk-J725QONZ.mjs";
|
|
10
10
|
import "../../chunk-IZ6II3QA.mjs";
|
|
11
11
|
|
|
@@ -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-66WCZEEU.mjs";
|
|
11
8
|
import {
|
|
12
9
|
render
|
|
13
10
|
} from "../../chunk-FNPWLOGV.mjs";
|
|
11
|
+
import {
|
|
12
|
+
button_default
|
|
13
|
+
} from "../../chunk-66WCZEEU.mjs";
|
|
14
14
|
import "../../chunk-J725QONZ.mjs";
|
|
15
15
|
import "../../chunk-IZ6II3QA.mjs";
|
|
16
16
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "../../chunk-H7BLXC5M.mjs";
|
|
3
|
-
import {
|
|
4
|
-
button_default
|
|
5
|
-
} from "../../chunk-66WCZEEU.mjs";
|
|
6
3
|
import {
|
|
7
4
|
act,
|
|
8
5
|
render
|
|
9
6
|
} from "../../chunk-FNPWLOGV.mjs";
|
|
7
|
+
import {
|
|
8
|
+
button_default
|
|
9
|
+
} from "../../chunk-66WCZEEU.mjs";
|
|
10
10
|
import "../../chunk-J725QONZ.mjs";
|
|
11
11
|
import "../../chunk-IZ6II3QA.mjs";
|
|
12
12
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
userEvent
|
|
4
|
-
} from "../../chunk-S4DTK5GI.mjs";
|
|
5
2
|
import {
|
|
6
3
|
checkbox_default
|
|
7
4
|
} from "../../chunk-BE2OG6M4.mjs";
|
|
5
|
+
import "../../chunk-E3G5QXSH.mjs";
|
|
6
|
+
import {
|
|
7
|
+
userEvent
|
|
8
|
+
} from "../../chunk-S4DTK5GI.mjs";
|
|
8
9
|
import {
|
|
9
10
|
act,
|
|
10
11
|
render
|
|
11
12
|
} from "../../chunk-FNPWLOGV.mjs";
|
|
12
|
-
import "../../chunk-E3G5QXSH.mjs";
|
|
13
13
|
import "../../chunk-J725QONZ.mjs";
|
|
14
14
|
import "../../chunk-IZ6II3QA.mjs";
|
|
15
15
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import "../../chunk-H7BLXC5M.mjs";
|
|
3
2
|
import {
|
|
4
3
|
input_default
|
|
5
4
|
} from "../../chunk-4DLTBZUQ.mjs";
|
|
6
|
-
import {
|
|
7
|
-
render,
|
|
8
|
-
waitForWrapper
|
|
9
|
-
} from "../../chunk-FNPWLOGV.mjs";
|
|
10
5
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
11
6
|
import "../../chunk-PRUAIZTU.mjs";
|
|
12
7
|
import "../../chunk-IOV7MEPG.mjs";
|
|
13
8
|
import "../../chunk-E3G5QXSH.mjs";
|
|
9
|
+
import "../../chunk-H7BLXC5M.mjs";
|
|
10
|
+
import {
|
|
11
|
+
render,
|
|
12
|
+
waitForWrapper
|
|
13
|
+
} from "../../chunk-FNPWLOGV.mjs";
|
|
14
14
|
import "../../chunk-J725QONZ.mjs";
|
|
15
15
|
import "../../chunk-IZ6II3QA.mjs";
|
|
16
16
|
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
list_default
|
|
4
4
|
} from "../../chunk-EYY4CRRR.mjs";
|
|
5
|
+
import "../../chunk-E3G5QXSH.mjs";
|
|
5
6
|
import {
|
|
6
7
|
render
|
|
7
8
|
} from "../../chunk-FNPWLOGV.mjs";
|
|
8
|
-
import "../../chunk-E3G5QXSH.mjs";
|
|
9
9
|
import "../../chunk-J725QONZ.mjs";
|
|
10
10
|
import "../../chunk-IZ6II3QA.mjs";
|
|
11
11
|
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import "../../chunk-DJOG6Z35.mjs";
|
|
3
3
|
import {
|
|
4
4
|
modal_default
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-YGTJU3GD.mjs";
|
|
6
6
|
import "../../chunk-VUYUQGLF.mjs";
|
|
7
|
-
import "../../chunk-NGQ3MK2J.mjs";
|
|
8
|
-
import "../../chunk-66WCZEEU.mjs";
|
|
9
7
|
import "../../chunk-PRUAIZTU.mjs";
|
|
10
8
|
import "../../chunk-IOV7MEPG.mjs";
|
|
11
9
|
import "../../chunk-E3G5QXSH.mjs";
|
|
10
|
+
import "../../chunk-NGQ3MK2J.mjs";
|
|
11
|
+
import "../../chunk-66WCZEEU.mjs";
|
|
12
12
|
import "../../chunk-J725QONZ.mjs";
|
|
13
13
|
import "../../chunk-IZ6II3QA.mjs";
|
|
14
14
|
export {
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import {
|
|
3
3
|
modal,
|
|
4
4
|
modal_default
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-YGTJU3GD.mjs";
|
|
6
6
|
import "../../chunk-VUYUQGLF.mjs";
|
|
7
|
-
import "../../chunk-NGQ3MK2J.mjs";
|
|
8
|
-
import "../../chunk-66WCZEEU.mjs";
|
|
9
7
|
import "../../chunk-PRUAIZTU.mjs";
|
|
10
8
|
import "../../chunk-IOV7MEPG.mjs";
|
|
11
9
|
import "../../chunk-E3G5QXSH.mjs";
|
|
10
|
+
import "../../chunk-NGQ3MK2J.mjs";
|
|
11
|
+
import "../../chunk-66WCZEEU.mjs";
|
|
12
12
|
import "../../chunk-J725QONZ.mjs";
|
|
13
13
|
import "../../chunk-IZ6II3QA.mjs";
|
|
14
14
|
export {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
modal_default
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-YGTJU3GD.mjs";
|
|
5
5
|
import "../../chunk-VUYUQGLF.mjs";
|
|
6
|
+
import "../../chunk-PRUAIZTU.mjs";
|
|
7
|
+
import "../../chunk-IOV7MEPG.mjs";
|
|
8
|
+
import "../../chunk-E3G5QXSH.mjs";
|
|
6
9
|
import "../../chunk-NGQ3MK2J.mjs";
|
|
7
|
-
import "../../chunk-66WCZEEU.mjs";
|
|
8
10
|
import {
|
|
9
11
|
fireEvent,
|
|
10
12
|
render
|
|
11
13
|
} from "../../chunk-FNPWLOGV.mjs";
|
|
12
|
-
import "../../chunk-
|
|
13
|
-
import "../../chunk-IOV7MEPG.mjs";
|
|
14
|
-
import "../../chunk-E3G5QXSH.mjs";
|
|
14
|
+
import "../../chunk-66WCZEEU.mjs";
|
|
15
15
|
import "../../chunk-J725QONZ.mjs";
|
|
16
16
|
import "../../chunk-IZ6II3QA.mjs";
|
|
17
17
|
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
pagination_default
|
|
4
4
|
} from "../../chunk-5HSZ5AYM.mjs";
|
|
5
5
|
import "../../chunk-F3HENRVM.mjs";
|
|
6
|
+
import "../../chunk-E3G5QXSH.mjs";
|
|
6
7
|
import {
|
|
7
8
|
render
|
|
8
9
|
} from "../../chunk-FNPWLOGV.mjs";
|
|
9
|
-
import "../../chunk-E3G5QXSH.mjs";
|
|
10
10
|
import "../../chunk-J725QONZ.mjs";
|
|
11
11
|
import "../../chunk-IZ6II3QA.mjs";
|
|
12
12
|
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import {
|
|
3
3
|
radio_default
|
|
4
4
|
} from "../../chunk-PCIONGEJ.mjs";
|
|
5
|
+
import "../../chunk-E3G5QXSH.mjs";
|
|
5
6
|
import {
|
|
6
7
|
act,
|
|
7
8
|
render
|
|
8
9
|
} from "../../chunk-FNPWLOGV.mjs";
|
|
9
|
-
import "../../chunk-E3G5QXSH.mjs";
|
|
10
10
|
import "../../chunk-J725QONZ.mjs";
|
|
11
11
|
import "../../chunk-IZ6II3QA.mjs";
|
|
12
12
|
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
userEvent
|
|
4
|
-
} from "../../chunk-S4DTK5GI.mjs";
|
|
5
2
|
import {
|
|
6
3
|
select_default
|
|
7
4
|
} from "../../chunk-4VIEZ5FT.mjs";
|
|
8
5
|
import "../../chunk-LY6LJRUX.mjs";
|
|
9
6
|
import "../../chunk-S3QS5B7F.mjs";
|
|
10
|
-
import {
|
|
11
|
-
act,
|
|
12
|
-
render
|
|
13
|
-
} from "../../chunk-FNPWLOGV.mjs";
|
|
14
7
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
15
8
|
import "../../chunk-PRUAIZTU.mjs";
|
|
16
9
|
import "../../chunk-IOV7MEPG.mjs";
|
|
17
10
|
import "../../chunk-E3G5QXSH.mjs";
|
|
11
|
+
import {
|
|
12
|
+
userEvent
|
|
13
|
+
} from "../../chunk-S4DTK5GI.mjs";
|
|
14
|
+
import {
|
|
15
|
+
act,
|
|
16
|
+
render
|
|
17
|
+
} from "../../chunk-FNPWLOGV.mjs";
|
|
18
18
|
import "../../chunk-J725QONZ.mjs";
|
|
19
19
|
import "../../chunk-IZ6II3QA.mjs";
|
|
20
20
|
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import {
|
|
3
3
|
switch_default
|
|
4
4
|
} from "../../chunk-IZOMH2SL.mjs";
|
|
5
|
+
import "../../chunk-E3G5QXSH.mjs";
|
|
5
6
|
import {
|
|
6
7
|
act,
|
|
7
8
|
render
|
|
8
9
|
} from "../../chunk-FNPWLOGV.mjs";
|
|
9
|
-
import "../../chunk-E3G5QXSH.mjs";
|
|
10
10
|
import "../../chunk-IZ6II3QA.mjs";
|
|
11
11
|
|
|
12
12
|
// src/components/switch/switch.test.tsx
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
import "../../chunk-2UUH2MBF.mjs";
|
|
3
3
|
import {
|
|
4
4
|
table_default
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-IXFP2WQ4.mjs";
|
|
6
6
|
import "../../chunk-PUFNT5LS.mjs";
|
|
7
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-KHWFCTPX.mjs";
|
|
8
8
|
import "../../chunk-QZ3LVYJW.mjs";
|
|
9
9
|
import "../../chunk-BE2OG6M4.mjs";
|
|
10
|
-
import "../../chunk-27Y6K5NK.mjs";
|
|
11
10
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
12
11
|
import "../../chunk-PRUAIZTU.mjs";
|
|
13
12
|
import "../../chunk-IOV7MEPG.mjs";
|
|
13
|
+
import "../../chunk-27Y6K5NK.mjs";
|
|
14
14
|
import "../../chunk-E3G5QXSH.mjs";
|
|
15
15
|
import "../../chunk-J725QONZ.mjs";
|
|
16
16
|
import "../../chunk-IZ6II3QA.mjs";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
table_body_default
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-KHWFCTPX.mjs";
|
|
5
5
|
import "../../chunk-QZ3LVYJW.mjs";
|
|
6
6
|
import "../../chunk-BE2OG6M4.mjs";
|
|
7
|
-
import "../../chunk-27Y6K5NK.mjs";
|
|
8
7
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
9
8
|
import "../../chunk-PRUAIZTU.mjs";
|
|
10
9
|
import "../../chunk-IOV7MEPG.mjs";
|
|
10
|
+
import "../../chunk-27Y6K5NK.mjs";
|
|
11
11
|
import "../../chunk-E3G5QXSH.mjs";
|
|
12
12
|
import "../../chunk-J725QONZ.mjs";
|
|
13
13
|
import "../../chunk-IZ6II3QA.mjs";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
table_default
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-IXFP2WQ4.mjs";
|
|
5
5
|
import "../../chunk-PUFNT5LS.mjs";
|
|
6
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-KHWFCTPX.mjs";
|
|
7
7
|
import "../../chunk-QZ3LVYJW.mjs";
|
|
8
8
|
import "../../chunk-BE2OG6M4.mjs";
|
|
9
|
-
import "../../chunk-27Y6K5NK.mjs";
|
|
10
9
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
11
10
|
import "../../chunk-PRUAIZTU.mjs";
|
|
12
11
|
import "../../chunk-IOV7MEPG.mjs";
|
|
12
|
+
import "../../chunk-27Y6K5NK.mjs";
|
|
13
13
|
import "../../chunk-E3G5QXSH.mjs";
|
|
14
14
|
import "../../chunk-J725QONZ.mjs";
|
|
15
15
|
import "../../chunk-IZ6II3QA.mjs";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
table_default
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-IXFP2WQ4.mjs";
|
|
5
5
|
import "../../chunk-PUFNT5LS.mjs";
|
|
6
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-KHWFCTPX.mjs";
|
|
7
7
|
import "../../chunk-QZ3LVYJW.mjs";
|
|
8
8
|
import "../../chunk-BE2OG6M4.mjs";
|
|
9
|
-
import "../../chunk-27Y6K5NK.mjs";
|
|
10
|
-
import {
|
|
11
|
-
render
|
|
12
|
-
} from "../../chunk-FNPWLOGV.mjs";
|
|
13
9
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
14
10
|
import "../../chunk-PRUAIZTU.mjs";
|
|
15
11
|
import "../../chunk-IOV7MEPG.mjs";
|
|
12
|
+
import "../../chunk-27Y6K5NK.mjs";
|
|
16
13
|
import "../../chunk-E3G5QXSH.mjs";
|
|
14
|
+
import {
|
|
15
|
+
render
|
|
16
|
+
} from "../../chunk-FNPWLOGV.mjs";
|
|
17
17
|
import "../../chunk-J725QONZ.mjs";
|
|
18
18
|
import "../../chunk-IZ6II3QA.mjs";
|
|
19
19
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
userEvent
|
|
4
|
-
} from "../../chunk-S4DTK5GI.mjs";
|
|
5
2
|
import {
|
|
6
3
|
tabs_default
|
|
7
4
|
} from "../../chunk-KRI5IALM.mjs";
|
|
5
|
+
import "../../chunk-E3G5QXSH.mjs";
|
|
6
|
+
import {
|
|
7
|
+
userEvent
|
|
8
|
+
} from "../../chunk-S4DTK5GI.mjs";
|
|
8
9
|
import {
|
|
9
10
|
act,
|
|
10
11
|
render
|
|
11
12
|
} from "../../chunk-FNPWLOGV.mjs";
|
|
12
|
-
import "../../chunk-E3G5QXSH.mjs";
|
|
13
13
|
import "../../chunk-J725QONZ.mjs";
|
|
14
14
|
import "../../chunk-IZ6II3QA.mjs";
|
|
15
15
|
|
|
@@ -3640,7 +3640,7 @@ var Toast = (0, import_react.forwardRef)((originalProps, ref) => {
|
|
|
3640
3640
|
);
|
|
3641
3641
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { ref: toastRef, ...getBaseProps(), children: [
|
|
3642
3642
|
showIcon && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Icon_default, { name: originalProps.icon || "info-circle", fill: true, className: "mt-[2px]" }),
|
|
3643
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: "flex-1", children: props.content }),
|
|
3643
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: "flex-1 select-none", children: props.content }),
|
|
3644
3644
|
showCloseButton && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Icon_default, { name: "close", className: "cursor-pointer mt-[2px]", onClick: onClose })
|
|
3645
3645
|
] });
|
|
3646
3646
|
});
|
|
@@ -3767,7 +3767,7 @@ var ToastProvider = ({
|
|
|
3767
3767
|
const [containerStyle, setContainerStyle] = (0, import_react2.useState)({});
|
|
3768
3768
|
const toastRef = (0, import_react2.useRef)();
|
|
3769
3769
|
const addToast = (0, import_react2.useCallback)((content, options) => {
|
|
3770
|
-
const id = Date.now() +
|
|
3770
|
+
const id = Date.now() + Math.floor(Math.random() * 1e5);
|
|
3771
3771
|
const newToast = {
|
|
3772
3772
|
id,
|
|
3773
3773
|
content,
|
|
@@ -3,11 +3,11 @@ import "../../chunk-LUWGOKLG.mjs";
|
|
|
3
3
|
import {
|
|
4
4
|
ToastProvider,
|
|
5
5
|
useToast
|
|
6
|
-
} from "../../chunk-
|
|
6
|
+
} from "../../chunk-K6HPMTN4.mjs";
|
|
7
7
|
import "../../chunk-ZOTHPHXA.mjs";
|
|
8
8
|
import {
|
|
9
9
|
toast_default
|
|
10
|
-
} from "../../chunk-
|
|
10
|
+
} from "../../chunk-QRHT7MSO.mjs";
|
|
11
11
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
12
12
|
import "../../chunk-PRUAIZTU.mjs";
|
|
13
13
|
import "../../chunk-IOV7MEPG.mjs";
|
|
@@ -3636,7 +3636,7 @@ var Toast = (0, import_react.forwardRef)((originalProps, ref) => {
|
|
|
3636
3636
|
);
|
|
3637
3637
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { ref: toastRef, ...getBaseProps(), children: [
|
|
3638
3638
|
showIcon && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Icon_default, { name: originalProps.icon || "info-circle", fill: true, className: "mt-[2px]" }),
|
|
3639
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: "flex-1", children: props.content }),
|
|
3639
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: "flex-1 select-none", children: props.content }),
|
|
3640
3640
|
showCloseButton && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Icon_default, { name: "close", className: "cursor-pointer mt-[2px]", onClick: onClose })
|
|
3641
3641
|
] });
|
|
3642
3642
|
});
|
|
@@ -16483,7 +16483,7 @@ var Toast = (0, import_react.forwardRef)((originalProps, ref) => {
|
|
|
16483
16483
|
);
|
|
16484
16484
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { ref: toastRef, ...getBaseProps(), children: [
|
|
16485
16485
|
showIcon && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Icon_default, { name: originalProps.icon || "info-circle", fill: true, className: "mt-[2px]" }),
|
|
16486
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: "flex-1", children: props.content }),
|
|
16486
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: "flex-1 select-none", children: props.content }),
|
|
16487
16487
|
showCloseButton && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Icon_default, { name: "close", className: "cursor-pointer mt-[2px]", onClick: onClose })
|
|
16488
16488
|
] });
|
|
16489
16489
|
});
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
toast_default
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import {
|
|
6
|
-
render
|
|
7
|
-
} from "../../chunk-FNPWLOGV.mjs";
|
|
4
|
+
} from "../../chunk-QRHT7MSO.mjs";
|
|
8
5
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
9
6
|
import "../../chunk-PRUAIZTU.mjs";
|
|
10
7
|
import "../../chunk-IOV7MEPG.mjs";
|
|
11
8
|
import "../../chunk-E3G5QXSH.mjs";
|
|
9
|
+
import {
|
|
10
|
+
render
|
|
11
|
+
} from "../../chunk-FNPWLOGV.mjs";
|
|
12
12
|
import "../../chunk-J725QONZ.mjs";
|
|
13
13
|
import "../../chunk-IZ6II3QA.mjs";
|
|
14
14
|
|
|
@@ -3676,7 +3676,7 @@ var Toast = (0, import_react.forwardRef)((originalProps, ref) => {
|
|
|
3676
3676
|
);
|
|
3677
3677
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { ref: toastRef, ...getBaseProps(), children: [
|
|
3678
3678
|
showIcon && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Icon_default, { name: originalProps.icon || "info-circle", fill: true, className: "mt-[2px]" }),
|
|
3679
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: "flex-1", children: props.content }),
|
|
3679
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: "flex-1 select-none", children: props.content }),
|
|
3680
3680
|
showCloseButton && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Icon_default, { name: "close", className: "cursor-pointer mt-[2px]", onClick: onClose })
|
|
3681
3681
|
] });
|
|
3682
3682
|
});
|
|
@@ -3764,7 +3764,7 @@ var ToastProvider = ({
|
|
|
3764
3764
|
const [containerStyle, setContainerStyle] = (0, import_react2.useState)({});
|
|
3765
3765
|
const toastRef = (0, import_react2.useRef)();
|
|
3766
3766
|
const addToast = (0, import_react2.useCallback)((content, options) => {
|
|
3767
|
-
const id = Date.now() +
|
|
3767
|
+
const id = Date.now() + Math.floor(Math.random() * 1e5);
|
|
3768
3768
|
const newToast = {
|
|
3769
3769
|
id,
|
|
3770
3770
|
content,
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ToastProvider,
|
|
4
4
|
useToast
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-K6HPMTN4.mjs";
|
|
6
6
|
import "../../chunk-ZOTHPHXA.mjs";
|
|
7
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-QRHT7MSO.mjs";
|
|
8
8
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
9
9
|
import "../../chunk-PRUAIZTU.mjs";
|
|
10
10
|
import "../../chunk-IOV7MEPG.mjs";
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
import "../../chunk-DSBSLSJW.mjs";
|
|
6
6
|
import "../../chunk-ODMRJXLJ.mjs";
|
|
7
7
|
import "../../chunk-VUYUQGLF.mjs";
|
|
8
|
+
import "../../chunk-E3G5QXSH.mjs";
|
|
8
9
|
import "../../chunk-NGQ3MK2J.mjs";
|
|
9
|
-
import {
|
|
10
|
-
button_default
|
|
11
|
-
} from "../../chunk-66WCZEEU.mjs";
|
|
12
10
|
import {
|
|
13
11
|
render
|
|
14
12
|
} from "../../chunk-FNPWLOGV.mjs";
|
|
15
|
-
import
|
|
13
|
+
import {
|
|
14
|
+
button_default
|
|
15
|
+
} from "../../chunk-66WCZEEU.mjs";
|
|
16
16
|
import "../../chunk-J725QONZ.mjs";
|
|
17
17
|
import "../../chunk-IZ6II3QA.mjs";
|
|
18
18
|
|
package/dist/index.js
CHANGED
|
@@ -7356,7 +7356,7 @@ var Toast = (0, import_react28.forwardRef)((originalProps, ref) => {
|
|
|
7356
7356
|
);
|
|
7357
7357
|
return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { ref: toastRef, ...getBaseProps(), children: [
|
|
7358
7358
|
showIcon && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Icon_default, { name: originalProps.icon || "info-circle", fill: true, className: "mt-[2px]" }),
|
|
7359
|
-
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "flex-1", children: props.content }),
|
|
7359
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "flex-1 select-none", children: props.content }),
|
|
7360
7360
|
showCloseButton && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Icon_default, { name: "close", className: "cursor-pointer mt-[2px]", onClick: onClose })
|
|
7361
7361
|
] });
|
|
7362
7362
|
});
|
|
@@ -7483,7 +7483,7 @@ var ToastProvider = ({
|
|
|
7483
7483
|
const [containerStyle, setContainerStyle] = (0, import_react29.useState)({});
|
|
7484
7484
|
const toastRef = (0, import_react29.useRef)();
|
|
7485
7485
|
const addToast = (0, import_react29.useCallback)((content, options) => {
|
|
7486
|
-
const id = Date.now() +
|
|
7486
|
+
const id = Date.now() + Math.floor(Math.random() * 1e5);
|
|
7487
7487
|
const newToast = {
|
|
7488
7488
|
id,
|
|
7489
7489
|
content,
|
package/dist/index.mjs
CHANGED
|
@@ -3,11 +3,11 @@ import "./chunk-LUWGOKLG.mjs";
|
|
|
3
3
|
import {
|
|
4
4
|
ToastProvider,
|
|
5
5
|
useToast
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-K6HPMTN4.mjs";
|
|
7
7
|
import "./chunk-ZOTHPHXA.mjs";
|
|
8
8
|
import {
|
|
9
9
|
toast_default
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QRHT7MSO.mjs";
|
|
11
11
|
import "./chunk-HIE2YRGA.mjs";
|
|
12
12
|
import {
|
|
13
13
|
tooltip_default
|
|
@@ -22,30 +22,30 @@ import "./chunk-RRAZM5D3.mjs";
|
|
|
22
22
|
import {
|
|
23
23
|
textarea_default
|
|
24
24
|
} from "./chunk-WOX3SLJB.mjs";
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import {
|
|
27
|
-
slider_default
|
|
28
|
-
} from "./chunk-H2HUJ4N2.mjs";
|
|
29
|
-
import "./chunk-LVFI2NOH.mjs";
|
|
25
|
+
import "./chunk-QCEKPS7U.mjs";
|
|
30
26
|
import {
|
|
31
|
-
|
|
32
|
-
} from "./chunk-
|
|
27
|
+
select_default
|
|
28
|
+
} from "./chunk-4VIEZ5FT.mjs";
|
|
29
|
+
import "./chunk-LY6LJRUX.mjs";
|
|
30
|
+
import "./chunk-S3QS5B7F.mjs";
|
|
33
31
|
import "./chunk-2UUH2MBF.mjs";
|
|
34
32
|
import {
|
|
35
33
|
table_default
|
|
36
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-IXFP2WQ4.mjs";
|
|
37
35
|
import "./chunk-PUFNT5LS.mjs";
|
|
38
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-KHWFCTPX.mjs";
|
|
39
37
|
import "./chunk-TPFN22HR.mjs";
|
|
40
38
|
import {
|
|
41
39
|
radio_default
|
|
42
40
|
} from "./chunk-PCIONGEJ.mjs";
|
|
43
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-MV2WCFK7.mjs";
|
|
44
42
|
import {
|
|
45
|
-
|
|
46
|
-
} from "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import
|
|
43
|
+
slider_default
|
|
44
|
+
} from "./chunk-H2HUJ4N2.mjs";
|
|
45
|
+
import "./chunk-LVFI2NOH.mjs";
|
|
46
|
+
import {
|
|
47
|
+
switch_default
|
|
48
|
+
} from "./chunk-IZOMH2SL.mjs";
|
|
49
49
|
import "./chunk-7B7LRG5J.mjs";
|
|
50
50
|
import {
|
|
51
51
|
pagination_default
|
|
@@ -65,8 +65,8 @@ import {
|
|
|
65
65
|
import "./chunk-DJOG6Z35.mjs";
|
|
66
66
|
import {
|
|
67
67
|
modal_default
|
|
68
|
-
} from "./chunk-
|
|
69
|
-
import "./chunk-
|
|
68
|
+
} from "./chunk-YGTJU3GD.mjs";
|
|
69
|
+
import "./chunk-NMSDSEBD.mjs";
|
|
70
70
|
import "./chunk-QZ3LVYJW.mjs";
|
|
71
71
|
import {
|
|
72
72
|
checkbox_default
|
|
@@ -75,18 +75,11 @@ import "./chunk-2GCSFWHD.mjs";
|
|
|
75
75
|
import {
|
|
76
76
|
input_default
|
|
77
77
|
} from "./chunk-4DLTBZUQ.mjs";
|
|
78
|
-
import "./chunk-NMSDSEBD.mjs";
|
|
79
78
|
import "./chunk-VUYUQGLF.mjs";
|
|
80
|
-
import
|
|
81
|
-
button_group_default
|
|
82
|
-
} from "./chunk-NGQ3MK2J.mjs";
|
|
83
|
-
import {
|
|
84
|
-
button_default
|
|
85
|
-
} from "./chunk-66WCZEEU.mjs";
|
|
79
|
+
import "./chunk-HAOK24MK.mjs";
|
|
86
80
|
import {
|
|
87
81
|
card_default
|
|
88
82
|
} from "./chunk-2ALY3PH5.mjs";
|
|
89
|
-
import "./chunk-27Y6K5NK.mjs";
|
|
90
83
|
import {
|
|
91
84
|
accordion_default
|
|
92
85
|
} from "./chunk-SWR7E3NU.mjs";
|
|
@@ -99,7 +92,14 @@ import {
|
|
|
99
92
|
iconTemplate
|
|
100
93
|
} from "./chunk-PRUAIZTU.mjs";
|
|
101
94
|
import "./chunk-IOV7MEPG.mjs";
|
|
95
|
+
import "./chunk-27Y6K5NK.mjs";
|
|
102
96
|
import "./chunk-E3G5QXSH.mjs";
|
|
97
|
+
import {
|
|
98
|
+
button_group_default
|
|
99
|
+
} from "./chunk-NGQ3MK2J.mjs";
|
|
100
|
+
import {
|
|
101
|
+
button_default
|
|
102
|
+
} from "./chunk-66WCZEEU.mjs";
|
|
103
103
|
import {
|
|
104
104
|
tv
|
|
105
105
|
} from "./chunk-J725QONZ.mjs";
|
package/package.json
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import {
|
|
3
3
|
checkbox_default
|
|
4
4
|
} from "./chunk-BE2OG6M4.mjs";
|
|
5
|
-
import {
|
|
6
|
-
clsx
|
|
7
|
-
} from "./chunk-27Y6K5NK.mjs";
|
|
8
5
|
import {
|
|
9
6
|
Icon_default
|
|
10
7
|
} from "./chunk-PRUAIZTU.mjs";
|
|
8
|
+
import {
|
|
9
|
+
clsx
|
|
10
|
+
} from "./chunk-27Y6K5NK.mjs";
|
|
11
11
|
|
|
12
12
|
// src/components/table/table-body.tsx
|
|
13
13
|
import React, { useState, useCallback, useEffect } from "react";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
button_default
|
|
4
|
-
} from "./chunk-66WCZEEU.mjs";
|
|
5
2
|
import {
|
|
6
3
|
Icon_default
|
|
7
4
|
} from "./chunk-PRUAIZTU.mjs";
|
|
8
5
|
import {
|
|
9
6
|
mapPropsVariants
|
|
10
7
|
} from "./chunk-E3G5QXSH.mjs";
|
|
8
|
+
import {
|
|
9
|
+
button_default
|
|
10
|
+
} from "./chunk-66WCZEEU.mjs";
|
|
11
11
|
import {
|
|
12
12
|
tv
|
|
13
13
|
} from "./chunk-J725QONZ.mjs";
|