@clickhouse/click-ui 0.0.187 → 0.0.189

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.
@@ -871,6 +871,15 @@ var __publicField = (obj, key, value) => {
871
871
  /* @__PURE__ */ jsxRuntime.jsx("clipPath", { id: "ukFlagClipPath2", children: /* @__PURE__ */ jsxRuntime.jsx("path", { fill: "#fff", d: "M0 0h30v20H0z" }) })
872
872
  ] })
873
873
  ] });
874
+ const UnitedArabEmirates = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "30", height: "20", viewBox: "0 0 30 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
875
+ /* @__PURE__ */ jsxRuntime.jsxs("g", { clipPath: "url(#clip0_10582_2024)", children: [
876
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M30 0H0V20H30V0Z", fill: "#00732F" }),
877
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M30 6.6665H0V19.9998H30V6.6665Z", fill: "white" }),
878
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M30 13.3335H0V20.0002H30V13.3335Z", fill: "black" }),
879
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M7.5 0H0V20H7.5V0Z", fill: "#FF0000" })
880
+ ] }),
881
+ /* @__PURE__ */ jsxRuntime.jsx("defs", { children: /* @__PURE__ */ jsxRuntime.jsx("clipPath", { id: "clip0_10582_2024", children: /* @__PURE__ */ jsxRuntime.jsx("rect", { width: "30", height: "20", fill: "white" }) }) })
882
+ ] });
874
883
  const EuropeanUnion = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: 30, height: 20, viewBox: "0 0 30 20", fill: "none", ...props, children: [
875
884
  /* @__PURE__ */ jsxRuntime.jsx("g", { clipPath: "url(#euFlagClipPath1)", children: /* @__PURE__ */ jsxRuntime.jsxs("g", { clipPath: "url(#euFlagClipPath2)", children: [
876
885
  /* @__PURE__ */ jsxRuntime.jsx("path", { fill: "#039", d: "M30 0H0v20h30V0Z" }),
@@ -1098,6 +1107,18 @@ var __publicField = (obj, key, value) => {
1098
1107
  ] }),
1099
1108
  /* @__PURE__ */ jsxRuntime.jsx("defs", { children: /* @__PURE__ */ jsxRuntime.jsx("clipPath", { id: "clip0_3880_12429", children: /* @__PURE__ */ jsxRuntime.jsx("rect", { width: "30", height: "19.9999", rx: "1", fill: "white" }) }) })
1100
1109
  ] });
1110
+ const SouthKorea = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "30", height: "20", viewBox: "0 0 30 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
1111
+ /* @__PURE__ */ jsxRuntime.jsxs("g", { clipPath: "url(#clip0_10582_2008)", children: [
1112
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M0 0V20H30V0H0Z", fill: "white" }),
1113
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M7.71973 2.1416L4.94623 6.30185L7.71973 2.1416ZM5.98629 6.99523L8.75979 2.83498L5.98629 6.99523ZM9.79985 3.52835L7.02635 7.6886L9.79985 3.52835ZM20.2005 16.4714L21.4717 14.5646L20.2005 16.4714ZM21.7028 14.2179L22.974 12.3111L21.7028 14.2179ZM24.014 13.0045L22.7429 14.9113L24.014 13.0045ZM22.5117 15.258L21.2405 17.1647L22.5117 15.258ZM22.2806 17.8581L23.5518 15.9513L22.2806 17.8581ZM23.7829 15.6046L25.0541 13.6979L23.7829 15.6046Z", fill: "black" }),
1114
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M7.71973 2.1416L4.94623 6.30185M5.98629 6.99523L8.75979 2.83498M9.79985 3.52835L7.02635 7.6886M20.2005 16.4714L21.4717 14.5646M21.7028 14.2179L22.974 12.3111M24.014 13.0045L22.7429 14.9113M22.5117 15.258L21.2405 17.1647M22.2806 17.8581L23.5518 15.9513M23.7829 15.6046L25.0541 13.6979", stroke: "black", strokeWidth: "0.833333" }),
1115
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4.94629 13.6982L7.71979 17.8585L4.94629 13.6982ZM8.75985 17.1651L7.48866 15.2583L8.75985 17.1651ZM7.25754 14.9116L5.98635 13.0049L7.25754 14.9116ZM7.02641 12.3115L9.79992 16.4717L7.02641 12.3115ZM22.974 7.68899L21.7029 5.78221L22.974 7.68899ZM21.4717 5.43552L20.2005 3.52874L21.4717 5.43552ZM21.2406 2.83536L24.0141 6.99561L21.2406 2.83536ZM25.0542 6.30224L23.783 4.39546L25.0542 6.30224ZM23.5519 4.04877L22.2807 2.14199L23.5519 4.04877Z", fill: "black" }),
1116
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4.94629 13.6982L7.71979 17.8585M8.75985 17.1651L7.48867 15.2583M7.25754 14.9116L5.98635 13.0049M7.02641 12.3115L9.79992 16.4717M22.974 7.68899L21.7029 5.78221M21.4717 5.43552L20.2005 3.52874M21.2406 2.83536L24.0141 6.99561M25.0542 6.30224L23.783 4.39546M23.5519 4.04877L22.2807 2.14199", stroke: "black", strokeWidth: "0.833333" }),
1117
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M17.0802 11.3869C16.5285 12.2144 15.6707 12.7889 14.6954 12.984C13.7202 13.179 12.7074 12.9787 11.8798 12.427C11.0523 11.8753 10.4778 11.0175 10.2828 10.0422C10.0877 9.06697 10.2881 8.05418 10.8398 7.22666C11.5754 6.12329 12.7191 5.35732 14.0195 5.09726C15.3198 4.83719 16.6702 5.10433 17.7735 5.83991C18.8769 6.57549 19.6429 7.71925 19.9029 9.01958C20.163 10.3199 19.8959 11.6703 19.1603 12.7737", fill: "#CD2E3A" }),
1118
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M15.0001 10.0001C15.3679 9.44843 15.9397 9.06544 16.5899 8.93541C17.2401 8.80538 17.9153 8.93895 18.4669 9.30674C19.0186 9.67452 19.4016 10.2464 19.5316 10.8966C19.6617 11.5467 19.5281 12.2219 19.1603 12.7736C18.4247 13.877 17.281 14.6429 15.9806 14.903C14.6803 15.1631 13.3299 14.8959 12.2266 14.1604C11.1232 13.4248 10.3572 12.281 10.0972 10.9807C9.83709 9.68036 10.1042 8.32998 10.8398 7.22661C10.472 7.77829 10.3385 8.45349 10.4685 9.10365C10.5985 9.75382 10.9815 10.3257 11.5332 10.6935C12.0849 11.0613 12.7601 11.1948 13.4102 11.0648C14.0604 10.9348 14.6323 10.5518 15.0001 10.0001Z", fill: "#0047A0" })
1119
+ ] }),
1120
+ /* @__PURE__ */ jsxRuntime.jsx("defs", { children: /* @__PURE__ */ jsxRuntime.jsx("clipPath", { id: "clip0_10582_2008", children: /* @__PURE__ */ jsxRuntime.jsx("rect", { width: "30", height: "20", fill: "white" }) }) })
1121
+ ] });
1101
1122
  const Brazil = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "21", viewBox: "0 0 30 21", fill: "none", ...props, children: [
1102
1123
  /* @__PURE__ */ jsxRuntime.jsxs("g", { clipPath: "url(#clip0_3880_11917)", children: [
1103
1124
  /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M0 1C0 0.447715 0.447715 0 1 0H29C29.5523 0 30 0.447715 30 1V19C30 19.5523 29.5523 20 29 20H1C0.447716 20 0 19.5523 0 19V1Z", fill: "#009B3A" }),
@@ -1518,6 +1539,7 @@ var __publicField = (obj, key, value) => {
1518
1539
  /* @__PURE__ */ jsxRuntime.jsx("defs", { children: /* @__PURE__ */ jsxRuntime.jsx("clipPath", { id: "clip0_8668_6183", children: /* @__PURE__ */ jsxRuntime.jsx("rect", { width: "30", height: "20", fill: "white" }) }) })
1519
1540
  ] });
1520
1541
  const FlagList = {
1542
+ ae: UnitedArabEmirates,
1521
1543
  au: Australia,
1522
1544
  br: Brazil,
1523
1545
  ca: Canada,
@@ -1531,6 +1553,7 @@ var __publicField = (obj, key, value) => {
1531
1553
  nl: Netherlands,
1532
1554
  sg: Singapore,
1533
1555
  za: SouthAfrica,
1556
+ kr: SouthKorea,
1534
1557
  sw: Sweden,
1535
1558
  uk: UnitedKingdom,
1536
1559
  usa: UnitedStates
@@ -9316,13 +9339,14 @@ var __publicField = (obj, key, value) => {
9316
9339
  })(["display:inline-flex;", ""], ({
9317
9340
  $state = "default",
9318
9341
  $size = "md",
9342
+ $type = "opaque",
9319
9343
  theme: theme2
9320
9344
  }) => `
9321
- background-color: ${theme2.click.badge.color.background[$state]};
9322
- color: ${theme2.click.badge.color.text[$state]};
9345
+ background-color: ${theme2.click.badge[$type].color.background[$state]};
9346
+ color: ${theme2.click.badge[$type].color.text[$state]};
9323
9347
  font: ${theme2.click.badge.typography.label[$size].default};
9324
9348
  border-radius: ${theme2.click.badge.radii.all};
9325
- border: ${theme2.click.badge.stroke} solid ${theme2.click.badge.color.stroke[$state]};
9349
+ border: ${theme2.click.badge.stroke} solid ${theme2.click.badge[$type].color.stroke[$state]};
9326
9350
  padding: ${theme2.click.badge.space[$size].y} ${theme2.click.badge.space[$size].x};
9327
9351
  `);
9328
9352
  const Content$4 = styledComponents.styled.div.withConfig({
@@ -9336,9 +9360,10 @@ var __publicField = (obj, key, value) => {
9336
9360
  })(["", ""], ({
9337
9361
  $state = "default",
9338
9362
  $size = "md",
9363
+ $type = "opaque",
9339
9364
  theme: theme2
9340
9365
  }) => `
9341
- color: ${theme2.click.badge.color.text[$state]};
9366
+ color: ${theme2.click.badge[$type].color.text[$state]};
9342
9367
  height: ${theme2.click.badge.icon[$size].size.height};
9343
9368
  width: ${theme2.click.badge.icon[$size].size.width};
9344
9369
  `);
@@ -9346,12 +9371,13 @@ var __publicField = (obj, key, value) => {
9346
9371
  componentId: "sc-471xo0-3"
9347
9372
  })(["width:auto;overflow:hidden;svg{", "}"], ({
9348
9373
  $state = "default",
9349
- size: size2 = "md",
9374
+ $size = "md",
9375
+ $type = "opaque",
9350
9376
  theme: theme2
9351
9377
  }) => `
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};
9378
+ color: ${theme2.click.badge[$type].color.text[$state]};
9379
+ height: ${theme2.click.badge.icon[$size].size.height};
9380
+ width: ${theme2.click.badge.icon[$size].size.width};
9355
9381
  gap: inherit;
9356
9382
  `);
9357
9383
  const Badge = ({
@@ -9360,10 +9386,11 @@ var __publicField = (obj, key, value) => {
9360
9386
  text: text2,
9361
9387
  state = "default",
9362
9388
  size: size2,
9389
+ type,
9363
9390
  dismissible,
9364
9391
  onClose,
9365
9392
  ...props
9366
- }) => /* @__PURE__ */ jsxRuntime.jsx(Wrapper$c, { $state: state, $size: size2, ...props, children: /* @__PURE__ */ jsxRuntime.jsxs(Content$4, { children: [
9393
+ }) => /* @__PURE__ */ jsxRuntime.jsx(Wrapper$c, { $state: state, $size: size2, $type: type, ...props, children: /* @__PURE__ */ jsxRuntime.jsxs(Content$4, { children: [
9367
9394
  /* @__PURE__ */ jsxRuntime.jsx(BadgeContent, { as: IconWrapper$3, icon, iconDir, size: size2, $state: state, children: text2 }),
9368
9395
  dismissible && /* @__PURE__ */ jsxRuntime.jsx(SvgContainer, { name: "cross", $state: state, as: SvgImage, onClick: onClose, "aria-label": "close" })
9369
9396
  ] }) });
@@ -34020,6 +34047,16 @@ var __publicField = (obj, key, value) => {
34020
34047
  loading && /* @__PURE__ */ jsxRuntime.jsx(SvgImage, { name: "loading-animated", size: "sm" })
34021
34048
  ] });
34022
34049
  });
34050
+ const useUpdateEffect = (effect, deps) => {
34051
+ const isFirstMount = React.useRef(true);
34052
+ React.useEffect(() => {
34053
+ if (isFirstMount) {
34054
+ isFirstMount.current = false;
34055
+ return;
34056
+ }
34057
+ return effect();
34058
+ }, deps);
34059
+ };
34023
34060
  const SelectPopoverRoot = styledComponents.styled($cb5cc270b50c6fcd$export$be92b6f5f03c0fe9).withConfig({
34024
34061
  componentId: "sc-oudbwg-0"
34025
34062
  })(["width:100%;"]);
@@ -38009,7 +38046,7 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
38009
38046
  onSelect(values[0]);
38010
38047
  }
38011
38048
  }, [selectedValues, onSelect]);
38012
- React.useEffect(() => {
38049
+ useUpdateEffect(() => {
38013
38050
  setSelectedValues(valueProp ? [valueProp] : []);
38014
38051
  }, [valueProp]);
38015
38052
  const conditionalProps = {};
@@ -38039,7 +38076,7 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
38039
38076
  onOpenChangeProp(open22);
38040
38077
  }
38041
38078
  }, [onOpenChangeProp]);
38042
- React.useEffect(() => {
38079
+ useUpdateEffect(() => {
38043
38080
  setSelectedValues(valueProp ?? []);
38044
38081
  }, [valueProp]);
38045
38082
  const onChange = React.useCallback((values, type) => {
@@ -42896,33 +42933,66 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
42896
42933
  }
42897
42934
  },
42898
42935
  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)"
42936
+ opaque: {
42937
+ color: {
42938
+ background: {
42939
+ "default": "#1F1F1C",
42940
+ success: "rgb(20% 100% 26.7% / 0.2)",
42941
+ neutral: "rgb(62.7% 62.7% 62.7% / 0.2)",
42942
+ danger: "rgb(100% 13.7% 13.7% / 0.2)",
42943
+ disabled: "#414141",
42944
+ info: "rgb(26.3% 49.4% 93.7% / 0.2)",
42945
+ warning: "rgb(100% 46.7% 16.1% / 0.2)"
42946
+ },
42947
+ text: {
42948
+ "default": "#b3b6bd",
42949
+ success: "#CCFFD0",
42950
+ neutral: "#c0c0c0",
42951
+ danger: "#ffbaba",
42952
+ disabled: "#808080",
42953
+ info: "#D0DFFB",
42954
+ warning: "#FFB88F"
42955
+ },
42956
+ stroke: {
42957
+ "default": "#323232",
42958
+ success: "rgb(20% 100% 26.7% / 0.1)",
42959
+ neutral: "rgb(62.7% 62.7% 62.7% / 0.1)",
42960
+ danger: "rgb(100% 22.3% 22.3% / 0.2)",
42961
+ disabled: "rgb(24.2% 24.2% 24.2%)",
42962
+ info: "rgb(26.3% 49.4% 93.7% / 0.1)",
42963
+ warning: "rgb(100% 46.7% 16.1% / 0.1)"
42964
+ }
42965
+ }
42966
+ },
42967
+ solid: {
42968
+ color: {
42969
+ background: {
42970
+ "default": "#c0c0c0",
42971
+ success: "#99FFA1",
42972
+ neutral: "#c0c0c0",
42973
+ danger: "#ff9898",
42974
+ disabled: "#414141",
42975
+ info: "#A1BEF7",
42976
+ warning: "#FF9457"
42977
+ },
42978
+ text: {
42979
+ "default": "#1F1F1C",
42980
+ success: "#1F1F1C",
42981
+ neutral: "#1F1F1C",
42982
+ danger: "#1F1F1C",
42983
+ disabled: "#808080",
42984
+ info: "#1F1F1C",
42985
+ warning: "#1F1F1C"
42986
+ },
42987
+ stroke: {
42988
+ "default": "rgb(19.6% 19.6% 19.6% / 0.1)",
42989
+ success: "rgb(20% 100% 26.7% / 0.1)",
42990
+ neutral: "rgb(62.7% 62.7% 62.7% / 0.1)",
42991
+ danger: "rgb(100% 22.3% 22.3% / 0.2)",
42992
+ disabled: "rgb(24.2% 24.2% 24.2%)",
42993
+ info: "rgb(26.3% 49.4% 93.7% / 0.1)",
42994
+ warning: "rgb(100% 46.7% 16.1% / 0.1)"
42995
+ }
42926
42996
  }
42927
42997
  }
42928
42998
  },
@@ -44644,33 +44714,66 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
44644
44714
  }
44645
44715
  },
44646
44716
  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)"
44717
+ opaque: {
44718
+ color: {
44719
+ background: {
44720
+ "default": "#f6f7fa",
44721
+ success: "rgb(20% 100% 26.7% / 0.1)",
44722
+ neutral: "rgb(41.2% 43.1% 47.5% / 0.1)",
44723
+ danger: "rgb(100% 13.7% 13.7% / 0.1)",
44724
+ disabled: "#dfdfdf",
44725
+ info: "rgb(26.3% 49.4% 93.7% / 0.1)",
44726
+ warning: "rgb(100% 46.7% 16.1% / 0.1)"
44727
+ },
44728
+ text: {
44729
+ "default": "#696e79",
44730
+ success: "#008A0B",
44731
+ neutral: "#53575f",
44732
+ danger: "#c10000",
44733
+ disabled: "#a0a0a0",
44734
+ info: "#437EEF",
44735
+ warning: "#A33C00"
44736
+ },
44737
+ stroke: {
44738
+ "default": "#e6e7e9",
44739
+ success: "rgb(20% 100% 26.7% / 0.05)",
44740
+ neutral: "rgb(41.2% 43.1% 47.5% / 0.1)",
44741
+ danger: "rgb(100% 13.7% 13.7% / 0.05)",
44742
+ disabled: "rgb(83.1% 83.1% 83.1%)",
44743
+ info: "rgb(26.3% 49.4% 93.7% / 0.05)",
44744
+ warning: "rgb(100% 46.7% 16.1% / 0.05)"
44745
+ }
44746
+ }
44747
+ },
44748
+ solid: {
44749
+ color: {
44750
+ background: {
44751
+ "default": "#a0a0a0",
44752
+ success: "#008A0B",
44753
+ neutral: "#606060",
44754
+ danger: "#c10000",
44755
+ disabled: "#dfdfdf",
44756
+ info: "#104EC6",
44757
+ warning: "#D64F00"
44758
+ },
44759
+ text: {
44760
+ "default": "#ffffff",
44761
+ success: "#ffffff",
44762
+ neutral: "#ffffff",
44763
+ danger: "#ffffff",
44764
+ disabled: "#a0a0a0",
44765
+ info: "#ffffff",
44766
+ warning: "#ffffff"
44767
+ },
44768
+ stroke: {
44769
+ "default": "rgb(90.2% 90.6% 91.4% / 0.1)",
44770
+ success: "rgb(20% 100% 26.7% / 0.05)",
44771
+ neutral: "rgb(41.2% 43.1% 47.5% / 0.1)",
44772
+ danger: "rgb(100% 13.7% 13.7% / 0.05)",
44773
+ disabled: "rgb(83.1% 83.1% 83.1%)",
44774
+ info: "rgb(26.3% 49.4% 93.7% / 0.05)",
44775
+ warning: "rgb(100% 46.7% 16.1% / 0.05)"
44776
+ }
44674
44777
  }
44675
44778
  }
44676
44779
  },
@@ -46540,33 +46643,66 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
46540
46643
  }
46541
46644
  }
46542
46645
  },
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)"
46646
+ opaque: {
46647
+ color: {
46648
+ background: {
46649
+ "default": "#f6f7fa",
46650
+ success: "rgb(20% 100% 26.7% / 0.1)",
46651
+ neutral: "rgb(41.2% 43.1% 47.5% / 0.1)",
46652
+ danger: "rgb(100% 13.7% 13.7% / 0.1)",
46653
+ disabled: "#dfdfdf",
46654
+ info: "rgb(26.3% 49.4% 93.7% / 0.1)",
46655
+ warning: "rgb(100% 46.7% 16.1% / 0.1)"
46656
+ },
46657
+ text: {
46658
+ "default": "#696e79",
46659
+ success: "#008A0B",
46660
+ neutral: "#53575f",
46661
+ danger: "#c10000",
46662
+ disabled: "#a0a0a0",
46663
+ info: "#437EEF",
46664
+ warning: "#A33C00"
46665
+ },
46666
+ stroke: {
46667
+ "default": "#e6e7e9",
46668
+ success: "rgb(20% 100% 26.7% / 0.05)",
46669
+ neutral: "rgb(41.2% 43.1% 47.5% / 0.1)",
46670
+ danger: "rgb(100% 13.7% 13.7% / 0.05)",
46671
+ disabled: "rgb(83.1% 83.1% 83.1%)",
46672
+ info: "rgb(26.3% 49.4% 93.7% / 0.05)",
46673
+ warning: "rgb(100% 46.7% 16.1% / 0.05)"
46674
+ }
46675
+ }
46676
+ },
46677
+ solid: {
46678
+ color: {
46679
+ background: {
46680
+ "default": "#a0a0a0",
46681
+ success: "#008A0B",
46682
+ neutral: "#606060",
46683
+ danger: "#c10000",
46684
+ disabled: "#dfdfdf",
46685
+ info: "#104EC6",
46686
+ warning: "#D64F00"
46687
+ },
46688
+ text: {
46689
+ "default": "#ffffff",
46690
+ success: "#ffffff",
46691
+ neutral: "#ffffff",
46692
+ danger: "#ffffff",
46693
+ disabled: "#a0a0a0",
46694
+ info: "#ffffff",
46695
+ warning: "#ffffff"
46696
+ },
46697
+ stroke: {
46698
+ "default": "rgb(90.2% 90.6% 91.4% / 0.1)",
46699
+ success: "rgb(20% 100% 26.7% / 0.05)",
46700
+ neutral: "rgb(41.2% 43.1% 47.5% / 0.1)",
46701
+ danger: "rgb(100% 13.7% 13.7% / 0.05)",
46702
+ disabled: "rgb(83.1% 83.1% 83.1%)",
46703
+ info: "rgb(26.3% 49.4% 93.7% / 0.05)",
46704
+ warning: "rgb(100% 46.7% 16.1% / 0.05)"
46705
+ }
46570
46706
  }
46571
46707
  }
46572
46708
  },
@@ -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,4 @@
1
+ import { default as React } from 'react';
2
+
3
+ declare const SouthKorea: (props: React.SVGAttributes<SVGElement>) => React.ReactElement;
4
+ export default SouthKorea;
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+
3
+ declare const UnitedArabEmirates: (props: React.SVGAttributes<SVGElement>) => React.ReactElement;
4
+ export default UnitedArabEmirates;
@@ -1,12 +1,13 @@
1
1
  import { SVGAttributes } from 'react';
2
2
  import { IconSize } from '../../Icon/types';
3
3
 
4
- export type FlagName = "au" | "br" | "ca" | "ch" | "de" | "eu" | "gb" | "in" | "ie" | "jp" | "nl" | "sg" | "sw" | "usa" | "uk" | "za";
4
+ export type FlagName = "ae" | "au" | "br" | "ca" | "ch" | "de" | "eu" | "gb" | "in" | "ie" | "jp" | "nl" | "sg" | "kr" | "sw" | "usa" | "uk" | "za";
5
5
  export interface FlagProps extends Omit<SVGAttributes<SVGElement>, "size"> {
6
6
  name: FlagName;
7
7
  size?: IconSize;
8
8
  }
9
9
  export declare const FlagList: {
10
+ ae: (props: SVGAttributes<SVGElement>) => import('react').ReactElement;
10
11
  au: (props: SVGAttributes<SVGElement>) => import('react').ReactElement;
11
12
  br: (props: SVGAttributes<SVGElement>) => import('react').ReactElement;
12
13
  ca: (props: SVGAttributes<SVGElement>) => import('react').ReactElement;
@@ -20,6 +21,7 @@ export declare const FlagList: {
20
21
  nl: (props: SVGAttributes<SVGElement>) => import('react').ReactElement;
21
22
  sg: (props: SVGAttributes<SVGElement>) => import('react').ReactElement;
22
23
  za: (props: SVGAttributes<SVGElement>) => import('react').ReactElement;
24
+ kr: (props: SVGAttributes<SVGElement>) => import('react').ReactElement;
23
25
  sw: (props: SVGAttributes<SVGElement>) => import('react').ReactElement;
24
26
  uk: (props: SVGAttributes<SVGElement>) => import('react').ReactElement;
25
27
  usa: (props: SVGAttributes<SVGElement>) => import('react').ReactElement;
@@ -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
  };