@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.
@@ -1287,7 +1287,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
1287
1287
  /* @__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" }),
1288
1288
  /* @__PURE__ */ jsxRuntime.jsx("path", { stroke: "#161517", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "m13.75 10.25-6 6" })
1289
1289
  ] });
1290
- 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" }) });
1290
+ 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" }) });
1291
1291
  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: [
1292
1292
  /* @__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" }),
1293
1293
  /* @__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" })
@@ -1655,7 +1655,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
1655
1655
  /* @__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" }),
1656
1656
  /* @__PURE__ */ jsxRuntime.jsx("path", { stroke: "#161517", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "m9.93 6.028.521 2.954-2.954.52" })
1657
1657
  ] });
1658
- 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" }) });
1658
+ 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" }) });
1659
1659
  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: [
1660
1660
  /* @__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" }),
1661
1661
  /* @__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" })
@@ -1701,20 +1701,20 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
1701
1701
  ] });
1702
1702
  };
1703
1703
  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: [
1704
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8.99902 6.43673H20.0036", stroke: "#161517", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
1705
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M20.0036 12.0002H8.99902", stroke: "#161517", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
1706
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8.99902 17.5632H20.0036", stroke: "#161517", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
1707
- /* @__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" }),
1708
- /* @__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" }),
1709
- /* @__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" })
1704
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8.99902 6.43673H20.0036", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
1705
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M20.0036 12.0002H8.99902", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
1706
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8.99902 17.5632H20.0036", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
1707
+ /* @__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" }),
1708
+ /* @__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" }),
1709
+ /* @__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" })
1710
1710
  ] });
1711
1711
  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: [
1712
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M11 4H20", stroke: "#161517", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
1713
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M11.1504 9H20.0004", stroke: "#161517", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
1714
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M6.5 9H4H5.25V4L4 5.25", stroke: "#161517", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
1715
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M11 15H20", stroke: "#161517", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
1716
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M11.1504 20H20.0004", stroke: "#161517", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
1717
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4 15H6.5V17L4 18.5V20H6.75", stroke: "#161517", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })
1712
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M11 4H20", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
1713
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M11.1504 9H20.0004", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
1714
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M6.5 9H4H5.25V4L4 5.25", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
1715
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M11 15H20", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
1716
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M11.1504 20H20.0004", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
1717
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4 15H6.5V17L4 18.5V20H6.75", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
1718
1718
  ] });
1719
1719
  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: [
1720
1720
  /* @__PURE__ */ jsxRuntime.jsx("path", { stroke: "#161517", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.25, d: "M7.625 8.875H4.5V5.75" }),
@@ -1923,6 +1923,17 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
1923
1923
  /* @__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" }) }),
1924
1924
  /* @__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)" })
1925
1925
  ] });
1926
+ 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: [
1927
+ /* @__PURE__ */ jsxRuntime.jsxs("g", { "clip-path": "url(#clip0_12066_12491)", children: [
1928
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4.5 3.75L19.5 20.25", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
1929
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M9 18.75H15", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
1930
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 12V18.75", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
1931
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 5.25V7.54031", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
1932
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M9.91797 5.25H18.7502V8.25", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
1933
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M5.25 8.25V5.25H5.86406", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
1934
+ ] }),
1935
+ /* @__PURE__ */ jsxRuntime.jsx("defs", { children: /* @__PURE__ */ jsxRuntime.jsx("clipPath", { id: "clip0_12066_12491", children: /* @__PURE__ */ jsxRuntime.jsx("rect", { width: "24", height: "24", fill: "white" }) }) })
1936
+ ] });
1926
1937
  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" }) });
1927
1938
  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: [
1928
1939
  /* @__PURE__ */ jsxRuntime.jsxs("g", { clipPath: "url(#clip0_7969_2214)", children: [
@@ -1935,8 +1946,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
1935
1946
  /* @__PURE__ */ jsxRuntime.jsx("defs", { children: /* @__PURE__ */ jsxRuntime.jsx("clipPath", { id: "clip0_7969_2214", children: /* @__PURE__ */ jsxRuntime.jsx("rect", { width: "24", height: "24", fill: "white" }) }) })
1936
1947
  ] });
1937
1948
  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: [
1938
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M6 20H18", stroke: "#161517", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
1939
- /* @__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" })
1949
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M6 20H18", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
1950
+ /* @__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" })
1940
1951
  ] });
1941
1952
  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: [
1942
1953
  /* @__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" }) }),
@@ -2107,6 +2118,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
2107
2118
  support: Support,
2108
2119
  table: Table$1,
2109
2120
  taxi: Taxi,
2121
+ "text-slash": TextSlash,
2110
2122
  trash: Trash,
2111
2123
  "tree-structure": TreeStructure,
2112
2124
  underline: Underline,
@@ -8963,6 +8975,80 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
8963
8975
  const PopoverArrow = (props) => {
8964
8976
  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" }) });
8965
8977
  };
8978
+ const _Container = ({
8979
+ component,
8980
+ alignItems,
8981
+ children,
8982
+ fillWidth = true,
8983
+ gap = "none",
8984
+ grow,
8985
+ shrink,
8986
+ isResponsive,
8987
+ justifyContent = "start",
8988
+ maxWidth,
8989
+ minWidth,
8990
+ orientation = "horizontal",
8991
+ padding = "none",
8992
+ wrap = "nowrap",
8993
+ fillHeight,
8994
+ maxHeight,
8995
+ minHeight,
8996
+ overflow,
8997
+ ...props
8998
+ }, ref) => {
8999
+ 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 });
9000
+ };
9001
+ const Wrapper$d = pt.div.withConfig({
9002
+ componentId: "sc-bcplth-0"
9003
+ })(["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:", ";}"], ({
9004
+ $grow,
9005
+ $shrink
9006
+ }) => `
9007
+ ${$grow && `flex: ${$grow}`};
9008
+ ${$shrink && `flex-shrink: ${$shrink}`};
9009
+ `, ({
9010
+ $fillHeight,
9011
+ $maxHeight,
9012
+ $minHeight
9013
+ }) => `
9014
+ ${$fillHeight && "height: 100%"};
9015
+ ${$maxHeight && `max-height: ${$maxHeight}`};
9016
+ ${$minHeight && `min-height: ${$minHeight}`};
9017
+ `, ({
9018
+ $overflow
9019
+ }) => `
9020
+ ${$overflow && `overflow: ${$overflow}`};
9021
+ `, ({
9022
+ $wrap = "nowrap"
9023
+ }) => $wrap, ({
9024
+ theme: theme2,
9025
+ $gapSize
9026
+ }) => theme2.click.container.gap[$gapSize], ({
9027
+ $maxWidth
9028
+ }) => $maxWidth ?? "none", ({
9029
+ $minWidth
9030
+ }) => $minWidth ?? "auto", ({
9031
+ theme: theme2,
9032
+ $paddingSize
9033
+ }) => theme2.click.container.space[$paddingSize], ({
9034
+ $fillWidth = true
9035
+ }) => $fillWidth === true ? "100%" : "auto", ({
9036
+ $orientation = "horizontal"
9037
+ }) => $orientation === "horizontal" ? "row" : "column", ({
9038
+ $alignItems = "center"
9039
+ }) => $alignItems, ({
9040
+ $justifyContent = "left"
9041
+ }) => $justifyContent === "start" ? "start" : `${$justifyContent}`, ({
9042
+ theme: theme2
9043
+ }) => theme2.breakpoint.sizes.md, ({
9044
+ $isResponsive = true,
9045
+ $fillWidth = true
9046
+ }) => $isResponsive === true ? "100%" : $fillWidth === true ? "100%" : "auto", ({
9047
+ $isResponsive = true
9048
+ }) => $isResponsive === true ? "none" : "auto", ({
9049
+ $isResponsive = true
9050
+ }) => $isResponsive === true ? "column" : "auto");
9051
+ const Container = React.forwardRef(_Container);
8966
9052
  const mergeRefs = (refs) => (value) => {
8967
9053
  refs.forEach((ref) => {
8968
9054
  if (typeof ref === "function") {
@@ -8986,14 +9072,6 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
8986
9072
  }]), ...props });
8987
9073
  };
8988
9074
  const EllipsisContent = React.forwardRef(_EllipsisContent);
8989
- const LabelContainer$1 = pt.div.withConfig({
8990
- componentId: "sc-1likhxd-0"
8991
- })(["display:grid;grid-template-columns:", ";align-items:center;justify-content:flex-start;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;gap:", ";"], ({
8992
- $hasIcon,
8993
- $iconDir
8994
- }) => `${$hasIcon && $iconDir === "start" ? "auto " : ""}1fr${$hasIcon && $iconDir === "end" ? " auto" : ""}`, ({
8995
- theme: theme2
8996
- }) => theme2.click.sidebar.navigation.item.default.space.gap);
8997
9075
  const IconWrapper$3 = ({
8998
9076
  icon,
8999
9077
  iconDir = "start",
@@ -9002,10 +9080,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
9002
9080
  height,
9003
9081
  children,
9004
9082
  ellipsisContent = true,
9083
+ gap = "sm",
9005
9084
  ...props
9006
9085
  }) => {
9007
9086
  const TextWrapper2 = ellipsisContent ? EllipsisContent : "div";
9008
- return /* @__PURE__ */ jsxRuntime.jsxs(LabelContainer$1, { $hasIcon: typeof icon === "string", $iconDir: iconDir, ...props, children: [
9087
+ return /* @__PURE__ */ jsxRuntime.jsxs(Container, { orientation: "horizontal", gap, ...props, children: [
9009
9088
  icon && iconDir === "start" && /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: icon, size: size2, width, height }),
9010
9089
  /* @__PURE__ */ jsxRuntime.jsx(TextWrapper2, { "data-testid": `${ellipsisContent ? "ellipsed" : "normal"}-icon-wrapper-text`, children }),
9011
9090
  icon && iconDir === "end" && /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: icon, size: size2, width, height })
@@ -9564,7 +9643,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
9564
9643
  ...delegated
9565
9644
  }) => {
9566
9645
  const [isVisible, setIsVisible] = React.useState(true);
9567
- return isVisible ? /* @__PURE__ */ jsxRuntime.jsxs(Wrapper$d, { $size: size2, $state: state, $type: type, "data-testid": "click-alert", ...delegated, children: [
9646
+ return isVisible ? /* @__PURE__ */ jsxRuntime.jsxs(Wrapper$c, { $size: size2, $state: state, $type: type, "data-testid": "click-alert", ...delegated, children: [
9568
9647
  dismissible && type === "banner" && /* @__PURE__ */ jsxRuntime.jsx(DismissWrapper$1, {}),
9569
9648
  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] }) }),
9570
9649
  /* @__PURE__ */ jsxRuntime.jsxs(TextWrapper, { $state: state, $size: size2, children: [
@@ -9574,7 +9653,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
9574
9653
  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" }) })
9575
9654
  ] }) : null;
9576
9655
  };
9577
- const Wrapper$d = pt.div.withConfig({
9656
+ const Wrapper$c = pt.div.withConfig({
9578
9657
  componentId: "sc-1wvczk0-0"
9579
9658
  })(["display:flex;border-radius:", ";justify-content:", ";overflow:hidden;background-color:", ";color:", ";width:100%;"], ({
9580
9659
  $type,
@@ -10428,7 +10507,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
10428
10507
  font: ${theme2.click.avatar.typography.label[$textSize].hover};
10429
10508
  }
10430
10509
  `);
10431
- const Wrapper$c = pt.div.withConfig({
10510
+ const Wrapper$b = pt.div.withConfig({
10432
10511
  componentId: "sc-471xo0-0"
10433
10512
  })(["display:inline-flex;", ""], ({
10434
10513
  $state = "default",
@@ -10485,7 +10564,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
10485
10564
  onClose,
10486
10565
  ellipsisContent = true,
10487
10566
  ...props
10488
- }) => /* @__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: [
10567
+ }) => /* @__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: [
10489
10568
  /* @__PURE__ */ jsxRuntime.jsx(BadgeContent, { as: IconWrapper$3, icon, iconDir, size: size2, $state: state, ellipsisContent, children: text2 }),
10490
10569
  dismissible && /* @__PURE__ */ jsxRuntime.jsx(SvgContainer, { name: "cross", $state: state, as: SvgImage, onClick: onClose, "aria-label": "close" })
10491
10570
  ] }) });
@@ -10500,11 +10579,11 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
10500
10579
  state = "default",
10501
10580
  title = "Title",
10502
10581
  ...props
10503
- }) => /* @__PURE__ */ jsxRuntime.jsxs(Wrapper$b, { $height: height, $order: order, $size: size2, $spacing: spacing, $state: state, $fillWidth: fillWidth, $maxWidth: maxWidth, ...props, children: [
10582
+ }) => /* @__PURE__ */ jsxRuntime.jsxs(Wrapper$a, { $height: height, $order: order, $size: size2, $spacing: spacing, $state: state, $fillWidth: fillWidth, $maxWidth: maxWidth, ...props, children: [
10504
10583
  /* @__PURE__ */ jsxRuntime.jsx(Label, { $state: state, $size: size2, children: label }),
10505
10584
  /* @__PURE__ */ jsxRuntime.jsx(Title$3, { $state: state, $size: size2, children: title })
10506
10585
  ] });
10507
- const Wrapper$b = pt.div.withConfig({
10586
+ const Wrapper$a = pt.div.withConfig({
10508
10587
  componentId: "sc-u5029o-0"
10509
10588
  })(["display:flex;justify-content:center;box-sizing:border-box;", ""], ({
10510
10589
  $fillWidth = false,
@@ -10731,7 +10810,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
10731
10810
  })(["display:flex;flex-direction:column;align-self:start;gap:", ";flex:1;width:100%;"], ({
10732
10811
  theme: theme2
10733
10812
  }) => theme2.click.card.horizontal.space.gap);
10734
- const Wrapper$a = pt.div.withConfig({
10813
+ const Wrapper$9 = pt.div.withConfig({
10735
10814
  componentId: "sc-1qnbjoa-2"
10736
10815
  })(["display:inline-flex;width:100%;max-width:100%;align-items:center;justify-content:flex-start;", ""], ({
10737
10816
  theme: theme2,
@@ -10837,7 +10916,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
10837
10916
  window.open(infoUrl, "_blank");
10838
10917
  }
10839
10918
  };
10840
- 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: [
10919
+ 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: [
10841
10920
  /* @__PURE__ */ jsxRuntime.jsxs(IconTextContentWrapper, { children: [
10842
10921
  icon && /* @__PURE__ */ jsxRuntime.jsx(CardIcon$1, { name: icon, "aria-hidden": true }),
10843
10922
  /* @__PURE__ */ jsxRuntime.jsxs(Container, { padding: "none", orientation: "vertical", children: [
@@ -10905,80 +10984,6 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
10905
10984
  }) => $fillWidth && "width: 100%");
10906
10985
  _Text.displayName = "Text";
10907
10986
  const Text = React.forwardRef(_Text);
10908
- const _Container = ({
10909
- component,
10910
- alignItems,
10911
- children,
10912
- fillWidth = true,
10913
- gap = "none",
10914
- grow,
10915
- shrink,
10916
- isResponsive,
10917
- justifyContent = "start",
10918
- maxWidth,
10919
- minWidth,
10920
- orientation = "horizontal",
10921
- padding = "none",
10922
- wrap = "nowrap",
10923
- fillHeight,
10924
- maxHeight,
10925
- minHeight,
10926
- overflow,
10927
- ...props
10928
- }, ref) => {
10929
- 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 });
10930
- };
10931
- const Wrapper$9 = pt.div.withConfig({
10932
- componentId: "sc-bcplth-0"
10933
- })(["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:", ";}"], ({
10934
- $grow,
10935
- $shrink
10936
- }) => `
10937
- ${$grow && `flex: ${$grow}`};
10938
- ${$shrink && `flex-shrink: ${$shrink}`};
10939
- `, ({
10940
- $fillHeight,
10941
- $maxHeight,
10942
- $minHeight
10943
- }) => `
10944
- ${$fillHeight && "height: 100%"};
10945
- ${$maxHeight && `max-height: ${$maxHeight}`};
10946
- ${$minHeight && `min-height: ${$minHeight}`};
10947
- `, ({
10948
- $overflow
10949
- }) => `
10950
- ${$overflow && `overflow: ${$overflow}`};
10951
- `, ({
10952
- $wrap = "nowrap"
10953
- }) => $wrap, ({
10954
- theme: theme2,
10955
- $gapSize
10956
- }) => theme2.click.container.gap[$gapSize], ({
10957
- $maxWidth
10958
- }) => $maxWidth ?? "none", ({
10959
- $minWidth
10960
- }) => $minWidth ?? "auto", ({
10961
- theme: theme2,
10962
- $paddingSize
10963
- }) => theme2.click.container.space[$paddingSize], ({
10964
- $fillWidth = true
10965
- }) => $fillWidth === true ? "100%" : "auto", ({
10966
- $orientation = "horizontal"
10967
- }) => $orientation === "horizontal" ? "row" : "column", ({
10968
- $alignItems = "center"
10969
- }) => $alignItems, ({
10970
- $justifyContent = "left"
10971
- }) => $justifyContent === "start" ? "start" : `${$justifyContent}`, ({
10972
- theme: theme2
10973
- }) => theme2.breakpoint.sizes.md, ({
10974
- $isResponsive = true,
10975
- $fillWidth = true
10976
- }) => $isResponsive === true ? "100%" : $fillWidth === true ? "100%" : "auto", ({
10977
- $isResponsive = true
10978
- }) => $isResponsive === true ? "none" : "auto", ({
10979
- $isResponsive = true
10980
- }) => $isResponsive === true ? "column" : "auto");
10981
- const Container = React.forwardRef(_Container);
10982
10987
  const TopBadgeWrapper = pt(Container).withConfig({
10983
10988
  componentId: "sc-1d5pqpo-0"
10984
10989
  })(["position:relative;"]);
@@ -35850,6 +35855,9 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
35850
35855
  color: ${theme2.click.genericMenu.button.color.label.default};
35851
35856
  cursor: ${$clickable ? "pointer" : "default"}
35852
35857
  `);
35858
+ const SelectItemDescriptionText = pt.div.withConfig({
35859
+ componentId: "sc-oudbwg-14"
35860
+ })(["white-space:normal;[data-disabled] &,[disabled] &{color:inherit;}", " &{display:none;}"], StyledSelectTrigger);
35853
35861
  const OptionContext = React.createContext({
35854
35862
  search: "",
35855
35863
  selectedValues: [],
@@ -39135,7 +39143,7 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
39135
39143
  children,
39136
39144
  label
39137
39145
  } = valueNode ?? {};
39138
- return /* @__PURE__ */ jsxRuntime.jsx(SelectValueContainer, { children: /* @__PURE__ */ jsxRuntime.jsx(IconWrapper$3, { icon, iconDir, children: label ?? children ?? value }) });
39146
+ return /* @__PURE__ */ jsxRuntime.jsx(SelectValueContainer, { children: /* @__PURE__ */ jsxRuntime.jsx(IconWrapper$3, { icon, iconDir, gap: "xxs", children: label ?? children ?? value }) });
39139
39147
  };
39140
39148
  const useOption = () => {
39141
39149
  const result = React.useContext(OptionContext);
@@ -39394,14 +39402,11 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
39394
39402
  options: itemList = [],
39395
39403
  ...groupProps
39396
39404
  } = props2;
39397
- return /* @__PURE__ */ jsxRuntime.jsx(SelectGroup, { ...groupProps, children: itemList.map(({
39398
- label: label2,
39399
- ...itemProps
39400
- }, itemIndex) => {
39405
+ return /* @__PURE__ */ jsxRuntime.jsx(SelectGroup, { ...groupProps, children: itemList.map((itemProps, itemIndex) => {
39401
39406
  if (checkbox) {
39402
- return /* @__PURE__ */ jsxRuntime.jsx(MultiSelectCheckboxItem, { ...itemProps, children: label2 }, `select-${id}-group-${index2}-item-${itemIndex}`);
39407
+ return /* @__PURE__ */ jsxRuntime.jsx(MultiSelectCheckboxItem, { ...itemProps }, `select-${id}-group-${index2}-item-${itemIndex}`);
39403
39408
  }
39404
- return /* @__PURE__ */ jsxRuntime.jsx(SelectItem, { ...itemProps, children: label2 }, `select-${id}-group-${index2}-item-${itemIndex}`);
39409
+ return /* @__PURE__ */ jsxRuntime.jsx(SelectItem, { ...itemProps }, `select-${id}-group-${index2}-item-${itemIndex}`);
39405
39410
  }) }, `select-${id}-group-${index2}`);
39406
39411
  } else {
39407
39412
  if (checkbox) {
@@ -39448,6 +39453,7 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
39448
39453
  disabled = false,
39449
39454
  children,
39450
39455
  label,
39456
+ description,
39451
39457
  separator,
39452
39458
  onSelect: onSelectProp,
39453
39459
  value = "",
@@ -39485,7 +39491,10 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
39485
39491
  const isChecked = selectedValues.includes(value);
39486
39492
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
39487
39493
  /* @__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: [
39488
- /* @__PURE__ */ jsxRuntime.jsx(IconWrapper$3, { icon, iconDir, children: label ?? children }),
39494
+ /* @__PURE__ */ jsxRuntime.jsx(IconWrapper$3, { icon, iconDir, gap: "xxs", children: label ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
39495
+ label,
39496
+ description && /* @__PURE__ */ jsxRuntime.jsx(SelectItemDescription, { children: description })
39497
+ ] }) : children }),
39489
39498
  /* @__PURE__ */ jsxRuntime.jsx(CheckIcon$1, { as: SvgImage, name: "check", size: "sm", $showCheck: isChecked })
39490
39499
  ] }),
39491
39500
  separator && /* @__PURE__ */ jsxRuntime.jsx(Separator, { size: "sm" })
@@ -39498,6 +39507,7 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
39498
39507
  icon,
39499
39508
  iconDir = "end",
39500
39509
  label,
39510
+ description,
39501
39511
  onMouseOver: onMouseOverProp,
39502
39512
  onSelect: onSelectProp,
39503
39513
  separator,
@@ -39512,7 +39522,7 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
39512
39522
  selectedValues,
39513
39523
  onSelect
39514
39524
  } = useOption();
39515
- const handleSelect = (evt) => {
39525
+ const handleMenuItemClick = (evt) => {
39516
39526
  if (!disabled) {
39517
39527
  onSelect(value, void 0, evt);
39518
39528
  if (typeof onSelectProp === "function") {
@@ -39520,15 +39530,6 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
39520
39530
  }
39521
39531
  }
39522
39532
  };
39523
- const handleMenuItemClick = (evt) => {
39524
- if (evt.target !== evt.currentTarget) {
39525
- return;
39526
- }
39527
- handleSelect(evt);
39528
- };
39529
- const handleCheckboxClick = (evt) => {
39530
- handleSelect(evt);
39531
- };
39532
39533
  const handleMenuItemMouseOver = (e) => {
39533
39534
  if (onMouseOverProp) {
39534
39535
  onMouseOverProp(e);
@@ -39542,27 +39543,24 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
39542
39543
  }
39543
39544
  const isChecked = selectedValues.includes(value);
39544
39545
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
39545
- /* @__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: [
39546
- icon && iconDir === "start" && /* @__PURE__ */ jsxRuntime.jsx(Checkbox, { checked: isChecked, "data-testid": "multi-select-checkbox", disabled, label: label ? /* @__PURE__ */ jsxRuntime.jsxs("div", { style: {
39547
- display: "flex",
39548
- justifyContent: "center"
39549
- }, children: [
39550
- /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: icon, size: "sm" }),
39551
- label
39552
- ] }) : /* @__PURE__ */ jsxRuntime.jsxs("div", { style: {
39553
- display: "flex",
39554
- justifyContent: "center"
39555
- }, children: [
39556
- /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: icon, size: "sm" }),
39557
- children
39558
- ] }), onClick: handleCheckboxClick, variant: variant ?? "default" }),
39559
- 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" }) }),
39560
- !icon && /* @__PURE__ */ jsxRuntime.jsx(Checkbox, { checked: isChecked, "data-testid": "multi-select-checkbox", disabled, label: label ?? children, onClick: handleCheckboxClick, variant: variant ?? "default" })
39561
- ] }),
39546
+ /* @__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: [
39547
+ /* @__PURE__ */ jsxRuntime.jsx(Checkbox, { checked: isChecked, "data-testid": "multi-select-checkbox", disabled, variant: variant ?? "default" }),
39548
+ /* @__PURE__ */ jsxRuntime.jsx(IconWrapper$3, { icon, iconDir, gap: "xxs", children: label ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
39549
+ label,
39550
+ description && /* @__PURE__ */ jsxRuntime.jsx(SelectItemDescription, { children: description })
39551
+ ] }) : children })
39552
+ ] }) }),
39562
39553
  separator && /* @__PURE__ */ jsxRuntime.jsx(Separator, { size: "sm" })
39563
39554
  ] });
39564
39555
  });
39565
39556
  MultiSelectCheckboxItem.displayName = "Select.Item";
39557
+ const SelectItemDescription = React.forwardRef(({
39558
+ children,
39559
+ ...props
39560
+ }) => {
39561
+ return /* @__PURE__ */ jsxRuntime.jsx(Text, { component: SelectItemDescriptionText, color: "muted", ...props, children });
39562
+ });
39563
+ SelectItemDescription.displayName = "Select.ItemDescription";
39566
39564
  const Select = ({
39567
39565
  value: valueProp,
39568
39566
  defaultValue,
@@ -39610,6 +39608,7 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
39610
39608
  };
39611
39609
  Select.Group = SelectGroup;
39612
39610
  Select.Item = SelectItem;
39611
+ Select.ItemDescription = SelectItemDescription;
39613
39612
  const MultiSelect = ({
39614
39613
  value: valueProp,
39615
39614
  defaultValue,
@@ -39655,6 +39654,7 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
39655
39654
  };
39656
39655
  MultiSelect.Group = SelectGroup;
39657
39656
  MultiSelect.Item = SelectItem;
39657
+ MultiSelect.ItemDescription = SelectItemDescription;
39658
39658
  const CheckboxMultiSelect = ({
39659
39659
  value: valueProp,
39660
39660
  defaultValue,
@@ -39701,6 +39701,7 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
39701
39701
  };
39702
39702
  CheckboxMultiSelect.Group = SelectGroup;
39703
39703
  CheckboxMultiSelect.Item = MultiSelectCheckboxItem;
39704
+ CheckboxMultiSelect.ItemDescription = SelectItemDescription;
39704
39705
  const $89eedd556c436f6a$var$DEFAULT_ORIENTATION = "horizontal";
39705
39706
  const $89eedd556c436f6a$var$ORIENTATIONS = [
39706
39707
  "horizontal",
@@ -42433,7 +42434,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
42433
42434
  `);
42434
42435
  const ToastDescriptionContainer = pt.div.withConfig({
42435
42436
  componentId: "sc-tmc8vl-3"
42436
- })(["display:flex;justify-content:space-between;width:100%;align-items:flex-end;gap:inherit;", ""], ({
42437
+ })(["display:flex;flex-direction:column;justify-content:space-between;width:100%;align-items:flex-end;gap:inherit;", ""], ({
42437
42438
  theme: theme2
42438
42439
  }) => `
42439
42440
  font: ${theme2.click.toast.typography.title.default};
@@ -42477,7 +42478,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
42477
42478
  actions.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(ToastDescriptionContent, { children: actions.map(({
42478
42479
  altText,
42479
42480
  ...btnProps
42480
- }) => /* @__PURE__ */ jsxRuntime.jsx($054eb8030ebde76e$export$e19cd5f9376f8cee, { altText, children: /* @__PURE__ */ jsxRuntime.jsx(Button, { ...btnProps }) })) })
42481
+ }) => /* @__PURE__ */ jsxRuntime.jsx($054eb8030ebde76e$export$e19cd5f9376f8cee, { altText, asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(Button, { ...btnProps }) }) }, altText)) })
42481
42482
  ] })
42482
42483
  ] });
42483
42484
  };
@@ -42502,13 +42503,21 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
42502
42503
  align = "end",
42503
42504
  ...props
42504
42505
  }) => {
42505
- const [toasts, setToasts] = React.useState(/* @__PURE__ */ new Map());
42506
+ const [toasts, setToasts] = React.useState({
42507
+ start: /* @__PURE__ */ new Map(),
42508
+ end: /* @__PURE__ */ new Map()
42509
+ });
42506
42510
  React.useEffect(() => {
42507
42511
  const listener = (toast) => {
42508
42512
  setToasts((currentToasts) => {
42509
- const newMap = new Map(currentToasts);
42510
- newMap.set((toast == null ? void 0 : toast.id) ?? String(Date.now()), toast);
42511
- return newMap;
42513
+ const alignment = toast.align ?? "end";
42514
+ const newToasts = {
42515
+ ...currentToasts
42516
+ };
42517
+ const map2 = new Map(newToasts[alignment]);
42518
+ map2.set((toast == null ? void 0 : toast.id) ?? String(Date.now()), toast);
42519
+ newToasts[alignment] = map2;
42520
+ return newToasts;
42512
42521
  });
42513
42522
  };
42514
42523
  toastsEventEmitter.on(listener);
@@ -42517,28 +42526,36 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
42517
42526
  const onClose = (id) => (open2) => {
42518
42527
  if (!open2) {
42519
42528
  setToasts((currentToasts) => {
42520
- const newMap = new Map(currentToasts);
42521
- newMap.delete(id);
42522
- return newMap;
42529
+ const newToasts = {
42530
+ ...currentToasts
42531
+ };
42532
+ const map2 = new Map(newToasts[align]);
42533
+ map2.delete(id);
42534
+ newToasts[align] = map2;
42535
+ return newToasts;
42523
42536
  });
42524
42537
  }
42525
42538
  };
42526
42539
  const value = {
42527
- createToast: (toast) => {
42540
+ createToast: (toast, toastAlign = align) => {
42528
42541
  setToasts((currentToasts) => {
42529
- const newMap = new Map(currentToasts);
42530
- newMap.set((toast == null ? void 0 : toast.id) ?? String(Date.now()), toast);
42531
- return newMap;
42542
+ const newToasts = {
42543
+ ...currentToasts
42544
+ };
42545
+ const map2 = new Map(newToasts[toastAlign]);
42546
+ map2.set((toast == null ? void 0 : toast.id) ?? String(Date.now()), toast);
42547
+ newToasts[toastAlign] = map2;
42548
+ return newToasts;
42532
42549
  });
42533
42550
  }
42534
42551
  };
42535
42552
  return /* @__PURE__ */ jsxRuntime.jsxs($054eb8030ebde76e$export$2881499e37b75b9a, { swipeDirection: align === "start" ? "left" : "right", ...props, children: [
42536
42553
  /* @__PURE__ */ jsxRuntime.jsxs(ToastContext.Provider, { value, children: [
42537
42554
  children,
42538
- Array.from(toasts).map(([id, toast]) => /* @__PURE__ */ jsxRuntime.jsx(Toast, { ...toast, onClose: onClose(id) }, id))
42555
+ Array.from(toasts[align]).map(([id, toast]) => /* @__PURE__ */ jsxRuntime.jsx(Toast, { ...toast, onClose: onClose(id) }, id))
42539
42556
  ] }),
42540
42557
  /* @__PURE__ */ jsxRuntime.jsx(Viewport, { $align: align })
42541
- ] });
42558
+ ] }, `toast-provider-${align}`);
42542
42559
  };
42543
42560
  function listCacheClear$1() {
42544
42561
  this.__data__ = [];
@@ -52070,6 +52087,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
52070
52087
  exports2.TextAreaField = TextAreaField;
52071
52088
  exports2.TextField = TextField;
52072
52089
  exports2.Title = Title$2;
52090
+ exports2.Toast = Toast;
52073
52091
  exports2.ToastProvider = ToastProvider;
52074
52092
  exports2.Tooltip = Tooltip;
52075
52093
  exports2.VerticalStepper = VerticalStepper;