mimir-ui-kit 1.18.0 → 1.19.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. package/dist/{Input-BFFPzelg.js → Input-C8BYj-Cv.js} +38 -38
  2. package/dist/assets/Button.css +1 -1
  3. package/dist/assets/Input.css +1 -1
  4. package/dist/assets/Link.css +1 -0
  5. package/dist/assets/Steps.css +1 -1
  6. package/dist/assets/Vote.css +1 -1
  7. package/dist/components/Accordion/Accordion.js +2 -2
  8. package/dist/components/AnchorLink/Link.d.ts +3 -0
  9. package/dist/components/AnchorLink/Link.js +63 -0
  10. package/dist/components/AnchorLink/index.d.ts +1 -1
  11. package/dist/components/AnchorLink/index.js +1 -1
  12. package/dist/components/Button/Button.js +31 -31
  13. package/dist/components/DatePicker/DatePicker.js +1 -1
  14. package/dist/components/Input/Input.js +1 -1
  15. package/dist/components/Input/index.js +1 -1
  16. package/dist/components/InputPassword/InputPassword.js +1 -1
  17. package/dist/components/InputPhoneNumber/InputPhoneNumber.js +1 -1
  18. package/dist/components/OtpInput/OtpInput.js +1 -1
  19. package/dist/components/SelectSearch/SelectSearch.js +1 -1
  20. package/dist/components/Steps/Steps.d.ts +9 -9
  21. package/dist/components/Steps/Steps.js +18 -34
  22. package/dist/components/Steps/constants.d.ts +6 -13
  23. package/dist/components/Steps/constants.js +9 -20
  24. package/dist/components/Steps/index.d.ts +2 -2
  25. package/dist/components/Steps/index.js +2 -3
  26. package/dist/components/Steps/types.d.ts +5 -1
  27. package/dist/components/TextArea/TextArea.js +11 -4
  28. package/dist/components/Vote/Vote.d.ts +19 -13
  29. package/dist/components/Vote/Vote.js +43 -64
  30. package/dist/components/index.d.ts +1 -1
  31. package/dist/components/index.js +4 -5
  32. package/dist/index.d.ts +1 -0
  33. package/dist/index.js +4 -5
  34. package/dist/types/index.d.ts +1 -0
  35. package/dist/types/index.js +1 -0
  36. package/dist/types/propsWithAs.d.ts +16 -0
  37. package/dist/types/propsWithAs.js +1 -0
  38. package/package.json +1 -1
  39. package/dist/assets/AnchorLink.css +0 -1
  40. package/dist/components/AnchorLink/AnchorLink.d.ts +0 -13
  41. package/dist/components/AnchorLink/AnchorLink.js +0 -69
@@ -5,39 +5,39 @@ import { EInputVariant } from "./components/Input/constants.js";
5
5
  import { useMergeRefs } from "./hooks/useMergeRefs/useMergeRefs.js";
6
6
  import { Icon } from "./icons/Icon.js";
7
7
  import { Button } from "./components/Button/Button.js";
8
- import './assets/Input.css';const label = "_label_1lw8q_16";
9
- const input = "_input_1lw8q_3";
10
- const focused = "_focused_1lw8q_65";
11
- const clear = "_clear_1lw8q_98";
12
- const s = "_s_1lw8q_126";
13
- const m = "_m_1lw8q_141";
14
- const l = "_l_1lw8q_16";
15
- const success = "_success_1lw8q_198";
16
- const alarm = "_alarm_1lw8q_216";
17
- const error = "_error_1lw8q_234";
18
- const disabled = "_disabled_1lw8q_252";
8
+ import './assets/Input.css';const label = "_label_1oj7p_16";
9
+ const input = "_input_1oj7p_3";
10
+ const focused = "_focused_1oj7p_65";
11
+ const disabled = "_disabled_1oj7p_71";
12
+ const clear = "_clear_1oj7p_104";
13
+ const s = "_s_1oj7p_152";
14
+ const m = "_m_1oj7p_167";
15
+ const l = "_l_1oj7p_16";
16
+ const success = "_success_1oj7p_224";
17
+ const alarm = "_alarm_1oj7p_242";
18
+ const error = "_error_1oj7p_260";
19
19
  const cls = {
20
- "input-wrapper": "_input-wrapper_1lw8q_3",
20
+ "input-wrapper": "_input-wrapper_1oj7p_3",
21
21
  label,
22
- "has-left-slot": "_has-left-slot_1lw8q_29",
23
- "active-label": "_active-label_1lw8q_32",
22
+ "has-left-slot": "_has-left-slot_1oj7p_29",
23
+ "active-label": "_active-label_1oj7p_32",
24
24
  input,
25
- "has-right-slot": "_has-right-slot_1lw8q_62",
25
+ "has-right-slot": "_has-right-slot_1oj7p_62",
26
26
  focused,
27
- "has-label": "_has-label_1lw8q_68",
28
- "left-slot": "_left-slot_1lw8q_71",
29
- "right-slot": "_right-slot_1lw8q_72",
30
- "addon-icon": "_addon-icon_1lw8q_94",
27
+ "has-label": "_has-label_1oj7p_68",
28
+ disabled,
29
+ "left-slot": "_left-slot_1oj7p_77",
30
+ "right-slot": "_right-slot_1oj7p_78",
31
+ "addon-icon": "_addon-icon_1oj7p_100",
31
32
  clear,
32
33
  s,
33
34
  m,
34
35
  l,
35
- "default-gray": "_default-gray_1lw8q_171",
36
- "default-white": "_default-white_1lw8q_183",
36
+ "default-gray": "_default-gray_1oj7p_197",
37
+ "default-white": "_default-white_1oj7p_209",
37
38
  success,
38
39
  alarm,
39
- error,
40
- disabled
40
+ error
41
41
  };
42
42
  const renderAddon = (addon) => {
43
43
  var _a, _b;
@@ -87,6 +87,7 @@ const Input = memo(
87
87
  label: label2,
88
88
  withClearButton,
89
89
  disabled: disabled2,
90
+ onChange,
90
91
  rightAddon,
91
92
  leftAddon,
92
93
  size = "m",
@@ -95,7 +96,6 @@ const Input = memo(
95
96
  const [isFocused, setIsFocused] = useState(autofocus);
96
97
  const [withValue, setWithValue] = useState(!!value);
97
98
  const inputRef = useRef(null);
98
- const leftAddonRef = useRef(null);
99
99
  const mergedInputRef = useMergeRefs(inputRef, ref);
100
100
  useEffect(() => {
101
101
  if (autofocus) {
@@ -122,13 +122,15 @@ const Input = memo(
122
122
  inputRef.current.value = "";
123
123
  inputRef.current.focus();
124
124
  setWithValue(false);
125
+ onChange == null ? void 0 : onChange({
126
+ target: { value: "" }
127
+ });
125
128
  }
126
129
  };
127
130
  const handleChange = (event) => {
128
- var _a;
129
131
  const targetValue = event.target.value;
130
132
  setWithValue(!!targetValue);
131
- (_a = otherProps == null ? void 0 : otherProps.onChange) == null ? void 0 : _a.call(otherProps, event);
133
+ onChange == null ? void 0 : onChange(event);
132
134
  };
133
135
  const currentLeftAddon = renderAddon(leftAddon);
134
136
  const currentRightAddon = renderAddon(rightAddon);
@@ -140,16 +142,11 @@ const Input = memo(
140
142
  [cls["has-left-slot"]]: !!currentLeftAddon,
141
143
  [cls["has-right-slot"]]: !!currentRightAddon
142
144
  };
143
- const labelClassNames = classNames(
144
- cls.label,
145
- {
146
- [cls["active-label"]]: isFocused || value,
147
- [cls.disabled]: disabled2 || readonly,
148
- [cls["has-left-slot"]]: !!currentLeftAddon
149
- },
150
- className,
151
- cls[size]
152
- );
145
+ const labelClassNames = classNames(cls.label, className, cls[size], {
146
+ [cls["active-label"]]: isFocused || value,
147
+ [cls.disabled]: disabled2 || readonly,
148
+ [cls["has-left-slot"]]: !!currentLeftAddon
149
+ });
153
150
  const inputClassNames = classNames(cls.input, mods, className, [
154
151
  cls[variant],
155
152
  cls[size]
@@ -161,7 +158,10 @@ const Input = memo(
161
158
  cls["input-wrapper"],
162
159
  cls[variant],
163
160
  cls[size],
164
- { [cls.focused]: isFocused || withValue },
161
+ {
162
+ [cls.disabled]: disabled2 || readonly,
163
+ [cls.focused]: isFocused || withValue
164
+ },
165
165
  wrapperClassName
166
166
  ),
167
167
  children: [
@@ -169,7 +169,6 @@ const Input = memo(
169
169
  currentLeftAddon && /* @__PURE__ */ jsx(
170
170
  "span",
171
171
  {
172
- ref: leftAddonRef,
173
172
  className: classNames(cls["left-slot"], {
174
173
  [cls.focused]: isFocused,
175
174
  [cls["has-label"]]: !!label2
@@ -211,6 +210,7 @@ const Input = memo(
211
210
  iconName: "Close16px",
212
211
  size: "m-s",
213
212
  clear: true,
213
+ disabled: disabled2 || readonly,
214
214
  variant: "secondary-gray",
215
215
  onClick: handleClear
216
216
  }
@@ -1 +1 @@
1
- ._button_12tq3_2{--button-loader-color: var(--button-color);--button-cursor: pointer;display:inline-flex;flex-shrink:0;align-items:center;box-sizing:border-box;max-width:100%;height:var(--button-height);padding:0 var(--button-space);overflow:hidden;color:var(--button-color);font-weight:var(--font-weight-text-semibold);font-size:var(--button-font-size);font-family:var(--font-inter);line-height:var(--line-height-text-s1);white-space:nowrap;text-transform:uppercase;-webkit-text-decoration:none;text-decoration:none;text-overflow:ellipsis;-moz-column-gap:var(--button-gap);column-gap:var(--button-gap);background:var(--button-bg-color);border:none;border-color:var(--border-color);cursor:pointer;cursor:var(--button-cursor);transition:background-color .3s ease,border-color .15s ease,box-shadow .15s ease,color .15s ease,fill .15s ease;-webkit-appearance:none;-moz-appearance:none;appearance:none}._button_12tq3_2:hover{color:var(--button-color-hover);background:var(--button-bg-color-hover);border-color:var(--border-color-hover)}._button_12tq3_2:active{color:var(--button-color-active);background:var(--button-bg-color-active);border-color:var(--border-color-active)}._button_12tq3_2:focus{box-shadow:0 0 2px var(--sapphire-normal)}._button_12tq3_2._clear_12tq3_43:focus{box-shadow:none}._button_12tq3_2 svg{color:currentcolor;fill:currentcolor}._button_12tq3_2 svg path{color:currentcolor;fill:currentcolor}._xs_12tq3_55{--button-height: var(--button-height-xs);--button-font-size: var(--control-text-size-xs);--button-space: var(--control-space-xs);--button-gap: 4px;--button-border-radius: var(--button-border-radius-s)}._s_12tq3_63{--button-height: var(--button-height-s);--button-font-size: var(--control-text-size-s);--button-space: var(--control-space-s);--button-gap: 4px;--button-border-radius: var(--button-border-radius-s)}._m_12tq3_71{--button-height: var(--button-height-m);--button-font-size: var(--size-text-m);--button-space: var(--control-space-m);--button-gap: 8px;--button-border-radius: var(--button-border-radius-m)}._l_12tq3_79{--button-height: var(--button-height-l);--button-font-size: var(--size-text-m);--button-space: var(--control-space-l);--button-gap: 8px;--button-border-radius: var(--button-border-radius-l)}._xl_12tq3_87{--button-height: var(--button-height-xl);--button-space: var(--control-space-l);--button-gap: 8px;--button-border-radius: var(--button-border-radius-l);--button-font-size: var(--size-text-m);font-weight:var(--font-weight-text-medium)}._xxl_12tq3_96{--button-height: var(--button-height-xxl);--button-space: var(--control-space-xxl);--button-border-radius: var(--button-border-radius-l);--button-gap: 8px;font-weight:var(--font-weight-text-medium);--button-font-size: var(--size-text-m)}._m-s_12tq3_105{--button-height: var(--button-height-ms);font-weight:var(--font-weight-text-regular);border-radius:var(--control-radius-xs)!important;--button-gap: var(--space-2xs);--button-font-size: var(--size-text-s)}._default-button_12tq3_113{border-radius:var(--control-radius)}._default-button_12tq3_113._primary-sapphire_12tq3_116{--button-bg-color: var(--sapphire-normal);--button-color-hover: var(--light-text);--button-color-active: var(--light-text);--button-bg-color-active: var(--sapphire-active);--button-bg-color-hover: var(--sapphire-hover);--button-color: var(--light-text);--button-border: transparent}._default-button_12tq3_113._primary-citrine_12tq3_125{--button-bg-color: var(--citrine-normal);--button-color-hover: var(--light-text);--button-color-active: var(--light-text);--button-bg-color-active: var(--citrine-active);--button-bg-color-hover: var(--citrine-hover);--button-color: var(--light-text);--button-border: transparent}._default-button_12tq3_113._secondary-asphalt_12tq3_134{--button-bg-color: var(--asphalt-normal);--button-color-hover: var(--light-text);--button-color-active: var(--light-text);--button-bg-color-active: var(--asphalt-active);--button-bg-color-hover: var(--asphalt-hover);--button-color: var(--light-text);--button-border: transparent}._default-button_12tq3_113._secondary-gray_12tq3_143{--button-bg-color: var(--gray-normal);--button-color-hover: var(--counter-text);--button-color-active: var(--light-text);--button-bg-color-active: var(--gray-active);--button-bg-color-hover: var(--gray-hover);--button-color: var(--dark-text);--button-border: transparent}._default-button_12tq3_113._secondary-white_12tq3_152{--button-bg-color: var(--white-normal);--button-color-hover: var(--counter-text);--button-color-active: var(--light-text);--button-bg-color-active: var(--white-active);--button-bg-color-hover: var(--white);--button-color: var(--dark-text);--button-border: transparent}._default-button_12tq3_113._secondary-red_12tq3_161{--button-bg-color: var(--red-normal);--button-color-hover: var(--light-text);--button-color-active: var(--light-text);--button-bg-color-active: var(--red-active);--button-bg-color-hover: var(--red-hover);--button-color: var(--light-text);--button-border: transparent}._round-button_12tq3_171{--button-border-radius-l: 24px;--button-border-radius-m: 20px;--button-border-radius-s: 16px;--button-border-radius-xs: 12px;border-radius:var(--button-border-radius)}._round-button_12tq3_171._black_12tq3_178{--button-bg-color: var(--asphalt-normal);--button-bg-color-hover: var(--asphalt-hover);--button-bg-color-active: var(--sapphire-normal);--button-bg-color-focus: var(--sapphire-normal);--button-color: var(--light-text);--button-color-hover: var(--light-text);--button-color-active: var(--light-text)}._round-button_12tq3_171._gray_12tq3_187{--button-bg-color: var(--gray-normal);--button-bg-color-hover: var(--gray-hover);--button-bg-color-active: var(--sapphire-normal);--button-bg-color-focus: var(--sapphire-normal);--button-color: var(--asphalt-normal);--button-color-hover: var(--asphalt-hover);--button-color-active: var(--light-text)}._round-button_12tq3_171._white_12tq3_196{--button-bg-color: var(--white-normal);--button-bg-color-hover: var(--white-hover);--button-bg-color-active: var(--sapphire-normal);--button-bg-color-focus: var(--sapphire-normal);--button-color: var(--asphalt-normal);--button-color-hover: var(--asphalt-hover);--button-color-active: var(--light-text)}._outline-button_12tq3_206{--button-bg-color: transparent;--button-bg-color-hover: transparent;--button-bg-color-active: transparent;--button-bg-color-focus: transparent;border:1px solid var(--border-color);border-radius:var(--control-radius)}._outline-button_12tq3_206._outline-asphalt_12tq3_214{--border-color: var(--disabled-color);--button-color: var(--black-80);--border-color-hover: var(--black-80);--button-color-hover: var(--black-80);--border-color-active: var(--black-100);--button-color-active: var(--black-100)}._outline-button_12tq3_206._outline-gray_12tq3_222{--border-color: var(--black-5);--button-color: var(--black-5);--border-color-hover: var(--black-5);--button-color-hover: var(--counter-text);--border-color-active: var(--black-80);--button-color-active: var(--white);--button-bg-color-active: var(--black-80)}._outline-button_12tq3_206._outline-white_12tq3_231{--border-color: var(--white);--button-color: var(--white);--border-color-hover: var(--white);--button-color-hover: var(--counter-text);--border-color-active: var(--black-80);--button-color-active: var(--white);--button-bg-color-active: var(--black-80)}._outline-button_12tq3_206._outline-red_12tq3_240{--border-color: var(--error-normal);--button-color: var(--error-normal);--border-color-hover: var(--red-hover);--button-color-hover: var(--red-hover);--border-color-active: var(--red-active);--button-color-active: var(--white);--button-bg-color-active: var(--red-active)}._full_12tq3_250{display:flex;justify-content:center;width:100%}._disabled_12tq3_256{--button-cursor: not-allowed;color:var(--light-text);background-color:var(--disabled)}._disabled_12tq3_256:hover,._disabled_12tq3_256:active,._disabled_12tq3_256:focus{color:var(--light-text);background-color:var(--disabled);box-shadow:none}._disabled_12tq3_256._outline-button_12tq3_206{color:var(--disabled);background-color:transparent;border:1px solid var(--disabled)}._icon-button_12tq3_272{justify-content:center;min-width:var(--button-height);padding:0}
1
+ ._button_18bdh_2{--button-cursor: pointer;display:inline-flex;flex-shrink:0;align-items:center;box-sizing:border-box;max-width:100%;height:var(--button-height);padding:0 var(--button-space);overflow:hidden;color:var(--button-color);font-weight:var(--font-weight-text-semibold);font-size:var(--button-font-size);font-family:var(--font-inter);line-height:var(--line-height-text-s1);white-space:nowrap;text-transform:uppercase;-webkit-text-decoration:none;text-decoration:none;text-overflow:ellipsis;-moz-column-gap:var(--button-gap);column-gap:var(--button-gap);background:var(--button-bg-color);border:none;border-color:var(--border-color);cursor:pointer;cursor:var(--button-cursor);transition:background-color .3s ease,border-color .15s ease,box-shadow .15s ease,color .15s ease,fill .15s ease;-webkit-appearance:none;-moz-appearance:none;appearance:none}._button_18bdh_2:hover{color:var(--button-color-hover);background:var(--button-bg-color-hover);border-color:var(--border-color-hover)}._button_18bdh_2:active{color:var(--button-color-active);background:var(--button-bg-color-active);border-color:var(--border-color-active)}._button_18bdh_2:focus{box-shadow:0 0 2px var(--sapphire-normal)}._button_18bdh_2._clear_18bdh_42:focus{box-shadow:none}._button_18bdh_2 svg{color:currentcolor;fill:currentcolor}._button_18bdh_2 svg path{color:currentcolor;fill:currentcolor}._default-button_18bdh_54._primary-sapphire_18bdh_54{--button-bg-color: var(--sapphire-normal);--button-color-hover: var(--light-text);--button-color-active: var(--light-text);--button-bg-color-active: var(--sapphire-active);--button-bg-color-hover: var(--sapphire-hover);--button-color: var(--light-text);--button-border: transparent}._default-button_18bdh_54._primary-citrine_18bdh_63{--button-bg-color: var(--citrine-normal);--button-color-hover: var(--light-text);--button-color-active: var(--light-text);--button-bg-color-active: var(--citrine-active);--button-bg-color-hover: var(--citrine-hover);--button-color: var(--light-text);--button-border: transparent}._default-button_18bdh_54._secondary-asphalt_18bdh_72{--button-bg-color: var(--asphalt-normal);--button-color-hover: var(--light-text);--button-color-active: var(--light-text);--button-bg-color-active: var(--asphalt-active);--button-bg-color-hover: var(--asphalt-hover);--button-color: var(--light-text);--button-border: transparent}._default-button_18bdh_54._secondary-gray_18bdh_81{--button-bg-color: var(--gray-normal);--button-color-hover: var(--counter-text);--button-color-active: var(--light-text);--button-bg-color-active: var(--gray-active);--button-bg-color-hover: var(--gray-hover);--button-color: var(--dark-text);--button-border: transparent}._default-button_18bdh_54._secondary-white_18bdh_90{--button-bg-color: var(--white-normal);--button-color-hover: var(--counter-text);--button-color-active: var(--light-text);--button-bg-color-active: var(--white-active);--button-bg-color-hover: var(--white);--button-color: var(--dark-text);--button-border: transparent}._default-button_18bdh_54._secondary-red_18bdh_99{--button-bg-color: var(--red-normal);--button-color-hover: var(--light-text);--button-color-active: var(--light-text);--button-bg-color-active: var(--red-active);--button-bg-color-hover: var(--red-hover);--button-color: var(--light-text);--button-border: transparent}._round-button_18bdh_109{--button-border-radius-l: 24px;--button-border-radius-m: 20px;--button-border-radius-s: 16px;--button-border-radius-xs: 12px;--button-space-l: var(--space-s);--button-space-m: var(--space-xs);--button-space-s: var(--space-xs);--button-space-xs: var(--space-2xs);border-radius:var(--button-border-radius)}._round-button_18bdh_109._black_18bdh_120{--button-bg-color: var(--asphalt-normal);--button-bg-color-hover: var(--asphalt-hover);--button-bg-color-active: var(--sapphire-normal);--button-bg-color-focus: var(--sapphire-normal);--button-color: var(--light-text);--button-color-hover: var(--light-text);--button-color-active: var(--light-text)}._round-button_18bdh_109._gray_18bdh_129{--button-bg-color: var(--gray-normal);--button-bg-color-hover: var(--gray-hover);--button-bg-color-active: var(--sapphire-normal);--button-bg-color-focus: var(--sapphire-normal);--button-color: var(--asphalt-normal);--button-color-hover: var(--asphalt-hover);--button-color-active: var(--light-text)}._round-button_18bdh_109._white_18bdh_138{--button-bg-color: var(--white-normal);--button-bg-color-hover: var(--white-hover);--button-bg-color-active: var(--sapphire-normal);--button-bg-color-focus: var(--sapphire-normal);--button-color: var(--asphalt-normal);--button-color-hover: var(--asphalt-hover);--button-color-active: var(--light-text)}._outline-button_18bdh_148{--button-bg-color: transparent;--button-bg-color-hover: transparent;--button-bg-color-active: transparent;--button-bg-color-focus: transparent;border:1px solid var(--border-color)}._outline-button_18bdh_148._outline-asphalt_18bdh_155{--border-color: var(--disabled-color);--button-color: var(--black-80);--border-color-hover: var(--black-80);--button-color-hover: var(--black-80);--border-color-active: var(--black-100);--button-color-active: var(--black-100)}._outline-button_18bdh_148._outline-gray_18bdh_163{--border-color: var(--black-5);--button-color: var(--black-5);--border-color-hover: var(--black-5);--button-color-hover: var(--counter-text);--border-color-active: var(--black-80);--button-color-active: var(--white);--button-bg-color-active: var(--black-80)}._outline-button_18bdh_148._outline-white_18bdh_172{--border-color: var(--white);--button-color: var(--white);--border-color-hover: var(--white);--button-color-hover: var(--counter-text);--border-color-active: var(--black-80);--button-color-active: var(--white);--button-bg-color-active: var(--black-80)}._outline-button_18bdh_148._outline-red_18bdh_181{--border-color: var(--error-normal);--button-color: var(--error-normal);--border-color-hover: var(--red-hover);--button-color-hover: var(--red-hover);--border-color-active: var(--red-active);--button-color-active: var(--white);--button-bg-color-active: var(--red-active)}._default-button_18bdh_54,._outline-button_18bdh_148{--button-space-xxl: var(--control-space-xxl);--button-space-xl: var(--control-space-l);--button-space-l: var(--space-m);--button-space-m: var(--space-m);--button-space-s: var(--space-xs);--button-space-xs: var(--space-2xs);--button-border-radius-xxl: var(--control-radius-s);--button-border-radius-xl: var(--control-radius-s);--button-border-radius-l: var(--control-radius);--button-border-radius-m: var(--control-radius);--button-border-radius-s: var(--control-radius-xs);--button-border-radius-xs: var(--control-radius-xs);border-radius:var(--button-border-radius)}._xs_18bdh_208{--button-height: var(--button-height-xs);--button-font-size: var(--control-text-size-xs);--button-space: var(--button-space-xs);--button-gap: 4px;--button-border-radius: var(--button-border-radius-s)}._m-s_18bdh_216{--button-height: var(--button-height-ms);--button-border-radius: var(--button-border-radius-s);font-weight:var(--font-weight-text-regular);--button-gap: var(--space-2xs);--button-font-size: var(--size-text-s)}._s_18bdh_72{--button-height: var(--button-height-s);--button-font-size: var(--control-text-size-s);--button-space: var(--button-space-s);--button-gap: 4px;--button-border-radius: var(--button-border-radius-s)}._m_18bdh_216{--button-height: var(--button-height-m);--button-font-size: var(--size-text-m);--button-space: var(--button-space-m);--button-gap: 8px;--button-border-radius: var(--button-border-radius-m)}._l_18bdh_240{--button-height: var(--button-height-l);--button-font-size: var(--size-text-m);--button-space: var(--button-space-l);--button-gap: 8px;--button-border-radius: var(--button-border-radius-l)}._xl_18bdh_248{--button-height: var(--button-height-xl);--button-space: var(--button-space-xl);--button-gap: 8px;--button-border-radius: var(--button-border-radius-xl);--button-font-size: var(--size-text-m);font-weight:var(--font-weight-text-medium)}._xxl_18bdh_257{--button-height: var(--button-height-xxl);--button-space: var(--button-space-xxl);--button-border-radius: var(--button-border-radius-xxl);--button-gap: 8px;font-weight:var(--font-weight-text-medium);--button-font-size: var(--size-text-m)}._full_18bdh_266{display:flex;justify-content:center;width:100%}._disabled_18bdh_272{--button-cursor: not-allowed;color:var(--light-text);background-color:var(--disabled)}._disabled_18bdh_272:hover,._disabled_18bdh_272:active,._disabled_18bdh_272:focus{color:var(--light-text);background-color:var(--disabled);box-shadow:none}._disabled_18bdh_272._outline-button_18bdh_148{color:var(--disabled);background-color:transparent;border:1px solid var(--disabled)}._icon-button_18bdh_288{justify-content:center;min-width:var(--button-height);padding:0}
@@ -1 +1 @@
1
- ._input-wrapper_1lw8q_3{--input-border-radius-l: 8px;--input-border-radius-m: 6px;--input-border-radius-s: 6px;position:relative;display:flex;padding:0 var(--space-m);overflow:hidden;background-color:var(--input-bg-color);border-bottom:1px solid transparent;border-radius:var(--input-border-radius);transition:background-color .2s ease,border-color .15s ease,box-shadow .15s ease,color .15s ease,fill .15s ease}._input-wrapper_1lw8q_3 ._label_1lw8q_16{position:absolute;top:calc(var(--input-height) / 2 - var(--input-font-size) / 2);left:var(--space-m);z-index:1;display:block;color:var(--label-color);font-size:var(--input-font-size);white-space:nowrap;transform-origin:left center;transition:transform .15s ease-out,left .15s ease-out,color .15s ease-out;pointer-events:none}._input-wrapper_1lw8q_3 ._label_1lw8q_16._has-left-slot_1lw8q_29{left:calc(var(--space-m) + var(--icon-size) + var(--clear-button-mg))}._input-wrapper_1lw8q_3 ._label_1lw8q_16._active-label_1lw8q_32{transform:scale(var(--label-scaled)) translateY(calc(var(--input-font-size) * -1))}._input-wrapper_1lw8q_3 ._label_1lw8q_16._active-label_1lw8q_32._has-left-slot_1lw8q_29{left:calc(var(--space-m) + var(--icon-size) + var(--space-s));transform:scale(var(--label-scaled)) translate(calc((var(--space-m) + var(--left-addon-position)) * 2 * -1),calc(var(--input-font-size) * -1))}._input-wrapper_1lw8q_3 ._input_1lw8q_3{position:relative;display:block;flex:1;width:100%;min-width:0;height:var(--input-height);color:var(--dark-text);font-size:var(--input-font-size);font-family:var(--font-inter);line-height:var(--input-line-height);letter-spacing:-.42px;background-color:inherit;border-radius:var(--input-border-radius);outline:none;cursor:var(--input-cursor);transition:border-color .15s ease,box-shadow .15s ease,color .15s ease,fill .15s ease;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-feature-settings:"zero"}._input-wrapper_1lw8q_3 ._input_1lw8q_3._has-left-slot_1lw8q_29{padding-left:0}._input-wrapper_1lw8q_3 ._input_1lw8q_3._has-right-slot_1lw8q_62{padding-right:0}._input-wrapper_1lw8q_3 ._input_1lw8q_3._focused_1lw8q_65{padding-top:0}._input-wrapper_1lw8q_3 ._input_1lw8q_3._has-label_1lw8q_68{padding-top:var(--input-padding-position)}._input-wrapper_1lw8q_3 ._left-slot_1lw8q_71,._input-wrapper_1lw8q_3 ._right-slot_1lw8q_72{display:flex;align-items:center;height:var(--input-height);color:var(--black-60);font-size:var(--input-font-size);font-family:var(--font-inter);line-height:var(--input-line-height);background-color:inherit;transition:padding-top .15s ease-out}._input-wrapper_1lw8q_3 ._left-slot_1lw8q_71._focused_1lw8q_65._has-label_1lw8q_68,._input-wrapper_1lw8q_3 ._right-slot_1lw8q_72._focused_1lw8q_65._has-label_1lw8q_68{padding-top:var(--input-padding-position)}._input-wrapper_1lw8q_3 ._left-slot_1lw8q_71{justify-content:flex-end;margin-right:var(--clear-button-mg)}._input-wrapper_1lw8q_3 ._right-slot_1lw8q_72{margin-left:var(--clear-button-mg)}._input-wrapper_1lw8q_3 ._addon-icon_1lw8q_94{width:var(--icon-size);height:var(--icon-size)}._input-wrapper_1lw8q_3 ._clear_1lw8q_98{align-self:center;width:16px;height:16px;margin-left:var(--clear-button-mg)}._input-wrapper_1lw8q_3 svg{color:currentcolor;fill:currentcolor}._input-wrapper_1lw8q_3:hover ._label_1lw8q_16,._input-wrapper_1lw8q_3:focus-within ._label_1lw8q_16{color:var(--label-color)}._input-wrapper_1lw8q_3:hover{background-color:var(--input-bg-color-hover)}._input-wrapper_1lw8q_3:focus-within{background-color:var(--input-bg-color-active);border-bottom:1px solid var(--input-bottom-color-active)}._input-wrapper_1lw8q_3._focused_1lw8q_65{color:var(--input-color-active);background-color:var(--input-bg-color-active)}._input-wrapper_1lw8q_3._focused_1lw8q_65:hover{background-color:var(--input-bg-color-hover)}._s_1lw8q_126{--input-height: var(--space-xxl);--input-font-size: var(--control-text-size-m);--input-line-height: var(--line-height-text-xs);--input-padding: var(--space-m);--input-padding-position: var(--space-1xs);--input-border-radius: var(--input-border-radius-s);--label-font-size: var(--size-text-xs);--label-scaled: .85;--label-spacing: var(--space-1xs);--clear-button-mg: var(--space-2xs);--icon-size: 16px;--left-addon-position: 0px}._m_1lw8q_141{--input-height: var(--space-4xl);--input-font-size: var(--control-text-size-l);--input-line-height: var(--line-height-text-s1);--input-padding: var(--space-m);--input-padding-position: var(--space-xs);--input-border-radius: var(--input-border-radius-m);--label-font-size: var(--size-text-s);--label-scaled: .75;--label-spacing: var(--space-xs);--clear-button-mg: var(--space-2xs);--icon-size: 16px;--left-addon-position: var(--space-3xs)}._l_1lw8q_16{--input-height: var(--space-4xxl);--input-font-size: var(--control-text-size-2xl);--input-line-height: var(--line-height-text-l);--input-padding: var(--space-m);--input-padding-position: var(--space-s);--input-border-radius: var(--input-border-radius-l);--label-font-size: var(--size-text-s);--label-scaled: .6;--label-spacing: var(--space-s);--clear-button-mg: var(--space-xs);--icon-size: 24px;--left-addon-position: var(--space-s)}._default-gray_1lw8q_171{--input-bg-color: var(--black-5);--input-bg-color-active: var(--black-10);--input-bg-color-hover: var(--black-10);--input-color: var(--dark-text);--input-color-hover: var(--dark-text);--input-color-active: var(--dark-text);--input-border: transparent;--input-bottom-color-active: var(--citrine-normal);--label-color: var(--black-60)}._default-white_1lw8q_183{--input-bg-color: var(--white);--input-bg-color-hover: var(--black-10);--input-bg-color-active: var(--white);--input-color: var(--dark-text);--input-color-hover: var(--dark-text);--input-color-active: var(--dark-text);--input-border: transparent;--input-bottom-color-active: var(--citrine-normal);--label-color: var(--black-60)}._default-white_1lw8q_183:hover{--label-color: var(--dark-text)}._success_1lw8q_198{--input-bg-color: var(--success-normal);--input-bg-color-hover: var(--success-bg-hover);--input-bg-color-active: var(--success-bg-active);--input-color: var(--dark-text);--input-color-hover: var(--dark-text);--input-color-active: var(--dark-text);--input-border: transparent;--input-bottom-color-active: var(--success-normal);--label-color: var(--black-60)}._success_1lw8q_198::-moz-placeholder{color:var(--input-color)}._success_1lw8q_198::placeholder{color:var(--input-color)}._success_1lw8q_198:hover::-moz-placeholder{color:var(--input-color)}._success_1lw8q_198:hover::placeholder{color:var(--input-color)}._alarm_1lw8q_216{--input-bg-color: var(--alarm-normal);--input-bg-color-hover: var(--alarm-bg-hover);--input-bg-color-active: var(--alarm-bg-active);--input-color: var(--dark-text);--input-color-hover: var(--dark-text);--input-color-active: var(--dark-text);--input-border: transparent;--input-bottom-color-active: var(--alarm-normal);--label-color: var(--black-60)}._alarm_1lw8q_216::-moz-placeholder{color:var(--input-color)}._alarm_1lw8q_216::placeholder{color:var(--input-color)}._alarm_1lw8q_216:hover::-moz-placeholder{color:var(--input-color)}._alarm_1lw8q_216:hover::placeholder{color:var(--input-color)}._error_1lw8q_234{--input-bg-color: var(--error-normal);--input-bg-color-hover: var(--error-bg-hover);--input-bg-color-active: var(--error-bg-active);--input-color: var(--dark-text);--input-color-hover: var(--dark-text);--input-color-active: var(--dark-text);--input-border: transparent;--input-bottom-color-active: var(--error-normal);--label-color: var(--black-60)}._error_1lw8q_234::-moz-placeholder{color:var(--input-color)}._error_1lw8q_234::placeholder{color:var(--input-color)}._error_1lw8q_234:hover::-moz-placeholder{color:var(--input-color)}._error_1lw8q_234:hover::placeholder{color:var(--input-color)}._disabled_1lw8q_252{--input-cursor: not-allowed;--label-color: var(--light-text);color:var(--light-text);background-color:var(--black-20)}._disabled_1lw8q_252:hover,._disabled_1lw8q_252:active,._disabled_1lw8q_252:focus{--label-color: var(--light-text);color:var(--light-text);background-color:var(--black-20);border:none;box-shadow:none}._disabled_1lw8q_252::-moz-placeholder{color:var(--light-text)}._disabled_1lw8q_252::placeholder{color:var(--light-text)}._disabled_1lw8q_252:hover::-moz-placeholder{color:var(--light-text)}._disabled_1lw8q_252:hover::placeholder{color:var(--light-text)}
1
+ ._input-wrapper_1oj7p_3{--input-border-radius-l: 8px;--input-border-radius-m: 6px;--input-border-radius-s: 6px;position:relative;display:flex;padding:0 var(--space-m);overflow:hidden;background-color:var(--input-bg-color);border-bottom:1px solid transparent;border-radius:var(--input-border-radius);transition:background-color .2s ease,border-color .15s ease,box-shadow .15s ease,color .15s ease,fill .15s ease}._input-wrapper_1oj7p_3 ._label_1oj7p_16{position:absolute;top:calc(var(--input-height) / 2 - var(--input-font-size) / 2);left:var(--space-m);z-index:1;display:block;color:var(--label-color);font-size:var(--input-font-size);white-space:nowrap;transform-origin:left center;transition:transform .15s ease-out,left .15s ease-out,color .15s ease-out;pointer-events:none}._input-wrapper_1oj7p_3 ._label_1oj7p_16._has-left-slot_1oj7p_29{left:calc(var(--space-m) + var(--icon-size) + var(--clear-button-mg))}._input-wrapper_1oj7p_3 ._label_1oj7p_16._active-label_1oj7p_32{transform:scale(var(--label-scaled)) translateY(calc(var(--input-font-size) * -1))}._input-wrapper_1oj7p_3 ._label_1oj7p_16._active-label_1oj7p_32._has-left-slot_1oj7p_29{left:calc(var(--space-m) + var(--icon-size) + var(--space-s));transform:scale(var(--label-scaled)) translate(calc((var(--space-m) + var(--left-addon-position)) * 2 * -1),calc(var(--input-font-size) * -1))}._input-wrapper_1oj7p_3 ._input_1oj7p_3{position:relative;display:block;flex:1;width:100%;min-width:0;height:var(--input-height);color:var(--dark-text);font-size:var(--input-font-size);font-family:var(--font-inter);line-height:var(--input-line-height);letter-spacing:-.42px;background-color:inherit;border-radius:var(--input-border-radius);outline:none;cursor:var(--input-cursor);transition:border-color .15s ease,box-shadow .15s ease,color .15s ease,fill .15s ease;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-feature-settings:"zero"}._input-wrapper_1oj7p_3 ._input_1oj7p_3._has-left-slot_1oj7p_29{padding-left:0}._input-wrapper_1oj7p_3 ._input_1oj7p_3._has-right-slot_1oj7p_62{padding-right:0}._input-wrapper_1oj7p_3 ._input_1oj7p_3._focused_1oj7p_65{padding-top:0}._input-wrapper_1oj7p_3 ._input_1oj7p_3._has-label_1oj7p_68{padding-top:var(--input-padding-position)}._input-wrapper_1oj7p_3 ._input_1oj7p_3._disabled_1oj7p_71{color:var(--light-text)}._input-wrapper_1oj7p_3 ._input_1oj7p_3._disabled_1oj7p_71:hover,._input-wrapper_1oj7p_3 ._input_1oj7p_3._disabled_1oj7p_71:active,._input-wrapper_1oj7p_3 ._input_1oj7p_3._disabled_1oj7p_71:focus{color:var(--light-text)}._input-wrapper_1oj7p_3 ._left-slot_1oj7p_77,._input-wrapper_1oj7p_3 ._right-slot_1oj7p_78{display:flex;align-items:center;height:var(--input-height);color:var(--black-60);font-size:var(--input-font-size);font-family:var(--font-inter);line-height:var(--input-line-height);background-color:inherit;transition:padding-top .15s ease-out}._input-wrapper_1oj7p_3 ._left-slot_1oj7p_77._focused_1oj7p_65._has-label_1oj7p_68,._input-wrapper_1oj7p_3 ._right-slot_1oj7p_78._focused_1oj7p_65._has-label_1oj7p_68{padding-top:var(--input-padding-position)}._input-wrapper_1oj7p_3 ._left-slot_1oj7p_77{justify-content:flex-end;margin-right:var(--clear-button-mg)}._input-wrapper_1oj7p_3 ._right-slot_1oj7p_78{margin-left:var(--clear-button-mg)}._input-wrapper_1oj7p_3 ._addon-icon_1oj7p_100{width:var(--icon-size);height:var(--icon-size)}._input-wrapper_1oj7p_3 ._clear_1oj7p_104{align-self:center;width:16px;height:16px;margin-left:var(--clear-button-mg)}._input-wrapper_1oj7p_3 svg{color:currentcolor;fill:currentcolor}._input-wrapper_1oj7p_3:hover ._label_1oj7p_16,._input-wrapper_1oj7p_3:focus-within ._label_1oj7p_16{color:var(--label-color)}._input-wrapper_1oj7p_3:hover{background-color:var(--input-bg-color-hover)}._input-wrapper_1oj7p_3:focus-within{background-color:var(--input-bg-color-active);border-bottom:1px solid var(--input-bottom-color-active)}._input-wrapper_1oj7p_3._focused_1oj7p_65{color:var(--input-color-active);background-color:var(--input-bg-color-active)}._input-wrapper_1oj7p_3._focused_1oj7p_65:hover{background-color:var(--input-bg-color-hover)}._input-wrapper_1oj7p_3._disabled_1oj7p_71{--input-cursor: not-allowed;--label-color: var(--light-text);color:var(--light-text);background-color:var(--black-20);border-bottom:1px solid transparent}._input-wrapper_1oj7p_3._disabled_1oj7p_71:hover,._input-wrapper_1oj7p_3._disabled_1oj7p_71:active,._input-wrapper_1oj7p_3._disabled_1oj7p_71:focus{--label-color: var(--light-text);color:var(--light-text);background-color:var(--black-20);border-bottom:1px solid transparent;box-shadow:none}._input-wrapper_1oj7p_3._disabled_1oj7p_71::-moz-placeholder{color:var(--light-text)}._input-wrapper_1oj7p_3._disabled_1oj7p_71::placeholder{color:var(--light-text)}._input-wrapper_1oj7p_3._disabled_1oj7p_71:hover::-moz-placeholder{color:var(--light-text)}._input-wrapper_1oj7p_3._disabled_1oj7p_71:hover::placeholder{color:var(--light-text)}._s_1oj7p_152{--input-height: var(--space-xxl);--input-font-size: var(--control-text-size-m);--input-line-height: var(--line-height-text-xs);--input-padding: var(--space-m);--input-padding-position: var(--space-1xs);--input-border-radius: var(--input-border-radius-s);--label-font-size: var(--size-text-xs);--label-scaled: .85;--label-spacing: var(--space-1xs);--clear-button-mg: var(--space-2xs);--icon-size: 16px;--left-addon-position: 0px}._m_1oj7p_167{--input-height: var(--space-4xl);--input-font-size: var(--control-text-size-l);--input-line-height: var(--line-height-text-s1);--input-padding: var(--space-m);--input-padding-position: var(--space-xs);--input-border-radius: var(--input-border-radius-m);--label-font-size: var(--size-text-s);--label-scaled: .75;--label-spacing: var(--space-xs);--clear-button-mg: var(--space-2xs);--icon-size: 16px;--left-addon-position: var(--space-3xs)}._l_1oj7p_16{--input-height: var(--space-4xxl);--input-font-size: var(--control-text-size-2xl);--input-line-height: var(--line-height-text-l);--input-padding: var(--space-m);--input-padding-position: var(--space-s);--input-border-radius: var(--input-border-radius-l);--label-font-size: var(--size-text-s);--label-scaled: .6;--label-spacing: var(--space-s);--clear-button-mg: var(--space-xs);--icon-size: 24px;--left-addon-position: var(--space-s)}._default-gray_1oj7p_197{--input-bg-color: var(--black-5);--input-bg-color-active: var(--black-10);--input-bg-color-hover: var(--black-10);--input-color: var(--dark-text);--input-color-hover: var(--dark-text);--input-color-active: var(--dark-text);--input-border: transparent;--input-bottom-color-active: var(--citrine-normal);--label-color: var(--black-60)}._default-white_1oj7p_209{--input-bg-color: var(--white);--input-bg-color-hover: var(--black-10);--input-bg-color-active: var(--white);--input-color: var(--dark-text);--input-color-hover: var(--dark-text);--input-color-active: var(--dark-text);--input-border: transparent;--input-bottom-color-active: var(--citrine-normal);--label-color: var(--black-60)}._default-white_1oj7p_209:hover{--label-color: var(--dark-text)}._success_1oj7p_224{--input-bg-color: var(--success-normal);--input-bg-color-hover: var(--success-bg-hover);--input-bg-color-active: var(--success-bg-active);--input-color: var(--dark-text);--input-color-hover: var(--dark-text);--input-color-active: var(--dark-text);--input-border: transparent;--input-bottom-color-active: var(--success-normal);--label-color: var(--black-60)}._success_1oj7p_224::-moz-placeholder{color:var(--input-color)}._success_1oj7p_224::placeholder{color:var(--input-color)}._success_1oj7p_224:hover::-moz-placeholder{color:var(--input-color)}._success_1oj7p_224:hover::placeholder{color:var(--input-color)}._alarm_1oj7p_242{--input-bg-color: var(--alarm-normal);--input-bg-color-hover: var(--alarm-bg-hover);--input-bg-color-active: var(--alarm-bg-active);--input-color: var(--dark-text);--input-color-hover: var(--dark-text);--input-color-active: var(--dark-text);--input-border: transparent;--input-bottom-color-active: var(--alarm-normal);--label-color: var(--black-60)}._alarm_1oj7p_242::-moz-placeholder{color:var(--input-color)}._alarm_1oj7p_242::placeholder{color:var(--input-color)}._alarm_1oj7p_242:hover::-moz-placeholder{color:var(--input-color)}._alarm_1oj7p_242:hover::placeholder{color:var(--input-color)}._error_1oj7p_260{--input-bg-color: var(--error-normal);--input-bg-color-hover: var(--error-bg-hover);--input-bg-color-active: var(--error-bg-active);--input-color: var(--dark-text);--input-color-hover: var(--dark-text);--input-color-active: var(--dark-text);--input-border: transparent;--input-bottom-color-active: var(--error-normal);--label-color: var(--black-60)}._error_1oj7p_260::-moz-placeholder{color:var(--input-color)}._error_1oj7p_260::placeholder{color:var(--input-color)}._error_1oj7p_260:hover::-moz-placeholder{color:var(--input-color)}._error_1oj7p_260:hover::placeholder{color:var(--input-color)}
@@ -0,0 +1 @@
1
+ ._link_q5qzz_2{--link-color: var(--dark-text);display:inline-flex;align-items:center;color:var(--link-color);font-size:var(--link-font-size);font-family:var(--font-inter);line-height:var(--link-line-height);-moz-column-gap:var(--link-gap);column-gap:var(--link-gap);cursor:pointer;transition:all .15s ease}._link_q5qzz_2:hover{--link-color: var(--sapphire-hover)}._link_q5qzz_2:active{--link-color: var(--sapphire-active)}._link_q5qzz_2._sample_q5qzz_20:hover{-webkit-text-decoration:underline var(--link-color);text-decoration:underline var(--link-color);text-underline-offset:4px}._link_q5qzz_2._anchor_q5qzz_24{-webkit-text-decoration:underline dashed var(--link-color);text-decoration:underline dashed var(--link-color);text-underline-offset:4px}._link_q5qzz_2._disabled_q5qzz_28,._link_q5qzz_2._disabled_q5qzz_28:hover,._link_q5qzz_2._disabled_q5qzz_28:active{--link-color: var(--disabled);-webkit-text-decoration:none;text-decoration:none;cursor:not-allowed}._link_q5qzz_2 ._icon_q5qzz_38{color:currentcolor;fill:currentcolor}._link_q5qzz_2 ._icon_q5qzz_38 path{color:currentcolor;fill:currentcolor}._xs_q5qzz_47{--link-font-size: var(--size-text-s);--link-line-height: var(--size-text-s);--link-gap: var(--space-2xs)}._s_q5qzz_20{--link-font-size: var(--size-text-m);--link-line-height: var(--size-text-s);--link-gap: var(--space-2xs)}._m_q5qzz_59{--link-font-size: var(--size-text-l);--link-line-height: var(--size-text-s);--link-gap: var(--space-2xs)}._l_q5qzz_2{--link-font-size: var(--size-text-l2);--link-line-height: var(--size-text-s);--link-gap: var(--space-xs)}
@@ -1 +1 @@
1
- ._container_j31xr_2{display:flex;width:-webkit-max-content;width:-moz-max-content;width:max-content}._container_j31xr_2 ._step_j31xr_6{pointer-events:none}._container_j31xr_2 ._step_j31xr_6._editable_j31xr_9{pointer-events:all}._container_j31xr_2 ._step_j31xr_6._PRIMARY_j31xr_12._GRAY_j31xr_12{color:var(--black-60)}._container_j31xr_2 ._step_j31xr_6._PRIMARY_j31xr_12._CITRINE_j31xr_15{color:var(--citrine-100)}._container_j31xr_2 ._step_j31xr_6._PRIMARY_j31xr_12._SAPPHIRE_j31xr_18{color:var(--sapphire-normal)}._container_j31xr_2 ._step_j31xr_6._SECONDARY_j31xr_21._WHITE_j31xr_21{color:var(--white)}._container_j31xr_2 ._step_j31xr_6._SECONDARY_j31xr_21._LIGHT_SAPPHIRE_j31xr_24{color:var(--sapphire-10)}._container_j31xr_2 ._step_j31xr_6._SECONDARY_j31xr_21._LIGHT_GRAY_j31xr_27,._container_j31xr_2 ._step_j31xr_6._SECONDARY_j31xr_21._disabled_j31xr_27{color:var(--disabled)}
1
+ ._container_1qg9i_2{display:flex;width:-webkit-max-content;width:-moz-max-content;width:max-content}._container_1qg9i_2 ._step_1qg9i_6{pointer-events:none}._container_1qg9i_2 ._step_1qg9i_6._editable_1qg9i_9{pointer-events:all}
@@ -1 +1 @@
1
- ._container_4roqw_2{display:flex;flex-direction:column;gap:var(--space-m);align-items:center;width:-webkit-max-content;width:-moz-max-content;width:max-content}._container_4roqw_2 ._title_4roqw_9{color:var(--black-100);font-weight:var(--font-weight-text-medium);font-size:var(--size-text-l);font-family:var(--font-inter);line-height:var(--line-height-text-s1)}._container_4roqw_2 ._score_4roqw_16{display:flex;align-items:center;justify-content:center;width:50px;height:50px;color:var(--white);font-weight:var(--font-weight-text-medium);font-size:var(--size-text-2xl);font-family:Montserrat,sans-serif;letter-spacing:-.03em;border-radius:50%}._container_4roqw_2 ._score_4roqw_16._zero_4roqw_29._LIGHT_GRAY_4roqw_29{background-color:var(--disabled)}._container_4roqw_2 ._score_4roqw_16._zero_4roqw_29._WHITE_4roqw_32{color:var(--disabled);background-color:var(--white)}._container_4roqw_2 ._score_4roqw_16._zero_4roqw_29._LIGHT_SAPPHIRE_4roqw_36{background-color:var(--sapphire-10)}._container_4roqw_2._GRAY_4roqw_39 ._score_4roqw_16{background-color:var(--black-60)}._container_4roqw_2._CITRINE_4roqw_42 ._score_4roqw_16{background-color:var(--citrine-100)}._container_4roqw_2._SAPPHIRE_4roqw_45 ._score_4roqw_16{background-color:var(--sapphire-normal)}
1
+ ._container_1akd9_2{display:flex;flex-direction:column;gap:var(--space-m);align-items:center;width:-webkit-max-content;width:-moz-max-content;width:max-content}._container_1akd9_2 ._title_1akd9_9{color:var(--black-100);font-weight:var(--font-weight-text-medium);font-size:var(--size-text-l);font-family:var(--font-inter),sans-serif;line-height:var(--line-height-text-s1)}._container_1akd9_2 ._score_1akd9_16{display:flex;align-items:center;justify-content:center;width:50px;height:50px;color:var(--white);font-weight:var(--font-weight-text-medium);font-size:var(--size-text-2xl);font-family:var(--font-montserrat),sans-serif;letter-spacing:-.03em;border-radius:50%}
@@ -6,7 +6,7 @@ import { EAccordionButtonType, EAccordionSize, EAccordionButtonStyle, EAccordion
6
6
  import { useMediaQuery } from "../../hooks/useMediaQuery/useMediaQuery.js";
7
7
  import { EMediaQuery } from "../../hooks/useMediaQuery/constants.js";
8
8
  import { Icon } from "../../icons/Icon.js";
9
- import { Link } from "../AnchorLink/AnchorLink.js";
9
+ import { Link } from "../AnchorLink/Link.js";
10
10
  import { M as M$1, W, y, T, o, a as u$1, H as H$1, I, $ as $f7dceffc5ad7768b$export$4e328f61c538687f, b as $6179b936705e76d3$export$ae780daf29e6d456, D, u as u$3, c as o$1 } from "../../keyboard-B256ZoM-.js";
11
11
  import { w } from "../../use-active-press-B6yeSopF.js";
12
12
  import { T as T$1 } from "../../use-resolve-button-type-B6LE6gU3.js";
@@ -220,7 +220,7 @@ const Accordion = forwardRef(
220
220
  Ce,
221
221
  {
222
222
  as: isLink ? Fragment : EAccordionButtonType.BUTTON,
223
- className: isLink ? "" : cls.header,
223
+ className: classNames({ [cls.header]: !isLink }),
224
224
  children: renderButton(open2)
225
225
  }
226
226
  ),
@@ -0,0 +1,3 @@
1
+ import { ComponentCustomProps } from '../../types/propsWithAs';
2
+
3
+ export declare const Link: ComponentCustomProps;
@@ -0,0 +1,63 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import { c as classNames } from "../../index-CweZ_OcN.js";
3
+ import { forwardRef } from "react";
4
+ import { ELinkSize, ELinkVariant } from "./constants.js";
5
+ import { Icon } from "../../icons/Icon.js";
6
+ import '../../assets/Link.css';const link = "_link_q5qzz_2";
7
+ const sample = "_sample_q5qzz_20";
8
+ const anchor = "_anchor_q5qzz_24";
9
+ const disabled = "_disabled_q5qzz_28";
10
+ const icon = "_icon_q5qzz_38";
11
+ const xs = "_xs_q5qzz_47";
12
+ const s = "_s_q5qzz_20";
13
+ const m = "_m_q5qzz_59";
14
+ const l = "_l_q5qzz_2";
15
+ const cls = {
16
+ link,
17
+ sample,
18
+ anchor,
19
+ disabled,
20
+ icon,
21
+ xs,
22
+ s,
23
+ m,
24
+ l
25
+ };
26
+ const Link = forwardRef(
27
+ (props, ref) => {
28
+ const {
29
+ as: Component = "button",
30
+ disabled: disabled2,
31
+ leftIcon,
32
+ children,
33
+ rightIcon,
34
+ className,
35
+ size = ELinkSize.L,
36
+ variant = ELinkVariant.ANCHOR,
37
+ ...otherProps
38
+ } = props;
39
+ const classes = classNames(cls.link, className, cls[variant], cls[size], {
40
+ [cls.disabled]: disabled2
41
+ });
42
+ return /* @__PURE__ */ jsxs(Component, { ref, className: classes, ...otherProps, children: [
43
+ leftIcon && /* @__PURE__ */ jsx(
44
+ Icon,
45
+ {
46
+ ...leftIcon,
47
+ className: classNames(cls.icon, leftIcon.className)
48
+ }
49
+ ),
50
+ children,
51
+ rightIcon && /* @__PURE__ */ jsx(
52
+ Icon,
53
+ {
54
+ ...rightIcon,
55
+ className: classNames(cls.icon, rightIcon.className)
56
+ }
57
+ )
58
+ ] });
59
+ }
60
+ );
61
+ export {
62
+ Link
63
+ };
@@ -1,2 +1,2 @@
1
- export { Link } from './AnchorLink';
1
+ export { Link } from './Link';
2
2
  export { ELinkSize, ELinkVariant } from './constants';
@@ -1,4 +1,4 @@
1
- import { Link } from "./AnchorLink.js";
1
+ import { Link } from "./Link.js";
2
2
  import { ELinkSize, ELinkVariant } from "./constants.js";
3
3
  export {
4
4
  ELinkSize,
@@ -3,48 +3,48 @@ import { c as classNames } from "../../index-CweZ_OcN.js";
3
3
  import { forwardRef } from "react";
4
4
  import { EButtonVariantDefault, EButtonForm } from "./constants.js";
5
5
  import { Icon } from "../../icons/Icon.js";
6
- import '../../assets/Button.css';const button = "_button_12tq3_2";
7
- const clear = "_clear_12tq3_43";
8
- const xs = "_xs_12tq3_55";
9
- const s = "_s_12tq3_63";
10
- const m = "_m_12tq3_71";
11
- const l = "_l_12tq3_79";
12
- const xl = "_xl_12tq3_87";
13
- const xxl = "_xxl_12tq3_96";
14
- const black = "_black_12tq3_178";
15
- const gray = "_gray_12tq3_187";
16
- const white = "_white_12tq3_196";
17
- const full = "_full_12tq3_250";
18
- const disabled = "_disabled_12tq3_256";
6
+ import '../../assets/Button.css';const button = "_button_18bdh_2";
7
+ const clear = "_clear_18bdh_42";
8
+ const black = "_black_18bdh_120";
9
+ const gray = "_gray_18bdh_129";
10
+ const white = "_white_18bdh_138";
11
+ const xs = "_xs_18bdh_208";
12
+ const s = "_s_18bdh_72";
13
+ const m = "_m_18bdh_216";
14
+ const l = "_l_18bdh_240";
15
+ const xl = "_xl_18bdh_248";
16
+ const xxl = "_xxl_18bdh_257";
17
+ const full = "_full_18bdh_266";
18
+ const disabled = "_disabled_18bdh_272";
19
19
  const cls = {
20
20
  button,
21
21
  clear,
22
+ "default-button": "_default-button_18bdh_54",
23
+ "primary-sapphire": "_primary-sapphire_18bdh_54",
24
+ "primary-citrine": "_primary-citrine_18bdh_63",
25
+ "secondary-asphalt": "_secondary-asphalt_18bdh_72",
26
+ "secondary-gray": "_secondary-gray_18bdh_81",
27
+ "secondary-white": "_secondary-white_18bdh_90",
28
+ "secondary-red": "_secondary-red_18bdh_99",
29
+ "round-button": "_round-button_18bdh_109",
30
+ black,
31
+ gray,
32
+ white,
33
+ "outline-button": "_outline-button_18bdh_148",
34
+ "outline-asphalt": "_outline-asphalt_18bdh_155",
35
+ "outline-gray": "_outline-gray_18bdh_163",
36
+ "outline-white": "_outline-white_18bdh_172",
37
+ "outline-red": "_outline-red_18bdh_181",
22
38
  xs,
39
+ "m-s": "_m-s_18bdh_216",
23
40
  s,
24
41
  m,
25
42
  l,
26
43
  xl,
27
44
  xxl,
28
- "m-s": "_m-s_12tq3_105",
29
- "default-button": "_default-button_12tq3_113",
30
- "primary-sapphire": "_primary-sapphire_12tq3_116",
31
- "primary-citrine": "_primary-citrine_12tq3_125",
32
- "secondary-asphalt": "_secondary-asphalt_12tq3_134",
33
- "secondary-gray": "_secondary-gray_12tq3_143",
34
- "secondary-white": "_secondary-white_12tq3_152",
35
- "secondary-red": "_secondary-red_12tq3_161",
36
- "round-button": "_round-button_12tq3_171",
37
- black,
38
- gray,
39
- white,
40
- "outline-button": "_outline-button_12tq3_206",
41
- "outline-asphalt": "_outline-asphalt_12tq3_214",
42
- "outline-gray": "_outline-gray_12tq3_222",
43
- "outline-white": "_outline-white_12tq3_231",
44
- "outline-red": "_outline-red_12tq3_240",
45
45
  full,
46
46
  disabled,
47
- "icon-button": "_icon-button_12tq3_272"
47
+ "icon-button": "_icon-button_18bdh_288"
48
48
  };
49
49
  const Button = forwardRef(
50
50
  (props, ref) => {
@@ -5,7 +5,7 @@ import { c as cls, D as DatePickerModal } from "../../DatePickerModal-BM0BgzTb.j
5
5
  import { useClickOutside } from "../../hooks/useClickOutside/useClickOutside.js";
6
6
  import { formating } from "../../utils/index.js";
7
7
  import { Button } from "../Button/Button.js";
8
- import { I as Input } from "../../Input-BFFPzelg.js";
8
+ import { I as Input } from "../../Input-C8BYj-Cv.js";
9
9
  const DatePicker = memo(
10
10
  forwardRef(
11
11
  ({ size, value, onChangeValue, name, before, ...props }, ref) => {
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
2
2
  import "../../index-CweZ_OcN.js";
3
3
  import "react";
4
4
  import "./constants.js";
5
- import { I } from "../../Input-BFFPzelg.js";
5
+ import { I } from "../../Input-C8BYj-Cv.js";
6
6
  import "../../hooks/useMergeRefs/useMergeRefs.js";
7
7
  import "../../icons/Icon.js";
8
8
  import "../Button/Button.js";
@@ -1,4 +1,4 @@
1
- import { I } from "../../Input-BFFPzelg.js";
1
+ import { I } from "../../Input-C8BYj-Cv.js";
2
2
  import { EInputSize, EInputVariant } from "./constants.js";
3
3
  export {
4
4
  EInputSize,
@@ -2,7 +2,7 @@ import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { memo, forwardRef, useState } from "react";
3
3
  import { Icon } from "../../icons/Icon.js";
4
4
  import { Button } from "../Button/Button.js";
5
- import { I as Input } from "../../Input-BFFPzelg.js";
5
+ import { I as Input } from "../../Input-C8BYj-Cv.js";
6
6
  import '../../assets/InputPassword.css';const input = "_input_mam1g_2";
7
7
  const wrapper = "_wrapper_mam1g_6";
8
8
  const button = "_button_mam1g_17";
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { memo, forwardRef, useState, useCallback, useImperativeHandle } from "react";
3
3
  import { getMaskedInputPhoneValue, getUnmaskedInputValue } from "./utils.js";
4
- import { I as Input } from "../../Input-BFFPzelg.js";
4
+ import { I as Input } from "../../Input-C8BYj-Cv.js";
5
5
  const InputPhoneNumber = memo(
6
6
  forwardRef(
7
7
  ({ value = "", onChange, ...props }, ref) => {
@@ -3,7 +3,7 @@ import { c as classNames } from "../../index-CweZ_OcN.js";
3
3
  import { forwardRef, useImperativeHandle, Fragment } from "react";
4
4
  import { ITEMS_PER_SEPARATOR, DEFAULT_VALUE_LENGTH } from "./constants.js";
5
5
  import { useOTPInput } from "./hooks.js";
6
- import { I as Input } from "../../Input-BFFPzelg.js";
6
+ import { I as Input } from "../../Input-C8BYj-Cv.js";
7
7
  import '../../assets/OtpInput.css';const otp = "_otp_196ev_3";
8
8
  const input = "_input_196ev_14";
9
9
  const separator = "_separator_196ev_28";
@@ -4,7 +4,7 @@ import * as React from "react";
4
4
  import React__default, { useReducer, useMemo, useSyncExternalStore, useId as useId$1, useEffect, useCallback, useRef, useLayoutEffect, createContext, useContext, useState, Fragment, createRef, forwardRef } from "react";
5
5
  import { ESelectSearchSize } from "./constants.js";
6
6
  import { Icon } from "../../icons/Icon.js";
7
- import { I as Input } from "../../Input-BFFPzelg.js";
7
+ import { I as Input } from "../../Input-C8BYj-Cv.js";
8
8
  import { EInputVariant, EInputSize } from "../Input/constants.js";
9
9
  import { n as n$2, u as u$3, d as o$1, s as s$3, o as o$2, p as p$1, t as t$3, e as s$4, W as W$1, y as y$3, T, H, M as M$1, a as u$5, $ as $f7dceffc5ad7768b$export$4e328f61c538687f, b as $6179b936705e76d3$export$ae780daf29e6d456, D as D$2, c as o$3 } from "../../keyboard-B256ZoM-.js";
10
10
  import * as ReactDOM from "react-dom";
@@ -1,5 +1,5 @@
1
- import { EStepsPrimaryColor, EStepsSecondaryColor } from './constants';
2
1
  import { TCommonStepsProps } from './types';
2
+ import { TStepsZone } from './types.ts';
3
3
 
4
4
  export type TProps = TCommonStepsProps & {
5
5
  /**
@@ -31,13 +31,13 @@ export type TProps = TCommonStepsProps & {
31
31
  */
32
32
  disabled?: boolean;
33
33
  /**
34
- * Цвет пройденных шагов
34
+ * Цвет оставшихся шагов
35
35
  */
36
- primaryColor?: EStepsPrimaryColor;
36
+ zones?: TStepsZone[];
37
37
  /**
38
- * Цвет оставшихся шагов
38
+ * Цвет шага, если он не выбран
39
39
  */
40
- secondaryColor?: EStepsSecondaryColor;
40
+ unselectedColor?: string;
41
41
  };
42
42
  export declare const Steps: import('react').ForwardRefExoticComponent<TCommonStepsProps & {
43
43
  /**
@@ -69,11 +69,11 @@ export declare const Steps: import('react').ForwardRefExoticComponent<TCommonSte
69
69
  */
70
70
  disabled?: boolean;
71
71
  /**
72
- * Цвет пройденных шагов
72
+ * Цвет оставшихся шагов
73
73
  */
74
- primaryColor?: EStepsPrimaryColor;
74
+ zones?: TStepsZone[];
75
75
  /**
76
- * Цвет оставшихся шагов
76
+ * Цвет шага, если он не выбран
77
77
  */
78
- secondaryColor?: EStepsSecondaryColor;
78
+ unselectedColor?: string;
79
79
  } & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,33 +1,15 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { c as classNames } from "../../index-CweZ_OcN.js";
3
3
  import { forwardRef, useId, useState, useRef, useEffect } from "react";
4
- import { ZERO_STEP, EStepsSize, EStepsPrimaryColor, ID_SEPARATOR, EStepsColorType, StepSize, DIFF_BETWEEN_STEP_AND_INDEX } from "./constants.js";
4
+ import { ZERO_STEP, EStepsSize, ID_SEPARATOR, StepSize, DIFF_BETWEEN_STEP_AND_INDEX } from "./constants.js";
5
5
  import { Icon } from "../../icons/Icon.js";
6
- import '../../assets/Steps.css';const container = "_container_j31xr_2";
7
- const step = "_step_j31xr_6";
8
- const editable = "_editable_j31xr_9";
9
- const PRIMARY = "_PRIMARY_j31xr_12";
10
- const GRAY = "_GRAY_j31xr_12";
11
- const CITRINE = "_CITRINE_j31xr_15";
12
- const SAPPHIRE = "_SAPPHIRE_j31xr_18";
13
- const SECONDARY = "_SECONDARY_j31xr_21";
14
- const WHITE = "_WHITE_j31xr_21";
15
- const LIGHT_SAPPHIRE = "_LIGHT_SAPPHIRE_j31xr_24";
16
- const LIGHT_GRAY = "_LIGHT_GRAY_j31xr_27";
17
- const disabled = "_disabled_j31xr_27";
6
+ import '../../assets/Steps.css';const container = "_container_1qg9i_2";
7
+ const step = "_step_1qg9i_6";
8
+ const editable = "_editable_1qg9i_9";
18
9
  const cls = {
19
10
  container,
20
11
  step,
21
- editable,
22
- PRIMARY,
23
- GRAY,
24
- CITRINE,
25
- SAPPHIRE,
26
- SECONDARY,
27
- WHITE,
28
- LIGHT_SAPPHIRE,
29
- LIGHT_GRAY,
30
- disabled
12
+ editable
31
13
  };
32
14
  const Steps = forwardRef(
33
15
  (props, ref) => {
@@ -39,9 +21,9 @@ const Steps = forwardRef(
39
21
  editable: editable2 = false,
40
22
  size = EStepsSize.M,
41
23
  onClick,
42
- disabled: disabled2 = false,
43
- primaryColor = EStepsPrimaryColor.CITRINE,
44
- secondaryColor = EStepsPrimaryColor.GRAY
24
+ disabled = false,
25
+ zones = [{ color: "#ff0000", to: quantity }],
26
+ unselectedColor = "#ffffff"
45
27
  } = props;
46
28
  const idPrefix = useId();
47
29
  const [step2, setStep] = useState(current);
@@ -69,23 +51,24 @@ const Steps = forwardRef(
69
51
  setHoveredStep(null);
70
52
  };
71
53
  const buttons = Array.from({ length: quantity }, (_, idx) => {
72
- const isPrimary = idx + DIFF_BETWEEN_STEP_AND_INDEX <= (hoveredStep !== null ? hoveredStep + DIFF_BETWEEN_STEP_AND_INDEX : step2);
73
- const isSecondary = idx + DIFF_BETWEEN_STEP_AND_INDEX > (hoveredStep !== null ? hoveredStep + DIFF_BETWEEN_STEP_AND_INDEX : step2);
54
+ var _a, _b;
55
+ let currentZone = 0;
56
+ while (currentZone < zones.length && zones[currentZone].to <= idx) {
57
+ currentZone++;
58
+ }
59
+ const color = hoveredStep !== null && idx <= hoveredStep ? (_a = zones[currentZone]) == null ? void 0 : _a.color : step2 > idx && hoveredStep === null ? (_b = zones[currentZone]) == null ? void 0 : _b.color : unselectedColor;
74
60
  return /* @__PURE__ */ jsx(
75
61
  "button",
76
62
  {
77
63
  id: `${idPrefix}${ID_SEPARATOR}${idx}`,
78
64
  className: classNames(cls.step, cls[size], stepClassName, {
79
- [cls.editable]: editable2 && !disabled2,
80
- [cls.disabled]: disabled2 || !editable2 && idx + 1 > step2,
81
- [cls[EStepsColorType.PRIMARY]]: isPrimary,
82
- [cls[EStepsColorType.SECONDARY]]: isSecondary,
83
- [cls[primaryColor]]: isPrimary,
84
- [cls[secondaryColor]]: isSecondary
65
+ [cls.editable]: editable2 && !disabled,
66
+ [cls.disabled]: disabled || !editable2 && idx + 1 > step2
85
67
  }),
86
68
  onClick: () => handleClick(idx),
87
69
  onMouseEnter: handleMouseEnter,
88
70
  onMouseLeave: handleMouseLeave,
71
+ style: { color },
89
72
  children: /* @__PURE__ */ jsx(Icon, { iconName: "Step", ...StepSize[size] })
90
73
  },
91
74
  idx
@@ -94,6 +77,7 @@ const Steps = forwardRef(
94
77
  return /* @__PURE__ */ jsx("div", { className: classNames(cls.container, rootClassName), ref, children: buttons });
95
78
  }
96
79
  );
80
+ Steps.displayName = "Steps";
97
81
  export {
98
82
  Steps
99
83
  };
@@ -25,17 +25,10 @@ export declare const StepSize: {
25
25
  height: number;
26
26
  };
27
27
  };
28
- export declare enum EStepsColorType {
29
- PRIMARY = "PRIMARY",
30
- SECONDARY = "SECONDARY"
31
- }
32
- export declare enum EStepsPrimaryColor {
33
- GRAY = "GRAY",
34
- CITRINE = "CITRINE",
35
- SAPPHIRE = "SAPPHIRE"
36
- }
37
- export declare enum EStepsSecondaryColor {
38
- LIGHT_GRAY = "LIGHT_GRAY",
39
- LIGHT_SAPPHIRE = "LIGHT_SAPPHIRE",
40
- WHITE = "WHITE"
28
+ export declare enum EStepColor {
29
+ ASPHALT = "#333333",
30
+ CITRINE = "#ff7900",
31
+ SAPPHIRE = "#2355d7",
32
+ GREEN = "#1b770c",
33
+ DISABLED = "#b2b2b2"
41
34
  }
@@ -26,28 +26,17 @@ const StepSize = {
26
26
  height: 28
27
27
  }
28
28
  };
29
- var EStepsColorType = /* @__PURE__ */ ((EStepsColorType2) => {
30
- EStepsColorType2["PRIMARY"] = "PRIMARY";
31
- EStepsColorType2["SECONDARY"] = "SECONDARY";
32
- return EStepsColorType2;
33
- })(EStepsColorType || {});
34
- var EStepsPrimaryColor = /* @__PURE__ */ ((EStepsPrimaryColor2) => {
35
- EStepsPrimaryColor2["GRAY"] = "GRAY";
36
- EStepsPrimaryColor2["CITRINE"] = "CITRINE";
37
- EStepsPrimaryColor2["SAPPHIRE"] = "SAPPHIRE";
38
- return EStepsPrimaryColor2;
39
- })(EStepsPrimaryColor || {});
40
- var EStepsSecondaryColor = /* @__PURE__ */ ((EStepsSecondaryColor2) => {
41
- EStepsSecondaryColor2["LIGHT_GRAY"] = "LIGHT_GRAY";
42
- EStepsSecondaryColor2["LIGHT_SAPPHIRE"] = "LIGHT_SAPPHIRE";
43
- EStepsSecondaryColor2["WHITE"] = "WHITE";
44
- return EStepsSecondaryColor2;
45
- })(EStepsSecondaryColor || {});
29
+ var EStepColor = /* @__PURE__ */ ((EStepColor2) => {
30
+ EStepColor2["ASPHALT"] = "#333333";
31
+ EStepColor2["CITRINE"] = "#ff7900";
32
+ EStepColor2["SAPPHIRE"] = "#2355d7";
33
+ EStepColor2["GREEN"] = "#1b770c";
34
+ EStepColor2["DISABLED"] = "#b2b2b2";
35
+ return EStepColor2;
36
+ })(EStepColor || {});
46
37
  export {
47
38
  DIFF_BETWEEN_STEP_AND_INDEX,
48
- EStepsColorType,
49
- EStepsPrimaryColor,
50
- EStepsSecondaryColor,
39
+ EStepColor,
51
40
  EStepsSize,
52
41
  ID_SEPARATOR,
53
42
  StepSize,
@@ -1,3 +1,3 @@
1
1
  export { Steps } from './Steps';
2
- export { EStepsPrimaryColor, EStepsSecondaryColor, EStepsSize } from './constants';
3
- export type { TCommonStepsProps } from './types';
2
+ export { EStepColor, EStepsSize } from './constants';
3
+ export type { TCommonStepsProps, TStepsZone } from './types';
@@ -1,8 +1,7 @@
1
1
  import { Steps } from "./Steps.js";
2
- import { EStepsPrimaryColor, EStepsSecondaryColor, EStepsSize } from "./constants.js";
2
+ import { EStepColor, EStepsSize } from "./constants.js";
3
3
  export {
4
- EStepsPrimaryColor,
5
- EStepsSecondaryColor,
4
+ EStepColor,
6
5
  EStepsSize,
7
6
  Steps
8
7
  };
@@ -1,6 +1,10 @@
1
- import { EStepsSize } from './constants';
1
+ import { EStepColor, EStepsSize } from './constants';
2
2
 
3
3
  export type TSize = `${EStepsSize}` | EStepsSize;
4
4
  export type TCommonStepsProps = {
5
5
  size?: TSize;
6
6
  };
7
+ export type TStepsZone = {
8
+ color: EStepColor | string;
9
+ to: number;
10
+ };
@@ -5,7 +5,7 @@ import { useAutoResizeTextArea } from "./hooks.js";
5
5
  import { useMergeRefs } from "../../hooks/useMergeRefs/useMergeRefs.js";
6
6
  import { Icon } from "../../icons/Icon.js";
7
7
  import { Button } from "../Button/Button.js";
8
- import { c as cls } from "../../Input-BFFPzelg.js";
8
+ import { c as cls } from "../../Input-C8BYj-Cv.js";
9
9
  import { EInputVariant } from "../Input/constants.js";
10
10
  import '../../assets/TextArea.css';const textarea = "_textarea_46c4k_2";
11
11
  const s = "_s_46c4k_6";
@@ -63,6 +63,7 @@ const TextArea = memo(
63
63
  onFocus,
64
64
  onBlur,
65
65
  label,
66
+ onChange,
66
67
  withClearButton,
67
68
  disabled,
68
69
  rightAddon,
@@ -101,14 +102,16 @@ const TextArea = memo(
101
102
  inputRef.current.focus();
102
103
  setWithValue(false);
103
104
  handleResize();
105
+ onChange == null ? void 0 : onChange({
106
+ target: { value: "" }
107
+ });
104
108
  }
105
109
  };
106
110
  const handleChange = (event) => {
107
- var _a;
108
111
  const targetValue = event.target.value;
109
112
  setWithValue(!!targetValue);
110
113
  handleResize();
111
- (_a = otherProps == null ? void 0 : otherProps.onChange) == null ? void 0 : _a.call(otherProps, event);
114
+ onChange == null ? void 0 : onChange(event);
112
115
  };
113
116
  const currentLeftAddon = renderAddon(leftAddon);
114
117
  const currentRightAddon = renderAddon(rightAddon);
@@ -145,7 +148,10 @@ const TextArea = memo(
145
148
  cls[variant],
146
149
  textareaCls[size],
147
150
  cls[size],
148
- { [cls.focused]: isFocused || withValue },
151
+ {
152
+ [cls.disabled]: disabled || readonly,
153
+ [cls.focused]: isFocused || withValue
154
+ },
149
155
  wrapperClassName
150
156
  ),
151
157
  children: [
@@ -193,6 +199,7 @@ const TextArea = memo(
193
199
  iconName: "Close16px",
194
200
  size: "m-s",
195
201
  clear: true,
202
+ disabled: disabled || readonly,
196
203
  variant: "secondary-gray",
197
204
  onClick: handleClear
198
205
  }
@@ -1,5 +1,5 @@
1
1
  import { TCommonVoteProps } from './types';
2
- import { EStepsPrimaryColor, EStepsSecondaryColor } from '../Steps/constants';
2
+ import { TStepsZone } from '../Steps/types.ts';
3
3
 
4
4
  export type TProps = TCommonVoteProps & {
5
5
  /**
@@ -47,17 +47,20 @@ export type TProps = TCommonVoteProps & {
47
47
  */
48
48
  disabled?: boolean;
49
49
  /**
50
- * Цвет пройденных шагов
50
+ * Зоны для рахделения шагов по цветам
51
51
  */
52
- primaryColor?: EStepsPrimaryColor;
52
+ zones?: TStepsZone[];
53
53
  /**
54
- * Цвет оставшихся шагов
54
+ * Цвет круга шага с баллом, если оценка не установлена и шага, если он не выбран
55
55
  */
56
- secondaryColor?: EStepsSecondaryColor;
56
+ unselectedColor?: string;
57
57
  /**
58
- * Флаг, говорящий нужно ли менять цвет выбранных шагов, если оценка меньше 50%
58
+ * Цвет текста в круге с баллом
59
59
  */
60
- needChangeFirstHalfColor?: boolean;
60
+ scoreTextColor?: {
61
+ unselected: string;
62
+ selected: string;
63
+ };
61
64
  };
62
65
  export declare const Vote: import('react').ForwardRefExoticComponent<TCommonVoteProps & {
63
66
  /**
@@ -105,15 +108,18 @@ export declare const Vote: import('react').ForwardRefExoticComponent<TCommonVote
105
108
  */
106
109
  disabled?: boolean;
107
110
  /**
108
- * Цвет пройденных шагов
111
+ * Зоны для рахделения шагов по цветам
109
112
  */
110
- primaryColor?: EStepsPrimaryColor;
113
+ zones?: TStepsZone[];
111
114
  /**
112
- * Цвет оставшихся шагов
115
+ * Цвет круга шага с баллом, если оценка не установлена и шага, если он не выбран
113
116
  */
114
- secondaryColor?: EStepsSecondaryColor;
117
+ unselectedColor?: string;
115
118
  /**
116
- * Флаг, говорящий нужно ли менять цвет выбранных шагов, если оценка меньше 50%
119
+ * Цвет текста в круге с баллом
117
120
  */
118
- needChangeFirstHalfColor?: boolean;
121
+ scoreTextColor?: {
122
+ unselected: string;
123
+ selected: string;
124
+ };
119
125
  } & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,32 +1,19 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { c as classNames } from "../../index-CweZ_OcN.js";
3
3
  import { forwardRef, useState, useEffect } from "react";
4
- import { DEFAULT_TITLE, EVoteSize, SCORE_TO_QUANTITY_THRESHOLD, ZERO_VALUE } from "./constants.js";
5
- import { ZERO_STEP, EStepsPrimaryColor, EStepsSecondaryColor } from "../Steps/constants.js";
4
+ import { DEFAULT_TITLE, EVoteSize, ZERO_VALUE } from "./constants.js";
6
5
  import { Steps } from "../Steps/Steps.js";
7
- import '../../assets/Vote.css';const container = "_container_4roqw_2";
8
- const title = "_title_4roqw_9";
9
- const score = "_score_4roqw_16";
10
- const zero = "_zero_4roqw_29";
11
- const LIGHT_GRAY = "_LIGHT_GRAY_4roqw_29";
12
- const WHITE = "_WHITE_4roqw_32";
13
- const LIGHT_SAPPHIRE = "_LIGHT_SAPPHIRE_4roqw_36";
14
- const GRAY = "_GRAY_4roqw_39";
15
- const CITRINE = "_CITRINE_4roqw_42";
16
- const SAPPHIRE = "_SAPPHIRE_4roqw_45";
6
+ import { ZERO_STEP } from "../Steps/constants.js";
7
+ import '../../assets/Vote.css';const container = "_container_1akd9_2";
8
+ const title = "_title_1akd9_9";
9
+ const score = "_score_1akd9_16";
17
10
  const cls = {
18
11
  container,
19
12
  title,
20
- score,
21
- zero,
22
- LIGHT_GRAY,
23
- WHITE,
24
- LIGHT_SAPPHIRE,
25
- GRAY,
26
- CITRINE,
27
- SAPPHIRE
13
+ score
28
14
  };
29
15
  const Vote = forwardRef((props, ref) => {
16
+ var _a;
30
17
  const {
31
18
  rootClassName,
32
19
  titleClassName,
@@ -40,12 +27,14 @@ const Vote = forwardRef((props, ref) => {
40
27
  size = EVoteSize.M,
41
28
  onClick,
42
29
  disabled = false,
43
- primaryColor = EStepsPrimaryColor.CITRINE,
44
- secondaryColor = EStepsSecondaryColor.WHITE,
45
- needChangeFirstHalfColor = false
30
+ zones = [{ color: "#ff0000", to: quantity }],
31
+ unselectedColor = "#ffffff",
32
+ scoreTextColor = {
33
+ unselected: "#000000",
34
+ selected: "#ffffff"
35
+ }
46
36
  } = props;
47
37
  const [score2, setScore] = useState(current);
48
- const [color, setColor] = useState(primaryColor);
49
38
  const isZeroStep = score2 === ZERO_STEP;
50
39
  useEffect(() => {
51
40
  setScore(current);
@@ -54,46 +43,36 @@ const Vote = forwardRef((props, ref) => {
54
43
  setScore(step);
55
44
  onClick && onClick(step);
56
45
  };
57
- useEffect(() => {
58
- if (!needChangeFirstHalfColor) return;
59
- setColor(
60
- score2 / quantity <= SCORE_TO_QUANTITY_THRESHOLD ? EStepsPrimaryColor.GRAY : primaryColor
61
- );
62
- }, [score2, primaryColor, needChangeFirstHalfColor, quantity]);
63
- return /* @__PURE__ */ jsxs(
64
- "div",
65
- {
66
- className: classNames(cls.container, rootClassName, cls[color]),
67
- ref,
68
- children: [
69
- !withoutTitle && /* @__PURE__ */ jsx("p", { className: classNames(cls.title, titleClassName), children: title2 }),
70
- /* @__PURE__ */ jsx(
71
- "div",
72
- {
73
- className: classNames(cls.score, scoreClassName, cls[secondaryColor], {
74
- [cls.zero]: isZeroStep
75
- }),
76
- children: isZeroStep ? ZERO_VALUE : score2
77
- }
78
- ),
79
- /* @__PURE__ */ jsx(
80
- Steps,
81
- {
82
- rootClassName: stepsRootClassName,
83
- stepClassName: stepsStepClassName,
84
- quantity,
85
- size,
86
- current: score2,
87
- editable: true,
88
- disabled,
89
- onClick: handleStepsClick,
90
- primaryColor: color,
91
- secondaryColor
92
- }
93
- )
94
- ]
95
- }
96
- );
46
+ const backgroundColor = isZeroStep ? unselectedColor : ((_a = zones == null ? void 0 : zones.find((zone) => score2 <= zone.to)) == null ? void 0 : _a.color) || unselectedColor;
47
+ return /* @__PURE__ */ jsxs("div", { className: classNames(cls.container, rootClassName), ref, children: [
48
+ !withoutTitle && /* @__PURE__ */ jsx("p", { className: classNames(cls.title, titleClassName), children: title2 }),
49
+ /* @__PURE__ */ jsx(
50
+ "div",
51
+ {
52
+ className: classNames(cls.score, scoreClassName),
53
+ style: {
54
+ backgroundColor,
55
+ color: isZeroStep ? scoreTextColor.unselected : scoreTextColor.selected
56
+ },
57
+ children: isZeroStep ? ZERO_VALUE : score2
58
+ }
59
+ ),
60
+ /* @__PURE__ */ jsx(
61
+ Steps,
62
+ {
63
+ rootClassName: stepsRootClassName,
64
+ stepClassName: stepsStepClassName,
65
+ quantity,
66
+ size,
67
+ current: score2,
68
+ editable: true,
69
+ disabled,
70
+ onClick: handleStepsClick,
71
+ zones,
72
+ unselectedColor
73
+ }
74
+ )
75
+ ] });
97
76
  });
98
77
  export {
99
78
  Vote
@@ -19,7 +19,7 @@ export { Loader } from './Loader';
19
19
  export { Slider } from './Slider';
20
20
  export { Drawer } from './Drawer';
21
21
  export { EDrawerPosition } from './Drawer';
22
- export { Steps, EStepsPrimaryColor, EStepsSecondaryColor, EStepsSize, type TCommonStepsProps } from './Steps';
22
+ export { Steps, EStepsSize, EStepColor, type TCommonStepsProps } from './Steps';
23
23
  export { Vote, EVoteSize, type TCommonVoteProps } from './Vote';
24
24
  export { SelectSearch, ESelectSearchSize } from './SelectSearch';
25
25
  export type { TSelectSearchProps, TSelectOption } from './SelectSearch';
@@ -1,6 +1,6 @@
1
1
  import { Button } from "./Button/Button.js";
2
2
  import { EButtonForm, EButtonSize, EButtonVariantDefault, EButtonVariantOutline, EButtonVariantRound } from "./Button/constants.js";
3
- import { I } from "../Input-BFFPzelg.js";
3
+ import { I } from "../Input-C8BYj-Cv.js";
4
4
  import { EInputSize, EInputVariant } from "./Input/constants.js";
5
5
  import { TextArea } from "./TextArea/TextArea.js";
6
6
  import { InputPassword } from "./InputPassword/InputPassword.js";
@@ -17,7 +17,7 @@ import { Slider } from "./Slider/Slider.js";
17
17
  import { Drawer } from "./Drawer/Drawer.js";
18
18
  import { EDrawerPosition } from "./Drawer/constants.js";
19
19
  import { Steps } from "./Steps/Steps.js";
20
- import { EStepsPrimaryColor, EStepsSecondaryColor, EStepsSize } from "./Steps/constants.js";
20
+ import { EStepColor, EStepsSize } from "./Steps/constants.js";
21
21
  import { Vote } from "./Vote/Vote.js";
22
22
  import { EVoteSize } from "./Vote/constants.js";
23
23
  import { SelectSearch } from "./SelectSearch/SelectSearch.js";
@@ -37,7 +37,7 @@ import { useToast } from "./Toasts/hooks.js";
37
37
  import { EToastPosition, EToastVariant } from "./Toasts/constants.js";
38
38
  import { UploaderPhotos } from "./UploaderPhotos/UploaderPhotos.js";
39
39
  import { Uploader } from "./Uploader/Uploader.js";
40
- import { Link } from "./AnchorLink/AnchorLink.js";
40
+ import { Link } from "./AnchorLink/Link.js";
41
41
  import { ELinkSize, ELinkVariant } from "./AnchorLink/constants.js";
42
42
  import { NotificationBadge } from "./NotificationBadge/NotificationBadge.js";
43
43
  import { ENotificationBadgeSize } from "./NotificationBadge/constants.js";
@@ -61,8 +61,7 @@ export {
61
61
  EMergedButtonVariantRound,
62
62
  ENotificationBadgeSize,
63
63
  ESelectSearchSize,
64
- EStepsPrimaryColor,
65
- EStepsSecondaryColor,
64
+ EStepColor,
66
65
  EStepsSize,
67
66
  ETabTrailSize,
68
67
  ETagSize,
package/dist/index.d.ts CHANGED
@@ -3,3 +3,4 @@ export * from './components';
3
3
  export * from './hooks';
4
4
  export * from './icons';
5
5
  export * from './utils';
6
+ export * from './types';
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Button } from "./components/Button/Button.js";
2
2
  import { EButtonForm, EButtonSize, EButtonVariantDefault, EButtonVariantOutline, EButtonVariantRound } from "./components/Button/constants.js";
3
- import { I } from "./Input-BFFPzelg.js";
3
+ import { I } from "./Input-C8BYj-Cv.js";
4
4
  import { EInputSize, EInputVariant } from "./components/Input/constants.js";
5
5
  import { TextArea } from "./components/TextArea/TextArea.js";
6
6
  import { InputPassword } from "./components/InputPassword/InputPassword.js";
@@ -17,7 +17,7 @@ import { Slider } from "./components/Slider/Slider.js";
17
17
  import { Drawer } from "./components/Drawer/Drawer.js";
18
18
  import { EDrawerPosition } from "./components/Drawer/constants.js";
19
19
  import { Steps } from "./components/Steps/Steps.js";
20
- import { EStepsPrimaryColor, EStepsSecondaryColor, EStepsSize } from "./components/Steps/constants.js";
20
+ import { EStepColor, EStepsSize } from "./components/Steps/constants.js";
21
21
  import { Vote } from "./components/Vote/Vote.js";
22
22
  import { EVoteSize } from "./components/Vote/constants.js";
23
23
  import { SelectSearch } from "./components/SelectSearch/SelectSearch.js";
@@ -37,7 +37,7 @@ import { useToast } from "./components/Toasts/hooks.js";
37
37
  import { EToastPosition, EToastVariant } from "./components/Toasts/constants.js";
38
38
  import { UploaderPhotos } from "./components/UploaderPhotos/UploaderPhotos.js";
39
39
  import { Uploader } from "./components/Uploader/Uploader.js";
40
- import { Link } from "./components/AnchorLink/AnchorLink.js";
40
+ import { Link } from "./components/AnchorLink/Link.js";
41
41
  import { ELinkSize, ELinkVariant } from "./components/AnchorLink/constants.js";
42
42
  import { NotificationBadge } from "./components/NotificationBadge/NotificationBadge.js";
43
43
  import { ENotificationBadgeSize } from "./components/NotificationBadge/constants.js";
@@ -72,8 +72,7 @@ import './assets/index.css';export {
72
72
  EMinMediaQuery,
73
73
  ENotificationBadgeSize,
74
74
  ESelectSearchSize,
75
- EStepsPrimaryColor,
76
- EStepsSecondaryColor,
75
+ EStepColor,
77
76
  EStepsSize,
78
77
  ETabTrailSize,
79
78
  ETagSize,
@@ -0,0 +1 @@
1
+ export type { Props, PolymorphicRef, ComponentCustomProps } from './propsWithAs';
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,16 @@
1
+ import { ElementType, ComponentPropsWithoutRef, ComponentPropsWithRef, JSXElementConstructor, ReactElement, ReactNode } from 'react';
2
+
3
+ export type PropsOf<C extends keyof JSX.IntrinsicElements | JSXElementConstructor<unknown>> = JSX.LibraryManagedAttributes<C, ComponentPropsWithoutRef<C>>;
4
+ type AsProp<C extends ElementType> = {
5
+ as?: C;
6
+ };
7
+ export type ExtendableProps<ExtendedProps = NonNullable<unknown>, OverrideProps = NonNullable<unknown>> = OverrideProps & Omit<ExtendedProps, keyof OverrideProps>;
8
+ export type InheritableElementProps<C extends ElementType, Props = NonNullable<unknown>> = ExtendableProps<PropsOf<C>, Props>;
9
+ export type PolymorphicComponentProps<C extends ElementType, Props = NonNullable<unknown>> = InheritableElementProps<C, Props & AsProp<C>>;
10
+ export type PolymorphicRef<C extends ElementType> = ComponentPropsWithRef<C>['ref'];
11
+ export type PolymorphicComponentPropsWithRef<C extends ElementType, Props = NonNullable<unknown>> = PolymorphicComponentProps<C, Props> & {
12
+ ref?: PolymorphicRef<C>;
13
+ };
14
+ export type Props<C extends ElementType, P> = PolymorphicComponentPropsWithRef<C, P>;
15
+ export type ComponentCustomProps = <C extends ElementType = 'span', P = NonNullable<unknown>>(props: Props<C, P>) => ReactElement | ReactNode;
16
+ export {};
@@ -0,0 +1 @@
1
+
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mimir-ui-kit",
3
3
  "private": false,
4
- "version": "1.18.0",
4
+ "version": "1.19.1",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {
@@ -1 +0,0 @@
1
- ._link_miwq0_2{--link-color: var(--dark-text);display:inline-flex;align-items:center;color:var(--link-color);font-size:var(--link-font-size);font-family:var(--font-inter);line-height:var(--link-line-height);-moz-column-gap:var(--link-gap);column-gap:var(--link-gap);transition:all .15s ease}._link_miwq0_2:hover{--link-color: var(--sapphire-hover)}._link_miwq0_2:active{--link-color: var(--sapphire-active)}._link_miwq0_2._sample_miwq0_19:hover{-webkit-text-decoration:underline var(--link-color);text-decoration:underline var(--link-color);text-underline-offset:4px}._link_miwq0_2._anchor_miwq0_23{-webkit-text-decoration:underline dashed var(--link-color);text-decoration:underline dashed var(--link-color);text-underline-offset:4px}._link_miwq0_2._disabled_miwq0_27{--link-color: var(--disabled);-webkit-text-decoration:none;text-decoration:none}._link_miwq0_2._disabled_miwq0_27:hover,._link_miwq0_2._disabled_miwq0_27:active{-webkit-text-decoration:none;text-decoration:none;--link-color: var(--disabled)}._link_miwq0_2 ._icon_miwq0_35{color:currentcolor;fill:currentcolor}._link_miwq0_2 ._icon_miwq0_35 path{color:currentcolor;fill:currentcolor}._xs_miwq0_44{--link-font-size: var(--size-text-s);--link-line-height: var(--size-text-s);--link-gap: var(--space-2xs)}._s_miwq0_19{--link-font-size: var(--size-text-m);--link-line-height: var(--size-text-s);--link-gap: var(--space-2xs)}._m_miwq0_56{--link-font-size: var(--size-text-l);--link-line-height: var(--size-text-s);--link-gap: var(--space-2xs)}._l_miwq0_2{--link-font-size: var(--size-text-l2);--link-line-height: var(--size-text-s);--link-gap: var(--space-xs)}
@@ -1,13 +0,0 @@
1
- import { ComponentProps } from 'react';
2
- import { ELinkSize, ELinkVariant } from './constants';
3
- import { TIconProps } from '../../icons';
4
-
5
- type TProps = ComponentProps<'button'> & {
6
- variant?: ELinkVariant | `${ELinkVariant}`;
7
- size?: ELinkSize | `${ELinkSize}`;
8
- leftIcon?: TIconProps;
9
- rightIcon?: TIconProps;
10
- disabled?: boolean;
11
- };
12
- export declare const Link: import('react').ForwardRefExoticComponent<Omit<TProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
13
- export {};
@@ -1,69 +0,0 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
2
- import { c as classNames } from "../../index-CweZ_OcN.js";
3
- import { forwardRef } from "react";
4
- import { ELinkSize, ELinkVariant } from "./constants.js";
5
- import { Icon } from "../../icons/Icon.js";
6
- import '../../assets/AnchorLink.css';const link = "_link_miwq0_2";
7
- const sample = "_sample_miwq0_19";
8
- const anchor = "_anchor_miwq0_23";
9
- const disabled = "_disabled_miwq0_27";
10
- const icon = "_icon_miwq0_35";
11
- const xs = "_xs_miwq0_44";
12
- const s = "_s_miwq0_19";
13
- const m = "_m_miwq0_56";
14
- const l = "_l_miwq0_2";
15
- const cls = {
16
- link,
17
- sample,
18
- anchor,
19
- disabled,
20
- icon,
21
- xs,
22
- s,
23
- m,
24
- l
25
- };
26
- const Link = forwardRef(
27
- ({
28
- leftIcon,
29
- className,
30
- size = ELinkSize.L,
31
- variant = ELinkVariant.ANCHOR,
32
- rightIcon,
33
- disabled: disabled2,
34
- ...props
35
- }, ref) => {
36
- return /* @__PURE__ */ jsxs(
37
- "button",
38
- {
39
- ref,
40
- type: "button",
41
- disabled: disabled2,
42
- className: classNames(cls.link, className, cls[variant], cls[size], {
43
- [cls.disabled]: disabled2
44
- }),
45
- ...props,
46
- children: [
47
- leftIcon && /* @__PURE__ */ jsx(
48
- Icon,
49
- {
50
- ...leftIcon,
51
- className: classNames(cls.icon, leftIcon.className)
52
- }
53
- ),
54
- props.children,
55
- rightIcon && /* @__PURE__ */ jsx(
56
- Icon,
57
- {
58
- ...rightIcon,
59
- className: classNames(cls.icon, rightIcon.className)
60
- }
61
- )
62
- ]
63
- }
64
- );
65
- }
66
- );
67
- export {
68
- Link
69
- };