@clickhouse/click-ui 0.0.133 → 0.0.134

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.
@@ -10051,7 +10051,7 @@ const LinkArrow = styled(ArrowContainer).withConfig({
10051
10051
  })([""]);
10052
10052
  const Wrapper$a = styled.div.withConfig({
10053
10053
  componentId: "sc-1drx130-7"
10054
- })(["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:", ";}}", ""], ({
10054
+ })(["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{', "}"], ({
10055
10055
  theme: theme2
10056
10056
  }) => theme2.click.card.secondary.color.background.default, ({
10057
10057
  theme: theme2
@@ -10069,24 +10069,18 @@ const Wrapper$a = styled.div.withConfig({
10069
10069
  }) => theme2.click.card.secondary.color.background.hover, LinkText, LinkArrow, ({
10070
10070
  theme: theme2
10071
10071
  }) => theme2.click.card.secondary.color.link.hover, ({
10072
- $disabled,
10073
10072
  theme: theme2
10074
- }) => $disabled && `
10075
- &,
10076
- &:hover,
10077
- &:focus,
10078
- &:active {
10079
- background-color: ${theme2.click.card.secondary.color.background.disabled};
10080
- color: ${theme2.click.card.secondary.color.title.disabled};
10081
- border: 1px solid ${theme2.click.card.secondary.color.stroke.disabled};
10082
- cursor: not-allowed;
10073
+ }) => `
10074
+ background-color: ${theme2.click.card.secondary.color.background.disabled};
10075
+ color: ${theme2.click.card.secondary.color.title.disabled};
10076
+ border: 1px solid ${theme2.click.card.secondary.color.stroke.disabled};
10077
+ cursor: not-allowed;
10083
10078
 
10084
- ${LinkText},
10085
- ${LinkArrow} {
10086
- color: ${theme2.click.card.secondary.color.link.disabled};
10087
- }
10088
- }
10089
- `);
10079
+ ${LinkText},
10080
+ ${LinkArrow} {
10081
+ color: ${theme2.click.card.secondary.color.link.disabled};
10082
+ }
10083
+ `);
10090
10084
  const CardSecondary = ({
10091
10085
  title,
10092
10086
  icon,
@@ -10099,7 +10093,7 @@ const CardSecondary = ({
10099
10093
  infoText,
10100
10094
  ...props
10101
10095
  }) => {
10102
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$a, { $disabled: disabled, tabIndex: 0, $hasShadow: hasShadow, ...props, children: [
10096
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$a, { "aria-disabled": disabled, tabIndex: 0, $hasShadow: hasShadow, ...props, children: [
10103
10097
  /* @__PURE__ */ jsxRuntimeExports.jsxs(Header$4, { children: [
10104
10098
  /* @__PURE__ */ jsxRuntimeExports.jsxs(HeaderLeft, { $disabled: disabled, children: [
10105
10099
  /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: icon, size: "lg", "area-hidden": "" }),
@@ -10116,7 +10110,7 @@ const CardSecondary = ({
10116
10110
  };
10117
10111
  const Wrapper$9 = styled.div.withConfig({
10118
10112
  componentId: "sc-2dguvi-0"
10119
- })(["background-color:", ";border-radius:", ";border:", ";display:flex;width:100%;max-width:100%;text-align:", ";flex-direction:column;padding:", ";gap:", ";box-shadow:", ";&:hover,&:focus{background-color:", ";cursor:pointer;button{background-color:", ";border-color:", ";&:active{background-color:", ";border-color:", ";}}}&:active{border-color:", ";}", " ", ""], ({
10113
+ })(["background-color:", ";border-radius:", ";border:", ";display:flex;width:100%;max-width:100%;text-align:", ";flex-direction:column;padding:", ";gap:", ";box-shadow:", ";&:hover,&:focus{background-color:", ";cursor:pointer;button{background-color:", ";border-color:", ";&:active{background-color:", ";border-color:", ";}}}&:active{border-color:", ';}&[aria-disabled="true"],&[aria-disabled="true"]:hover,&[aria-disabled="true"]:focus,&[aria-disabled="true"]:active{', "}", ""], ({
10120
10114
  theme: theme2
10121
10115
  }) => theme2.click.card.primary.color.background.default, ({
10122
10116
  theme: theme2
@@ -10146,13 +10140,8 @@ const Wrapper$9 = styled.div.withConfig({
10146
10140
  }) => theme2.click.button.basic.color.primary.stroke.active, ({
10147
10141
  theme: theme2
10148
10142
  }) => theme2.click.button.basic.color.primary.stroke.active, ({
10149
- $disabled,
10150
10143
  theme: theme2
10151
- }) => $disabled && `
10152
- &,
10153
- &:hover,
10154
- &:focus,
10155
- &:active {
10144
+ }) => `
10156
10145
  background-color: ${theme2.click.card.primary.color.background.disabled};
10157
10146
  color: ${theme2.click.card.primary.color.title.disabled};
10158
10147
  border: 1px solid ${theme2.click.card.primary.color.stroke.disabled};
@@ -10165,9 +10154,7 @@ const Wrapper$9 = styled.div.withConfig({
10165
10154
  background-color: ${theme2.click.button.basic.color.primary.background.disabled};
10166
10155
  border-color: ${theme2.click.button.basic.color.primary.stroke.disabled};
10167
10156
  }
10168
- }
10169
- }
10170
- `, ({
10157
+ }`, ({
10171
10158
  $isSelected,
10172
10159
  theme: theme2
10173
10160
  }) => $isSelected ? `border-color: ${theme2.click.button.basic.color.primary.stroke.active};` : "");
@@ -10226,7 +10213,7 @@ const CardPrimary = ({
10226
10213
  }
10227
10214
  };
10228
10215
  const Component2 = !!infoUrl || typeof onButtonClick === "function" ? Button : "div";
10229
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$9, { $alignContent: alignContent, $hasShadow: hasShadow, $size: size2, $disabled: disabled, $isSelected: isSelected, tabIndex: 0, ...props, children: [
10216
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$9, { $alignContent: alignContent, $hasShadow: hasShadow, $size: size2, "aria-disabled": disabled, $isSelected: isSelected, tabIndex: 0, ...props, children: [
10230
10217
  (icon || title) && /* @__PURE__ */ jsxRuntimeExports.jsxs(Header$3, { $size: size2, $disabled: disabled, $alignContent: alignContent, children: [
10231
10218
  icon && /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: icon, "aria-hidden": true }),
10232
10219
  title && /* @__PURE__ */ jsxRuntimeExports.jsx(Title$2, { type: "h3", children: title })
@@ -31482,7 +31469,7 @@ const Grid = forwardRef(({
31482
31469
  onFocusChangeProp(row, column);
31483
31470
  }
31484
31471
  }, [onFocusChangeProp, focusProp]);
31485
- const rowNumberWidth = (rowCount.toString().length + 2) * 8 + 3;
31472
+ const rowNumberWidth = ((rowStart + rowCount).toString().length + 2) * 8 + 3;
31486
31473
  const {
31487
31474
  getColumnHorizontalPosition,
31488
31475
  onColumnResize,
@@ -32404,17 +32391,24 @@ const Pagination = ({
32404
32391
  const formatNumber = (value) => {
32405
32392
  return new Intl.NumberFormat("en").format(value);
32406
32393
  };
32394
+ const leftButtonDisabled = currentPage <= 1;
32395
+ const rightButtonDisabled = !!totalPages && currentPage === totalPages || disableNextButton;
32407
32396
  const onKeyDown = (e) => {
32408
- if (e.key === "ArrowUp" || e.key === "ArrowRight") {
32397
+ var _a;
32398
+ const isInputEnabled = !((_a = inputRef.current) == null ? void 0 : _a.disabled);
32399
+ if ((e.key === "ArrowUp" || e.key === "ArrowRight") && isInputEnabled && !rightButtonDisabled) {
32409
32400
  onChangeProp(currentPage + 1);
32410
- } else if (e.key === "ArrowDown" || e.key === "ArrowLeft") {
32411
- onChangeProp(currentPage - 1);
32401
+ } else if ((e.key === "ArrowDown" || e.key === "ArrowLeft") && isInputEnabled && !leftButtonDisabled) {
32402
+ const newPage = currentPage - 1;
32403
+ if (newPage > 0) {
32404
+ onChangeProp(newPage);
32405
+ }
32412
32406
  }
32413
32407
  };
32414
32408
  const onChange = (value) => {
32415
32409
  var _a;
32416
32410
  const valueToNumber = Number(value);
32417
- if (valueToNumber < 1 || ((_a = inputRef.current) == null ? void 0 : _a.disabled)) {
32411
+ if (valueToNumber < 1 || ((_a = inputRef.current) == null ? void 0 : _a.disabled) || (typeof totalPages !== "undefined" ? valueToNumber > totalPages : false)) {
32418
32412
  return;
32419
32413
  }
32420
32414
  onChangeProp(valueToNumber);
@@ -32424,8 +32418,6 @@ const Pagination = ({
32424
32418
  onPageSizeChangeProp(Number(value));
32425
32419
  }
32426
32420
  };
32427
- const leftButtonDisabled = currentPage <= 1;
32428
- const rightButtonDisabled = !!totalPages && currentPage === totalPages || disableNextButton;
32429
32421
  const onPrevClick = useCallback((e) => {
32430
32422
  if (leftButtonDisabled) {
32431
32423
  return;
@@ -37076,14 +37068,15 @@ const SidebarNavigationItem = forwardRef(({
37076
37068
  icon,
37077
37069
  selected,
37078
37070
  iconDir,
37071
+ disabled,
37079
37072
  type = "main",
37080
37073
  ...props
37081
37074
  }, ref) => {
37082
- return /* @__PURE__ */ jsxRuntimeExports.jsx(SidebarItemWrapper, { $level: level, "data-selected": selected, $type: type, ref, ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsx(IconWrapper, { icon, iconDir, children: label }) });
37075
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(SidebarItemWrapper, { $level: level, "data-selected": selected, $type: type, ref, "aria-disabled": disabled, ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsx(IconWrapper, { icon, iconDir, children: label }) });
37083
37076
  });
37084
37077
  const SidebarItemWrapper = styled.div.withConfig({
37085
37078
  componentId: "sc-1rz759l-0"
37086
- })(["display:flex;align-items:center;border:none;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;white-space:nowrap;overflow:hidden;flex-wrap:nowrap;cursor:pointer;", ' a{color:inherit;text-decoration:none;&:active{color:inherit;}}&:hover [data-trigger-icon],[data-open="true"][data-trigger-icon]{visibility:visible;}'], ({
37079
+ })(["display:flex;align-items:center;border:none;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;white-space:nowrap;overflow:hidden;flex-wrap:nowrap;", ""], ({
37087
37080
  theme: theme2,
37088
37081
  $collapsible = false,
37089
37082
  $level,
@@ -37096,26 +37089,53 @@ const SidebarItemWrapper = styled.div.withConfig({
37096
37089
  font: ${theme2.click.sidebar.navigation[itemType].typography.default};
37097
37090
  background-color: ${theme2.click.sidebar[$type].navigation[itemType].color.background.default};
37098
37091
  color: ${theme2.click.sidebar[$type].navigation[itemType].color.text.default};
37092
+ span a {
37093
+ color: ${theme2.click.sidebar[$type].navigation[itemType].color.text.default};
37094
+ cursor: pointer;
37095
+ text-decoration: none;
37096
+ }
37097
+ cursor: pointer;
37098
+ pointer-events: all;
37099
+
37099
37100
  &:hover, &:focus {
37100
37101
  font: ${theme2.click.sidebar.navigation[itemType].typography.hover};
37101
37102
  background-color: ${theme2.click.sidebar[$type].navigation[itemType].color.background.hover};
37102
37103
  color: ${theme2.click.sidebar[$type].navigation[itemType].color.text.hover};
37104
+ pointer-events: auto;
37103
37105
  }
37104
37106
 
37105
- &:active, &[data-selected="true"] {
37107
+ &:active, &[data-selected="true"] {
37106
37108
  font: ${theme2.click.sidebar.navigation[itemType].typography.active};
37107
37109
  background-color: ${theme2.click.sidebar[$type].navigation[itemType].color.background.active};
37108
37110
  color: ${theme2.click.sidebar[$type].navigation[itemType].color.text.active};
37111
+ pointer-events: all;
37109
37112
  }
37113
+
37114
+ &[aria-disabled=true],
37115
+ &[aria-disabled=true]:hover,
37116
+ &[aria-disabled=true]:focus,
37117
+ &[aria-disabled=true]:active,
37118
+ &[aria-disabled=true]:focus-within,
37119
+ &[aria-disabled=true][data-selected="true"] {
37120
+
37121
+ color: ${theme2.click.sidebar[$type].navigation[itemType].color.text.disabled};
37122
+ pointer-events: none;
37123
+
37124
+ span a {
37125
+ color: ${theme2.click.sidebar[$type].navigation[itemType].color.text.disabled};
37126
+ cursor: not-allowed;
37127
+ text-decoration: none;
37128
+ }
37129
+ cursor: not-allowed;
37130
+ }
37131
+
37110
37132
  @media (max-width: 640px) {
37111
37133
  gap: ${theme2.click.sidebar.navigation[itemType].mobile.space.gap};
37112
37134
  padding: ${theme2.click.sidebar.navigation[itemType].mobile.space.y} ${theme2.click.sidebar.navigation[itemType].mobile.space.right} ${theme2.click.sidebar.navigation[itemType].mobile.space.y} ${$collapsible ? theme2.click.sidebar.navigation[itemType].mobile.space.left : theme2.click.image.sm.size.width};
37113
37135
  font: ${theme2.click.sidebar.navigation[itemType].mobile.typography.default};
37114
-
37115
37136
  &:hover, &:focus {
37116
37137
  font: ${theme2.click.sidebar.navigation[itemType].mobile.typography.hover};
37117
37138
  }
37118
-
37119
37139
  &:active, &[data-selected="true"] {
37120
37140
  font: ${theme2.click.sidebar.navigation[itemType].mobile.typography.active};
37121
37141
  }
@@ -41095,10 +41115,12 @@ const click$3 = {
41095
41115
  "default": "#f6f7fa",
41096
41116
  hover: "#ffffff",
41097
41117
  active: "#ffffff",
41098
- muted: "#696e79"
41118
+ muted: "#696e79",
41119
+ disabled: "#a0a0a0"
41099
41120
  },
41100
41121
  icon: {
41101
- "default": "#e4e2e9"
41122
+ "default": "#e4e2e9",
41123
+ disabled: "#a0a0a0"
41102
41124
  }
41103
41125
  },
41104
41126
  background: {
@@ -41169,13 +41191,6 @@ const click$3 = {
41169
41191
  }
41170
41192
  }
41171
41193
  },
41172
- title: {
41173
- color: {
41174
- "default": "#696e79",
41175
- hover: "#696e79",
41176
- active: "#696e79"
41177
- }
41178
- },
41179
41194
  subItem: {
41180
41195
  color: {
41181
41196
  text: {
@@ -41190,6 +41205,13 @@ const click$3 = {
41190
41205
  }
41191
41206
  }
41192
41207
  },
41208
+ title: {
41209
+ color: {
41210
+ "default": "#696e79",
41211
+ hover: "#696e79",
41212
+ active: "#696e79"
41213
+ }
41214
+ },
41193
41215
  dragControl: {
41194
41216
  separator: {
41195
41217
  color: {
@@ -42408,10 +42430,12 @@ const click$2 = {
42408
42430
  "default": "#ffffff",
42409
42431
  hover: "#ffffff",
42410
42432
  active: "#ffffff",
42411
- muted: "#b3b6bd"
42433
+ muted: "#b3b6bd",
42434
+ disabled: "#808080"
42412
42435
  },
42413
42436
  icon: {
42414
- "default": "#b3b6bd"
42437
+ "default": "#b3b6bd",
42438
+ disabled: "#808080"
42415
42439
  }
42416
42440
  }
42417
42441
  },
@@ -42426,11 +42450,13 @@ const click$2 = {
42426
42450
  color: {
42427
42451
  text: {
42428
42452
  "default": "#b3b6bd",
42453
+ disabled: "#808080",
42429
42454
  hover: "#ffffff",
42430
42455
  active: "#ffffff"
42431
42456
  },
42432
42457
  background: {
42433
42458
  "default": "rgba(0,0,0,0)",
42459
+ disabled: "rgba(0,0,0,0)",
42434
42460
  hover: "lch(19.1 0 0)",
42435
42461
  active: "rgba(0,0,0,0)"
42436
42462
  }
@@ -42466,23 +42492,19 @@ const click$2 = {
42466
42492
  "default": "#ffffff",
42467
42493
  hover: "#ffffff",
42468
42494
  active: "#ffffff",
42469
- muted: "#b3b6bd"
42495
+ muted: "#b3b6bd",
42496
+ disabled: "#808080"
42470
42497
  },
42471
42498
  icon: {
42472
- "default": "#b3b6bd"
42499
+ "default": "#b3b6bd",
42500
+ disabled: "#808080"
42473
42501
  }
42474
42502
  }
42475
42503
  },
42476
- title: {
42477
- color: {
42478
- "default": "#b3b6bd",
42479
- hover: "#b3b6bd",
42480
- active: "#b3b6bd"
42481
- }
42482
- },
42483
42504
  subItem: {
42484
42505
  color: {
42485
42506
  text: {
42507
+ disabled: "#808080",
42486
42508
  "default": "#b3b6bd",
42487
42509
  hover: "#ffffff",
42488
42510
  active: "#ffffff"
@@ -42494,6 +42516,13 @@ const click$2 = {
42494
42516
  }
42495
42517
  }
42496
42518
  },
42519
+ title: {
42520
+ color: {
42521
+ "default": "#b3b6bd",
42522
+ hover: "#b3b6bd",
42523
+ active: "#b3b6bd"
42524
+ }
42525
+ },
42497
42526
  dragControl: {
42498
42527
  separator: {
42499
42528
  color: {
@@ -43867,10 +43896,12 @@ const click$1 = {
43867
43896
  "default": "#161517",
43868
43897
  hover: "#161517",
43869
43898
  active: "#161517",
43870
- muted: "#696e79"
43899
+ muted: "#696e79",
43900
+ disabled: "#a0a0a0"
43871
43901
  },
43872
43902
  icon: {
43873
- "default": "#696e79"
43903
+ "default": "#696e79",
43904
+ disabled: "#a0a0a0"
43874
43905
  }
43875
43906
  }
43876
43907
  },
@@ -43885,13 +43916,19 @@ const click$1 = {
43885
43916
  color: {
43886
43917
  text: {
43887
43918
  "default": "#696e79",
43919
+ disabled: "#a0a0a0",
43888
43920
  hover: "#161517",
43889
43921
  active: "#161517"
43890
43922
  },
43891
43923
  background: {
43892
43924
  "default": "rgba(0,0,0,0)",
43925
+ disabled: "rgba(0,0,0,0)",
43893
43926
  hover: "lch(91.6 1.1 266 / 0.6)",
43894
43927
  active: "rgba(0,0,0,0)"
43928
+ },
43929
+ icon: {
43930
+ "default": "#696e79",
43931
+ disabled: "#a0a0a0"
43895
43932
  }
43896
43933
  }
43897
43934
  },
@@ -43925,23 +43962,18 @@ const click$1 = {
43925
43962
  "default": "#161517",
43926
43963
  hover: "#161517",
43927
43964
  active: "#161517",
43928
- muted: "#696e79"
43965
+ muted: "#696e79",
43966
+ disabled: "#a0a0a0"
43929
43967
  },
43930
43968
  icon: {
43931
43969
  "default": "#696e79"
43932
43970
  }
43933
43971
  }
43934
43972
  },
43935
- title: {
43936
- color: {
43937
- "default": "#696e79",
43938
- hover: "#696e79",
43939
- active: "#696e79"
43940
- }
43941
- },
43942
43973
  subItem: {
43943
43974
  color: {
43944
43975
  text: {
43976
+ disabled: "#a0a0a0",
43945
43977
  "default": "#696e79",
43946
43978
  hover: "#161517",
43947
43979
  active: "#161517"
@@ -43953,6 +43985,13 @@ const click$1 = {
43953
43985
  }
43954
43986
  }
43955
43987
  },
43988
+ title: {
43989
+ color: {
43990
+ "default": "#696e79",
43991
+ hover: "#696e79",
43992
+ active: "#696e79"
43993
+ }
43994
+ },
43956
43995
  dragControl: {
43957
43996
  separator: {
43958
43997
  color: {
@@ -46241,10 +46280,12 @@ const click = {
46241
46280
  "default": "#161517",
46242
46281
  hover: "#161517",
46243
46282
  active: "#161517",
46244
- muted: "#696e79"
46283
+ muted: "#696e79",
46284
+ disabled: "#a0a0a0"
46245
46285
  },
46246
46286
  icon: {
46247
- "default": "#696e79"
46287
+ "default": "#696e79",
46288
+ disabled: "#a0a0a0"
46248
46289
  }
46249
46290
  }
46250
46291
  },
@@ -46259,13 +46300,19 @@ const click = {
46259
46300
  color: {
46260
46301
  text: {
46261
46302
  "default": "#696e79",
46303
+ disabled: "#a0a0a0",
46262
46304
  hover: "#161517",
46263
46305
  active: "#161517"
46264
46306
  },
46265
46307
  background: {
46266
46308
  "default": "rgba(0,0,0,0)",
46309
+ disabled: "rgba(0,0,0,0)",
46267
46310
  hover: "lch(91.6 1.1 266 / 0.6)",
46268
46311
  active: "rgba(0,0,0,0)"
46312
+ },
46313
+ icon: {
46314
+ "default": "#696e79",
46315
+ disabled: "#a0a0a0"
46269
46316
  }
46270
46317
  }
46271
46318
  },
@@ -46299,23 +46346,19 @@ const click = {
46299
46346
  "default": "#161517",
46300
46347
  hover: "#161517",
46301
46348
  active: "#161517",
46302
- muted: "#696e79"
46349
+ muted: "#696e79",
46350
+ disabled: "#a0a0a0"
46303
46351
  },
46304
46352
  icon: {
46305
- "default": "#696e79"
46353
+ "default": "#696e79",
46354
+ disabled: "#a0a0a0"
46306
46355
  }
46307
46356
  }
46308
46357
  },
46309
- title: {
46310
- color: {
46311
- "default": "#696e79",
46312
- hover: "#696e79",
46313
- active: "#696e79"
46314
- }
46315
- },
46316
46358
  subItem: {
46317
46359
  color: {
46318
46360
  text: {
46361
+ disabled: "#a0a0a0",
46319
46362
  "default": "#696e79",
46320
46363
  hover: "#161517",
46321
46364
  active: "#161517"
@@ -46327,6 +46370,13 @@ const click = {
46327
46370
  }
46328
46371
  }
46329
46372
  },
46373
+ title: {
46374
+ color: {
46375
+ "default": "#696e79",
46376
+ hover: "#696e79",
46377
+ active: "#696e79"
46378
+ }
46379
+ },
46330
46380
  dragControl: {
46331
46381
  separator: {
46332
46382
  color: {
@@ -10068,7 +10068,7 @@ var __publicField = (obj, key, value) => {
10068
10068
  })([""]);
10069
10069
  const Wrapper$a = styled.div.withConfig({
10070
10070
  componentId: "sc-1drx130-7"
10071
- })(["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:", ";}}", ""], ({
10071
+ })(["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{', "}"], ({
10072
10072
  theme: theme2
10073
10073
  }) => theme2.click.card.secondary.color.background.default, ({
10074
10074
  theme: theme2
@@ -10086,24 +10086,18 @@ var __publicField = (obj, key, value) => {
10086
10086
  }) => theme2.click.card.secondary.color.background.hover, LinkText, LinkArrow, ({
10087
10087
  theme: theme2
10088
10088
  }) => theme2.click.card.secondary.color.link.hover, ({
10089
- $disabled,
10090
10089
  theme: theme2
10091
- }) => $disabled && `
10092
- &,
10093
- &:hover,
10094
- &:focus,
10095
- &:active {
10096
- background-color: ${theme2.click.card.secondary.color.background.disabled};
10097
- color: ${theme2.click.card.secondary.color.title.disabled};
10098
- border: 1px solid ${theme2.click.card.secondary.color.stroke.disabled};
10099
- cursor: not-allowed;
10090
+ }) => `
10091
+ background-color: ${theme2.click.card.secondary.color.background.disabled};
10092
+ color: ${theme2.click.card.secondary.color.title.disabled};
10093
+ border: 1px solid ${theme2.click.card.secondary.color.stroke.disabled};
10094
+ cursor: not-allowed;
10100
10095
 
10101
- ${LinkText},
10102
- ${LinkArrow} {
10103
- color: ${theme2.click.card.secondary.color.link.disabled};
10104
- }
10105
- }
10106
- `);
10096
+ ${LinkText},
10097
+ ${LinkArrow} {
10098
+ color: ${theme2.click.card.secondary.color.link.disabled};
10099
+ }
10100
+ `);
10107
10101
  const CardSecondary = ({
10108
10102
  title,
10109
10103
  icon,
@@ -10116,7 +10110,7 @@ var __publicField = (obj, key, value) => {
10116
10110
  infoText,
10117
10111
  ...props
10118
10112
  }) => {
10119
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$a, { $disabled: disabled, tabIndex: 0, $hasShadow: hasShadow, ...props, children: [
10113
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$a, { "aria-disabled": disabled, tabIndex: 0, $hasShadow: hasShadow, ...props, children: [
10120
10114
  /* @__PURE__ */ jsxRuntimeExports.jsxs(Header$4, { children: [
10121
10115
  /* @__PURE__ */ jsxRuntimeExports.jsxs(HeaderLeft, { $disabled: disabled, children: [
10122
10116
  /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: icon, size: "lg", "area-hidden": "" }),
@@ -10133,7 +10127,7 @@ var __publicField = (obj, key, value) => {
10133
10127
  };
10134
10128
  const Wrapper$9 = styled.div.withConfig({
10135
10129
  componentId: "sc-2dguvi-0"
10136
- })(["background-color:", ";border-radius:", ";border:", ";display:flex;width:100%;max-width:100%;text-align:", ";flex-direction:column;padding:", ";gap:", ";box-shadow:", ";&:hover,&:focus{background-color:", ";cursor:pointer;button{background-color:", ";border-color:", ";&:active{background-color:", ";border-color:", ";}}}&:active{border-color:", ";}", " ", ""], ({
10130
+ })(["background-color:", ";border-radius:", ";border:", ";display:flex;width:100%;max-width:100%;text-align:", ";flex-direction:column;padding:", ";gap:", ";box-shadow:", ";&:hover,&:focus{background-color:", ";cursor:pointer;button{background-color:", ";border-color:", ";&:active{background-color:", ";border-color:", ";}}}&:active{border-color:", ';}&[aria-disabled="true"],&[aria-disabled="true"]:hover,&[aria-disabled="true"]:focus,&[aria-disabled="true"]:active{', "}", ""], ({
10137
10131
  theme: theme2
10138
10132
  }) => theme2.click.card.primary.color.background.default, ({
10139
10133
  theme: theme2
@@ -10163,13 +10157,8 @@ var __publicField = (obj, key, value) => {
10163
10157
  }) => theme2.click.button.basic.color.primary.stroke.active, ({
10164
10158
  theme: theme2
10165
10159
  }) => theme2.click.button.basic.color.primary.stroke.active, ({
10166
- $disabled,
10167
10160
  theme: theme2
10168
- }) => $disabled && `
10169
- &,
10170
- &:hover,
10171
- &:focus,
10172
- &:active {
10161
+ }) => `
10173
10162
  background-color: ${theme2.click.card.primary.color.background.disabled};
10174
10163
  color: ${theme2.click.card.primary.color.title.disabled};
10175
10164
  border: 1px solid ${theme2.click.card.primary.color.stroke.disabled};
@@ -10182,9 +10171,7 @@ var __publicField = (obj, key, value) => {
10182
10171
  background-color: ${theme2.click.button.basic.color.primary.background.disabled};
10183
10172
  border-color: ${theme2.click.button.basic.color.primary.stroke.disabled};
10184
10173
  }
10185
- }
10186
- }
10187
- `, ({
10174
+ }`, ({
10188
10175
  $isSelected,
10189
10176
  theme: theme2
10190
10177
  }) => $isSelected ? `border-color: ${theme2.click.button.basic.color.primary.stroke.active};` : "");
@@ -10243,7 +10230,7 @@ var __publicField = (obj, key, value) => {
10243
10230
  }
10244
10231
  };
10245
10232
  const Component = !!infoUrl || typeof onButtonClick === "function" ? Button : "div";
10246
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$9, { $alignContent: alignContent, $hasShadow: hasShadow, $size: size2, $disabled: disabled, $isSelected: isSelected, tabIndex: 0, ...props, children: [
10233
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper$9, { $alignContent: alignContent, $hasShadow: hasShadow, $size: size2, "aria-disabled": disabled, $isSelected: isSelected, tabIndex: 0, ...props, children: [
10247
10234
  (icon || title) && /* @__PURE__ */ jsxRuntimeExports.jsxs(Header$3, { $size: size2, $disabled: disabled, $alignContent: alignContent, children: [
10248
10235
  icon && /* @__PURE__ */ jsxRuntimeExports.jsx(SvgImage, { name: icon, "aria-hidden": true }),
10249
10236
  title && /* @__PURE__ */ jsxRuntimeExports.jsx(Title$2, { type: "h3", children: title })
@@ -31499,7 +31486,7 @@ var __publicField = (obj, key, value) => {
31499
31486
  onFocusChangeProp(row, column);
31500
31487
  }
31501
31488
  }, [onFocusChangeProp, focusProp]);
31502
- const rowNumberWidth = (rowCount.toString().length + 2) * 8 + 3;
31489
+ const rowNumberWidth = ((rowStart + rowCount).toString().length + 2) * 8 + 3;
31503
31490
  const {
31504
31491
  getColumnHorizontalPosition,
31505
31492
  onColumnResize,
@@ -32421,17 +32408,24 @@ var __publicField = (obj, key, value) => {
32421
32408
  const formatNumber = (value) => {
32422
32409
  return new Intl.NumberFormat("en").format(value);
32423
32410
  };
32411
+ const leftButtonDisabled = currentPage <= 1;
32412
+ const rightButtonDisabled = !!totalPages && currentPage === totalPages || disableNextButton;
32424
32413
  const onKeyDown = (e) => {
32425
- if (e.key === "ArrowUp" || e.key === "ArrowRight") {
32414
+ var _a;
32415
+ const isInputEnabled = !((_a = inputRef.current) == null ? void 0 : _a.disabled);
32416
+ if ((e.key === "ArrowUp" || e.key === "ArrowRight") && isInputEnabled && !rightButtonDisabled) {
32426
32417
  onChangeProp(currentPage + 1);
32427
- } else if (e.key === "ArrowDown" || e.key === "ArrowLeft") {
32428
- onChangeProp(currentPage - 1);
32418
+ } else if ((e.key === "ArrowDown" || e.key === "ArrowLeft") && isInputEnabled && !leftButtonDisabled) {
32419
+ const newPage = currentPage - 1;
32420
+ if (newPage > 0) {
32421
+ onChangeProp(newPage);
32422
+ }
32429
32423
  }
32430
32424
  };
32431
32425
  const onChange = (value) => {
32432
32426
  var _a;
32433
32427
  const valueToNumber = Number(value);
32434
- if (valueToNumber < 1 || ((_a = inputRef.current) == null ? void 0 : _a.disabled)) {
32428
+ if (valueToNumber < 1 || ((_a = inputRef.current) == null ? void 0 : _a.disabled) || (typeof totalPages !== "undefined" ? valueToNumber > totalPages : false)) {
32435
32429
  return;
32436
32430
  }
32437
32431
  onChangeProp(valueToNumber);
@@ -32441,8 +32435,6 @@ var __publicField = (obj, key, value) => {
32441
32435
  onPageSizeChangeProp(Number(value));
32442
32436
  }
32443
32437
  };
32444
- const leftButtonDisabled = currentPage <= 1;
32445
- const rightButtonDisabled = !!totalPages && currentPage === totalPages || disableNextButton;
32446
32438
  const onPrevClick = React.useCallback((e) => {
32447
32439
  if (leftButtonDisabled) {
32448
32440
  return;
@@ -37093,14 +37085,15 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
37093
37085
  icon,
37094
37086
  selected,
37095
37087
  iconDir,
37088
+ disabled,
37096
37089
  type = "main",
37097
37090
  ...props
37098
37091
  }, ref) => {
37099
- return /* @__PURE__ */ jsxRuntimeExports.jsx(SidebarItemWrapper, { $level: level, "data-selected": selected, $type: type, ref, ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsx(IconWrapper, { icon, iconDir, children: label }) });
37092
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(SidebarItemWrapper, { $level: level, "data-selected": selected, $type: type, ref, "aria-disabled": disabled, ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsx(IconWrapper, { icon, iconDir, children: label }) });
37100
37093
  });
37101
37094
  const SidebarItemWrapper = styled.div.withConfig({
37102
37095
  componentId: "sc-1rz759l-0"
37103
- })(["display:flex;align-items:center;border:none;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;white-space:nowrap;overflow:hidden;flex-wrap:nowrap;cursor:pointer;", ' a{color:inherit;text-decoration:none;&:active{color:inherit;}}&:hover [data-trigger-icon],[data-open="true"][data-trigger-icon]{visibility:visible;}'], ({
37096
+ })(["display:flex;align-items:center;border:none;width:100%;width:-webkit-fill-available;width:fill-available;width:stretch;white-space:nowrap;overflow:hidden;flex-wrap:nowrap;", ""], ({
37104
37097
  theme: theme2,
37105
37098
  $collapsible = false,
37106
37099
  $level,
@@ -37113,26 +37106,53 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
37113
37106
  font: ${theme2.click.sidebar.navigation[itemType].typography.default};
37114
37107
  background-color: ${theme2.click.sidebar[$type].navigation[itemType].color.background.default};
37115
37108
  color: ${theme2.click.sidebar[$type].navigation[itemType].color.text.default};
37109
+ span a {
37110
+ color: ${theme2.click.sidebar[$type].navigation[itemType].color.text.default};
37111
+ cursor: pointer;
37112
+ text-decoration: none;
37113
+ }
37114
+ cursor: pointer;
37115
+ pointer-events: all;
37116
+
37116
37117
  &:hover, &:focus {
37117
37118
  font: ${theme2.click.sidebar.navigation[itemType].typography.hover};
37118
37119
  background-color: ${theme2.click.sidebar[$type].navigation[itemType].color.background.hover};
37119
37120
  color: ${theme2.click.sidebar[$type].navigation[itemType].color.text.hover};
37121
+ pointer-events: auto;
37120
37122
  }
37121
37123
 
37122
- &:active, &[data-selected="true"] {
37124
+ &:active, &[data-selected="true"] {
37123
37125
  font: ${theme2.click.sidebar.navigation[itemType].typography.active};
37124
37126
  background-color: ${theme2.click.sidebar[$type].navigation[itemType].color.background.active};
37125
37127
  color: ${theme2.click.sidebar[$type].navigation[itemType].color.text.active};
37128
+ pointer-events: all;
37126
37129
  }
37130
+
37131
+ &[aria-disabled=true],
37132
+ &[aria-disabled=true]:hover,
37133
+ &[aria-disabled=true]:focus,
37134
+ &[aria-disabled=true]:active,
37135
+ &[aria-disabled=true]:focus-within,
37136
+ &[aria-disabled=true][data-selected="true"] {
37137
+
37138
+ color: ${theme2.click.sidebar[$type].navigation[itemType].color.text.disabled};
37139
+ pointer-events: none;
37140
+
37141
+ span a {
37142
+ color: ${theme2.click.sidebar[$type].navigation[itemType].color.text.disabled};
37143
+ cursor: not-allowed;
37144
+ text-decoration: none;
37145
+ }
37146
+ cursor: not-allowed;
37147
+ }
37148
+
37127
37149
  @media (max-width: 640px) {
37128
37150
  gap: ${theme2.click.sidebar.navigation[itemType].mobile.space.gap};
37129
37151
  padding: ${theme2.click.sidebar.navigation[itemType].mobile.space.y} ${theme2.click.sidebar.navigation[itemType].mobile.space.right} ${theme2.click.sidebar.navigation[itemType].mobile.space.y} ${$collapsible ? theme2.click.sidebar.navigation[itemType].mobile.space.left : theme2.click.image.sm.size.width};
37130
37152
  font: ${theme2.click.sidebar.navigation[itemType].mobile.typography.default};
37131
-
37132
37153
  &:hover, &:focus {
37133
37154
  font: ${theme2.click.sidebar.navigation[itemType].mobile.typography.hover};
37134
37155
  }
37135
-
37136
37156
  &:active, &[data-selected="true"] {
37137
37157
  font: ${theme2.click.sidebar.navigation[itemType].mobile.typography.active};
37138
37158
  }
@@ -41112,10 +41132,12 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
41112
41132
  "default": "#f6f7fa",
41113
41133
  hover: "#ffffff",
41114
41134
  active: "#ffffff",
41115
- muted: "#696e79"
41135
+ muted: "#696e79",
41136
+ disabled: "#a0a0a0"
41116
41137
  },
41117
41138
  icon: {
41118
- "default": "#e4e2e9"
41139
+ "default": "#e4e2e9",
41140
+ disabled: "#a0a0a0"
41119
41141
  }
41120
41142
  },
41121
41143
  background: {
@@ -41186,13 +41208,6 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
41186
41208
  }
41187
41209
  }
41188
41210
  },
41189
- title: {
41190
- color: {
41191
- "default": "#696e79",
41192
- hover: "#696e79",
41193
- active: "#696e79"
41194
- }
41195
- },
41196
41211
  subItem: {
41197
41212
  color: {
41198
41213
  text: {
@@ -41207,6 +41222,13 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
41207
41222
  }
41208
41223
  }
41209
41224
  },
41225
+ title: {
41226
+ color: {
41227
+ "default": "#696e79",
41228
+ hover: "#696e79",
41229
+ active: "#696e79"
41230
+ }
41231
+ },
41210
41232
  dragControl: {
41211
41233
  separator: {
41212
41234
  color: {
@@ -42425,10 +42447,12 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
42425
42447
  "default": "#ffffff",
42426
42448
  hover: "#ffffff",
42427
42449
  active: "#ffffff",
42428
- muted: "#b3b6bd"
42450
+ muted: "#b3b6bd",
42451
+ disabled: "#808080"
42429
42452
  },
42430
42453
  icon: {
42431
- "default": "#b3b6bd"
42454
+ "default": "#b3b6bd",
42455
+ disabled: "#808080"
42432
42456
  }
42433
42457
  }
42434
42458
  },
@@ -42443,11 +42467,13 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
42443
42467
  color: {
42444
42468
  text: {
42445
42469
  "default": "#b3b6bd",
42470
+ disabled: "#808080",
42446
42471
  hover: "#ffffff",
42447
42472
  active: "#ffffff"
42448
42473
  },
42449
42474
  background: {
42450
42475
  "default": "rgba(0,0,0,0)",
42476
+ disabled: "rgba(0,0,0,0)",
42451
42477
  hover: "lch(19.1 0 0)",
42452
42478
  active: "rgba(0,0,0,0)"
42453
42479
  }
@@ -42483,23 +42509,19 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
42483
42509
  "default": "#ffffff",
42484
42510
  hover: "#ffffff",
42485
42511
  active: "#ffffff",
42486
- muted: "#b3b6bd"
42512
+ muted: "#b3b6bd",
42513
+ disabled: "#808080"
42487
42514
  },
42488
42515
  icon: {
42489
- "default": "#b3b6bd"
42516
+ "default": "#b3b6bd",
42517
+ disabled: "#808080"
42490
42518
  }
42491
42519
  }
42492
42520
  },
42493
- title: {
42494
- color: {
42495
- "default": "#b3b6bd",
42496
- hover: "#b3b6bd",
42497
- active: "#b3b6bd"
42498
- }
42499
- },
42500
42521
  subItem: {
42501
42522
  color: {
42502
42523
  text: {
42524
+ disabled: "#808080",
42503
42525
  "default": "#b3b6bd",
42504
42526
  hover: "#ffffff",
42505
42527
  active: "#ffffff"
@@ -42511,6 +42533,13 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
42511
42533
  }
42512
42534
  }
42513
42535
  },
42536
+ title: {
42537
+ color: {
42538
+ "default": "#b3b6bd",
42539
+ hover: "#b3b6bd",
42540
+ active: "#b3b6bd"
42541
+ }
42542
+ },
42514
42543
  dragControl: {
42515
42544
  separator: {
42516
42545
  color: {
@@ -43884,10 +43913,12 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
43884
43913
  "default": "#161517",
43885
43914
  hover: "#161517",
43886
43915
  active: "#161517",
43887
- muted: "#696e79"
43916
+ muted: "#696e79",
43917
+ disabled: "#a0a0a0"
43888
43918
  },
43889
43919
  icon: {
43890
- "default": "#696e79"
43920
+ "default": "#696e79",
43921
+ disabled: "#a0a0a0"
43891
43922
  }
43892
43923
  }
43893
43924
  },
@@ -43902,13 +43933,19 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
43902
43933
  color: {
43903
43934
  text: {
43904
43935
  "default": "#696e79",
43936
+ disabled: "#a0a0a0",
43905
43937
  hover: "#161517",
43906
43938
  active: "#161517"
43907
43939
  },
43908
43940
  background: {
43909
43941
  "default": "rgba(0,0,0,0)",
43942
+ disabled: "rgba(0,0,0,0)",
43910
43943
  hover: "lch(91.6 1.1 266 / 0.6)",
43911
43944
  active: "rgba(0,0,0,0)"
43945
+ },
43946
+ icon: {
43947
+ "default": "#696e79",
43948
+ disabled: "#a0a0a0"
43912
43949
  }
43913
43950
  }
43914
43951
  },
@@ -43942,23 +43979,18 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
43942
43979
  "default": "#161517",
43943
43980
  hover: "#161517",
43944
43981
  active: "#161517",
43945
- muted: "#696e79"
43982
+ muted: "#696e79",
43983
+ disabled: "#a0a0a0"
43946
43984
  },
43947
43985
  icon: {
43948
43986
  "default": "#696e79"
43949
43987
  }
43950
43988
  }
43951
43989
  },
43952
- title: {
43953
- color: {
43954
- "default": "#696e79",
43955
- hover: "#696e79",
43956
- active: "#696e79"
43957
- }
43958
- },
43959
43990
  subItem: {
43960
43991
  color: {
43961
43992
  text: {
43993
+ disabled: "#a0a0a0",
43962
43994
  "default": "#696e79",
43963
43995
  hover: "#161517",
43964
43996
  active: "#161517"
@@ -43970,6 +44002,13 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
43970
44002
  }
43971
44003
  }
43972
44004
  },
44005
+ title: {
44006
+ color: {
44007
+ "default": "#696e79",
44008
+ hover: "#696e79",
44009
+ active: "#696e79"
44010
+ }
44011
+ },
43973
44012
  dragControl: {
43974
44013
  separator: {
43975
44014
  color: {
@@ -46258,10 +46297,12 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
46258
46297
  "default": "#161517",
46259
46298
  hover: "#161517",
46260
46299
  active: "#161517",
46261
- muted: "#696e79"
46300
+ muted: "#696e79",
46301
+ disabled: "#a0a0a0"
46262
46302
  },
46263
46303
  icon: {
46264
- "default": "#696e79"
46304
+ "default": "#696e79",
46305
+ disabled: "#a0a0a0"
46265
46306
  }
46266
46307
  }
46267
46308
  },
@@ -46276,13 +46317,19 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
46276
46317
  color: {
46277
46318
  text: {
46278
46319
  "default": "#696e79",
46320
+ disabled: "#a0a0a0",
46279
46321
  hover: "#161517",
46280
46322
  active: "#161517"
46281
46323
  },
46282
46324
  background: {
46283
46325
  "default": "rgba(0,0,0,0)",
46326
+ disabled: "rgba(0,0,0,0)",
46284
46327
  hover: "lch(91.6 1.1 266 / 0.6)",
46285
46328
  active: "rgba(0,0,0,0)"
46329
+ },
46330
+ icon: {
46331
+ "default": "#696e79",
46332
+ disabled: "#a0a0a0"
46286
46333
  }
46287
46334
  }
46288
46335
  },
@@ -46316,23 +46363,19 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
46316
46363
  "default": "#161517",
46317
46364
  hover: "#161517",
46318
46365
  active: "#161517",
46319
- muted: "#696e79"
46366
+ muted: "#696e79",
46367
+ disabled: "#a0a0a0"
46320
46368
  },
46321
46369
  icon: {
46322
- "default": "#696e79"
46370
+ "default": "#696e79",
46371
+ disabled: "#a0a0a0"
46323
46372
  }
46324
46373
  }
46325
46374
  },
46326
- title: {
46327
- color: {
46328
- "default": "#696e79",
46329
- hover: "#696e79",
46330
- active: "#696e79"
46331
- }
46332
- },
46333
46375
  subItem: {
46334
46376
  color: {
46335
46377
  text: {
46378
+ disabled: "#a0a0a0",
46336
46379
  "default": "#696e79",
46337
46380
  hover: "#161517",
46338
46381
  active: "#161517"
@@ -46344,6 +46387,13 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
46344
46387
  }
46345
46388
  }
46346
46389
  },
46390
+ title: {
46391
+ color: {
46392
+ "default": "#696e79",
46393
+ hover: "#696e79",
46394
+ active: "#696e79"
46395
+ }
46396
+ },
46347
46397
  dragControl: {
46348
46398
  separator: {
46349
46399
  color: {
@@ -3,6 +3,7 @@ import { HorizontalDirection, IconName } from '../../components';
3
3
  export interface SidebarNavigationItemProps extends HTMLAttributes<HTMLDivElement> {
4
4
  label: ReactNode;
5
5
  selected?: boolean;
6
+ disabled?: boolean;
6
7
  level?: number;
7
8
  icon?: IconName;
8
9
  iconDir?: HorizontalDirection;
@@ -1798,9 +1798,11 @@ export interface Theme {
1798
1798
  "hover": string;
1799
1799
  "active": string;
1800
1800
  "muted": string;
1801
+ "disabled": string;
1801
1802
  };
1802
1803
  "icon": {
1803
1804
  "default": string;
1805
+ "disabled": string;
1804
1806
  };
1805
1807
  };
1806
1808
  };
@@ -1815,14 +1817,20 @@ export interface Theme {
1815
1817
  "color": {
1816
1818
  "text": {
1817
1819
  "default": string;
1820
+ "disabled": string;
1818
1821
  "hover": string;
1819
1822
  "active": string;
1820
1823
  };
1821
1824
  "background": {
1822
1825
  "default": string;
1826
+ "disabled": string;
1823
1827
  "hover": string;
1824
1828
  "active": string;
1825
1829
  };
1830
+ "icon": {
1831
+ "default": string;
1832
+ "disabled": string;
1833
+ };
1826
1834
  };
1827
1835
  };
1828
1836
  "dragControl": {
@@ -1856,22 +1864,18 @@ export interface Theme {
1856
1864
  "hover": string;
1857
1865
  "active": string;
1858
1866
  "muted": string;
1867
+ "disabled": string;
1859
1868
  };
1860
1869
  "icon": {
1861
1870
  "default": string;
1871
+ "disabled": string;
1862
1872
  };
1863
1873
  };
1864
1874
  };
1865
- "title": {
1866
- "color": {
1867
- "default": string;
1868
- "hover": string;
1869
- "active": string;
1870
- };
1871
- };
1872
1875
  "subItem": {
1873
1876
  "color": {
1874
1877
  "text": {
1878
+ "disabled": string;
1875
1879
  "default": string;
1876
1880
  "hover": string;
1877
1881
  "active": string;
@@ -1883,6 +1887,13 @@ export interface Theme {
1883
1887
  };
1884
1888
  };
1885
1889
  };
1890
+ "title": {
1891
+ "color": {
1892
+ "default": string;
1893
+ "hover": string;
1894
+ "active": string;
1895
+ };
1896
+ };
1886
1897
  "dragControl": {
1887
1898
  "separator": {
1888
1899
  "color": {
@@ -461,10 +461,12 @@ declare const _default: {
461
461
  "default": "#f6f7fa",
462
462
  "hover": "#ffffff",
463
463
  "active": "#ffffff",
464
- "muted": "#696e79"
464
+ "muted": "#696e79",
465
+ "disabled": "#a0a0a0"
465
466
  },
466
467
  "icon": {
467
- "default": "#e4e2e9"
468
+ "default": "#e4e2e9",
469
+ "disabled": "#a0a0a0"
468
470
  }
469
471
  },
470
472
  "background": {
@@ -535,13 +537,6 @@ declare const _default: {
535
537
  }
536
538
  }
537
539
  },
538
- "title": {
539
- "color": {
540
- "default": "#696e79",
541
- "hover": "#696e79",
542
- "active": "#696e79"
543
- }
544
- },
545
540
  "subItem": {
546
541
  "color": {
547
542
  "text": {
@@ -556,6 +551,13 @@ declare const _default: {
556
551
  }
557
552
  }
558
553
  },
554
+ "title": {
555
+ "color": {
556
+ "default": "#696e79",
557
+ "hover": "#696e79",
558
+ "active": "#696e79"
559
+ }
560
+ },
559
561
  "dragControl": {
560
562
  "separator": {
561
563
  "color": {
@@ -883,10 +883,12 @@ declare const _default: {
883
883
  "default": "#ffffff",
884
884
  "hover": "#ffffff",
885
885
  "active": "#ffffff",
886
- "muted": "#b3b6bd"
886
+ "muted": "#b3b6bd",
887
+ "disabled": "#808080"
887
888
  },
888
889
  "icon": {
889
- "default": "#b3b6bd"
890
+ "default": "#b3b6bd",
891
+ "disabled": "#808080"
890
892
  }
891
893
  }
892
894
  },
@@ -901,11 +903,13 @@ declare const _default: {
901
903
  "color": {
902
904
  "text": {
903
905
  "default": "#b3b6bd",
906
+ "disabled": "#808080",
904
907
  "hover": "#ffffff",
905
908
  "active": "#ffffff"
906
909
  },
907
910
  "background": {
908
911
  "default": "rgba(0,0,0,0)",
912
+ "disabled": "rgba(0,0,0,0)",
909
913
  "hover": "lch(19.1 0 0)",
910
914
  "active": "rgba(0,0,0,0)"
911
915
  }
@@ -941,23 +945,19 @@ declare const _default: {
941
945
  "default": "#ffffff",
942
946
  "hover": "#ffffff",
943
947
  "active": "#ffffff",
944
- "muted": "#b3b6bd"
948
+ "muted": "#b3b6bd",
949
+ "disabled": "#808080"
945
950
  },
946
951
  "icon": {
947
- "default": "#b3b6bd"
952
+ "default": "#b3b6bd",
953
+ "disabled": "#808080"
948
954
  }
949
955
  }
950
956
  },
951
- "title": {
952
- "color": {
953
- "default": "#b3b6bd",
954
- "hover": "#b3b6bd",
955
- "active": "#b3b6bd"
956
- }
957
- },
958
957
  "subItem": {
959
958
  "color": {
960
959
  "text": {
960
+ "disabled": "#808080",
961
961
  "default": "#b3b6bd",
962
962
  "hover": "#ffffff",
963
963
  "active": "#ffffff"
@@ -969,6 +969,13 @@ declare const _default: {
969
969
  }
970
970
  }
971
971
  },
972
+ "title": {
973
+ "color": {
974
+ "default": "#b3b6bd",
975
+ "hover": "#b3b6bd",
976
+ "active": "#b3b6bd"
977
+ }
978
+ },
972
979
  "dragControl": {
973
980
  "separator": {
974
981
  "color": {
@@ -1797,10 +1797,12 @@ declare const _default: {
1797
1797
  "default": "#161517",
1798
1798
  "hover": "#161517",
1799
1799
  "active": "#161517",
1800
- "muted": "#696e79"
1800
+ "muted": "#696e79",
1801
+ "disabled": "#a0a0a0"
1801
1802
  },
1802
1803
  "icon": {
1803
- "default": "#696e79"
1804
+ "default": "#696e79",
1805
+ "disabled": "#a0a0a0"
1804
1806
  }
1805
1807
  }
1806
1808
  },
@@ -1815,13 +1817,19 @@ declare const _default: {
1815
1817
  "color": {
1816
1818
  "text": {
1817
1819
  "default": "#696e79",
1820
+ "disabled": "#a0a0a0",
1818
1821
  "hover": "#161517",
1819
1822
  "active": "#161517"
1820
1823
  },
1821
1824
  "background": {
1822
1825
  "default": "rgba(0,0,0,0)",
1826
+ "disabled": "rgba(0,0,0,0)",
1823
1827
  "hover": "lch(91.6 1.1 266 / 0.6)",
1824
1828
  "active": "rgba(0,0,0,0)"
1829
+ },
1830
+ "icon": {
1831
+ "default": "#696e79",
1832
+ "disabled": "#a0a0a0"
1825
1833
  }
1826
1834
  }
1827
1835
  },
@@ -1855,23 +1863,19 @@ declare const _default: {
1855
1863
  "default": "#161517",
1856
1864
  "hover": "#161517",
1857
1865
  "active": "#161517",
1858
- "muted": "#696e79"
1866
+ "muted": "#696e79",
1867
+ "disabled": "#a0a0a0"
1859
1868
  },
1860
1869
  "icon": {
1861
- "default": "#696e79"
1870
+ "default": "#696e79",
1871
+ "disabled": "#a0a0a0"
1862
1872
  }
1863
1873
  }
1864
1874
  },
1865
- "title": {
1866
- "color": {
1867
- "default": "#696e79",
1868
- "hover": "#696e79",
1869
- "active": "#696e79"
1870
- }
1871
- },
1872
1875
  "subItem": {
1873
1876
  "color": {
1874
1877
  "text": {
1878
+ "disabled": "#a0a0a0",
1875
1879
  "default": "#696e79",
1876
1880
  "hover": "#161517",
1877
1881
  "active": "#161517"
@@ -1883,6 +1887,13 @@ declare const _default: {
1883
1887
  }
1884
1888
  }
1885
1889
  },
1890
+ "title": {
1891
+ "color": {
1892
+ "default": "#696e79",
1893
+ "hover": "#696e79",
1894
+ "active": "#696e79"
1895
+ }
1896
+ },
1886
1897
  "dragControl": {
1887
1898
  "separator": {
1888
1899
  "color": {
@@ -879,10 +879,12 @@ declare const _default: {
879
879
  "default": "#161517",
880
880
  "hover": "#161517",
881
881
  "active": "#161517",
882
- "muted": "#696e79"
882
+ "muted": "#696e79",
883
+ "disabled": "#a0a0a0"
883
884
  },
884
885
  "icon": {
885
- "default": "#696e79"
886
+ "default": "#696e79",
887
+ "disabled": "#a0a0a0"
886
888
  }
887
889
  }
888
890
  },
@@ -897,13 +899,19 @@ declare const _default: {
897
899
  "color": {
898
900
  "text": {
899
901
  "default": "#696e79",
902
+ "disabled": "#a0a0a0",
900
903
  "hover": "#161517",
901
904
  "active": "#161517"
902
905
  },
903
906
  "background": {
904
907
  "default": "rgba(0,0,0,0)",
908
+ "disabled": "rgba(0,0,0,0)",
905
909
  "hover": "lch(91.6 1.1 266 / 0.6)",
906
910
  "active": "rgba(0,0,0,0)"
911
+ },
912
+ "icon": {
913
+ "default": "#696e79",
914
+ "disabled": "#a0a0a0"
907
915
  }
908
916
  }
909
917
  },
@@ -937,23 +945,18 @@ declare const _default: {
937
945
  "default": "#161517",
938
946
  "hover": "#161517",
939
947
  "active": "#161517",
940
- "muted": "#696e79"
948
+ "muted": "#696e79",
949
+ "disabled": "#a0a0a0"
941
950
  },
942
951
  "icon": {
943
952
  "default": "#696e79"
944
953
  }
945
954
  }
946
955
  },
947
- "title": {
948
- "color": {
949
- "default": "#696e79",
950
- "hover": "#696e79",
951
- "active": "#696e79"
952
- }
953
- },
954
956
  "subItem": {
955
957
  "color": {
956
958
  "text": {
959
+ "disabled": "#a0a0a0",
957
960
  "default": "#696e79",
958
961
  "hover": "#161517",
959
962
  "active": "#161517"
@@ -965,6 +968,13 @@ declare const _default: {
965
968
  }
966
969
  }
967
970
  },
971
+ "title": {
972
+ "color": {
973
+ "default": "#696e79",
974
+ "hover": "#696e79",
975
+ "active": "#696e79"
976
+ }
977
+ },
968
978
  "dragControl": {
969
979
  "separator": {
970
980
  "color": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clickhouse/click-ui",
3
- "version": "0.0.133",
3
+ "version": "0.0.134",
4
4
  "description": "Official ClickHouse design system react library",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",