@clickhouse/click-ui 0.0.146 → 0.0.147

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.
@@ -1494,6 +1494,12 @@ const Bell = (props) => /* @__PURE__ */ jsxRuntimeExports.jsxs("svg", { width: "
1494
1494
  /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M13.833 5.751V4.833C13.833 3.821 13.013 3 12 3V3C10.987 3 10.167 3.821 10.167 4.833V5.751", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
1495
1495
  /* @__PURE__ */ jsxRuntimeExports.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.563 10.1882V10.1882C6.563 7.68523 8.592 5.65723 11.094 5.65723H12.907C15.41 5.65723 17.438 7.68623 17.438 10.1882V10.1882V12.9852C17.438 13.5152 17.649 14.0242 18.024 14.3992L18.665 15.0402C19.04 15.4152 19.251 15.9242 19.251 16.4542V16.4542C19.251 17.4982 18.405 18.3442 17.361 18.3442H6.64C5.596 18.3442 4.75 17.4982 4.75 16.4542V16.4542C4.75 15.9242 4.961 15.4152 5.336 15.0402L5.977 14.3992C6.352 14.0242 6.563 13.5152 6.563 12.9852V10.1882Z", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
1496
1496
  ] });
1497
+ const DoubleCheckIcon = (props) => /* @__PURE__ */ jsxRuntimeExports.jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
1498
+ /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M8 12L13 17", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
1499
+ /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M17 7L12.5 11.5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
1500
+ /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M8 17L3 12", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
1501
+ /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M21 9L13 17L7 11", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
1502
+ ] });
1497
1503
  const ICONS_MAP = {
1498
1504
  activity: Activity,
1499
1505
  alarm: Alarm,
@@ -1546,6 +1552,7 @@ const ICONS_MAP = {
1546
1552
  "dots-triangle": DotsTriangle,
1547
1553
  "dots-vertical": DotsVertical,
1548
1554
  "dots-vertical-double": DotsVerticalDouble,
1555
+ "double-check": DoubleCheckIcon,
1549
1556
  download: Download,
1550
1557
  "download-in-circle": DownloadInCircle,
1551
1558
  email: Email,
@@ -10034,7 +10041,7 @@ const Button$1 = styled.button.attrs((props) => ({
10034
10041
  "aria-pressed": props.$active
10035
10042
  })).withConfig({
10036
10043
  componentId: "sc-ukgugp-1"
10037
- })(["box-sizing:border-box;display:flex;flex-direction:row;justify-content:center;align-items:center;border:none;background:", ";color:", ";font:", ";padding:", " ", ";gap:", ";", " cursor:pointer;&:hover{background:", ";font:", ";}&:disabled{cursor:not-allowed;font:", ";background:", ";}&:active,&:focus{background:", ";font:", ";&:disabled{background:", ";}}border-radius:", ";"], ({
10044
+ })(["box-sizing:border-box;display:flex;flex-direction:row;justify-content:center;align-items:center;border:none;background:", ";color:", ";font:", ";padding:", " ", ";gap:", ";", ";cursor:pointer;&:hover{background:", ";font:", ";color:", ";}&:disabled{cursor:not-allowed;font:", ";color:", ";background:", ';&:active,&:focus,&[aria-pressed="true"]{color:', ';}}&:active,&:focus,&[aria-pressed="true"]{background:', ";font:", ";color:", ";&:disabled{background:", ";}}border-radius:", ";"], ({
10038
10045
  $active,
10039
10046
  theme: theme2
10040
10047
  }) => $active ? theme2.click.button.group.color.background.active : theme2.click.button.group.color.background.default, ({
@@ -10055,15 +10062,23 @@ const Button$1 = styled.button.attrs((props) => ({
10055
10062
  theme: theme2
10056
10063
  }) => theme2.click.button.group.typography.label.hover, ({
10057
10064
  theme: theme2
10065
+ }) => theme2.click.button.group.color.text.hover, ({
10066
+ theme: theme2
10058
10067
  }) => theme2.click.button.group.typography.label.disabled, ({
10068
+ theme: theme2
10069
+ }) => theme2.click.button.group.color.text.disabled, ({
10059
10070
  theme: theme2,
10060
10071
  $active
10061
10072
  }) => theme2.click.button.group.color.background[$active ? "disabled-active" : "disabled"], ({
10062
10073
  theme: theme2
10074
+ }) => theme2.click.button.group.color.text.disabled, ({
10075
+ theme: theme2
10063
10076
  }) => theme2.click.button.group.color.background.active, ({
10064
10077
  theme: theme2
10065
10078
  }) => theme2.click.button.group.typography.label.active, ({
10066
10079
  theme: theme2
10080
+ }) => theme2.click.button.group.color.text.active, ({
10081
+ theme: theme2
10067
10082
  }) => theme2.click.button.group.color.background["disabled-active"], ({
10068
10083
  theme: theme2,
10069
10084
  $type,
@@ -32482,6 +32497,11 @@ const InputElement = styled.input.withConfig({
32482
32497
  &::placeholder {
32483
32498
  color: ${theme2.click.field.color.placeholder.default};
32484
32499
  }
32500
+
32501
+ &:disabled, &.disabled {
32502
+ &::placeholder {
32503
+ color: ${theme2.click.field.color.placeholder.disabled};
32504
+ }
32485
32505
  `);
32486
32506
  const NumberInputElement = styled(InputElement).withConfig({
32487
32507
  componentId: "sc-1pvd2nj-2"
@@ -42231,15 +42251,15 @@ const click$2 = {
42231
42251
  "default": "rgba(0,0,0,0)",
42232
42252
  hover: "#282828",
42233
42253
  active: "lch(18.2 0 0)",
42234
- disabled: "#414141",
42235
- "disabled-active": "lch(22 0 0)",
42254
+ disabled: "rgba(0,0,0,0)",
42255
+ "disabled-active": "lch(0 0 0 / 0)",
42236
42256
  panel: "rgba(0,0,0,0)"
42237
42257
  },
42238
42258
  text: {
42239
- "default": "#ffffff",
42240
- hover: "#ffffff",
42259
+ "default": "#c0c0c0",
42260
+ hover: "#c0c0c0",
42241
42261
  active: "#ffffff",
42242
- disabled: "#808080",
42262
+ disabled: "#414141",
42243
42263
  "disabled-active": "#808080"
42244
42264
  },
42245
42265
  stroke: {
@@ -42449,7 +42469,7 @@ const click$2 = {
42449
42469
  "default": "#ffffff",
42450
42470
  hover: "#ffffff",
42451
42471
  active: "#ffffff",
42452
- disabled: "#a0a0a0"
42472
+ disabled: "#606060"
42453
42473
  }
42454
42474
  }
42455
42475
  },
@@ -42551,21 +42571,25 @@ const click$2 = {
42551
42571
  "default": "#b3b6bd",
42552
42572
  hover: "#b3b6bd",
42553
42573
  active: "#ffffff",
42554
- disabled: "#a0a0a0",
42574
+ disabled: "#606060",
42555
42575
  error: "#ffbaba"
42556
42576
  },
42557
42577
  format: {
42558
- "default": "lch(72 4.18 268)",
42559
- hover: "lch(72 4.18 268)",
42560
- active: "lch(72 4.18 268)",
42578
+ "default": "lch(62.9 0 0)",
42579
+ hover: "lch(62.9 0 0)",
42580
+ active: "lch(62.9 0 0)",
42561
42581
  disabled: "#808080",
42562
- error: "lch(72 4.18 268)"
42582
+ error: "lch(62.9 0 0)"
42563
42583
  },
42564
42584
  genericLabel: {
42565
42585
  "default": "#ffffff",
42566
42586
  hover: "#ffffff",
42567
42587
  active: "#ffffff",
42568
42588
  disabled: "#a0a0a0"
42589
+ },
42590
+ placeholder: {
42591
+ "default": "#808080",
42592
+ disabled: "#606060"
42569
42593
  }
42570
42594
  }
42571
42595
  },
@@ -42586,11 +42610,11 @@ const click$2 = {
42586
42610
  disabled: "#414141"
42587
42611
  },
42588
42612
  format: {
42589
- "default": "lch(72 4.18 268)",
42590
- hover: "lch(72 4.18 268)",
42591
- active: "lch(72 4.18 268)",
42613
+ "default": "lch(62.9 0 0)",
42614
+ hover: "lch(62.9 0 0)",
42615
+ active: "lch(62.9 0 0)",
42592
42616
  disabled: "#808080",
42593
- error: "lch(72 4.18 268)"
42617
+ error: "lch(62.9 0 0)"
42594
42618
  },
42595
42619
  stroke: {
42596
42620
  "default": "#323232"
@@ -42629,7 +42653,7 @@ const click$2 = {
42629
42653
  autocomplete: {
42630
42654
  color: {
42631
42655
  placeholder: {
42632
- "default": "#9a9ea7"
42656
+ "default": "#808080"
42633
42657
  },
42634
42658
  searchTerm: {
42635
42659
  "default": "#ffffff"
@@ -43701,16 +43725,16 @@ const click$1 = {
43701
43725
  "default": "rgba(0,0,0,0)",
43702
43726
  hover: "#f6f7fa",
43703
43727
  active: "lch(97.3 1.53 272)",
43704
- disabled: "#dfdfdf",
43705
- "disabled-active": "lch(71.1 0 0)",
43728
+ disabled: "rgba(0,0,0,0)",
43729
+ "disabled-active": "lch(77.8 1.22 272)",
43706
43730
  panel: "rgba(0,0,0,0)"
43707
43731
  },
43708
43732
  text: {
43709
- "default": "#161517",
43710
- hover: "#161517",
43733
+ "default": "#505050",
43734
+ hover: "#505050",
43711
43735
  active: "#161517",
43712
43736
  disabled: "#a0a0a0",
43713
- "disabled-active": "#808080"
43737
+ "disabled-active": "#a0a0a0"
43714
43738
  },
43715
43739
  stroke: {
43716
43740
  "default": "rgba(0,0,0,0)",
@@ -44032,7 +44056,8 @@ const click$1 = {
44032
44056
  disabled: "#a0a0a0"
44033
44057
  },
44034
44058
  placeholder: {
44035
- "default": "#9a9ea7"
44059
+ "default": "#9a9ea7",
44060
+ disabled: "#b3b6bd"
44036
44061
  }
44037
44062
  }
44038
44063
  },
@@ -45487,16 +45512,16 @@ const click = {
45487
45512
  "default": "rgba(0,0,0,0)",
45488
45513
  hover: "#f6f7fa",
45489
45514
  active: "lch(97.3 1.53 272)",
45490
- disabled: "#dfdfdf",
45491
- "disabled-active": "lch(71.1 0 0)",
45515
+ disabled: "rgba(0,0,0,0)",
45516
+ "disabled-active": "lch(77.8 1.22 272)",
45492
45517
  panel: "rgba(0,0,0,0)"
45493
45518
  },
45494
45519
  text: {
45495
- "default": "#161517",
45496
- hover: "#161517",
45520
+ "default": "#505050",
45521
+ hover: "#505050",
45497
45522
  active: "#161517",
45498
45523
  disabled: "#a0a0a0",
45499
- "disabled-active": "#808080"
45524
+ "disabled-active": "#a0a0a0"
45500
45525
  },
45501
45526
  stroke: {
45502
45527
  "default": "rgba(0,0,0,0)",
@@ -46088,7 +46113,8 @@ const click = {
46088
46113
  disabled: "#a0a0a0"
46089
46114
  },
46090
46115
  placeholder: {
46091
- "default": "#9a9ea7"
46116
+ "default": "#9a9ea7",
46117
+ disabled: "#b3b6bd"
46092
46118
  }
46093
46119
  }
46094
46120
  },
@@ -47636,6 +47662,7 @@ const palette = {
47636
47662
  "400": "#a0a0a0",
47637
47663
  "500": "#808080",
47638
47664
  "600": "#606060",
47665
+ "650": "#505050",
47639
47666
  "700": "#414141",
47640
47667
  "712": "#323232",
47641
47668
  "725": "#282828",
@@ -47948,8 +47975,9 @@ const themes = {
47948
47975
  const useCUITheme = () => {
47949
47976
  const theme2 = useTheme();
47950
47977
  return {
47951
- name: theme2.name,
47978
+ breakpoint: theme2.breakpoint,
47952
47979
  global: theme2.global,
47980
+ name: theme2.name,
47953
47981
  sizes: theme2.sizes
47954
47982
  };
47955
47983
  };
@@ -1511,6 +1511,12 @@ var __publicField = (obj, key, value) => {
1511
1511
  /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M13.833 5.751V4.833C13.833 3.821 13.013 3 12 3V3C10.987 3 10.167 3.821 10.167 4.833V5.751", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
1512
1512
  /* @__PURE__ */ jsxRuntimeExports.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.563 10.1882V10.1882C6.563 7.68523 8.592 5.65723 11.094 5.65723H12.907C15.41 5.65723 17.438 7.68623 17.438 10.1882V10.1882V12.9852C17.438 13.5152 17.649 14.0242 18.024 14.3992L18.665 15.0402C19.04 15.4152 19.251 15.9242 19.251 16.4542V16.4542C19.251 17.4982 18.405 18.3442 17.361 18.3442H6.64C5.596 18.3442 4.75 17.4982 4.75 16.4542V16.4542C4.75 15.9242 4.961 15.4152 5.336 15.0402L5.977 14.3992C6.352 14.0242 6.563 13.5152 6.563 12.9852V10.1882Z", stroke: "#161517", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
1513
1513
  ] });
1514
+ const DoubleCheckIcon = (props) => /* @__PURE__ */ jsxRuntimeExports.jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
1515
+ /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M8 12L13 17", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
1516
+ /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M17 7L12.5 11.5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
1517
+ /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M8 17L3 12", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
1518
+ /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M21 9L13 17L7 11", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
1519
+ ] });
1514
1520
  const ICONS_MAP = {
1515
1521
  activity: Activity,
1516
1522
  alarm: Alarm,
@@ -1563,6 +1569,7 @@ var __publicField = (obj, key, value) => {
1563
1569
  "dots-triangle": DotsTriangle,
1564
1570
  "dots-vertical": DotsVertical,
1565
1571
  "dots-vertical-double": DotsVerticalDouble,
1572
+ "double-check": DoubleCheckIcon,
1566
1573
  download: Download,
1567
1574
  "download-in-circle": DownloadInCircle,
1568
1575
  email: Email,
@@ -10051,7 +10058,7 @@ var __publicField = (obj, key, value) => {
10051
10058
  "aria-pressed": props.$active
10052
10059
  })).withConfig({
10053
10060
  componentId: "sc-ukgugp-1"
10054
- })(["box-sizing:border-box;display:flex;flex-direction:row;justify-content:center;align-items:center;border:none;background:", ";color:", ";font:", ";padding:", " ", ";gap:", ";", " cursor:pointer;&:hover{background:", ";font:", ";}&:disabled{cursor:not-allowed;font:", ";background:", ";}&:active,&:focus{background:", ";font:", ";&:disabled{background:", ";}}border-radius:", ";"], ({
10061
+ })(["box-sizing:border-box;display:flex;flex-direction:row;justify-content:center;align-items:center;border:none;background:", ";color:", ";font:", ";padding:", " ", ";gap:", ";", ";cursor:pointer;&:hover{background:", ";font:", ";color:", ";}&:disabled{cursor:not-allowed;font:", ";color:", ";background:", ';&:active,&:focus,&[aria-pressed="true"]{color:', ';}}&:active,&:focus,&[aria-pressed="true"]{background:', ";font:", ";color:", ";&:disabled{background:", ";}}border-radius:", ";"], ({
10055
10062
  $active,
10056
10063
  theme: theme2
10057
10064
  }) => $active ? theme2.click.button.group.color.background.active : theme2.click.button.group.color.background.default, ({
@@ -10072,15 +10079,23 @@ var __publicField = (obj, key, value) => {
10072
10079
  theme: theme2
10073
10080
  }) => theme2.click.button.group.typography.label.hover, ({
10074
10081
  theme: theme2
10082
+ }) => theme2.click.button.group.color.text.hover, ({
10083
+ theme: theme2
10075
10084
  }) => theme2.click.button.group.typography.label.disabled, ({
10085
+ theme: theme2
10086
+ }) => theme2.click.button.group.color.text.disabled, ({
10076
10087
  theme: theme2,
10077
10088
  $active
10078
10089
  }) => theme2.click.button.group.color.background[$active ? "disabled-active" : "disabled"], ({
10079
10090
  theme: theme2
10091
+ }) => theme2.click.button.group.color.text.disabled, ({
10092
+ theme: theme2
10080
10093
  }) => theme2.click.button.group.color.background.active, ({
10081
10094
  theme: theme2
10082
10095
  }) => theme2.click.button.group.typography.label.active, ({
10083
10096
  theme: theme2
10097
+ }) => theme2.click.button.group.color.text.active, ({
10098
+ theme: theme2
10084
10099
  }) => theme2.click.button.group.color.background["disabled-active"], ({
10085
10100
  theme: theme2,
10086
10101
  $type,
@@ -32499,6 +32514,11 @@ var __publicField = (obj, key, value) => {
32499
32514
  &::placeholder {
32500
32515
  color: ${theme2.click.field.color.placeholder.default};
32501
32516
  }
32517
+
32518
+ &:disabled, &.disabled {
32519
+ &::placeholder {
32520
+ color: ${theme2.click.field.color.placeholder.disabled};
32521
+ }
32502
32522
  `);
32503
32523
  const NumberInputElement = styled(InputElement).withConfig({
32504
32524
  componentId: "sc-1pvd2nj-2"
@@ -42248,15 +42268,15 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
42248
42268
  "default": "rgba(0,0,0,0)",
42249
42269
  hover: "#282828",
42250
42270
  active: "lch(18.2 0 0)",
42251
- disabled: "#414141",
42252
- "disabled-active": "lch(22 0 0)",
42271
+ disabled: "rgba(0,0,0,0)",
42272
+ "disabled-active": "lch(0 0 0 / 0)",
42253
42273
  panel: "rgba(0,0,0,0)"
42254
42274
  },
42255
42275
  text: {
42256
- "default": "#ffffff",
42257
- hover: "#ffffff",
42276
+ "default": "#c0c0c0",
42277
+ hover: "#c0c0c0",
42258
42278
  active: "#ffffff",
42259
- disabled: "#808080",
42279
+ disabled: "#414141",
42260
42280
  "disabled-active": "#808080"
42261
42281
  },
42262
42282
  stroke: {
@@ -42466,7 +42486,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
42466
42486
  "default": "#ffffff",
42467
42487
  hover: "#ffffff",
42468
42488
  active: "#ffffff",
42469
- disabled: "#a0a0a0"
42489
+ disabled: "#606060"
42470
42490
  }
42471
42491
  }
42472
42492
  },
@@ -42568,21 +42588,25 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
42568
42588
  "default": "#b3b6bd",
42569
42589
  hover: "#b3b6bd",
42570
42590
  active: "#ffffff",
42571
- disabled: "#a0a0a0",
42591
+ disabled: "#606060",
42572
42592
  error: "#ffbaba"
42573
42593
  },
42574
42594
  format: {
42575
- "default": "lch(72 4.18 268)",
42576
- hover: "lch(72 4.18 268)",
42577
- active: "lch(72 4.18 268)",
42595
+ "default": "lch(62.9 0 0)",
42596
+ hover: "lch(62.9 0 0)",
42597
+ active: "lch(62.9 0 0)",
42578
42598
  disabled: "#808080",
42579
- error: "lch(72 4.18 268)"
42599
+ error: "lch(62.9 0 0)"
42580
42600
  },
42581
42601
  genericLabel: {
42582
42602
  "default": "#ffffff",
42583
42603
  hover: "#ffffff",
42584
42604
  active: "#ffffff",
42585
42605
  disabled: "#a0a0a0"
42606
+ },
42607
+ placeholder: {
42608
+ "default": "#808080",
42609
+ disabled: "#606060"
42586
42610
  }
42587
42611
  }
42588
42612
  },
@@ -42603,11 +42627,11 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
42603
42627
  disabled: "#414141"
42604
42628
  },
42605
42629
  format: {
42606
- "default": "lch(72 4.18 268)",
42607
- hover: "lch(72 4.18 268)",
42608
- active: "lch(72 4.18 268)",
42630
+ "default": "lch(62.9 0 0)",
42631
+ hover: "lch(62.9 0 0)",
42632
+ active: "lch(62.9 0 0)",
42609
42633
  disabled: "#808080",
42610
- error: "lch(72 4.18 268)"
42634
+ error: "lch(62.9 0 0)"
42611
42635
  },
42612
42636
  stroke: {
42613
42637
  "default": "#323232"
@@ -42646,7 +42670,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
42646
42670
  autocomplete: {
42647
42671
  color: {
42648
42672
  placeholder: {
42649
- "default": "#9a9ea7"
42673
+ "default": "#808080"
42650
42674
  },
42651
42675
  searchTerm: {
42652
42676
  "default": "#ffffff"
@@ -43718,16 +43742,16 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
43718
43742
  "default": "rgba(0,0,0,0)",
43719
43743
  hover: "#f6f7fa",
43720
43744
  active: "lch(97.3 1.53 272)",
43721
- disabled: "#dfdfdf",
43722
- "disabled-active": "lch(71.1 0 0)",
43745
+ disabled: "rgba(0,0,0,0)",
43746
+ "disabled-active": "lch(77.8 1.22 272)",
43723
43747
  panel: "rgba(0,0,0,0)"
43724
43748
  },
43725
43749
  text: {
43726
- "default": "#161517",
43727
- hover: "#161517",
43750
+ "default": "#505050",
43751
+ hover: "#505050",
43728
43752
  active: "#161517",
43729
43753
  disabled: "#a0a0a0",
43730
- "disabled-active": "#808080"
43754
+ "disabled-active": "#a0a0a0"
43731
43755
  },
43732
43756
  stroke: {
43733
43757
  "default": "rgba(0,0,0,0)",
@@ -44049,7 +44073,8 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
44049
44073
  disabled: "#a0a0a0"
44050
44074
  },
44051
44075
  placeholder: {
44052
- "default": "#9a9ea7"
44076
+ "default": "#9a9ea7",
44077
+ disabled: "#b3b6bd"
44053
44078
  }
44054
44079
  }
44055
44080
  },
@@ -45504,16 +45529,16 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
45504
45529
  "default": "rgba(0,0,0,0)",
45505
45530
  hover: "#f6f7fa",
45506
45531
  active: "lch(97.3 1.53 272)",
45507
- disabled: "#dfdfdf",
45508
- "disabled-active": "lch(71.1 0 0)",
45532
+ disabled: "rgba(0,0,0,0)",
45533
+ "disabled-active": "lch(77.8 1.22 272)",
45509
45534
  panel: "rgba(0,0,0,0)"
45510
45535
  },
45511
45536
  text: {
45512
- "default": "#161517",
45513
- hover: "#161517",
45537
+ "default": "#505050",
45538
+ hover: "#505050",
45514
45539
  active: "#161517",
45515
45540
  disabled: "#a0a0a0",
45516
- "disabled-active": "#808080"
45541
+ "disabled-active": "#a0a0a0"
45517
45542
  },
45518
45543
  stroke: {
45519
45544
  "default": "rgba(0,0,0,0)",
@@ -46105,7 +46130,8 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
46105
46130
  disabled: "#a0a0a0"
46106
46131
  },
46107
46132
  placeholder: {
46108
- "default": "#9a9ea7"
46133
+ "default": "#9a9ea7",
46134
+ disabled: "#b3b6bd"
46109
46135
  }
46110
46136
  }
46111
46137
  },
@@ -47653,6 +47679,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
47653
47679
  "400": "#a0a0a0",
47654
47680
  "500": "#808080",
47655
47681
  "600": "#606060",
47682
+ "650": "#505050",
47656
47683
  "700": "#414141",
47657
47684
  "712": "#323232",
47658
47685
  "725": "#282828",
@@ -47965,8 +47992,9 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
47965
47992
  const useCUITheme = () => {
47966
47993
  const theme2 = styled.useTheme();
47967
47994
  return {
47968
- name: theme2.name,
47995
+ breakpoint: theme2.breakpoint,
47969
47996
  global: theme2.global,
47997
+ name: theme2.name,
47970
47998
  sizes: theme2.sizes
47971
47999
  };
47972
48000
  };
@@ -51,6 +51,7 @@ export declare const ICONS_MAP: {
51
51
  "dots-triangle": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
52
52
  "dots-vertical": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
53
53
  "dots-vertical-double": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
54
+ "double-check": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
54
55
  download: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
55
56
  "download-in-circle": (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
56
57
  email: (props: import('react').SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -5,7 +5,7 @@ import { LogoName } from '../Logos/types';
5
5
  import { PaymentName, PaymentProps } from '../icons/Payments';
6
6
 
7
7
  export type IconSize = "xs" | "sm" | "md" | "lg" | "xl" | "xxl";
8
- 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", "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", "cross", "credit-card", "data", "database", "disk", "display", "document", "dot", "dots-horizontal", "dots-triangle", "dots-vertical", "dots-vertical-double", "download", "download-in-circle", "email", "empty", "enter", "eye", "eye-closed", "filter", "fire", "flag", "flask", "folder-closed", "folder-open", "gear", "gift", "git-merge", "history", "horizontal-loading", "home", "http", "http-monitoring", "info-in-circle", "information", "insert-row", "integrations", "key", "keys", "lifebuoy", "light-bulb", "lightening", "line-in-circle", "loading", "loading-animated", "lock", "metrics", "metrics-alt", "no-cloud", "pause", "payment", "pencil", "pie-chart", "play", "play-in-circle", "plus", "popout", "puzzle-piece", "query", "question", "refresh", "rocket", "search", "secure", "server", "services", "settings", "share", "share-arrow", "share-network", "slide-in", "slide-out", "sort-alt", "sort", "sparkle", "speaker", "speed", "star", "stop", "support", "table", "taxi", "trash", "upload", "url", "user", "users", "warning", "waves"];
8
+ 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", "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", "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", "history", "horizontal-loading", "home", "http", "http-monitoring", "info-in-circle", "information", "insert-row", "integrations", "key", "keys", "lifebuoy", "light-bulb", "lightening", "line-in-circle", "loading", "loading-animated", "lock", "metrics", "metrics-alt", "no-cloud", "pause", "payment", "pencil", "pie-chart", "play", "play-in-circle", "plus", "popout", "puzzle-piece", "query", "question", "refresh", "rocket", "search", "secure", "server", "services", "settings", "share", "share-arrow", "share-network", "slide-in", "slide-out", "sort-alt", "sort", "sparkle", "speaker", "speed", "star", "stop", "support", "table", "taxi", "trash", "upload", "url", "user", "users", "warning", "waves"];
9
9
  export type IconName = (typeof ICON_NAMES)[number];
10
10
  export interface IconProps extends SVGAttributes<HTMLOrSVGElement> {
11
11
  name: IconName;
@@ -0,0 +1,4 @@
1
+ import { SVGAttributes } from 'react';
2
+
3
+ declare const DoubleCheckIcon: (props: SVGAttributes<SVGElement>) => import("react/jsx-runtime").JSX.Element;
4
+ export default DoubleCheckIcon;
@@ -1309,6 +1309,7 @@ export interface Theme {
1309
1309
  };
1310
1310
  "placeholder": {
1311
1311
  "default": string;
1312
+ "disabled": string;
1312
1313
  };
1313
1314
  };
1314
1315
  };
@@ -2856,6 +2857,7 @@ export interface Theme {
2856
2857
  "400": string;
2857
2858
  "500": string;
2858
2859
  "600": string;
2860
+ "650": string;
2859
2861
  "700": string;
2860
2862
  "712": string;
2861
2863
  "725": string;
@@ -387,15 +387,15 @@ declare const _default: {
387
387
  "default": "rgba(0,0,0,0)",
388
388
  "hover": "#282828",
389
389
  "active": "lch(18.2 0 0)",
390
- "disabled": "#414141",
391
- "disabled-active": "lch(22 0 0)",
390
+ "disabled": "rgba(0,0,0,0)",
391
+ "disabled-active": "lch(0 0 0 / 0)",
392
392
  "panel": "rgba(0,0,0,0)"
393
393
  },
394
394
  "text": {
395
- "default": "#ffffff",
396
- "hover": "#ffffff",
395
+ "default": "#c0c0c0",
396
+ "hover": "#c0c0c0",
397
397
  "active": "#ffffff",
398
- "disabled": "#808080",
398
+ "disabled": "#414141",
399
399
  "disabled-active": "#808080"
400
400
  },
401
401
  "stroke": {
@@ -605,7 +605,7 @@ declare const _default: {
605
605
  "default": "#ffffff",
606
606
  "hover": "#ffffff",
607
607
  "active": "#ffffff",
608
- "disabled": "#a0a0a0"
608
+ "disabled": "#606060"
609
609
  }
610
610
  }
611
611
  },
@@ -707,21 +707,25 @@ declare const _default: {
707
707
  "default": "#b3b6bd",
708
708
  "hover": "#b3b6bd",
709
709
  "active": "#ffffff",
710
- "disabled": "#a0a0a0",
710
+ "disabled": "#606060",
711
711
  "error": "#ffbaba"
712
712
  },
713
713
  "format": {
714
- "default": "lch(72 4.18 268)",
715
- "hover": "lch(72 4.18 268)",
716
- "active": "lch(72 4.18 268)",
714
+ "default": "lch(62.9 0 0)",
715
+ "hover": "lch(62.9 0 0)",
716
+ "active": "lch(62.9 0 0)",
717
717
  "disabled": "#808080",
718
- "error": "lch(72 4.18 268)"
718
+ "error": "lch(62.9 0 0)"
719
719
  },
720
720
  "genericLabel": {
721
721
  "default": "#ffffff",
722
722
  "hover": "#ffffff",
723
723
  "active": "#ffffff",
724
724
  "disabled": "#a0a0a0"
725
+ },
726
+ "placeholder": {
727
+ "default": "#808080",
728
+ "disabled": "#606060"
725
729
  }
726
730
  }
727
731
  },
@@ -742,11 +746,11 @@ declare const _default: {
742
746
  "disabled": "#414141"
743
747
  },
744
748
  "format": {
745
- "default": "lch(72 4.18 268)",
746
- "hover": "lch(72 4.18 268)",
747
- "active": "lch(72 4.18 268)",
749
+ "default": "lch(62.9 0 0)",
750
+ "hover": "lch(62.9 0 0)",
751
+ "active": "lch(62.9 0 0)",
748
752
  "disabled": "#808080",
749
- "error": "lch(72 4.18 268)"
753
+ "error": "lch(62.9 0 0)"
750
754
  },
751
755
  "stroke": {
752
756
  "default": "#323232"
@@ -785,7 +789,7 @@ declare const _default: {
785
789
  "autocomplete": {
786
790
  "color": {
787
791
  "placeholder": {
788
- "default": "#9a9ea7"
792
+ "default": "#808080"
789
793
  },
790
794
  "searchTerm": {
791
795
  "default": "#ffffff"
@@ -707,16 +707,16 @@ declare const _default: {
707
707
  "default": "rgba(0,0,0,0)",
708
708
  "hover": "#f6f7fa",
709
709
  "active": "lch(97.3 1.53 272)",
710
- "disabled": "#dfdfdf",
711
- "disabled-active": "lch(71.1 0 0)",
710
+ "disabled": "rgba(0,0,0,0)",
711
+ "disabled-active": "lch(77.8 1.22 272)",
712
712
  "panel": "rgba(0,0,0,0)"
713
713
  },
714
714
  "text": {
715
- "default": "#161517",
716
- "hover": "#161517",
715
+ "default": "#505050",
716
+ "hover": "#505050",
717
717
  "active": "#161517",
718
718
  "disabled": "#a0a0a0",
719
- "disabled-active": "#808080"
719
+ "disabled-active": "#a0a0a0"
720
720
  },
721
721
  "stroke": {
722
722
  "default": "rgba(0,0,0,0)",
@@ -1308,7 +1308,8 @@ declare const _default: {
1308
1308
  "disabled": "#a0a0a0"
1309
1309
  },
1310
1310
  "placeholder": {
1311
- "default": "#9a9ea7"
1311
+ "default": "#9a9ea7",
1312
+ "disabled": "#b3b6bd"
1312
1313
  }
1313
1314
  }
1314
1315
  },
@@ -2856,6 +2857,7 @@ declare const _default: {
2856
2857
  "400": "#a0a0a0",
2857
2858
  "500": "#808080",
2858
2859
  "600": "#606060",
2860
+ "650": "#505050",
2859
2861
  "700": "#414141",
2860
2862
  "712": "#323232",
2861
2863
  "725": "#282828",
@@ -387,16 +387,16 @@ declare const _default: {
387
387
  "default": "rgba(0,0,0,0)",
388
388
  "hover": "#f6f7fa",
389
389
  "active": "lch(97.3 1.53 272)",
390
- "disabled": "#dfdfdf",
391
- "disabled-active": "lch(71.1 0 0)",
390
+ "disabled": "rgba(0,0,0,0)",
391
+ "disabled-active": "lch(77.8 1.22 272)",
392
392
  "panel": "rgba(0,0,0,0)"
393
393
  },
394
394
  "text": {
395
- "default": "#161517",
396
- "hover": "#161517",
395
+ "default": "#505050",
396
+ "hover": "#505050",
397
397
  "active": "#161517",
398
398
  "disabled": "#a0a0a0",
399
- "disabled-active": "#808080"
399
+ "disabled-active": "#a0a0a0"
400
400
  },
401
401
  "stroke": {
402
402
  "default": "rgba(0,0,0,0)",
@@ -718,7 +718,8 @@ declare const _default: {
718
718
  "disabled": "#a0a0a0"
719
719
  },
720
720
  "placeholder": {
721
- "default": "#9a9ea7"
721
+ "default": "#9a9ea7",
722
+ "disabled": "#b3b6bd"
722
723
  }
723
724
  }
724
725
  },
@@ -6,7 +6,7 @@ declare module "styled-components" {
6
6
  interface DefaultTheme extends Theme {
7
7
  }
8
8
  }
9
- type CUIThemeType = Pick<Theme, "global" | "sizes" | "name">;
9
+ type CUIThemeType = Pick<Theme, "breakpoint" | "global" | "name" | "sizes">;
10
10
  declare const useCUITheme: () => CUIThemeType;
11
11
  export type { ThemeName, CUIThemeType };
12
12
  export { useCUITheme };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clickhouse/click-ui",
3
- "version": "0.0.146",
3
+ "version": "0.0.147",
4
4
  "description": "Official ClickHouse design system react library",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",