@clickhouse/click-ui 0.0.209 → 0.0.211

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.
@@ -90,7 +90,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
90
90
  /* @__PURE__ */ jsxRuntime.jsx("path", { stroke: "#161517", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M21 7v10a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4Z", clipRule: "evenodd" }),
91
91
  /* @__PURE__ */ jsxRuntime.jsx("path", { stroke: "#161517", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "m13.75 10.25-6 6" })
92
92
  ] });
93
- const Bold = (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M6.75 12H13.75C15.683 12 17.25 13.567 17.25 15.5V15.5C17.25 17.433 15.683 19 13.75 19H6.75V5H12.583C14.516 5 16.083 6.567 16.083 8.5V8.5C16.083 10.433 14.516 12 12.583 12", stroke: "#161517", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }) });
93
+ const Bold = (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M6.75 12H13.75C15.683 12 17.25 13.567 17.25 15.5V15.5C17.25 17.433 15.683 19 13.75 19H6.75V5H12.583C14.516 5 16.083 6.567 16.083 8.5V8.5C16.083 10.433 14.516 12 12.583 12", stroke: "#161517", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) });
94
94
  const Book = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...props, children: [
95
95
  /* @__PURE__ */ jsxRuntime.jsx("path", { stroke: "#161517", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M12 16.37a6.368 6.368 0 0 0-7.495-1.12c-.684.364-1.509-.085-1.509-.86V5.295c0-.637.294-1.249.812-1.618A6.367 6.367 0 0 1 12 4.364a6.367 6.367 0 0 1 8.191-.687c.518.37.813.981.813 1.618v9.095c0 .775-.826 1.225-1.509.86A6.368 6.368 0 0 0 12 16.37Z", clipRule: "evenodd" }),
96
96
  /* @__PURE__ */ jsxRuntime.jsx("path", { stroke: "#161517", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M4.505 19.387A6.368 6.368 0 0 1 12 20.507a6.368 6.368 0 0 1 7.495-1.12M12 16.37V4.363" })
@@ -458,7 +458,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
458
458
  /* @__PURE__ */ jsxRuntime.jsx("path", { stroke: "#161517", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M10 9.056C9.094 7.818 7.652 7 6 7v0a5 5 0 0 0-5 5v0a5 5 0 0 0 5 5v0a5.299 5.299 0 0 0 4.543-2.572L12 12l1.457-2.428A5.299 5.299 0 0 1 18 7v0a5 5 0 0 1 5 5v0a5 5 0 0 1-5 5v0c-1.652 0-3.094-.818-4-2.056" }),
459
459
  /* @__PURE__ */ jsxRuntime.jsx("path", { stroke: "#161517", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "m9.93 6.028.521 2.954-2.954.52" })
460
460
  ] });
461
- const Italic = (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M14.1821 18H5.45508H9.43508L14.5651 6H18.5451H9.81808", stroke: "#161517", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }) });
461
+ const Italic = (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M14.1821 18H5.45508H9.43508L14.5651 6H18.5451H9.81808", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
462
462
  const Key = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
463
463
  /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M15.0312 9.34226C15.0312 9.13526 14.8633 8.96826 14.6562 8.96826C14.4492 8.96926 14.2812 9.13726 14.2812 9.34426C14.2812 9.55126 14.4492 9.71926 14.6562 9.71826C14.8633 9.71826 15.0312 9.55026 15.0312 9.34326", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
464
464
  /* @__PURE__ */ jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12.499 14.7852L11.469 15.8172H9.637V17.2862H8.172V19.1222L6.798 20.5002H3.5V17.1952L9.223 11.4592C8.417 9.36524 8.849 6.90324 10.534 5.21424C12.814 2.92924 16.511 2.92924 18.791 5.21424C21.071 7.49924 21.071 11.2042 18.791 13.4902C17.089 15.1942 14.601 15.6242 12.499 14.7852Z", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
@@ -504,20 +504,20 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
504
504
  ] });
505
505
  };
506
506
  const ListBulleted = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
507
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8.99902 6.43673H20.0036", stroke: "#161517", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
508
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M20.0036 12.0002H8.99902", stroke: "#161517", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
509
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8.99902 17.5632H20.0036", stroke: "#161517", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
510
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4.49728 5.93652C4.22102 5.93652 3.99707 6.16047 3.99707 6.43673C3.99707 6.71299 4.22102 6.93694 4.49728 6.93694C4.77354 6.93694 4.99749 6.71299 4.99749 6.43673C4.99749 6.16047 4.77354 5.93652 4.49728 5.93652", stroke: "#161517", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
511
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4.49728 11.5C4.22102 11.5 3.99707 11.724 3.99707 12.0002C3.99707 12.2765 4.22102 12.5004 4.49728 12.5004C4.77354 12.5004 4.99749 12.2765 4.99749 12.0002C4.99749 11.724 4.77354 11.5 4.49728 11.5", stroke: "#161517", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
512
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4.49728 17.063C4.22102 17.063 3.99707 17.2869 3.99707 17.5632C3.99707 17.8395 4.22102 18.0634 4.49728 18.0634C4.77354 18.0634 4.99749 17.8395 4.99749 17.5632C4.99749 17.2869 4.77354 17.063 4.49728 17.063", stroke: "#161517", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })
507
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8.99902 6.43673H20.0036", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
508
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M20.0036 12.0002H8.99902", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
509
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8.99902 17.5632H20.0036", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
510
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4.49728 5.93652C4.22102 5.93652 3.99707 6.16047 3.99707 6.43673C3.99707 6.71299 4.22102 6.93694 4.49728 6.93694C4.77354 6.93694 4.99749 6.71299 4.99749 6.43673C4.99749 6.16047 4.77354 5.93652 4.49728 5.93652", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
511
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4.49728 11.5C4.22102 11.5 3.99707 11.724 3.99707 12.0002C3.99707 12.2765 4.22102 12.5004 4.49728 12.5004C4.77354 12.5004 4.99749 12.2765 4.99749 12.0002C4.99749 11.724 4.77354 11.5 4.49728 11.5", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
512
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4.49728 17.063C4.22102 17.063 3.99707 17.2869 3.99707 17.5632C3.99707 17.8395 4.22102 18.0634 4.49728 18.0634C4.77354 18.0634 4.99749 17.8395 4.99749 17.5632C4.99749 17.2869 4.77354 17.063 4.49728 17.063", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
513
513
  ] });
514
514
  const ListNumbered = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
515
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M11 4H20", stroke: "#161517", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
516
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M11.1504 9H20.0004", stroke: "#161517", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
517
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M6.5 9H4H5.25V4L4 5.25", stroke: "#161517", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
518
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M11 15H20", stroke: "#161517", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
519
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M11.1504 20H20.0004", stroke: "#161517", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
520
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4 15H6.5V17L4 18.5V20H6.75", stroke: "#161517", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })
515
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M11 4H20", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
516
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M11.1504 9H20.0004", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
517
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M6.5 9H4H5.25V4L4 5.25", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
518
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M11 15H20", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
519
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M11.1504 20H20.0004", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
520
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4 15H6.5V17L4 18.5V20H6.75", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
521
521
  ] });
522
522
  const Loading = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...props, children: [
523
523
  /* @__PURE__ */ jsxRuntime.jsx("path", { stroke: "#161517", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.25, d: "M7.625 8.875H4.5V5.75" }),
@@ -726,6 +726,17 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
726
726
  /* @__PURE__ */ jsxRuntime.jsx("mask", { id: "path-17-inside-9_3169_15708", fill: "white", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M14.1433 4.71436H13.2861V5.5715H14.1433V4.71436Z" }) }),
727
727
  /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M13.2861 4.71436V3.21436H11.7861V4.71436H13.2861ZM14.1433 4.71436H15.6433V3.21436H14.1433V4.71436ZM14.1433 5.5715V7.0715H15.6433V5.5715H14.1433ZM13.2861 5.5715H11.7861V7.0715H13.2861V5.5715ZM13.2861 6.21436H14.1433V3.21436H13.2861V6.21436ZM12.6433 4.71436V5.5715H15.6433V4.71436H12.6433ZM14.1433 4.0715H13.2861V7.0715H14.1433V4.0715ZM14.7861 5.5715V4.71436H11.7861V5.5715H14.7861Z", fill: "#161517", mask: "url(#path-17-inside-9_3169_15708)" })
728
728
  ] });
729
+ const TextSlash = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
730
+ /* @__PURE__ */ jsxRuntime.jsxs("g", { "clip-path": "url(#clip0_12066_12491)", children: [
731
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4.5 3.75L19.5 20.25", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
732
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M9 18.75H15", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
733
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 12V18.75", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
734
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 5.25V7.54031", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
735
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M9.91797 5.25H18.7502V8.25", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
736
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M5.25 8.25V5.25H5.86406", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
737
+ ] }),
738
+ /* @__PURE__ */ jsxRuntime.jsx("defs", { children: /* @__PURE__ */ jsxRuntime.jsx("clipPath", { id: "clip0_12066_12491", children: /* @__PURE__ */ jsxRuntime.jsx("rect", { width: "24", height: "24", fill: "white" }) }) })
739
+ ] });
729
740
  const Trash = (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { stroke: "#161517", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M18 6v12.75c0 1.243-1.027 2.25-2.269 2.25h-7.5A2.233 2.233 0 0 1 6 18.75V6M19.5 6h-15M10 3h4M14 10v7M10 17v-7" }) });
730
741
  const TreeStructure = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
731
742
  /* @__PURE__ */ jsxRuntime.jsxs("g", { clipPath: "url(#clip0_7969_2214)", children: [
@@ -738,8 +749,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
738
749
  /* @__PURE__ */ jsxRuntime.jsx("defs", { children: /* @__PURE__ */ jsxRuntime.jsx("clipPath", { id: "clip0_7969_2214", children: /* @__PURE__ */ jsxRuntime.jsx("rect", { width: "24", height: "24", fill: "white" }) }) })
739
750
  ] });
740
751
  const Underline = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
741
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M6 20H18", stroke: "#161517", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
742
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M17 4V11C17 13.761 14.761 16 12 16C9.239 16 7 13.761 7 11V4", stroke: "#161517", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })
752
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M6 20H18", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
753
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M17 4V11C17 13.761 14.761 16 12 16C9.239 16 7 13.761 7 11V4", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
743
754
  ] });
744
755
  const Upgrade = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
745
756
  /* @__PURE__ */ jsxRuntime.jsx("mask", { id: "path-1-inside-1_10418_503", fill: "white", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M16.1664 17.8179H7.83984V18.8864H16.1664V17.8179Z" }) }),
@@ -910,6 +921,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
910
921
  support: Support,
911
922
  table: Table$1,
912
923
  taxi: Taxi,
924
+ "text-slash": TextSlash,
913
925
  trash: Trash,
914
926
  "tree-structure": TreeStructure,
915
927
  underline: Underline,
@@ -7766,6 +7778,80 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
7766
7778
  const PopoverArrow = (props) => {
7767
7779
  return /* @__PURE__ */ jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "10", viewBox: "0 0 30 10", fill: "none", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M0 -1L15 9L30 -1", strokeWidth: "1.5", strokeLinejoin: "round" }) });
7768
7780
  };
7781
+ const _Container = ({
7782
+ component,
7783
+ alignItems,
7784
+ children,
7785
+ fillWidth = true,
7786
+ gap = "none",
7787
+ grow,
7788
+ shrink,
7789
+ isResponsive,
7790
+ justifyContent = "start",
7791
+ maxWidth,
7792
+ minWidth,
7793
+ orientation = "horizontal",
7794
+ padding = "none",
7795
+ wrap = "nowrap",
7796
+ fillHeight,
7797
+ maxHeight,
7798
+ minHeight,
7799
+ overflow,
7800
+ ...props
7801
+ }, ref) => {
7802
+ return /* @__PURE__ */ jsxRuntime.jsx(Wrapper$d, { ref, as: component ?? "div", $alignItems: alignItems ?? (orientation === "vertical" ? "start" : "center"), $fillWidth: fillWidth, $gapSize: gap, $grow: grow, $shrink: shrink, $isResponsive: isResponsive, $justifyContent: justifyContent, $maxWidth: maxWidth, $minWidth: minWidth, $orientation: orientation, $paddingSize: padding, $wrap: wrap, $fillHeight: fillHeight, $maxHeight: maxHeight, $minHeight: minHeight, $overflow: overflow, "data-testid": "container", ...props, children });
7803
+ };
7804
+ const Wrapper$d = styled.styled.div.withConfig({
7805
+ componentId: "sc-bcplth-0"
7806
+ })(["display:flex;", " ", " ", " flex-wrap:", ";gap:", ";max-width:", ";min-width:", ";padding:", ";width:", ";flex-direction:", ";align-items:", ";justify-content:", ";@media (max-width:", "){width:", ";max-width:", ";flex-direction:", ";}"], ({
7807
+ $grow,
7808
+ $shrink
7809
+ }) => `
7810
+ ${$grow && `flex: ${$grow}`};
7811
+ ${$shrink && `flex-shrink: ${$shrink}`};
7812
+ `, ({
7813
+ $fillHeight,
7814
+ $maxHeight,
7815
+ $minHeight
7816
+ }) => `
7817
+ ${$fillHeight && "height: 100%"};
7818
+ ${$maxHeight && `max-height: ${$maxHeight}`};
7819
+ ${$minHeight && `min-height: ${$minHeight}`};
7820
+ `, ({
7821
+ $overflow
7822
+ }) => `
7823
+ ${$overflow && `overflow: ${$overflow}`};
7824
+ `, ({
7825
+ $wrap = "nowrap"
7826
+ }) => $wrap, ({
7827
+ theme: theme2,
7828
+ $gapSize
7829
+ }) => theme2.click.container.gap[$gapSize], ({
7830
+ $maxWidth
7831
+ }) => $maxWidth ?? "none", ({
7832
+ $minWidth
7833
+ }) => $minWidth ?? "auto", ({
7834
+ theme: theme2,
7835
+ $paddingSize
7836
+ }) => theme2.click.container.space[$paddingSize], ({
7837
+ $fillWidth = true
7838
+ }) => $fillWidth === true ? "100%" : "auto", ({
7839
+ $orientation = "horizontal"
7840
+ }) => $orientation === "horizontal" ? "row" : "column", ({
7841
+ $alignItems = "center"
7842
+ }) => $alignItems, ({
7843
+ $justifyContent = "left"
7844
+ }) => $justifyContent === "start" ? "start" : `${$justifyContent}`, ({
7845
+ theme: theme2
7846
+ }) => theme2.breakpoint.sizes.md, ({
7847
+ $isResponsive = true,
7848
+ $fillWidth = true
7849
+ }) => $isResponsive === true ? "100%" : $fillWidth === true ? "100%" : "auto", ({
7850
+ $isResponsive = true
7851
+ }) => $isResponsive === true ? "none" : "auto", ({
7852
+ $isResponsive = true
7853
+ }) => $isResponsive === true ? "column" : "auto");
7854
+ const Container = React.forwardRef(_Container);
7769
7855
  const mergeRefs = (refs) => (value) => {
7770
7856
  refs.forEach((ref) => {
7771
7857
  if (typeof ref === "function") {
@@ -7789,14 +7875,6 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
7789
7875
  }]), ...props });
7790
7876
  };
7791
7877
  const EllipsisContent = React.forwardRef(_EllipsisContent);
7792
- const LabelContainer$1 = styled.styled.div.withConfig({
7793
- componentId: "sc-1likhxd-0"
7794
- })(["display:grid;grid-template-columns:", ";align-items:center;justify-content:flex-start;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;gap:", ";"], ({
7795
- $hasIcon,
7796
- $iconDir
7797
- }) => `${$hasIcon && $iconDir === "start" ? "auto " : ""}1fr${$hasIcon && $iconDir === "end" ? " auto" : ""}`, ({
7798
- theme: theme2
7799
- }) => theme2.click.sidebar.navigation.item.default.space.gap);
7800
7878
  const IconWrapper$3 = ({
7801
7879
  icon,
7802
7880
  iconDir = "start",
@@ -7805,10 +7883,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
7805
7883
  height,
7806
7884
  children,
7807
7885
  ellipsisContent = true,
7886
+ gap = "sm",
7808
7887
  ...props
7809
7888
  }) => {
7810
7889
  const TextWrapper2 = ellipsisContent ? EllipsisContent : "div";
7811
- return /* @__PURE__ */ jsxRuntime.jsxs(LabelContainer$1, { $hasIcon: typeof icon === "string", $iconDir: iconDir, ...props, children: [
7890
+ return /* @__PURE__ */ jsxRuntime.jsxs(Container, { orientation: "horizontal", gap, ...props, children: [
7812
7891
  icon && iconDir === "start" && /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: icon, size: size2, width, height }),
7813
7892
  /* @__PURE__ */ jsxRuntime.jsx(TextWrapper2, { "data-testid": `${ellipsisContent ? "ellipsed" : "normal"}-icon-wrapper-text`, children }),
7814
7893
  icon && iconDir === "end" && /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: icon, size: size2, width, height })
@@ -8367,7 +8446,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
8367
8446
  ...delegated
8368
8447
  }) => {
8369
8448
  const [isVisible, setIsVisible] = React.useState(true);
8370
- return isVisible ? /* @__PURE__ */ jsxRuntime.jsxs(Wrapper$d, { $size: size2, $state: state, $type: type, "data-testid": "click-alert", ...delegated, children: [
8449
+ return isVisible ? /* @__PURE__ */ jsxRuntime.jsxs(Wrapper$c, { $size: size2, $state: state, $type: type, "data-testid": "click-alert", ...delegated, children: [
8371
8450
  dismissible && type === "banner" && /* @__PURE__ */ jsxRuntime.jsx(DismissWrapper$1, {}),
8372
8451
  showIcon && /* @__PURE__ */ jsxRuntime.jsx(IconWrapper$2, { $state: state, $size: size2, $type: type, children: /* @__PURE__ */ jsxRuntime.jsx(StyledIcon, { $size: size2, size: "sm", "aria-hidden": true, name: customIcon || stateIconMap[state] }) }),
8373
8452
  /* @__PURE__ */ jsxRuntime.jsxs(TextWrapper, { $state: state, $size: size2, children: [
@@ -8377,7 +8456,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
8377
8456
  dismissible && /* @__PURE__ */ jsxRuntime.jsx(DismissWrapper$1, { "data-testid": "click-alert-dismiss-button", onClick: () => setIsVisible(false), children: /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: "cross", "aria-label": "close" }) })
8378
8457
  ] }) : null;
8379
8458
  };
8380
- const Wrapper$d = styled.styled.div.withConfig({
8459
+ const Wrapper$c = styled.styled.div.withConfig({
8381
8460
  componentId: "sc-1wvczk0-0"
8382
8461
  })(["display:flex;border-radius:", ";justify-content:", ";overflow:hidden;background-color:", ";color:", ";width:100%;"], ({
8383
8462
  $type,
@@ -9231,7 +9310,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
9231
9310
  font: ${theme2.click.avatar.typography.label[$textSize].hover};
9232
9311
  }
9233
9312
  `);
9234
- const Wrapper$c = styled.styled.div.withConfig({
9313
+ const Wrapper$b = styled.styled.div.withConfig({
9235
9314
  componentId: "sc-471xo0-0"
9236
9315
  })(["display:inline-flex;", ""], ({
9237
9316
  $state = "default",
@@ -9288,7 +9367,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
9288
9367
  onClose,
9289
9368
  ellipsisContent = true,
9290
9369
  ...props
9291
- }) => /* @__PURE__ */ jsxRuntime.jsx(Wrapper$c, { $state: state, $size: size2, $type: type, ...props, children: /* @__PURE__ */ jsxRuntime.jsxs(Content$4, { "data-testid": `${ellipsisContent ? "ellipsed" : "normal"}-badge-content`, children: [
9370
+ }) => /* @__PURE__ */ jsxRuntime.jsx(Wrapper$b, { $state: state, $size: size2, $type: type, ...props, children: /* @__PURE__ */ jsxRuntime.jsxs(Content$4, { "data-testid": `${ellipsisContent ? "ellipsed" : "normal"}-badge-content`, children: [
9292
9371
  /* @__PURE__ */ jsxRuntime.jsx(BadgeContent, { as: IconWrapper$3, icon, iconDir, size: size2, $state: state, ellipsisContent, children: text2 }),
9293
9372
  dismissible && /* @__PURE__ */ jsxRuntime.jsx(SvgContainer, { name: "cross", $state: state, as: SvgImage, onClick: onClose, "aria-label": "close" })
9294
9373
  ] }) });
@@ -9303,11 +9382,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
9303
9382
  state = "default",
9304
9383
  title = "Title",
9305
9384
  ...props
9306
- }) => /* @__PURE__ */ jsxRuntime.jsxs(Wrapper$b, { $height: height, $order: order, $size: size2, $spacing: spacing, $state: state, $fillWidth: fillWidth, $maxWidth: maxWidth, ...props, children: [
9385
+ }) => /* @__PURE__ */ jsxRuntime.jsxs(Wrapper$a, { $height: height, $order: order, $size: size2, $spacing: spacing, $state: state, $fillWidth: fillWidth, $maxWidth: maxWidth, ...props, children: [
9307
9386
  /* @__PURE__ */ jsxRuntime.jsx(Label, { $state: state, $size: size2, children: label }),
9308
9387
  /* @__PURE__ */ jsxRuntime.jsx(Title$3, { $state: state, $size: size2, children: title })
9309
9388
  ] });
9310
- const Wrapper$b = styled.styled.div.withConfig({
9389
+ const Wrapper$a = styled.styled.div.withConfig({
9311
9390
  componentId: "sc-u5029o-0"
9312
9391
  })(["display:flex;justify-content:center;box-sizing:border-box;", ""], ({
9313
9392
  $fillWidth = false,
@@ -9534,7 +9613,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
9534
9613
  })(["display:flex;flex-direction:column;align-self:start;gap:", ";flex:1;width:100%;"], ({
9535
9614
  theme: theme2
9536
9615
  }) => theme2.click.card.horizontal.space.gap);
9537
- const Wrapper$a = styled.styled.div.withConfig({
9616
+ const Wrapper$9 = styled.styled.div.withConfig({
9538
9617
  componentId: "sc-1qnbjoa-2"
9539
9618
  })(["display:inline-flex;width:100%;max-width:100%;align-items:center;justify-content:flex-start;", ""], ({
9540
9619
  theme: theme2,
@@ -9640,7 +9719,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
9640
9719
  window.open(infoUrl, "_blank");
9641
9720
  }
9642
9721
  };
9643
- return /* @__PURE__ */ jsxRuntime.jsx(Wrapper$a, { $disabled: disabled, $isSelected: isSelected, $isSelectable: isSelectable, $color: color, tabIndex: 0, onClick: handleClick, ...props, children: /* @__PURE__ */ jsxRuntime.jsxs(ContentWrapper, { children: [
9722
+ return /* @__PURE__ */ jsxRuntime.jsx(Wrapper$9, { $disabled: disabled, $isSelected: isSelected, $isSelectable: isSelectable, $color: color, tabIndex: 0, onClick: handleClick, ...props, children: /* @__PURE__ */ jsxRuntime.jsxs(ContentWrapper, { children: [
9644
9723
  /* @__PURE__ */ jsxRuntime.jsxs(IconTextContentWrapper, { children: [
9645
9724
  icon && /* @__PURE__ */ jsxRuntime.jsx(CardIcon$1, { name: icon, "aria-hidden": true }),
9646
9725
  /* @__PURE__ */ jsxRuntime.jsxs(Container, { padding: "none", orientation: "vertical", children: [
@@ -9708,80 +9787,6 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
9708
9787
  }) => $fillWidth && "width: 100%");
9709
9788
  _Text.displayName = "Text";
9710
9789
  const Text = React.forwardRef(_Text);
9711
- const _Container = ({
9712
- component,
9713
- alignItems,
9714
- children,
9715
- fillWidth = true,
9716
- gap = "none",
9717
- grow,
9718
- shrink,
9719
- isResponsive,
9720
- justifyContent = "start",
9721
- maxWidth,
9722
- minWidth,
9723
- orientation = "horizontal",
9724
- padding = "none",
9725
- wrap = "nowrap",
9726
- fillHeight,
9727
- maxHeight,
9728
- minHeight,
9729
- overflow,
9730
- ...props
9731
- }, ref) => {
9732
- return /* @__PURE__ */ jsxRuntime.jsx(Wrapper$9, { ref, as: component ?? "div", $alignItems: alignItems ?? (orientation === "vertical" ? "start" : "center"), $fillWidth: fillWidth, $gapSize: gap, $grow: grow, $shrink: shrink, $isResponsive: isResponsive, $justifyContent: justifyContent, $maxWidth: maxWidth, $minWidth: minWidth, $orientation: orientation, $paddingSize: padding, $wrap: wrap, $fillHeight: fillHeight, $maxHeight: maxHeight, $minHeight: minHeight, $overflow: overflow, "data-testid": "container", ...props, children });
9733
- };
9734
- const Wrapper$9 = styled.styled.div.withConfig({
9735
- componentId: "sc-bcplth-0"
9736
- })(["display:flex;", " ", " ", " flex-wrap:", ";gap:", ";max-width:", ";min-width:", ";padding:", ";width:", ";flex-direction:", ";align-items:", ";justify-content:", ";@media (max-width:", "){width:", ";max-width:", ";flex-direction:", ";}"], ({
9737
- $grow,
9738
- $shrink
9739
- }) => `
9740
- ${$grow && `flex: ${$grow}`};
9741
- ${$shrink && `flex-shrink: ${$shrink}`};
9742
- `, ({
9743
- $fillHeight,
9744
- $maxHeight,
9745
- $minHeight
9746
- }) => `
9747
- ${$fillHeight && "height: 100%"};
9748
- ${$maxHeight && `max-height: ${$maxHeight}`};
9749
- ${$minHeight && `min-height: ${$minHeight}`};
9750
- `, ({
9751
- $overflow
9752
- }) => `
9753
- ${$overflow && `overflow: ${$overflow}`};
9754
- `, ({
9755
- $wrap = "nowrap"
9756
- }) => $wrap, ({
9757
- theme: theme2,
9758
- $gapSize
9759
- }) => theme2.click.container.gap[$gapSize], ({
9760
- $maxWidth
9761
- }) => $maxWidth ?? "none", ({
9762
- $minWidth
9763
- }) => $minWidth ?? "auto", ({
9764
- theme: theme2,
9765
- $paddingSize
9766
- }) => theme2.click.container.space[$paddingSize], ({
9767
- $fillWidth = true
9768
- }) => $fillWidth === true ? "100%" : "auto", ({
9769
- $orientation = "horizontal"
9770
- }) => $orientation === "horizontal" ? "row" : "column", ({
9771
- $alignItems = "center"
9772
- }) => $alignItems, ({
9773
- $justifyContent = "left"
9774
- }) => $justifyContent === "start" ? "start" : `${$justifyContent}`, ({
9775
- theme: theme2
9776
- }) => theme2.breakpoint.sizes.md, ({
9777
- $isResponsive = true,
9778
- $fillWidth = true
9779
- }) => $isResponsive === true ? "100%" : $fillWidth === true ? "100%" : "auto", ({
9780
- $isResponsive = true
9781
- }) => $isResponsive === true ? "none" : "auto", ({
9782
- $isResponsive = true
9783
- }) => $isResponsive === true ? "column" : "auto");
9784
- const Container = React.forwardRef(_Container);
9785
9790
  const TopBadgeWrapper = styled.styled(Container).withConfig({
9786
9791
  componentId: "sc-1d5pqpo-0"
9787
9792
  })(["position:relative;"]);
@@ -34681,6 +34686,9 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
34681
34686
  color: ${theme2.click.genericMenu.button.color.label.default};
34682
34687
  cursor: ${$clickable ? "pointer" : "default"}
34683
34688
  `);
34689
+ const SelectItemDescriptionText = styled.styled.div.withConfig({
34690
+ componentId: "sc-oudbwg-14"
34691
+ })(["white-space:normal;[data-disabled] &,[disabled] &{color:inherit;}", " &{display:none;}"], StyledSelectTrigger);
34684
34692
  const OptionContext = React.createContext({
34685
34693
  search: "",
34686
34694
  selectedValues: [],
@@ -37966,7 +37974,7 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
37966
37974
  children,
37967
37975
  label
37968
37976
  } = valueNode ?? {};
37969
- return /* @__PURE__ */ jsxRuntime.jsx(SelectValueContainer, { children: /* @__PURE__ */ jsxRuntime.jsx(IconWrapper$3, { icon, iconDir, children: label ?? children ?? value }) });
37977
+ return /* @__PURE__ */ jsxRuntime.jsx(SelectValueContainer, { children: /* @__PURE__ */ jsxRuntime.jsx(IconWrapper$3, { icon, iconDir, gap: "xxs", children: label ?? children ?? value }) });
37970
37978
  };
37971
37979
  const useOption = () => {
37972
37980
  const result = React.useContext(OptionContext);
@@ -38225,14 +38233,11 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
38225
38233
  options: itemList = [],
38226
38234
  ...groupProps
38227
38235
  } = props2;
38228
- return /* @__PURE__ */ jsxRuntime.jsx(SelectGroup, { ...groupProps, children: itemList.map(({
38229
- label: label2,
38230
- ...itemProps
38231
- }, itemIndex) => {
38236
+ return /* @__PURE__ */ jsxRuntime.jsx(SelectGroup, { ...groupProps, children: itemList.map((itemProps, itemIndex) => {
38232
38237
  if (checkbox) {
38233
- return /* @__PURE__ */ jsxRuntime.jsx(MultiSelectCheckboxItem, { ...itemProps, children: label2 }, `select-${id}-group-${index2}-item-${itemIndex}`);
38238
+ return /* @__PURE__ */ jsxRuntime.jsx(MultiSelectCheckboxItem, { ...itemProps }, `select-${id}-group-${index2}-item-${itemIndex}`);
38234
38239
  }
38235
- return /* @__PURE__ */ jsxRuntime.jsx(SelectItem, { ...itemProps, children: label2 }, `select-${id}-group-${index2}-item-${itemIndex}`);
38240
+ return /* @__PURE__ */ jsxRuntime.jsx(SelectItem, { ...itemProps }, `select-${id}-group-${index2}-item-${itemIndex}`);
38236
38241
  }) }, `select-${id}-group-${index2}`);
38237
38242
  } else {
38238
38243
  if (checkbox) {
@@ -38279,6 +38284,7 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
38279
38284
  disabled = false,
38280
38285
  children,
38281
38286
  label,
38287
+ description,
38282
38288
  separator,
38283
38289
  onSelect: onSelectProp,
38284
38290
  value = "",
@@ -38316,7 +38322,10 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
38316
38322
  const isChecked = selectedValues.includes(value);
38317
38323
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
38318
38324
  /* @__PURE__ */ jsxRuntime.jsxs(GenericMenuItem, { ...props, "data-value": value, onClick: onSelectValue, onMouseOver, ref: forwardedRef, "data-state": isChecked ? "checked" : "unchecked", "data-disabled": disabled ? true : void 0, "data-highlighted": highlighted == value ? "true" : void 0, "cui-select-item": "", children: [
38319
- /* @__PURE__ */ jsxRuntime.jsx(IconWrapper$3, { icon, iconDir, children: label ?? children }),
38325
+ /* @__PURE__ */ jsxRuntime.jsx(IconWrapper$3, { icon, iconDir, gap: "xxs", children: label ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
38326
+ label,
38327
+ description && /* @__PURE__ */ jsxRuntime.jsx(SelectItemDescription, { children: description })
38328
+ ] }) : children }),
38320
38329
  /* @__PURE__ */ jsxRuntime.jsx(CheckIcon$1, { as: SvgImage, name: "check", size: "sm", $showCheck: isChecked })
38321
38330
  ] }),
38322
38331
  separator && /* @__PURE__ */ jsxRuntime.jsx(Separator, { size: "sm" })
@@ -38329,6 +38338,7 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
38329
38338
  icon,
38330
38339
  iconDir = "end",
38331
38340
  label,
38341
+ description,
38332
38342
  onMouseOver: onMouseOverProp,
38333
38343
  onSelect: onSelectProp,
38334
38344
  separator,
@@ -38343,7 +38353,7 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
38343
38353
  selectedValues,
38344
38354
  onSelect
38345
38355
  } = useOption();
38346
- const handleSelect = (evt) => {
38356
+ const handleMenuItemClick = (evt) => {
38347
38357
  if (!disabled) {
38348
38358
  onSelect(value, void 0, evt);
38349
38359
  if (typeof onSelectProp === "function") {
@@ -38351,15 +38361,6 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
38351
38361
  }
38352
38362
  }
38353
38363
  };
38354
- const handleMenuItemClick = (evt) => {
38355
- if (evt.target !== evt.currentTarget) {
38356
- return;
38357
- }
38358
- handleSelect(evt);
38359
- };
38360
- const handleCheckboxClick = (evt) => {
38361
- handleSelect(evt);
38362
- };
38363
38364
  const handleMenuItemMouseOver = (e) => {
38364
38365
  if (onMouseOverProp) {
38365
38366
  onMouseOverProp(e);
@@ -38373,27 +38374,24 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
38373
38374
  }
38374
38375
  const isChecked = selectedValues.includes(value);
38375
38376
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
38376
- /* @__PURE__ */ jsxRuntime.jsxs(GenericMenuItem, { ...props, "data-value": value, onClick: handleMenuItemClick, onMouseOver: handleMenuItemMouseOver, ref: forwardedRef, "data-disabled": disabled ? true : void 0, "data-highlighted": highlighted == value ? "true" : void 0, "data-testid": `multi-select-checkbox-${value}`, "cui-select-item": "", children: [
38377
- icon && iconDir === "start" && /* @__PURE__ */ jsxRuntime.jsx(Checkbox, { checked: isChecked, "data-testid": "multi-select-checkbox", disabled, label: label ? /* @__PURE__ */ jsxRuntime.jsxs("div", { style: {
38378
- display: "flex",
38379
- justifyContent: "center"
38380
- }, children: [
38381
- /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: icon, size: "sm" }),
38382
- label
38383
- ] }) : /* @__PURE__ */ jsxRuntime.jsxs("div", { style: {
38384
- display: "flex",
38385
- justifyContent: "center"
38386
- }, children: [
38387
- /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: icon, size: "sm" }),
38388
- children
38389
- ] }), onClick: handleCheckboxClick, variant: variant ?? "default" }),
38390
- icon && iconDir === "end" && /* @__PURE__ */ jsxRuntime.jsx(IconWrapper$3, { icon, iconDir: "end", children: /* @__PURE__ */ jsxRuntime.jsx(Checkbox, { checked: isChecked, "data-testid": "multi-select-checkbox", disabled, label: label ?? children, onClick: handleCheckboxClick, variant: variant ?? "default" }) }),
38391
- !icon && /* @__PURE__ */ jsxRuntime.jsx(Checkbox, { checked: isChecked, "data-testid": "multi-select-checkbox", disabled, label: label ?? children, onClick: handleCheckboxClick, variant: variant ?? "default" })
38392
- ] }),
38377
+ /* @__PURE__ */ jsxRuntime.jsx(GenericMenuItem, { ...props, "data-value": value, onClick: handleMenuItemClick, onMouseOver: handleMenuItemMouseOver, ref: forwardedRef, "data-disabled": disabled ? true : void 0, "data-highlighted": highlighted == value ? "true" : void 0, "data-testid": `multi-select-checkbox-${value}`, "cui-select-item": "", children: /* @__PURE__ */ jsxRuntime.jsxs(Container, { orientation: "horizontal", gap: "xs", children: [
38378
+ /* @__PURE__ */ jsxRuntime.jsx(Checkbox, { checked: isChecked, "data-testid": "multi-select-checkbox", disabled, variant: variant ?? "default" }),
38379
+ /* @__PURE__ */ jsxRuntime.jsx(IconWrapper$3, { icon, iconDir, gap: "xxs", children: label ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
38380
+ label,
38381
+ description && /* @__PURE__ */ jsxRuntime.jsx(SelectItemDescription, { children: description })
38382
+ ] }) : children })
38383
+ ] }) }),
38393
38384
  separator && /* @__PURE__ */ jsxRuntime.jsx(Separator, { size: "sm" })
38394
38385
  ] });
38395
38386
  });
38396
38387
  MultiSelectCheckboxItem.displayName = "Select.Item";
38388
+ const SelectItemDescription = React.forwardRef(({
38389
+ children,
38390
+ ...props
38391
+ }) => {
38392
+ return /* @__PURE__ */ jsxRuntime.jsx(Text, { component: SelectItemDescriptionText, color: "muted", ...props, children });
38393
+ });
38394
+ SelectItemDescription.displayName = "Select.ItemDescription";
38397
38395
  const Select = ({
38398
38396
  value: valueProp,
38399
38397
  defaultValue,
@@ -38441,6 +38439,7 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
38441
38439
  };
38442
38440
  Select.Group = SelectGroup;
38443
38441
  Select.Item = SelectItem;
38442
+ Select.ItemDescription = SelectItemDescription;
38444
38443
  const MultiSelect = ({
38445
38444
  value: valueProp,
38446
38445
  defaultValue,
@@ -38486,6 +38485,7 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
38486
38485
  };
38487
38486
  MultiSelect.Group = SelectGroup;
38488
38487
  MultiSelect.Item = SelectItem;
38488
+ MultiSelect.ItemDescription = SelectItemDescription;
38489
38489
  const CheckboxMultiSelect = ({
38490
38490
  value: valueProp,
38491
38491
  defaultValue,
@@ -38532,6 +38532,7 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
38532
38532
  };
38533
38533
  CheckboxMultiSelect.Group = SelectGroup;
38534
38534
  CheckboxMultiSelect.Item = MultiSelectCheckboxItem;
38535
+ CheckboxMultiSelect.ItemDescription = SelectItemDescription;
38535
38536
  const $89eedd556c436f6a$var$DEFAULT_ORIENTATION = "horizontal";
38536
38537
  const $89eedd556c436f6a$var$ORIENTATIONS = [
38537
38538
  "horizontal",
@@ -41264,7 +41265,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
41264
41265
  `);
41265
41266
  const ToastDescriptionContainer = styled.styled.div.withConfig({
41266
41267
  componentId: "sc-tmc8vl-3"
41267
- })(["display:flex;justify-content:space-between;width:100%;align-items:flex-end;gap:inherit;", ""], ({
41268
+ })(["display:flex;flex-direction:column;justify-content:space-between;width:100%;align-items:flex-end;gap:inherit;", ""], ({
41268
41269
  theme: theme2
41269
41270
  }) => `
41270
41271
  font: ${theme2.click.toast.typography.title.default};
@@ -41308,7 +41309,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
41308
41309
  actions.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(ToastDescriptionContent, { children: actions.map(({
41309
41310
  altText,
41310
41311
  ...btnProps
41311
- }) => /* @__PURE__ */ jsxRuntime.jsx($054eb8030ebde76e$export$e19cd5f9376f8cee, { altText, children: /* @__PURE__ */ jsxRuntime.jsx(Button, { ...btnProps }) })) })
41312
+ }) => /* @__PURE__ */ jsxRuntime.jsx($054eb8030ebde76e$export$e19cd5f9376f8cee, { altText, asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(Button, { ...btnProps }) }) }, altText)) })
41312
41313
  ] })
41313
41314
  ] });
41314
41315
  };
@@ -41333,13 +41334,21 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
41333
41334
  align = "end",
41334
41335
  ...props
41335
41336
  }) => {
41336
- const [toasts, setToasts] = React.useState(/* @__PURE__ */ new Map());
41337
+ const [toasts, setToasts] = React.useState({
41338
+ start: /* @__PURE__ */ new Map(),
41339
+ end: /* @__PURE__ */ new Map()
41340
+ });
41337
41341
  React.useEffect(() => {
41338
41342
  const listener = (toast) => {
41339
41343
  setToasts((currentToasts) => {
41340
- const newMap = new Map(currentToasts);
41341
- newMap.set((toast == null ? void 0 : toast.id) ?? String(Date.now()), toast);
41342
- return newMap;
41344
+ const alignment = toast.align ?? "end";
41345
+ const newToasts = {
41346
+ ...currentToasts
41347
+ };
41348
+ const map2 = new Map(newToasts[alignment]);
41349
+ map2.set((toast == null ? void 0 : toast.id) ?? String(Date.now()), toast);
41350
+ newToasts[alignment] = map2;
41351
+ return newToasts;
41343
41352
  });
41344
41353
  };
41345
41354
  toastsEventEmitter.on(listener);
@@ -41348,28 +41357,36 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
41348
41357
  const onClose = (id) => (open2) => {
41349
41358
  if (!open2) {
41350
41359
  setToasts((currentToasts) => {
41351
- const newMap = new Map(currentToasts);
41352
- newMap.delete(id);
41353
- return newMap;
41360
+ const newToasts = {
41361
+ ...currentToasts
41362
+ };
41363
+ const map2 = new Map(newToasts[align]);
41364
+ map2.delete(id);
41365
+ newToasts[align] = map2;
41366
+ return newToasts;
41354
41367
  });
41355
41368
  }
41356
41369
  };
41357
41370
  const value = {
41358
- createToast: (toast) => {
41371
+ createToast: (toast, toastAlign = align) => {
41359
41372
  setToasts((currentToasts) => {
41360
- const newMap = new Map(currentToasts);
41361
- newMap.set((toast == null ? void 0 : toast.id) ?? String(Date.now()), toast);
41362
- return newMap;
41373
+ const newToasts = {
41374
+ ...currentToasts
41375
+ };
41376
+ const map2 = new Map(newToasts[toastAlign]);
41377
+ map2.set((toast == null ? void 0 : toast.id) ?? String(Date.now()), toast);
41378
+ newToasts[toastAlign] = map2;
41379
+ return newToasts;
41363
41380
  });
41364
41381
  }
41365
41382
  };
41366
41383
  return /* @__PURE__ */ jsxRuntime.jsxs($054eb8030ebde76e$export$2881499e37b75b9a, { swipeDirection: align === "start" ? "left" : "right", ...props, children: [
41367
41384
  /* @__PURE__ */ jsxRuntime.jsxs(ToastContext.Provider, { value, children: [
41368
41385
  children,
41369
- Array.from(toasts).map(([id, toast]) => /* @__PURE__ */ jsxRuntime.jsx(Toast, { ...toast, onClose: onClose(id) }, id))
41386
+ Array.from(toasts[align]).map(([id, toast]) => /* @__PURE__ */ jsxRuntime.jsx(Toast, { ...toast, onClose: onClose(id) }, id))
41370
41387
  ] }),
41371
41388
  /* @__PURE__ */ jsxRuntime.jsx(Viewport, { $align: align })
41372
- ] });
41389
+ ] }, `toast-provider-${align}`);
41373
41390
  };
41374
41391
  function listCacheClear$1() {
41375
41392
  this.__data__ = [];
@@ -50901,6 +50918,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
50901
50918
  exports2.TextAreaField = TextAreaField;
50902
50919
  exports2.TextField = TextField;
50903
50920
  exports2.Title = Title$2;
50921
+ exports2.Toast = Toast;
50904
50922
  exports2.ToastProvider = ToastProvider;
50905
50923
  exports2.Tooltip = Tooltip;
50906
50924
  exports2.VerticalStepper = VerticalStepper;
@@ -144,6 +144,7 @@ export declare const ICONS_MAP: {
144
144
  support: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
145
145
  table: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
146
146
  taxi: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
147
+ "text-slash": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
147
148
  trash: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
148
149
  "tree-structure": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
149
150
  underline: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;