@clickhouse/click-ui 0.0.187 → 0.0.188

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.
@@ -9300,13 +9300,14 @@ const Wrapper$c = styled.div.withConfig({
9300
9300
  })(["display:inline-flex;", ""], ({
9301
9301
  $state = "default",
9302
9302
  $size = "md",
9303
+ $type = "opaque",
9303
9304
  theme: theme2
9304
9305
  }) => `
9305
- background-color: ${theme2.click.badge.color.background[$state]};
9306
- color: ${theme2.click.badge.color.text[$state]};
9306
+ background-color: ${theme2.click.badge[$type].color.background[$state]};
9307
+ color: ${theme2.click.badge[$type].color.text[$state]};
9307
9308
  font: ${theme2.click.badge.typography.label[$size].default};
9308
9309
  border-radius: ${theme2.click.badge.radii.all};
9309
- border: ${theme2.click.badge.stroke} solid ${theme2.click.badge.color.stroke[$state]};
9310
+ border: ${theme2.click.badge.stroke} solid ${theme2.click.badge[$type].color.stroke[$state]};
9310
9311
  padding: ${theme2.click.badge.space[$size].y} ${theme2.click.badge.space[$size].x};
9311
9312
  `);
9312
9313
  const Content$4 = styled.div.withConfig({
@@ -9320,9 +9321,10 @@ const SvgContainer = styled.svg.withConfig({
9320
9321
  })(["", ""], ({
9321
9322
  $state = "default",
9322
9323
  $size = "md",
9324
+ $type = "opaque",
9323
9325
  theme: theme2
9324
9326
  }) => `
9325
- color: ${theme2.click.badge.color.text[$state]};
9327
+ color: ${theme2.click.badge[$type].color.text[$state]};
9326
9328
  height: ${theme2.click.badge.icon[$size].size.height};
9327
9329
  width: ${theme2.click.badge.icon[$size].size.width};
9328
9330
  `);
@@ -9330,12 +9332,13 @@ const BadgeContent = styled.div.withConfig({
9330
9332
  componentId: "sc-471xo0-3"
9331
9333
  })(["width:auto;overflow:hidden;svg{", "}"], ({
9332
9334
  $state = "default",
9333
- size: size2 = "md",
9335
+ $size = "md",
9336
+ $type = "opaque",
9334
9337
  theme: theme2
9335
9338
  }) => `
9336
- color: ${theme2.click.badge.color.text[$state]};
9337
- height: ${theme2.click.badge.icon[size2].size.height};
9338
- width: ${theme2.click.badge.icon[size2].size.width};
9339
+ color: ${theme2.click.badge[$type].color.text[$state]};
9340
+ height: ${theme2.click.badge.icon[$size].size.height};
9341
+ width: ${theme2.click.badge.icon[$size].size.width};
9339
9342
  gap: inherit;
9340
9343
  `);
9341
9344
  const Badge = ({
@@ -9344,10 +9347,11 @@ const Badge = ({
9344
9347
  text: text2,
9345
9348
  state = "default",
9346
9349
  size: size2,
9350
+ type,
9347
9351
  dismissible,
9348
9352
  onClose,
9349
9353
  ...props
9350
- }) => /* @__PURE__ */ jsx(Wrapper$c, { $state: state, $size: size2, ...props, children: /* @__PURE__ */ jsxs(Content$4, { children: [
9354
+ }) => /* @__PURE__ */ jsx(Wrapper$c, { $state: state, $size: size2, $type: type, ...props, children: /* @__PURE__ */ jsxs(Content$4, { children: [
9351
9355
  /* @__PURE__ */ jsx(BadgeContent, { as: IconWrapper$3, icon, iconDir, size: size2, $state: state, children: text2 }),
9352
9356
  dismissible && /* @__PURE__ */ jsx(SvgContainer, { name: "cross", $state: state, as: SvgImage, onClick: onClose, "aria-label": "close" })
9353
9357
  ] }) });
@@ -34004,6 +34008,16 @@ const SearchField = forwardRef(({
34004
34008
  loading && /* @__PURE__ */ jsx(SvgImage, { name: "loading-animated", size: "sm" })
34005
34009
  ] });
34006
34010
  });
34011
+ const useUpdateEffect = (effect, deps) => {
34012
+ const isFirstMount = useRef(true);
34013
+ useEffect(() => {
34014
+ if (isFirstMount) {
34015
+ isFirstMount.current = false;
34016
+ return;
34017
+ }
34018
+ return effect();
34019
+ }, deps);
34020
+ };
34007
34021
  const SelectPopoverRoot = styled($cb5cc270b50c6fcd$export$be92b6f5f03c0fe9).withConfig({
34008
34022
  componentId: "sc-oudbwg-0"
34009
34023
  })(["width:100%;"]);
@@ -37993,7 +38007,7 @@ const Select = ({
37993
38007
  onSelect(values[0]);
37994
38008
  }
37995
38009
  }, [selectedValues, onSelect]);
37996
- useEffect(() => {
38010
+ useUpdateEffect(() => {
37997
38011
  setSelectedValues(valueProp ? [valueProp] : []);
37998
38012
  }, [valueProp]);
37999
38013
  const conditionalProps = {};
@@ -38023,7 +38037,7 @@ const MultiSelect = ({
38023
38037
  onOpenChangeProp(open22);
38024
38038
  }
38025
38039
  }, [onOpenChangeProp]);
38026
- useEffect(() => {
38040
+ useUpdateEffect(() => {
38027
38041
  setSelectedValues(valueProp ?? []);
38028
38042
  }, [valueProp]);
38029
38043
  const onChange = useCallback((values, type) => {
@@ -42880,33 +42894,66 @@ const click$2 = {
42880
42894
  }
42881
42895
  },
42882
42896
  badge: {
42883
- color: {
42884
- background: {
42885
- "default": "#1F1F1C",
42886
- success: "rgb(20% 100% 26.7% / 0.2)",
42887
- neutral: "rgb(62.7% 62.7% 62.7% / 0.2)",
42888
- danger: "rgb(100% 13.7% 13.7% / 0.2)",
42889
- disabled: "#414141",
42890
- info: "rgb(26.3% 49.4% 93.7% / 0.2)",
42891
- warning: "rgb(100% 46.7% 16.1% / 0.2)"
42892
- },
42893
- text: {
42894
- "default": "#b3b6bd",
42895
- success: "#CCFFD0",
42896
- neutral: "#c0c0c0",
42897
- danger: "#ffbaba",
42898
- disabled: "#808080",
42899
- info: "#D0DFFB",
42900
- warning: "#FFB88F"
42901
- },
42902
- stroke: {
42903
- "default": "#323232",
42904
- success: "rgb(20% 100% 26.7% / 0.1)",
42905
- neutral: "rgb(62.7% 62.7% 62.7% / 0.1)",
42906
- danger: "rgb(100% 22.3% 22.3% / 0.2)",
42907
- disabled: "rgb(24.2% 24.2% 24.2%)",
42908
- info: "rgb(26.3% 49.4% 93.7% / 0.1)",
42909
- warning: "rgb(100% 46.7% 16.1% / 0.1)"
42897
+ opaque: {
42898
+ color: {
42899
+ background: {
42900
+ "default": "#1F1F1C",
42901
+ success: "rgb(20% 100% 26.7% / 0.2)",
42902
+ neutral: "rgb(62.7% 62.7% 62.7% / 0.2)",
42903
+ danger: "rgb(100% 13.7% 13.7% / 0.2)",
42904
+ disabled: "#414141",
42905
+ info: "rgb(26.3% 49.4% 93.7% / 0.2)",
42906
+ warning: "rgb(100% 46.7% 16.1% / 0.2)"
42907
+ },
42908
+ text: {
42909
+ "default": "#b3b6bd",
42910
+ success: "#CCFFD0",
42911
+ neutral: "#c0c0c0",
42912
+ danger: "#ffbaba",
42913
+ disabled: "#808080",
42914
+ info: "#D0DFFB",
42915
+ warning: "#FFB88F"
42916
+ },
42917
+ stroke: {
42918
+ "default": "#323232",
42919
+ success: "rgb(20% 100% 26.7% / 0.1)",
42920
+ neutral: "rgb(62.7% 62.7% 62.7% / 0.1)",
42921
+ danger: "rgb(100% 22.3% 22.3% / 0.2)",
42922
+ disabled: "rgb(24.2% 24.2% 24.2%)",
42923
+ info: "rgb(26.3% 49.4% 93.7% / 0.1)",
42924
+ warning: "rgb(100% 46.7% 16.1% / 0.1)"
42925
+ }
42926
+ }
42927
+ },
42928
+ solid: {
42929
+ color: {
42930
+ background: {
42931
+ "default": "#c0c0c0",
42932
+ success: "#99FFA1",
42933
+ neutral: "#c0c0c0",
42934
+ danger: "#ff9898",
42935
+ disabled: "#414141",
42936
+ info: "#A1BEF7",
42937
+ warning: "#FF9457"
42938
+ },
42939
+ text: {
42940
+ "default": "#1F1F1C",
42941
+ success: "#1F1F1C",
42942
+ neutral: "#1F1F1C",
42943
+ danger: "#1F1F1C",
42944
+ disabled: "#808080",
42945
+ info: "#1F1F1C",
42946
+ warning: "#1F1F1C"
42947
+ },
42948
+ stroke: {
42949
+ "default": "rgb(19.6% 19.6% 19.6% / 0.1)",
42950
+ success: "rgb(20% 100% 26.7% / 0.1)",
42951
+ neutral: "rgb(62.7% 62.7% 62.7% / 0.1)",
42952
+ danger: "rgb(100% 22.3% 22.3% / 0.2)",
42953
+ disabled: "rgb(24.2% 24.2% 24.2%)",
42954
+ info: "rgb(26.3% 49.4% 93.7% / 0.1)",
42955
+ warning: "rgb(100% 46.7% 16.1% / 0.1)"
42956
+ }
42910
42957
  }
42911
42958
  }
42912
42959
  },
@@ -44628,33 +44675,66 @@ const click$1 = {
44628
44675
  }
44629
44676
  },
44630
44677
  badge: {
44631
- color: {
44632
- background: {
44633
- "default": "#f6f7fa",
44634
- success: "rgb(20% 100% 26.7% / 0.1)",
44635
- neutral: "rgb(41.2% 43.1% 47.5% / 0.1)",
44636
- danger: "rgb(100% 13.7% 13.7% / 0.1)",
44637
- disabled: "#dfdfdf",
44638
- info: "rgb(26.3% 49.4% 93.7% / 0.1)",
44639
- warning: "rgb(100% 46.7% 16.1% / 0.1)"
44640
- },
44641
- text: {
44642
- "default": "#696e79",
44643
- success: "#008A0B",
44644
- neutral: "#53575f",
44645
- danger: "#c10000",
44646
- disabled: "#a0a0a0",
44647
- info: "#437EEF",
44648
- warning: "#A33C00"
44649
- },
44650
- stroke: {
44651
- "default": "#e6e7e9",
44652
- success: "rgb(20% 100% 26.7% / 0.05)",
44653
- neutral: "rgb(41.2% 43.1% 47.5% / 0.1)",
44654
- danger: "rgb(100% 13.7% 13.7% / 0.05)",
44655
- disabled: "rgb(83.1% 83.1% 83.1%)",
44656
- info: "rgb(26.3% 49.4% 93.7% / 0.05)",
44657
- warning: "rgb(100% 46.7% 16.1% / 0.05)"
44678
+ opaque: {
44679
+ color: {
44680
+ background: {
44681
+ "default": "#f6f7fa",
44682
+ success: "rgb(20% 100% 26.7% / 0.1)",
44683
+ neutral: "rgb(41.2% 43.1% 47.5% / 0.1)",
44684
+ danger: "rgb(100% 13.7% 13.7% / 0.1)",
44685
+ disabled: "#dfdfdf",
44686
+ info: "rgb(26.3% 49.4% 93.7% / 0.1)",
44687
+ warning: "rgb(100% 46.7% 16.1% / 0.1)"
44688
+ },
44689
+ text: {
44690
+ "default": "#696e79",
44691
+ success: "#008A0B",
44692
+ neutral: "#53575f",
44693
+ danger: "#c10000",
44694
+ disabled: "#a0a0a0",
44695
+ info: "#437EEF",
44696
+ warning: "#A33C00"
44697
+ },
44698
+ stroke: {
44699
+ "default": "#e6e7e9",
44700
+ success: "rgb(20% 100% 26.7% / 0.05)",
44701
+ neutral: "rgb(41.2% 43.1% 47.5% / 0.1)",
44702
+ danger: "rgb(100% 13.7% 13.7% / 0.05)",
44703
+ disabled: "rgb(83.1% 83.1% 83.1%)",
44704
+ info: "rgb(26.3% 49.4% 93.7% / 0.05)",
44705
+ warning: "rgb(100% 46.7% 16.1% / 0.05)"
44706
+ }
44707
+ }
44708
+ },
44709
+ solid: {
44710
+ color: {
44711
+ background: {
44712
+ "default": "#a0a0a0",
44713
+ success: "#008A0B",
44714
+ neutral: "#606060",
44715
+ danger: "#c10000",
44716
+ disabled: "#dfdfdf",
44717
+ info: "#104EC6",
44718
+ warning: "#D64F00"
44719
+ },
44720
+ text: {
44721
+ "default": "#ffffff",
44722
+ success: "#ffffff",
44723
+ neutral: "#ffffff",
44724
+ danger: "#ffffff",
44725
+ disabled: "#a0a0a0",
44726
+ info: "#ffffff",
44727
+ warning: "#ffffff"
44728
+ },
44729
+ stroke: {
44730
+ "default": "rgb(90.2% 90.6% 91.4% / 0.1)",
44731
+ success: "rgb(20% 100% 26.7% / 0.05)",
44732
+ neutral: "rgb(41.2% 43.1% 47.5% / 0.1)",
44733
+ danger: "rgb(100% 13.7% 13.7% / 0.05)",
44734
+ disabled: "rgb(83.1% 83.1% 83.1%)",
44735
+ info: "rgb(26.3% 49.4% 93.7% / 0.05)",
44736
+ warning: "rgb(100% 46.7% 16.1% / 0.05)"
44737
+ }
44658
44738
  }
44659
44739
  }
44660
44740
  },
@@ -46524,33 +46604,66 @@ const click = {
46524
46604
  }
46525
46605
  }
46526
46606
  },
46527
- color: {
46528
- background: {
46529
- "default": "#f6f7fa",
46530
- success: "rgb(20% 100% 26.7% / 0.1)",
46531
- neutral: "rgb(41.2% 43.1% 47.5% / 0.1)",
46532
- danger: "rgb(100% 13.7% 13.7% / 0.1)",
46533
- disabled: "#dfdfdf",
46534
- info: "rgb(26.3% 49.4% 93.7% / 0.1)",
46535
- warning: "rgb(100% 46.7% 16.1% / 0.1)"
46536
- },
46537
- text: {
46538
- "default": "#696e79",
46539
- success: "#008A0B",
46540
- neutral: "#53575f",
46541
- danger: "#c10000",
46542
- disabled: "#a0a0a0",
46543
- info: "#437EEF",
46544
- warning: "#A33C00"
46545
- },
46546
- stroke: {
46547
- "default": "#e6e7e9",
46548
- success: "rgb(20% 100% 26.7% / 0.05)",
46549
- neutral: "rgb(41.2% 43.1% 47.5% / 0.1)",
46550
- danger: "rgb(100% 13.7% 13.7% / 0.05)",
46551
- disabled: "rgb(83.1% 83.1% 83.1%)",
46552
- info: "rgb(26.3% 49.4% 93.7% / 0.05)",
46553
- warning: "rgb(100% 46.7% 16.1% / 0.05)"
46607
+ opaque: {
46608
+ color: {
46609
+ background: {
46610
+ "default": "#f6f7fa",
46611
+ success: "rgb(20% 100% 26.7% / 0.1)",
46612
+ neutral: "rgb(41.2% 43.1% 47.5% / 0.1)",
46613
+ danger: "rgb(100% 13.7% 13.7% / 0.1)",
46614
+ disabled: "#dfdfdf",
46615
+ info: "rgb(26.3% 49.4% 93.7% / 0.1)",
46616
+ warning: "rgb(100% 46.7% 16.1% / 0.1)"
46617
+ },
46618
+ text: {
46619
+ "default": "#696e79",
46620
+ success: "#008A0B",
46621
+ neutral: "#53575f",
46622
+ danger: "#c10000",
46623
+ disabled: "#a0a0a0",
46624
+ info: "#437EEF",
46625
+ warning: "#A33C00"
46626
+ },
46627
+ stroke: {
46628
+ "default": "#e6e7e9",
46629
+ success: "rgb(20% 100% 26.7% / 0.05)",
46630
+ neutral: "rgb(41.2% 43.1% 47.5% / 0.1)",
46631
+ danger: "rgb(100% 13.7% 13.7% / 0.05)",
46632
+ disabled: "rgb(83.1% 83.1% 83.1%)",
46633
+ info: "rgb(26.3% 49.4% 93.7% / 0.05)",
46634
+ warning: "rgb(100% 46.7% 16.1% / 0.05)"
46635
+ }
46636
+ }
46637
+ },
46638
+ solid: {
46639
+ color: {
46640
+ background: {
46641
+ "default": "#a0a0a0",
46642
+ success: "#008A0B",
46643
+ neutral: "#606060",
46644
+ danger: "#c10000",
46645
+ disabled: "#dfdfdf",
46646
+ info: "#104EC6",
46647
+ warning: "#D64F00"
46648
+ },
46649
+ text: {
46650
+ "default": "#ffffff",
46651
+ success: "#ffffff",
46652
+ neutral: "#ffffff",
46653
+ danger: "#ffffff",
46654
+ disabled: "#a0a0a0",
46655
+ info: "#ffffff",
46656
+ warning: "#ffffff"
46657
+ },
46658
+ stroke: {
46659
+ "default": "rgb(90.2% 90.6% 91.4% / 0.1)",
46660
+ success: "rgb(20% 100% 26.7% / 0.05)",
46661
+ neutral: "rgb(41.2% 43.1% 47.5% / 0.1)",
46662
+ danger: "rgb(100% 13.7% 13.7% / 0.05)",
46663
+ disabled: "rgb(83.1% 83.1% 83.1%)",
46664
+ info: "rgb(26.3% 49.4% 93.7% / 0.05)",
46665
+ warning: "rgb(100% 46.7% 16.1% / 0.05)"
46666
+ }
46554
46667
  }
46555
46668
  }
46556
46669
  },
@@ -9316,13 +9316,14 @@ var __publicField = (obj, key, value) => {
9316
9316
  })(["display:inline-flex;", ""], ({
9317
9317
  $state = "default",
9318
9318
  $size = "md",
9319
+ $type = "opaque",
9319
9320
  theme: theme2
9320
9321
  }) => `
9321
- background-color: ${theme2.click.badge.color.background[$state]};
9322
- color: ${theme2.click.badge.color.text[$state]};
9322
+ background-color: ${theme2.click.badge[$type].color.background[$state]};
9323
+ color: ${theme2.click.badge[$type].color.text[$state]};
9323
9324
  font: ${theme2.click.badge.typography.label[$size].default};
9324
9325
  border-radius: ${theme2.click.badge.radii.all};
9325
- border: ${theme2.click.badge.stroke} solid ${theme2.click.badge.color.stroke[$state]};
9326
+ border: ${theme2.click.badge.stroke} solid ${theme2.click.badge[$type].color.stroke[$state]};
9326
9327
  padding: ${theme2.click.badge.space[$size].y} ${theme2.click.badge.space[$size].x};
9327
9328
  `);
9328
9329
  const Content$4 = styledComponents.styled.div.withConfig({
@@ -9336,9 +9337,10 @@ var __publicField = (obj, key, value) => {
9336
9337
  })(["", ""], ({
9337
9338
  $state = "default",
9338
9339
  $size = "md",
9340
+ $type = "opaque",
9339
9341
  theme: theme2
9340
9342
  }) => `
9341
- color: ${theme2.click.badge.color.text[$state]};
9343
+ color: ${theme2.click.badge[$type].color.text[$state]};
9342
9344
  height: ${theme2.click.badge.icon[$size].size.height};
9343
9345
  width: ${theme2.click.badge.icon[$size].size.width};
9344
9346
  `);
@@ -9346,12 +9348,13 @@ var __publicField = (obj, key, value) => {
9346
9348
  componentId: "sc-471xo0-3"
9347
9349
  })(["width:auto;overflow:hidden;svg{", "}"], ({
9348
9350
  $state = "default",
9349
- size: size2 = "md",
9351
+ $size = "md",
9352
+ $type = "opaque",
9350
9353
  theme: theme2
9351
9354
  }) => `
9352
- color: ${theme2.click.badge.color.text[$state]};
9353
- height: ${theme2.click.badge.icon[size2].size.height};
9354
- width: ${theme2.click.badge.icon[size2].size.width};
9355
+ color: ${theme2.click.badge[$type].color.text[$state]};
9356
+ height: ${theme2.click.badge.icon[$size].size.height};
9357
+ width: ${theme2.click.badge.icon[$size].size.width};
9355
9358
  gap: inherit;
9356
9359
  `);
9357
9360
  const Badge = ({
@@ -9360,10 +9363,11 @@ var __publicField = (obj, key, value) => {
9360
9363
  text: text2,
9361
9364
  state = "default",
9362
9365
  size: size2,
9366
+ type,
9363
9367
  dismissible,
9364
9368
  onClose,
9365
9369
  ...props
9366
- }) => /* @__PURE__ */ jsxRuntime.jsx(Wrapper$c, { $state: state, $size: size2, ...props, children: /* @__PURE__ */ jsxRuntime.jsxs(Content$4, { children: [
9370
+ }) => /* @__PURE__ */ jsxRuntime.jsx(Wrapper$c, { $state: state, $size: size2, $type: type, ...props, children: /* @__PURE__ */ jsxRuntime.jsxs(Content$4, { children: [
9367
9371
  /* @__PURE__ */ jsxRuntime.jsx(BadgeContent, { as: IconWrapper$3, icon, iconDir, size: size2, $state: state, children: text2 }),
9368
9372
  dismissible && /* @__PURE__ */ jsxRuntime.jsx(SvgContainer, { name: "cross", $state: state, as: SvgImage, onClick: onClose, "aria-label": "close" })
9369
9373
  ] }) });
@@ -34020,6 +34024,16 @@ var __publicField = (obj, key, value) => {
34020
34024
  loading && /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: "loading-animated", size: "sm" })
34021
34025
  ] });
34022
34026
  });
34027
+ const useUpdateEffect = (effect, deps) => {
34028
+ const isFirstMount = React.useRef(true);
34029
+ React.useEffect(() => {
34030
+ if (isFirstMount) {
34031
+ isFirstMount.current = false;
34032
+ return;
34033
+ }
34034
+ return effect();
34035
+ }, deps);
34036
+ };
34023
34037
  const SelectPopoverRoot = styledComponents.styled($cb5cc270b50c6fcd$export$be92b6f5f03c0fe9).withConfig({
34024
34038
  componentId: "sc-oudbwg-0"
34025
34039
  })(["width:100%;"]);
@@ -38009,7 +38023,7 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
38009
38023
  onSelect(values[0]);
38010
38024
  }
38011
38025
  }, [selectedValues, onSelect]);
38012
- React.useEffect(() => {
38026
+ useUpdateEffect(() => {
38013
38027
  setSelectedValues(valueProp ? [valueProp] : []);
38014
38028
  }, [valueProp]);
38015
38029
  const conditionalProps = {};
@@ -38039,7 +38053,7 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
38039
38053
  onOpenChangeProp(open22);
38040
38054
  }
38041
38055
  }, [onOpenChangeProp]);
38042
- React.useEffect(() => {
38056
+ useUpdateEffect(() => {
38043
38057
  setSelectedValues(valueProp ?? []);
38044
38058
  }, [valueProp]);
38045
38059
  const onChange = React.useCallback((values, type) => {
@@ -42896,33 +42910,66 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
42896
42910
  }
42897
42911
  },
42898
42912
  badge: {
42899
- color: {
42900
- background: {
42901
- "default": "#1F1F1C",
42902
- success: "rgb(20% 100% 26.7% / 0.2)",
42903
- neutral: "rgb(62.7% 62.7% 62.7% / 0.2)",
42904
- danger: "rgb(100% 13.7% 13.7% / 0.2)",
42905
- disabled: "#414141",
42906
- info: "rgb(26.3% 49.4% 93.7% / 0.2)",
42907
- warning: "rgb(100% 46.7% 16.1% / 0.2)"
42908
- },
42909
- text: {
42910
- "default": "#b3b6bd",
42911
- success: "#CCFFD0",
42912
- neutral: "#c0c0c0",
42913
- danger: "#ffbaba",
42914
- disabled: "#808080",
42915
- info: "#D0DFFB",
42916
- warning: "#FFB88F"
42917
- },
42918
- stroke: {
42919
- "default": "#323232",
42920
- success: "rgb(20% 100% 26.7% / 0.1)",
42921
- neutral: "rgb(62.7% 62.7% 62.7% / 0.1)",
42922
- danger: "rgb(100% 22.3% 22.3% / 0.2)",
42923
- disabled: "rgb(24.2% 24.2% 24.2%)",
42924
- info: "rgb(26.3% 49.4% 93.7% / 0.1)",
42925
- warning: "rgb(100% 46.7% 16.1% / 0.1)"
42913
+ opaque: {
42914
+ color: {
42915
+ background: {
42916
+ "default": "#1F1F1C",
42917
+ success: "rgb(20% 100% 26.7% / 0.2)",
42918
+ neutral: "rgb(62.7% 62.7% 62.7% / 0.2)",
42919
+ danger: "rgb(100% 13.7% 13.7% / 0.2)",
42920
+ disabled: "#414141",
42921
+ info: "rgb(26.3% 49.4% 93.7% / 0.2)",
42922
+ warning: "rgb(100% 46.7% 16.1% / 0.2)"
42923
+ },
42924
+ text: {
42925
+ "default": "#b3b6bd",
42926
+ success: "#CCFFD0",
42927
+ neutral: "#c0c0c0",
42928
+ danger: "#ffbaba",
42929
+ disabled: "#808080",
42930
+ info: "#D0DFFB",
42931
+ warning: "#FFB88F"
42932
+ },
42933
+ stroke: {
42934
+ "default": "#323232",
42935
+ success: "rgb(20% 100% 26.7% / 0.1)",
42936
+ neutral: "rgb(62.7% 62.7% 62.7% / 0.1)",
42937
+ danger: "rgb(100% 22.3% 22.3% / 0.2)",
42938
+ disabled: "rgb(24.2% 24.2% 24.2%)",
42939
+ info: "rgb(26.3% 49.4% 93.7% / 0.1)",
42940
+ warning: "rgb(100% 46.7% 16.1% / 0.1)"
42941
+ }
42942
+ }
42943
+ },
42944
+ solid: {
42945
+ color: {
42946
+ background: {
42947
+ "default": "#c0c0c0",
42948
+ success: "#99FFA1",
42949
+ neutral: "#c0c0c0",
42950
+ danger: "#ff9898",
42951
+ disabled: "#414141",
42952
+ info: "#A1BEF7",
42953
+ warning: "#FF9457"
42954
+ },
42955
+ text: {
42956
+ "default": "#1F1F1C",
42957
+ success: "#1F1F1C",
42958
+ neutral: "#1F1F1C",
42959
+ danger: "#1F1F1C",
42960
+ disabled: "#808080",
42961
+ info: "#1F1F1C",
42962
+ warning: "#1F1F1C"
42963
+ },
42964
+ stroke: {
42965
+ "default": "rgb(19.6% 19.6% 19.6% / 0.1)",
42966
+ success: "rgb(20% 100% 26.7% / 0.1)",
42967
+ neutral: "rgb(62.7% 62.7% 62.7% / 0.1)",
42968
+ danger: "rgb(100% 22.3% 22.3% / 0.2)",
42969
+ disabled: "rgb(24.2% 24.2% 24.2%)",
42970
+ info: "rgb(26.3% 49.4% 93.7% / 0.1)",
42971
+ warning: "rgb(100% 46.7% 16.1% / 0.1)"
42972
+ }
42926
42973
  }
42927
42974
  }
42928
42975
  },
@@ -44644,33 +44691,66 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
44644
44691
  }
44645
44692
  },
44646
44693
  badge: {
44647
- color: {
44648
- background: {
44649
- "default": "#f6f7fa",
44650
- success: "rgb(20% 100% 26.7% / 0.1)",
44651
- neutral: "rgb(41.2% 43.1% 47.5% / 0.1)",
44652
- danger: "rgb(100% 13.7% 13.7% / 0.1)",
44653
- disabled: "#dfdfdf",
44654
- info: "rgb(26.3% 49.4% 93.7% / 0.1)",
44655
- warning: "rgb(100% 46.7% 16.1% / 0.1)"
44656
- },
44657
- text: {
44658
- "default": "#696e79",
44659
- success: "#008A0B",
44660
- neutral: "#53575f",
44661
- danger: "#c10000",
44662
- disabled: "#a0a0a0",
44663
- info: "#437EEF",
44664
- warning: "#A33C00"
44665
- },
44666
- stroke: {
44667
- "default": "#e6e7e9",
44668
- success: "rgb(20% 100% 26.7% / 0.05)",
44669
- neutral: "rgb(41.2% 43.1% 47.5% / 0.1)",
44670
- danger: "rgb(100% 13.7% 13.7% / 0.05)",
44671
- disabled: "rgb(83.1% 83.1% 83.1%)",
44672
- info: "rgb(26.3% 49.4% 93.7% / 0.05)",
44673
- warning: "rgb(100% 46.7% 16.1% / 0.05)"
44694
+ opaque: {
44695
+ color: {
44696
+ background: {
44697
+ "default": "#f6f7fa",
44698
+ success: "rgb(20% 100% 26.7% / 0.1)",
44699
+ neutral: "rgb(41.2% 43.1% 47.5% / 0.1)",
44700
+ danger: "rgb(100% 13.7% 13.7% / 0.1)",
44701
+ disabled: "#dfdfdf",
44702
+ info: "rgb(26.3% 49.4% 93.7% / 0.1)",
44703
+ warning: "rgb(100% 46.7% 16.1% / 0.1)"
44704
+ },
44705
+ text: {
44706
+ "default": "#696e79",
44707
+ success: "#008A0B",
44708
+ neutral: "#53575f",
44709
+ danger: "#c10000",
44710
+ disabled: "#a0a0a0",
44711
+ info: "#437EEF",
44712
+ warning: "#A33C00"
44713
+ },
44714
+ stroke: {
44715
+ "default": "#e6e7e9",
44716
+ success: "rgb(20% 100% 26.7% / 0.05)",
44717
+ neutral: "rgb(41.2% 43.1% 47.5% / 0.1)",
44718
+ danger: "rgb(100% 13.7% 13.7% / 0.05)",
44719
+ disabled: "rgb(83.1% 83.1% 83.1%)",
44720
+ info: "rgb(26.3% 49.4% 93.7% / 0.05)",
44721
+ warning: "rgb(100% 46.7% 16.1% / 0.05)"
44722
+ }
44723
+ }
44724
+ },
44725
+ solid: {
44726
+ color: {
44727
+ background: {
44728
+ "default": "#a0a0a0",
44729
+ success: "#008A0B",
44730
+ neutral: "#606060",
44731
+ danger: "#c10000",
44732
+ disabled: "#dfdfdf",
44733
+ info: "#104EC6",
44734
+ warning: "#D64F00"
44735
+ },
44736
+ text: {
44737
+ "default": "#ffffff",
44738
+ success: "#ffffff",
44739
+ neutral: "#ffffff",
44740
+ danger: "#ffffff",
44741
+ disabled: "#a0a0a0",
44742
+ info: "#ffffff",
44743
+ warning: "#ffffff"
44744
+ },
44745
+ stroke: {
44746
+ "default": "rgb(90.2% 90.6% 91.4% / 0.1)",
44747
+ success: "rgb(20% 100% 26.7% / 0.05)",
44748
+ neutral: "rgb(41.2% 43.1% 47.5% / 0.1)",
44749
+ danger: "rgb(100% 13.7% 13.7% / 0.05)",
44750
+ disabled: "rgb(83.1% 83.1% 83.1%)",
44751
+ info: "rgb(26.3% 49.4% 93.7% / 0.05)",
44752
+ warning: "rgb(100% 46.7% 16.1% / 0.05)"
44753
+ }
44674
44754
  }
44675
44755
  }
44676
44756
  },
@@ -46540,33 +46620,66 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
46540
46620
  }
46541
46621
  }
46542
46622
  },
46543
- color: {
46544
- background: {
46545
- "default": "#f6f7fa",
46546
- success: "rgb(20% 100% 26.7% / 0.1)",
46547
- neutral: "rgb(41.2% 43.1% 47.5% / 0.1)",
46548
- danger: "rgb(100% 13.7% 13.7% / 0.1)",
46549
- disabled: "#dfdfdf",
46550
- info: "rgb(26.3% 49.4% 93.7% / 0.1)",
46551
- warning: "rgb(100% 46.7% 16.1% / 0.1)"
46552
- },
46553
- text: {
46554
- "default": "#696e79",
46555
- success: "#008A0B",
46556
- neutral: "#53575f",
46557
- danger: "#c10000",
46558
- disabled: "#a0a0a0",
46559
- info: "#437EEF",
46560
- warning: "#A33C00"
46561
- },
46562
- stroke: {
46563
- "default": "#e6e7e9",
46564
- success: "rgb(20% 100% 26.7% / 0.05)",
46565
- neutral: "rgb(41.2% 43.1% 47.5% / 0.1)",
46566
- danger: "rgb(100% 13.7% 13.7% / 0.05)",
46567
- disabled: "rgb(83.1% 83.1% 83.1%)",
46568
- info: "rgb(26.3% 49.4% 93.7% / 0.05)",
46569
- warning: "rgb(100% 46.7% 16.1% / 0.05)"
46623
+ opaque: {
46624
+ color: {
46625
+ background: {
46626
+ "default": "#f6f7fa",
46627
+ success: "rgb(20% 100% 26.7% / 0.1)",
46628
+ neutral: "rgb(41.2% 43.1% 47.5% / 0.1)",
46629
+ danger: "rgb(100% 13.7% 13.7% / 0.1)",
46630
+ disabled: "#dfdfdf",
46631
+ info: "rgb(26.3% 49.4% 93.7% / 0.1)",
46632
+ warning: "rgb(100% 46.7% 16.1% / 0.1)"
46633
+ },
46634
+ text: {
46635
+ "default": "#696e79",
46636
+ success: "#008A0B",
46637
+ neutral: "#53575f",
46638
+ danger: "#c10000",
46639
+ disabled: "#a0a0a0",
46640
+ info: "#437EEF",
46641
+ warning: "#A33C00"
46642
+ },
46643
+ stroke: {
46644
+ "default": "#e6e7e9",
46645
+ success: "rgb(20% 100% 26.7% / 0.05)",
46646
+ neutral: "rgb(41.2% 43.1% 47.5% / 0.1)",
46647
+ danger: "rgb(100% 13.7% 13.7% / 0.05)",
46648
+ disabled: "rgb(83.1% 83.1% 83.1%)",
46649
+ info: "rgb(26.3% 49.4% 93.7% / 0.05)",
46650
+ warning: "rgb(100% 46.7% 16.1% / 0.05)"
46651
+ }
46652
+ }
46653
+ },
46654
+ solid: {
46655
+ color: {
46656
+ background: {
46657
+ "default": "#a0a0a0",
46658
+ success: "#008A0B",
46659
+ neutral: "#606060",
46660
+ danger: "#c10000",
46661
+ disabled: "#dfdfdf",
46662
+ info: "#104EC6",
46663
+ warning: "#D64F00"
46664
+ },
46665
+ text: {
46666
+ "default": "#ffffff",
46667
+ success: "#ffffff",
46668
+ neutral: "#ffffff",
46669
+ danger: "#ffffff",
46670
+ disabled: "#a0a0a0",
46671
+ info: "#ffffff",
46672
+ warning: "#ffffff"
46673
+ },
46674
+ stroke: {
46675
+ "default": "rgb(90.2% 90.6% 91.4% / 0.1)",
46676
+ success: "rgb(20% 100% 26.7% / 0.05)",
46677
+ neutral: "rgb(41.2% 43.1% 47.5% / 0.1)",
46678
+ danger: "rgb(100% 13.7% 13.7% / 0.05)",
46679
+ disabled: "rgb(83.1% 83.1% 83.1%)",
46680
+ info: "rgb(26.3% 49.4% 93.7% / 0.05)",
46681
+ warning: "rgb(100% 46.7% 16.1% / 0.05)"
46682
+ }
46570
46683
  }
46571
46684
  }
46572
46685
  },
@@ -4,10 +4,12 @@ import { ImageName } from '../Icon/types';
4
4
 
5
5
  export type BadgeState = "default" | "success" | "neutral" | "danger" | "disabled" | "warning" | "info";
6
6
  export type BadgeSize = "sm" | "md";
7
+ export type BadgeType = "opaque" | "solid";
7
8
  export interface CommonBadgeProps extends HTMLAttributes<HTMLDivElement> {
8
9
  text: ReactNode;
9
10
  state?: BadgeState;
10
11
  size?: BadgeSize;
12
+ type?: BadgeType;
11
13
  icon?: ImageName;
12
14
  iconDir?: HorizontalDirection;
13
15
  }
@@ -20,4 +22,4 @@ export interface NonDismissibleBadge extends CommonBadgeProps {
20
22
  onClose?: never;
21
23
  }
22
24
  export type BadgeProps = NonDismissibleBadge | DismissibleBadge;
23
- export declare const Badge: ({ icon, iconDir, text, state, size, dismissible, onClose, ...props }: BadgeProps) => import("react/jsx-runtime").JSX.Element;
25
+ export declare const Badge: ({ icon, iconDir, text, state, size, type, dismissible, onClose, ...props }: BadgeProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
1
  export declare const TopBadgeWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<any, never> & import('../Container/Container').ContainerProps<import('react').ElementType>, never>> & string & Omit<(<T extends import('react').ElementType = "div">(props: Omit<import('react').ComponentProps<T>, keyof T> & import('../Container/Container').ContainerProps<T>) => import('react').ReactNode), keyof import('react').Component<any, {}, any>>;
2
2
  export declare const CardPrimaryTopBadge: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('../Badge/Badge').DismissibleBadge | import('../Badge/Badge').NonDismissibleBadge, {
3
3
  $isSelected?: boolean;
4
- }>> & string & Omit<({ icon, iconDir, text, state, size, dismissible, onClose, ...props }: import('../Badge/Badge').BadgeProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
4
+ }>> & string & Omit<({ icon, iconDir, text, state, size, type, dismissible, onClose, ...props }: import('../Badge/Badge').BadgeProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
@@ -0,0 +1 @@
1
+ export * from './useUpdateEffect';
@@ -0,0 +1,3 @@
1
+ import { useEffect } from 'react';
2
+
3
+ export declare const useUpdateEffect: typeof useEffect;
@@ -239,33 +239,66 @@ export interface Theme {
239
239
  };
240
240
  };
241
241
  };
242
- "color": {
243
- "background": {
244
- "default": string;
245
- "success": string;
246
- "neutral": string;
247
- "danger": string;
248
- "disabled": string;
249
- "info": string;
250
- "warning": string;
251
- };
252
- "text": {
253
- "default": string;
254
- "success": string;
255
- "neutral": string;
256
- "danger": string;
257
- "disabled": string;
258
- "info": string;
259
- "warning": string;
242
+ "opaque": {
243
+ "color": {
244
+ "background": {
245
+ "default": string;
246
+ "success": string;
247
+ "neutral": string;
248
+ "danger": string;
249
+ "disabled": string;
250
+ "info": string;
251
+ "warning": string;
252
+ };
253
+ "text": {
254
+ "default": string;
255
+ "success": string;
256
+ "neutral": string;
257
+ "danger": string;
258
+ "disabled": string;
259
+ "info": string;
260
+ "warning": string;
261
+ };
262
+ "stroke": {
263
+ "default": string;
264
+ "success": string;
265
+ "neutral": string;
266
+ "danger": string;
267
+ "disabled": string;
268
+ "info": string;
269
+ "warning": string;
270
+ };
260
271
  };
261
- "stroke": {
262
- "default": string;
263
- "success": string;
264
- "neutral": string;
265
- "danger": string;
266
- "disabled": string;
267
- "info": string;
268
- "warning": string;
272
+ };
273
+ "solid": {
274
+ "color": {
275
+ "background": {
276
+ "default": string;
277
+ "success": string;
278
+ "neutral": string;
279
+ "danger": string;
280
+ "disabled": string;
281
+ "info": string;
282
+ "warning": string;
283
+ };
284
+ "text": {
285
+ "default": string;
286
+ "success": string;
287
+ "neutral": string;
288
+ "danger": string;
289
+ "disabled": string;
290
+ "info": string;
291
+ "warning": string;
292
+ };
293
+ "stroke": {
294
+ "default": string;
295
+ "success": string;
296
+ "neutral": string;
297
+ "danger": string;
298
+ "disabled": string;
299
+ "info": string;
300
+ "warning": string;
301
+ };
269
302
  };
270
303
  };
271
304
  };
@@ -79,33 +79,66 @@ declare const _default: {
79
79
  }
80
80
  },
81
81
  "badge": {
82
- "color": {
83
- "background": {
84
- "default": "#1F1F1C",
85
- "success": "rgb(20% 100% 26.7% / 0.2)",
86
- "neutral": "rgb(62.7% 62.7% 62.7% / 0.2)",
87
- "danger": "rgb(100% 13.7% 13.7% / 0.2)",
88
- "disabled": "#414141",
89
- "info": "rgb(26.3% 49.4% 93.7% / 0.2)",
90
- "warning": "rgb(100% 46.7% 16.1% / 0.2)"
91
- },
92
- "text": {
93
- "default": "#b3b6bd",
94
- "success": "#CCFFD0",
95
- "neutral": "#c0c0c0",
96
- "danger": "#ffbaba",
97
- "disabled": "#808080",
98
- "info": "#D0DFFB",
99
- "warning": "#FFB88F"
100
- },
101
- "stroke": {
102
- "default": "#323232",
103
- "success": "rgb(20% 100% 26.7% / 0.1)",
104
- "neutral": "rgb(62.7% 62.7% 62.7% / 0.1)",
105
- "danger": "rgb(100% 22.3% 22.3% / 0.2)",
106
- "disabled": "rgb(24.2% 24.2% 24.2%)",
107
- "info": "rgb(26.3% 49.4% 93.7% / 0.1)",
108
- "warning": "rgb(100% 46.7% 16.1% / 0.1)"
82
+ "opaque": {
83
+ "color": {
84
+ "background": {
85
+ "default": "#1F1F1C",
86
+ "success": "rgb(20% 100% 26.7% / 0.2)",
87
+ "neutral": "rgb(62.7% 62.7% 62.7% / 0.2)",
88
+ "danger": "rgb(100% 13.7% 13.7% / 0.2)",
89
+ "disabled": "#414141",
90
+ "info": "rgb(26.3% 49.4% 93.7% / 0.2)",
91
+ "warning": "rgb(100% 46.7% 16.1% / 0.2)"
92
+ },
93
+ "text": {
94
+ "default": "#b3b6bd",
95
+ "success": "#CCFFD0",
96
+ "neutral": "#c0c0c0",
97
+ "danger": "#ffbaba",
98
+ "disabled": "#808080",
99
+ "info": "#D0DFFB",
100
+ "warning": "#FFB88F"
101
+ },
102
+ "stroke": {
103
+ "default": "#323232",
104
+ "success": "rgb(20% 100% 26.7% / 0.1)",
105
+ "neutral": "rgb(62.7% 62.7% 62.7% / 0.1)",
106
+ "danger": "rgb(100% 22.3% 22.3% / 0.2)",
107
+ "disabled": "rgb(24.2% 24.2% 24.2%)",
108
+ "info": "rgb(26.3% 49.4% 93.7% / 0.1)",
109
+ "warning": "rgb(100% 46.7% 16.1% / 0.1)"
110
+ }
111
+ }
112
+ },
113
+ "solid": {
114
+ "color": {
115
+ "background": {
116
+ "default": "#c0c0c0",
117
+ "success": "#99FFA1",
118
+ "neutral": "#c0c0c0",
119
+ "danger": "#ff9898",
120
+ "disabled": "#414141",
121
+ "info": "#A1BEF7",
122
+ "warning": "#FF9457"
123
+ },
124
+ "text": {
125
+ "default": "#1F1F1C",
126
+ "success": "#1F1F1C",
127
+ "neutral": "#1F1F1C",
128
+ "danger": "#1F1F1C",
129
+ "disabled": "#808080",
130
+ "info": "#1F1F1C",
131
+ "warning": "#1F1F1C"
132
+ },
133
+ "stroke": {
134
+ "default": "rgb(19.6% 19.6% 19.6% / 0.1)",
135
+ "success": "rgb(20% 100% 26.7% / 0.1)",
136
+ "neutral": "rgb(62.7% 62.7% 62.7% / 0.1)",
137
+ "danger": "rgb(100% 22.3% 22.3% / 0.2)",
138
+ "disabled": "rgb(24.2% 24.2% 24.2%)",
139
+ "info": "rgb(26.3% 49.4% 93.7% / 0.1)",
140
+ "warning": "rgb(100% 46.7% 16.1% / 0.1)"
141
+ }
109
142
  }
110
143
  }
111
144
  },
@@ -239,33 +239,66 @@ declare const _default: {
239
239
  }
240
240
  }
241
241
  },
242
- "color": {
243
- "background": {
244
- "default": "#f6f7fa",
245
- "success": "rgb(20% 100% 26.7% / 0.1)",
246
- "neutral": "rgb(41.2% 43.1% 47.5% / 0.1)",
247
- "danger": "rgb(100% 13.7% 13.7% / 0.1)",
248
- "disabled": "#dfdfdf",
249
- "info": "rgb(26.3% 49.4% 93.7% / 0.1)",
250
- "warning": "rgb(100% 46.7% 16.1% / 0.1)"
251
- },
252
- "text": {
253
- "default": "#696e79",
254
- "success": "#008A0B",
255
- "neutral": "#53575f",
256
- "danger": "#c10000",
257
- "disabled": "#a0a0a0",
258
- "info": "#437EEF",
259
- "warning": "#A33C00"
260
- },
261
- "stroke": {
262
- "default": "#e6e7e9",
263
- "success": "rgb(20% 100% 26.7% / 0.05)",
264
- "neutral": "rgb(41.2% 43.1% 47.5% / 0.1)",
265
- "danger": "rgb(100% 13.7% 13.7% / 0.05)",
266
- "disabled": "rgb(83.1% 83.1% 83.1%)",
267
- "info": "rgb(26.3% 49.4% 93.7% / 0.05)",
268
- "warning": "rgb(100% 46.7% 16.1% / 0.05)"
242
+ "opaque": {
243
+ "color": {
244
+ "background": {
245
+ "default": "#f6f7fa",
246
+ "success": "rgb(20% 100% 26.7% / 0.1)",
247
+ "neutral": "rgb(41.2% 43.1% 47.5% / 0.1)",
248
+ "danger": "rgb(100% 13.7% 13.7% / 0.1)",
249
+ "disabled": "#dfdfdf",
250
+ "info": "rgb(26.3% 49.4% 93.7% / 0.1)",
251
+ "warning": "rgb(100% 46.7% 16.1% / 0.1)"
252
+ },
253
+ "text": {
254
+ "default": "#696e79",
255
+ "success": "#008A0B",
256
+ "neutral": "#53575f",
257
+ "danger": "#c10000",
258
+ "disabled": "#a0a0a0",
259
+ "info": "#437EEF",
260
+ "warning": "#A33C00"
261
+ },
262
+ "stroke": {
263
+ "default": "#e6e7e9",
264
+ "success": "rgb(20% 100% 26.7% / 0.05)",
265
+ "neutral": "rgb(41.2% 43.1% 47.5% / 0.1)",
266
+ "danger": "rgb(100% 13.7% 13.7% / 0.05)",
267
+ "disabled": "rgb(83.1% 83.1% 83.1%)",
268
+ "info": "rgb(26.3% 49.4% 93.7% / 0.05)",
269
+ "warning": "rgb(100% 46.7% 16.1% / 0.05)"
270
+ }
271
+ }
272
+ },
273
+ "solid": {
274
+ "color": {
275
+ "background": {
276
+ "default": "#a0a0a0",
277
+ "success": "#008A0B",
278
+ "neutral": "#606060",
279
+ "danger": "#c10000",
280
+ "disabled": "#dfdfdf",
281
+ "info": "#104EC6",
282
+ "warning": "#D64F00"
283
+ },
284
+ "text": {
285
+ "default": "#ffffff",
286
+ "success": "#ffffff",
287
+ "neutral": "#ffffff",
288
+ "danger": "#ffffff",
289
+ "disabled": "#a0a0a0",
290
+ "info": "#ffffff",
291
+ "warning": "#ffffff"
292
+ },
293
+ "stroke": {
294
+ "default": "rgb(90.2% 90.6% 91.4% / 0.1)",
295
+ "success": "rgb(20% 100% 26.7% / 0.05)",
296
+ "neutral": "rgb(41.2% 43.1% 47.5% / 0.1)",
297
+ "danger": "rgb(100% 13.7% 13.7% / 0.05)",
298
+ "disabled": "rgb(83.1% 83.1% 83.1%)",
299
+ "info": "rgb(26.3% 49.4% 93.7% / 0.05)",
300
+ "warning": "rgb(100% 46.7% 16.1% / 0.05)"
301
+ }
269
302
  }
270
303
  }
271
304
  },
@@ -79,33 +79,66 @@ declare const _default: {
79
79
  }
80
80
  },
81
81
  "badge": {
82
- "color": {
83
- "background": {
84
- "default": "#f6f7fa",
85
- "success": "rgb(20% 100% 26.7% / 0.1)",
86
- "neutral": "rgb(41.2% 43.1% 47.5% / 0.1)",
87
- "danger": "rgb(100% 13.7% 13.7% / 0.1)",
88
- "disabled": "#dfdfdf",
89
- "info": "rgb(26.3% 49.4% 93.7% / 0.1)",
90
- "warning": "rgb(100% 46.7% 16.1% / 0.1)"
91
- },
92
- "text": {
93
- "default": "#696e79",
94
- "success": "#008A0B",
95
- "neutral": "#53575f",
96
- "danger": "#c10000",
97
- "disabled": "#a0a0a0",
98
- "info": "#437EEF",
99
- "warning": "#A33C00"
100
- },
101
- "stroke": {
102
- "default": "#e6e7e9",
103
- "success": "rgb(20% 100% 26.7% / 0.05)",
104
- "neutral": "rgb(41.2% 43.1% 47.5% / 0.1)",
105
- "danger": "rgb(100% 13.7% 13.7% / 0.05)",
106
- "disabled": "rgb(83.1% 83.1% 83.1%)",
107
- "info": "rgb(26.3% 49.4% 93.7% / 0.05)",
108
- "warning": "rgb(100% 46.7% 16.1% / 0.05)"
82
+ "opaque": {
83
+ "color": {
84
+ "background": {
85
+ "default": "#f6f7fa",
86
+ "success": "rgb(20% 100% 26.7% / 0.1)",
87
+ "neutral": "rgb(41.2% 43.1% 47.5% / 0.1)",
88
+ "danger": "rgb(100% 13.7% 13.7% / 0.1)",
89
+ "disabled": "#dfdfdf",
90
+ "info": "rgb(26.3% 49.4% 93.7% / 0.1)",
91
+ "warning": "rgb(100% 46.7% 16.1% / 0.1)"
92
+ },
93
+ "text": {
94
+ "default": "#696e79",
95
+ "success": "#008A0B",
96
+ "neutral": "#53575f",
97
+ "danger": "#c10000",
98
+ "disabled": "#a0a0a0",
99
+ "info": "#437EEF",
100
+ "warning": "#A33C00"
101
+ },
102
+ "stroke": {
103
+ "default": "#e6e7e9",
104
+ "success": "rgb(20% 100% 26.7% / 0.05)",
105
+ "neutral": "rgb(41.2% 43.1% 47.5% / 0.1)",
106
+ "danger": "rgb(100% 13.7% 13.7% / 0.05)",
107
+ "disabled": "rgb(83.1% 83.1% 83.1%)",
108
+ "info": "rgb(26.3% 49.4% 93.7% / 0.05)",
109
+ "warning": "rgb(100% 46.7% 16.1% / 0.05)"
110
+ }
111
+ }
112
+ },
113
+ "solid": {
114
+ "color": {
115
+ "background": {
116
+ "default": "#a0a0a0",
117
+ "success": "#008A0B",
118
+ "neutral": "#606060",
119
+ "danger": "#c10000",
120
+ "disabled": "#dfdfdf",
121
+ "info": "#104EC6",
122
+ "warning": "#D64F00"
123
+ },
124
+ "text": {
125
+ "default": "#ffffff",
126
+ "success": "#ffffff",
127
+ "neutral": "#ffffff",
128
+ "danger": "#ffffff",
129
+ "disabled": "#a0a0a0",
130
+ "info": "#ffffff",
131
+ "warning": "#ffffff"
132
+ },
133
+ "stroke": {
134
+ "default": "rgb(90.2% 90.6% 91.4% / 0.1)",
135
+ "success": "rgb(20% 100% 26.7% / 0.05)",
136
+ "neutral": "rgb(41.2% 43.1% 47.5% / 0.1)",
137
+ "danger": "rgb(100% 13.7% 13.7% / 0.05)",
138
+ "disabled": "rgb(83.1% 83.1% 83.1%)",
139
+ "info": "rgb(26.3% 49.4% 93.7% / 0.05)",
140
+ "warning": "rgb(100% 46.7% 16.1% / 0.05)"
141
+ }
109
142
  }
110
143
  }
111
144
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clickhouse/click-ui",
3
- "version": "0.0.187",
3
+ "version": "0.0.188",
4
4
  "description": "Official ClickHouse design system react library",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",