@clickhouse/click-ui 0.0.211 → 0.0.213

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.
@@ -1908,7 +1908,7 @@ const Taxi = (props) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/
1908
1908
  /* @__PURE__ */ 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)" })
1909
1909
  ] });
1910
1910
  const TextSlash = (props) => /* @__PURE__ */ jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
1911
- /* @__PURE__ */ jsxs("g", { "clip-path": "url(#clip0_12066_12491)", children: [
1911
+ /* @__PURE__ */ jsxs("g", { clipPath: "url(#clip0_12066_12491)", children: [
1912
1912
  /* @__PURE__ */ jsx("path", { d: "M4.5 3.75L19.5 20.25", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
1913
1913
  /* @__PURE__ */ jsx("path", { d: "M9 18.75H15", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
1914
1914
  /* @__PURE__ */ jsx("path", { d: "M12 12V18.75", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
@@ -8944,8 +8944,8 @@ const GenericMenuItem = pt.div.withConfig({
8944
8944
  font: ${theme2.click.genericMenu.item.typography.label.active};
8945
8945
  }
8946
8946
  &[data-disabled] {
8947
- background:${theme2.click.genericMenu.item.color.background.disabled};
8948
- color:${theme2.click.genericMenu.item.color.text.disabled};
8947
+ // TODO use theme.click.genericMenu.item.color.text.disabled after it's fixed https://github.com/ClickHouse/click-ui/issues/621
8948
+ color:${theme2.global.color.text.disabled};
8949
8949
  font: ${theme2.click.genericMenu.item.typography.label.disabled};
8950
8950
  pointer-events: none;
8951
8951
  }
@@ -1924,7 +1924,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
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
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: [
1927
+ /* @__PURE__ */ jsxRuntime.jsxs("g", { clipPath: "url(#clip0_12066_12491)", children: [
1928
1928
  /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4.5 3.75L19.5 20.25", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
1929
1929
  /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M9 18.75H15", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
1930
1930
  /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 12V18.75", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
@@ -8960,8 +8960,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
8960
8960
  font: ${theme2.click.genericMenu.item.typography.label.active};
8961
8961
  }
8962
8962
  &[data-disabled] {
8963
- background:${theme2.click.genericMenu.item.color.background.disabled};
8964
- color:${theme2.click.genericMenu.item.color.text.disabled};
8963
+ // TODO use theme.click.genericMenu.item.color.text.disabled after it's fixed https://github.com/ClickHouse/click-ui/issues/621
8964
+ color:${theme2.global.color.text.disabled};
8965
8965
  font: ${theme2.click.genericMenu.item.typography.label.disabled};
8966
8966
  pointer-events: none;
8967
8967
  }
@@ -712,7 +712,7 @@ const Taxi = (props) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/
712
712
  /* @__PURE__ */ 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)" })
713
713
  ] });
714
714
  const TextSlash = (props) => /* @__PURE__ */ jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
715
- /* @__PURE__ */ jsxs("g", { "clip-path": "url(#clip0_12066_12491)", children: [
715
+ /* @__PURE__ */ jsxs("g", { clipPath: "url(#clip0_12066_12491)", children: [
716
716
  /* @__PURE__ */ jsx("path", { d: "M4.5 3.75L19.5 20.25", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
717
717
  /* @__PURE__ */ jsx("path", { d: "M9 18.75H15", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
718
718
  /* @__PURE__ */ jsx("path", { d: "M12 12V18.75", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
@@ -7748,8 +7748,8 @@ const GenericMenuItem = styled.div.withConfig({
7748
7748
  font: ${theme2.click.genericMenu.item.typography.label.active};
7749
7749
  }
7750
7750
  &[data-disabled] {
7751
- background:${theme2.click.genericMenu.item.color.background.disabled};
7752
- color:${theme2.click.genericMenu.item.color.text.disabled};
7751
+ // TODO use theme.click.genericMenu.item.color.text.disabled after it's fixed https://github.com/ClickHouse/click-ui/issues/621
7752
+ color:${theme2.global.color.text.disabled};
7753
7753
  font: ${theme2.click.genericMenu.item.typography.label.disabled};
7754
7754
  pointer-events: none;
7755
7755
  }
@@ -727,7 +727,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
727
727
  /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M13.2861 4.71436V3.21436H11.7861V4.71436H13.2861ZM14.1433 4.71436H15.6433V3.21436H14.1433V4.71436ZM14.1433 5.5715V7.0715H15.6433V5.5715H14.1433ZM13.2861 5.5715H11.7861V7.0715H13.2861V5.5715ZM13.2861 6.21436H14.1433V3.21436H13.2861V6.21436ZM12.6433 4.71436V5.5715H15.6433V4.71436H12.6433ZM14.1433 4.0715H13.2861V7.0715H14.1433V4.0715ZM14.7861 5.5715V4.71436H11.7861V5.5715H14.7861Z", fill: "#161517", mask: "url(#path-17-inside-9_3169_15708)" })
728
728
  ] });
729
729
  const TextSlash = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
730
- /* @__PURE__ */ jsxRuntime.jsxs("g", { "clip-path": "url(#clip0_12066_12491)", children: [
730
+ /* @__PURE__ */ jsxRuntime.jsxs("g", { clipPath: "url(#clip0_12066_12491)", children: [
731
731
  /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4.5 3.75L19.5 20.25", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
732
732
  /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M9 18.75H15", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
733
733
  /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 12V18.75", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
@@ -7763,8 +7763,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
7763
7763
  font: ${theme2.click.genericMenu.item.typography.label.active};
7764
7764
  }
7765
7765
  &[data-disabled] {
7766
- background:${theme2.click.genericMenu.item.color.background.disabled};
7767
- color:${theme2.click.genericMenu.item.color.text.disabled};
7766
+ // TODO use theme.click.genericMenu.item.color.text.disabled after it's fixed https://github.com/ClickHouse/click-ui/issues/621
7767
+ color:${theme2.global.color.text.disabled};
7768
7768
  font: ${theme2.click.genericMenu.item.typography.label.disabled};
7769
7769
  pointer-events: none;
7770
7770
  }
@@ -28,12 +28,14 @@ export interface SelectGroupProps extends Omit<HTMLAttributes<HTMLDivElement>, "
28
28
  onSelect?: never;
29
29
  }
30
30
  export interface SelectOptionItem extends Omit<SelectItemProps, "children" | "label" | "description"> {
31
+ heading?: never;
31
32
  label: ReactNode;
32
33
  description?: ReactNode;
33
34
  [key: `data-${string}`]: string;
34
35
  }
35
36
  interface SelectGroupOptionItem extends Omit<SelectGroupProps, "children" | "label" | "description"> {
36
37
  options: Array<SelectOptionItem>;
38
+ label?: never;
37
39
  [key: `data-${string}`]: string;
38
40
  }
39
41
  export type SelectOptionListItem = SelectGroupOptionItem | SelectOptionItem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clickhouse/click-ui",
3
- "version": "0.0.211",
3
+ "version": "0.0.213",
4
4
  "description": "Official ClickHouse design system react library",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",