@clickhouse/click-ui 0.0.145 → 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,
@@ -10220,13 +10235,20 @@ const HeaderLeft = styled.div.withConfig({
10220
10235
  const Content$3 = styled.div.withConfig({
10221
10236
  componentId: "sc-1drx130-2"
10222
10237
  })(["display:flex;flex-direction:column;flex:1;"]);
10223
- const InfoLink = styled.a.withConfig({
10238
+ const CustomIcon = styled.img.withConfig({
10224
10239
  componentId: "sc-1drx130-3"
10240
+ })(["height:", ";width:", ";"], ({
10241
+ theme: theme2
10242
+ }) => theme2.click.image.lg.size.height, ({
10243
+ theme: theme2
10244
+ }) => theme2.click.image.lg.size.width);
10245
+ const InfoLink = styled.a.withConfig({
10246
+ componentId: "sc-1drx130-4"
10225
10247
  })(["display:flex;align-items:center;color:", ";text-decoration:none;"], ({
10226
10248
  theme: theme2
10227
10249
  }) => theme2.click.card.secondary.color.link.default);
10228
10250
  const ArrowContainer = styled(SvgImage).withConfig({
10229
- componentId: "sc-1drx130-4"
10251
+ componentId: "sc-1drx130-5"
10230
10252
  })(["color:", ";height:", ";width:", ";"], ({
10231
10253
  theme: theme2
10232
10254
  }) => theme2.click.card.secondary.color.link.default, ({
@@ -10235,13 +10257,13 @@ const ArrowContainer = styled(SvgImage).withConfig({
10235
10257
  theme: theme2
10236
10258
  }) => theme2.click.image.md.size.width);
10237
10259
  const LinkText = styled(Text).withConfig({
10238
- componentId: "sc-1drx130-5"
10260
+ componentId: "sc-1drx130-6"
10239
10261
  })([""]);
10240
10262
  const LinkArrow = styled(ArrowContainer).withConfig({
10241
- componentId: "sc-1drx130-6"
10263
+ componentId: "sc-1drx130-7"
10242
10264
  })([""]);
10243
10265
  const Wrapper$a = styled.div.withConfig({
10244
- componentId: "sc-1drx130-7"
10266
+ componentId: "sc-1drx130-8"
10245
10267
  })(["background-color:", ";border-radius:", ";border:", ";max-width:420px;min-width:320px;display:flex;flex-direction:column;padding:", ";gap:", ";box-shadow:", ";&:hover,:focus{background-color:", ";cursor:pointer;", ",", "{color:", ';}}&[aria-disabled="true"],&[aria-disabled="true"]:hover,&[aria-disabled="true"]:focus,&[aria-disabled="true"]:active{', "}"], ({
10246
10268
  theme: theme2
10247
10269
  }) => theme2.click.card.secondary.color.background.default, ({
@@ -10275,6 +10297,7 @@ const Wrapper$a = styled.div.withConfig({
10275
10297
  const CardSecondary = ({
10276
10298
  title,
10277
10299
  icon,
10300
+ iconUrl,
10278
10301
  badgeState,
10279
10302
  badgeText = "",
10280
10303
  hasShadow = false,
@@ -10287,7 +10310,7 @@ const CardSecondary = ({
10287
10310
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$a, { "aria-disabled": disabled, tabIndex: 0, $hasShadow: hasShadow, ...props, children: [
10288
10311
  /* @__PURE__ */ jsxRuntimeExports.jsxs(Header$4, { children: [
10289
10312
  /* @__PURE__ */ jsxRuntimeExports.jsxs(HeaderLeft, { $disabled: disabled, children: [
10290
- /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: icon, size: "lg", "area-hidden": "" }),
10313
+ iconUrl ? /* @__PURE__ */ jsxRuntimeExports.jsx(CustomIcon, { src: iconUrl, alt: "card icon", "aria-hidden": true }) : icon && /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: icon, "aria-hidden": true, size: "lg" }),
10291
10314
  /* @__PURE__ */ jsxRuntimeExports.jsx(Title$2, { type: "h3", children: title })
10292
10315
  ] }),
10293
10316
  badgeText && /* @__PURE__ */ jsxRuntimeExports.jsx(Badge, { text: badgeText, state: disabled == true ? "disabled" : badgeState })
@@ -10445,7 +10468,7 @@ const Wrapper$8 = styled.div.withConfig({
10445
10468
  }) => $isSelected ? `border-color: ${theme2.click.button.basic.color.primary.stroke.active};` : "");
10446
10469
  const Header$3 = styled.div.withConfig({
10447
10470
  componentId: "sc-2dguvi-1"
10448
- })(["display:flex;flex-direction:column;align-items:", ";gap:", ";h3{color:", ";}svg{height:", ";width:", ";}"], ({
10471
+ })(["display:flex;flex-direction:column;align-items:", ";gap:", ";h3{color:", ";}svg,img{height:", ";width:", ";}"], ({
10449
10472
  $alignContent = "center"
10450
10473
  }) => ["start", "end"].includes($alignContent) ? `flex-${$alignContent}` : $alignContent, ({
10451
10474
  $size = "md",
@@ -10478,6 +10501,7 @@ const Card = ({
10478
10501
  alignContent,
10479
10502
  title,
10480
10503
  icon,
10504
+ iconUrl,
10481
10505
  hasShadow = false,
10482
10506
  description,
10483
10507
  infoUrl,
@@ -10500,7 +10524,7 @@ const Card = ({
10500
10524
  const Component2 = !!infoUrl || typeof onButtonClick === "function" ? Button : "div";
10501
10525
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$8, { $alignContent: alignContent, $hasShadow: hasShadow, $size: size2, "aria-disabled": disabled, $isSelected: isSelected, tabIndex: 0, ...props, children: [
10502
10526
  (icon || title) && /* @__PURE__ */ jsxRuntimeExports.jsxs(Header$3, { $size: size2, $disabled: disabled, $alignContent: alignContent, children: [
10503
- icon && /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: icon, "aria-hidden": true }),
10527
+ iconUrl ? /* @__PURE__ */ jsxRuntimeExports.jsx("img", { src: iconUrl, alt: "card icon", "aria-hidden": true }) : icon && /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: icon, "aria-hidden": true }),
10504
10528
  title && /* @__PURE__ */ jsxRuntimeExports.jsx(Title$2, { type: "h3", children: title })
10505
10529
  ] }),
10506
10530
  (description || children) && /* @__PURE__ */ jsxRuntimeExports.jsxs(Content$2, { $size: size2, $alignContent: alignContent, children: [
@@ -32473,6 +32497,11 @@ const InputElement = styled.input.withConfig({
32473
32497
  &::placeholder {
32474
32498
  color: ${theme2.click.field.color.placeholder.default};
32475
32499
  }
32500
+
32501
+ &:disabled, &.disabled {
32502
+ &::placeholder {
32503
+ color: ${theme2.click.field.color.placeholder.disabled};
32504
+ }
32476
32505
  `);
32477
32506
  const NumberInputElement = styled(InputElement).withConfig({
32478
32507
  componentId: "sc-1pvd2nj-2"
@@ -38392,7 +38421,7 @@ const Thead = ({
38392
38421
  };
38393
38422
  const TableRow = styled.tr.withConfig({
38394
38423
  componentId: "sc-1q458rb-3"
38395
- })(["overflow:hidden;", " &:last-of-type{border-bottom:none;}@media (max-width:768px){position:relative;display:flex;flex-wrap:wrap;", "}"], ({
38424
+ })(["overflow:hidden;", " &:last-of-type,&:last-child{border-bottom:none;}@media (max-width:768px){position:relative;display:flex;flex-wrap:wrap;", "}"], ({
38396
38425
  theme: theme2,
38397
38426
  $isDeleted,
38398
38427
  $isDisabled,
@@ -38438,9 +38467,12 @@ const StyledColGroup = styled.colgroup.withConfig({
38438
38467
  })(["@media (max-width:768px){display:none;}"]);
38439
38468
  const StyledThead = styled.thead.withConfig({
38440
38469
  componentId: "sc-1q458rb-6"
38441
- })(["tr{overflow:hidden;background-color:", ";}@media (max-width:768px){display:none;}"], ({
38470
+ })(["tr{overflow:hidden;background-color:", ";", "}@media (max-width:768px){display:none;}"], ({
38442
38471
  theme: theme2
38443
- }) => theme2.click.table.header.color.background.default);
38472
+ }) => theme2.click.table.header.color.background.default, ({
38473
+ theme: theme2
38474
+ }) => ` border-bottom: ${theme2.click.table.cell.stroke} solid ${theme2.click.table.row.color.stroke.default};
38475
+ `);
38444
38476
  const MobileHeader = styled.div.withConfig({
38445
38477
  componentId: "sc-1q458rb-7"
38446
38478
  })(["display:none;", " @media (max-width:768px){display:block;}"], ({
@@ -38487,7 +38519,12 @@ const ActionsContainer = styled.div.withConfig({
38487
38519
  })(["display:flex;flex-wrap:wrap;gap:0.5rem;overflow:hidden;@media (max-width:768px){flex-direction:column;overflow:auto;flex-wrap:nowrap;}"]);
38488
38520
  const TableWrapper = styled.div.withConfig({
38489
38521
  componentId: "sc-1q458rb-12"
38490
- })(["width:100%;height:100%;overflow:auto;"]);
38522
+ })(["width:100%;height:100%;overflow:auto;", ""], ({
38523
+ theme: theme2
38524
+ }) => `
38525
+ border: ${theme2.click.table.cell.stroke} solid ${theme2.click.table.global.color.stroke.default};
38526
+ border-radius: ${theme2.click.table.radii.all}
38527
+ `);
38491
38528
  const TableOuterContainer = styled.div.withConfig({
38492
38529
  componentId: "sc-1q458rb-13"
38493
38530
  })(["display:flex;flex-direction:column;gap:1rem;width:100%;"]);
@@ -38630,12 +38667,7 @@ const Table = forwardRef(({
38630
38667
  });
38631
38668
  const StyledTable = styled.table.withConfig({
38632
38669
  componentId: "sc-1q458rb-19"
38633
- })(["width:100%;border-spacing:0;overflow:hidden;table-layout:fixed;", " @media (max-width:768px){border:none;table-layout:auto;}"], ({
38634
- theme: theme2
38635
- }) => `
38636
- border-radius: ${theme2.click.table.radii.all};
38637
- border: ${theme2.click.table.cell.stroke} solid ${theme2.click.table.global.color.stroke.default};
38638
- `);
38670
+ })(["width:100%;border-collapse:collapse;overflow:hidden;table-layout:fixed;@media (max-width:768px){border:none;table-layout:auto;}"]);
38639
38671
  const TextAreaField = forwardRef(({
38640
38672
  rows,
38641
38673
  disabled,
@@ -42219,15 +42251,15 @@ const click$2 = {
42219
42251
  "default": "rgba(0,0,0,0)",
42220
42252
  hover: "#282828",
42221
42253
  active: "lch(18.2 0 0)",
42222
- disabled: "#414141",
42223
- "disabled-active": "lch(22 0 0)",
42254
+ disabled: "rgba(0,0,0,0)",
42255
+ "disabled-active": "lch(0 0 0 / 0)",
42224
42256
  panel: "rgba(0,0,0,0)"
42225
42257
  },
42226
42258
  text: {
42227
- "default": "#ffffff",
42228
- hover: "#ffffff",
42259
+ "default": "#c0c0c0",
42260
+ hover: "#c0c0c0",
42229
42261
  active: "#ffffff",
42230
- disabled: "#808080",
42262
+ disabled: "#414141",
42231
42263
  "disabled-active": "#808080"
42232
42264
  },
42233
42265
  stroke: {
@@ -42437,7 +42469,7 @@ const click$2 = {
42437
42469
  "default": "#ffffff",
42438
42470
  hover: "#ffffff",
42439
42471
  active: "#ffffff",
42440
- disabled: "#a0a0a0"
42472
+ disabled: "#606060"
42441
42473
  }
42442
42474
  }
42443
42475
  },
@@ -42539,21 +42571,25 @@ const click$2 = {
42539
42571
  "default": "#b3b6bd",
42540
42572
  hover: "#b3b6bd",
42541
42573
  active: "#ffffff",
42542
- disabled: "#a0a0a0",
42574
+ disabled: "#606060",
42543
42575
  error: "#ffbaba"
42544
42576
  },
42545
42577
  format: {
42546
- "default": "lch(72 4.18 268)",
42547
- hover: "lch(72 4.18 268)",
42548
- 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)",
42549
42581
  disabled: "#808080",
42550
- error: "lch(72 4.18 268)"
42582
+ error: "lch(62.9 0 0)"
42551
42583
  },
42552
42584
  genericLabel: {
42553
42585
  "default": "#ffffff",
42554
42586
  hover: "#ffffff",
42555
42587
  active: "#ffffff",
42556
42588
  disabled: "#a0a0a0"
42589
+ },
42590
+ placeholder: {
42591
+ "default": "#808080",
42592
+ disabled: "#606060"
42557
42593
  }
42558
42594
  }
42559
42595
  },
@@ -42574,11 +42610,11 @@ const click$2 = {
42574
42610
  disabled: "#414141"
42575
42611
  },
42576
42612
  format: {
42577
- "default": "lch(72 4.18 268)",
42578
- hover: "lch(72 4.18 268)",
42579
- 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)",
42580
42616
  disabled: "#808080",
42581
- error: "lch(72 4.18 268)"
42617
+ error: "lch(62.9 0 0)"
42582
42618
  },
42583
42619
  stroke: {
42584
42620
  "default": "#323232"
@@ -42617,7 +42653,7 @@ const click$2 = {
42617
42653
  autocomplete: {
42618
42654
  color: {
42619
42655
  placeholder: {
42620
- "default": "#9a9ea7"
42656
+ "default": "#808080"
42621
42657
  },
42622
42658
  searchTerm: {
42623
42659
  "default": "#ffffff"
@@ -43689,16 +43725,16 @@ const click$1 = {
43689
43725
  "default": "rgba(0,0,0,0)",
43690
43726
  hover: "#f6f7fa",
43691
43727
  active: "lch(97.3 1.53 272)",
43692
- disabled: "#dfdfdf",
43693
- "disabled-active": "lch(71.1 0 0)",
43728
+ disabled: "rgba(0,0,0,0)",
43729
+ "disabled-active": "lch(77.8 1.22 272)",
43694
43730
  panel: "rgba(0,0,0,0)"
43695
43731
  },
43696
43732
  text: {
43697
- "default": "#161517",
43698
- hover: "#161517",
43733
+ "default": "#505050",
43734
+ hover: "#505050",
43699
43735
  active: "#161517",
43700
43736
  disabled: "#a0a0a0",
43701
- "disabled-active": "#808080"
43737
+ "disabled-active": "#a0a0a0"
43702
43738
  },
43703
43739
  stroke: {
43704
43740
  "default": "rgba(0,0,0,0)",
@@ -44020,7 +44056,8 @@ const click$1 = {
44020
44056
  disabled: "#a0a0a0"
44021
44057
  },
44022
44058
  placeholder: {
44023
- "default": "#9a9ea7"
44059
+ "default": "#9a9ea7",
44060
+ disabled: "#b3b6bd"
44024
44061
  }
44025
44062
  }
44026
44063
  },
@@ -45475,16 +45512,16 @@ const click = {
45475
45512
  "default": "rgba(0,0,0,0)",
45476
45513
  hover: "#f6f7fa",
45477
45514
  active: "lch(97.3 1.53 272)",
45478
- disabled: "#dfdfdf",
45479
- "disabled-active": "lch(71.1 0 0)",
45515
+ disabled: "rgba(0,0,0,0)",
45516
+ "disabled-active": "lch(77.8 1.22 272)",
45480
45517
  panel: "rgba(0,0,0,0)"
45481
45518
  },
45482
45519
  text: {
45483
- "default": "#161517",
45484
- hover: "#161517",
45520
+ "default": "#505050",
45521
+ hover: "#505050",
45485
45522
  active: "#161517",
45486
45523
  disabled: "#a0a0a0",
45487
- "disabled-active": "#808080"
45524
+ "disabled-active": "#a0a0a0"
45488
45525
  },
45489
45526
  stroke: {
45490
45527
  "default": "rgba(0,0,0,0)",
@@ -46076,7 +46113,8 @@ const click = {
46076
46113
  disabled: "#a0a0a0"
46077
46114
  },
46078
46115
  placeholder: {
46079
- "default": "#9a9ea7"
46116
+ "default": "#9a9ea7",
46117
+ disabled: "#b3b6bd"
46080
46118
  }
46081
46119
  }
46082
46120
  },
@@ -47624,6 +47662,7 @@ const palette = {
47624
47662
  "400": "#a0a0a0",
47625
47663
  "500": "#808080",
47626
47664
  "600": "#606060",
47665
+ "650": "#505050",
47627
47666
  "700": "#414141",
47628
47667
  "712": "#323232",
47629
47668
  "725": "#282828",
@@ -47936,8 +47975,9 @@ const themes = {
47936
47975
  const useCUITheme = () => {
47937
47976
  const theme2 = useTheme();
47938
47977
  return {
47939
- name: theme2.name,
47978
+ breakpoint: theme2.breakpoint,
47940
47979
  global: theme2.global,
47980
+ name: theme2.name,
47941
47981
  sizes: theme2.sizes
47942
47982
  };
47943
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,
@@ -10237,13 +10252,20 @@ var __publicField = (obj, key, value) => {
10237
10252
  const Content$3 = styled.div.withConfig({
10238
10253
  componentId: "sc-1drx130-2"
10239
10254
  })(["display:flex;flex-direction:column;flex:1;"]);
10240
- const InfoLink = styled.a.withConfig({
10255
+ const CustomIcon = styled.img.withConfig({
10241
10256
  componentId: "sc-1drx130-3"
10257
+ })(["height:", ";width:", ";"], ({
10258
+ theme: theme2
10259
+ }) => theme2.click.image.lg.size.height, ({
10260
+ theme: theme2
10261
+ }) => theme2.click.image.lg.size.width);
10262
+ const InfoLink = styled.a.withConfig({
10263
+ componentId: "sc-1drx130-4"
10242
10264
  })(["display:flex;align-items:center;color:", ";text-decoration:none;"], ({
10243
10265
  theme: theme2
10244
10266
  }) => theme2.click.card.secondary.color.link.default);
10245
10267
  const ArrowContainer = styled(SvgImage).withConfig({
10246
- componentId: "sc-1drx130-4"
10268
+ componentId: "sc-1drx130-5"
10247
10269
  })(["color:", ";height:", ";width:", ";"], ({
10248
10270
  theme: theme2
10249
10271
  }) => theme2.click.card.secondary.color.link.default, ({
@@ -10252,13 +10274,13 @@ var __publicField = (obj, key, value) => {
10252
10274
  theme: theme2
10253
10275
  }) => theme2.click.image.md.size.width);
10254
10276
  const LinkText = styled(Text).withConfig({
10255
- componentId: "sc-1drx130-5"
10277
+ componentId: "sc-1drx130-6"
10256
10278
  })([""]);
10257
10279
  const LinkArrow = styled(ArrowContainer).withConfig({
10258
- componentId: "sc-1drx130-6"
10280
+ componentId: "sc-1drx130-7"
10259
10281
  })([""]);
10260
10282
  const Wrapper$a = styled.div.withConfig({
10261
- componentId: "sc-1drx130-7"
10283
+ componentId: "sc-1drx130-8"
10262
10284
  })(["background-color:", ";border-radius:", ";border:", ";max-width:420px;min-width:320px;display:flex;flex-direction:column;padding:", ";gap:", ";box-shadow:", ";&:hover,:focus{background-color:", ";cursor:pointer;", ",", "{color:", ';}}&[aria-disabled="true"],&[aria-disabled="true"]:hover,&[aria-disabled="true"]:focus,&[aria-disabled="true"]:active{', "}"], ({
10263
10285
  theme: theme2
10264
10286
  }) => theme2.click.card.secondary.color.background.default, ({
@@ -10292,6 +10314,7 @@ var __publicField = (obj, key, value) => {
10292
10314
  const CardSecondary = ({
10293
10315
  title,
10294
10316
  icon,
10317
+ iconUrl,
10295
10318
  badgeState,
10296
10319
  badgeText = "",
10297
10320
  hasShadow = false,
@@ -10304,7 +10327,7 @@ var __publicField = (obj, key, value) => {
10304
10327
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$a, { "aria-disabled": disabled, tabIndex: 0, $hasShadow: hasShadow, ...props, children: [
10305
10328
  /* @__PURE__ */ jsxRuntimeExports.jsxs(Header$4, { children: [
10306
10329
  /* @__PURE__ */ jsxRuntimeExports.jsxs(HeaderLeft, { $disabled: disabled, children: [
10307
- /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: icon, size: "lg", "area-hidden": "" }),
10330
+ iconUrl ? /* @__PURE__ */ jsxRuntimeExports.jsx(CustomIcon, { src: iconUrl, alt: "card icon", "aria-hidden": true }) : icon && /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: icon, "aria-hidden": true, size: "lg" }),
10308
10331
  /* @__PURE__ */ jsxRuntimeExports.jsx(Title$2, { type: "h3", children: title })
10309
10332
  ] }),
10310
10333
  badgeText && /* @__PURE__ */ jsxRuntimeExports.jsx(Badge, { text: badgeText, state: disabled == true ? "disabled" : badgeState })
@@ -10462,7 +10485,7 @@ var __publicField = (obj, key, value) => {
10462
10485
  }) => $isSelected ? `border-color: ${theme2.click.button.basic.color.primary.stroke.active};` : "");
10463
10486
  const Header$3 = styled.div.withConfig({
10464
10487
  componentId: "sc-2dguvi-1"
10465
- })(["display:flex;flex-direction:column;align-items:", ";gap:", ";h3{color:", ";}svg{height:", ";width:", ";}"], ({
10488
+ })(["display:flex;flex-direction:column;align-items:", ";gap:", ";h3{color:", ";}svg,img{height:", ";width:", ";}"], ({
10466
10489
  $alignContent = "center"
10467
10490
  }) => ["start", "end"].includes($alignContent) ? `flex-${$alignContent}` : $alignContent, ({
10468
10491
  $size = "md",
@@ -10495,6 +10518,7 @@ var __publicField = (obj, key, value) => {
10495
10518
  alignContent,
10496
10519
  title,
10497
10520
  icon,
10521
+ iconUrl,
10498
10522
  hasShadow = false,
10499
10523
  description,
10500
10524
  infoUrl,
@@ -10517,7 +10541,7 @@ var __publicField = (obj, key, value) => {
10517
10541
  const Component = !!infoUrl || typeof onButtonClick === "function" ? Button : "div";
10518
10542
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$8, { $alignContent: alignContent, $hasShadow: hasShadow, $size: size2, "aria-disabled": disabled, $isSelected: isSelected, tabIndex: 0, ...props, children: [
10519
10543
  (icon || title) && /* @__PURE__ */ jsxRuntimeExports.jsxs(Header$3, { $size: size2, $disabled: disabled, $alignContent: alignContent, children: [
10520
- icon && /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: icon, "aria-hidden": true }),
10544
+ iconUrl ? /* @__PURE__ */ jsxRuntimeExports.jsx("img", { src: iconUrl, alt: "card icon", "aria-hidden": true }) : icon && /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: icon, "aria-hidden": true }),
10521
10545
  title && /* @__PURE__ */ jsxRuntimeExports.jsx(Title$2, { type: "h3", children: title })
10522
10546
  ] }),
10523
10547
  (description || children) && /* @__PURE__ */ jsxRuntimeExports.jsxs(Content$2, { $size: size2, $alignContent: alignContent, children: [
@@ -32490,6 +32514,11 @@ var __publicField = (obj, key, value) => {
32490
32514
  &::placeholder {
32491
32515
  color: ${theme2.click.field.color.placeholder.default};
32492
32516
  }
32517
+
32518
+ &:disabled, &.disabled {
32519
+ &::placeholder {
32520
+ color: ${theme2.click.field.color.placeholder.disabled};
32521
+ }
32493
32522
  `);
32494
32523
  const NumberInputElement = styled(InputElement).withConfig({
32495
32524
  componentId: "sc-1pvd2nj-2"
@@ -38409,7 +38438,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
38409
38438
  };
38410
38439
  const TableRow = styled.tr.withConfig({
38411
38440
  componentId: "sc-1q458rb-3"
38412
- })(["overflow:hidden;", " &:last-of-type{border-bottom:none;}@media (max-width:768px){position:relative;display:flex;flex-wrap:wrap;", "}"], ({
38441
+ })(["overflow:hidden;", " &:last-of-type,&:last-child{border-bottom:none;}@media (max-width:768px){position:relative;display:flex;flex-wrap:wrap;", "}"], ({
38413
38442
  theme: theme2,
38414
38443
  $isDeleted,
38415
38444
  $isDisabled,
@@ -38455,9 +38484,12 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
38455
38484
  })(["@media (max-width:768px){display:none;}"]);
38456
38485
  const StyledThead = styled.thead.withConfig({
38457
38486
  componentId: "sc-1q458rb-6"
38458
- })(["tr{overflow:hidden;background-color:", ";}@media (max-width:768px){display:none;}"], ({
38487
+ })(["tr{overflow:hidden;background-color:", ";", "}@media (max-width:768px){display:none;}"], ({
38459
38488
  theme: theme2
38460
- }) => theme2.click.table.header.color.background.default);
38489
+ }) => theme2.click.table.header.color.background.default, ({
38490
+ theme: theme2
38491
+ }) => ` border-bottom: ${theme2.click.table.cell.stroke} solid ${theme2.click.table.row.color.stroke.default};
38492
+ `);
38461
38493
  const MobileHeader = styled.div.withConfig({
38462
38494
  componentId: "sc-1q458rb-7"
38463
38495
  })(["display:none;", " @media (max-width:768px){display:block;}"], ({
@@ -38504,7 +38536,12 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
38504
38536
  })(["display:flex;flex-wrap:wrap;gap:0.5rem;overflow:hidden;@media (max-width:768px){flex-direction:column;overflow:auto;flex-wrap:nowrap;}"]);
38505
38537
  const TableWrapper = styled.div.withConfig({
38506
38538
  componentId: "sc-1q458rb-12"
38507
- })(["width:100%;height:100%;overflow:auto;"]);
38539
+ })(["width:100%;height:100%;overflow:auto;", ""], ({
38540
+ theme: theme2
38541
+ }) => `
38542
+ border: ${theme2.click.table.cell.stroke} solid ${theme2.click.table.global.color.stroke.default};
38543
+ border-radius: ${theme2.click.table.radii.all}
38544
+ `);
38508
38545
  const TableOuterContainer = styled.div.withConfig({
38509
38546
  componentId: "sc-1q458rb-13"
38510
38547
  })(["display:flex;flex-direction:column;gap:1rem;width:100%;"]);
@@ -38647,12 +38684,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
38647
38684
  });
38648
38685
  const StyledTable = styled.table.withConfig({
38649
38686
  componentId: "sc-1q458rb-19"
38650
- })(["width:100%;border-spacing:0;overflow:hidden;table-layout:fixed;", " @media (max-width:768px){border:none;table-layout:auto;}"], ({
38651
- theme: theme2
38652
- }) => `
38653
- border-radius: ${theme2.click.table.radii.all};
38654
- border: ${theme2.click.table.cell.stroke} solid ${theme2.click.table.global.color.stroke.default};
38655
- `);
38687
+ })(["width:100%;border-collapse:collapse;overflow:hidden;table-layout:fixed;@media (max-width:768px){border:none;table-layout:auto;}"]);
38656
38688
  const TextAreaField = React.forwardRef(({
38657
38689
  rows,
38658
38690
  disabled,
@@ -42236,15 +42268,15 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
42236
42268
  "default": "rgba(0,0,0,0)",
42237
42269
  hover: "#282828",
42238
42270
  active: "lch(18.2 0 0)",
42239
- disabled: "#414141",
42240
- "disabled-active": "lch(22 0 0)",
42271
+ disabled: "rgba(0,0,0,0)",
42272
+ "disabled-active": "lch(0 0 0 / 0)",
42241
42273
  panel: "rgba(0,0,0,0)"
42242
42274
  },
42243
42275
  text: {
42244
- "default": "#ffffff",
42245
- hover: "#ffffff",
42276
+ "default": "#c0c0c0",
42277
+ hover: "#c0c0c0",
42246
42278
  active: "#ffffff",
42247
- disabled: "#808080",
42279
+ disabled: "#414141",
42248
42280
  "disabled-active": "#808080"
42249
42281
  },
42250
42282
  stroke: {
@@ -42454,7 +42486,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
42454
42486
  "default": "#ffffff",
42455
42487
  hover: "#ffffff",
42456
42488
  active: "#ffffff",
42457
- disabled: "#a0a0a0"
42489
+ disabled: "#606060"
42458
42490
  }
42459
42491
  }
42460
42492
  },
@@ -42556,21 +42588,25 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
42556
42588
  "default": "#b3b6bd",
42557
42589
  hover: "#b3b6bd",
42558
42590
  active: "#ffffff",
42559
- disabled: "#a0a0a0",
42591
+ disabled: "#606060",
42560
42592
  error: "#ffbaba"
42561
42593
  },
42562
42594
  format: {
42563
- "default": "lch(72 4.18 268)",
42564
- hover: "lch(72 4.18 268)",
42565
- 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)",
42566
42598
  disabled: "#808080",
42567
- error: "lch(72 4.18 268)"
42599
+ error: "lch(62.9 0 0)"
42568
42600
  },
42569
42601
  genericLabel: {
42570
42602
  "default": "#ffffff",
42571
42603
  hover: "#ffffff",
42572
42604
  active: "#ffffff",
42573
42605
  disabled: "#a0a0a0"
42606
+ },
42607
+ placeholder: {
42608
+ "default": "#808080",
42609
+ disabled: "#606060"
42574
42610
  }
42575
42611
  }
42576
42612
  },
@@ -42591,11 +42627,11 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
42591
42627
  disabled: "#414141"
42592
42628
  },
42593
42629
  format: {
42594
- "default": "lch(72 4.18 268)",
42595
- hover: "lch(72 4.18 268)",
42596
- 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)",
42597
42633
  disabled: "#808080",
42598
- error: "lch(72 4.18 268)"
42634
+ error: "lch(62.9 0 0)"
42599
42635
  },
42600
42636
  stroke: {
42601
42637
  "default": "#323232"
@@ -42634,7 +42670,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
42634
42670
  autocomplete: {
42635
42671
  color: {
42636
42672
  placeholder: {
42637
- "default": "#9a9ea7"
42673
+ "default": "#808080"
42638
42674
  },
42639
42675
  searchTerm: {
42640
42676
  "default": "#ffffff"
@@ -43706,16 +43742,16 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
43706
43742
  "default": "rgba(0,0,0,0)",
43707
43743
  hover: "#f6f7fa",
43708
43744
  active: "lch(97.3 1.53 272)",
43709
- disabled: "#dfdfdf",
43710
- "disabled-active": "lch(71.1 0 0)",
43745
+ disabled: "rgba(0,0,0,0)",
43746
+ "disabled-active": "lch(77.8 1.22 272)",
43711
43747
  panel: "rgba(0,0,0,0)"
43712
43748
  },
43713
43749
  text: {
43714
- "default": "#161517",
43715
- hover: "#161517",
43750
+ "default": "#505050",
43751
+ hover: "#505050",
43716
43752
  active: "#161517",
43717
43753
  disabled: "#a0a0a0",
43718
- "disabled-active": "#808080"
43754
+ "disabled-active": "#a0a0a0"
43719
43755
  },
43720
43756
  stroke: {
43721
43757
  "default": "rgba(0,0,0,0)",
@@ -44037,7 +44073,8 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
44037
44073
  disabled: "#a0a0a0"
44038
44074
  },
44039
44075
  placeholder: {
44040
- "default": "#9a9ea7"
44076
+ "default": "#9a9ea7",
44077
+ disabled: "#b3b6bd"
44041
44078
  }
44042
44079
  }
44043
44080
  },
@@ -45492,16 +45529,16 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
45492
45529
  "default": "rgba(0,0,0,0)",
45493
45530
  hover: "#f6f7fa",
45494
45531
  active: "lch(97.3 1.53 272)",
45495
- disabled: "#dfdfdf",
45496
- "disabled-active": "lch(71.1 0 0)",
45532
+ disabled: "rgba(0,0,0,0)",
45533
+ "disabled-active": "lch(77.8 1.22 272)",
45497
45534
  panel: "rgba(0,0,0,0)"
45498
45535
  },
45499
45536
  text: {
45500
- "default": "#161517",
45501
- hover: "#161517",
45537
+ "default": "#505050",
45538
+ hover: "#505050",
45502
45539
  active: "#161517",
45503
45540
  disabled: "#a0a0a0",
45504
- "disabled-active": "#808080"
45541
+ "disabled-active": "#a0a0a0"
45505
45542
  },
45506
45543
  stroke: {
45507
45544
  "default": "rgba(0,0,0,0)",
@@ -46093,7 +46130,8 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
46093
46130
  disabled: "#a0a0a0"
46094
46131
  },
46095
46132
  placeholder: {
46096
- "default": "#9a9ea7"
46133
+ "default": "#9a9ea7",
46134
+ disabled: "#b3b6bd"
46097
46135
  }
46098
46136
  }
46099
46137
  },
@@ -47641,6 +47679,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
47641
47679
  "400": "#a0a0a0",
47642
47680
  "500": "#808080",
47643
47681
  "600": "#606060",
47682
+ "650": "#505050",
47644
47683
  "700": "#414141",
47645
47684
  "712": "#323232",
47646
47685
  "725": "#282828",
@@ -47953,8 +47992,9 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
47953
47992
  const useCUITheme = () => {
47954
47993
  const theme2 = styled.useTheme();
47955
47994
  return {
47956
- name: theme2.name,
47995
+ breakpoint: theme2.breakpoint,
47957
47996
  global: theme2.global,
47997
+ name: theme2.name,
47958
47998
  sizes: theme2.sizes
47959
47999
  };
47960
48000
  };
@@ -7,6 +7,7 @@ type ContentAlignment = "start" | "center" | "end";
7
7
  export interface CardPrimaryProps extends HTMLAttributes<HTMLDivElement>, WithTopBadgeProps {
8
8
  title?: string;
9
9
  icon?: IconName;
10
+ iconUrl?: string;
10
11
  hasShadow?: boolean;
11
12
  disabled?: boolean;
12
13
  description?: ReactNode;
@@ -4,7 +4,8 @@ import { HTMLAttributes, ReactNode } from 'react';
4
4
  export type BadgeState = "default" | "success" | "neutral" | "danger" | "disabled" | "warning" | "info";
5
5
  export interface CardSecondaryProps extends HTMLAttributes<HTMLDivElement> {
6
6
  title: string;
7
- icon: IconName;
7
+ icon?: IconName;
8
+ iconUrl?: string;
8
9
  badgeState?: BadgeState;
9
10
  hasShadow?: boolean;
10
11
  disabled?: boolean;
@@ -13,4 +14,4 @@ export interface CardSecondaryProps extends HTMLAttributes<HTMLDivElement> {
13
14
  infoUrl?: string;
14
15
  infoText?: string;
15
16
  }
16
- export declare const CardSecondary: ({ title, icon, badgeState, badgeText, hasShadow, disabled, description, infoUrl, infoText, ...props }: CardSecondaryProps) => import("react/jsx-runtime").JSX.Element;
17
+ export declare const CardSecondary: ({ title, icon, iconUrl, badgeState, badgeText, hasShadow, disabled, description, infoUrl, infoText, ...props }: CardSecondaryProps) => import("react/jsx-runtime").JSX.Element;
@@ -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.145",
3
+ "version": "0.0.147",
4
4
  "description": "Official ClickHouse design system react library",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",