@clickhouse/click-ui 0.0.190 → 0.0.191

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.
@@ -66,6 +66,38 @@ const InfoInCircleIcon = (props) => /* @__PURE__ */ jsxs("svg", { width: "24", h
66
66
  /* @__PURE__ */ jsx("path", { stroke: "#161517", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M12 12v5" })
67
67
  ] });
68
68
  const CheckIcon$3 = (props) => /* @__PURE__ */ jsx("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: /* @__PURE__ */ jsx("path", { d: "M20 6.5L9 17.5L4 12.5", stroke: "#161517", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) });
69
+ const ChartArea = (props) => /* @__PURE__ */ jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
70
+ /* @__PURE__ */ jsx("path", { d: "M21.5 19.75C21.5 19.9489 21.421 20.1397 21.2803 20.2803C21.1397 20.421 20.9489 20.5 20.75 20.5H2.75C2.55109 20.5 2.36032 20.421 2.21967 20.2803C2.07902 20.1397 2 19.9489 2 19.75V4.75C2 4.55109 2.07902 4.36032 2.21967 4.21967C2.36032 4.07902 2.55109 4 2.75 4C2.94891 4 3.13968 4.07902 3.28033 4.21967C3.42098 4.36032 3.5 4.55109 3.5 4.75V13.5972L8.25594 9.4375C8.38536 9.32421 8.54978 9.25885 8.72165 9.25236C8.89353 9.24587 9.06241 9.29866 9.2 9.40188L14.7134 13.5372L20.2559 8.6875C20.3286 8.61556 20.4152 8.55925 20.5105 8.52201C20.6057 8.48478 20.7075 8.46741 20.8097 8.47097C20.9119 8.47454 21.0123 8.49896 21.1047 8.54275C21.1971 8.58653 21.2796 8.64875 21.3471 8.72557C21.4146 8.8024 21.4656 8.89222 21.4971 8.9895C21.5286 9.08678 21.5399 9.18948 21.5302 9.29128C21.5206 9.39307 21.4902 9.49182 21.441 9.58146C21.3918 9.67109 21.3248 9.74972 21.2441 9.8125L15.2441 15.0625C15.1146 15.1758 14.9502 15.2412 14.7783 15.2476C14.6065 15.2541 14.4376 15.2013 14.3 15.0981L8.78656 10.9647L3.5 15.5903V19H20.75C20.9489 19 21.1397 19.079 21.2803 19.2197C21.421 19.3603 21.5 19.5511 21.5 19.75Z", fill: "white" }),
71
+ /* @__PURE__ */ jsx("path", { d: "M8.75 6.75L8.9319 6.02239L8.78057 5.98456L8.6267 6.0102L8.75 6.75ZM14.75 8.25L14.5681 8.97761L14.8373 9.0449L15.0854 8.92082L14.75 8.25ZM21.0854 5.92082C21.4559 5.73558 21.6061 5.28507 21.4208 4.91459C21.2356 4.54411 20.7851 4.39394 20.4146 4.57918L21.0854 5.92082ZM2.8733 8.4898L8.8733 7.4898L8.6267 6.0102L2.6267 7.0102L2.8733 8.4898ZM8.5681 7.47761L14.5681 8.97761L14.9319 7.52239L8.9319 6.02239L8.5681 7.47761ZM15.0854 8.92082L21.0854 5.92082L20.4146 4.57918L14.4146 7.57918L15.0854 8.92082Z", fill: "white" })
72
+ ] });
73
+ const ChartBarHorizontal = (props) => /* @__PURE__ */ jsx("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: /* @__PURE__ */ jsx("path", { d: "M20.25 9H16.5V5.25C16.5 5.05109 16.421 4.86032 16.2803 4.71967C16.1397 4.57902 15.9489 4.5 15.75 4.5H4.5V3.75C4.5 3.55109 4.42098 3.36032 4.28033 3.21967C4.13968 3.07902 3.94891 3 3.75 3C3.55109 3 3.36032 3.07902 3.21967 3.21967C3.07902 3.36032 3 3.55109 3 3.75V20.25C3 20.4489 3.07902 20.6397 3.21967 20.7803C3.36032 20.921 3.55109 21 3.75 21C3.94891 21 4.13968 20.921 4.28033 20.7803C4.42098 20.6397 4.5 20.4489 4.5 20.25V19.5H12.75C12.9489 19.5 13.1397 19.421 13.2803 19.2803C13.421 19.1397 13.5 18.9489 13.5 18.75V15H20.25C20.4489 15 20.6397 14.921 20.7803 14.7803C20.921 14.6397 21 14.4489 21 14.25V9.75C21 9.55109 20.921 9.36032 20.7803 9.21967C20.6397 9.07902 20.4489 9 20.25 9ZM15 6V9H4.5V6H15ZM12 18H4.5V15H12V18ZM19.5 13.5H4.5V10.5H19.5V13.5Z", fill: "white" }) });
74
+ const ChartDonut = (props) => /* @__PURE__ */ jsx("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: /* @__PURE__ */ jsx("path", { d: "M12.0003 2.25C11.8014 2.25 11.6106 2.32902 11.47 2.46967C11.3293 2.61032 11.2503 2.80109 11.2503 3V8.25C11.2503 8.44891 11.3293 8.63968 11.47 8.78033C11.6106 8.92098 11.8014 9 12.0003 9C12.6607 9.00015 13.3025 9.21819 13.8264 9.6203C14.3502 10.0224 14.7267 10.5861 14.8975 11.224C15.0683 11.8619 15.0239 12.5384 14.7711 13.1484C14.5183 13.7585 14.0713 14.2681 13.4993 14.5982C12.9274 14.9284 12.2625 15.0606 11.6078 14.9743C10.9531 14.888 10.3451 14.5882 9.87818 14.1212C9.41125 13.6542 9.11145 13.0462 9.02527 12.3915C8.93909 11.7368 9.07135 11.0719 9.40154 10.5C9.4508 10.4147 9.48278 10.3205 9.49564 10.2228C9.50849 10.1252 9.50198 10.0259 9.47647 9.93075C9.45097 9.83559 9.40696 9.7464 9.34697 9.66825C9.28698 9.59011 9.21218 9.52454 9.12685 9.47531L4.57998 6.85031C4.49466 6.80105 4.40048 6.76907 4.30281 6.75622C4.20513 6.74336 4.10588 6.74987 4.01073 6.77538C3.91557 6.80089 3.82637 6.84489 3.74823 6.90488C3.67008 6.96487 3.60452 7.03967 3.55529 7.125C2.48216 8.98371 2.05232 11.1446 2.33243 13.2725C2.61254 15.4004 3.58694 17.3764 5.10452 18.8941C6.62211 20.4117 8.59806 21.3863 10.7259 21.6665C12.8538 21.9468 15.0147 21.5171 16.8735 20.4441C18.7323 19.3711 20.1851 17.7147 21.0066 15.7319C21.8281 13.7491 21.9723 11.5506 21.4171 9.47742C20.8618 7.40424 19.6379 5.57222 17.9353 4.26547C16.2327 2.95872 14.1465 2.25028 12.0003 2.25ZM4.50873 8.54062L7.78154 10.4306C7.5953 10.9329 7.50006 11.4643 7.50029 12C7.50029 12.1434 7.50779 12.2812 7.52091 12.4237L3.87029 13.4062C3.5856 11.7571 3.80823 10.0605 4.50873 8.54062ZM4.25841 14.8509L7.91466 13.8722C8.22035 14.5385 8.68389 15.1203 9.26512 15.5671C9.84635 16.0139 10.5278 16.3122 11.2503 16.4363V20.2153C9.69763 20.0714 8.2173 19.4914 6.98016 18.5422C5.74301 17.593 4.79946 16.3134 4.25841 14.8509ZM12.7503 20.2153V16.4363C13.7984 16.2586 14.7498 15.7156 15.4359 14.9035C16.1219 14.0914 16.4983 13.0626 16.4983 11.9995C16.4983 10.9364 16.1219 9.90768 15.4359 9.09557C14.7498 8.28347 13.7984 7.74047 12.7503 7.56281V3.78375C14.7998 3.97101 16.7054 4.91756 18.0929 6.43761C19.4804 7.95767 20.2497 9.94144 20.2497 11.9995C20.2497 14.0576 19.4804 16.0414 18.0929 17.5614C16.7054 19.0815 14.7998 20.0281 12.7503 20.2153Z", fill: "white" }) });
75
+ const ChartHeatmap = (props) => /* @__PURE__ */ jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
76
+ /* @__PURE__ */ jsx("path", { d: "M21.5 19.75C21.5 19.9489 21.421 20.1397 21.2803 20.2803C21.1397 20.421 20.9489 20.5 20.75 20.5H2.75C2.55109 20.5 2.36032 20.421 2.21967 20.2803C2.07902 20.1397 2 19.9489 2 19.75V4.75C2 4.55109 2.07902 4.36032 2.21967 4.21967C2.36032 4.07902 2.55109 4 2.75 4C2.94891 4 3.13968 4.07902 3.28033 4.21967C3.42098 4.36032 3.5 4.55109 3.5 4.75V19H20.75C20.9489 19 21.1397 19.079 21.2803 19.2197C21.421 19.3603 21.5 19.5511 21.5 19.75Z", fill: "white" }),
77
+ /* @__PURE__ */ jsx("circle", { cx: "10.5", cy: "11.5", r: "2.5", fill: "white" }),
78
+ /* @__PURE__ */ jsx("circle", { cx: "16", cy: "15", r: "2", fill: "white" }),
79
+ /* @__PURE__ */ jsx("circle", { cx: "7", cy: "7", r: "1", fill: "white" }),
80
+ /* @__PURE__ */ jsx("circle", { cx: "14", cy: "8", r: "4", fill: "white" })
81
+ ] });
82
+ const ChartScatter = (props) => /* @__PURE__ */ jsx("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: /* @__PURE__ */ jsx("path", { d: "M21.5 19.75C21.5 19.9489 21.421 20.1397 21.2803 20.2803C21.1397 20.421 20.9489 20.5 20.75 20.5H2.75C2.55109 20.5 2.36032 20.421 2.21967 20.2803C2.07902 20.1397 2 19.9489 2 19.75V4.75C2 4.55109 2.07902 4.36032 2.21967 4.21967C2.36032 4.07902 2.55109 4 2.75 4C2.94891 4 3.13968 4.07902 3.28033 4.21967C3.42098 4.36032 3.5 4.55109 3.5 4.75V19H20.75C20.9489 19 21.1397 19.079 21.2803 19.2197C21.421 19.3603 21.5 19.5511 21.5 19.75ZM12.125 15.25C12.3475 15.25 12.565 15.184 12.75 15.0604C12.935 14.9368 13.0792 14.7611 13.1644 14.5555C13.2495 14.35 13.2718 14.1238 13.2284 13.9055C13.185 13.6873 13.0778 13.4868 12.9205 13.3295C12.7632 13.1722 12.5627 13.065 12.3445 13.0216C12.1262 12.9782 11.9 13.0005 11.6945 13.0856C11.4889 13.1708 11.3132 13.315 11.1896 13.5C11.066 13.685 11 13.9025 11 14.125C11 14.4234 11.1185 14.7095 11.3295 14.9205C11.5405 15.1315 11.8266 15.25 12.125 15.25ZM9.875 10C10.0975 10 10.315 9.93402 10.5 9.8104C10.685 9.68679 10.8292 9.51109 10.9144 9.30552C10.9995 9.09995 11.0218 8.87375 10.9784 8.65552C10.935 8.43729 10.8278 8.23684 10.6705 8.0795C10.5132 7.92217 10.3127 7.81502 10.0945 7.77162C9.87625 7.72821 9.65005 7.75049 9.44448 7.83564C9.23891 7.92078 9.06321 8.06498 8.9396 8.24998C8.81598 8.43499 8.75 8.6525 8.75 8.875C8.75 9.17337 8.86853 9.45952 9.0795 9.6705C9.29048 9.88147 9.57663 10 9.875 10ZM6.875 16.75C7.0975 16.75 7.31501 16.684 7.50002 16.5604C7.68502 16.4368 7.82922 16.2611 7.91436 16.0555C7.99951 15.85 8.02179 15.6238 7.97838 15.4055C7.93498 15.1873 7.82783 14.9868 7.6705 14.8295C7.51316 14.6722 7.31271 14.565 7.09448 14.5216C6.87625 14.4782 6.65005 14.5005 6.44448 14.5856C6.23891 14.6708 6.06321 14.815 5.9396 15C5.81598 15.185 5.75 15.4025 5.75 15.625C5.75 15.9234 5.86853 16.2095 6.0795 16.4205C6.29048 16.6315 6.57663 16.75 6.875 16.75ZM15.875 12.25C16.0975 12.25 16.315 12.184 16.5 12.0604C16.685 11.9368 16.8292 11.7611 16.9144 11.5555C16.9995 11.35 17.0218 11.1238 16.9784 10.9055C16.935 10.6873 16.8278 10.4868 16.6705 10.3295C16.5132 10.1722 16.3127 10.065 16.0945 10.0216C15.8762 9.97821 15.65 10.0005 15.4445 10.0856C15.2389 10.1708 15.0632 10.315 14.9396 10.5C14.816 10.685 14.75 10.9025 14.75 11.125C14.75 11.4234 14.8685 11.7095 15.0795 11.9205C15.2905 12.1315 15.5766 12.25 15.875 12.25ZM18.125 8.5C18.3475 8.5 18.565 8.43402 18.75 8.3104C18.935 8.18679 19.0792 8.01109 19.1644 7.80552C19.2495 7.59995 19.2718 7.37375 19.2284 7.15552C19.185 6.93729 19.0778 6.73684 18.9205 6.5795C18.7632 6.42217 18.5627 6.31502 18.3445 6.27162C18.1262 6.22821 17.9 6.25049 17.6945 6.33564C17.4889 6.42078 17.3132 6.56498 17.1896 6.74998C17.066 6.93499 17 7.1525 17 7.375C17 7.67337 17.1185 7.95952 17.3295 8.1705C17.5405 8.38147 17.8266 8.5 18.125 8.5ZM16.25 15.625C16.25 15.8475 16.316 16.065 16.4396 16.25C16.5632 16.435 16.7389 16.5792 16.9445 16.6644C17.15 16.7495 17.3762 16.7718 17.5945 16.7284C17.8127 16.685 18.0132 16.5778 18.1705 16.4205C18.3278 16.2632 18.435 16.0627 18.4784 15.8445C18.5218 15.6262 18.4995 15.4 18.4144 15.1945C18.3292 14.9889 18.185 14.8132 18 14.6896C17.815 14.566 17.5975 14.5 17.375 14.5C17.0766 14.5 16.7905 14.6185 16.5795 14.8295C16.3685 15.0405 16.25 15.3266 16.25 15.625Z", fill: "white" }) });
83
+ const ChartStackedHorizontal = (props) => /* @__PURE__ */ jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
84
+ /* @__PURE__ */ jsx("path", { d: "M3.5 3L3.5 21", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
85
+ /* @__PURE__ */ jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.5 14.333L15.5 14.333V18C15.5 18.552 15.052 19 14.5 19H3.5L3.5 14.333Z", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
86
+ /* @__PURE__ */ jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.5 14.3301H10.5V17.9994C10.5 18.5518 10.2387 19.0001 9.91667 19.0001H3.5L3.5 14.3301Z", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
87
+ /* @__PURE__ */ jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.5 9.66699L20.5 9.66699C21.052 9.66699 21.5 10.115 21.5 10.667V13.334C21.5 13.886 21.052 14.334 20.5 14.334H3.5L3.5 9.66699Z", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
88
+ /* @__PURE__ */ jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.5 9.66992H12C12.276 9.66992 12.5 10.1182 12.5 10.6706V13.3393C12.5 13.8916 12.276 14.3399 12 14.3399H3.5L3.5 9.66992Z", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
89
+ /* @__PURE__ */ jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.5 5L17.5 5C18.052 5 18.5 5.448 18.5 6V9.667H3.5L3.5 5Z", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
90
+ /* @__PURE__ */ jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.5 5L10.0333 5C10.2909 5 10.5 5.44829 10.5 6.00064V9.67H3.5L3.5 5Z", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
91
+ ] });
92
+ const ChartStackedVertical = (props) => /* @__PURE__ */ jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
93
+ /* @__PURE__ */ jsx("path", { d: "M3 21H21", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
94
+ /* @__PURE__ */ jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.333 21V9H18C18.552 9 19 9.448 19 10V21H14.333Z", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
95
+ /* @__PURE__ */ jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.3301 21V14H17.9994C18.5518 14 19.0001 14.2613 19.0001 14.5833V21H14.3301Z", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
96
+ /* @__PURE__ */ jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.66699 21L9.66699 4C9.66699 3.448 10.115 3 10.667 3H13.334C13.886 3 14.334 3.448 14.334 4V21H9.66699Z", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
97
+ /* @__PURE__ */ jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.66992 21V12.5C9.66992 12.224 10.1182 12 10.6706 12H13.3393C13.8916 12 14.3399 12.224 14.3399 12.5V21H9.66992Z", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
98
+ /* @__PURE__ */ jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5 21L5 7C5 6.448 5.448 6 6 6H9.667V21H5Z", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
99
+ /* @__PURE__ */ jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5 21V14.4667C5 14.2091 5.44829 14 6.00064 14H9.67V21H5Z", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
100
+ ] });
69
101
  const InformationIcon = (props) => /* @__PURE__ */ jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
70
102
  /* @__PURE__ */ jsx("path", { stroke: "#161517", strokeLinecap: "round", strokeLinejoin: "round", d: "M10.854 11.877h1.15v4.252M10.845 16.128h2.31" }),
71
103
  /* @__PURE__ */ jsx("path", { stroke: "#161517", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M11.946 7.872a.25.25 0 1 1-.25-.25" }),
@@ -718,6 +750,13 @@ const ICONS_MAP = {
718
750
  cards: Cards,
719
751
  "cell-tower": CellTower,
720
752
  chat: ChatIcon,
753
+ "chart-area": ChartArea,
754
+ "chart-bar-horizontal": ChartBarHorizontal,
755
+ "chart-donut": ChartDonut,
756
+ "chart-heatmap": ChartHeatmap,
757
+ "chart-scatter": ChartScatter,
758
+ "chart-stacked-horizontal": ChartStackedHorizontal,
759
+ "chart-stacked-vertical": ChartStackedVertical,
721
760
  check: CheckIcon$3,
722
761
  "check-in-circle": CheckInCircle,
723
762
  "chevron-down": ChevronDown,
@@ -7870,18 +7909,20 @@ const IconWrapper$3 = ({
7870
7909
  width,
7871
7910
  height,
7872
7911
  children,
7912
+ ellipsisContent = true,
7873
7913
  ...props
7874
7914
  }) => {
7915
+ const TextWrapper2 = ellipsisContent ? EllipsisContent : "div";
7875
7916
  return /* @__PURE__ */ jsxs(LabelContainer$1, { $hasIcon: typeof icon === "string", $iconDir: iconDir, ...props, children: [
7876
7917
  icon && iconDir === "start" && /* @__PURE__ */ jsx(SvgImage, { name: icon, size: size2, width, height }),
7877
- /* @__PURE__ */ jsx(EllipsisContent, { children }),
7918
+ /* @__PURE__ */ jsx(TextWrapper2, { "data-testid": `${ellipsisContent ? "ellipsed" : "normal"}-icon-wrapper-text`, children }),
7878
7919
  icon && iconDir === "end" && /* @__PURE__ */ jsx(SvgImage, { name: icon, size: size2, width, height })
7879
7920
  ] });
7880
7921
  };
7881
7922
  const Dropdown = (props) => /* @__PURE__ */ jsx($d08ef79370b62062$export$be92b6f5f03c0fe9, { ...props });
7882
7923
  const DropdownMenuItem = styled(GenericMenuItem).withConfig({
7883
7924
  componentId: "sc-18bhwbw-0"
7884
- })(['position:relative;display:flex;&[data-state="open"]{', "}"], ({
7925
+ })(['position:relative;display:flex;min-height:32px;&[data-state="open"]{', "}"], ({
7885
7926
  theme: theme2
7886
7927
  }) => `
7887
7928
  font: ${theme2.click.genericMenu.item.typography.label.hover};
@@ -7914,9 +7955,11 @@ DropdownTrigger.displayName = "DropdownTrigger";
7914
7955
  Dropdown.Trigger = DropdownTrigger;
7915
7956
  const DropdownMenuContent = styled(GenericMenuPanel).withConfig({
7916
7957
  componentId: "sc-18bhwbw-2"
7917
- })(["min-width:", ";flex-direction:column;z-index:1;"], ({
7958
+ })(["min-width:", ";flex-direction:column;z-index:1;overflow-y:scroll;max-height:calc( (var(--radix-", "-content-available-height) - 100px) );"], ({
7918
7959
  theme: theme2
7919
- }) => theme2.click.genericMenu.item.size.minWidth);
7960
+ }) => theme2.click.genericMenu.item.size.minWidth, ({
7961
+ $type
7962
+ }) => $type);
7920
7963
  const DropdownContent$1 = ({
7921
7964
  sub,
7922
7965
  children,
@@ -9373,9 +9416,10 @@ const Badge = ({
9373
9416
  type,
9374
9417
  dismissible,
9375
9418
  onClose,
9419
+ ellipsisContent = true,
9376
9420
  ...props
9377
- }) => /* @__PURE__ */ jsx(Wrapper$c, { $state: state, $size: size2, $type: type, ...props, children: /* @__PURE__ */ jsxs(Content$4, { children: [
9378
- /* @__PURE__ */ jsx(BadgeContent, { as: IconWrapper$3, icon, iconDir, size: size2, $state: state, children: text2 }),
9421
+ }) => /* @__PURE__ */ jsx(Wrapper$c, { $state: state, $size: size2, $type: type, ...props, children: /* @__PURE__ */ jsxs(Content$4, { "data-testid": `${ellipsisContent ? "ellipsed" : "normal"}-badge-content`, children: [
9422
+ /* @__PURE__ */ jsx(BadgeContent, { as: IconWrapper$3, icon, iconDir, size: size2, $state: state, ellipsisContent, children: text2 }),
9379
9423
  dismissible && /* @__PURE__ */ jsx(SvgContainer, { name: "cross", $state: state, as: SvgImage, onClick: onClose, "aria-label": "close" })
9380
9424
  ] }) });
9381
9425
  const BigStat = ({
@@ -17445,9 +17489,12 @@ const StyledCell = styled.div.withConfig({
17445
17489
  $selectionType,
17446
17490
  $height,
17447
17491
  $type = "body",
17448
- $showBorder
17492
+ $showBorder,
17493
+ $rowAutoHeight
17449
17494
  }) => `
17450
- height: ${$height}px;
17495
+ height: ${$rowAutoHeight ? "100%" : `${$height}px`};
17496
+ min-height: ${$rowAutoHeight ? "auto" : ""};
17497
+ overflow-y: ${$rowAutoHeight ? "auto" : ""};
17451
17498
  background: ${theme2.click.grid[$type].cell.color.background[$selectionType]};
17452
17499
  color: ${$type === "header" ? theme2.click.grid.header.cell.color.title[$selectionType] : theme2.click.grid.body.cell.color.text[$selectionType]};
17453
17500
  font: ${theme2.click.grid.cell.text.default};
@@ -17468,6 +17515,7 @@ const StyledCell = styled.div.withConfig({
17468
17515
  ${$isLastColumn ? `
17469
17516
  border-right-color: ${theme2.click.grid[$type].cell.color.stroke[$isFocused ? "selectDirect" : $selectionType]};
17470
17517
  ` : "border-right: none;"}
17518
+ ${$rowAutoHeight && "border: none;"}
17471
17519
  `, ({
17472
17520
  theme: theme2,
17473
17521
  $isLastRow,
@@ -17475,8 +17523,9 @@ const StyledCell = styled.div.withConfig({
17475
17523
  $selectionType,
17476
17524
  $type = "body",
17477
17525
  $isSelectedTop,
17478
- $isSelectedLeft
17479
- }) => $isSelectedTop || $isSelectedLeft || $selectionType === "selectDirect" && ($isLastRow || $isLastColumn) ? `
17526
+ $isSelectedLeft,
17527
+ $rowAutoHeight
17528
+ }) => $isSelectedTop || $isSelectedLeft || $selectionType === "selectDirect" && ($isLastRow || $isLastColumn) || $rowAutoHeight ? `
17480
17529
  &::before {
17481
17530
  content: "";
17482
17531
  position: absolute;
@@ -17488,6 +17537,7 @@ const StyledCell = styled.div.withConfig({
17488
17537
  ${$isSelectedLeft ? `border-left: 1px solid ${theme2.click.grid[$type].cell.color.stroke.selectDirect};` : ""}
17489
17538
  ${$selectionType === "selectDirect" && $isLastRow ? `border-bottom: 1px solid ${theme2.click.grid[$type].cell.color.stroke.selectDirect};` : ""}
17490
17539
  ${$selectionType === "selectDirect" && $isLastColumn ? `border-right: 1px solid ${theme2.click.grid[$type].cell.color.stroke.selectDirect};` : ""}
17540
+ ${$rowAutoHeight && "border: none;"}
17491
17541
  }
17492
17542
  ` : "");
17493
17543
  const RowNumberColumnContainer = styled.div.withConfig({
@@ -17498,7 +17548,7 @@ const RowNumberColumnContainer = styled.div.withConfig({
17498
17548
  }) => `
17499
17549
  top: ${$height}px;
17500
17550
  width: ${$width}px;
17501
- height: 100%;
17551
+ height: 100%
17502
17552
  `, ({
17503
17553
  $scrolledHorizontal,
17504
17554
  theme: theme2
@@ -17507,10 +17557,11 @@ const RowNumberCell = styled.div.withConfig({
17507
17557
  componentId: "sc-7gbi4d-1"
17508
17558
  })(["position:absolute;left:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;", ""], ({
17509
17559
  $height,
17510
- $rowNumber
17560
+ $rowNumber,
17561
+ $rowAutoHeight
17511
17562
  }) => `
17512
17563
  top: ${$height * $rowNumber}px;
17513
- height: ${$height}px;
17564
+ height: ${$rowAutoHeight ? "100%" : `${$height}px`};
17514
17565
  `);
17515
17566
  const RowNumber = ({
17516
17567
  rowIndex,
@@ -17519,7 +17570,8 @@ const RowNumber = ({
17519
17570
  isLastRow,
17520
17571
  isFirstRow,
17521
17572
  showBorder,
17522
- rowStart
17573
+ rowStart,
17574
+ rowAutoHeight
17523
17575
  }) => {
17524
17576
  const currentRowIndex = rowIndex + rowStart;
17525
17577
  const selectionType = getSelectionType({
@@ -17532,7 +17584,7 @@ const RowNumber = ({
17532
17584
  type: "row"
17533
17585
  });
17534
17586
  const isSelectedTop = (topSelectionType === "selectDirect" || isSelected) && topSelectionType !== selectionType;
17535
- return /* @__PURE__ */ jsx(RowNumberCell, { $rowNumber: rowIndex, $height: rowHeight, children: /* @__PURE__ */ jsx(StyledCell, { $height: rowHeight, $isLastColumn: false, $selectionType: selectionType, $isFirstColumn: true, $type: "header", $isFirstRow: isFirstRow, $isFocused: false, $isLastRow: isLastRow, $isSelectedLeft: isSelected, $isSelectedTop: isSelectedTop, "data-selected": isSelected, "data-grid-row": currentRowIndex, "data-grid-column": -1, "data-testid": `header-cell-${currentRowIndex}-x`, $showBorder: showBorder, "data-align": "right", children: currentRowIndex }) });
17587
+ return /* @__PURE__ */ jsx(RowNumberCell, { $rowNumber: rowIndex, $height: rowHeight, $rowAutoHeight: rowAutoHeight, children: /* @__PURE__ */ jsx(StyledCell, { $height: rowHeight, $isLastColumn: false, $selectionType: selectionType, $isFirstColumn: true, $type: "header", $isFirstRow: isFirstRow, $isFocused: false, $isLastRow: isLastRow, $isSelectedLeft: isSelected, $isSelectedTop: isSelectedTop, $rowAutoHeight: rowAutoHeight, "data-selected": isSelected, "data-grid-row": currentRowIndex, "data-grid-column": -1, "data-testid": `header-cell-${currentRowIndex}-x`, $showBorder: showBorder, "data-align": "right", children: currentRowIndex }) });
17536
17588
  };
17537
17589
  const RowNumberColumn = ({
17538
17590
  minRow,
@@ -17545,11 +17597,12 @@ const RowNumberColumn = ({
17545
17597
  showHeader,
17546
17598
  scrolledHorizontal,
17547
17599
  rowStart = 0,
17548
- showBorder
17600
+ showBorder,
17601
+ rowAutoHeight
17549
17602
  }) => {
17550
- return /* @__PURE__ */ jsx(RowNumberColumnContainer, { $height: headerHeight, $width: rowWidth, $scrolledHorizontal: scrolledHorizontal, children: Array.from({
17603
+ return /* @__PURE__ */ jsx(RowNumberColumnContainer, { $height: headerHeight, $width: rowWidth, $scrolledHorizontal: scrolledHorizontal, $rowAutoHeight: rowAutoHeight, children: Array.from({
17551
17604
  length: maxRow - minRow + 1
17552
- }, (_, index2) => minRow + index2).map((rowIndex) => /* @__PURE__ */ jsx(RowNumber, { getSelectionType, rowHeight, rowIndex, isLastRow: rowIndex === rowCount, isFirstRow: !showHeader && rowIndex === 0, showBorder, rowStart }, `row-number-${rowIndex}`)) });
17605
+ }, (_, index2) => minRow + index2).map((rowIndex) => /* @__PURE__ */ jsx(RowNumber, { getSelectionType, rowHeight, rowIndex, isLastRow: rowIndex === rowCount, isFirstRow: !showHeader && rowIndex === 0, showBorder, rowStart, rowAutoHeight }, `row-number-${rowIndex}`)) });
17553
17606
  };
17554
17607
  function isObject$a(value) {
17555
17608
  var type = typeof value;
@@ -17931,7 +17984,7 @@ const RowColumnContainer = styled(HeaderCellContainer).withConfig({
17931
17984
  }) => $scrolledHorizontal ? `box-shadow: 0px 0 0px 1px ${theme2.click.grid.header.cell.color.stroke.default};` : "");
17932
17985
  const RowColumn = styled(StyledCell).withConfig({
17933
17986
  componentId: "sc-1oadqc8-4"
17934
- })(["width:100%;text-align:right;"]);
17987
+ })(["width:100%;text-align:right;overflow:hidden;"]);
17935
17988
  const Column = ({
17936
17989
  columnIndex,
17937
17990
  cell,
@@ -18360,7 +18413,9 @@ const Cell = memo(({
18360
18413
  showRowNumber,
18361
18414
  showHeader,
18362
18415
  rowHeight,
18363
- rowStart
18416
+ rowStart,
18417
+ rowAutoHeight,
18418
+ updateRowHeight
18364
18419
  } = data;
18365
18420
  const currentRowIndex = rowIndex + rowStart;
18366
18421
  const {
@@ -18389,7 +18444,21 @@ const Cell = memo(({
18389
18444
  const belowSelectionBorder = (selectionType === "selectDirect" || belowSelection === "selectDirect") && selectionType !== belowSelection;
18390
18445
  const selectionBorderLeft = rightOfSelectionBorder || rightOfFocus || isFocused;
18391
18446
  const selectionBorderTop = belowSelectionBorder || belowFocus || isFocused;
18392
- return /* @__PURE__ */ jsx("div", { style, "data-row": currentRowIndex, "data-column": columnIndex, children: /* @__PURE__ */ jsx(StyledCell, { as: CellData, rowIndex: currentRowIndex, columnIndex, type: "row-cell", "data-selected": isFocused || selectionType === "selectDirect", "data-focused": isFocused, $isSelectedTop: selectionBorderTop, $isSelectedLeft: selectionBorderLeft, $isFocused: isFocused, $isLastRow: rowCount - 1 === rowIndex, $isLastColumn: columnCount - 1 === columnIndex, $isFirstColumn: columnIndex === 0 && !showRowNumber, $isFirstRow: rowIndex === 0 && !showHeader, $selectionType: selectionType, $height: rowHeight, "data-grid-row": currentRowIndex, "data-grid-column": columnIndex, $showBorder: true, ...props }) });
18447
+ const cellRef = useRef(null);
18448
+ useEffect(() => {
18449
+ if (!rowAutoHeight) {
18450
+ return;
18451
+ }
18452
+ if (cellRef.current) {
18453
+ const height = cellRef.current.getBoundingClientRect().height;
18454
+ updateRowHeight(rowIndex, height);
18455
+ }
18456
+ }, [updateRowHeight, rowIndex, rowAutoHeight]);
18457
+ const styleWithHeight = {
18458
+ ...style,
18459
+ height: "auto"
18460
+ };
18461
+ return /* @__PURE__ */ jsx("div", { style: styleWithHeight, "data-row": currentRowIndex, "data-column": columnIndex, ref: cellRef, children: /* @__PURE__ */ jsx(StyledCell, { as: CellData, rowIndex: currentRowIndex, columnIndex, type: "row-cell", "data-selected": isFocused || selectionType === "selectDirect", "data-focused": isFocused, $isSelectedTop: selectionBorderTop, $isSelectedLeft: selectionBorderLeft, $isFocused: isFocused, $isLastRow: rowCount - 1 === rowIndex, $isLastColumn: columnCount - 1 === columnIndex, $isFirstColumn: columnIndex === 0 && !showRowNumber, $isFirstRow: rowIndex === 0 && !showHeader, $selectionType: selectionType, $height: rowHeight, "data-grid-row": currentRowIndex, "data-grid-column": columnIndex, $showBorder: true, $rowAutoHeight: rowAutoHeight, ...props }) });
18393
18462
  }, areEqual);
18394
18463
  var reactDomServerLegacy_browser_production_min = {};
18395
18464
  /**
@@ -32599,6 +32668,7 @@ const Grid = forwardRef(({
32599
32668
  onContextMenu: onContextMenuProp,
32600
32669
  forwardedGridRef,
32601
32670
  onItemsRendered: onItemsRenderedProp,
32671
+ rowAutoHeight,
32602
32672
  ...props
32603
32673
  }, forwardedRef) => {
32604
32674
  const [focus, setFocus] = useState(focusProp ?? {
@@ -32642,6 +32712,25 @@ const Grid = forwardRef(({
32642
32712
  }
32643
32713
  }
32644
32714
  }, [cell, columnCount, focus, focusProp, rowCount, selection, showToast, onCopyCallback]);
32715
+ const rowHeightsRef = useRef(/* @__PURE__ */ new Map());
32716
+ const getRowHeight2 = useCallback((index2) => {
32717
+ if (rowAutoHeight && rowHeightsRef.current.get(index2)) {
32718
+ return rowHeightsRef.current.get(index2) + rowHeight;
32719
+ }
32720
+ return rowHeight;
32721
+ }, [rowHeight, rowAutoHeight]);
32722
+ const updateRowHeight = useCallback((rowIndex, height) => {
32723
+ if (!rowAutoHeight) {
32724
+ return;
32725
+ }
32726
+ const prevHeight = rowHeightsRef.current.get(rowIndex) ?? 0;
32727
+ if (height > prevHeight) {
32728
+ rowHeightsRef.current.set(rowIndex, height);
32729
+ if (gridRef.current) {
32730
+ gridRef.current.resetAfterRowIndex(rowIndex);
32731
+ }
32732
+ }
32733
+ }, [rowAutoHeight]);
32645
32734
  const customOnCopy = useMemo(() => {
32646
32735
  const result = async () => {
32647
32736
  if (onCopyProp) {
@@ -32805,7 +32894,10 @@ const Grid = forwardRef(({
32805
32894
  rowHeight,
32806
32895
  headerHeight,
32807
32896
  rowNumberWidth,
32808
- rowStart
32897
+ rowStart,
32898
+ rowAutoHeight,
32899
+ updateRowHeight,
32900
+ getRowHeight: getRowHeight2
32809
32901
  };
32810
32902
  const InnerElementType = forwardRef(({
32811
32903
  children,
@@ -32814,7 +32906,7 @@ const Grid = forwardRef(({
32814
32906
  const [minRow, maxRow, minColumn, maxColumn] = getRenderedCursor(children);
32815
32907
  return /* @__PURE__ */ jsxs(GridContainer, { ...containerProps, className: `sticky-grid__container grid-outer ${props.className ?? ""}`, children: [
32816
32908
  /* @__PURE__ */ jsx(GridDataContainer, { $top: showHeader ? headerHeight : 0, $left: showRowNumber ? rowNumberWidth : 0, ref, children }),
32817
- showRowNumber && /* @__PURE__ */ jsx(RowNumberColumn, { scrolledHorizontal, minRow, maxRow, rowHeight, headerHeight, rowWidth: rowNumberWidth, rowCount, getSelectionType, showHeader, rowStart, showBorder }),
32909
+ showRowNumber && /* @__PURE__ */ jsx(RowNumberColumn, { scrolledHorizontal, minRow, maxRow, rowHeight, headerHeight, rowWidth: rowNumberWidth, rowCount, getSelectionType, showHeader, rowStart, showBorder, rowAutoHeight }),
32818
32910
  showHeader && /* @__PURE__ */ jsx(Header, { scrolledVertical, scrolledHorizontal, showRowNumber, minColumn, maxColumn, height: headerHeight, getColumnWidth: columnWidth, cell, rowNumberWidth, getSelectionType, columnCount, onColumnResize, getColumnHorizontalPosition, getResizerPosition, showBorder, resizingState })
32819
32911
  ] });
32820
32912
  });
@@ -33067,11 +33159,16 @@ const Grid = forwardRef(({
33067
33159
  const width = columnWidth(args.columnIndex);
33068
33160
  return /* @__PURE__ */ jsx(Cell, { ...args, width });
33069
33161
  };
33162
+ useEffect(() => {
33163
+ if (gridRef.current) {
33164
+ gridRef.current.resetAfterRowIndex(0);
33165
+ }
33166
+ }, [rowCount, columnCount]);
33070
33167
  return /* @__PURE__ */ jsxs(ContextMenu, { modal: false, onOpenChange: setContextMenuOpen, children: [
33071
33168
  /* @__PURE__ */ jsx(ContextMenuTrigger, { as: ContextMenu.Trigger, ref: mergeRefs([forwardedRef, containerRef]), tabIndex: 0, onMouseDown, onMouseMove, onKeyDown, onPointerDown, onPointerUp, onPointerLeave: setPointerCapture, onPointerEnter: setPointerCapture, onContextMenu, $rounded: rounded, $height: autoHeight ? rowCount * rowHeight + (showHeader ? headerHeight : 0) + elementBorderRef.current.scrollBarHeight : void 0, $showBorder: showBorder, children: /* @__PURE__ */ jsx(AutoSizer, { onResize, children: ({
33072
33169
  height,
33073
33170
  width
33074
- }) => /* @__PURE__ */ jsx(VariableSizeGrid, { ref: forwardedGridRef ? mergeRefs([forwardedGridRef, gridRef]) : gridRef, height, width, columnCount, rowHeight: () => rowHeight, useIsScrolling, innerElementType: InnerElementType, itemData: data, initialScrollTop: focus.row < rowStart ? focus.row * rowHeight : (focus.row - rowStart) * rowHeight, initialScrollLeft: getColumnHorizontalPosition(focus.column), columnWidth, rowCount, onScroll, outerRef, outerElementType: OuterElementType, onItemsRendered, ...props, children: CellWithWidth }) }) }),
33171
+ }) => /* @__PURE__ */ jsx(VariableSizeGrid, { ref: forwardedGridRef ? mergeRefs([forwardedGridRef, gridRef]) : gridRef, height, width, columnCount, rowHeight: getRowHeight2, useIsScrolling, innerElementType: InnerElementType, itemData: data, initialScrollTop: focus.row < rowStart ? focus.row * rowHeight : (focus.row - rowStart) * rowHeight, initialScrollLeft: getColumnHorizontalPosition(focus.column), columnWidth, rowCount, onScroll, outerRef, outerElementType: OuterElementType, onItemsRendered, ...props, children: CellWithWidth }) }) }),
33075
33172
  /* @__PURE__ */ jsx(ContextMenu.Content, { children: menuOptions.map((option2, index2) => /* @__PURE__ */ jsx(ContextMenu.Item, { onSelect: option2.onSelect, children: option2.label }, `grid-${index2}`)) })
33076
33173
  ] });
33077
33174
  });
@@ -82,6 +82,38 @@ var __publicField = (obj, key, value) => {
82
82
  /* @__PURE__ */ jsxRuntime.jsx("path", { stroke: "#161517", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M12 12v5" })
83
83
  ] });
84
84
  const CheckIcon$3 = (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: "M20 6.5L9 17.5L4 12.5", stroke: "#161517", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) });
85
+ const ChartArea = (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: [
86
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21.5 19.75C21.5 19.9489 21.421 20.1397 21.2803 20.2803C21.1397 20.421 20.9489 20.5 20.75 20.5H2.75C2.55109 20.5 2.36032 20.421 2.21967 20.2803C2.07902 20.1397 2 19.9489 2 19.75V4.75C2 4.55109 2.07902 4.36032 2.21967 4.21967C2.36032 4.07902 2.55109 4 2.75 4C2.94891 4 3.13968 4.07902 3.28033 4.21967C3.42098 4.36032 3.5 4.55109 3.5 4.75V13.5972L8.25594 9.4375C8.38536 9.32421 8.54978 9.25885 8.72165 9.25236C8.89353 9.24587 9.06241 9.29866 9.2 9.40188L14.7134 13.5372L20.2559 8.6875C20.3286 8.61556 20.4152 8.55925 20.5105 8.52201C20.6057 8.48478 20.7075 8.46741 20.8097 8.47097C20.9119 8.47454 21.0123 8.49896 21.1047 8.54275C21.1971 8.58653 21.2796 8.64875 21.3471 8.72557C21.4146 8.8024 21.4656 8.89222 21.4971 8.9895C21.5286 9.08678 21.5399 9.18948 21.5302 9.29128C21.5206 9.39307 21.4902 9.49182 21.441 9.58146C21.3918 9.67109 21.3248 9.74972 21.2441 9.8125L15.2441 15.0625C15.1146 15.1758 14.9502 15.2412 14.7783 15.2476C14.6065 15.2541 14.4376 15.2013 14.3 15.0981L8.78656 10.9647L3.5 15.5903V19H20.75C20.9489 19 21.1397 19.079 21.2803 19.2197C21.421 19.3603 21.5 19.5511 21.5 19.75Z", fill: "white" }),
87
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8.75 6.75L8.9319 6.02239L8.78057 5.98456L8.6267 6.0102L8.75 6.75ZM14.75 8.25L14.5681 8.97761L14.8373 9.0449L15.0854 8.92082L14.75 8.25ZM21.0854 5.92082C21.4559 5.73558 21.6061 5.28507 21.4208 4.91459C21.2356 4.54411 20.7851 4.39394 20.4146 4.57918L21.0854 5.92082ZM2.8733 8.4898L8.8733 7.4898L8.6267 6.0102L2.6267 7.0102L2.8733 8.4898ZM8.5681 7.47761L14.5681 8.97761L14.9319 7.52239L8.9319 6.02239L8.5681 7.47761ZM15.0854 8.92082L21.0854 5.92082L20.4146 4.57918L14.4146 7.57918L15.0854 8.92082Z", fill: "white" })
88
+ ] });
89
+ const ChartBarHorizontal = (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: "M20.25 9H16.5V5.25C16.5 5.05109 16.421 4.86032 16.2803 4.71967C16.1397 4.57902 15.9489 4.5 15.75 4.5H4.5V3.75C4.5 3.55109 4.42098 3.36032 4.28033 3.21967C4.13968 3.07902 3.94891 3 3.75 3C3.55109 3 3.36032 3.07902 3.21967 3.21967C3.07902 3.36032 3 3.55109 3 3.75V20.25C3 20.4489 3.07902 20.6397 3.21967 20.7803C3.36032 20.921 3.55109 21 3.75 21C3.94891 21 4.13968 20.921 4.28033 20.7803C4.42098 20.6397 4.5 20.4489 4.5 20.25V19.5H12.75C12.9489 19.5 13.1397 19.421 13.2803 19.2803C13.421 19.1397 13.5 18.9489 13.5 18.75V15H20.25C20.4489 15 20.6397 14.921 20.7803 14.7803C20.921 14.6397 21 14.4489 21 14.25V9.75C21 9.55109 20.921 9.36032 20.7803 9.21967C20.6397 9.07902 20.4489 9 20.25 9ZM15 6V9H4.5V6H15ZM12 18H4.5V15H12V18ZM19.5 13.5H4.5V10.5H19.5V13.5Z", fill: "white" }) });
90
+ const ChartDonut = (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: "M12.0003 2.25C11.8014 2.25 11.6106 2.32902 11.47 2.46967C11.3293 2.61032 11.2503 2.80109 11.2503 3V8.25C11.2503 8.44891 11.3293 8.63968 11.47 8.78033C11.6106 8.92098 11.8014 9 12.0003 9C12.6607 9.00015 13.3025 9.21819 13.8264 9.6203C14.3502 10.0224 14.7267 10.5861 14.8975 11.224C15.0683 11.8619 15.0239 12.5384 14.7711 13.1484C14.5183 13.7585 14.0713 14.2681 13.4993 14.5982C12.9274 14.9284 12.2625 15.0606 11.6078 14.9743C10.9531 14.888 10.3451 14.5882 9.87818 14.1212C9.41125 13.6542 9.11145 13.0462 9.02527 12.3915C8.93909 11.7368 9.07135 11.0719 9.40154 10.5C9.4508 10.4147 9.48278 10.3205 9.49564 10.2228C9.50849 10.1252 9.50198 10.0259 9.47647 9.93075C9.45097 9.83559 9.40696 9.7464 9.34697 9.66825C9.28698 9.59011 9.21218 9.52454 9.12685 9.47531L4.57998 6.85031C4.49466 6.80105 4.40048 6.76907 4.30281 6.75622C4.20513 6.74336 4.10588 6.74987 4.01073 6.77538C3.91557 6.80089 3.82637 6.84489 3.74823 6.90488C3.67008 6.96487 3.60452 7.03967 3.55529 7.125C2.48216 8.98371 2.05232 11.1446 2.33243 13.2725C2.61254 15.4004 3.58694 17.3764 5.10452 18.8941C6.62211 20.4117 8.59806 21.3863 10.7259 21.6665C12.8538 21.9468 15.0147 21.5171 16.8735 20.4441C18.7323 19.3711 20.1851 17.7147 21.0066 15.7319C21.8281 13.7491 21.9723 11.5506 21.4171 9.47742C20.8618 7.40424 19.6379 5.57222 17.9353 4.26547C16.2327 2.95872 14.1465 2.25028 12.0003 2.25ZM4.50873 8.54062L7.78154 10.4306C7.5953 10.9329 7.50006 11.4643 7.50029 12C7.50029 12.1434 7.50779 12.2812 7.52091 12.4237L3.87029 13.4062C3.5856 11.7571 3.80823 10.0605 4.50873 8.54062ZM4.25841 14.8509L7.91466 13.8722C8.22035 14.5385 8.68389 15.1203 9.26512 15.5671C9.84635 16.0139 10.5278 16.3122 11.2503 16.4363V20.2153C9.69763 20.0714 8.2173 19.4914 6.98016 18.5422C5.74301 17.593 4.79946 16.3134 4.25841 14.8509ZM12.7503 20.2153V16.4363C13.7984 16.2586 14.7498 15.7156 15.4359 14.9035C16.1219 14.0914 16.4983 13.0626 16.4983 11.9995C16.4983 10.9364 16.1219 9.90768 15.4359 9.09557C14.7498 8.28347 13.7984 7.74047 12.7503 7.56281V3.78375C14.7998 3.97101 16.7054 4.91756 18.0929 6.43761C19.4804 7.95767 20.2497 9.94144 20.2497 11.9995C20.2497 14.0576 19.4804 16.0414 18.0929 17.5614C16.7054 19.0815 14.7998 20.0281 12.7503 20.2153Z", fill: "white" }) });
91
+ const ChartHeatmap = (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: [
92
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21.5 19.75C21.5 19.9489 21.421 20.1397 21.2803 20.2803C21.1397 20.421 20.9489 20.5 20.75 20.5H2.75C2.55109 20.5 2.36032 20.421 2.21967 20.2803C2.07902 20.1397 2 19.9489 2 19.75V4.75C2 4.55109 2.07902 4.36032 2.21967 4.21967C2.36032 4.07902 2.55109 4 2.75 4C2.94891 4 3.13968 4.07902 3.28033 4.21967C3.42098 4.36032 3.5 4.55109 3.5 4.75V19H20.75C20.9489 19 21.1397 19.079 21.2803 19.2197C21.421 19.3603 21.5 19.5511 21.5 19.75Z", fill: "white" }),
93
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "10.5", cy: "11.5", r: "2.5", fill: "white" }),
94
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "16", cy: "15", r: "2", fill: "white" }),
95
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "7", cy: "7", r: "1", fill: "white" }),
96
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "14", cy: "8", r: "4", fill: "white" })
97
+ ] });
98
+ const ChartScatter = (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: "M21.5 19.75C21.5 19.9489 21.421 20.1397 21.2803 20.2803C21.1397 20.421 20.9489 20.5 20.75 20.5H2.75C2.55109 20.5 2.36032 20.421 2.21967 20.2803C2.07902 20.1397 2 19.9489 2 19.75V4.75C2 4.55109 2.07902 4.36032 2.21967 4.21967C2.36032 4.07902 2.55109 4 2.75 4C2.94891 4 3.13968 4.07902 3.28033 4.21967C3.42098 4.36032 3.5 4.55109 3.5 4.75V19H20.75C20.9489 19 21.1397 19.079 21.2803 19.2197C21.421 19.3603 21.5 19.5511 21.5 19.75ZM12.125 15.25C12.3475 15.25 12.565 15.184 12.75 15.0604C12.935 14.9368 13.0792 14.7611 13.1644 14.5555C13.2495 14.35 13.2718 14.1238 13.2284 13.9055C13.185 13.6873 13.0778 13.4868 12.9205 13.3295C12.7632 13.1722 12.5627 13.065 12.3445 13.0216C12.1262 12.9782 11.9 13.0005 11.6945 13.0856C11.4889 13.1708 11.3132 13.315 11.1896 13.5C11.066 13.685 11 13.9025 11 14.125C11 14.4234 11.1185 14.7095 11.3295 14.9205C11.5405 15.1315 11.8266 15.25 12.125 15.25ZM9.875 10C10.0975 10 10.315 9.93402 10.5 9.8104C10.685 9.68679 10.8292 9.51109 10.9144 9.30552C10.9995 9.09995 11.0218 8.87375 10.9784 8.65552C10.935 8.43729 10.8278 8.23684 10.6705 8.0795C10.5132 7.92217 10.3127 7.81502 10.0945 7.77162C9.87625 7.72821 9.65005 7.75049 9.44448 7.83564C9.23891 7.92078 9.06321 8.06498 8.9396 8.24998C8.81598 8.43499 8.75 8.6525 8.75 8.875C8.75 9.17337 8.86853 9.45952 9.0795 9.6705C9.29048 9.88147 9.57663 10 9.875 10ZM6.875 16.75C7.0975 16.75 7.31501 16.684 7.50002 16.5604C7.68502 16.4368 7.82922 16.2611 7.91436 16.0555C7.99951 15.85 8.02179 15.6238 7.97838 15.4055C7.93498 15.1873 7.82783 14.9868 7.6705 14.8295C7.51316 14.6722 7.31271 14.565 7.09448 14.5216C6.87625 14.4782 6.65005 14.5005 6.44448 14.5856C6.23891 14.6708 6.06321 14.815 5.9396 15C5.81598 15.185 5.75 15.4025 5.75 15.625C5.75 15.9234 5.86853 16.2095 6.0795 16.4205C6.29048 16.6315 6.57663 16.75 6.875 16.75ZM15.875 12.25C16.0975 12.25 16.315 12.184 16.5 12.0604C16.685 11.9368 16.8292 11.7611 16.9144 11.5555C16.9995 11.35 17.0218 11.1238 16.9784 10.9055C16.935 10.6873 16.8278 10.4868 16.6705 10.3295C16.5132 10.1722 16.3127 10.065 16.0945 10.0216C15.8762 9.97821 15.65 10.0005 15.4445 10.0856C15.2389 10.1708 15.0632 10.315 14.9396 10.5C14.816 10.685 14.75 10.9025 14.75 11.125C14.75 11.4234 14.8685 11.7095 15.0795 11.9205C15.2905 12.1315 15.5766 12.25 15.875 12.25ZM18.125 8.5C18.3475 8.5 18.565 8.43402 18.75 8.3104C18.935 8.18679 19.0792 8.01109 19.1644 7.80552C19.2495 7.59995 19.2718 7.37375 19.2284 7.15552C19.185 6.93729 19.0778 6.73684 18.9205 6.5795C18.7632 6.42217 18.5627 6.31502 18.3445 6.27162C18.1262 6.22821 17.9 6.25049 17.6945 6.33564C17.4889 6.42078 17.3132 6.56498 17.1896 6.74998C17.066 6.93499 17 7.1525 17 7.375C17 7.67337 17.1185 7.95952 17.3295 8.1705C17.5405 8.38147 17.8266 8.5 18.125 8.5ZM16.25 15.625C16.25 15.8475 16.316 16.065 16.4396 16.25C16.5632 16.435 16.7389 16.5792 16.9445 16.6644C17.15 16.7495 17.3762 16.7718 17.5945 16.7284C17.8127 16.685 18.0132 16.5778 18.1705 16.4205C18.3278 16.2632 18.435 16.0627 18.4784 15.8445C18.5218 15.6262 18.4995 15.4 18.4144 15.1945C18.3292 14.9889 18.185 14.8132 18 14.6896C17.815 14.566 17.5975 14.5 17.375 14.5C17.0766 14.5 16.7905 14.6185 16.5795 14.8295C16.3685 15.0405 16.25 15.3266 16.25 15.625Z", fill: "white" }) });
99
+ const ChartStackedHorizontal = (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: [
100
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M3.5 3L3.5 21", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
101
+ /* @__PURE__ */ jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.5 14.333L15.5 14.333V18C15.5 18.552 15.052 19 14.5 19H3.5L3.5 14.333Z", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
102
+ /* @__PURE__ */ jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.5 14.3301H10.5V17.9994C10.5 18.5518 10.2387 19.0001 9.91667 19.0001H3.5L3.5 14.3301Z", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
103
+ /* @__PURE__ */ jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.5 9.66699L20.5 9.66699C21.052 9.66699 21.5 10.115 21.5 10.667V13.334C21.5 13.886 21.052 14.334 20.5 14.334H3.5L3.5 9.66699Z", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
104
+ /* @__PURE__ */ jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.5 9.66992H12C12.276 9.66992 12.5 10.1182 12.5 10.6706V13.3393C12.5 13.8916 12.276 14.3399 12 14.3399H3.5L3.5 9.66992Z", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
105
+ /* @__PURE__ */ jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.5 5L17.5 5C18.052 5 18.5 5.448 18.5 6V9.667H3.5L3.5 5Z", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
106
+ /* @__PURE__ */ jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.5 5L10.0333 5C10.2909 5 10.5 5.44829 10.5 6.00064V9.67H3.5L3.5 5Z", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
107
+ ] });
108
+ const ChartStackedVertical = (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: [
109
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M3 21H21", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
110
+ /* @__PURE__ */ jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.333 21V9H18C18.552 9 19 9.448 19 10V21H14.333Z", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
111
+ /* @__PURE__ */ jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.3301 21V14H17.9994C18.5518 14 19.0001 14.2613 19.0001 14.5833V21H14.3301Z", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
112
+ /* @__PURE__ */ jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.66699 21L9.66699 4C9.66699 3.448 10.115 3 10.667 3H13.334C13.886 3 14.334 3.448 14.334 4V21H9.66699Z", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
113
+ /* @__PURE__ */ jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.66992 21V12.5C9.66992 12.224 10.1182 12 10.6706 12H13.3393C13.8916 12 14.3399 12.224 14.3399 12.5V21H9.66992Z", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
114
+ /* @__PURE__ */ jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5 21L5 7C5 6.448 5.448 6 6 6H9.667V21H5Z", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
115
+ /* @__PURE__ */ jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5 21V14.4667C5 14.2091 5.44829 14 6.00064 14H9.67V21H5Z", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
116
+ ] });
85
117
  const InformationIcon = (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: [
86
118
  /* @__PURE__ */ jsxRuntime.jsx("path", { stroke: "#161517", strokeLinecap: "round", strokeLinejoin: "round", d: "M10.854 11.877h1.15v4.252M10.845 16.128h2.31" }),
87
119
  /* @__PURE__ */ jsxRuntime.jsx("path", { stroke: "#161517", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M11.946 7.872a.25.25 0 1 1-.25-.25" }),
@@ -734,6 +766,13 @@ var __publicField = (obj, key, value) => {
734
766
  cards: Cards,
735
767
  "cell-tower": CellTower,
736
768
  chat: ChatIcon,
769
+ "chart-area": ChartArea,
770
+ "chart-bar-horizontal": ChartBarHorizontal,
771
+ "chart-donut": ChartDonut,
772
+ "chart-heatmap": ChartHeatmap,
773
+ "chart-scatter": ChartScatter,
774
+ "chart-stacked-horizontal": ChartStackedHorizontal,
775
+ "chart-stacked-vertical": ChartStackedVertical,
737
776
  check: CheckIcon$3,
738
777
  "check-in-circle": CheckInCircle,
739
778
  "chevron-down": ChevronDown,
@@ -7886,18 +7925,20 @@ var __publicField = (obj, key, value) => {
7886
7925
  width,
7887
7926
  height,
7888
7927
  children,
7928
+ ellipsisContent = true,
7889
7929
  ...props
7890
7930
  }) => {
7931
+ const TextWrapper2 = ellipsisContent ? EllipsisContent : "div";
7891
7932
  return /* @__PURE__ */ jsxRuntime.jsxs(LabelContainer$1, { $hasIcon: typeof icon === "string", $iconDir: iconDir, ...props, children: [
7892
7933
  icon && iconDir === "start" && /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: icon, size: size2, width, height }),
7893
- /* @__PURE__ */ jsxRuntime.jsx(EllipsisContent, { children }),
7934
+ /* @__PURE__ */ jsxRuntime.jsx(TextWrapper2, { "data-testid": `${ellipsisContent ? "ellipsed" : "normal"}-icon-wrapper-text`, children }),
7894
7935
  icon && iconDir === "end" && /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: icon, size: size2, width, height })
7895
7936
  ] });
7896
7937
  };
7897
7938
  const Dropdown = (props) => /* @__PURE__ */ jsxRuntime.jsx($d08ef79370b62062$export$be92b6f5f03c0fe9, { ...props });
7898
7939
  const DropdownMenuItem = styledComponents.styled(GenericMenuItem).withConfig({
7899
7940
  componentId: "sc-18bhwbw-0"
7900
- })(['position:relative;display:flex;&[data-state="open"]{', "}"], ({
7941
+ })(['position:relative;display:flex;min-height:32px;&[data-state="open"]{', "}"], ({
7901
7942
  theme: theme2
7902
7943
  }) => `
7903
7944
  font: ${theme2.click.genericMenu.item.typography.label.hover};
@@ -7930,9 +7971,11 @@ var __publicField = (obj, key, value) => {
7930
7971
  Dropdown.Trigger = DropdownTrigger;
7931
7972
  const DropdownMenuContent = styledComponents.styled(GenericMenuPanel).withConfig({
7932
7973
  componentId: "sc-18bhwbw-2"
7933
- })(["min-width:", ";flex-direction:column;z-index:1;"], ({
7974
+ })(["min-width:", ";flex-direction:column;z-index:1;overflow-y:scroll;max-height:calc( (var(--radix-", "-content-available-height) - 100px) );"], ({
7934
7975
  theme: theme2
7935
- }) => theme2.click.genericMenu.item.size.minWidth);
7976
+ }) => theme2.click.genericMenu.item.size.minWidth, ({
7977
+ $type
7978
+ }) => $type);
7936
7979
  const DropdownContent$1 = ({
7937
7980
  sub,
7938
7981
  children,
@@ -9389,9 +9432,10 @@ var __publicField = (obj, key, value) => {
9389
9432
  type,
9390
9433
  dismissible,
9391
9434
  onClose,
9435
+ ellipsisContent = true,
9392
9436
  ...props
9393
- }) => /* @__PURE__ */ jsxRuntime.jsx(Wrapper$c, { $state: state, $size: size2, $type: type, ...props, children: /* @__PURE__ */ jsxRuntime.jsxs(Content$4, { children: [
9394
- /* @__PURE__ */ jsxRuntime.jsx(BadgeContent, { as: IconWrapper$3, icon, iconDir, size: size2, $state: state, children: text2 }),
9437
+ }) => /* @__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: [
9438
+ /* @__PURE__ */ jsxRuntime.jsx(BadgeContent, { as: IconWrapper$3, icon, iconDir, size: size2, $state: state, ellipsisContent, children: text2 }),
9395
9439
  dismissible && /* @__PURE__ */ jsxRuntime.jsx(SvgContainer, { name: "cross", $state: state, as: SvgImage, onClick: onClose, "aria-label": "close" })
9396
9440
  ] }) });
9397
9441
  const BigStat = ({
@@ -17461,9 +17505,12 @@ var __publicField = (obj, key, value) => {
17461
17505
  $selectionType,
17462
17506
  $height,
17463
17507
  $type = "body",
17464
- $showBorder
17508
+ $showBorder,
17509
+ $rowAutoHeight
17465
17510
  }) => `
17466
- height: ${$height}px;
17511
+ height: ${$rowAutoHeight ? "100%" : `${$height}px`};
17512
+ min-height: ${$rowAutoHeight ? "auto" : ""};
17513
+ overflow-y: ${$rowAutoHeight ? "auto" : ""};
17467
17514
  background: ${theme2.click.grid[$type].cell.color.background[$selectionType]};
17468
17515
  color: ${$type === "header" ? theme2.click.grid.header.cell.color.title[$selectionType] : theme2.click.grid.body.cell.color.text[$selectionType]};
17469
17516
  font: ${theme2.click.grid.cell.text.default};
@@ -17484,6 +17531,7 @@ var __publicField = (obj, key, value) => {
17484
17531
  ${$isLastColumn ? `
17485
17532
  border-right-color: ${theme2.click.grid[$type].cell.color.stroke[$isFocused ? "selectDirect" : $selectionType]};
17486
17533
  ` : "border-right: none;"}
17534
+ ${$rowAutoHeight && "border: none;"}
17487
17535
  `, ({
17488
17536
  theme: theme2,
17489
17537
  $isLastRow,
@@ -17491,8 +17539,9 @@ var __publicField = (obj, key, value) => {
17491
17539
  $selectionType,
17492
17540
  $type = "body",
17493
17541
  $isSelectedTop,
17494
- $isSelectedLeft
17495
- }) => $isSelectedTop || $isSelectedLeft || $selectionType === "selectDirect" && ($isLastRow || $isLastColumn) ? `
17542
+ $isSelectedLeft,
17543
+ $rowAutoHeight
17544
+ }) => $isSelectedTop || $isSelectedLeft || $selectionType === "selectDirect" && ($isLastRow || $isLastColumn) || $rowAutoHeight ? `
17496
17545
  &::before {
17497
17546
  content: "";
17498
17547
  position: absolute;
@@ -17504,6 +17553,7 @@ var __publicField = (obj, key, value) => {
17504
17553
  ${$isSelectedLeft ? `border-left: 1px solid ${theme2.click.grid[$type].cell.color.stroke.selectDirect};` : ""}
17505
17554
  ${$selectionType === "selectDirect" && $isLastRow ? `border-bottom: 1px solid ${theme2.click.grid[$type].cell.color.stroke.selectDirect};` : ""}
17506
17555
  ${$selectionType === "selectDirect" && $isLastColumn ? `border-right: 1px solid ${theme2.click.grid[$type].cell.color.stroke.selectDirect};` : ""}
17556
+ ${$rowAutoHeight && "border: none;"}
17507
17557
  }
17508
17558
  ` : "");
17509
17559
  const RowNumberColumnContainer = styledComponents.styled.div.withConfig({
@@ -17514,7 +17564,7 @@ var __publicField = (obj, key, value) => {
17514
17564
  }) => `
17515
17565
  top: ${$height}px;
17516
17566
  width: ${$width}px;
17517
- height: 100%;
17567
+ height: 100%
17518
17568
  `, ({
17519
17569
  $scrolledHorizontal,
17520
17570
  theme: theme2
@@ -17523,10 +17573,11 @@ var __publicField = (obj, key, value) => {
17523
17573
  componentId: "sc-7gbi4d-1"
17524
17574
  })(["position:absolute;left:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;", ""], ({
17525
17575
  $height,
17526
- $rowNumber
17576
+ $rowNumber,
17577
+ $rowAutoHeight
17527
17578
  }) => `
17528
17579
  top: ${$height * $rowNumber}px;
17529
- height: ${$height}px;
17580
+ height: ${$rowAutoHeight ? "100%" : `${$height}px`};
17530
17581
  `);
17531
17582
  const RowNumber = ({
17532
17583
  rowIndex,
@@ -17535,7 +17586,8 @@ var __publicField = (obj, key, value) => {
17535
17586
  isLastRow,
17536
17587
  isFirstRow,
17537
17588
  showBorder,
17538
- rowStart
17589
+ rowStart,
17590
+ rowAutoHeight
17539
17591
  }) => {
17540
17592
  const currentRowIndex = rowIndex + rowStart;
17541
17593
  const selectionType = getSelectionType({
@@ -17548,7 +17600,7 @@ var __publicField = (obj, key, value) => {
17548
17600
  type: "row"
17549
17601
  });
17550
17602
  const isSelectedTop = (topSelectionType === "selectDirect" || isSelected) && topSelectionType !== selectionType;
17551
- return /* @__PURE__ */ jsxRuntime.jsx(RowNumberCell, { $rowNumber: rowIndex, $height: rowHeight, children: /* @__PURE__ */ jsxRuntime.jsx(StyledCell, { $height: rowHeight, $isLastColumn: false, $selectionType: selectionType, $isFirstColumn: true, $type: "header", $isFirstRow: isFirstRow, $isFocused: false, $isLastRow: isLastRow, $isSelectedLeft: isSelected, $isSelectedTop: isSelectedTop, "data-selected": isSelected, "data-grid-row": currentRowIndex, "data-grid-column": -1, "data-testid": `header-cell-${currentRowIndex}-x`, $showBorder: showBorder, "data-align": "right", children: currentRowIndex }) });
17603
+ return /* @__PURE__ */ jsxRuntime.jsx(RowNumberCell, { $rowNumber: rowIndex, $height: rowHeight, $rowAutoHeight: rowAutoHeight, children: /* @__PURE__ */ jsxRuntime.jsx(StyledCell, { $height: rowHeight, $isLastColumn: false, $selectionType: selectionType, $isFirstColumn: true, $type: "header", $isFirstRow: isFirstRow, $isFocused: false, $isLastRow: isLastRow, $isSelectedLeft: isSelected, $isSelectedTop: isSelectedTop, $rowAutoHeight: rowAutoHeight, "data-selected": isSelected, "data-grid-row": currentRowIndex, "data-grid-column": -1, "data-testid": `header-cell-${currentRowIndex}-x`, $showBorder: showBorder, "data-align": "right", children: currentRowIndex }) });
17552
17604
  };
17553
17605
  const RowNumberColumn = ({
17554
17606
  minRow,
@@ -17561,11 +17613,12 @@ var __publicField = (obj, key, value) => {
17561
17613
  showHeader,
17562
17614
  scrolledHorizontal,
17563
17615
  rowStart = 0,
17564
- showBorder
17616
+ showBorder,
17617
+ rowAutoHeight
17565
17618
  }) => {
17566
- return /* @__PURE__ */ jsxRuntime.jsx(RowNumberColumnContainer, { $height: headerHeight, $width: rowWidth, $scrolledHorizontal: scrolledHorizontal, children: Array.from({
17619
+ return /* @__PURE__ */ jsxRuntime.jsx(RowNumberColumnContainer, { $height: headerHeight, $width: rowWidth, $scrolledHorizontal: scrolledHorizontal, $rowAutoHeight: rowAutoHeight, children: Array.from({
17567
17620
  length: maxRow - minRow + 1
17568
- }, (_, index2) => minRow + index2).map((rowIndex) => /* @__PURE__ */ jsxRuntime.jsx(RowNumber, { getSelectionType, rowHeight, rowIndex, isLastRow: rowIndex === rowCount, isFirstRow: !showHeader && rowIndex === 0, showBorder, rowStart }, `row-number-${rowIndex}`)) });
17621
+ }, (_, index2) => minRow + index2).map((rowIndex) => /* @__PURE__ */ jsxRuntime.jsx(RowNumber, { getSelectionType, rowHeight, rowIndex, isLastRow: rowIndex === rowCount, isFirstRow: !showHeader && rowIndex === 0, showBorder, rowStart, rowAutoHeight }, `row-number-${rowIndex}`)) });
17569
17622
  };
17570
17623
  function isObject$a(value) {
17571
17624
  var type = typeof value;
@@ -17947,7 +18000,7 @@ var __publicField = (obj, key, value) => {
17947
18000
  }) => $scrolledHorizontal ? `box-shadow: 0px 0 0px 1px ${theme2.click.grid.header.cell.color.stroke.default};` : "");
17948
18001
  const RowColumn = styledComponents.styled(StyledCell).withConfig({
17949
18002
  componentId: "sc-1oadqc8-4"
17950
- })(["width:100%;text-align:right;"]);
18003
+ })(["width:100%;text-align:right;overflow:hidden;"]);
17951
18004
  const Column = ({
17952
18005
  columnIndex,
17953
18006
  cell,
@@ -18376,7 +18429,9 @@ var __publicField = (obj, key, value) => {
18376
18429
  showRowNumber,
18377
18430
  showHeader,
18378
18431
  rowHeight,
18379
- rowStart
18432
+ rowStart,
18433
+ rowAutoHeight,
18434
+ updateRowHeight
18380
18435
  } = data;
18381
18436
  const currentRowIndex = rowIndex + rowStart;
18382
18437
  const {
@@ -18405,7 +18460,21 @@ var __publicField = (obj, key, value) => {
18405
18460
  const belowSelectionBorder = (selectionType === "selectDirect" || belowSelection === "selectDirect") && selectionType !== belowSelection;
18406
18461
  const selectionBorderLeft = rightOfSelectionBorder || rightOfFocus || isFocused;
18407
18462
  const selectionBorderTop = belowSelectionBorder || belowFocus || isFocused;
18408
- return /* @__PURE__ */ jsxRuntime.jsx("div", { style, "data-row": currentRowIndex, "data-column": columnIndex, children: /* @__PURE__ */ jsxRuntime.jsx(StyledCell, { as: CellData, rowIndex: currentRowIndex, columnIndex, type: "row-cell", "data-selected": isFocused || selectionType === "selectDirect", "data-focused": isFocused, $isSelectedTop: selectionBorderTop, $isSelectedLeft: selectionBorderLeft, $isFocused: isFocused, $isLastRow: rowCount - 1 === rowIndex, $isLastColumn: columnCount - 1 === columnIndex, $isFirstColumn: columnIndex === 0 && !showRowNumber, $isFirstRow: rowIndex === 0 && !showHeader, $selectionType: selectionType, $height: rowHeight, "data-grid-row": currentRowIndex, "data-grid-column": columnIndex, $showBorder: true, ...props }) });
18463
+ const cellRef = React.useRef(null);
18464
+ React.useEffect(() => {
18465
+ if (!rowAutoHeight) {
18466
+ return;
18467
+ }
18468
+ if (cellRef.current) {
18469
+ const height = cellRef.current.getBoundingClientRect().height;
18470
+ updateRowHeight(rowIndex, height);
18471
+ }
18472
+ }, [updateRowHeight, rowIndex, rowAutoHeight]);
18473
+ const styleWithHeight = {
18474
+ ...style,
18475
+ height: "auto"
18476
+ };
18477
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { style: styleWithHeight, "data-row": currentRowIndex, "data-column": columnIndex, ref: cellRef, children: /* @__PURE__ */ jsxRuntime.jsx(StyledCell, { as: CellData, rowIndex: currentRowIndex, columnIndex, type: "row-cell", "data-selected": isFocused || selectionType === "selectDirect", "data-focused": isFocused, $isSelectedTop: selectionBorderTop, $isSelectedLeft: selectionBorderLeft, $isFocused: isFocused, $isLastRow: rowCount - 1 === rowIndex, $isLastColumn: columnCount - 1 === columnIndex, $isFirstColumn: columnIndex === 0 && !showRowNumber, $isFirstRow: rowIndex === 0 && !showHeader, $selectionType: selectionType, $height: rowHeight, "data-grid-row": currentRowIndex, "data-grid-column": columnIndex, $showBorder: true, $rowAutoHeight: rowAutoHeight, ...props }) });
18409
18478
  }, areEqual);
18410
18479
  var reactDomServerLegacy_browser_production_min = {};
18411
18480
  /**
@@ -32615,6 +32684,7 @@ var __publicField = (obj, key, value) => {
32615
32684
  onContextMenu: onContextMenuProp,
32616
32685
  forwardedGridRef,
32617
32686
  onItemsRendered: onItemsRenderedProp,
32687
+ rowAutoHeight,
32618
32688
  ...props
32619
32689
  }, forwardedRef) => {
32620
32690
  const [focus, setFocus] = React.useState(focusProp ?? {
@@ -32658,6 +32728,25 @@ var __publicField = (obj, key, value) => {
32658
32728
  }
32659
32729
  }
32660
32730
  }, [cell, columnCount, focus, focusProp, rowCount, selection, showToast, onCopyCallback]);
32731
+ const rowHeightsRef = React.useRef(/* @__PURE__ */ new Map());
32732
+ const getRowHeight = React.useCallback((index2) => {
32733
+ if (rowAutoHeight && rowHeightsRef.current.get(index2)) {
32734
+ return rowHeightsRef.current.get(index2) + rowHeight;
32735
+ }
32736
+ return rowHeight;
32737
+ }, [rowHeight, rowAutoHeight]);
32738
+ const updateRowHeight = React.useCallback((rowIndex, height) => {
32739
+ if (!rowAutoHeight) {
32740
+ return;
32741
+ }
32742
+ const prevHeight = rowHeightsRef.current.get(rowIndex) ?? 0;
32743
+ if (height > prevHeight) {
32744
+ rowHeightsRef.current.set(rowIndex, height);
32745
+ if (gridRef.current) {
32746
+ gridRef.current.resetAfterRowIndex(rowIndex);
32747
+ }
32748
+ }
32749
+ }, [rowAutoHeight]);
32661
32750
  const customOnCopy = React.useMemo(() => {
32662
32751
  const result = async () => {
32663
32752
  if (onCopyProp) {
@@ -32821,7 +32910,10 @@ var __publicField = (obj, key, value) => {
32821
32910
  rowHeight,
32822
32911
  headerHeight,
32823
32912
  rowNumberWidth,
32824
- rowStart
32913
+ rowStart,
32914
+ rowAutoHeight,
32915
+ updateRowHeight,
32916
+ getRowHeight
32825
32917
  };
32826
32918
  const InnerElementType = React.forwardRef(({
32827
32919
  children,
@@ -32830,7 +32922,7 @@ var __publicField = (obj, key, value) => {
32830
32922
  const [minRow, maxRow, minColumn, maxColumn] = getRenderedCursor(children);
32831
32923
  return /* @__PURE__ */ jsxRuntime.jsxs(GridContainer, { ...containerProps, className: `sticky-grid__container grid-outer ${props.className ?? ""}`, children: [
32832
32924
  /* @__PURE__ */ jsxRuntime.jsx(GridDataContainer, { $top: showHeader ? headerHeight : 0, $left: showRowNumber ? rowNumberWidth : 0, ref, children }),
32833
- showRowNumber && /* @__PURE__ */ jsxRuntime.jsx(RowNumberColumn, { scrolledHorizontal, minRow, maxRow, rowHeight, headerHeight, rowWidth: rowNumberWidth, rowCount, getSelectionType, showHeader, rowStart, showBorder }),
32925
+ showRowNumber && /* @__PURE__ */ jsxRuntime.jsx(RowNumberColumn, { scrolledHorizontal, minRow, maxRow, rowHeight, headerHeight, rowWidth: rowNumberWidth, rowCount, getSelectionType, showHeader, rowStart, showBorder, rowAutoHeight }),
32834
32926
  showHeader && /* @__PURE__ */ jsxRuntime.jsx(Header, { scrolledVertical, scrolledHorizontal, showRowNumber, minColumn, maxColumn, height: headerHeight, getColumnWidth: columnWidth, cell, rowNumberWidth, getSelectionType, columnCount, onColumnResize, getColumnHorizontalPosition, getResizerPosition, showBorder, resizingState })
32835
32927
  ] });
32836
32928
  });
@@ -33083,11 +33175,16 @@ var __publicField = (obj, key, value) => {
33083
33175
  const width = columnWidth(args.columnIndex);
33084
33176
  return /* @__PURE__ */ jsxRuntime.jsx(Cell, { ...args, width });
33085
33177
  };
33178
+ React.useEffect(() => {
33179
+ if (gridRef.current) {
33180
+ gridRef.current.resetAfterRowIndex(0);
33181
+ }
33182
+ }, [rowCount, columnCount]);
33086
33183
  return /* @__PURE__ */ jsxRuntime.jsxs(ContextMenu, { modal: false, onOpenChange: setContextMenuOpen, children: [
33087
33184
  /* @__PURE__ */ jsxRuntime.jsx(ContextMenuTrigger, { as: ContextMenu.Trigger, ref: mergeRefs([forwardedRef, containerRef]), tabIndex: 0, onMouseDown, onMouseMove, onKeyDown, onPointerDown, onPointerUp, onPointerLeave: setPointerCapture, onPointerEnter: setPointerCapture, onContextMenu, $rounded: rounded, $height: autoHeight ? rowCount * rowHeight + (showHeader ? headerHeight : 0) + elementBorderRef.current.scrollBarHeight : void 0, $showBorder: showBorder, children: /* @__PURE__ */ jsxRuntime.jsx(AutoSizer, { onResize, children: ({
33088
33185
  height,
33089
33186
  width
33090
- }) => /* @__PURE__ */ jsxRuntime.jsx(VariableSizeGrid, { ref: forwardedGridRef ? mergeRefs([forwardedGridRef, gridRef]) : gridRef, height, width, columnCount, rowHeight: () => rowHeight, useIsScrolling, innerElementType: InnerElementType, itemData: data, initialScrollTop: focus.row < rowStart ? focus.row * rowHeight : (focus.row - rowStart) * rowHeight, initialScrollLeft: getColumnHorizontalPosition(focus.column), columnWidth, rowCount, onScroll, outerRef, outerElementType: OuterElementType, onItemsRendered, ...props, children: CellWithWidth }) }) }),
33187
+ }) => /* @__PURE__ */ jsxRuntime.jsx(VariableSizeGrid, { ref: forwardedGridRef ? mergeRefs([forwardedGridRef, gridRef]) : gridRef, height, width, columnCount, rowHeight: getRowHeight, useIsScrolling, innerElementType: InnerElementType, itemData: data, initialScrollTop: focus.row < rowStart ? focus.row * rowHeight : (focus.row - rowStart) * rowHeight, initialScrollLeft: getColumnHorizontalPosition(focus.column), columnWidth, rowCount, onScroll, outerRef, outerElementType: OuterElementType, onItemsRendered, ...props, children: CellWithWidth }) }) }),
33091
33188
  /* @__PURE__ */ jsxRuntime.jsx(ContextMenu.Content, { children: menuOptions.map((option, index2) => /* @__PURE__ */ jsxRuntime.jsx(ContextMenu.Item, { onSelect: option.onSelect, children: option.label }, `grid-${index2}`)) })
33092
33189
  ] });
33093
33190
  });
@@ -12,6 +12,7 @@ export interface CommonBadgeProps extends HTMLAttributes<HTMLDivElement> {
12
12
  type?: BadgeType;
13
13
  icon?: ImageName;
14
14
  iconDir?: HorizontalDirection;
15
+ ellipsisContent?: boolean;
15
16
  }
16
17
  export interface DismissibleBadge extends CommonBadgeProps {
17
18
  dismissible: true;
@@ -22,4 +23,4 @@ export interface NonDismissibleBadge extends CommonBadgeProps {
22
23
  onClose?: never;
23
24
  }
24
25
  export type BadgeProps = NonDismissibleBadge | DismissibleBadge;
25
- export declare const Badge: ({ icon, iconDir, text, state, size, type, dismissible, onClose, ...props }: BadgeProps) => import("react/jsx-runtime").JSX.Element;
26
+ export declare const Badge: ({ icon, iconDir, text, state, size, type, dismissible, onClose, ellipsisContent, ...props }: BadgeProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
1
  export declare const TopBadgeWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<any, never> & import('../Container/Container').ContainerProps<import('react').ElementType>, never>> & string & Omit<(<T extends import('react').ElementType = "div">(props: Omit<import('react').ComponentProps<T>, keyof T> & import('../Container/Container').ContainerProps<T>) => import('react').ReactNode), keyof import('react').Component<any, {}, any>>;
2
2
  export declare const CardPrimaryTopBadge: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('../Badge/Badge').DismissibleBadge | import('../Badge/Badge').NonDismissibleBadge, {
3
3
  $isSelected?: boolean;
4
- }>> & string & Omit<({ icon, iconDir, text, state, size, type, dismissible, onClose, ...props }: import('../Badge/Badge').BadgeProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
4
+ }>> & string & Omit<({ icon, iconDir, text, state, size, type, dismissible, onClose, ellipsisContent, ...props }: import('../Badge/Badge').BadgeProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
@@ -19,5 +19,5 @@ interface HeaderProps {
19
19
  scrolledHorizontal: boolean;
20
20
  resizingState: ResizingState;
21
21
  }
22
- declare const Header: ({ scrolledVertical, scrolledHorizontal, showRowNumber, rowNumberWidth, minColumn, maxColumn, height, getColumnWidth, cell, columnCount, getSelectionType, onColumnResize, getColumnHorizontalPosition, getResizerPosition, showBorder, resizingState }: HeaderProps) => import("react/jsx-runtime").JSX.Element;
22
+ declare const Header: ({ scrolledVertical, scrolledHorizontal, showRowNumber, rowNumberWidth, minColumn, maxColumn, height, getColumnWidth, cell, columnCount, getSelectionType, onColumnResize, getColumnHorizontalPosition, getResizerPosition, showBorder, resizingState, }: HeaderProps) => import("react/jsx-runtime").JSX.Element;
23
23
  export default Header;
@@ -12,6 +12,7 @@ interface RowNumberColumnProps {
12
12
  scrolledHorizontal: boolean;
13
13
  rowStart: number;
14
14
  showBorder: boolean;
15
+ rowAutoHeight?: boolean;
15
16
  }
16
- declare const RowNumberColumn: ({ minRow, maxRow, rowHeight, headerHeight, rowWidth, getSelectionType, rowCount, showHeader, scrolledHorizontal, rowStart, showBorder, }: RowNumberColumnProps) => import("react/jsx-runtime").JSX.Element;
17
+ declare const RowNumberColumn: ({ minRow, maxRow, rowHeight, headerHeight, rowWidth, getSelectionType, rowCount, showHeader, scrolledHorizontal, rowStart, showBorder, rowAutoHeight, }: RowNumberColumnProps) => import("react/jsx-runtime").JSX.Element;
17
18
  export default RowNumberColumn;
@@ -12,4 +12,5 @@ export declare const StyledCell: import('styled-components/dist/types').IStyledC
12
12
  $height: number;
13
13
  $type?: "body" | "header";
14
14
  $showBorder: boolean;
15
+ $rowAutoHeight?: boolean;
15
16
  }>> & string;
@@ -107,6 +107,9 @@ export interface ItemDataType {
107
107
  headerHeight: number;
108
108
  rowNumberWidth: number;
109
109
  rowStart: number;
110
+ rowAutoHeight?: boolean;
111
+ updateRowHeight: (rowIndex: number, height: number) => void;
112
+ getRowHeight: (index: number) => number;
110
113
  }
111
114
  export interface GridContextMenuItemProps extends Omit<ContextMenuItemProps, "children"> {
112
115
  label: ReactNode;
@@ -137,6 +140,7 @@ export interface GridProps extends Omit<VariableSizeGridProps, "height" | "width
137
140
  onCopyCallback?: (copied: boolean) => void;
138
141
  onContextMenu?: MouseEventHandler<HTMLDivElement>;
139
142
  forwardedGridRef?: MutableRefObject<VariableSizeGrid>;
143
+ rowAutoHeight?: boolean;
140
144
  }
141
145
  export type ResizerPosition = {
142
146
  left: string;
@@ -24,6 +24,13 @@ export declare const ICONS_MAP: {
24
24
  cards: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
25
25
  "cell-tower": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
26
26
  chat: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
27
+ "chart-area": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
28
+ "chart-bar-horizontal": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
29
+ "chart-donut": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
30
+ "chart-heatmap": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
31
+ "chart-scatter": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
32
+ "chart-stacked-horizontal": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
33
+ "chart-stacked-vertical": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
27
34
  check: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
28
35
  "check-in-circle": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
29
36
  "chevron-down": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -6,7 +6,7 @@ import { PaymentName, PaymentProps } from '../icons/Payments';
6
6
 
7
7
  export type IconSize = "xs" | "sm" | "md" | "lg" | "xl" | "xxl";
8
8
  export type IconState = "default" | "success" | "warning" | "danger" | "info";
9
- export declare const ICON_NAMES: readonly ["activity", "alarm", "arrow-down", "arrow-left", "arrow-right", "arrow-triangle", "arrow-directions", "arrow-up", "auth-app", "auth-sms", "backups", "bar-chart", "bell", "beta", "blog", "book", "brackets", "briefcase", "building", "burger-menu", "calendar", "calendar-with-time", "cards", "cell-tower", "chat", "check", "check-in-circle", "chevron-down", "chevron-left", "chevron-right", "chevron-up", "circle", "clock", "cloud", "cloud-keys", "code", "code-in-square", "connect", "connect-alt", "console", "copy", "cpu", "cross", "credit-card", "data", "database", "disk", "display", "document", "dot", "dots-horizontal", "dots-triangle", "dots-vertical", "dots-vertical-double", "double-check", "download", "download-in-circle", "email", "empty", "enter", "eye", "eye-closed", "filter", "fire", "flag", "flask", "folder-closed", "folder-open", "gear", "gift", "git-merge", "globe", "hexagon", "history", "horizontal-loading", "home", "http", "http-monitoring", "info-in-circle", "information", "insert-row", "integrations", "key", "keys", "lifebuoy", "light-bulb", "light-bulb-on", "lightening", "line-in-circle", "loading", "loading-animated", "lock", "metrics", "metrics-alt", "minus", "moon", "no-cloud", "pause", "payment", "pencil", "pie-chart", "pipe", "play", "play-in-circle", "plus", "popout", "puzzle-piece", "query", "question", "refresh", "rocket", "sandglass", "search", "secure", "server", "services", "settings", "share", "share-arrow", "share-network", "slide-in", "slide-out", "sort-alt", "sort", "sparkle", "speaker", "speed", "square", "star", "stop", "support", "table", "taxi", "trash", "tree-structure", "upgrade", "upload", "url", "user", "users", "warning", "waves"];
9
+ export declare const ICON_NAMES: readonly ["activity", "alarm", "arrow-down", "arrow-left", "arrow-right", "arrow-triangle", "arrow-directions", "arrow-up", "auth-app", "auth-sms", "backups", "bar-chart", "bell", "beta", "blog", "book", "brackets", "briefcase", "building", "burger-menu", "calendar", "calendar-with-time", "cards", "cell-tower", "chat", "chart-area", "chart-bar-horizontal", "chart-donut", "chart-heatmap", "chart-scatter", "chart-stacked-horizontal", "chart-stacked-vertical", "check", "check-in-circle", "chevron-down", "chevron-left", "chevron-right", "chevron-up", "circle", "clock", "cloud", "cloud-keys", "code", "code-in-square", "connect", "connect-alt", "console", "copy", "cpu", "cross", "credit-card", "data", "database", "disk", "display", "document", "dot", "dots-horizontal", "dots-triangle", "dots-vertical", "dots-vertical-double", "double-check", "download", "download-in-circle", "email", "empty", "enter", "eye", "eye-closed", "filter", "fire", "flag", "flask", "folder-closed", "folder-open", "gear", "gift", "git-merge", "globe", "hexagon", "history", "horizontal-loading", "home", "http", "http-monitoring", "info-in-circle", "information", "insert-row", "integrations", "key", "keys", "lifebuoy", "light-bulb", "light-bulb-on", "lightening", "line-in-circle", "loading", "loading-animated", "lock", "metrics", "metrics-alt", "minus", "moon", "no-cloud", "pause", "payment", "pencil", "pie-chart", "pipe", "play", "play-in-circle", "plus", "popout", "puzzle-piece", "query", "question", "refresh", "rocket", "sandglass", "search", "secure", "server", "services", "settings", "share", "share-arrow", "share-network", "slide-in", "slide-out", "sort-alt", "sort", "sparkle", "speaker", "speed", "square", "star", "stop", "support", "table", "taxi", "trash", "tree-structure", "upgrade", "upload", "url", "user", "users", "warning", "waves"];
10
10
  export type IconName = (typeof ICON_NAMES)[number];
11
11
  export interface IconProps extends SVGAttributes<HTMLOrSVGElement> {
12
12
  name: IconName;
@@ -2,12 +2,14 @@ import { ReactNode } from 'react';
2
2
  import { HorizontalDirection, IconName } from '..';
3
3
  import { IconSize } from '../Icon/types';
4
4
 
5
- declare const IconWrapper: ({ icon, iconDir, size, width, height, children, ...props }: {
5
+ interface IconWrapperProps {
6
6
  icon?: IconName;
7
7
  iconDir?: HorizontalDirection;
8
- children: ReactNode;
9
8
  size?: IconSize;
10
9
  width?: number | string;
11
10
  height?: number | string;
12
- }) => import("react/jsx-runtime").JSX.Element;
11
+ children: ReactNode;
12
+ ellipsisContent?: boolean;
13
+ }
14
+ declare const IconWrapper: ({ icon, iconDir, size, width, height, children, ellipsisContent, ...props }: IconWrapperProps) => import("react/jsx-runtime").JSX.Element;
13
15
  export default IconWrapper;
@@ -0,0 +1,4 @@
1
+ import { SVGAttributes } from 'react';
2
+
3
+ declare const ChartArea: (props: SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
4
+ export default ChartArea;
@@ -0,0 +1,4 @@
1
+ import { SVGAttributes } from 'react';
2
+
3
+ declare const ChartBarHorizontal: (props: SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
4
+ export default ChartBarHorizontal;
@@ -0,0 +1,4 @@
1
+ import { SVGAttributes } from 'react';
2
+
3
+ declare const ChartDonut: (props: SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
4
+ export default ChartDonut;
@@ -0,0 +1,4 @@
1
+ import { SVGAttributes } from 'react';
2
+
3
+ declare const ChartHeatmap: (props: SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
4
+ export default ChartHeatmap;
@@ -0,0 +1,4 @@
1
+ import { SVGAttributes } from 'react';
2
+
3
+ declare const ChartScatter: (props: SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
4
+ export default ChartScatter;
@@ -0,0 +1,4 @@
1
+ import { SVGAttributes } from 'react';
2
+
3
+ declare const ChartStackedHorizontal: (props: SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
4
+ export default ChartStackedHorizontal;
@@ -0,0 +1,4 @@
1
+ import { SVGAttributes } from 'react';
2
+
3
+ declare const ChartStackedVertical: (props: SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
4
+ export default ChartStackedVertical;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clickhouse/click-ui",
3
- "version": "0.0.190",
3
+ "version": "0.0.191",
4
4
  "description": "Official ClickHouse design system react library",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",