@arthurzakharov/ui-kit 1.0.6 → 1.0.8

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.
Files changed (140) hide show
  1. package/dist/assets/button-Bg4CwXVJ.css +1 -0
  2. package/dist/assets/card-image-DQ9c4G_r.css +1 -0
  3. package/dist/assets/card-text-fgHu9TyO.css +1 -0
  4. package/dist/assets/checkbox-C8mg6gvd.css +1 -0
  5. package/dist/assets/dropdown-Ba3Wegqm.css +1 -0
  6. package/dist/assets/header-CvDToxgv.css +1 -0
  7. package/dist/assets/input-3QR47UJ8.css +1 -0
  8. package/dist/assets/label-CCZNUUQp.css +1 -0
  9. package/dist/assets/main-BgL82qFL.css +1 -0
  10. package/dist/assets/radio-BkD7BKk0.css +1 -0
  11. package/dist/assets/radio-text-DIB67n3r.css +1 -0
  12. package/dist/assets/text-Dt0DeN-I.css +1 -0
  13. package/dist/assets/textarea-86fWKmQJ.css +1 -0
  14. package/dist/components/certifications/certifications.component.d.ts +5 -1
  15. package/dist/components/control/components/box/box.component.d.ts +9 -1
  16. package/dist/components/control/components/box/box.component.js +13 -13
  17. package/dist/components/control/components/button/button.component.d.ts +12 -1
  18. package/dist/components/control/components/button/button.component.js +28 -28
  19. package/dist/components/control/components/card-image/card-image.component.d.ts +6 -1
  20. package/dist/components/control/components/card-image/card-image.component.js +57 -5
  21. package/dist/components/control/components/card-text/card-text.component.d.ts +5 -1
  22. package/dist/components/control/components/card-text/card-text.component.js +45 -5
  23. package/dist/components/control/components/checkbox/checkbox.component.d.ts +5 -1
  24. package/dist/components/control/components/checkbox/checkbox.component.js +49 -5
  25. package/dist/components/control/components/choice/choice.component.d.ts +8 -1
  26. package/dist/components/control/components/dropdown/dropdown.component.d.ts +14 -1
  27. package/dist/components/control/components/dropdown/dropdown.component.js +95 -9
  28. package/dist/components/control/components/hidden-input/hidden-input.component.d.ts +11 -1
  29. package/dist/components/control/components/hidden-input/hidden-input.component.js +14 -15
  30. package/dist/components/control/components/input/input.component.d.ts +7 -1
  31. package/dist/components/control/components/input/input.component.js +27 -27
  32. package/dist/components/control/components/label/label.component.d.ts +6 -1
  33. package/dist/components/control/components/label/label.component.js +12 -12
  34. package/dist/components/control/components/radio/radio.component.d.ts +6 -1
  35. package/dist/components/control/components/radio/radio.component.js +54 -5
  36. package/dist/components/control/components/radio-label/radio-label.component.d.ts +16 -2
  37. package/dist/components/control/components/radio-text/radio-text.component.d.ts +6 -1
  38. package/dist/components/control/components/radio-text/radio-text.component.js +1 -1
  39. package/dist/components/control/components/text/text.component.d.ts +6 -1
  40. package/dist/components/control/components/text/text.component.js +47 -5
  41. package/dist/components/control/components/textarea/textarea.component.d.ts +8 -1
  42. package/dist/components/control/components/textarea/textarea.component.js +34 -4
  43. package/dist/components/control/control.component.d.ts +17 -0
  44. package/dist/components/control/control.component.js +35 -0
  45. package/dist/components/header/header.component.d.ts +12 -0
  46. package/dist/components/header/header.component.js +45 -0
  47. package/dist/main.d.ts +2 -2
  48. package/dist/main.js +2 -2
  49. package/dist/utils/converter/converter.d.ts +2 -1
  50. package/package.json +12 -4
  51. package/dist/assets/button-XGvsKGqH.css +0 -1
  52. package/dist/assets/index-CqamBlbE.css +0 -1
  53. package/dist/assets/input-DTN-3ZET.css +0 -1
  54. package/dist/assets/label-DF2VBeUr.css +0 -1
  55. package/dist/assets/main-C0tWHTEq.css +0 -1
  56. package/dist/assets/radio-text-DAsITkgm.css +0 -1
  57. package/dist/components/certifications/certifications.types.d.ts +0 -5
  58. package/dist/components/certifications/certifications.types.js +0 -1
  59. package/dist/components/certifications/index.d.ts +0 -1
  60. package/dist/components/certifications/index.js +0 -4
  61. package/dist/components/control/components/box/box.types.d.ts +0 -9
  62. package/dist/components/control/components/box/box.types.js +0 -1
  63. package/dist/components/control/components/box/index.d.ts +0 -1
  64. package/dist/components/control/components/box/index.js +0 -4
  65. package/dist/components/control/components/button/button.types.d.ts +0 -16
  66. package/dist/components/control/components/button/button.types.js +0 -1
  67. package/dist/components/control/components/button/index.d.ts +0 -1
  68. package/dist/components/control/components/button/index.js +0 -4
  69. package/dist/components/control/components/card-image/card-image.types.d.ts +0 -6
  70. package/dist/components/control/components/card-image/card-image.types.js +0 -1
  71. package/dist/components/control/components/card-image/index.d.ts +0 -1
  72. package/dist/components/control/components/card-image/index.js +0 -4
  73. package/dist/components/control/components/card-text/card-text.types.d.ts +0 -5
  74. package/dist/components/control/components/card-text/card-text.types.js +0 -1
  75. package/dist/components/control/components/card-text/index.d.ts +0 -1
  76. package/dist/components/control/components/card-text/index.js +0 -4
  77. package/dist/components/control/components/checkbox/checkbox.types.d.ts +0 -5
  78. package/dist/components/control/components/checkbox/checkbox.types.js +0 -1
  79. package/dist/components/control/components/checkbox/index.d.ts +0 -1
  80. package/dist/components/control/components/checkbox/index.js +0 -4
  81. package/dist/components/control/components/choice/choice.types.d.ts +0 -8
  82. package/dist/components/control/components/choice/choice.types.js +0 -1
  83. package/dist/components/control/components/choice/index.d.ts +0 -1
  84. package/dist/components/control/components/choice/index.js +0 -4
  85. package/dist/components/control/components/dropdown/dropdown.types.d.ts +0 -14
  86. package/dist/components/control/components/dropdown/dropdown.types.js +0 -1
  87. package/dist/components/control/components/dropdown/index.d.ts +0 -1
  88. package/dist/components/control/components/dropdown/index.js +0 -4
  89. package/dist/components/control/components/hidden-input/hidden-input.types.d.ts +0 -11
  90. package/dist/components/control/components/hidden-input/hidden-input.types.js +0 -1
  91. package/dist/components/control/components/hidden-input/index.d.ts +0 -1
  92. package/dist/components/control/components/hidden-input/index.js +0 -4
  93. package/dist/components/control/components/input/index.d.ts +0 -1
  94. package/dist/components/control/components/input/index.js +0 -4
  95. package/dist/components/control/components/input/input.types.d.ts +0 -7
  96. package/dist/components/control/components/input/input.types.js +0 -1
  97. package/dist/components/control/components/label/index.d.ts +0 -1
  98. package/dist/components/control/components/label/index.js +0 -4
  99. package/dist/components/control/components/label/label.types.d.ts +0 -8
  100. package/dist/components/control/components/label/label.types.js +0 -1
  101. package/dist/components/control/components/radio/index.d.ts +0 -1
  102. package/dist/components/control/components/radio/index.js +0 -4
  103. package/dist/components/control/components/radio/radio.types.d.ts +0 -6
  104. package/dist/components/control/components/radio/radio.types.js +0 -1
  105. package/dist/components/control/components/radio-label/index.d.ts +0 -1
  106. package/dist/components/control/components/radio-label/index.js +0 -4
  107. package/dist/components/control/components/radio-label/radio-label.types.d.ts +0 -17
  108. package/dist/components/control/components/radio-label/radio-label.types.js +0 -1
  109. package/dist/components/control/components/radio-text/index.d.ts +0 -1
  110. package/dist/components/control/components/radio-text/index.js +0 -4
  111. package/dist/components/control/components/radio-text/radio-text.types.d.ts +0 -6
  112. package/dist/components/control/components/radio-text/radio-text.types.js +0 -1
  113. package/dist/components/control/components/text/index.d.ts +0 -1
  114. package/dist/components/control/components/text/index.js +0 -4
  115. package/dist/components/control/components/text/text.types.d.ts +0 -6
  116. package/dist/components/control/components/text/text.types.js +0 -1
  117. package/dist/components/control/components/textarea/index.d.ts +0 -1
  118. package/dist/components/control/components/textarea/index.js +0 -4
  119. package/dist/components/control/components/textarea/textarea.types.d.ts +0 -8
  120. package/dist/components/control/components/textarea/textarea.types.js +0 -1
  121. package/dist/components/control/hooks/index.d.ts +0 -1
  122. package/dist/components/control/hooks/index.js +0 -4
  123. package/dist/components/control/hooks/useChoice/index.d.ts +0 -1
  124. package/dist/components/control/hooks/useChoice/index.js +0 -4
  125. package/dist/components/control/index.d.ts +0 -17
  126. package/dist/components/control/index.js +0 -12
  127. package/dist/components/control/types.js +0 -1
  128. package/dist/components/control/utils/index.d.ts +0 -1
  129. package/dist/components/control/utils/index.js +0 -6
  130. package/dist/enums.d.ts +0 -14
  131. package/dist/enums.js +0 -4
  132. package/dist/index-DtupH5zG.js +0 -405
  133. package/dist/types.d.ts +0 -3
  134. package/dist/types.js +0 -1
  135. package/dist/utils/converter/index.d.ts +0 -1
  136. package/dist/utils/converter/index.js +0 -4
  137. package/dist/utils/index.d.ts +0 -2
  138. package/dist/utils/index.js +0 -6
  139. package/dist/utils/time/index.d.ts +0 -1
  140. package/dist/utils/time/index.js +0 -4
@@ -1,26 +1,25 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import '../../../../assets/hidden-input-DHJQHUKd.css';const c = "_HiddenInput_bej3d_1", l = {
3
- HiddenInput: c
4
- }, f = (a) => {
5
- const { type: i, id: u, name: p, value: r, disabled: n = !1, checked: s, onChange: t } = a;
6
- return /* @__PURE__ */ o(
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import '../../../../assets/hidden-input-DHJQHUKd.css';const o = "_HiddenInput_bej3d_1", c = {
3
+ HiddenInput: o
4
+ }, v = (d) => {
5
+ const { type: a, id: i, name: u, value: p, disabled: n = !1, checked: r, onChange: t } = d;
6
+ return /* @__PURE__ */ s(
7
7
  "input",
8
8
  {
9
9
  "data-testid": "hidden-input",
10
- type: i,
11
- id: u,
12
- name: p,
13
- value: r,
14
- checked: s,
10
+ type: a,
11
+ id: i,
12
+ name: u,
13
+ value: p,
14
+ checked: r,
15
15
  disabled: n,
16
- className: l.HiddenInput,
16
+ className: c.HiddenInput,
17
17
  onChange: (e) => {
18
- var d;
19
- n || (e.preventDefault(), (d = e.nativeEvent) != null && d.pageX || e.nativeEvent.pageY ? (e.currentTarget.blur(), t(e, "mouse")) : t(e, "keyboard"));
18
+ n || (e.preventDefault(), e.nativeEvent?.pageX || e.nativeEvent.pageY ? (e.currentTarget.blur(), t(e, "mouse")) : t(e, "keyboard"));
20
19
  }
21
20
  }
22
21
  );
23
22
  };
24
23
  export {
25
- f as HiddenInput
24
+ v as HiddenInput
26
25
  };
@@ -1,2 +1,8 @@
1
- import { InputProps } from './input.types';
1
+ import { HTMLInputTypeAttribute } from 'react';
2
+ import { Interactive } from '../../types';
3
+ export interface InputProps extends Interactive<string> {
4
+ type?: HTMLInputTypeAttribute;
5
+ onAutofill?: (id: string) => void;
6
+ onAutofillCancel?: (id: string) => void;
7
+ }
2
8
  export declare const Input: ({ id, value, disabled, type, onAutofill, onAutofillCancel, onChange, onFocus, onBlur, }: InputProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,36 +1,36 @@
1
- import { jsx as I } from "react/jsx-runtime";
2
- import '../../../../assets/input-DTN-3ZET.css';const i = "_Input_1vr20_1", p = {
3
- Input: i,
4
- "autofill-start": "_autofill-start_1vr20_1",
5
- "autofill-cancel": "_autofill-cancel_1vr20_1"
6
- }, v = ({
7
- id: a,
8
- value: r,
9
- disabled: _ = !1,
10
- type: c = "text",
11
- onAutofill: l,
12
- onAutofillCancel: e,
13
- onChange: s,
14
- onFocus: n,
15
- onBlur: m
16
- }) => /* @__PURE__ */ I(
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import '../../../../assets/input-3QR47UJ8.css';const m = "_Input_1ldi1_1", a = {
3
+ Input: m,
4
+ "autofill-start": "_autofill-start_1ldi1_1",
5
+ "autofill-cancel": "_autofill-cancel_1ldi1_1"
6
+ }, _ = ({
7
+ id: l,
8
+ value: n,
9
+ disabled: o = !1,
10
+ type: u = "text",
11
+ onAutofill: c,
12
+ onAutofillCancel: i,
13
+ onChange: e,
14
+ onFocus: s,
15
+ onBlur: f
16
+ }) => /* @__PURE__ */ r(
17
17
  "input",
18
18
  {
19
19
  "data-testid": "input",
20
- disabled: _,
21
- type: c,
22
- id: a,
23
- name: a,
24
- value: r,
25
- className: p.Input,
26
- onChange: (t) => s(t.target.value, a, "keyboard"),
20
+ disabled: o,
21
+ type: u,
22
+ id: l,
23
+ name: l,
24
+ value: n,
25
+ className: a.Input,
26
+ onChange: (t) => e(t.target.value, l, "keyboard"),
27
27
  onAnimationStart: (t) => {
28
- t.animationName === p["autofill-start"] && (l == null || l.call(null, a)), t.animationName === p["autofill-cancel"] && (e == null || e.call(null, a));
28
+ t.animationName === a["autofill-start"] && c?.call(null, l), t.animationName === a["autofill-cancel"] && i?.call(null, l);
29
29
  },
30
- onFocus: () => n == null ? void 0 : n.call(null, a),
31
- onBlur: () => m == null ? void 0 : m.call(null, a)
30
+ onFocus: () => s?.call(null, l),
31
+ onBlur: () => f?.call(null, l)
32
32
  }
33
33
  );
34
34
  export {
35
- v as Input
35
+ _ as Input
36
36
  };
@@ -1,2 +1,7 @@
1
- import { LabelProps } from './label.types';
1
+ import { PropsWithChildren } from 'react';
2
+ import { State } from '../../types';
3
+ export interface LabelProps extends PropsWithChildren {
4
+ state?: State;
5
+ position?: 'idle' | 'active';
6
+ }
2
7
  export declare const Label: (props: LabelProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,18 +1,18 @@
1
- import { jsx as i } from "react/jsx-runtime";
2
- import s from "clsx";
3
- import '../../../../assets/label-DF2VBeUr.css';const c = "_Label_3yaik_1", b = "_LabelPositionIdle_3yaik_6", L = "_LabelPositionActive_3yaik_11", r = "_LabelStateIdle_3yaik_16", n = "_LabelStateError_3yaik_20", _ = "_LabelStateSuccess_3yaik_24", e = {
4
- Label: c,
5
- LabelPositionIdle: b,
6
- LabelPositionActive: L,
7
- LabelStateIdle: r,
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import i from "clsx";
3
+ import '../../../../assets/label-CCZNUUQp.css';const r = "_Label_1vr4d_1", c = "_LabelPositionIdle_1vr4d_6", b = "_LabelPositionActive_1vr4d_11", L = "_LabelStateIdle_1vr4d_16", n = "_LabelStateError_1vr4d_20", d = "_LabelStateSuccess_1vr4d_24", e = {
4
+ Label: r,
5
+ LabelPositionIdle: c,
6
+ LabelPositionActive: b,
7
+ LabelStateIdle: L,
8
8
  LabelStateError: n,
9
- LabelStateSuccess: _
10
- }, I = (l) => {
9
+ LabelStateSuccess: d
10
+ }, v = (l) => {
11
11
  const { children: o, position: a = "idle", state: t = "idle" } = l;
12
- return /* @__PURE__ */ i(
12
+ return /* @__PURE__ */ s(
13
13
  "span",
14
14
  {
15
- className: s(e.Label, {
15
+ className: i(e.Label, {
16
16
  [e.LabelPositionIdle]: a === "idle",
17
17
  [e.LabelPositionActive]: a === "active",
18
18
  [e.LabelStateIdle]: t === "idle",
@@ -24,5 +24,5 @@ import '../../../../assets/label-DF2VBeUr.css';const c = "_Label_3yaik_1", b = "
24
24
  );
25
25
  };
26
26
  export {
27
- I as Label
27
+ v as Label
28
28
  };
@@ -1,2 +1,7 @@
1
- import { RadioProps } from './radio.types';
1
+ import { Interactive, RadioChoice, State } from '../../types';
2
+ export interface RadioProps extends Interactive<string> {
3
+ orientation: 'horizontal' | 'vertical';
4
+ choices: RadioChoice[];
5
+ state?: State;
6
+ }
2
7
  export declare const Radio: (props: RadioProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,7 +1,56 @@
1
- import "react/jsx-runtime";
2
- import "clsx";
3
- import { R as t } from "../../../../index-DtupH5zG.js";
4
- import "../../utils/utils.js";
1
+ import { jsx as o, jsxs as v } from "react/jsx-runtime";
2
+ import O from "clsx";
3
+ import { Choice as h } from "../choice/choice.component.js";
4
+ import { HiddenInput as z } from "../hidden-input/hidden-input.component.js";
5
+ import { RadioLabel as L } from "../radio-label/radio-label.component.js";
6
+ import { RadioText as x } from "../radio-text/radio-text.component.js";
7
+ import { getChoiceId as H } from "../../utils/utils.js";
8
+ import '../../../../assets/radio-BkD7BKk0.css';const g = "_Radio_1wc8m_1", w = "_RadioOrientationHorizontal_1wc8m_5", C = "_RadioOrientationVertical_1wc8m_10", V = "_RadioLabel_1wc8m_15", a = {
9
+ Radio: g,
10
+ RadioOrientationHorizontal: w,
11
+ RadioOrientationVertical: C,
12
+ RadioLabel: V
13
+ }, A = (l) => {
14
+ const { orientation: r, choices: s, state: m = "idle", id: t, value: c, disabled: d = !1, onChange: R } = l;
15
+ return /* @__PURE__ */ o(
16
+ "div",
17
+ {
18
+ className: O(a.Radio, {
19
+ [a.RadioOrientationHorizontal]: r === "horizontal",
20
+ [a.RadioOrientationVertical]: r === "vertical"
21
+ }),
22
+ children: s.map((i, p, _) => {
23
+ const e = H(t, i.value, p);
24
+ return /* @__PURE__ */ o(L, { id: e, value: c, state: m, choice: i, choices: _, children: ({ focused: b, hovered: f, checked: n, state: u }) => /* @__PURE__ */ v("div", { className: a.RadioLabel, children: [
25
+ /* @__PURE__ */ o(
26
+ h,
27
+ {
28
+ type: "radio",
29
+ state: u,
30
+ checked: n,
31
+ focused: b,
32
+ hovered: f,
33
+ disabled: d
34
+ }
35
+ ),
36
+ /* @__PURE__ */ o(
37
+ z,
38
+ {
39
+ type: "radio",
40
+ id: e,
41
+ value: i.value,
42
+ name: t,
43
+ checked: n,
44
+ disabled: d,
45
+ onChange: () => R(i.value, t)
46
+ }
47
+ ),
48
+ /* @__PURE__ */ o(x, { size: "lg", checked: n, children: i.label })
49
+ ] }) }, e);
50
+ })
51
+ }
52
+ );
53
+ };
5
54
  export {
6
- t as Radio
55
+ A as Radio
7
56
  };
@@ -1,3 +1,17 @@
1
- import { ChoiceValue } from '../../types';
2
- import { RadioLabelProps } from './radio-label.types';
1
+ import { ChoiceValue, RadioChoice, State } from '../../types';
2
+ import { ReactNode } from 'react';
3
+ export interface RadioLabelChild {
4
+ focused: boolean;
5
+ hovered: boolean;
6
+ checked: boolean;
7
+ state?: State;
8
+ }
9
+ export interface RadioLabelProps<T extends ChoiceValue> {
10
+ id: string;
11
+ value: T;
12
+ choice: RadioChoice;
13
+ choices?: RadioChoice[];
14
+ state?: State;
15
+ children: (props: RadioLabelChild) => ReactNode;
16
+ }
3
17
  export declare const RadioLabel: <T extends ChoiceValue>(props: RadioLabelProps<T>) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,7 @@
1
- import { RadioTextProps } from './radio-text.types';
1
+ export interface RadioTextProps {
2
+ children: string;
3
+ size: 'md' | 'lg';
4
+ checked: boolean;
5
+ oneLine?: boolean;
6
+ }
2
7
  export declare const RadioText: (props: RadioTextProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import x from "clsx";
3
- import '../../../../assets/radio-text-DAsITkgm.css';const T = "_RadioText_8gt23_1", R = "_RadioTextSizeMd_8gt23_8", c = "_RadioTextSizeLg_8gt23_13", s = "_RadioTextOneLine_8gt23_18", _ = "_RadioTextContent_8gt23_19", e = {
3
+ import '../../../../assets/radio-text-DIB67n3r.css';const T = "_RadioText_9i5dh_1", R = "_RadioTextSizeMd_9i5dh_8", c = "_RadioTextSizeLg_9i5dh_13", s = "_RadioTextOneLine_9i5dh_18", _ = "_RadioTextContent_9i5dh_19", e = {
4
4
  RadioText: T,
5
5
  RadioTextSizeMd: R,
6
6
  RadioTextSizeLg: c,
@@ -1,2 +1,7 @@
1
- import { TextProps } from './text.types';
1
+ import { State } from '../../types';
2
+ import { InputProps } from '../input/input.component';
3
+ export interface TextProps extends InputProps {
4
+ label: string;
5
+ state?: State;
6
+ }
2
7
  export declare const Text: (props: TextProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,7 +1,49 @@
1
- import "react/jsx-runtime";
2
- import "clsx";
3
- import "usehooks-ts";
4
- import { a as i } from "../../../../index-DtupH5zG.js";
1
+ import { jsx as t, jsxs as A } from "react/jsx-runtime";
2
+ import h from "clsx";
3
+ import { useBoolean as F, useToggle as g } from "usehooks-ts";
4
+ import { Input as B } from "../input/input.component.js";
5
+ import { Label as j } from "../label/label.component.js";
6
+ import { Box as k } from "../box/box.component.js";
7
+ import '../../../../assets/text-Dt0DeN-I.css';const C = "_Text_1ble1_1", N = "_TextLabel_1ble1_17", y = "_TextLabelIdle_1ble1_23", $ = "_TextLabelActive_1ble1_28", l = {
8
+ Text: C,
9
+ TextLabel: N,
10
+ TextLabelIdle: y,
11
+ TextLabelActive: $
12
+ }, H = (x) => {
13
+ const { label: u, state: s = "idle", type: b = "text", id: a, value: e, disabled: d = !1, onChange: T, onFocus: m, onBlur: f } = x, { value: o, setTrue: c, setFalse: i } = F(!0), [L, r] = g(), p = () => {
14
+ i();
15
+ }, _ = () => {
16
+ e || c();
17
+ }, v = (n) => {
18
+ e || i(), r(), m?.call(null, n);
19
+ }, I = (n) => {
20
+ e || c(), r(), f?.call(null, n);
21
+ };
22
+ return /* @__PURE__ */ t(k, { state: s, focused: L, children: /* @__PURE__ */ A("label", { htmlFor: a, className: l.Text, children: [
23
+ /* @__PURE__ */ t(
24
+ "div",
25
+ {
26
+ "data-testid": "text-label",
27
+ className: h(l.TextLabel, !o || e ? l.TextLabelActive : l.TextLabelIdle),
28
+ children: /* @__PURE__ */ t(j, { position: o ? "idle" : "active", state: o ? "idle" : s, children: u })
29
+ }
30
+ ),
31
+ /* @__PURE__ */ t(
32
+ B,
33
+ {
34
+ disabled: d,
35
+ type: b,
36
+ id: a,
37
+ value: e,
38
+ onChange: T,
39
+ onAutofill: p,
40
+ onAutofillCancel: _,
41
+ onFocus: v,
42
+ onBlur: I
43
+ }
44
+ )
45
+ ] }) });
46
+ };
5
47
  export {
6
- i as Text
48
+ H as Text
7
49
  };
@@ -1,2 +1,9 @@
1
- import { TextareaProps } from './textarea.types';
1
+ import { Interactive, State } from '../../types';
2
+ export interface TextareaProps extends Interactive<string> {
3
+ state?: State;
4
+ placeholder?: string;
5
+ rows?: number;
6
+ onAutofill?: (id: string) => void;
7
+ onAutofillCancel?: (id: string) => void;
8
+ }
2
9
  export declare const Textarea: (props: TextareaProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,36 @@
1
- import "react/jsx-runtime";
2
- import "usehooks-ts";
3
- import { T as e } from "../../../../index-DtupH5zG.js";
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { useBoolean as h, useToggle as v } from "usehooks-ts";
3
+ import { Box as k } from "../box/box.component.js";
4
+ import '../../../../assets/textarea-86fWKmQJ.css';const N = "_Textarea_e95r3_1", o = {
5
+ Textarea: N,
6
+ "autofill-start": "_autofill-start_e95r3_1",
7
+ "autofill-cancel": "_autofill-cancel_e95r3_1"
8
+ }, I = (i) => {
9
+ const { state: c = "idle", placeholder: u = "", rows: f = 5, id: e, value: t, disabled: d = !1, onChange: m, onFocus: x, onBlur: T } = i, { value: _, setTrue: l, setFalse: n } = h(!0), [g, r] = v(!1), p = (a) => {
10
+ a.animationName === o["autofill-start"] && n(), a.animationName === o["autofill-cancel"] && !t && l();
11
+ }, B = (a) => {
12
+ t || n(), r(), x?.call(null, a);
13
+ }, F = (a) => {
14
+ t || l(), r(), T?.call(null, a);
15
+ };
16
+ return /* @__PURE__ */ s(k, { state: c, focused: g, children: /* @__PURE__ */ s(
17
+ "textarea",
18
+ {
19
+ "data-testid": "textarea",
20
+ "data-is-idle": _,
21
+ disabled: d,
22
+ id: e,
23
+ rows: f,
24
+ placeholder: u,
25
+ value: t,
26
+ className: o.Textarea,
27
+ onChange: (a) => m(a.target.value, e, "keyboard"),
28
+ onAnimationStart: p,
29
+ onFocus: () => B(e),
30
+ onBlur: () => F(e)
31
+ }
32
+ ) });
33
+ };
4
34
  export {
5
- e as Textarea
35
+ I as Textarea
6
36
  };
@@ -0,0 +1,17 @@
1
+ export declare const Control: {
2
+ Box: import('react').ForwardRefExoticComponent<import('./components/box/box.component').BoxProps & import('react').RefAttributes<HTMLDivElement>>;
3
+ Button: (props: import('./components/button/button.component').ButtonProps) => import("react/jsx-runtime").JSX.Element;
4
+ CardImage: (props: import('./components/card-image/card-image.component').CardImageProps) => import("react/jsx-runtime").JSX.Element;
5
+ CardText: (props: import('./components/card-text/card-text.component').CardTextProps) => import("react/jsx-runtime").JSX.Element;
6
+ Checkbox: (props: import('./components/checkbox/checkbox.component').CheckboxProps) => import("react/jsx-runtime").JSX.Element;
7
+ Choice: (props: import('./components/choice/choice.component').ChoiceProps) => import("react/jsx-runtime").JSX.Element;
8
+ Dropdown: (props: import('./components/dropdown/dropdown.component').DropdownProps) => import("react/jsx-runtime").JSX.Element;
9
+ HiddenInput: (props: import('./components/hidden-input/hidden-input.component').HiddenInputProps) => import("react/jsx-runtime").JSX.Element;
10
+ Input: ({ id, value, disabled, type, onAutofill, onAutofillCancel, onChange, onFocus, onBlur, }: import('./components/input/input.component').InputProps) => import("react/jsx-runtime").JSX.Element;
11
+ Label: (props: import('./components/label/label.component').LabelProps) => import("react/jsx-runtime").JSX.Element;
12
+ Radio: (props: import('./components/radio/radio.component').RadioProps) => import("react/jsx-runtime").JSX.Element;
13
+ RadioLabel: <T extends import('./types').ChoiceValue>(props: import('./components/radio-label/radio-label.component').RadioLabelProps<T>) => import("react/jsx-runtime").JSX.Element;
14
+ RadioText: (props: import('./components/radio-text/radio-text.component').RadioTextProps) => import("react/jsx-runtime").JSX.Element;
15
+ Text: (props: import('./components/text/text.component').TextProps) => import("react/jsx-runtime").JSX.Element;
16
+ Textarea: (props: import('./components/textarea/textarea.component').TextareaProps) => import("react/jsx-runtime").JSX.Element;
17
+ };
@@ -0,0 +1,35 @@
1
+ import { Box as o } from "./components/box/box.component.js";
2
+ import { Button as r } from "./components/button/button.component.js";
3
+ import { CardImage as m } from "./components/card-image/card-image.component.js";
4
+ import { CardText as t } from "./components/card-text/card-text.component.js";
5
+ import { Checkbox as i } from "./components/checkbox/checkbox.component.js";
6
+ import { Choice as p } from "./components/choice/choice.component.js";
7
+ import { Dropdown as f } from "./components/dropdown/dropdown.component.js";
8
+ import { HiddenInput as e } from "./components/hidden-input/hidden-input.component.js";
9
+ import { Input as a } from "./components/input/input.component.js";
10
+ import { Label as d } from "./components/label/label.component.js";
11
+ import { Radio as n } from "./components/radio/radio.component.js";
12
+ import { RadioLabel as x } from "./components/radio-label/radio-label.component.js";
13
+ import { RadioText as C } from "./components/radio-text/radio-text.component.js";
14
+ import { Text as T } from "./components/text/text.component.js";
15
+ import { Textarea as b } from "./components/textarea/textarea.component.js";
16
+ const q = {
17
+ Box: o,
18
+ Button: r,
19
+ CardImage: m,
20
+ CardText: t,
21
+ Checkbox: i,
22
+ Choice: p,
23
+ Dropdown: f,
24
+ HiddenInput: e,
25
+ Input: a,
26
+ Label: d,
27
+ Radio: n,
28
+ RadioLabel: x,
29
+ RadioText: C,
30
+ Text: T,
31
+ Textarea: b
32
+ };
33
+ export {
34
+ q as Control
35
+ };
@@ -0,0 +1,12 @@
1
+ interface DescriptionType {
2
+ size: 's' | 'm';
3
+ value: string;
4
+ }
5
+ export interface HeaderProps {
6
+ logo: string;
7
+ logoCondition?: () => string;
8
+ tel?: string;
9
+ descriptions?: DescriptionType[];
10
+ }
11
+ export declare const Header: (props: HeaderProps) => import("react/jsx-runtime").JSX.Element;
12
+ export {};
@@ -0,0 +1,45 @@
1
+ import { jsxs as s, jsx as n } from "react/jsx-runtime";
2
+ import { Phone as g, CircleCheck as m } from "lucide-react";
3
+ import h from "clsx";
4
+ import '../../assets/header-CvDToxgv.css';const p = "_Header_2g7zf_1", f = "_HeaderInfo_2g7zf_8", u = "_HeaderLogo_2g7zf_15", I = "_HeaderLogoPlaceholder_2g7zf_20", z = "_HeaderPhoneButton_2g7zf_26", P = "_HeaderPhoneButtonIcon_2g7zf_38", D = "_HeaderPhoneButtonNumber_2g7zf_45", N = "_HeaderDescriptions_2g7zf_46", B = "_HeaderDescriptionsIcon_2g7zf_72", L = "_HeaderDescriptionsIconSm_2g7zf_77", b = "_HeaderDescriptionsIconMd_2g7zf_82", e = {
5
+ Header: p,
6
+ HeaderInfo: f,
7
+ HeaderLogo: u,
8
+ HeaderLogoPlaceholder: I,
9
+ HeaderPhoneButton: z,
10
+ HeaderPhoneButtonIcon: P,
11
+ HeaderPhoneButtonNumber: D,
12
+ HeaderDescriptions: N,
13
+ HeaderDescriptionsIcon: B,
14
+ HeaderDescriptionsIconSm: L,
15
+ HeaderDescriptionsIconMd: b
16
+ }, M = (c) => {
17
+ const { logo: t, logoCondition: d = () => "", tel: r = "", descriptions: i = [] } = c, a = d() || t, H = (o) => "tel:+49" + o.replace(/^0|[^0-9.]/g, ""), l = () => {
18
+ r && window.open(H(r), "_self");
19
+ };
20
+ return /* @__PURE__ */ s("header", { className: e.Header, children: [
21
+ a ? /* @__PURE__ */ n("img", { className: e.HeaderLogo, alt: "logo-icon", src: a }) : /* @__PURE__ */ n("i", { className: e.HeaderLogoPlaceholder }),
22
+ /* @__PURE__ */ s("div", { className: e.HeaderInfo, children: [
23
+ r ? /* @__PURE__ */ s("button", { className: e.HeaderPhoneButton, onClick: l, children: [
24
+ /* @__PURE__ */ n(g, { className: e.HeaderPhoneButtonIcon }),
25
+ /* @__PURE__ */ n("span", { className: e.HeaderPhoneButtonNumber, children: r })
26
+ ] }) : null,
27
+ i.map((o, _) => /* @__PURE__ */ s("div", { className: e.HeaderDescriptions, "data-size": o.size, children: [
28
+ /* @__PURE__ */ n(
29
+ m,
30
+ {
31
+ className: h(e.HeaderDescriptionsIcon, {
32
+ [e.HeaderDescriptionsIconSm]: o.size === "s",
33
+ [e.HeaderDescriptionsIconMd]: o.size === "m"
34
+ }),
35
+ "data-size": o.size
36
+ }
37
+ ),
38
+ /* @__PURE__ */ n("span", { children: o.value })
39
+ ] }, _))
40
+ ] })
41
+ ] });
42
+ };
43
+ export {
44
+ M as Header
45
+ };
package/dist/main.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export { Certifications } from './components/certifications';
2
- export { Control } from './components/control';
1
+ export { Certifications } from './components/certifications/certifications.component';
2
+ export { Control } from './components/control/control.component';
package/dist/main.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Certifications as t } from "./components/certifications/certifications.component.js";
2
- import { d as f } from "./index-DtupH5zG.js";
3
- import './assets/main-C0tWHTEq.css';export {
2
+ import { Control as f } from "./components/control/control.component.js";
3
+ import './assets/main-BgL82qFL.css';export {
4
4
  t as Certifications,
5
5
  f as Control
6
6
  };
@@ -1,4 +1,4 @@
1
- import { DatePrecision } from '../../types';
1
+ type DatePrecision = 'month' | 'day';
2
2
  export declare abstract class Converter {
3
3
  private static formatNumberWithLeadingZero;
4
4
  private static maskExplanation;
@@ -35,3 +35,4 @@ export declare abstract class Converter {
35
35
  FromArrayToMultiple: (value: string[]) => string;
36
36
  };
37
37
  }
38
+ export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arthurzakharov/ui-kit",
3
3
  "private": false,
4
- "version": "1.0.6",
4
+ "version": "1.0.8",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
7
7
  "types": "dist/main.d.ts",
@@ -19,6 +19,8 @@
19
19
  },
20
20
  "scripts": {
21
21
  "build": "tsc && vite build --logLevel info",
22
+ "lint:check": "eslint . --ext ts,tsx",
23
+ "lint:fix": "eslint . --fix",
22
24
  "prettier:check": "prettier --check --log-level=log .",
23
25
  "prettier:fix": "prettier --write --log-level=log .",
24
26
  "storybook": "storybook dev -p 6006",
@@ -40,8 +42,14 @@
40
42
  "@testing-library/react": "^15.0.7",
41
43
  "@types/node": "^24.1.0",
42
44
  "@types/react": "^18.3.27",
45
+ "@typescript-eslint/eslint-plugin": "^8.52.0",
46
+ "@typescript-eslint/parser": "^8.52.0",
43
47
  "@vitejs/plugin-react": "^5.1.2",
44
48
  "clsx": "^2.1.1",
49
+ "eslint": "^9.39.2",
50
+ "eslint-plugin-react-hooks": "^7.0.1",
51
+ "eslint-plugin-react-refresh": "^0.4.26",
52
+ "eslint-plugin-storybook": "^10.1.11",
45
53
  "glob": "^13.0.0",
46
54
  "globals": "^17.0.0",
47
55
  "jsdom": "^27.4.0",
@@ -50,10 +58,10 @@
50
58
  "react": "^18.3.1",
51
59
  "react-dom": "^18.3.1",
52
60
  "storybook": "^10.1.11",
53
- "typescript": "^5.2.2",
54
- "typescript-eslint": "^8.51.0",
61
+ "typescript": "^5.9.3",
62
+ "typescript-eslint": "^8.52.0",
55
63
  "usehooks-ts": "^3.1.1",
56
- "vite": "^6.4.1",
64
+ "vite": "^7.3.1",
57
65
  "vite-plugin-dts": "^4.5.4",
58
66
  "vite-plugin-lib-inject-css": "^2.2.2",
59
67
  "vitest": "^4.0.16"
@@ -1 +0,0 @@
1
- ._Button_hr1uu_1{box-sizing:border-box;border:none;display:flex;flex-direction:column;align-items:center;justify-content:center}._ButtonSizeSm_hr1uu_10{border-radius:var(--rm-ui-border-radius-sm);padding:var(--rm-ui-padding-xs) var(--rm-ui-padding-sm)}._ButtonSizeSm_hr1uu_10 ._ButtonText_hr1uu_15{font-family:var(--rm-ui-font-family-regular),sans-serif;font-size:var(--rm-ui-font-size-body-small);line-height:var(--rm-ui-line-height-body-small)}._ButtonSizeMd_hr1uu_21,._ButtonSizeLg_hr1uu_22{border-radius:var(--rm-ui-border-radius-md);padding:var(--rm-ui-padding-sm) var(--rm-ui-padding-md)}._ButtonSizeMd_hr1uu_21 ._ButtonText_hr1uu_15{font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body)}._ButtonSizeLg_hr1uu_22 ._ButtonText_hr1uu_15{font-size:var(--rm-ui-font-size-body-large);line-height:var(--rm-ui-line-height-body-large)}._ButtonColorNext_hr1uu_37{background-color:var(--rm-ui-next-btn-bg)}._ButtonColorNext_hr1uu_37 ._ButtonText_hr1uu_15{color:#fff}._ButtonColorPrevious_hr1uu_45{background-color:transparent}._ButtonColorPrevious_hr1uu_45 ._ButtonText_hr1uu_15{color:var(--rm-ui-color-secondary)}._Button_hr1uu_1:hover{cursor:pointer}._Button_hr1uu_1:focus{outline-color:var(--rm-ui-color-focus)}._ButtonFullWidth_hr1uu_61{width:100%}._ButtonText_hr1uu_15{font-family:var(--rm-ui-font-family-medium),sans-serif}._ButtonInfo_hr1uu_69{font-family:var(--rm-ui-font-family-regular),sans-serif;font-size:var(--rm-ui-font-size-body-small);line-height:calc(var(--rm-ui-line-height-body-small) - 2px);color:#fff}
@@ -1 +0,0 @@
1
- ._CardImage_dw1xq_1{--font-size: 12px;--line-height: 14px;--img-size: 110px;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:var(--rm-ui-padding-xs)}._CardImageContent_dw1xq_13{width:135px;height:130px;padding:6px;display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch}._CardImageContent_dw1xq_13:hover{cursor:pointer}._CardImageTop_dw1xq_27{position:relative;flex-grow:1}._CardImageWrap_dw1xq_32{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:var(--img-size);height:var(--img-size);background-repeat:no-repeat;background-size:700%}._CardImageBottom_dw1xq_43{flex-basis:calc(var(--line-height) * 2);display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;gap:var(--rm-ui-padding-xs)}._CardText_1eht8_1{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:var(--rm-ui-padding-sm)}._CardTextLabel_1eht8_9{position:relative;padding:var(--rm-ui-padding-md) var(--rm-ui-padding-sm);flex-basis:100%;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--rm-ui-padding-xs)}._CardTextLabel_1eht8_9:hover{cursor:pointer}._CardTextChoice_1eht8_24{display:flex;flex-direction:row;align-items:center;justify-content:center}._Checkbox_1l6ko_1{position:relative;display:inline-flex;flex-direction:row;align-items:flex-start;justify-content:flex-start;gap:var(--rm-ui-padding-xs)}._Checkbox_1l6ko_1:hover{cursor:pointer}._CheckboxChoice_1l6ko_14{position:relative;left:0;top:3px}._CheckboxContent_1l6ko_20{font-family:var(--rm-ui-font-family-regular),sans-serif;font-size:var(--rm-ui-font-size-body-small);line-height:var(--rm-ui-line-height-body-small);color:var(--rm-ui-color-primary)}._CheckboxContent_1l6ko_20 button{background-color:transparent;border:none;padding:0;font-family:inherit;font-size:inherit;line-height:inherit;color:var(--rm-ui-color-action)}._CheckboxContent_1l6ko_20 button:hover{cursor:pointer;text-decoration:underline}._Dropdown_152mp_1{--transition-time: .2s;--under-chevron: linear-gradient(90deg, rgba(255, 255, 255, 0) -10%, rgba(255, 255, 255, .5411764706) 25%, #fff 50%);--border-radius: 3px;position:relative;font-family:var(--rm-ui-font-family-regular),sans-serif;font-size:var(--rm-ui-font-size-body-small);line-height:var(--rm-ui-line-height-body-small);color:var(--rm-ui-color-primary);display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:var(--rm-ui-padding-xxs)}._DropdownBorder_152mp_17{position:relative;min-height:60px;flex-grow:1;display:flex;align-items:center;justify-content:flex-start;padding:var(--rm-ui-padding-xs) var(--rm-ui-padding-sm);overflow:hidden}._DropdownContent_152mp_28{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}._DropdownBorder_152mp_17:hover{cursor:pointer}._DropdownChevron_152mp_39{width:24px;height:24px;transition:transform var(--transition-time) ease-out}._DropdownChevron_152mp_39[data-open=false]{transform:rotate(0)}._DropdownChevron_152mp_39[data-open=true]{transform:rotate(180deg)}._DropdownChevronWrap_152mp_53{position:absolute;z-index:1;right:0;top:50%;transform:translateY(-50%);background:var(--under-chevron);border-radius:10px;width:80px;height:100%;padding-right:var(--rm-ui-padding-sm);display:flex;justify-content:flex-end;align-items:center}._DropdownBox_152mp_69{flex-grow:1;border-radius:10px;background-color:var(--rm-ui-grey-50)}._DropdownBoxVisible_152mp_75{display:block}._DropdownBoxHidden_152mp_79{display:none}._DropdownSearch_152mp_83{position:relative;border-bottom:1px var(--rm-ui-grey-300) solid;padding:var(--rm-ui-padding-sm)}._DropdownSearchVisible_152mp_89{display:block}._DropdownSearchHidden_152mp_93{display:none}._DropdownClose_152mp_97{border-top:1px var(--rm-ui-grey-300) solid;padding:var(--rm-ui-padding-sm);display:flex;flex-direction:row;align-items:center;justify-content:flex-end}._DropdownInput_152mp_106{width:100%;border-radius:10px;padding:var(--rm-ui-padding-xs) calc(var(--rm-ui-padding-sm) * 2 + 12px) var(--rm-ui-padding-xs) var(--rm-ui-padding-sm);border:1px var(--rm-ui-grey-300) solid;box-sizing:border-box;font-family:var(--rm-ui-font-family-regular),sans-serif;font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);color:var(--rm-ui-color-primary);outline-color:var(--rm-ui-color-accent-primary)}._DropdownGlass_152mp_120{position:absolute;z-index:1;right:calc(var(--rm-ui-padding-sm) * 2);top:50%;transform:translateY(-50%);width:24px;height:24px;color:var(--rm-ui-grey-300)}._DropdownChoices_152mp_131{list-style:none;margin:0;padding:0;max-height:228px;overflow-y:scroll;border-radius:10px}._DropdownChoice_152mp_131{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--rm-ui-padding-sm);padding:6px var(--rm-ui-padding-sm)}._DropdownChoice_152mp_131:hover{cursor:pointer;background-color:#fff}._DropdownChoiceNoResult_152mp_154{color:var(--rm-ui-grey-600);text-align:center}html[dir=rtl] ._DropdownGlass_152mp_120{left:31px;right:initial}html[dir=rtl] ._DropdownChevronWrap_152mp_53{left:19px;right:initial}._Radio_1wc8m_1{display:inline-flex}._RadioOrientationHorizontal_1wc8m_5{flex-direction:row;gap:var(--rm-ui-padding-lg)}._RadioOrientationVertical_1wc8m_10{flex-direction:column;gap:var(--rm-ui-padding-xxs)}._RadioLabel_1wc8m_15{position:relative;display:inline-flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--rm-ui-padding-xs)}._RadioLabel_1wc8m_15:hover{cursor:pointer}._Text_1ble1_1{box-sizing:border-box;position:relative;flex-grow:1;height:58px;padding:var(--rm-ui-padding-xs) var(--rm-ui-padding-sm);display:flex;flex-direction:row;justify-content:stretch;align-items:flex-end}._Text_1ble1_1:hover{cursor:pointer}._TextLabel_1ble1_17{position:absolute;left:var(--rm-ui-padding-sm);transition:top .15s ease-out}._TextLabelIdle_1ble1_23{top:50%;transform:translateY(-50%)}._TextLabelActive_1ble1_28{top:var(--rm-ui-padding-xs);transform:translateY(0)}._Textarea_1ltsl_1{resize:none;outline:none;box-sizing:border-box;width:100%;border:none;border-radius:10px;padding:var(--rm-ui-padding-xs) var(--rm-ui-padding-sm);font-family:var(--rm-ui-font-family-medium),sans-serif;font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);color:var(--rm-ui-color-primary)}._Textarea_1ltsl_1:hover{cursor:pointer}._Textarea_1ltsl_1:disabled{opacity:.33}._Textarea_1ltsl_1:disabled,._Textarea_1ltsl_1:-webkit-autofill,._Textarea_1ltsl_1:-webkit-autofill:hover,._Textarea_1ltsl_1:-webkit-autofill:focus,._Textarea_1ltsl_1:-webkit-autofill:active,._Textarea_1ltsl_1:autofill,._Textarea_1ltsl_1:autofill:hover,._Textarea_1ltsl_1:autofill:focus,._Textarea_1ltsl_1:autofill:active{background:transparent;transition:background 7200s ease-in-out 0s}._Textarea_1ltsl_1:-webkit-autofill{animation-name:_autofill-start_1ltsl_1;animation-duration:.1s;-webkit-text-fill-color:var(--rm-ui-grey-500)}._Textarea_1ltsl_1:not(:-webkit-autofill){animation-name:_autofill-cancel_1ltsl_1;animation-duration:.1s}@keyframes _autofill-start_1ltsl_1{}@keyframes _autofill-cancel_1ltsl_1{}
@@ -1 +0,0 @@
1
- ._Input_1vr20_1{outline:none;box-sizing:border-box;width:100%;border:none;padding:0;font-family:var(--rm-ui-font-family-medium),sans-serif;font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);color:var(--rm-ui-color-primary)}._Input_1vr20_1:hover{cursor:pointer}._Input_1vr20_1:disabled{opacity:.33}._Input_1vr20_1:disabled,._Input_1vr20_1:-webkit-autofill,._Input_1vr20_1:-webkit-autofill:hover,._Input_1vr20_1:-webkit-autofill:focus,._Input_1vr20_1:-webkit-autofill:active,._Input_1vr20_1:autofill,._Input_1vr20_1:autofill:hover,._Input_1vr20_1:autofill:focus,._Input_1vr20_1:autofill:active{background:transparent;transition:background 7200s ease-in-out 0s}._Input_1vr20_1:-webkit-autofill{animation-name:_autofill-start_1vr20_1;animation-duration:.1s;-webkit-text-fill-color:var(--rm-ui-color-primary)}._Input_1vr20_1:not(:-webkit-autofill){animation-name:_autofill-cancel_1vr20_1;animation-duration:.1s}@keyframes _autofill-start_1vr20_1{}@keyframes _autofill-cancel_1vr20_1{}
@@ -1 +0,0 @@
1
- ._Label_3yaik_1{font-family:var(--rm-ui-font-family-regular),sans-serif;transition:color .15s ease-out}._LabelPositionIdle_3yaik_6{font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body)}._LabelPositionActive_3yaik_11{font-size:var(--rm-ui-font-size-body-small);line-height:var(--rm-ui-line-height-body-small)}._LabelStateIdle_3yaik_16{color:var(--rm-ui-color-secondary)}._LabelStateError_3yaik_20{color:var(--rm-ui-color-error)}._LabelStateSuccess_3yaik_24{color:var(--rm-ui-color-success)}
@@ -1 +0,0 @@
1
- :root{--rm-ui-padding-xxs: 4px;--rm-ui-padding-xs: 8px;--rm-ui-padding-sm: 12px;--rm-ui-padding-md: 16px;--rm-ui-padding-lg: 24px;--rm-ui-padding-xl: 32px;--rm-ui-padding-xxl: 40px;--rm-ui-padding-xxxl: 48px;--rm-ui-border-radius-sm: 8px;--rm-ui-border-radius-md: 12px;--rm-ui-border-radius-lg: 16px;--rm-ui-border-radius-xl: 24px;--rm-ui-font-size-body-small: 14px;--rm-ui-line-height-body-small: 20px;--rm-ui-font-size-body: 16px;--rm-ui-line-height-body: 24px;--rm-ui-font-size-body-large: 20px;--rm-ui-line-height-body-large: 30px;--rm-ui-font-size-hl5: 14px;--rm-ui-line-height-hl5: 22px;--rm-ui-font-size-hl4: 18px;--rm-ui-line-height-hl4: 24px;--rm-ui-font-size-hl3: 20px;--rm-ui-line-height-hl3: 30px;--rm-ui-font-size-hl2: 24px;--rm-ui-line-height-hl2: 32px;--rm-ui-font-size-hl1: 28px;--rm-ui-line-height-hl1: 36px;--rm-ui-font-family-light: "Lato Light", sans-serif;--rm-ui-font-family-light-i: "Lato Light Italic", sans-serif;--rm-ui-font-family-regular: "Lato Regular", sans-serif;--rm-ui-font-family-regular-i: "Lato Regular Italic", sans-serif;--rm-ui-font-family-medium: "Lato Bold", sans-serif;--rm-ui-font-family-medium-i: "Lato Bold Italic", sans-serif;--rm-ui-font-family-bold: "Lato Black", sans-serif;--rm-ui-font-family-bold-i: "Lato Black Italic", sans-serif;--rm-ui-grey-950: #0a0a0a;--rm-ui-grey-900: #171717;--rm-ui-grey-800: #262626;--rm-ui-grey-700: #404040;--rm-ui-grey-600: #525252;--rm-ui-grey-500: #737373;--rm-ui-grey-400: #a3a3a3;--rm-ui-grey-300: #d4d4d4;--rm-ui-grey-200: #e5e5e5;--rm-ui-grey-100: #f5f5f5;--rm-ui-grey-50: #fafafa;--rm-ui-color-primary: var(--rm-ui-grey-800);--rm-ui-color-secondary: var(--rm-ui-grey-500);--rm-ui-color-accent-primary: #23bf96;--rm-ui-color-action: #006cff;--rm-ui-color-inverted: #ffffff;--rm-ui-color-error: #dc2626;--rm-ui-color-success: #00b649;--rm-ui-color-focus: #ff8d02;--rm-ui-color-link: #ff8206;--rm-ui-certifications-color: #b1b4c7;--rm-ui-certifications-size: 20px;--rm-ui-card-background: #ffffff;--rm-ui-next-btn-bg: #23bf96;--rm-ui-next-btn-bg-hover: #3adbb1}
@@ -1 +0,0 @@
1
- ._RadioText_8gt23_1{position:relative;display:flex;align-items:center;justify-content:center}._RadioTextSizeMd_8gt23_8{font-size:12px;line-height:14px}._RadioTextSizeLg_8gt23_13{font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body)}._RadioTextOneLine_8gt23_18,._RadioTextOneLine_8gt23_18 ._RadioTextContent_8gt23_19{white-space:nowrap}._RadioTextContent_8gt23_19{display:flex;align-items:center;justify-content:flex-start;color:var(--rm-ui-color-primary);text-align:left;white-space:pre-wrap}._RadioTextContent_8gt23_19[data-checked=false]{font-family:var(--rm-ui-font-family-regular),sans-serif}._RadioTextContent_8gt23_19[data-checked=true]{font-family:var(--rm-ui-font-family-medium),sans-serif}