mimir-ui-kit 1.9.0 → 1.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. package/README.md +62 -54
  2. package/dist/{NavigationButtons-cTsXB7GS.js → NavigationButtons-B8tMfqrg.js} +18 -18
  3. package/dist/assets/Button.css +1 -1
  4. package/dist/assets/Input.css +1 -1
  5. package/dist/assets/OtpInput.css +1 -1
  6. package/dist/assets/RadioGroup.css +1 -1
  7. package/dist/assets/Slider.css +1 -1
  8. package/dist/assets/index.css +1 -1
  9. package/dist/components/Button/Button.d.ts +1 -0
  10. package/dist/components/Button/Button.js +25 -25
  11. package/dist/components/Input/Input.d.ts +2 -2
  12. package/dist/components/Input/Input.js +15 -15
  13. package/dist/components/InputPassword/InputPassword.js +2 -2
  14. package/dist/components/InputPhoneNumber/InputPhoneNumber.js +1 -1
  15. package/dist/components/MergedButton/MergedButton.d.ts +1 -1
  16. package/dist/components/MergedButton/MergedButton.js +2 -2
  17. package/dist/components/OtpInput/OtpInput.js +6 -6
  18. package/dist/components/RadioGroup/RadioGroup.d.ts +2 -18
  19. package/dist/components/RadioGroup/RadioGroup.js +1061 -127
  20. package/dist/components/RadioGroup/index.d.ts +1 -1
  21. package/dist/components/Slider/NavigationButtons/NavigationButtons.js +1 -1
  22. package/dist/components/Slider/NavigationButtons/index.js +1 -1
  23. package/dist/components/Slider/Slider.js +10 -10
  24. package/dist/components/Tag/Tag.d.ts +79 -0
  25. package/dist/components/Tag/Tag.js +99 -0
  26. package/dist/components/Tag/constants.d.ts +41 -0
  27. package/dist/components/Tag/constants.js +55 -0
  28. package/dist/components/Tag/index.d.ts +3 -0
  29. package/dist/components/Tag/index.js +8 -0
  30. package/dist/components/Tag/types.d.ts +6 -0
  31. package/dist/components/Tag/types.js +1 -0
  32. package/dist/components/index.d.ts +1 -10
  33. package/dist/components/index.js +0 -14
  34. package/dist/hooks/index.d.ts +0 -3
  35. package/dist/hooks/index.js +1 -7
  36. package/dist/index.d.ts +0 -1
  37. package/dist/index.js +1 -23
  38. package/package.json +128 -127
  39. package/dist/DatePickerModal-DUUCHAWF.js +0 -204
  40. package/dist/assets/DatePickerModal.css +0 -1
  41. package/dist/assets/Drawer.css +0 -1
  42. package/dist/assets/SelectSearch.css +0 -1
  43. package/dist/assets/Switch.css +0 -1
  44. package/dist/assets/Timer.css +0 -1
  45. package/dist/components/DatePicker/DatePicker.d.ts +0 -44
  46. package/dist/components/DatePicker/DatePicker.js +0 -69
  47. package/dist/components/DatePicker/DatePickerModal.d.ts +0 -8
  48. package/dist/components/DatePicker/DatePickerModal.js +0 -9
  49. package/dist/components/DatePicker/constants.d.ts +0 -6
  50. package/dist/components/DatePicker/constants.js +0 -11
  51. package/dist/components/DatePicker/index.d.ts +0 -2
  52. package/dist/components/DatePicker/index.js +0 -4
  53. package/dist/components/Drawer/Drawer.d.ts +0 -38
  54. package/dist/components/Drawer/Drawer.js +0 -144
  55. package/dist/components/Drawer/constants.d.ts +0 -5
  56. package/dist/components/Drawer/constants.js +0 -9
  57. package/dist/components/Drawer/index.d.ts +0 -2
  58. package/dist/components/Drawer/index.js +0 -6
  59. package/dist/components/Portal/Portal.d.ts +0 -7
  60. package/dist/components/Portal/Portal.js +0 -10
  61. package/dist/components/Portal/index.d.ts +0 -1
  62. package/dist/components/Portal/index.js +0 -4
  63. package/dist/components/SelectSearch/SelectSearch.d.ts +0 -15
  64. package/dist/components/SelectSearch/SelectSearch.js +0 -3961
  65. package/dist/components/SelectSearch/constants.d.ts +0 -4
  66. package/dist/components/SelectSearch/constants.js +0 -8
  67. package/dist/components/SelectSearch/index.d.ts +0 -2
  68. package/dist/components/SelectSearch/index.js +0 -6
  69. package/dist/components/Switch/Switch.d.ts +0 -294
  70. package/dist/components/Switch/Switch.js +0 -57
  71. package/dist/components/Switch/index.d.ts +0 -2
  72. package/dist/components/Switch/index.js +0 -4
  73. package/dist/components/Timer/Timer.d.ts +0 -24
  74. package/dist/components/Timer/Timer.js +0 -29
  75. package/dist/components/Timer/index.d.ts +0 -1
  76. package/dist/components/Timer/index.js +0 -4
  77. package/dist/focus-management-CFDo6ZSc.js +0 -91
  78. package/dist/hooks/useClickOutside/index.d.ts +0 -1
  79. package/dist/hooks/useClickOutside/index.js +0 -4
  80. package/dist/hooks/useClickOutside/useClickOutside.d.ts +0 -7
  81. package/dist/hooks/useClickOutside/useClickOutside.js +0 -25
  82. package/dist/hooks/useInterval/index.d.ts +0 -1
  83. package/dist/hooks/useInterval/index.js +0 -4
  84. package/dist/hooks/useInterval/useInterval.d.ts +0 -1
  85. package/dist/hooks/useInterval/useInterval.js +0 -17
  86. package/dist/hooks/useLockBodyScroll/index.d.ts +0 -1
  87. package/dist/hooks/useLockBodyScroll/index.js +0 -4
  88. package/dist/hooks/useLockBodyScroll/useLockBodyScroll.d.ts +0 -6
  89. package/dist/hooks/useLockBodyScroll/useLockBodyScroll.js +0 -20
  90. package/dist/hooks/useTimer/index.d.ts +0 -18
  91. package/dist/hooks/useTimer/index.js +0 -83
  92. package/dist/hooks/useTimer/useTimer.d.ts +0 -18
  93. package/dist/hooks/useTimer/useTimer.js +0 -83
  94. package/dist/hooks/useTimer/utils.d.ts +0 -20
  95. package/dist/hooks/useTimer/utils.js +0 -78
  96. package/dist/label-BXAcSLy0.js +0 -913
  97. package/dist/use-active-press-9MCrfRZk.js +0 -31
  98. package/dist/utils/formating/Date.d.ts +0 -1
  99. package/dist/utils/formating/Date.js +0 -26
  100. package/dist/utils/formating/Month.d.ts +0 -8
  101. package/dist/utils/formating/Month.js +0 -80
  102. package/dist/utils/formating/Numbers.d.ts +0 -6
  103. package/dist/utils/formating/Numbers.js +0 -8
  104. package/dist/utils/index.d.ts +0 -9
  105. package/dist/utils/index.js +0 -11
@@ -1,2 +1,2 @@
1
1
  export { RadioGroup } from './RadioGroup';
2
- export type { TRadioOption, TRadioGroupProps } from './RadioGroup';
2
+ export type { TRadioOption } from './RadioGroup';
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { N } from "../../../NavigationButtons-cTsXB7GS.js";
3
+ import { N } from "../../../NavigationButtons-B8tMfqrg.js";
4
4
  import "../../MergedButton/MergedButton.js";
5
5
  export {
6
6
  N as NavigationButtons
@@ -1,4 +1,4 @@
1
- import { N } from "../../../NavigationButtons-cTsXB7GS.js";
1
+ import { N } from "../../../NavigationButtons-B8tMfqrg.js";
2
2
  export {
3
3
  N as NavigationButtons
4
4
  };
@@ -1,7 +1,7 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
- import { c as classNames } from "../../index-CweZ_OcN.js";
3
2
  import { useRef, useState, useCallback } from "react";
4
- import { g as getDocument, S as Swiper, N as NavigationButtons, a as SwiperSlide } from "../../NavigationButtons-cTsXB7GS.js";
3
+ import { c as classNames } from "../../index-CweZ_OcN.js";
4
+ import { g as getDocument, S as Swiper, N as NavigationButtons, a as SwiperSlide } from "../../NavigationButtons-B8tMfqrg.js";
5
5
  import { ProgressBar } from "./ProgressBar/ProgressBar.js";
6
6
  import { AppImage } from "../Image/Image.js";
7
7
  import '../../assets/Slider.css';function Autoplay(_ref) {
@@ -300,14 +300,14 @@ import '../../assets/Slider.css';function Autoplay(_ref) {
300
300
  resume
301
301
  });
302
302
  }
303
- const swiper = "_swiper_n7qq2_3";
304
- const slide = "_slide_n7qq2_9";
305
- const link = "_link_n7qq2_16";
306
- const image = "_image_n7qq2_22";
307
- const navigation = "_navigation_n7qq2_29";
308
- const pagination = "_pagination_n7qq2_39";
309
- const slides = "_slides_n7qq2_54";
310
- const separator = "_separator_n7qq2_60";
303
+ const swiper = "_swiper_1jb8j_3";
304
+ const slide = "_slide_1jb8j_9";
305
+ const link = "_link_1jb8j_16";
306
+ const image = "_image_1jb8j_22";
307
+ const navigation = "_navigation_1jb8j_29";
308
+ const pagination = "_pagination_1jb8j_39";
309
+ const slides = "_slides_1jb8j_54";
310
+ const separator = "_separator_1jb8j_60";
311
311
  const cls = {
312
312
  swiper,
313
313
  slide,
@@ -0,0 +1,79 @@
1
+ import { EStepsPrimaryColor, EStepsSecondaryColor } from './constants';
2
+ import { TCommonStepsProps } from './types';
3
+
4
+ export type TProps = TCommonStepsProps & {
5
+ /**
6
+ * Класс, применяемый к корневому элементу
7
+ */
8
+ rootClassName?: string;
9
+ /**
10
+ * Класс, применяемый к шагам
11
+ */
12
+ stepClassName?: string;
13
+ /**
14
+ * Количество шагов.
15
+ */
16
+ quantity: number;
17
+ /**
18
+ * Текущий шаг
19
+ */
20
+ current?: number;
21
+ /**
22
+ * Есть ли возможность переключать шаги по клику
23
+ */
24
+ editable?: boolean;
25
+ /**
26
+ * Обработчик клика на шаг
27
+ */
28
+ onClick?: (step: number) => void;
29
+ /**
30
+ * Отключено / включено взаимодействие с шагами
31
+ */
32
+ disabled?: boolean;
33
+ /**
34
+ * Цвет пройденных шагов
35
+ */
36
+ primaryColor?: EStepsPrimaryColor;
37
+ /**
38
+ * Цвет оставшихся шагов
39
+ */
40
+ secondaryColor?: EStepsSecondaryColor;
41
+ };
42
+ export declare const Steps: import('react').ForwardRefExoticComponent<TCommonStepsProps & {
43
+ /**
44
+ * Класс, применяемый к корневому элементу
45
+ */
46
+ rootClassName?: string;
47
+ /**
48
+ * Класс, применяемый к шагам
49
+ */
50
+ stepClassName?: string;
51
+ /**
52
+ * Количество шагов.
53
+ */
54
+ quantity: number;
55
+ /**
56
+ * Текущий шаг
57
+ */
58
+ current?: number;
59
+ /**
60
+ * Есть ли возможность переключать шаги по клику
61
+ */
62
+ editable?: boolean;
63
+ /**
64
+ * Обработчик клика на шаг
65
+ */
66
+ onClick?: (step: number) => void;
67
+ /**
68
+ * Отключено / включено взаимодействие с шагами
69
+ */
70
+ disabled?: boolean;
71
+ /**
72
+ * Цвет пройденных шагов
73
+ */
74
+ primaryColor?: EStepsPrimaryColor;
75
+ /**
76
+ * Цвет оставшихся шагов
77
+ */
78
+ secondaryColor?: EStepsSecondaryColor;
79
+ } & import('react').RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,99 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { c as classNames } from "../../index-CweZ_OcN.js";
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";
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";
18
+ const cls = {
19
+ container,
20
+ step,
21
+ editable,
22
+ PRIMARY,
23
+ GRAY,
24
+ CITRINE,
25
+ SAPPHIRE,
26
+ SECONDARY,
27
+ WHITE,
28
+ LIGHT_SAPPHIRE,
29
+ LIGHT_GRAY,
30
+ disabled
31
+ };
32
+ const Steps = forwardRef(
33
+ (props, ref) => {
34
+ const {
35
+ rootClassName,
36
+ stepClassName,
37
+ quantity,
38
+ current = ZERO_STEP,
39
+ editable: editable2 = false,
40
+ size = EStepsSize.M,
41
+ onClick,
42
+ disabled: disabled2 = false,
43
+ primaryColor = EStepsPrimaryColor.CITRINE,
44
+ secondaryColor = EStepsPrimaryColor.GRAY
45
+ } = props;
46
+ const idPrefix = useId();
47
+ const [step2, setStep] = useState(current);
48
+ const [hoveredStep, setHoveredStep] = useState(null);
49
+ const stepWasChangedRef = useRef(null);
50
+ useEffect(() => {
51
+ setStep(current);
52
+ }, [current]);
53
+ const handleClick = (idx) => {
54
+ const clickedStep = idx + DIFF_BETWEEN_STEP_AND_INDEX;
55
+ stepWasChangedRef.current = true;
56
+ setStep(clickedStep !== step2 ? clickedStep : ZERO_STEP);
57
+ };
58
+ useEffect(() => {
59
+ if (stepWasChangedRef.current === true) {
60
+ onClick && onClick(step2);
61
+ stepWasChangedRef.current = false;
62
+ }
63
+ }, [onClick, step2]);
64
+ const handleMouseEnter = (evt) => {
65
+ const hoveredIdx = Number(evt.currentTarget.id.split(ID_SEPARATOR)[1]);
66
+ setHoveredStep(hoveredIdx);
67
+ };
68
+ const handleMouseLeave = () => {
69
+ setHoveredStep(null);
70
+ };
71
+ 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);
74
+ return /* @__PURE__ */ jsx(
75
+ "button",
76
+ {
77
+ id: `${idPrefix}${ID_SEPARATOR}${idx}`,
78
+ 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
85
+ }),
86
+ onClick: () => handleClick(idx),
87
+ onMouseEnter: handleMouseEnter,
88
+ onMouseLeave: handleMouseLeave,
89
+ children: /* @__PURE__ */ jsx(Icon, { iconName: "Step", ...StepSize[size] })
90
+ },
91
+ idx
92
+ );
93
+ });
94
+ return /* @__PURE__ */ jsx("div", { className: classNames(cls.container, rootClassName), ref, children: buttons });
95
+ }
96
+ );
97
+ export {
98
+ Steps
99
+ };
@@ -0,0 +1,41 @@
1
+ export declare const ZERO_STEP = 0;
2
+ export declare const DIFF_BETWEEN_STEP_AND_INDEX = 1;
3
+ export declare const ID_SEPARATOR = "-//-";
4
+ export declare enum EStepsSize {
5
+ XS = "XS",
6
+ S = "S",
7
+ M = "M",
8
+ L = "L"
9
+ }
10
+ export declare const StepSize: {
11
+ XS: {
12
+ width: number;
13
+ height: number;
14
+ };
15
+ S: {
16
+ width: number;
17
+ height: number;
18
+ };
19
+ M: {
20
+ width: number;
21
+ height: number;
22
+ };
23
+ L: {
24
+ width: number;
25
+ height: number;
26
+ };
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"
41
+ }
@@ -0,0 +1,55 @@
1
+ const ZERO_STEP = 0;
2
+ const DIFF_BETWEEN_STEP_AND_INDEX = 1;
3
+ const ID_SEPARATOR = "-//-";
4
+ var EStepsSize = /* @__PURE__ */ ((EStepsSize2) => {
5
+ EStepsSize2["XS"] = "XS";
6
+ EStepsSize2["S"] = "S";
7
+ EStepsSize2["M"] = "M";
8
+ EStepsSize2["L"] = "L";
9
+ return EStepsSize2;
10
+ })(EStepsSize || {});
11
+ const StepSize = {
12
+ XS: {
13
+ width: 19,
14
+ height: 8
15
+ },
16
+ S: {
17
+ width: 36,
18
+ height: 12
19
+ },
20
+ M: {
21
+ width: 48,
22
+ height: 21
23
+ },
24
+ L: {
25
+ width: 64,
26
+ height: 28
27
+ }
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 || {});
46
+ export {
47
+ DIFF_BETWEEN_STEP_AND_INDEX,
48
+ EStepsColorType,
49
+ EStepsPrimaryColor,
50
+ EStepsSecondaryColor,
51
+ EStepsSize,
52
+ ID_SEPARATOR,
53
+ StepSize,
54
+ ZERO_STEP
55
+ };
@@ -0,0 +1,3 @@
1
+ export { Steps } from './Tag';
2
+ export { EStepsPrimaryColor, EStepsSecondaryColor, EStepsSize } from './constants';
3
+ export type { TCommonStepsProps } from './types';
@@ -0,0 +1,8 @@
1
+ import { Steps } from "./Tag.js";
2
+ import { EStepsPrimaryColor, EStepsSecondaryColor, EStepsSize } from "./constants.js";
3
+ export {
4
+ EStepsPrimaryColor,
5
+ EStepsSecondaryColor,
6
+ EStepsSize,
7
+ Steps
8
+ };
@@ -0,0 +1,6 @@
1
+ import { EStepsSize } from './constants';
2
+
3
+ export type TSize = `${EStepsSize}` | EStepsSize;
4
+ export type TCommonStepsProps = {
5
+ size?: TSize;
6
+ };
@@ -0,0 +1 @@
1
+
@@ -6,21 +6,12 @@ export type { TInputPasswordProps } from './InputPassword';
6
6
  export { InputPhoneNumber, getMaskedInputPhoneValue, getUnmaskedInputValue } from './InputPhoneNumber';
7
7
  export { OtpInput } from './OtpInput';
8
8
  export { RadioGroup } from './RadioGroup';
9
- export type { TRadioOption, TRadioGroupProps } from './RadioGroup';
10
- export { DatePicker } from './DatePicker';
11
- export type { TDatePickerProps, TDatePickerValue } from './DatePicker';
9
+ export type { TRadioOption } from './RadioGroup';
12
10
  export { MergedButton } from './MergedButton';
13
11
  export { EMergedButtonVariantRound } from './MergedButton';
14
12
  export type { TButtonPropsWithoutStyles } from './MergedButton';
15
13
  export { Image } from './Image';
16
14
  export { Loader } from './Loader';
17
15
  export { Slider } from './Slider';
18
- export { Drawer } from './Drawer';
19
- export { EDrawerPosition } from './Drawer';
20
16
  export { Steps, EStepsPrimaryColor, EStepsSecondaryColor, EStepsSize, type TCommonStepsProps } from './Steps';
21
17
  export { Vote, EVoteSize, type TCommonVoteProps } from './Vote';
22
- export { SelectSearch, ESelectSearchSize } from './SelectSearch';
23
- export type { TSelectSearchItem, TSelectSearchProps } from './SelectSearch';
24
- export { Switch } from './Switch';
25
- export type { TSwitchProps } from './Switch';
26
- export { Timer } from './Timer';
@@ -7,35 +7,24 @@ import { InputPhoneNumber } from "./InputPhoneNumber/InputPhoneNumber.js";
7
7
  import { getMaskedInputPhoneValue, getUnmaskedInputValue } from "./InputPhoneNumber/utils.js";
8
8
  import { OtpInput } from "./OtpInput/OtpInput.js";
9
9
  import { RadioGroup } from "./RadioGroup/RadioGroup.js";
10
- import { DatePicker } from "./DatePicker/DatePicker.js";
11
10
  import { MergedButton } from "./MergedButton/MergedButton.js";
12
11
  import { EMergedButtonVariantRound } from "./MergedButton/constants.js";
13
12
  import { AppImage } from "./Image/Image.js";
14
13
  import { Loader } from "./Loader/Loader.js";
15
14
  import { Slider } from "./Slider/Slider.js";
16
- import { Drawer } from "./Drawer/Drawer.js";
17
- import { EDrawerPosition } from "./Drawer/constants.js";
18
15
  import { Steps } from "./Steps/Steps.js";
19
16
  import { EStepsPrimaryColor, EStepsSecondaryColor, EStepsSize } from "./Steps/constants.js";
20
17
  import { Vote } from "./Vote/Vote.js";
21
18
  import { EVoteSize } from "./Vote/constants.js";
22
- import { SelectSearch } from "./SelectSearch/SelectSearch.js";
23
- import { ESelectSearchSize } from "./SelectSearch/constants.js";
24
- import { Switch } from "./Switch/Switch.js";
25
- import { Timer } from "./Timer/Timer.js";
26
19
  export {
27
20
  Button,
28
- DatePicker,
29
- Drawer,
30
21
  EButtonForm,
31
22
  EButtonSize,
32
23
  EButtonVariantDefault,
33
24
  EButtonVariantRound,
34
- EDrawerPosition,
35
25
  EInputSize,
36
26
  EInputVariant,
37
27
  EMergedButtonVariantRound,
38
- ESelectSearchSize,
39
28
  EStepsPrimaryColor,
40
29
  EStepsSecondaryColor,
41
30
  EStepsSize,
@@ -48,11 +37,8 @@ export {
48
37
  MergedButton,
49
38
  OtpInput,
50
39
  RadioGroup,
51
- SelectSearch,
52
40
  Slider,
53
41
  Steps,
54
- Switch,
55
- Timer,
56
42
  Vote,
57
43
  getMaskedInputPhoneValue,
58
44
  getUnmaskedInputValue
@@ -1,4 +1 @@
1
1
  export { useMediaQuery, EMediaQuery } from './useMediaQuery';
2
- export { useLockBodyScroll } from './useLockBodyScroll';
3
- export { useInterval } from './useInterval';
4
- export { useTimer } from './useTimer';
@@ -1,12 +1,6 @@
1
1
  import { useMediaQuery } from "./useMediaQuery/useMediaQuery.js";
2
2
  import { EMediaQuery } from "./useMediaQuery/constants.js";
3
- import { useLockBodyScroll } from "./useLockBodyScroll/useLockBodyScroll.js";
4
- import { useInterval } from "./useInterval/useInterval.js";
5
- import { useTimer } from "./useTimer/index.js";
6
3
  export {
7
4
  EMediaQuery,
8
- useInterval,
9
- useLockBodyScroll,
10
- useMediaQuery,
11
- useTimer
5
+ useMediaQuery
12
6
  };
package/dist/index.d.ts CHANGED
@@ -2,4 +2,3 @@
2
2
  export * from './components';
3
3
  export * from './hooks';
4
4
  export * from './icons';
5
- export * from './utils';
package/dist/index.js CHANGED
@@ -7,43 +7,28 @@ import { InputPhoneNumber } from "./components/InputPhoneNumber/InputPhoneNumber
7
7
  import { getMaskedInputPhoneValue, getUnmaskedInputValue } from "./components/InputPhoneNumber/utils.js";
8
8
  import { OtpInput } from "./components/OtpInput/OtpInput.js";
9
9
  import { RadioGroup } from "./components/RadioGroup/RadioGroup.js";
10
- import { DatePicker } from "./components/DatePicker/DatePicker.js";
11
10
  import { MergedButton } from "./components/MergedButton/MergedButton.js";
12
11
  import { EMergedButtonVariantRound } from "./components/MergedButton/constants.js";
13
12
  import { AppImage } from "./components/Image/Image.js";
14
13
  import { Loader } from "./components/Loader/Loader.js";
15
14
  import { Slider } from "./components/Slider/Slider.js";
16
- import { Drawer } from "./components/Drawer/Drawer.js";
17
- import { EDrawerPosition } from "./components/Drawer/constants.js";
18
15
  import { Steps } from "./components/Steps/Steps.js";
19
16
  import { EStepsPrimaryColor, EStepsSecondaryColor, EStepsSize } from "./components/Steps/constants.js";
20
17
  import { Vote } from "./components/Vote/Vote.js";
21
18
  import { EVoteSize } from "./components/Vote/constants.js";
22
- import { SelectSearch } from "./components/SelectSearch/SelectSearch.js";
23
- import { ESelectSearchSize } from "./components/SelectSearch/constants.js";
24
- import { Switch } from "./components/Switch/Switch.js";
25
- import { Timer } from "./components/Timer/Timer.js";
26
19
  import { useMediaQuery } from "./hooks/useMediaQuery/useMediaQuery.js";
27
20
  import { EMediaQuery } from "./hooks/useMediaQuery/constants.js";
28
- import { useLockBodyScroll } from "./hooks/useLockBodyScroll/useLockBodyScroll.js";
29
- import { useInterval } from "./hooks/useInterval/useInterval.js";
30
- import { useTimer } from "./hooks/useTimer/index.js";
31
21
  import { Icon } from "./icons/Icon.js";
32
- import { formating } from "./utils/index.js";
33
22
  import './assets/index.css';export {
34
23
  Button,
35
- DatePicker,
36
- Drawer,
37
24
  EButtonForm,
38
25
  EButtonSize,
39
26
  EButtonVariantDefault,
40
27
  EButtonVariantRound,
41
- EDrawerPosition,
42
28
  EInputSize,
43
29
  EInputVariant,
44
30
  EMediaQuery,
45
31
  EMergedButtonVariantRound,
46
- ESelectSearchSize,
47
32
  EStepsPrimaryColor,
48
33
  EStepsSecondaryColor,
49
34
  EStepsSize,
@@ -57,17 +42,10 @@ import './assets/index.css';export {
57
42
  MergedButton,
58
43
  OtpInput,
59
44
  RadioGroup,
60
- SelectSearch,
61
45
  Slider,
62
46
  Steps,
63
- Switch,
64
- Timer,
65
47
  Vote,
66
- formating,
67
48
  getMaskedInputPhoneValue,
68
49
  getUnmaskedInputValue,
69
- useInterval,
70
- useLockBodyScroll,
71
- useMediaQuery,
72
- useTimer
50
+ useMediaQuery
73
51
  };