mimir-ui-kit 1.4.1 → 1.5.0

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 (50) hide show
  1. package/README.md +1 -1
  2. package/dist/{NavigationButtons-B8tMfqrg.js → NavigationButtons-cTsXB7GS.js} +18 -18
  3. package/dist/assets/Button.css +1 -1
  4. package/dist/assets/OtpInput.css +1 -1
  5. package/dist/assets/RadioGroup.css +1 -1
  6. package/dist/assets/SelectSearch.css +1 -0
  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 +24 -24
  11. package/dist/components/Input/Input.js +1 -1
  12. package/dist/components/InputPassword/InputPassword.js +2 -2
  13. package/dist/components/InputPhoneNumber/InputPhoneNumber.js +1 -1
  14. package/dist/components/MergedButton/MergedButton.d.ts +1 -1
  15. package/dist/components/MergedButton/MergedButton.js +2 -2
  16. package/dist/components/OtpInput/OtpInput.js +6 -6
  17. package/dist/components/RadioGroup/RadioGroup.js +78 -1019
  18. package/dist/components/SelectSearch/SelectSearch.d.ts +21 -0
  19. package/dist/components/SelectSearch/SelectSearch.js +3989 -0
  20. package/dist/components/SelectSearch/constants.d.ts +4 -0
  21. package/dist/components/SelectSearch/constants.js +8 -0
  22. package/dist/components/SelectSearch/index.d.ts +2 -0
  23. package/dist/components/SelectSearch/index.js +6 -0
  24. package/dist/components/SelectSearch/types.d.ts +17 -0
  25. package/dist/components/SelectSearch/types.js +1 -0
  26. package/dist/components/Slider/NavigationButtons/NavigationButtons.js +1 -1
  27. package/dist/components/Slider/NavigationButtons/index.js +1 -1
  28. package/dist/components/Slider/Slider.js +10 -10
  29. package/dist/components/index.d.ts +0 -2
  30. package/dist/components/index.js +0 -4
  31. package/dist/focus-management-4cCSLNHi.js +1000 -0
  32. package/dist/hooks/index.d.ts +0 -1
  33. package/dist/hooks/index.js +0 -2
  34. package/dist/index.js +0 -6
  35. package/package.json +1 -1
  36. package/dist/assets/Drawer.css +0 -1
  37. package/dist/components/Drawer/Drawer.d.ts +0 -38
  38. package/dist/components/Drawer/Drawer.js +0 -144
  39. package/dist/components/Drawer/constants.d.ts +0 -5
  40. package/dist/components/Drawer/constants.js +0 -9
  41. package/dist/components/Drawer/index.d.ts +0 -2
  42. package/dist/components/Drawer/index.js +0 -6
  43. package/dist/components/Portal/Portal.d.ts +0 -7
  44. package/dist/components/Portal/Portal.js +0 -10
  45. package/dist/components/Portal/index.d.ts +0 -1
  46. package/dist/components/Portal/index.js +0 -4
  47. package/dist/hooks/useLockBodyScroll/index.d.ts +0 -1
  48. package/dist/hooks/useLockBodyScroll/index.js +0 -4
  49. package/dist/hooks/useLockBodyScroll/useLockBodyScroll.d.ts +0 -6
  50. package/dist/hooks/useLockBodyScroll/useLockBodyScroll.js +0 -20
@@ -0,0 +1,4 @@
1
+ export declare enum ESelectSearchSize {
2
+ L = "l",
3
+ XXL = "xxl"
4
+ }
@@ -0,0 +1,8 @@
1
+ var ESelectSearchSize = /* @__PURE__ */ ((ESelectSearchSize2) => {
2
+ ESelectSearchSize2["L"] = "l";
3
+ ESelectSearchSize2["XXL"] = "xxl";
4
+ return ESelectSearchSize2;
5
+ })(ESelectSearchSize || {});
6
+ export {
7
+ ESelectSearchSize
8
+ };
@@ -0,0 +1,2 @@
1
+ export { SelectSearch } from './SelectSearch';
2
+ export { ESelectSearchSize } from './constants';
@@ -0,0 +1,6 @@
1
+ import { SelectSearch } from "./SelectSearch.js";
2
+ import { ESelectSearchSize } from "./constants.js";
3
+ export {
4
+ ESelectSearchSize,
5
+ SelectSearch
6
+ };
@@ -0,0 +1,17 @@
1
+ import { ESelectSearchSize } from './constants';
2
+
3
+ export type TSelectSearchItem = {
4
+ id: number;
5
+ name: string;
6
+ };
7
+ export type TSelectSearchProps = {
8
+ items: TSelectSearchItem[];
9
+ value?: TSelectSearchItem | null;
10
+ onChange?: (value: TSelectSearchItem | null) => void;
11
+ placeholder?: string;
12
+ size?: TSelectSearchSize;
13
+ full?: boolean;
14
+ };
15
+ export type TSelectSearchSize = {
16
+ size?: ESelectSearchSize;
17
+ };
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { N } from "../../../NavigationButtons-B8tMfqrg.js";
3
+ import { N } from "../../../NavigationButtons-cTsXB7GS.js";
4
4
  import "../../MergedButton/MergedButton.js";
5
5
  export {
6
6
  N as NavigationButtons
@@ -1,4 +1,4 @@
1
- import { N } from "../../../NavigationButtons-B8tMfqrg.js";
1
+ import { N } from "../../../NavigationButtons-cTsXB7GS.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 { useRef, useState, useCallback } from "react";
3
2
  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";
3
+ import { useRef, useState, useCallback } from "react";
4
+ import { g as getDocument, S as Swiper, N as NavigationButtons, a as SwiperSlide } from "../../NavigationButtons-cTsXB7GS.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_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";
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";
311
311
  const cls = {
312
312
  swiper,
313
313
  slide,
@@ -13,7 +13,5 @@ export type { TButtonPropsWithoutStyles } from './MergedButton';
13
13
  export { Image } from './Image';
14
14
  export { Loader } from './Loader';
15
15
  export { Slider } from './Slider';
16
- export { Drawer } from './Drawer';
17
- export { EDrawerPosition } from './Drawer';
18
16
  export { Steps, EStepsPrimaryColor, EStepsSecondaryColor, EStepsSize, type TCommonStepsProps } from './Steps';
19
17
  export { Vote, EVoteSize, type TCommonVoteProps } from './Vote';
@@ -12,20 +12,16 @@ import { EMergedButtonVariantRound } from "./MergedButton/constants.js";
12
12
  import { AppImage } from "./Image/Image.js";
13
13
  import { Loader } from "./Loader/Loader.js";
14
14
  import { Slider } from "./Slider/Slider.js";
15
- import { Drawer } from "./Drawer/Drawer.js";
16
- import { EDrawerPosition } from "./Drawer/constants.js";
17
15
  import { Steps } from "./Steps/Steps.js";
18
16
  import { EStepsPrimaryColor, EStepsSecondaryColor, EStepsSize } from "./Steps/constants.js";
19
17
  import { Vote } from "./Vote/Vote.js";
20
18
  import { EVoteSize } from "./Vote/constants.js";
21
19
  export {
22
20
  Button,
23
- Drawer,
24
21
  EButtonForm,
25
22
  EButtonSize,
26
23
  EButtonVariantDefault,
27
24
  EButtonVariantRound,
28
- EDrawerPosition,
29
25
  EInputSize,
30
26
  EInputVariant,
31
27
  EMergedButtonVariantRound,