se-design 1.0.61 → 1.0.62-dev
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/assets/colors.css +22 -9
- package/dist/assets/icons/command.svg +1 -1
- package/dist/assets/style.css +1 -1
- package/dist/components/BreadCrumbs/index.d.ts +2 -0
- package/dist/components/Button/index.d.ts +5 -1
- package/dist/index.js +23 -21
- package/dist/index.js.map +1 -1
- package/dist/index100.js +1 -1
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +1 -1
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +2 -2
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +1 -1
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +2 -2
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +1 -1
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +1 -1
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +1 -1
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +2 -2
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +1 -1
- package/dist/index109.js.map +1 -1
- package/dist/index110.js +2 -2
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +2 -2
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +2 -2
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +2 -2
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +1 -1
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +1 -1
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +1 -1
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +2 -2
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +2 -2
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +2 -2
- package/dist/index119.js.map +1 -1
- package/dist/index120.js +1 -1
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +1 -1
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +1 -1
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +1 -1
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +1 -1
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +1 -1
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +1 -1
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +1 -1
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +2 -2
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +2 -2
- package/dist/index129.js.map +1 -1
- package/dist/index130.js +1 -1
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +1 -1
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +1 -1
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +1 -1
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +1 -1
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +1 -1
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +2 -2
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +1 -1
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +2 -2
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +2 -2
- package/dist/index139.js.map +1 -1
- package/dist/index140.js +2 -2
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +2 -2
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +1 -1
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +1 -1
- package/dist/index143.js.map +1 -1
- package/dist/index144.js +1 -1
- package/dist/index144.js.map +1 -1
- package/dist/index145.js +1 -1
- package/dist/index145.js.map +1 -1
- package/dist/index146.js +1 -1
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +1 -1
- package/dist/index147.js.map +1 -1
- package/dist/index148.js +1 -1
- package/dist/index148.js.map +1 -1
- package/dist/index149.js +1 -1
- package/dist/index149.js.map +1 -1
- package/dist/index15.js +2 -2
- package/dist/index150.js +1 -1
- package/dist/index150.js.map +1 -1
- package/dist/index151.js +1 -1
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +1 -1
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +1 -1
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +1 -1
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +1 -1
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +1 -1
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +1 -1
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +1 -1
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +1 -1
- package/dist/index159.js.map +1 -1
- package/dist/index160.js +1 -1
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +1 -1
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +1 -1
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +1 -1
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +1 -1
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +2 -2
- package/dist/index165.js.map +1 -1
- package/dist/index166.js +2 -2
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +1 -1
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +1 -1
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +2 -2
- package/dist/index169.js.map +1 -1
- package/dist/index17.js +1 -1
- package/dist/index170.js +2 -2
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +1 -1
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +1 -1
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +1 -1
- package/dist/index173.js.map +1 -1
- package/dist/index174.js +1 -1
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +1 -1
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +1 -1
- package/dist/index176.js.map +1 -1
- package/dist/index177.js +1 -1
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +1 -1
- package/dist/index178.js.map +1 -1
- package/dist/index179.js +2 -2
- package/dist/index179.js.map +1 -1
- package/dist/index18.js +2 -2
- package/dist/index180.js +2 -2
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +2 -2
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +2 -149
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +149 -9
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +8 -5
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +5 -4
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +8 -0
- package/dist/index186.js.map +1 -0
- package/dist/index189.js +20 -58
- package/dist/index189.js.map +1 -1
- package/dist/index191.js +1 -1
- package/dist/index212.js +1 -1
- package/dist/index22.js +3 -3
- package/dist/index224.js +1 -1
- package/dist/index225.js +1 -1
- package/dist/index226.js +9 -21
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +9 -18
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +4 -9
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +170 -10
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +11 -5
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +22 -170
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +19 -11
- package/dist/index232.js.map +1 -1
- package/dist/index24.js +2 -2
- package/dist/index24.js.map +1 -1
- package/dist/index27.js +1 -1
- package/dist/index29.js +1 -1
- package/dist/index3.js +23 -21
- package/dist/index3.js.map +1 -1
- package/dist/index31.js +10 -11
- package/dist/index34.js +1 -1
- package/dist/index36.js +35 -38
- package/dist/index36.js.map +1 -1
- package/dist/index37.js +4 -5
- package/dist/index37.js.map +1 -1
- package/dist/index38.js +3 -3
- package/dist/index41.js +7 -8
- package/dist/index42.js +6 -7
- package/dist/index43.js +16 -16
- package/dist/index43.js.map +1 -1
- package/dist/index44.js +2 -2
- package/dist/index45.js +2 -2
- package/dist/index48.js +1 -1
- package/dist/index49.js +48 -30
- package/dist/index49.js.map +1 -1
- package/dist/index5.js +113 -113
- package/dist/index50.js +2 -2
- package/dist/index50.js.map +1 -1
- package/dist/index54.js +21 -22
- package/dist/index56.js +2 -2
- package/dist/index56.js.map +1 -1
- package/dist/index6.js +2 -3
- package/dist/index63.js +1 -1
- package/dist/index64.js +2 -3
- package/dist/index66.js +19 -17
- package/dist/index66.js.map +1 -1
- package/dist/index68.js +55 -5
- package/dist/index68.js.map +1 -1
- package/dist/index69.js +5 -9
- package/dist/index69.js.map +1 -1
- package/dist/index70.js +12 -0
- package/dist/index70.js.map +1 -0
- package/dist/index72.js +2 -2
- package/dist/index72.js.map +1 -1
- package/dist/index73.js +2 -2
- package/dist/index73.js.map +1 -1
- package/dist/index74.js +2 -2
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +1 -1
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +1 -1
- package/dist/index76.js.map +1 -1
- package/dist/index77.js +1 -1
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +1 -1
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +1 -1
- package/dist/index79.js.map +1 -1
- package/dist/index8.js +5 -5
- package/dist/index8.js.map +1 -1
- package/dist/index80.js +1 -1
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +1 -1
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +1 -1
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +1 -1
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +1 -1
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +1 -1
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +1 -1
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +1 -1
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +1 -1
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +1 -1
- package/dist/index89.js.map +1 -1
- package/dist/index90.js +1 -1
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +1 -1
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +1 -1
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +1 -1
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +1 -1
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +1 -1
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +1 -1
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +2 -2
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +1 -1
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +2 -2
- package/dist/index99.js.map +1 -1
- package/package.json +1 -1
- package/dist/index188.js +0 -27
- package/dist/index188.js.map +0 -1
- package/dist/index71.js +0 -5
- package/dist/index71.js.map +0 -1
package/dist/index42.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import e, { useState as p } from "react";
|
|
2
|
-
import { Icon as
|
|
2
|
+
import { Icon as l } from "./index5.js";
|
|
3
3
|
import { Button as w } from "./index3.js";
|
|
4
4
|
/* empty css */
|
|
5
5
|
const r = {
|
|
@@ -15,7 +15,7 @@ const r = {
|
|
|
15
15
|
customAlertClassBtn: "bg-[var(--color-red-500)] text-[var(--color-white)] hover:bg-[var(--color-red-500)] border border-[var(--color-white)] hover:border-[var(--color-white)]",
|
|
16
16
|
customNudgeClassBtn: "bg-[var(--color-blue-500)] text-[var(--color-white)] hover:bg-[var(--color-blue-500)] border border-[var(--color-white)] hover:border-[var(--color-white)]"
|
|
17
17
|
}, B = ({
|
|
18
|
-
messageBarCtnClassName:
|
|
18
|
+
messageBarCtnClassName: a = "",
|
|
19
19
|
messageBarType: o = "info",
|
|
20
20
|
message: s = "",
|
|
21
21
|
hasCloseIcon: c = !1,
|
|
@@ -46,7 +46,7 @@ const r = {
|
|
|
46
46
|
}
|
|
47
47
|
}, [o]);
|
|
48
48
|
return /* @__PURE__ */ e.createElement("div", {
|
|
49
|
-
className: `se-design-message-bar ${
|
|
49
|
+
className: `se-design-message-bar ${a} ${r.messageBarCtn} ${r[o]} ${v ? "show" : "hide"}`,
|
|
50
50
|
"data-automation-id": u
|
|
51
51
|
}, /* @__PURE__ */ e.createElement("div", {
|
|
52
52
|
className: r.messageCtn
|
|
@@ -54,7 +54,7 @@ const r = {
|
|
|
54
54
|
className: "inline-flex items-center"
|
|
55
55
|
}, /* @__PURE__ */ e.createElement("span", {
|
|
56
56
|
className: f
|
|
57
|
-
}, /* @__PURE__ */ e.createElement(
|
|
57
|
+
}, /* @__PURE__ */ e.createElement(l, {
|
|
58
58
|
name: "info",
|
|
59
59
|
className: "inline-block h-fit relative top-[3px] mr-1"
|
|
60
60
|
}), s, n && /* @__PURE__ */ e.createElement(w, {
|
|
@@ -64,14 +64,13 @@ const r = {
|
|
|
64
64
|
onClick: m,
|
|
65
65
|
className: `${g} ml-2 alert-btn`,
|
|
66
66
|
automationId: "message-bar-cta"
|
|
67
|
-
})))), c && /* @__PURE__ */ e.createElement(
|
|
67
|
+
})))), c && /* @__PURE__ */ e.createElement(l, {
|
|
68
68
|
name: "close",
|
|
69
69
|
className: r.closeIconCtn,
|
|
70
70
|
onClick: d
|
|
71
71
|
}));
|
|
72
72
|
};
|
|
73
73
|
export {
|
|
74
|
-
B as MessageBar
|
|
75
|
-
B as default
|
|
74
|
+
B as MessageBar
|
|
76
75
|
};
|
|
77
76
|
//# sourceMappingURL=index42.js.map
|
package/dist/index43.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e, { useState as
|
|
1
|
+
import e, { useState as v, useEffect as g } from "react";
|
|
2
2
|
import { Icon as s } from "./index5.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
const t = {
|
|
@@ -8,27 +8,27 @@ const t = {
|
|
|
8
8
|
info: "var(--color-gray-700)",
|
|
9
9
|
toastMessageCtn: "flex items-center gap-2",
|
|
10
10
|
toastMessage: "text-[var(--color-white)] text-center word-break",
|
|
11
|
-
closeIconCtn: "absolute right-[12px] cursor-pointer cursor-pointer hover:bg-[var(--color-gray-500)] rounded-full p-1"
|
|
12
|
-
},
|
|
11
|
+
closeIconCtn: "absolute right-[12px] cursor-pointer cursor-pointer hover:bg-[var(--color-gray-500)] rounded-full p-1 focus-visible:!outline-[var(--color-blue-300)]"
|
|
12
|
+
}, x = ({
|
|
13
13
|
toastBarCtnClassName: a = "",
|
|
14
|
-
type:
|
|
14
|
+
type: o,
|
|
15
15
|
message: c = "",
|
|
16
|
-
shouldAutoClose:
|
|
17
|
-
delay:
|
|
16
|
+
shouldAutoClose: l = !1,
|
|
17
|
+
delay: n = 5e3,
|
|
18
18
|
onClose: i = () => {
|
|
19
19
|
},
|
|
20
20
|
containerStyle: m = {}
|
|
21
21
|
}) => {
|
|
22
|
-
const [u, f] =
|
|
23
|
-
|
|
24
|
-
if (
|
|
22
|
+
const [u, f] = v(!0);
|
|
23
|
+
g(() => {
|
|
24
|
+
if (l) {
|
|
25
25
|
const d = setTimeout(() => {
|
|
26
|
-
|
|
27
|
-
},
|
|
26
|
+
r();
|
|
27
|
+
}, n);
|
|
28
28
|
return () => clearTimeout(d);
|
|
29
29
|
}
|
|
30
30
|
}, []);
|
|
31
|
-
const
|
|
31
|
+
const r = () => {
|
|
32
32
|
setTimeout(() => {
|
|
33
33
|
f(!1), setTimeout(() => {
|
|
34
34
|
i?.();
|
|
@@ -38,13 +38,13 @@ const t = {
|
|
|
38
38
|
return /* @__PURE__ */ e.createElement("div", {
|
|
39
39
|
className: `se-design-toast-bar ${a} ${t.toastBarCtn} ${u ? "show" : "hide"}`,
|
|
40
40
|
style: {
|
|
41
|
-
background: t[
|
|
41
|
+
background: t[o],
|
|
42
42
|
...m
|
|
43
43
|
}
|
|
44
44
|
}, /* @__PURE__ */ e.createElement("div", {
|
|
45
45
|
className: t.toastMessageCtn
|
|
46
46
|
}, /* @__PURE__ */ e.createElement(s, {
|
|
47
|
-
name:
|
|
47
|
+
name: o === "info" ? "info" : o === "error" ? "stop" : "checked-circle",
|
|
48
48
|
stroke: "var(--color-white)"
|
|
49
49
|
}), /* @__PURE__ */ e.createElement("span", {
|
|
50
50
|
className: t.toastMessage
|
|
@@ -52,10 +52,10 @@ const t = {
|
|
|
52
52
|
name: "close",
|
|
53
53
|
stroke: "var(--color-white)",
|
|
54
54
|
className: t.closeIconCtn,
|
|
55
|
-
onClick:
|
|
55
|
+
onClick: r
|
|
56
56
|
}));
|
|
57
57
|
};
|
|
58
58
|
export {
|
|
59
|
-
|
|
59
|
+
x as ToastBar
|
|
60
60
|
};
|
|
61
61
|
//# sourceMappingURL=index43.js.map
|
package/dist/index43.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index43.js","sources":["../src/components/ToastBar/index.tsx"],"sourcesContent":["import React, { FC, useEffect, useState } from \"react\";\nimport { Map } from \"../../utils/common.types\";\nimport { Icon } from \"../Icon\";\nimport \"./style.scss\";\n\nexport interface ToastBarProps {\n toastBarCtnClassName?: string;\n type: \"success\" | \"error\" | \"info\";\n message: string;\n shouldAutoClose?: boolean;\n delay?: number;\n onClose?: () => void;\n containerStyle?: React.CSSProperties;\n}\n\nconst classNames: Map = {\n toastBarCtn: \"min-h-[48px] fixed top-0 w-full flex items-center justify-center flex-wrap z-[1020]\",\n success: \"var(--color-green-500)\",\n error: \"var(--color-red-500)\",\n info: \"var(--color-gray-700)\", \n toastMessageCtn: \"flex items-center gap-2\",\n toastMessage: \"text-[var(--color-white)] text-center word-break\",\n closeIconCtn: \"absolute right-[12px] cursor-pointer cursor-pointer hover:bg-[var(--color-gray-500)] rounded-full p-1\",\n};\n\nexport const ToastBar: FC<ToastBarProps> = ({\n toastBarCtnClassName = \"\",\n type,\n message = \"\",\n shouldAutoClose = false,\n delay = 5000,\n onClose = () => {},\n containerStyle = {}\n}) => {\n const [visible, setVisible] = useState(true);\n\n useEffect(() => {\n if (shouldAutoClose) {\n const timer = setTimeout(() => {\n handleClose();\n }, delay);\n return () => clearTimeout(timer);\n }\n }, []);\n\n const handleClose = () => {\n setTimeout(() => {\n setVisible(false);\n setTimeout(() => {\n onClose?.();\n }, 300);\n }, 300);\n };\n\n return (\n <div\n className={`se-design-toast-bar ${toastBarCtnClassName} ${classNames.toastBarCtn} ${visible ? \"show\" : \"hide\"}`}\n style={{ background: classNames[type], ...containerStyle }}\n >\n <div className={classNames.toastMessageCtn} >\n <Icon name={type === \"info\" ? \"info\" : type === \"error\" ? \"stop\" : \"checked-circle\"} stroke={'var(--color-white)'} />\n <span className={classNames.toastMessage}>{message}</span>\n </div>\n <Icon name=\"close\" stroke={'var(--color-white)'} className={classNames.closeIconCtn} onClick={handleClose} />\n </div>\n );\n};"],"names":["React__default","useState","useEffect","Icon","classNames","toastBarCtn","success","error","info","toastMessageCtn","toastMessage","closeIconCtn","ToastBar","toastBarCtnClassName","type","message","shouldAutoClose","delay","onClose","containerStyle","visible","setVisible","timer","setTimeout","handleClose","clearTimeout","React","createElement","className","style","background","name","stroke","onClick"],"mappings":"AAeA,OAAAA,KAAA,YAAAC,GAAA,aAAAC,SAAA;AAAA,SAAA,QAAAC,SAAA;AAAA,OAAA;AAAA,MAAMC,IAAkB;AAAA,EACtBC,aAAa;AAAA,EACbC,SAAS;AAAA,EACTC,OAAO;AAAA,EACPC,MAAM;AAAA,EACNC,iBAAiB;AAAA,EACjBC,cAAc;AAAA,EACdC,cAAc;AAChB,GAEaC,IAA8BA,CAAC;AAAA,EAC1CC,sBAAAA,IAAuB;AAAA,EACvBC,MAAAA;AAAAA,EACAC,SAAAA,IAAU;AAAA,EACVC,iBAAAA,IAAkB;AAAA,EAClBC,OAAAA,IAAQ;AAAA,EACRC,SAAAA,IAAUA,MAAM;AAAA,EAAC;AAAA,EACjBC,gBAAAA,IAAiB,CAAA;AACnB,MAAM;AACJ,QAAM,CAACC,GAASC,CAAU,IAAIpB,EAAS,EAAI;AAE3CC,EAAAA,EAAU,MAAM;AACd,QAAIc,GAAiB;AACnB,YAAMM,IAAQC,WAAW,MAAM;AAC7BC,QAAAA,EAAAA;AAAAA,MACF,GAAGP,CAAK;AACR,aAAO,MAAMQ,aAAaH,CAAK;AAAA,IACjC;AAAA,EACF,GAAG,CAAA,CAAE;AAEL,QAAME,IAAcA,MAAM;AACxBD,eAAW,MAAM;AACfF,MAAAA,EAAW,EAAK,GAChBE,WAAW,MAAM;AACfL,QAAAA,IAAAA;AAAAA,MACF,GAAG,GAAG;AAAA,IACR,GAAG,GAAG;AAAA,EACR;AAEA,SACEQ,gBAAAA,EAAAC,cAAA,OAAA;AAAA,IACEC,WAAW,uBAAuBf,CAAoB,IAAIT,EAAWC,WAAW,IAAIe,IAAU,SAAS,MAAM;AAAA,IAC7GS,OAAO;AAAA,MAAEC,YAAY1B,EAAWU,CAAI;AAAA,MAAG,GAAGK;AAAAA,IAAAA;AAAAA,EAAe,GAEzDO,gBAAAA,EAAAC,cAAA,OAAA;AAAA,IAAKC,WAAWxB,EAAWK;AAAAA,EAAAA,GACzBiB,gBAAAA,EAAAC,cAACxB,GAAI;AAAA,IAAC4B,MAAMjB,MAAS,SAAS,SAASA,MAAS,UAAU,SAAS;AAAA,IAAkBkB,QAAQ;AAAA,EAAA,CAAuB,GACpHN,gBAAAA,EAAAC,cAAA,QAAA;AAAA,IAAMC,WAAWxB,EAAWM;AAAAA,EAAAA,GAAeK,CAAc,CACtD,GACLW,gBAAAA,EAAAC,cAACxB,GAAI;AAAA,IAAC4B,MAAK;AAAA,IAAQC,QAAQ;AAAA,IAAsBJ,WAAWxB,EAAWO;AAAAA,IAAcsB,SAAST;AAAAA,EAAAA,CAAc,CACzG;AAET;"}
|
|
1
|
+
{"version":3,"file":"index43.js","sources":["../src/components/ToastBar/index.tsx"],"sourcesContent":["import React, { FC, useEffect, useState } from \"react\";\nimport { Map } from \"../../utils/common.types\";\nimport { Icon } from \"../Icon\";\nimport \"./style.scss\";\n\nexport interface ToastBarProps {\n toastBarCtnClassName?: string;\n type: \"success\" | \"error\" | \"info\";\n message: string;\n shouldAutoClose?: boolean;\n delay?: number;\n onClose?: () => void;\n containerStyle?: React.CSSProperties;\n}\n\nconst classNames: Map = {\n toastBarCtn: \"min-h-[48px] fixed top-0 w-full flex items-center justify-center flex-wrap z-[1020]\",\n success: \"var(--color-green-500)\",\n error: \"var(--color-red-500)\",\n info: \"var(--color-gray-700)\", \n toastMessageCtn: \"flex items-center gap-2\",\n toastMessage: \"text-[var(--color-white)] text-center word-break\",\n closeIconCtn: \"absolute right-[12px] cursor-pointer cursor-pointer hover:bg-[var(--color-gray-500)] rounded-full p-1 focus-visible:!outline-[var(--color-blue-300)]\",\n};\n\nexport const ToastBar: FC<ToastBarProps> = ({\n toastBarCtnClassName = \"\",\n type,\n message = \"\",\n shouldAutoClose = false,\n delay = 5000,\n onClose = () => {},\n containerStyle = {}\n}) => {\n const [visible, setVisible] = useState(true);\n\n useEffect(() => {\n if (shouldAutoClose) {\n const timer = setTimeout(() => {\n handleClose();\n }, delay);\n return () => clearTimeout(timer);\n }\n }, []);\n\n const handleClose = () => {\n setTimeout(() => {\n setVisible(false);\n setTimeout(() => {\n onClose?.();\n }, 300);\n }, 300);\n };\n\n return (\n <div\n className={`se-design-toast-bar ${toastBarCtnClassName} ${classNames.toastBarCtn} ${visible ? \"show\" : \"hide\"}`}\n style={{ background: classNames[type], ...containerStyle }}\n >\n <div className={classNames.toastMessageCtn} >\n <Icon name={type === \"info\" ? \"info\" : type === \"error\" ? \"stop\" : \"checked-circle\"} stroke={'var(--color-white)'} />\n <span className={classNames.toastMessage}>{message}</span>\n </div>\n <Icon name=\"close\" stroke={'var(--color-white)'} className={classNames.closeIconCtn} onClick={handleClose} />\n </div>\n );\n};"],"names":["React__default","useState","useEffect","Icon","classNames","toastBarCtn","success","error","info","toastMessageCtn","toastMessage","closeIconCtn","ToastBar","toastBarCtnClassName","type","message","shouldAutoClose","delay","onClose","containerStyle","visible","setVisible","timer","setTimeout","handleClose","clearTimeout","React","createElement","className","style","background","name","stroke","onClick"],"mappings":"AAeA,OAAAA,KAAA,YAAAC,GAAA,aAAAC,SAAA;AAAA,SAAA,QAAAC,SAAA;AAAA,OAAA;AAAA,MAAMC,IAAkB;AAAA,EACtBC,aAAa;AAAA,EACbC,SAAS;AAAA,EACTC,OAAO;AAAA,EACPC,MAAM;AAAA,EACNC,iBAAiB;AAAA,EACjBC,cAAc;AAAA,EACdC,cAAc;AAChB,GAEaC,IAA8BA,CAAC;AAAA,EAC1CC,sBAAAA,IAAuB;AAAA,EACvBC,MAAAA;AAAAA,EACAC,SAAAA,IAAU;AAAA,EACVC,iBAAAA,IAAkB;AAAA,EAClBC,OAAAA,IAAQ;AAAA,EACRC,SAAAA,IAAUA,MAAM;AAAA,EAAC;AAAA,EACjBC,gBAAAA,IAAiB,CAAA;AACnB,MAAM;AACJ,QAAM,CAACC,GAASC,CAAU,IAAIpB,EAAS,EAAI;AAE3CC,EAAAA,EAAU,MAAM;AACd,QAAIc,GAAiB;AACnB,YAAMM,IAAQC,WAAW,MAAM;AAC7BC,QAAAA,EAAAA;AAAAA,MACF,GAAGP,CAAK;AACR,aAAO,MAAMQ,aAAaH,CAAK;AAAA,IACjC;AAAA,EACF,GAAG,CAAA,CAAE;AAEL,QAAME,IAAcA,MAAM;AACxBD,eAAW,MAAM;AACfF,MAAAA,EAAW,EAAK,GAChBE,WAAW,MAAM;AACfL,QAAAA,IAAAA;AAAAA,MACF,GAAG,GAAG;AAAA,IACR,GAAG,GAAG;AAAA,EACR;AAEA,SACEQ,gBAAAA,EAAAC,cAAA,OAAA;AAAA,IACEC,WAAW,uBAAuBf,CAAoB,IAAIT,EAAWC,WAAW,IAAIe,IAAU,SAAS,MAAM;AAAA,IAC7GS,OAAO;AAAA,MAAEC,YAAY1B,EAAWU,CAAI;AAAA,MAAG,GAAGK;AAAAA,IAAAA;AAAAA,EAAe,GAEzDO,gBAAAA,EAAAC,cAAA,OAAA;AAAA,IAAKC,WAAWxB,EAAWK;AAAAA,EAAAA,GACzBiB,gBAAAA,EAAAC,cAACxB,GAAI;AAAA,IAAC4B,MAAMjB,MAAS,SAAS,SAASA,MAAS,UAAU,SAAS;AAAA,IAAkBkB,QAAQ;AAAA,EAAA,CAAuB,GACpHN,gBAAAA,EAAAC,cAAA,QAAA;AAAA,IAAMC,WAAWxB,EAAWM;AAAAA,EAAAA,GAAeK,CAAc,CACtD,GACLW,gBAAAA,EAAAC,cAACxB,GAAI;AAAA,IAAC4B,MAAK;AAAA,IAAQC,QAAQ;AAAA,IAAsBJ,WAAWxB,EAAWO;AAAAA,IAAcsB,SAAST;AAAAA,EAAAA,CAAc,CACzG;AAET;"}
|
package/dist/index44.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import e, { useState as S, useRef as k, useCallback as P, useEffect as Y } from "react";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import { Icon as x } from "./index5.js";
|
|
4
|
-
import { useStableId as Z } from "./
|
|
5
|
-
import { getA11yNameAttributes as L } from "./
|
|
4
|
+
import { useStableId as Z } from "./index185.js";
|
|
5
|
+
import { getA11yNameAttributes as L } from "./index70.js";
|
|
6
6
|
import { useCombobox as ee } from "./index191.js";
|
|
7
7
|
function u() {
|
|
8
8
|
return u = Object.assign ? Object.assign.bind() : function(o) {
|
package/dist/index45.js
CHANGED
|
@@ -2,8 +2,8 @@ import t, { useState as m, useRef as h, useCallback as f, useEffect as x } from
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
import g from "./index209.js";
|
|
4
4
|
import { Icon as T } from "./index5.js";
|
|
5
|
-
import { useStableId as E } from "./
|
|
6
|
-
import { getA11yNameAttributes as ce } from "./
|
|
5
|
+
import { useStableId as E } from "./index185.js";
|
|
6
|
+
import { getA11yNameAttributes as ce } from "./index70.js";
|
|
7
7
|
import { useCombobox as se } from "./index191.js";
|
|
8
8
|
function c() {
|
|
9
9
|
return c = Object.assign ? Object.assign.bind() : function(s) {
|
package/dist/index48.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o, { useState as F, useMemo as y, useEffect as g } from "react";
|
|
2
2
|
import "./index3.js";
|
|
3
3
|
import { Icon as w } from "./index5.js";
|
|
4
|
-
import { getA11yNameAttributes as O } from "./
|
|
4
|
+
import { getA11yNameAttributes as O } from "./index70.js";
|
|
5
5
|
import { MenuList as _ } from "./index17.js";
|
|
6
6
|
/* empty css */
|
|
7
7
|
/* empty css */
|
package/dist/index49.js
CHANGED
|
@@ -1,59 +1,77 @@
|
|
|
1
1
|
import r from "react";
|
|
2
|
-
import { Icon as
|
|
3
|
-
import { Popover as
|
|
4
|
-
import { MenuList as
|
|
2
|
+
import { Icon as b } from "./index5.js";
|
|
3
|
+
import { Popover as p } from "./index18.js";
|
|
4
|
+
import { MenuList as f } from "./index17.js";
|
|
5
5
|
/* empty css */
|
|
6
|
-
|
|
6
|
+
function c() {
|
|
7
|
+
return c = Object.assign ? Object.assign.bind() : function(a) {
|
|
8
|
+
for (var n = 1; n < arguments.length; n++) {
|
|
9
|
+
var o = arguments[n];
|
|
10
|
+
for (var s in o) ({}).hasOwnProperty.call(o, s) && (a[s] = o[s]);
|
|
11
|
+
}
|
|
12
|
+
return a;
|
|
13
|
+
}, c.apply(null, arguments);
|
|
14
|
+
}
|
|
15
|
+
const $ = ({
|
|
7
16
|
crumbs: a,
|
|
8
|
-
onCrumbClick:
|
|
9
|
-
className:
|
|
17
|
+
onCrumbClick: n,
|
|
18
|
+
className: o,
|
|
19
|
+
ariaLabel: s = "Breadcrumb"
|
|
10
20
|
}) => {
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
-
return
|
|
21
|
+
const i = a?.length > 3, m = i ? a?.slice(-2) : a, u = i ? a?.slice(0, -2) : [], l = (t) => t === m?.length - 1, d = (t) => {
|
|
22
|
+
const e = "se-design-breadcrumbs-item-label inline-flex items-center w-fit";
|
|
23
|
+
return m?.length === 1 ? `${e} single-crumb` : l(t) ? `${e} highlighted-crumb` : `${e} unhighlighted-crumb`;
|
|
14
24
|
};
|
|
15
|
-
return /* @__PURE__ */ r.createElement("
|
|
16
|
-
className: `se-design-breadcrumbs flex items-center ${
|
|
17
|
-
"aria-label":
|
|
25
|
+
return /* @__PURE__ */ r.createElement("nav", {
|
|
26
|
+
className: `se-design-breadcrumbs flex items-center ${o}`,
|
|
27
|
+
"aria-label": s,
|
|
18
28
|
"data-automation-id": "breadcrumbs-container"
|
|
19
|
-
},
|
|
29
|
+
}, u?.length > 0 && /* @__PURE__ */ r.createElement(p, {
|
|
20
30
|
className: "se-design-overflow-breadcrumbs",
|
|
21
31
|
position: "bottom-left",
|
|
22
32
|
noBorder: !0,
|
|
33
|
+
ariaLabel: "Show more breadcrumbs",
|
|
23
34
|
renderPopoverSrcElement: ({
|
|
24
35
|
displayPopover: t
|
|
25
36
|
}) => /* @__PURE__ */ r.createElement("div", {
|
|
26
37
|
className: `overflow-breadcrumbs-src-element px-1.5 py-1.5 rounded-md hover:cursor-pointer ${t ? "bg-[var(--color-blue-200)]" : ""}`,
|
|
27
38
|
"data-automation-id": "breadcrumbs-kebab-menu"
|
|
28
|
-
}, /* @__PURE__ */ r.createElement(
|
|
39
|
+
}, /* @__PURE__ */ r.createElement(b, {
|
|
29
40
|
name: "kebab-menu"
|
|
30
41
|
})),
|
|
31
42
|
renderPopoverContents: ({
|
|
32
43
|
closePopoverCb: t
|
|
33
|
-
}) => /* @__PURE__ */ r.createElement(
|
|
34
|
-
items:
|
|
44
|
+
}) => /* @__PURE__ */ r.createElement(f, {
|
|
45
|
+
items: u.map((e) => ({
|
|
35
46
|
id: String(e?.id),
|
|
36
47
|
label: e?.label,
|
|
37
48
|
onClick: () => {
|
|
38
|
-
|
|
49
|
+
n?.(e), t();
|
|
39
50
|
}
|
|
40
51
|
}))
|
|
41
52
|
})
|
|
42
|
-
}), /* @__PURE__ */ r.createElement("
|
|
53
|
+
}), /* @__PURE__ */ r.createElement("ol", {
|
|
43
54
|
className: "se-design-breadcrumbs-list inline-flex items-center"
|
|
44
|
-
},
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
+
}, m?.map((t, e) => {
|
|
56
|
+
const g = l(e) ? "span" : "button";
|
|
57
|
+
return /* @__PURE__ */ r.createElement("li", {
|
|
58
|
+
key: t?.id,
|
|
59
|
+
className: "se-design-breadcrumbs-item inline-flex items-center w-fit text-xl"
|
|
60
|
+
}, (e > 0 || i) && /* @__PURE__ */ r.createElement(b, {
|
|
61
|
+
name: "chevron",
|
|
62
|
+
rotation: "270"
|
|
63
|
+
}), /* @__PURE__ */ r.createElement(g, c({}, l(e) ? {
|
|
64
|
+
"aria-current": "page"
|
|
65
|
+
} : {
|
|
66
|
+
type: "button",
|
|
67
|
+
onClick: () => n?.(t)
|
|
68
|
+
}, {
|
|
69
|
+
className: `${d(e)}${l(e) ? "" : " cursor-pointer focus-outline"}`,
|
|
70
|
+
"data-automation-id": t?.automationId || `breadcrumbs-item-${e}`
|
|
71
|
+
}), t?.label));
|
|
72
|
+
})));
|
|
55
73
|
};
|
|
56
74
|
export {
|
|
57
|
-
|
|
75
|
+
$ as BreadCrumbs
|
|
58
76
|
};
|
|
59
77
|
//# sourceMappingURL=index49.js.map
|
package/dist/index49.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index49.js","sources":["../src/components/BreadCrumbs/index.tsx"],"sourcesContent":["import React from 'react';\nimport { Icon } from '../Icon';\nimport { Popover } from '../Popover';\nimport { MenuList } from '../MenuList';\n\nimport './style.scss';\n\ninterface Crumb {\n id: string | number;\n label: string;\n automationId?: string;\n}\n\ninterface BreadCrumbsProps {\n crumbs: Crumb[];\n onCrumbClick?: (crumb: Crumb) => void;\n className?: any;\n}\n\nexport const BreadCrumbs: React.FC<BreadCrumbsProps> = ({ crumbs, onCrumbClick, className }) => {\n const shouldShowDropdown = crumbs?.length > 3;\n const visibleCrumbs = shouldShowDropdown ? crumbs?.slice(-2) : crumbs;\n const dropdownCrumbs = shouldShowDropdown ? crumbs?.slice(0, -2) : [];\n\n const getLabelClassNames = (index: number) => {\n
|
|
1
|
+
{"version":3,"file":"index49.js","sources":["../src/components/BreadCrumbs/index.tsx"],"sourcesContent":["import React from 'react';\nimport { Icon } from '../Icon';\nimport { Popover } from '../Popover';\nimport { MenuList } from '../MenuList';\n\nimport './style.scss';\n\ninterface Crumb {\n id: string | number;\n label: string;\n automationId?: string;\n}\n\ninterface BreadCrumbsProps {\n crumbs: Crumb[];\n onCrumbClick?: (crumb: Crumb) => void;\n className?: any;\n /** Accessible name for the breadcrumb navigation landmark. Defaults to \"Breadcrumb\". Use for i18n or when multiple breadcrumb regions exist. */\n ariaLabel?: string;\n}\n\nexport const BreadCrumbs: React.FC<BreadCrumbsProps> = ({ crumbs, onCrumbClick, className, ariaLabel = 'Breadcrumb' }) => {\n const shouldShowDropdown = crumbs?.length > 3;\n const visibleCrumbs = shouldShowDropdown ? crumbs?.slice(-2) : crumbs;\n const dropdownCrumbs = shouldShowDropdown ? crumbs?.slice(0, -2) : [];\n\n const isCurrentPage = (index: number) => index === visibleCrumbs?.length - 1;\n\n const getLabelClassNames = (index: number) => {\n const className = 'se-design-breadcrumbs-item-label inline-flex items-center w-fit';\n if (visibleCrumbs?.length === 1) {\n return `${className} single-crumb`;\n }\n if (isCurrentPage(index)) {\n return `${className} highlighted-crumb`;\n }\n return `${className} unhighlighted-crumb`;\n };\n\n return (\n <nav className={`se-design-breadcrumbs flex items-center ${className}`} aria-label={ariaLabel} data-automation-id=\"breadcrumbs-container\">\n {dropdownCrumbs?.length > 0 && (\n <Popover\n className=\"se-design-overflow-breadcrumbs\"\n position=\"bottom-left\"\n noBorder\n ariaLabel=\"Show more breadcrumbs\"\n renderPopoverSrcElement={({ displayPopover }) => {\n return (\n <div\n className={`overflow-breadcrumbs-src-element px-1.5 py-1.5 rounded-md hover:cursor-pointer ${\n displayPopover ? 'bg-[var(--color-blue-200)]' : ''\n }`}\n data-automation-id=\"breadcrumbs-kebab-menu\"\n >\n <Icon name=\"kebab-menu\" />\n </div>\n );\n }}\n renderPopoverContents={({ closePopoverCb }) => (\n <MenuList\n items={dropdownCrumbs.map((crumb) => ({\n id: String(crumb?.id),\n label: crumb?.label,\n onClick: () => {\n onCrumbClick?.(crumb);\n closePopoverCb();\n }\n }))}\n />\n )}\n />\n )}\n <ol className=\"se-design-breadcrumbs-list inline-flex items-center\">\n {visibleCrumbs?.map((crumb, index) => {\n const Tag = isCurrentPage(index) ? 'span' : 'button';// Current page should not be clickable\n return (\n <li key={crumb?.id} className=\"se-design-breadcrumbs-item inline-flex items-center w-fit text-xl\">\n {(index > 0 || shouldShowDropdown) && <Icon name=\"chevron\" rotation={'270'} />}\n <Tag\n {...(isCurrentPage(index)\n ? { 'aria-current': 'page' as const }\n : { type: 'button' as const, onClick: () => onCrumbClick?.(crumb) })}\n className={`${getLabelClassNames(index)}${!isCurrentPage(index) ? ' cursor-pointer focus-outline' : ''}`}\n data-automation-id={crumb?.automationId || `breadcrumbs-item-${index}`}\n >\n {crumb?.label}\n </Tag>\n </li>\n );\n })}\n </ol>\n </nav>\n );\n};\n"],"names":["BreadCrumbs","crumbs","onCrumbClick","className","ariaLabel","shouldShowDropdown","length","visibleCrumbs","slice","dropdownCrumbs","isCurrentPage","index","getLabelClassNames","React","createElement","Popover","position","noBorder","renderPopoverSrcElement","displayPopover","Icon","name","renderPopoverContents","closePopoverCb","MenuList","items","map","crumb","id","String","label","onClick","Tag","key","rotation","_extends","type","automationId"],"mappings":";;;;;;;;;;;;;;AAqBO,MAAMA,IAA0CA,CAAC;AAAA,EAAEC,QAAAA;AAAAA,EAAQC,cAAAA;AAAAA,EAAcC,WAAAA;AAAAA,EAAWC,WAAAA,IAAY;AAAa,MAAM;AACxH,QAAMC,IAAqBJ,GAAQK,SAAS,GACtCC,IAAgBF,IAAqBJ,GAAQO,MAAM,EAAE,IAAIP,GACzDQ,IAAiBJ,IAAqBJ,GAAQO,MAAM,GAAG,EAAE,IAAI,CAAA,GAE7DE,IAAgBA,CAACC,MAAkBA,MAAUJ,GAAeD,SAAS,GAErEM,IAAqBA,CAACD,MAAkB;AAC5C,UAAMR,IAAY;AAClB,WAAII,GAAeD,WAAW,IACrB,GAAGH,CAAS,kBAEjBO,EAAcC,CAAK,IACd,GAAGR,CAAS,uBAEd,GAAGA,CAAS;AAAA,EACrB;AAEA,SACEU,gBAAAA,EAAAC,cAAA,OAAA;AAAA,IAAKX,WAAW,2CAA2CA,CAAS;AAAA,IAAI,cAAYC;AAAAA,IAAW,sBAAmB;AAAA,EAAA,GAC/GK,GAAgBH,SAAS,KACxBO,gBAAAA,EAAAC,cAACC,GAAO;AAAA,IACNZ,WAAU;AAAA,IACVa,UAAS;AAAA,IACTC,UAAQ;AAAA,IACRb,WAAU;AAAA,IACVc,yBAAyBA,CAAC;AAAA,MAAEC,gBAAAA;AAAAA,IAAAA,MAExBN,gBAAAA,EAAAC,cAAA,OAAA;AAAA,MACEX,WAAW,kFACTgB,IAAiB,+BAA+B,EAAE;AAAA,MAEpD,sBAAmB;AAAA,IAAA,GAEnBN,gBAAAA,EAAAC,cAACM,GAAI;AAAA,MAACC,MAAK;AAAA,IAAA,CAAc,CACtB;AAAA,IAGTC,uBAAuBA,CAAC;AAAA,MAAEC,gBAAAA;AAAAA,IAAAA,MACxBV,gBAAAA,EAAAC,cAACU,GAAQ;AAAA,MACPC,OAAOhB,EAAeiB,IAAKC,CAAAA,OAAW;AAAA,QACpCC,IAAIC,OAAOF,GAAOC,EAAE;AAAA,QACpBE,OAAOH,GAAOG;AAAAA,QACdC,SAASA,MAAM;AACb7B,UAAAA,IAAeyB,CAAK,GACpBJ,EAAAA;AAAAA,QACF;AAAA,MAAA,EACA;AAAA,IAAA,CACH;AAAA,EAAA,CAEJ,GAEHV,gBAAAA,EAAAC,cAAA,MAAA;AAAA,IAAIX,WAAU;AAAA,EAAA,GACXI,GAAemB,IAAI,CAACC,GAAOhB,MAAU;AACpC,UAAMqB,IAAMtB,EAAcC,CAAK,IAAI,SAAS;AAC5C,WACEE,gBAAAA,EAAAC,cAAA,MAAA;AAAA,MAAImB,KAAKN,GAAOC;AAAAA,MAAIzB,WAAU;AAAA,IAAA,IAC1BQ,IAAQ,KAAKN,MAAuBQ,gBAAAA,EAAAC,cAACM,GAAI;AAAA,MAACC,MAAK;AAAA,MAAUa,UAAU;AAAA,IAAA,CAAQ,GAC7ErB,gBAAAA,EAAAC,cAACkB,GAAGG,EAAA,IACGzB,EAAcC,CAAK,IACpB;AAAA,MAAE,gBAAgB;AAAA,IAAA,IAClB;AAAA,MAAEyB,MAAM;AAAA,MAAmBL,SAASA,MAAM7B,IAAeyB,CAAK;AAAA,IAAA,GAAG;AAAA,MACrExB,WAAW,GAAGS,EAAmBD,CAAK,CAAC,GAAID,EAAcC,CAAK,IAAsC,KAAlC,+BAAoC;AAAA,MACtG,sBAAoBgB,GAAOU,gBAAgB,oBAAoB1B,CAAK;AAAA,IAAA,CAAG,GAEtEgB,GAAOG,KACL,CACH;AAAA,EAER,CAAC,CACC,CACD;AAET;"}
|
package/dist/index5.js
CHANGED
|
@@ -1,117 +1,117 @@
|
|
|
1
|
-
import C from "./
|
|
2
|
-
import O from "./
|
|
3
|
-
import E from "./
|
|
4
|
-
import S from "./
|
|
5
|
-
import $ from "./
|
|
6
|
-
import j from "./
|
|
7
|
-
import L from "./
|
|
8
|
-
import F from "./
|
|
9
|
-
import R from "./
|
|
10
|
-
import B from "./
|
|
11
|
-
import M from "./
|
|
12
|
-
import q from "./
|
|
13
|
-
import D from "./
|
|
14
|
-
import G from "./
|
|
15
|
-
import T from "./
|
|
16
|
-
import V from "./
|
|
17
|
-
import H from "./
|
|
18
|
-
import J from "./
|
|
19
|
-
import K from "./
|
|
20
|
-
import Q from "./
|
|
21
|
-
import U from "./
|
|
22
|
-
import W from "./
|
|
23
|
-
import X from "./
|
|
24
|
-
import Y from "./
|
|
25
|
-
import Z from "./
|
|
26
|
-
import z from "./
|
|
27
|
-
import ss from "./
|
|
28
|
-
import os from "./
|
|
29
|
-
import _s from "./
|
|
30
|
-
import ts from "./
|
|
31
|
-
import is from "./
|
|
32
|
-
import rs from "./
|
|
33
|
-
import es from "./
|
|
34
|
-
import cs from "./
|
|
35
|
-
import as from "./
|
|
36
|
-
import ms from "./
|
|
37
|
-
import gs from "./
|
|
38
|
-
import vs from "./
|
|
39
|
-
import ns from "./
|
|
40
|
-
import ls from "./
|
|
41
|
-
import fs from "./
|
|
42
|
-
import bs from "./
|
|
43
|
-
import ps from "./
|
|
44
|
-
import ds from "./
|
|
45
|
-
import us from "./
|
|
46
|
-
import hs from "./
|
|
47
|
-
import ks from "./
|
|
48
|
-
import xs from "./
|
|
49
|
-
import As from "./
|
|
50
|
-
import ws from "./
|
|
51
|
-
import ys from "./
|
|
52
|
-
import Ps from "./
|
|
53
|
-
import Is from "./
|
|
54
|
-
import Ns from "./
|
|
55
|
-
import Cs from "./
|
|
56
|
-
import Os from "./
|
|
57
|
-
import Es from "./
|
|
58
|
-
import Ss from "./
|
|
59
|
-
import $s from "./
|
|
60
|
-
import js from "./
|
|
61
|
-
import Ls from "./
|
|
62
|
-
import Fs from "./
|
|
63
|
-
import Rs from "./
|
|
64
|
-
import Bs from "./
|
|
65
|
-
import Ms from "./
|
|
66
|
-
import qs from "./
|
|
67
|
-
import Ds from "./
|
|
68
|
-
import Gs from "./
|
|
69
|
-
import Ts from "./
|
|
70
|
-
import Vs from "./
|
|
71
|
-
import Hs from "./
|
|
72
|
-
import Js from "./
|
|
73
|
-
import Ks from "./
|
|
74
|
-
import Qs from "./
|
|
75
|
-
import Us from "./
|
|
76
|
-
import Ws from "./
|
|
77
|
-
import Xs from "./
|
|
78
|
-
import Ys from "./
|
|
79
|
-
import Zs from "./
|
|
80
|
-
import zs from "./
|
|
81
|
-
import so from "./
|
|
82
|
-
import oo from "./
|
|
83
|
-
import _o from "./
|
|
84
|
-
import to from "./
|
|
85
|
-
import io from "./
|
|
86
|
-
import ro from "./
|
|
87
|
-
import eo from "./
|
|
88
|
-
import co from "./
|
|
89
|
-
import ao from "./
|
|
90
|
-
import mo from "./
|
|
91
|
-
import go from "./
|
|
92
|
-
import vo from "./
|
|
93
|
-
import no from "./
|
|
94
|
-
import lo from "./
|
|
95
|
-
import fo from "./
|
|
96
|
-
import bo from "./
|
|
97
|
-
import po from "./
|
|
98
|
-
import uo from "./
|
|
99
|
-
import ho from "./
|
|
100
|
-
import ko from "./
|
|
101
|
-
import xo from "./
|
|
102
|
-
import Ao from "./
|
|
103
|
-
import wo from "./
|
|
104
|
-
import yo from "./
|
|
105
|
-
import Po from "./
|
|
106
|
-
import Io from "./
|
|
107
|
-
import No from "./
|
|
108
|
-
import Co from "./
|
|
109
|
-
import Oo from "./
|
|
110
|
-
import Eo from "./
|
|
111
|
-
import So from "./
|
|
1
|
+
import C from "./index72.js";
|
|
2
|
+
import O from "./index73.js";
|
|
3
|
+
import E from "./index74.js";
|
|
4
|
+
import S from "./index75.js";
|
|
5
|
+
import $ from "./index76.js";
|
|
6
|
+
import j from "./index77.js";
|
|
7
|
+
import L from "./index78.js";
|
|
8
|
+
import F from "./index79.js";
|
|
9
|
+
import R from "./index80.js";
|
|
10
|
+
import B from "./index81.js";
|
|
11
|
+
import M from "./index82.js";
|
|
12
|
+
import q from "./index83.js";
|
|
13
|
+
import D from "./index84.js";
|
|
14
|
+
import G from "./index85.js";
|
|
15
|
+
import T from "./index86.js";
|
|
16
|
+
import V from "./index87.js";
|
|
17
|
+
import H from "./index88.js";
|
|
18
|
+
import J from "./index89.js";
|
|
19
|
+
import K from "./index90.js";
|
|
20
|
+
import Q from "./index91.js";
|
|
21
|
+
import U from "./index92.js";
|
|
22
|
+
import W from "./index93.js";
|
|
23
|
+
import X from "./index94.js";
|
|
24
|
+
import Y from "./index95.js";
|
|
25
|
+
import Z from "./index96.js";
|
|
26
|
+
import z from "./index97.js";
|
|
27
|
+
import ss from "./index98.js";
|
|
28
|
+
import os from "./index99.js";
|
|
29
|
+
import _s from "./index100.js";
|
|
30
|
+
import ts from "./index101.js";
|
|
31
|
+
import is from "./index102.js";
|
|
32
|
+
import rs from "./index103.js";
|
|
33
|
+
import es from "./index104.js";
|
|
34
|
+
import cs from "./index105.js";
|
|
35
|
+
import as from "./index106.js";
|
|
36
|
+
import ms from "./index107.js";
|
|
37
|
+
import gs from "./index108.js";
|
|
38
|
+
import vs from "./index109.js";
|
|
39
|
+
import ns from "./index110.js";
|
|
40
|
+
import ls from "./index111.js";
|
|
41
|
+
import fs from "./index112.js";
|
|
42
|
+
import bs from "./index113.js";
|
|
43
|
+
import ps from "./index114.js";
|
|
44
|
+
import ds from "./index115.js";
|
|
45
|
+
import us from "./index116.js";
|
|
46
|
+
import hs from "./index117.js";
|
|
47
|
+
import ks from "./index118.js";
|
|
48
|
+
import xs from "./index119.js";
|
|
49
|
+
import As from "./index120.js";
|
|
50
|
+
import ws from "./index121.js";
|
|
51
|
+
import ys from "./index122.js";
|
|
52
|
+
import Ps from "./index123.js";
|
|
53
|
+
import Is from "./index124.js";
|
|
54
|
+
import Ns from "./index125.js";
|
|
55
|
+
import Cs from "./index126.js";
|
|
56
|
+
import Os from "./index127.js";
|
|
57
|
+
import Es from "./index128.js";
|
|
58
|
+
import Ss from "./index129.js";
|
|
59
|
+
import $s from "./index130.js";
|
|
60
|
+
import js from "./index131.js";
|
|
61
|
+
import Ls from "./index132.js";
|
|
62
|
+
import Fs from "./index133.js";
|
|
63
|
+
import Rs from "./index134.js";
|
|
64
|
+
import Bs from "./index135.js";
|
|
65
|
+
import Ms from "./index136.js";
|
|
66
|
+
import qs from "./index137.js";
|
|
67
|
+
import Ds from "./index138.js";
|
|
68
|
+
import Gs from "./index139.js";
|
|
69
|
+
import Ts from "./index140.js";
|
|
70
|
+
import Vs from "./index141.js";
|
|
71
|
+
import Hs from "./index142.js";
|
|
72
|
+
import Js from "./index143.js";
|
|
73
|
+
import Ks from "./index144.js";
|
|
74
|
+
import Qs from "./index145.js";
|
|
75
|
+
import Us from "./index146.js";
|
|
76
|
+
import Ws from "./index147.js";
|
|
77
|
+
import Xs from "./index148.js";
|
|
78
|
+
import Ys from "./index149.js";
|
|
79
|
+
import Zs from "./index150.js";
|
|
80
|
+
import zs from "./index151.js";
|
|
81
|
+
import so from "./index152.js";
|
|
82
|
+
import oo from "./index153.js";
|
|
83
|
+
import _o from "./index154.js";
|
|
84
|
+
import to from "./index155.js";
|
|
85
|
+
import io from "./index156.js";
|
|
86
|
+
import ro from "./index157.js";
|
|
87
|
+
import eo from "./index158.js";
|
|
88
|
+
import co from "./index159.js";
|
|
89
|
+
import ao from "./index160.js";
|
|
90
|
+
import mo from "./index161.js";
|
|
91
|
+
import go from "./index162.js";
|
|
92
|
+
import vo from "./index163.js";
|
|
93
|
+
import no from "./index164.js";
|
|
94
|
+
import lo from "./index165.js";
|
|
95
|
+
import fo from "./index166.js";
|
|
96
|
+
import bo from "./index167.js";
|
|
97
|
+
import po from "./index168.js";
|
|
98
|
+
import uo from "./index169.js";
|
|
99
|
+
import ho from "./index170.js";
|
|
100
|
+
import ko from "./index171.js";
|
|
101
|
+
import xo from "./index172.js";
|
|
102
|
+
import Ao from "./index173.js";
|
|
103
|
+
import wo from "./index174.js";
|
|
104
|
+
import yo from "./index175.js";
|
|
105
|
+
import Po from "./index176.js";
|
|
106
|
+
import Io from "./index177.js";
|
|
107
|
+
import No from "./index178.js";
|
|
108
|
+
import Co from "./index179.js";
|
|
109
|
+
import Oo from "./index180.js";
|
|
110
|
+
import Eo from "./index181.js";
|
|
111
|
+
import So from "./index182.js";
|
|
112
112
|
import m from "react";
|
|
113
|
-
import { ReactSVG as $o } from "./
|
|
114
|
-
import { getA11yNameAttributes as jo } from "./
|
|
113
|
+
import { ReactSVG as $o } from "./index183.js";
|
|
114
|
+
import { getA11yNameAttributes as jo } from "./index70.js";
|
|
115
115
|
import { useAccessiblePress as Lo } from "./index66.js";
|
|
116
116
|
function c() {
|
|
117
117
|
return c = Object.assign ? Object.assign.bind() : function(s) {
|
package/dist/index50.js
CHANGED
|
@@ -332,7 +332,7 @@ const fe = ["S", "M", "T", "W", "T", "F", "S"], pe = ["Today", "Yesterday", "Thi
|
|
|
332
332
|
${!k && g ? "bg-[var(--color-blue-500)] text-[var(--color-white)] hover:bg-[var(--color-blue-600)]" : ""}
|
|
333
333
|
${!u && !g && J ? "bg-[var(--color-blue-100)] text-[var(--color-blue-600)]" : ""}
|
|
334
334
|
${!u && !g && !J && !M ? "hover:bg-[var(--color-blue-100)]" : ""}
|
|
335
|
-
${V && !u && !g ? "text-[var(--color-blue-500)]" : ""}
|
|
335
|
+
${V && !u && !g ? "text-[var(--color-blue-500)] bg-[var(--color-blue-100)]" : ""}
|
|
336
336
|
${!M && !u && !g && !V ? "text-[var(--color-gray-700)]" : ""}
|
|
337
337
|
`,
|
|
338
338
|
"data-automation-id": `${m}-date-${_}`
|
|
@@ -364,7 +364,7 @@ const fe = ["S", "M", "T", "W", "T", "F", "S"], pe = ["Today", "Yesterday", "Thi
|
|
|
364
364
|
className: "se-design-datepicker-footer flex justify-end items-center gap-5 p-4 border-t border-[var(--color-gray-200)]"
|
|
365
365
|
}, /* @__PURE__ */ o.createElement(S, {
|
|
366
366
|
label: j?.clear || "Clear",
|
|
367
|
-
type: "
|
|
367
|
+
type: "ghost",
|
|
368
368
|
onClick: De,
|
|
369
369
|
"data-automation-id": `${m}-clear-button`
|
|
370
370
|
}), /* @__PURE__ */ o.createElement(S, {
|