mimir-ui-kit 1.4.1 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -1
- package/dist/{NavigationButtons-B8tMfqrg.js → NavigationButtons-cTsXB7GS.js} +18 -18
- package/dist/assets/Button.css +1 -1
- package/dist/assets/OtpInput.css +1 -1
- package/dist/assets/RadioGroup.css +1 -1
- package/dist/assets/SelectSearch.css +1 -0
- package/dist/assets/Slider.css +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/components/Button/Button.d.ts +1 -0
- package/dist/components/Button/Button.js +24 -24
- package/dist/components/Input/Input.js +1 -1
- package/dist/components/InputPassword/InputPassword.js +2 -2
- package/dist/components/InputPhoneNumber/InputPhoneNumber.js +1 -1
- package/dist/components/MergedButton/MergedButton.d.ts +1 -1
- package/dist/components/MergedButton/MergedButton.js +2 -2
- package/dist/components/OtpInput/OtpInput.js +6 -6
- package/dist/components/RadioGroup/RadioGroup.js +78 -1019
- package/dist/components/SelectSearch/SelectSearch.d.ts +21 -0
- package/dist/components/SelectSearch/SelectSearch.js +3989 -0
- package/dist/components/SelectSearch/constants.d.ts +4 -0
- package/dist/components/SelectSearch/constants.js +8 -0
- package/dist/components/SelectSearch/index.d.ts +3 -0
- package/dist/components/SelectSearch/index.js +6 -0
- package/dist/components/SelectSearch/types.d.ts +17 -0
- package/dist/components/SelectSearch/types.js +1 -0
- package/dist/components/Slider/NavigationButtons/NavigationButtons.js +1 -1
- package/dist/components/Slider/NavigationButtons/index.js +1 -1
- package/dist/components/Slider/Slider.js +10 -10
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.js +4 -4
- package/dist/focus-management-4cCSLNHi.js +1000 -0
- package/dist/hooks/index.d.ts +0 -1
- package/dist/hooks/index.js +0 -2
- package/dist/index.js +4 -6
- package/package.json +1 -1
- package/dist/assets/Drawer.css +0 -1
- package/dist/components/Drawer/Drawer.d.ts +0 -38
- package/dist/components/Drawer/Drawer.js +0 -144
- package/dist/components/Drawer/constants.d.ts +0 -5
- package/dist/components/Drawer/constants.js +0 -9
- package/dist/components/Drawer/index.d.ts +0 -2
- package/dist/components/Drawer/index.js +0 -6
- package/dist/components/Portal/Portal.d.ts +0 -7
- package/dist/components/Portal/Portal.js +0 -10
- package/dist/components/Portal/index.d.ts +0 -1
- package/dist/components/Portal/index.js +0 -4
- package/dist/hooks/useLockBodyScroll/index.d.ts +0 -1
- package/dist/hooks/useLockBodyScroll/index.js +0 -4
- package/dist/hooks/useLockBodyScroll/useLockBodyScroll.d.ts +0 -6
- package/dist/hooks/useLockBodyScroll/useLockBodyScroll.js +0 -20
@@ -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
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
|
@@ -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 {
|
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 = "
|
304
|
-
const slide = "
|
305
|
-
const link = "
|
306
|
-
const image = "
|
307
|
-
const navigation = "
|
308
|
-
const pagination = "
|
309
|
-
const slides = "
|
310
|
-
const separator = "
|
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,7 @@ 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';
|
18
|
+
export { SelectSearch, ESelectSearchSize } from './SelectSearch';
|
19
|
+
export type { TSelectSearchItem, TSelectSearchProps, TSelectSearchSize } from './SelectSearch';
|
package/dist/components/index.js
CHANGED
@@ -12,23 +12,22 @@ 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";
|
19
|
+
import { SelectSearch } from "./SelectSearch/SelectSearch.js";
|
20
|
+
import { ESelectSearchSize } from "./SelectSearch/constants.js";
|
21
21
|
export {
|
22
22
|
Button,
|
23
|
-
Drawer,
|
24
23
|
EButtonForm,
|
25
24
|
EButtonSize,
|
26
25
|
EButtonVariantDefault,
|
27
26
|
EButtonVariantRound,
|
28
|
-
EDrawerPosition,
|
29
27
|
EInputSize,
|
30
28
|
EInputVariant,
|
31
29
|
EMergedButtonVariantRound,
|
30
|
+
ESelectSearchSize,
|
32
31
|
EStepsPrimaryColor,
|
33
32
|
EStepsSecondaryColor,
|
34
33
|
EStepsSize,
|
@@ -41,6 +40,7 @@ export {
|
|
41
40
|
MergedButton,
|
42
41
|
OtpInput,
|
43
42
|
RadioGroup,
|
43
|
+
SelectSearch,
|
44
44
|
Slider,
|
45
45
|
Steps,
|
46
46
|
Vote,
|