@clickhouse/click-ui 0.0.146 → 0.0.148

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,
@@ -16972,7 +16987,7 @@ const Column = ({
16972
16987
  const isSelected = selectionType === "selectDirect";
16973
16988
  const isSelectedLeft = (leftSelectionType === "selectDirect" || isSelected) && leftSelectionType !== selectionType;
16974
16989
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(HeaderCellContainer, { $width: columnWidth(columnIndex), $columnPosition: columnPosition, $height: height, "data-header": columnIndex, children: [
16975
- /* @__PURE__ */ jsxRuntimeExports.jsx(StyledCell, { $type: "header", as: cell, columnIndex, type: "header-cell", $isFirstColumn: isFirstColumn, $selectionType: selectionType, $isLastColumn: isLastColumn, $isFocused: false, $isSelectedLeft: isSelectedLeft, $isSelectedTop: isSelected, $isLastRow: false, $isFirstRow: true, $height: height, "data-grid-row": -1, "data-grid-column": columnIndex, "data-selected": isSelected, $showBorder: showBorder }),
16990
+ /* @__PURE__ */ jsxRuntimeExports.jsx(StyledCell, { $type: "header", as: cell, columnIndex, type: "header-cell", $isFirstColumn: isFirstColumn, $selectionType: selectionType, $isLastColumn: isLastColumn, $isFocused: false, $isSelectedLeft: isSelectedLeft, $isSelectedTop: isSelected, $isLastRow: false, $isFirstRow: true, $height: height, "data-grid-row": -1, "data-grid-column": columnIndex, "data-selected": isSelected, $showBorder: showBorder, width: columnWidth(columnIndex) }),
16976
16991
  /* @__PURE__ */ jsxRuntimeExports.jsx(ColumnResizer, { height, onColumnResize, columnIndex, setResizeCursorPosition })
16977
16992
  ] });
16978
16993
  };
@@ -31344,6 +31359,7 @@ const addCellToRow = (row, cell, rowIndex, columnIndex) => {
31344
31359
  const html = renderToStaticMarkup(createElement$1(cell, {
31345
31360
  rowIndex,
31346
31361
  columnIndex,
31362
+ width: 1e3,
31347
31363
  type: "row-cell"
31348
31364
  }));
31349
31365
  td.innerHTML = html;
@@ -32057,11 +32073,15 @@ const Grid = forwardRef(({
32057
32073
  lastRowStart.current = rowStart;
32058
32074
  }
32059
32075
  }, [rowStart, onItemsRendered]);
32076
+ const CellWithWidth = (args) => {
32077
+ const width = columnWidth(args.columnIndex);
32078
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Cell, { ...args, width });
32079
+ };
32060
32080
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(ContextMenu, { modal: false, onOpenChange: setContextMenuOpen, children: [
32061
32081
  /* @__PURE__ */ jsxRuntimeExports.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__ */ jsxRuntimeExports.jsx(AutoSizer, { onResize, children: ({
32062
32082
  height,
32063
32083
  width
32064
- }) => /* @__PURE__ */ jsxRuntimeExports.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: Cell }) }) }),
32084
+ }) => /* @__PURE__ */ jsxRuntimeExports.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 }) }) }),
32065
32085
  /* @__PURE__ */ jsxRuntimeExports.jsx(ContextMenu.Content, { children: menuOptions.map((option2, index2) => /* @__PURE__ */ jsxRuntimeExports.jsx(ContextMenu.Item, { onSelect: option2.onSelect, children: option2.label }, `grid-${index2}`)) })
32066
32086
  ] });
32067
32087
  });
@@ -32482,6 +32502,11 @@ const InputElement = styled.input.withConfig({
32482
32502
  &::placeholder {
32483
32503
  color: ${theme2.click.field.color.placeholder.default};
32484
32504
  }
32505
+
32506
+ &:disabled, &.disabled {
32507
+ &::placeholder {
32508
+ color: ${theme2.click.field.color.placeholder.disabled};
32509
+ }
32485
32510
  `);
32486
32511
  const NumberInputElement = styled(InputElement).withConfig({
32487
32512
  componentId: "sc-1pvd2nj-2"
@@ -42231,15 +42256,15 @@ const click$2 = {
42231
42256
  "default": "rgba(0,0,0,0)",
42232
42257
  hover: "#282828",
42233
42258
  active: "lch(18.2 0 0)",
42234
- disabled: "#414141",
42235
- "disabled-active": "lch(22 0 0)",
42259
+ disabled: "rgba(0,0,0,0)",
42260
+ "disabled-active": "lch(0 0 0 / 0)",
42236
42261
  panel: "rgba(0,0,0,0)"
42237
42262
  },
42238
42263
  text: {
42239
- "default": "#ffffff",
42240
- hover: "#ffffff",
42264
+ "default": "#c0c0c0",
42265
+ hover: "#c0c0c0",
42241
42266
  active: "#ffffff",
42242
- disabled: "#808080",
42267
+ disabled: "#414141",
42243
42268
  "disabled-active": "#808080"
42244
42269
  },
42245
42270
  stroke: {
@@ -42449,7 +42474,7 @@ const click$2 = {
42449
42474
  "default": "#ffffff",
42450
42475
  hover: "#ffffff",
42451
42476
  active: "#ffffff",
42452
- disabled: "#a0a0a0"
42477
+ disabled: "#606060"
42453
42478
  }
42454
42479
  }
42455
42480
  },
@@ -42551,21 +42576,25 @@ const click$2 = {
42551
42576
  "default": "#b3b6bd",
42552
42577
  hover: "#b3b6bd",
42553
42578
  active: "#ffffff",
42554
- disabled: "#a0a0a0",
42579
+ disabled: "#606060",
42555
42580
  error: "#ffbaba"
42556
42581
  },
42557
42582
  format: {
42558
- "default": "lch(72 4.18 268)",
42559
- hover: "lch(72 4.18 268)",
42560
- active: "lch(72 4.18 268)",
42583
+ "default": "lch(62.9 0 0)",
42584
+ hover: "lch(62.9 0 0)",
42585
+ active: "lch(62.9 0 0)",
42561
42586
  disabled: "#808080",
42562
- error: "lch(72 4.18 268)"
42587
+ error: "lch(62.9 0 0)"
42563
42588
  },
42564
42589
  genericLabel: {
42565
42590
  "default": "#ffffff",
42566
42591
  hover: "#ffffff",
42567
42592
  active: "#ffffff",
42568
42593
  disabled: "#a0a0a0"
42594
+ },
42595
+ placeholder: {
42596
+ "default": "#808080",
42597
+ disabled: "#606060"
42569
42598
  }
42570
42599
  }
42571
42600
  },
@@ -42586,11 +42615,11 @@ const click$2 = {
42586
42615
  disabled: "#414141"
42587
42616
  },
42588
42617
  format: {
42589
- "default": "lch(72 4.18 268)",
42590
- hover: "lch(72 4.18 268)",
42591
- active: "lch(72 4.18 268)",
42618
+ "default": "lch(62.9 0 0)",
42619
+ hover: "lch(62.9 0 0)",
42620
+ active: "lch(62.9 0 0)",
42592
42621
  disabled: "#808080",
42593
- error: "lch(72 4.18 268)"
42622
+ error: "lch(62.9 0 0)"
42594
42623
  },
42595
42624
  stroke: {
42596
42625
  "default": "#323232"
@@ -42629,7 +42658,7 @@ const click$2 = {
42629
42658
  autocomplete: {
42630
42659
  color: {
42631
42660
  placeholder: {
42632
- "default": "#9a9ea7"
42661
+ "default": "#808080"
42633
42662
  },
42634
42663
  searchTerm: {
42635
42664
  "default": "#ffffff"
@@ -43701,16 +43730,16 @@ const click$1 = {
43701
43730
  "default": "rgba(0,0,0,0)",
43702
43731
  hover: "#f6f7fa",
43703
43732
  active: "lch(97.3 1.53 272)",
43704
- disabled: "#dfdfdf",
43705
- "disabled-active": "lch(71.1 0 0)",
43733
+ disabled: "rgba(0,0,0,0)",
43734
+ "disabled-active": "lch(77.8 1.22 272)",
43706
43735
  panel: "rgba(0,0,0,0)"
43707
43736
  },
43708
43737
  text: {
43709
- "default": "#161517",
43710
- hover: "#161517",
43738
+ "default": "#505050",
43739
+ hover: "#505050",
43711
43740
  active: "#161517",
43712
43741
  disabled: "#a0a0a0",
43713
- "disabled-active": "#808080"
43742
+ "disabled-active": "#a0a0a0"
43714
43743
  },
43715
43744
  stroke: {
43716
43745
  "default": "rgba(0,0,0,0)",
@@ -44032,7 +44061,8 @@ const click$1 = {
44032
44061
  disabled: "#a0a0a0"
44033
44062
  },
44034
44063
  placeholder: {
44035
- "default": "#9a9ea7"
44064
+ "default": "#9a9ea7",
44065
+ disabled: "#b3b6bd"
44036
44066
  }
44037
44067
  }
44038
44068
  },
@@ -45487,16 +45517,16 @@ const click = {
45487
45517
  "default": "rgba(0,0,0,0)",
45488
45518
  hover: "#f6f7fa",
45489
45519
  active: "lch(97.3 1.53 272)",
45490
- disabled: "#dfdfdf",
45491
- "disabled-active": "lch(71.1 0 0)",
45520
+ disabled: "rgba(0,0,0,0)",
45521
+ "disabled-active": "lch(77.8 1.22 272)",
45492
45522
  panel: "rgba(0,0,0,0)"
45493
45523
  },
45494
45524
  text: {
45495
- "default": "#161517",
45496
- hover: "#161517",
45525
+ "default": "#505050",
45526
+ hover: "#505050",
45497
45527
  active: "#161517",
45498
45528
  disabled: "#a0a0a0",
45499
- "disabled-active": "#808080"
45529
+ "disabled-active": "#a0a0a0"
45500
45530
  },
45501
45531
  stroke: {
45502
45532
  "default": "rgba(0,0,0,0)",
@@ -46088,7 +46118,8 @@ const click = {
46088
46118
  disabled: "#a0a0a0"
46089
46119
  },
46090
46120
  placeholder: {
46091
- "default": "#9a9ea7"
46121
+ "default": "#9a9ea7",
46122
+ disabled: "#b3b6bd"
46092
46123
  }
46093
46124
  }
46094
46125
  },
@@ -47636,6 +47667,7 @@ const palette = {
47636
47667
  "400": "#a0a0a0",
47637
47668
  "500": "#808080",
47638
47669
  "600": "#606060",
47670
+ "650": "#505050",
47639
47671
  "700": "#414141",
47640
47672
  "712": "#323232",
47641
47673
  "725": "#282828",
@@ -47948,8 +47980,9 @@ const themes = {
47948
47980
  const useCUITheme = () => {
47949
47981
  const theme2 = useTheme();
47950
47982
  return {
47951
- name: theme2.name,
47983
+ breakpoint: theme2.breakpoint,
47952
47984
  global: theme2.global,
47985
+ name: theme2.name,
47953
47986
  sizes: theme2.sizes
47954
47987
  };
47955
47988
  };
@@ -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,
@@ -16989,7 +17004,7 @@ var __publicField = (obj, key, value) => {
16989
17004
  const isSelected = selectionType === "selectDirect";
16990
17005
  const isSelectedLeft = (leftSelectionType === "selectDirect" || isSelected) && leftSelectionType !== selectionType;
16991
17006
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(HeaderCellContainer, { $width: columnWidth(columnIndex), $columnPosition: columnPosition, $height: height, "data-header": columnIndex, children: [
16992
- /* @__PURE__ */ jsxRuntimeExports.jsx(StyledCell, { $type: "header", as: cell, columnIndex, type: "header-cell", $isFirstColumn: isFirstColumn, $selectionType: selectionType, $isLastColumn: isLastColumn, $isFocused: false, $isSelectedLeft: isSelectedLeft, $isSelectedTop: isSelected, $isLastRow: false, $isFirstRow: true, $height: height, "data-grid-row": -1, "data-grid-column": columnIndex, "data-selected": isSelected, $showBorder: showBorder }),
17007
+ /* @__PURE__ */ jsxRuntimeExports.jsx(StyledCell, { $type: "header", as: cell, columnIndex, type: "header-cell", $isFirstColumn: isFirstColumn, $selectionType: selectionType, $isLastColumn: isLastColumn, $isFocused: false, $isSelectedLeft: isSelectedLeft, $isSelectedTop: isSelected, $isLastRow: false, $isFirstRow: true, $height: height, "data-grid-row": -1, "data-grid-column": columnIndex, "data-selected": isSelected, $showBorder: showBorder, width: columnWidth(columnIndex) }),
16993
17008
  /* @__PURE__ */ jsxRuntimeExports.jsx(ColumnResizer, { height, onColumnResize, columnIndex, setResizeCursorPosition })
16994
17009
  ] });
16995
17010
  };
@@ -31361,6 +31376,7 @@ var __publicField = (obj, key, value) => {
31361
31376
  const html = renderToStaticMarkup(React.createElement(cell, {
31362
31377
  rowIndex,
31363
31378
  columnIndex,
31379
+ width: 1e3,
31364
31380
  type: "row-cell"
31365
31381
  }));
31366
31382
  td.innerHTML = html;
@@ -32074,11 +32090,15 @@ var __publicField = (obj, key, value) => {
32074
32090
  lastRowStart.current = rowStart;
32075
32091
  }
32076
32092
  }, [rowStart, onItemsRendered]);
32093
+ const CellWithWidth = (args) => {
32094
+ const width = columnWidth(args.columnIndex);
32095
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Cell, { ...args, width });
32096
+ };
32077
32097
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(ContextMenu, { modal: false, onOpenChange: setContextMenuOpen, children: [
32078
32098
  /* @__PURE__ */ jsxRuntimeExports.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__ */ jsxRuntimeExports.jsx(AutoSizer, { onResize, children: ({
32079
32099
  height,
32080
32100
  width
32081
- }) => /* @__PURE__ */ jsxRuntimeExports.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: Cell }) }) }),
32101
+ }) => /* @__PURE__ */ jsxRuntimeExports.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 }) }) }),
32082
32102
  /* @__PURE__ */ jsxRuntimeExports.jsx(ContextMenu.Content, { children: menuOptions.map((option, index2) => /* @__PURE__ */ jsxRuntimeExports.jsx(ContextMenu.Item, { onSelect: option.onSelect, children: option.label }, `grid-${index2}`)) })
32083
32103
  ] });
32084
32104
  });
@@ -32499,6 +32519,11 @@ var __publicField = (obj, key, value) => {
32499
32519
  &::placeholder {
32500
32520
  color: ${theme2.click.field.color.placeholder.default};
32501
32521
  }
32522
+
32523
+ &:disabled, &.disabled {
32524
+ &::placeholder {
32525
+ color: ${theme2.click.field.color.placeholder.disabled};
32526
+ }
32502
32527
  `);
32503
32528
  const NumberInputElement = styled(InputElement).withConfig({
32504
32529
  componentId: "sc-1pvd2nj-2"
@@ -42248,15 +42273,15 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
42248
42273
  "default": "rgba(0,0,0,0)",
42249
42274
  hover: "#282828",
42250
42275
  active: "lch(18.2 0 0)",
42251
- disabled: "#414141",
42252
- "disabled-active": "lch(22 0 0)",
42276
+ disabled: "rgba(0,0,0,0)",
42277
+ "disabled-active": "lch(0 0 0 / 0)",
42253
42278
  panel: "rgba(0,0,0,0)"
42254
42279
  },
42255
42280
  text: {
42256
- "default": "#ffffff",
42257
- hover: "#ffffff",
42281
+ "default": "#c0c0c0",
42282
+ hover: "#c0c0c0",
42258
42283
  active: "#ffffff",
42259
- disabled: "#808080",
42284
+ disabled: "#414141",
42260
42285
  "disabled-active": "#808080"
42261
42286
  },
42262
42287
  stroke: {
@@ -42466,7 +42491,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
42466
42491
  "default": "#ffffff",
42467
42492
  hover: "#ffffff",
42468
42493
  active: "#ffffff",
42469
- disabled: "#a0a0a0"
42494
+ disabled: "#606060"
42470
42495
  }
42471
42496
  }
42472
42497
  },
@@ -42568,21 +42593,25 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
42568
42593
  "default": "#b3b6bd",
42569
42594
  hover: "#b3b6bd",
42570
42595
  active: "#ffffff",
42571
- disabled: "#a0a0a0",
42596
+ disabled: "#606060",
42572
42597
  error: "#ffbaba"
42573
42598
  },
42574
42599
  format: {
42575
- "default": "lch(72 4.18 268)",
42576
- hover: "lch(72 4.18 268)",
42577
- active: "lch(72 4.18 268)",
42600
+ "default": "lch(62.9 0 0)",
42601
+ hover: "lch(62.9 0 0)",
42602
+ active: "lch(62.9 0 0)",
42578
42603
  disabled: "#808080",
42579
- error: "lch(72 4.18 268)"
42604
+ error: "lch(62.9 0 0)"
42580
42605
  },
42581
42606
  genericLabel: {
42582
42607
  "default": "#ffffff",
42583
42608
  hover: "#ffffff",
42584
42609
  active: "#ffffff",
42585
42610
  disabled: "#a0a0a0"
42611
+ },
42612
+ placeholder: {
42613
+ "default": "#808080",
42614
+ disabled: "#606060"
42586
42615
  }
42587
42616
  }
42588
42617
  },
@@ -42603,11 +42632,11 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
42603
42632
  disabled: "#414141"
42604
42633
  },
42605
42634
  format: {
42606
- "default": "lch(72 4.18 268)",
42607
- hover: "lch(72 4.18 268)",
42608
- active: "lch(72 4.18 268)",
42635
+ "default": "lch(62.9 0 0)",
42636
+ hover: "lch(62.9 0 0)",
42637
+ active: "lch(62.9 0 0)",
42609
42638
  disabled: "#808080",
42610
- error: "lch(72 4.18 268)"
42639
+ error: "lch(62.9 0 0)"
42611
42640
  },
42612
42641
  stroke: {
42613
42642
  "default": "#323232"
@@ -42646,7 +42675,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
42646
42675
  autocomplete: {
42647
42676
  color: {
42648
42677
  placeholder: {
42649
- "default": "#9a9ea7"
42678
+ "default": "#808080"
42650
42679
  },
42651
42680
  searchTerm: {
42652
42681
  "default": "#ffffff"
@@ -43718,16 +43747,16 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
43718
43747
  "default": "rgba(0,0,0,0)",
43719
43748
  hover: "#f6f7fa",
43720
43749
  active: "lch(97.3 1.53 272)",
43721
- disabled: "#dfdfdf",
43722
- "disabled-active": "lch(71.1 0 0)",
43750
+ disabled: "rgba(0,0,0,0)",
43751
+ "disabled-active": "lch(77.8 1.22 272)",
43723
43752
  panel: "rgba(0,0,0,0)"
43724
43753
  },
43725
43754
  text: {
43726
- "default": "#161517",
43727
- hover: "#161517",
43755
+ "default": "#505050",
43756
+ hover: "#505050",
43728
43757
  active: "#161517",
43729
43758
  disabled: "#a0a0a0",
43730
- "disabled-active": "#808080"
43759
+ "disabled-active": "#a0a0a0"
43731
43760
  },
43732
43761
  stroke: {
43733
43762
  "default": "rgba(0,0,0,0)",
@@ -44049,7 +44078,8 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
44049
44078
  disabled: "#a0a0a0"
44050
44079
  },
44051
44080
  placeholder: {
44052
- "default": "#9a9ea7"
44081
+ "default": "#9a9ea7",
44082
+ disabled: "#b3b6bd"
44053
44083
  }
44054
44084
  }
44055
44085
  },
@@ -45504,16 +45534,16 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
45504
45534
  "default": "rgba(0,0,0,0)",
45505
45535
  hover: "#f6f7fa",
45506
45536
  active: "lch(97.3 1.53 272)",
45507
- disabled: "#dfdfdf",
45508
- "disabled-active": "lch(71.1 0 0)",
45537
+ disabled: "rgba(0,0,0,0)",
45538
+ "disabled-active": "lch(77.8 1.22 272)",
45509
45539
  panel: "rgba(0,0,0,0)"
45510
45540
  },
45511
45541
  text: {
45512
- "default": "#161517",
45513
- hover: "#161517",
45542
+ "default": "#505050",
45543
+ hover: "#505050",
45514
45544
  active: "#161517",
45515
45545
  disabled: "#a0a0a0",
45516
- "disabled-active": "#808080"
45546
+ "disabled-active": "#a0a0a0"
45517
45547
  },
45518
45548
  stroke: {
45519
45549
  "default": "rgba(0,0,0,0)",
@@ -46105,7 +46135,8 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
46105
46135
  disabled: "#a0a0a0"
46106
46136
  },
46107
46137
  placeholder: {
46108
- "default": "#9a9ea7"
46138
+ "default": "#9a9ea7",
46139
+ disabled: "#b3b6bd"
46109
46140
  }
46110
46141
  }
46111
46142
  },
@@ -47653,6 +47684,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
47653
47684
  "400": "#a0a0a0",
47654
47685
  "500": "#808080",
47655
47686
  "600": "#606060",
47687
+ "650": "#505050",
47656
47688
  "700": "#414141",
47657
47689
  "712": "#323232",
47658
47690
  "725": "#282828",
@@ -47965,8 +47997,9 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
47965
47997
  const useCUITheme = () => {
47966
47998
  const theme2 = styled.useTheme();
47967
47999
  return {
47968
- name: theme2.name,
48000
+ breakpoint: theme2.breakpoint,
47969
48001
  global: theme2.global,
48002
+ name: theme2.name,
47970
48003
  sizes: theme2.sizes
47971
48004
  };
47972
48005
  };
@@ -1,4 +1,8 @@
1
1
  import { GridChildComponentProps } from 'react-window';
2
2
  import { ItemDataType } from './types';
3
3
 
4
- export declare const Cell: import('react').MemoExoticComponent<({ data, rowIndex, columnIndex, style, ...props }: GridChildComponentProps<ItemDataType>) => import("react/jsx-runtime").JSX.Element>;
4
+ type CellProps = GridChildComponentProps<ItemDataType> & {
5
+ width: number;
6
+ };
7
+ export declare const Cell: import('react').MemoExoticComponent<({ data, rowIndex, columnIndex, style, ...props }: CellProps) => import("react/jsx-runtime").JSX.Element>;
8
+ export {};
@@ -9,10 +9,12 @@ interface CellCommonProps extends HTMLAttributes<HTMLElement> {
9
9
  interface CellHeaderProps extends CellCommonProps {
10
10
  rowIndex?: never;
11
11
  type: "header-cell";
12
+ width: number;
12
13
  }
13
14
  interface CellBodyProps extends CellCommonProps {
14
15
  rowIndex: number;
15
16
  type: "row-cell";
17
+ width: number;
16
18
  }
17
19
  type CellComponentProps = CellHeaderProps | CellBodyProps;
18
20
  export type CellProps = ComponentType<CellComponentProps>;
@@ -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": "v0.0.148",
4
4
  "description": "Official ClickHouse design system react library",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -32,6 +32,7 @@
32
32
  "test": "vitest",
33
33
  "dev": "vite",
34
34
  "generate-tokens": "node build-tokens.js",
35
+ "typecheck": "tsc --noEmit",
35
36
  "build": "tsc && vite build",
36
37
  "build:watch": "watch 'npm run build' ./src",
37
38
  "lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",