@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.
Files changed (123) hide show
  1. package/dist/DropdownFooter-CsDll1Tj.js +96 -0
  2. package/dist/{Grow-D08Iq1uH.js → Grow-wzNsNKt2.js} +41 -41
  3. package/dist/IconSlot-DvUwY6Do.js +33 -0
  4. package/dist/{OptionList-DN1xZbnV.js → OptionList-BM4AleXV.js} +361 -290
  5. package/dist/{Select-Cw96VEHD.js → Select-CiuwMSD7.js} +2366 -2427
  6. package/dist/assets/DropdownFooter-JrU15UnN.css +1 -0
  7. package/dist/assets/IconSlot-BWv5PQN_.css +1 -0
  8. package/dist/assets/ReactToastify-GNLSjkBZ.css +1 -0
  9. package/dist/assets/{ToastContent-PGkBxPUW.css → ToastContent-DpF5zCks.css} +1 -1
  10. package/dist/assets/index-0R9p-l95.css +1 -0
  11. package/dist/assets/index-B3yBTtVQ.css +1 -0
  12. package/dist/assets/index-BXwGxK7I.css +1 -0
  13. package/dist/assets/index-BZgvXFWW.css +1 -0
  14. package/dist/assets/index-BbJZjGLb.css +1 -0
  15. package/dist/assets/index-UphWJR2V.css +1 -0
  16. package/dist/assets/{main-Dv8QUU_o.css → main-3OqLSdPm.css} +1 -1
  17. package/dist/assets/{styles-Chhklrps.css → styles-C5uYY4fL.css} +1 -1
  18. package/dist/assets/styles-CEyiQgVQ.css +1 -0
  19. package/dist/assets/styles-DLJzdWsF.css +1 -0
  20. package/dist/assets/{styles-Bqfs9eXV.css → styles-DngCqCGW.css} +1 -1
  21. package/dist/assets/styles-O-5pBCak.css +1 -0
  22. package/dist/components/CKButton/_helper/ComboLayout.js +1 -1
  23. package/dist/components/CKButton/_helper/IconSlot.js +1 -1
  24. package/dist/components/CKButton/_helper/StandardLayout.js +1 -1
  25. package/dist/components/CKButton/index.js +1 -1
  26. package/dist/components/CardBox/index.js +18 -18
  27. package/dist/components/DateRangePicker/DateRangePicker.js +703 -680
  28. package/dist/components/EmptyState/index.js +7 -7
  29. package/dist/components/FusionChart/_config/builders.d.ts.map +1 -1
  30. package/dist/components/FusionChart/_config/builders.js +207 -192
  31. package/dist/components/FusionChart/_config/helpers.d.ts +3 -0
  32. package/dist/components/FusionChart/_config/helpers.d.ts.map +1 -1
  33. package/dist/components/FusionChart/_config/helpers.js +61 -45
  34. package/dist/components/FusionChart/_types/fusionChart.types.d.ts +2 -0
  35. package/dist/components/FusionChart/_types/fusionChart.types.d.ts.map +1 -1
  36. package/dist/components/FusionChart/_utils/chartHelpers.js +1 -1
  37. package/dist/components/FusionChart/index.d.ts.map +1 -1
  38. package/dist/components/FusionChart/index.js +163 -130
  39. package/dist/components/MenuOptions/_utils/computeMenuPosition.js +1 -1
  40. package/dist/components/MenuOptions/_utils/computeSubmenuPosition.js +1 -1
  41. package/dist/components/MetricCards/Component/CardWithIconAndForecast/index.js +30 -30
  42. package/dist/components/MultiSelect/SimpleMultiSelect.d.ts +3 -1
  43. package/dist/components/MultiSelect/SimpleMultiSelect.d.ts.map +1 -1
  44. package/dist/components/MultiSelect/SimpleMultiSelect.js +150 -136
  45. package/dist/components/MultiSelect/_helpers/DropdownFooter.js +1 -1
  46. package/dist/components/MultiSelect/_helpers/OptionRow.js +1 -1
  47. package/dist/components/MultiSelect/_helpers/OverflowMenu.js +1 -1
  48. package/dist/components/MultiSelect/_helpers/OverflowMenuItem.js +1 -1
  49. package/dist/components/MultiSelect/_helpers/SearchResult.d.ts +1 -1
  50. package/dist/components/MultiSelect/_helpers/SearchResult.d.ts.map +1 -1
  51. package/dist/components/MultiSelect/_helpers/SearchResult.js +31 -21
  52. package/dist/components/MultiSelect/_helpers/TagContent.js +1 -1
  53. package/dist/components/MultiSelect/_helpers/TriggerButton.d.ts.map +1 -1
  54. package/dist/components/MultiSelect/_helpers/TriggerButton.js +95 -74
  55. package/dist/components/MultiSelect/_types/type.d.ts +7 -2
  56. package/dist/components/MultiSelect/_types/type.d.ts.map +1 -1
  57. package/dist/components/MultiSelect/_utils/useDropdownDirection.d.ts +18 -0
  58. package/dist/components/MultiSelect/_utils/useDropdownDirection.d.ts.map +1 -0
  59. package/dist/components/MultiSelect/_utils/useDropdownDirection.js +23 -0
  60. package/dist/components/MultiSelect/index.d.ts +1 -1
  61. package/dist/components/MultiSelect/index.d.ts.map +1 -1
  62. package/dist/components/MultiSelect/index.js +162 -150
  63. package/dist/components/PopupAndDialogBox/components/DialogContent.js +1 -1
  64. package/dist/components/PopupAndDialogBox/components/DialogFooter.js +1 -1
  65. package/dist/components/PopupAndDialogBox/components/DialogHeader.js +1 -1
  66. package/dist/components/PopupAndDialogBox/index.js +1 -1
  67. package/dist/components/RadioButton/index.js +34 -34
  68. package/dist/components/RadioGroup/_types/radioGroup.types.d.ts +1 -0
  69. package/dist/components/RadioGroup/_types/radioGroup.types.d.ts.map +1 -1
  70. package/dist/components/RadioGroup/index.d.ts +1 -1
  71. package/dist/components/RadioGroup/index.d.ts.map +1 -1
  72. package/dist/components/RadioGroup/index.js +19 -17
  73. package/dist/components/Search/index.d.ts.map +1 -1
  74. package/dist/components/Search/index.js +63 -61
  75. package/dist/components/SingleSelectDropdown/_helpers/DropdownFooter.js +3 -3
  76. package/dist/components/SingleSelectDropdown/index.d.ts.map +1 -1
  77. package/dist/components/SingleSelectDropdown/index.js +83 -78
  78. package/dist/components/Table/_helpers/ColumnManager/ColumnConfig.d.ts.map +1 -1
  79. package/dist/components/Table/_helpers/ColumnManager/ColumnConfig.js +22 -19
  80. package/dist/components/Table/_helpers/ColumnManager/index.d.ts.map +1 -1
  81. package/dist/components/Table/_helpers/ColumnManager/index.js +304 -301
  82. package/dist/components/Table/_helpers/GroupedHeader/index.js +1 -1
  83. package/dist/components/Table/_helpers/TableFilterModal/OptionList.js +1 -1
  84. package/dist/components/Table/_helpers/TableFilterModal/RangeSelector.js +133 -142
  85. package/dist/components/Table/_helpers/TableFilterModal/index.d.ts.map +1 -1
  86. package/dist/components/Table/_helpers/TableFilterModal/index.js +43 -42
  87. package/dist/components/Table/_helpers/TableRows.js +1 -1
  88. package/dist/components/Table/index.d.ts.map +1 -1
  89. package/dist/components/Table/index.js +215 -210
  90. package/dist/components/TextField/index.js +331 -328
  91. package/dist/components/Toast/_helper/ToastContent.js +25 -25
  92. package/dist/components/Toast/_helper/ToastProvider.js +9 -9
  93. package/dist/components/Toast/_hooks/useToast.js +1 -1
  94. package/dist/components/Tooltip/index.js +772 -697
  95. package/dist/components/Typography/index.js +30 -30
  96. package/dist/createSimplePaletteValueFilter-BqxST_wX.js +24 -0
  97. package/dist/index-BR6M9zUI.js +382 -0
  98. package/dist/{index-f7TB87Mf.js → index-Bcvmezbu.js} +23 -3
  99. package/dist/main.d.ts +1 -0
  100. package/dist/main.d.ts.map +1 -1
  101. package/dist/main.js +15 -13
  102. package/dist/styles.module-yIHBMSTk.js +53 -0
  103. package/dist/styles.module-yNDMDNO-.js +14 -0
  104. package/dist/{useSlot-ylt7_lTY.js → useSlot-BiMlGawc.js} +656 -623
  105. package/package.json +3 -3
  106. package/dist/DropdownFooter-CYkg2g5d.js +0 -89
  107. package/dist/IconSlot-CFKmSU2_.js +0 -33
  108. package/dist/assets/DropdownFooter-DjdPf69A.css +0 -1
  109. package/dist/assets/IconSlot-CLpdZgmb.css +0 -1
  110. package/dist/assets/ReactToastify-tlSLHgLC.css +0 -1
  111. package/dist/assets/index-B81zpOpq.css +0 -1
  112. package/dist/assets/index-BmQOtMhS.css +0 -1
  113. package/dist/assets/index-CaWXKQ7j.css +0 -1
  114. package/dist/assets/index-CiQd_iRw.css +0 -1
  115. package/dist/assets/index-DNhNBxL9.css +0 -1
  116. package/dist/assets/index-YHUWVH17.css +0 -1
  117. package/dist/assets/styles-BTZL03H2.css +0 -1
  118. package/dist/assets/styles-CYxKrBqL.css +0 -1
  119. package/dist/assets/styles-D8sahtFb.css +0 -1
  120. package/dist/contains-kLLEGdNH.js +0 -41
  121. package/dist/index-C8cPPHJD.js +0 -1196
  122. package/dist/styles.module-BZaUJMlf.js +0 -14
  123. 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-PGkBxPUW.css';const u = "_toastContent_avbze_90", E = "_icon_avbze_97", f = "_content_avbze_102", v = "_message_avbze_109", L = "_subtext_avbze_114", C = "_progressBlock_avbze_119", x = "_progressTrack_avbze_126", b = "_progressFill_avbze_133", F = "_progressFill__success_avbze_139", M = "_progressFill__error_avbze_143", T = "_progressFill__warning_avbze_147", y = "_progressFill__info_avbze_151", z = "_progressText_avbze_155", j = "_cta_avbze_161", t = {
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: v,
10
- subtext: L,
11
- progressBlock: C,
9
+ message: L,
10
+ subtext: C,
11
+ progressBlock: j,
12
12
  progressTrack: x,
13
- progressFill: b,
14
- progressFill__success: F,
13
+ progressFill: F,
14
+ progressFill__success: v,
15
15
  progressFill__error: M,
16
16
  progressFill__warning: T,
17
17
  progressFill__info: y,
18
- progressText: z,
19
- cta: j
20
- }, N = (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: {
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)" })))), P = (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: {
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)" })))), 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_1886)" }, /* @__PURE__ */ e.createElement("mask", { id: "mask0_3043_1886", style: {
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)" })))), 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_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)" })))), S = {
27
- success: /* @__PURE__ */ r(N, {}),
28
- error: /* @__PURE__ */ r(P, {}),
29
- warning: /* @__PURE__ */ r(B, {}),
30
- info: /* @__PURE__ */ r(H, {})
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 A({
32
+ function O({
33
33
  variant: s,
34
34
  message: _,
35
35
  subtext: a,
36
36
  ctaLabel: c,
37
37
  onCtaClick: d,
38
- className: p,
39
- buttonProps: g,
38
+ className: k,
39
+ buttonProps: p,
40
40
  progress: o,
41
- progressText: k
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 = k ?? (l ? `${Math.round(h)}%` : void 0);
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], p),
47
+ className: n(t.toastContent, t[s], k),
48
48
  children: [
49
- /* @__PURE__ */ r("span", { className: t.icon, "aria-hidden": "true", children: S[s] }),
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
- ...g,
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
- A as ToastContent
90
+ O as ToastContent
91
91
  };
@@ -1,13 +1,13 @@
1
- import { jsx as s } from "react/jsx-runtime";
2
- import { x as t } from "../../../index-C8cPPHJD.js";
3
- import '../../../assets/ReactToastify-tlSLHgLC.css';/* empty css */
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: o,
6
- limit: e = 5,
5
+ containerId: e,
6
+ limit: o = 5,
7
7
  ...r
8
8
  }) {
9
- return /* @__PURE__ */ s(
10
- t,
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: e,
20
- containerId: o,
19
+ limit: o,
20
+ containerId: e,
21
21
  className: "ckds-toast-container",
22
22
  ...r
23
23
  }
@@ -1,5 +1,5 @@
1
1
  import { jsx as b } from "react/jsx-runtime";
2
- import { y as o } from "../../../index-C8cPPHJD.js";
2
+ import { y as o } from "../../../index-BR6M9zUI.js";
3
3
  import { ToastContent as T } from "../_helper/ToastContent.js";
4
4
  const v = {
5
5
  success: "default",