@ck-ui/component-library 1.0.0 → 1.0.2
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/DropdownFooter-CsDll1Tj.js +96 -0
- package/dist/{Grow-D08Iq1uH.js → Grow-wzNsNKt2.js} +41 -41
- package/dist/IconSlot-DvUwY6Do.js +33 -0
- package/dist/{OptionList-DN1xZbnV.js → OptionList-BM4AleXV.js} +361 -290
- package/dist/{Select-Cw96VEHD.js → Select-CiuwMSD7.js} +2366 -2427
- package/dist/assets/DropdownFooter-JrU15UnN.css +1 -0
- package/dist/assets/IconSlot-BWv5PQN_.css +1 -0
- package/dist/assets/ReactToastify-GNLSjkBZ.css +1 -0
- package/dist/assets/{ToastContent-PGkBxPUW.css → ToastContent-DpF5zCks.css} +1 -1
- package/dist/assets/index-0R9p-l95.css +1 -0
- package/dist/assets/index-B3yBTtVQ.css +1 -0
- package/dist/assets/index-BXwGxK7I.css +1 -0
- package/dist/assets/index-BZgvXFWW.css +1 -0
- package/dist/assets/index-BbJZjGLb.css +1 -0
- package/dist/assets/index-UphWJR2V.css +1 -0
- package/dist/assets/{main-Dv8QUU_o.css → main-3OqLSdPm.css} +1 -1
- package/dist/assets/{styles-Chhklrps.css → styles-C5uYY4fL.css} +1 -1
- package/dist/assets/styles-CEyiQgVQ.css +1 -0
- package/dist/assets/styles-DLJzdWsF.css +1 -0
- package/dist/assets/{styles-Bqfs9eXV.css → styles-DngCqCGW.css} +1 -1
- package/dist/assets/styles-O-5pBCak.css +1 -0
- package/dist/components/CKButton/_helper/ComboLayout.js +1 -1
- package/dist/components/CKButton/_helper/IconSlot.js +1 -1
- package/dist/components/CKButton/_helper/StandardLayout.js +1 -1
- package/dist/components/CKButton/index.js +1 -1
- package/dist/components/CardBox/index.js +18 -18
- package/dist/components/DateRangePicker/DateRangePicker.js +703 -680
- package/dist/components/EmptyState/index.js +7 -7
- package/dist/components/FusionChart/_config/builders.d.ts.map +1 -1
- package/dist/components/FusionChart/_config/builders.js +207 -192
- package/dist/components/FusionChart/_config/helpers.d.ts +3 -0
- package/dist/components/FusionChart/_config/helpers.d.ts.map +1 -1
- package/dist/components/FusionChart/_config/helpers.js +61 -45
- package/dist/components/FusionChart/_types/fusionChart.types.d.ts +2 -0
- package/dist/components/FusionChart/_types/fusionChart.types.d.ts.map +1 -1
- package/dist/components/FusionChart/_utils/chartHelpers.js +1 -1
- package/dist/components/FusionChart/index.d.ts.map +1 -1
- package/dist/components/FusionChart/index.js +163 -130
- package/dist/components/MenuOptions/_utils/computeMenuPosition.js +1 -1
- package/dist/components/MenuOptions/_utils/computeSubmenuPosition.js +1 -1
- package/dist/components/MetricCards/Component/CardWithIconAndForecast/index.js +30 -30
- package/dist/components/MultiSelect/SimpleMultiSelect.d.ts +3 -1
- package/dist/components/MultiSelect/SimpleMultiSelect.d.ts.map +1 -1
- package/dist/components/MultiSelect/SimpleMultiSelect.js +150 -136
- package/dist/components/MultiSelect/_helpers/DropdownFooter.js +1 -1
- package/dist/components/MultiSelect/_helpers/OptionRow.js +1 -1
- package/dist/components/MultiSelect/_helpers/OverflowMenu.js +1 -1
- package/dist/components/MultiSelect/_helpers/OverflowMenuItem.js +1 -1
- package/dist/components/MultiSelect/_helpers/SearchResult.d.ts +1 -1
- package/dist/components/MultiSelect/_helpers/SearchResult.d.ts.map +1 -1
- package/dist/components/MultiSelect/_helpers/SearchResult.js +31 -21
- package/dist/components/MultiSelect/_helpers/TagContent.js +1 -1
- package/dist/components/MultiSelect/_helpers/TriggerButton.d.ts.map +1 -1
- package/dist/components/MultiSelect/_helpers/TriggerButton.js +95 -74
- package/dist/components/MultiSelect/_types/type.d.ts +7 -2
- package/dist/components/MultiSelect/_types/type.d.ts.map +1 -1
- package/dist/components/MultiSelect/_utils/useDropdownDirection.d.ts +18 -0
- package/dist/components/MultiSelect/_utils/useDropdownDirection.d.ts.map +1 -0
- package/dist/components/MultiSelect/_utils/useDropdownDirection.js +23 -0
- package/dist/components/MultiSelect/index.d.ts +1 -1
- package/dist/components/MultiSelect/index.d.ts.map +1 -1
- package/dist/components/MultiSelect/index.js +162 -150
- package/dist/components/PopupAndDialogBox/components/DialogContent.js +1 -1
- package/dist/components/PopupAndDialogBox/components/DialogFooter.js +1 -1
- package/dist/components/PopupAndDialogBox/components/DialogHeader.js +1 -1
- package/dist/components/PopupAndDialogBox/index.js +1 -1
- package/dist/components/RadioButton/index.js +34 -34
- package/dist/components/RadioGroup/_types/radioGroup.types.d.ts +1 -0
- package/dist/components/RadioGroup/_types/radioGroup.types.d.ts.map +1 -1
- package/dist/components/RadioGroup/index.d.ts +1 -1
- package/dist/components/RadioGroup/index.d.ts.map +1 -1
- package/dist/components/RadioGroup/index.js +19 -17
- package/dist/components/Search/index.d.ts.map +1 -1
- package/dist/components/Search/index.js +63 -61
- package/dist/components/SingleSelectDropdown/_helpers/DropdownFooter.js +3 -3
- package/dist/components/SingleSelectDropdown/index.d.ts.map +1 -1
- package/dist/components/SingleSelectDropdown/index.js +83 -78
- package/dist/components/Table/_helpers/ColumnManager/ColumnConfig.d.ts.map +1 -1
- package/dist/components/Table/_helpers/ColumnManager/ColumnConfig.js +22 -19
- package/dist/components/Table/_helpers/ColumnManager/index.d.ts.map +1 -1
- package/dist/components/Table/_helpers/ColumnManager/index.js +304 -301
- package/dist/components/Table/_helpers/GroupedHeader/index.js +1 -1
- package/dist/components/Table/_helpers/TableFilterModal/OptionList.js +1 -1
- package/dist/components/Table/_helpers/TableFilterModal/RangeSelector.js +133 -142
- package/dist/components/Table/_helpers/TableFilterModal/index.d.ts.map +1 -1
- package/dist/components/Table/_helpers/TableFilterModal/index.js +43 -42
- package/dist/components/Table/_helpers/TableRows.js +1 -1
- package/dist/components/Table/index.d.ts.map +1 -1
- package/dist/components/Table/index.js +215 -210
- package/dist/components/TextField/index.js +331 -328
- package/dist/components/Toast/_helper/ToastContent.js +25 -25
- package/dist/components/Toast/_helper/ToastProvider.js +9 -9
- package/dist/components/Toast/_hooks/useToast.js +1 -1
- package/dist/components/Tooltip/index.js +772 -697
- package/dist/components/Typography/index.js +30 -30
- package/dist/createSimplePaletteValueFilter-BqxST_wX.js +24 -0
- package/dist/index-BR6M9zUI.js +382 -0
- package/dist/{index-f7TB87Mf.js → index-Bcvmezbu.js} +23 -3
- package/dist/main.d.ts +1 -0
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +15 -13
- package/dist/styles.module-yIHBMSTk.js +53 -0
- package/dist/styles.module-yNDMDNO-.js +14 -0
- package/dist/{useSlot-ylt7_lTY.js → useSlot-BiMlGawc.js} +656 -623
- package/package.json +3 -3
- package/dist/DropdownFooter-CYkg2g5d.js +0 -89
- package/dist/IconSlot-CFKmSU2_.js +0 -33
- package/dist/assets/DropdownFooter-DjdPf69A.css +0 -1
- package/dist/assets/IconSlot-CLpdZgmb.css +0 -1
- package/dist/assets/ReactToastify-tlSLHgLC.css +0 -1
- package/dist/assets/index-B81zpOpq.css +0 -1
- package/dist/assets/index-BmQOtMhS.css +0 -1
- package/dist/assets/index-CaWXKQ7j.css +0 -1
- package/dist/assets/index-CiQd_iRw.css +0 -1
- package/dist/assets/index-DNhNBxL9.css +0 -1
- package/dist/assets/index-YHUWVH17.css +0 -1
- package/dist/assets/styles-BTZL03H2.css +0 -1
- package/dist/assets/styles-CYxKrBqL.css +0 -1
- package/dist/assets/styles-D8sahtFb.css +0 -1
- package/dist/contains-kLLEGdNH.js +0 -41
- package/dist/index-C8cPPHJD.js +0 -1196
- package/dist/styles.module-BZaUJMlf.js +0 -14
- package/dist/styles.module-Dojg5FTS.js +0 -41
|
@@ -2,51 +2,51 @@ import { jsxs as i, jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import { mergeClasses as n } from "../../../utils/mergeClasses.js";
|
|
3
3
|
import { CKButton as w } from "../../CKButton/index.js";
|
|
4
4
|
import * as e from "react";
|
|
5
|
-
import '../../../assets/ToastContent-
|
|
5
|
+
import '../../../assets/ToastContent-DpF5zCks.css';const u = "_toastContent_58jkk_90", E = "_icon_58jkk_97", f = "_content_58jkk_102", L = "_message_58jkk_109", C = "_subtext_58jkk_114", j = "_progressBlock_58jkk_119", x = "_progressTrack_58jkk_126", F = "_progressFill_58jkk_133", v = "_progressFill__success_58jkk_139", M = "_progressFill__error_58jkk_143", T = "_progressFill__warning_58jkk_147", y = "_progressFill__info_58jkk_151", N = "_progressText_58jkk_155", P = "_cta_58jkk_161", t = {
|
|
6
6
|
toastContent: u,
|
|
7
7
|
icon: E,
|
|
8
8
|
content: f,
|
|
9
|
-
message:
|
|
10
|
-
subtext:
|
|
11
|
-
progressBlock:
|
|
9
|
+
message: L,
|
|
10
|
+
subtext: C,
|
|
11
|
+
progressBlock: j,
|
|
12
12
|
progressTrack: x,
|
|
13
|
-
progressFill:
|
|
14
|
-
progressFill__success:
|
|
13
|
+
progressFill: F,
|
|
14
|
+
progressFill__success: v,
|
|
15
15
|
progressFill__error: M,
|
|
16
16
|
progressFill__warning: T,
|
|
17
17
|
progressFill__info: y,
|
|
18
|
-
progressText:
|
|
19
|
-
cta:
|
|
20
|
-
},
|
|
18
|
+
progressText: N,
|
|
19
|
+
cta: P
|
|
20
|
+
}, b = (s) => /* @__PURE__ */ e.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...s }, /* @__PURE__ */ e.createElement("rect", { width: 20, height: 20, fill: "white" }), /* @__PURE__ */ e.createElement("g", { clipPath: "url(#clip0_3032_1962)" }, /* @__PURE__ */ e.createElement("mask", { id: "mask0_3032_1962", style: {
|
|
21
21
|
maskType: "luminance"
|
|
22
|
-
}, maskUnits: "userSpaceOnUse", x: 2, y: 2, width: 16, height: 16 }, /* @__PURE__ */ e.createElement("path", { d: "M18 2H2V18H18V2Z", fill: "white" })), /* @__PURE__ */ e.createElement("g", { mask: "url(#mask0_3032_1962)" }, /* @__PURE__ */ e.createElement("path", { d: "M10 16.6667C13.6667 16.6667 16.6667 13.6667 16.6667 10C16.6667 6.33333 13.6667 3.33333 10 3.33333C6.33334 3.33333 3.33334 6.33333 3.33334 10C3.33334 13.6667 6.33334 16.6667 10 16.6667Z", fill: "#249C45", stroke: "#249C45", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ e.createElement("path", { d: "M7.16663 9.99995L9.05329 11.8866L12.8333 8.1133", stroke: "white", strokeLinecap: "round", strokeLinejoin: "round" }))), /* @__PURE__ */ e.createElement("defs", null, /* @__PURE__ */ e.createElement("clipPath", { id: "clip0_3032_1962" }, /* @__PURE__ */ e.createElement("rect", { width: 16, height: 16, fill: "white", transform: "translate(2 2)" })))),
|
|
22
|
+
}, maskUnits: "userSpaceOnUse", x: 2, y: 2, width: 16, height: 16 }, /* @__PURE__ */ e.createElement("path", { d: "M18 2H2V18H18V2Z", fill: "white" })), /* @__PURE__ */ e.createElement("g", { mask: "url(#mask0_3032_1962)" }, /* @__PURE__ */ e.createElement("path", { d: "M10 16.6667C13.6667 16.6667 16.6667 13.6667 16.6667 10C16.6667 6.33333 13.6667 3.33333 10 3.33333C6.33334 3.33333 3.33334 6.33333 3.33334 10C3.33334 13.6667 6.33334 16.6667 10 16.6667Z", fill: "#249C45", stroke: "#249C45", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ e.createElement("path", { d: "M7.16663 9.99995L9.05329 11.8866L12.8333 8.1133", stroke: "white", strokeLinecap: "round", strokeLinejoin: "round" }))), /* @__PURE__ */ e.createElement("defs", null, /* @__PURE__ */ e.createElement("clipPath", { id: "clip0_3032_1962" }, /* @__PURE__ */ e.createElement("rect", { width: 16, height: 16, fill: "white", transform: "translate(2 2)" })))), B = (s) => /* @__PURE__ */ e.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...s }, /* @__PURE__ */ e.createElement("rect", { width: 20, height: 20, fill: "white" }), /* @__PURE__ */ e.createElement("g", { clipPath: "url(#clip0_3043_1908)" }, /* @__PURE__ */ e.createElement("mask", { id: "mask0_3043_1908", style: {
|
|
23
23
|
maskType: "luminance"
|
|
24
|
-
}, maskUnits: "userSpaceOnUse", x: 2, y: 2, width: 16, height: 16 }, /* @__PURE__ */ e.createElement("path", { d: "M18 2H2V18H18V2Z", fill: "white" })), /* @__PURE__ */ e.createElement("g", { mask: "url(#mask0_3043_1908)" }, /* @__PURE__ */ e.createElement("path", { d: "M9.99998 16.6667C13.6666 16.6667 16.6666 13.6667 16.6666 10C16.6666 6.33333 13.6666 3.33333 9.99998 3.33333C6.33331 3.33333 3.33331 6.33333 3.33331 10C3.33331 13.6667 6.33331 16.6667 9.99998 16.6667Z", fill: "#E52323", stroke: "#E52323", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ e.createElement("path", { d: "M8.11334 11.8866L11.8866 8.1133", stroke: "white", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ e.createElement("path", { d: "M11.8866 11.8866L8.11334 8.1133", stroke: "white", strokeLinecap: "round", strokeLinejoin: "round" }))), /* @__PURE__ */ e.createElement("defs", null, /* @__PURE__ */ e.createElement("clipPath", { id: "clip0_3043_1908" }, /* @__PURE__ */ e.createElement("rect", { width: 16, height: 16, fill: "white", transform: "translate(2 2)" })))),
|
|
24
|
+
}, maskUnits: "userSpaceOnUse", x: 2, y: 2, width: 16, height: 16 }, /* @__PURE__ */ e.createElement("path", { d: "M18 2H2V18H18V2Z", fill: "white" })), /* @__PURE__ */ e.createElement("g", { mask: "url(#mask0_3043_1908)" }, /* @__PURE__ */ e.createElement("path", { d: "M9.99998 16.6667C13.6666 16.6667 16.6666 13.6667 16.6666 10C16.6666 6.33333 13.6666 3.33333 9.99998 3.33333C6.33331 3.33333 3.33331 6.33333 3.33331 10C3.33331 13.6667 6.33331 16.6667 9.99998 16.6667Z", fill: "#E52323", stroke: "#E52323", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ e.createElement("path", { d: "M8.11334 11.8866L11.8866 8.1133", stroke: "white", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ e.createElement("path", { d: "M11.8866 11.8866L8.11334 8.1133", stroke: "white", strokeLinecap: "round", strokeLinejoin: "round" }))), /* @__PURE__ */ e.createElement("defs", null, /* @__PURE__ */ e.createElement("clipPath", { id: "clip0_3043_1908" }, /* @__PURE__ */ e.createElement("rect", { width: 16, height: 16, fill: "white", transform: "translate(2 2)" })))), H = (s) => /* @__PURE__ */ e.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...s }, /* @__PURE__ */ e.createElement("rect", { width: 20, height: 20, fill: "white" }), /* @__PURE__ */ e.createElement("g", { clipPath: "url(#clip0_3043_1886)" }, /* @__PURE__ */ e.createElement("mask", { id: "mask0_3043_1886", style: {
|
|
25
25
|
maskType: "luminance"
|
|
26
|
-
}, maskUnits: "userSpaceOnUse", x: 2, y: 2, width: 16, height: 16 }, /* @__PURE__ */ e.createElement("path", { d: "M18 2H2V18H18V2Z", fill: "white" })), /* @__PURE__ */ e.createElement("g", { mask: "url(#mask0_3043_1886)" }, /* @__PURE__ */ e.createElement("path", { d: "M10.0001 16.2729H5.96004C3.6467 16.2729 2.68004 14.6195 3.80004 12.5995L5.88004 8.85286L7.84004 5.33286C9.02674 3.19286 10.9734 3.19286 12.1601 5.33286L14.1201 8.85953L16.2001 12.6062C17.3201 14.6262 16.3467 16.2795 14.0401 16.2795H10.0001V16.2729Z", fill: "#FFCA28", stroke: "#FFCA28", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ e.createElement("path", { d: "M10 8.00002V11.3334", stroke: "white", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ e.createElement("path", { d: "M9.99634 13.3333H10.0023", stroke: "white", strokeWidth: 1.33333, strokeLinecap: "round", strokeLinejoin: "round" }))), /* @__PURE__ */ e.createElement("defs", null, /* @__PURE__ */ e.createElement("clipPath", { id: "clip0_3043_1886" }, /* @__PURE__ */ e.createElement("rect", { width: 16, height: 16, fill: "white", transform: "translate(2 2)" })))),
|
|
27
|
-
success: /* @__PURE__ */ r(
|
|
28
|
-
error: /* @__PURE__ */ r(
|
|
29
|
-
warning: /* @__PURE__ */ r(
|
|
30
|
-
info: /* @__PURE__ */ r(
|
|
26
|
+
}, maskUnits: "userSpaceOnUse", x: 2, y: 2, width: 16, height: 16 }, /* @__PURE__ */ e.createElement("path", { d: "M18 2H2V18H18V2Z", fill: "white" })), /* @__PURE__ */ e.createElement("g", { mask: "url(#mask0_3043_1886)" }, /* @__PURE__ */ e.createElement("path", { d: "M10.0001 16.2729H5.96004C3.6467 16.2729 2.68004 14.6195 3.80004 12.5995L5.88004 8.85286L7.84004 5.33286C9.02674 3.19286 10.9734 3.19286 12.1601 5.33286L14.1201 8.85953L16.2001 12.6062C17.3201 14.6262 16.3467 16.2795 14.0401 16.2795H10.0001V16.2729Z", fill: "#FFCA28", stroke: "#FFCA28", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ e.createElement("path", { d: "M10 8.00002V11.3334", stroke: "white", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ e.createElement("path", { d: "M9.99634 13.3333H10.0023", stroke: "white", strokeWidth: 1.33333, strokeLinecap: "round", strokeLinejoin: "round" }))), /* @__PURE__ */ e.createElement("defs", null, /* @__PURE__ */ e.createElement("clipPath", { id: "clip0_3043_1886" }, /* @__PURE__ */ e.createElement("rect", { width: 16, height: 16, fill: "white", transform: "translate(2 2)" })))), S = (s) => /* @__PURE__ */ e.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...s }, /* @__PURE__ */ e.createElement("rect", { width: 20, height: 20, fill: "white" }), /* @__PURE__ */ e.createElement("g", { clipPath: "url(#clip0_3043_1897)" }, /* @__PURE__ */ e.createElement("path", { d: "M9.99998 16.9564C13.842 16.9564 16.9565 13.8419 16.9565 9.99992C16.9565 6.15794 13.842 3.0434 9.99998 3.0434C6.158 3.0434 3.04346 6.15794 3.04346 9.99992C3.04346 13.8419 6.158 16.9564 9.99998 16.9564Z", fill: "#3A72E4", stroke: "#3A72E4", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ e.createElement("path", { d: "M10.0063 12.6666L10.0063 9.33328", stroke: "white", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ e.createElement("path", { d: "M10.01 7.33323L10.0037 7.33323", stroke: "white", strokeLinecap: "round", strokeLinejoin: "round" })), /* @__PURE__ */ e.createElement("defs", null, /* @__PURE__ */ e.createElement("clipPath", { id: "clip0_3043_1897" }, /* @__PURE__ */ e.createElement("rect", { width: 16, height: 16, fill: "white", transform: "translate(2 1.99992)" })))), V = {
|
|
27
|
+
success: /* @__PURE__ */ r(b, {}),
|
|
28
|
+
error: /* @__PURE__ */ r(B, {}),
|
|
29
|
+
warning: /* @__PURE__ */ r(H, {}),
|
|
30
|
+
info: /* @__PURE__ */ r(S, {})
|
|
31
31
|
};
|
|
32
|
-
function
|
|
32
|
+
function O({
|
|
33
33
|
variant: s,
|
|
34
34
|
message: _,
|
|
35
35
|
subtext: a,
|
|
36
36
|
ctaLabel: c,
|
|
37
37
|
onCtaClick: d,
|
|
38
|
-
className:
|
|
39
|
-
buttonProps:
|
|
38
|
+
className: k,
|
|
39
|
+
buttonProps: p,
|
|
40
40
|
progress: o,
|
|
41
|
-
progressText:
|
|
41
|
+
progressText: g
|
|
42
42
|
}) {
|
|
43
|
-
const l = typeof o == "number" && Number.isFinite(o), h = l ? Math.min(100, Math.max(0, o)) : 0, m =
|
|
43
|
+
const l = typeof o == "number" && Number.isFinite(o), h = l ? Math.min(100, Math.max(0, o)) : 0, m = g ?? (l ? `${Math.round(h)}%` : void 0);
|
|
44
44
|
return /* @__PURE__ */ i(
|
|
45
45
|
"div",
|
|
46
46
|
{
|
|
47
|
-
className: n(t.toastContent, t[s],
|
|
47
|
+
className: n(t.toastContent, t[s], k),
|
|
48
48
|
children: [
|
|
49
|
-
/* @__PURE__ */ r("span", { className: t.icon, "aria-hidden": "true", children:
|
|
49
|
+
/* @__PURE__ */ r("span", { className: t.icon, "aria-hidden": "true", children: V[s] }),
|
|
50
50
|
/* @__PURE__ */ i("div", { className: t.content, children: [
|
|
51
51
|
/* @__PURE__ */ r("span", { className: n("ckds-body-sm-med", t.message), children: _ }),
|
|
52
52
|
a && /* @__PURE__ */ r("span", { className: n("ckds-body-xs-reg", t.subtext), children: a }),
|
|
@@ -76,7 +76,7 @@ function A({
|
|
|
76
76
|
w,
|
|
77
77
|
{
|
|
78
78
|
className: n("ckds-body-lg-med", t.cta),
|
|
79
|
-
...
|
|
79
|
+
...p,
|
|
80
80
|
label: c,
|
|
81
81
|
onClick: d
|
|
82
82
|
}
|
|
@@ -87,5 +87,5 @@ function A({
|
|
|
87
87
|
);
|
|
88
88
|
}
|
|
89
89
|
export {
|
|
90
|
-
|
|
90
|
+
O as ToastContent
|
|
91
91
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import '../../../assets/ReactToastify-
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { L as s } from "../../../index-BR6M9zUI.js";
|
|
3
|
+
import '../../../assets/ReactToastify-GNLSjkBZ.css';/* empty css */
|
|
4
4
|
function l({
|
|
5
|
-
containerId:
|
|
6
|
-
limit:
|
|
5
|
+
containerId: e,
|
|
6
|
+
limit: o = 5,
|
|
7
7
|
...r
|
|
8
8
|
}) {
|
|
9
|
-
return /* @__PURE__ */
|
|
10
|
-
|
|
9
|
+
return /* @__PURE__ */ t(
|
|
10
|
+
s,
|
|
11
11
|
{
|
|
12
12
|
position: "top-right",
|
|
13
13
|
autoClose: 4e3,
|
|
@@ -16,8 +16,8 @@ function l({
|
|
|
16
16
|
closeOnClick: !1,
|
|
17
17
|
pauseOnHover: !0,
|
|
18
18
|
draggable: !1,
|
|
19
|
-
limit:
|
|
20
|
-
containerId:
|
|
19
|
+
limit: o,
|
|
20
|
+
containerId: e,
|
|
21
21
|
className: "ckds-toast-container",
|
|
22
22
|
...r
|
|
23
23
|
}
|