mimir-ui-kit 1.36.0 → 1.36.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.js +48 -44
- package/dist/index.js +49 -45
- package/package.json +1 -1
@@ -58,3 +58,6 @@ export { TwinSwitcher } from './TwinSwitcher';
|
|
58
58
|
export { ESkeletonVariant, SkeletonBrick, SkeletonCircle, SkeletonText } from './Skeleton';
|
59
59
|
export { Avatar, EAvatarSize } from './Avatar';
|
60
60
|
export type { TAvatarProps, TAvatarSize } from './Avatar';
|
61
|
+
export { MultiSelectSearch } from './MultiSelectSearch';
|
62
|
+
export type { TMultiSelectSearchProps, TMultiSelectOption } from './MultiSelectSearch';
|
63
|
+
export { EMultiSelectSearchSize } from './MultiSelectSearch';
|
package/dist/components/index.js
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
import { Button as e } from "./Button/Button.js";
|
2
|
-
import { EButtonForm as p, EButtonSize as a, EButtonVariantBorderless as
|
3
|
-
import { I as
|
4
|
-
import { EInputSize as u, EInputStatus as
|
2
|
+
import { EButtonForm as p, EButtonSize as a, EButtonVariantBorderless as i, EButtonVariantDefault as m, EButtonVariantOutline as f, EButtonVariantRound as x } from "./Button/constants.js";
|
3
|
+
import { I as S } from "../Input-DlGNMuUD.js";
|
4
|
+
import { EInputSize as u, EInputStatus as l, EInputVariant as s } from "./Input/constants.js";
|
5
5
|
import { TextArea as c } from "./TextArea/TextArea.js";
|
6
6
|
import { InputPassword as I } from "./InputPassword/InputPassword.js";
|
7
7
|
import { InputPhoneNumber as k } from "./InputPhoneNumber/InputPhoneNumber.js";
|
8
|
-
import { getMaskedInputPhoneValue as
|
8
|
+
import { getMaskedInputPhoneValue as B, getUnmaskedInputValue as V } from "./InputPhoneNumber/utils.js";
|
9
9
|
import { OtpInput as P } from "./OtpInput/OtpInput.js";
|
10
10
|
import { RadioGroup as U } from "./RadioGroup/RadioGroup.js";
|
11
11
|
import { DatePicker as C } from "./DatePicker/DatePicker.js";
|
12
|
-
import { MergedButton as
|
13
|
-
import { EMergedButtonVariantRound as
|
14
|
-
import { AppImage as
|
12
|
+
import { MergedButton as R } from "./MergedButton/MergedButton.js";
|
13
|
+
import { EMergedButtonVariantRound as L } from "./MergedButton/constants.js";
|
14
|
+
import { AppImage as D } from "./Image/Image.js";
|
15
15
|
import { Loader as y } from "./Loader/Loader.js";
|
16
16
|
import { Slider as Z } from "./Slider/index.js";
|
17
17
|
import { Drawer as O } from "./Drawer/Drawer.js";
|
@@ -23,20 +23,20 @@ import { EVoteSize as $ } from "./Vote/constants.js";
|
|
23
23
|
import { SelectSearch as ro } from "./SelectSearch/SelectSearch.js";
|
24
24
|
import { ESelectSearchSize as to } from "./SelectSearch/constants.js";
|
25
25
|
import { CheckboxMimir as ao } from "./CheckboxMimir/CheckboxMimir.js";
|
26
|
-
import { Tag as
|
26
|
+
import { Tag as mo } from "./Tag/Tag.js";
|
27
27
|
import { ETagSize as xo, ETagType as no } from "./Tag/constants.js";
|
28
|
-
import { Timer as
|
29
|
-
import { Accordion as
|
28
|
+
import { Timer as Eo } from "./Timer/Timer.js";
|
29
|
+
import { Accordion as lo } from "./Accordion/Accordion.js";
|
30
30
|
import { EAccordionSize as co } from "./Accordion/constants.js";
|
31
31
|
import { AccordionItem as Io } from "./Accordion/AccordionItem/AccordionItem.js";
|
32
32
|
import { TabTrail as ko } from "./TabTrail/TabTrail.js";
|
33
|
-
import { ETabTrailSize as
|
33
|
+
import { ETabTrailSize as Bo } from "./TabTrail/constants.js";
|
34
34
|
import { Pagination as ho } from "./Pagination/Pagination.js";
|
35
35
|
import { ToastProvider as Ao } from "./Toasts/ToastsProvider.js";
|
36
36
|
import { useToast as wo } from "./Toasts/hooks.js";
|
37
|
-
import { EToastPosition as
|
38
|
-
import { UploaderPhotos as
|
39
|
-
import { UploaderFiles as
|
37
|
+
import { EToastPosition as Mo, EToastVariant as Ro } from "./Toasts/constants.js";
|
38
|
+
import { UploaderPhotos as Lo } from "./UploaderPhotos/UploaderPhotos.js";
|
39
|
+
import { UploaderFiles as Do } from "./UploaderFiles/UploaderFiles.js";
|
40
40
|
import { Uploader as yo } from "./Uploader/Uploader.js";
|
41
41
|
import { Link as Zo } from "./AnchorLink/Link.js";
|
42
42
|
import { ELinkSize as Oo, ELinkVariant as jo } from "./AnchorLink/constants.js";
|
@@ -47,20 +47,22 @@ import { EChipSize as Yo, EChipVariant as _o } from "./Chip/constants.js";
|
|
47
47
|
import { UniversalUploader as or } from "./UniversalUploader/UniversalUploader.js";
|
48
48
|
import { EUploaderType as er } from "./UniversalUploader/constants.js";
|
49
49
|
import { InputRangeSlider as pr } from "./InputRangeSlider/InputRangeSlider.js";
|
50
|
-
import { EInputRangeSliderBorderState as
|
50
|
+
import { EInputRangeSliderBorderState as ir, EInputRangeSliderPositions as mr } from "./InputRangeSlider/constants.js";
|
51
51
|
import { GosZnak as xr } from "./GosZnak/GosZnak.js";
|
52
|
-
import { EGosZnakSize as
|
53
|
-
import { Switcher as
|
52
|
+
import { EGosZnakSize as Sr, EGosZnakType as Er } from "./GosZnak/constants.js";
|
53
|
+
import { Switcher as lr } from "./Switcher/Switcher.js";
|
54
54
|
import { ELabelPositions as dr } from "./Switcher/constants.js";
|
55
55
|
import { TwinSwitcher as Tr } from "./TwinSwitcher/TwinSwitcher.js";
|
56
56
|
import { SkeletonBrick as gr } from "./Skeleton/SkeletonBrick/SkeletonBrick.js";
|
57
|
-
import { SkeletonText as
|
58
|
-
import { SkeletonCircle as
|
57
|
+
import { SkeletonText as zr } from "./Skeleton/SkeletonText/SkeletonText.js";
|
58
|
+
import { SkeletonCircle as Vr } from "./Skeleton/SkeletonCircle/SkeletonCircle.js";
|
59
59
|
import { ESkeletonVariant as Pr } from "./Skeleton/constants.js";
|
60
60
|
import { Avatar as Ur } from "./Avatar/Avatar.js";
|
61
61
|
import { EAvatarSize as Cr } from "./Avatar/constants.js";
|
62
|
+
import { MultiSelectSearch as Rr } from "./MultiSelectSearch/MultiSelectSearch.js";
|
63
|
+
import { EMultiSelectSearchSize as Lr } from "./MultiSelectSearch/constants.js";
|
62
64
|
export {
|
63
|
-
|
65
|
+
lo as Accordion,
|
64
66
|
Io as AccordionItem,
|
65
67
|
Ur as Avatar,
|
66
68
|
e as Button,
|
@@ -72,68 +74,70 @@ export {
|
|
72
74
|
Cr as EAvatarSize,
|
73
75
|
p as EButtonForm,
|
74
76
|
a as EButtonSize,
|
75
|
-
|
76
|
-
|
77
|
+
i as EButtonVariantBorderless,
|
78
|
+
m as EButtonVariantDefault,
|
77
79
|
f as EButtonVariantOutline,
|
78
80
|
x as EButtonVariantRound,
|
79
81
|
Yo as EChipSize,
|
80
82
|
_o as EChipVariant,
|
81
83
|
q as EDrawerPosition,
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
84
|
+
Sr as EGosZnakSize,
|
85
|
+
Er as EGosZnakType,
|
86
|
+
ir as EInputRangeSliderBorderState,
|
87
|
+
mr as EInputRangeSliderPositions,
|
86
88
|
u as EInputSize,
|
87
|
-
|
88
|
-
|
89
|
+
l as EInputStatus,
|
90
|
+
s as EInputVariant,
|
89
91
|
dr as ELabelPositions,
|
90
92
|
Oo as ELinkSize,
|
91
93
|
jo as ELinkVariant,
|
92
|
-
|
94
|
+
L as EMergedButtonVariantRound,
|
95
|
+
Lr as EMultiSelectSearchSize,
|
93
96
|
Ko as ENotificationBadgeSize,
|
94
97
|
to as ESelectSearchSize,
|
95
98
|
Pr as ESkeletonVariant,
|
96
99
|
Q as EStepColor,
|
97
100
|
W as EStepsSize,
|
98
|
-
|
101
|
+
Bo as ETabTrailSize,
|
99
102
|
xo as ETagSize,
|
100
103
|
no as ETagType,
|
101
|
-
|
102
|
-
|
104
|
+
Mo as EToastPosition,
|
105
|
+
Ro as EToastVariant,
|
103
106
|
er as EUploaderType,
|
104
107
|
$ as EVoteSize,
|
105
108
|
xr as GosZnak,
|
106
|
-
|
107
|
-
|
109
|
+
D as Image,
|
110
|
+
S as Input,
|
108
111
|
I as InputPassword,
|
109
112
|
k as InputPhoneNumber,
|
110
113
|
pr as InputRangeSlider,
|
111
114
|
Zo as Link,
|
112
115
|
y as Loader,
|
113
|
-
|
116
|
+
R as MergedButton,
|
117
|
+
Rr as MultiSelectSearch,
|
114
118
|
Ho as NotificationBadge,
|
115
119
|
P as OtpInput,
|
116
120
|
ho as Pagination,
|
117
121
|
U as RadioGroup,
|
118
122
|
ro as SelectSearch,
|
119
123
|
gr as SkeletonBrick,
|
120
|
-
|
121
|
-
|
124
|
+
Vr as SkeletonCircle,
|
125
|
+
zr as SkeletonText,
|
122
126
|
Z as Slider,
|
123
127
|
J as Steps,
|
124
|
-
|
128
|
+
lr as Switcher,
|
125
129
|
ko as TabTrail,
|
126
|
-
|
130
|
+
mo as Tag,
|
127
131
|
c as TextArea,
|
128
|
-
|
132
|
+
Eo as Timer,
|
129
133
|
Ao as ToastProvider,
|
130
134
|
Tr as TwinSwitcher,
|
131
135
|
or as UniversalUploader,
|
132
136
|
yo as Uploader,
|
133
|
-
|
134
|
-
|
137
|
+
Do as UploaderFiles,
|
138
|
+
Lo as UploaderPhotos,
|
135
139
|
Y as Vote,
|
136
|
-
|
137
|
-
|
140
|
+
B as getMaskedInputPhoneValue,
|
141
|
+
V as getUnmaskedInputValue,
|
138
142
|
wo as useToast
|
139
143
|
};
|
package/dist/index.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import { Button as e } from "./components/Button/Button.js";
|
2
2
|
import { EButtonForm as p, EButtonSize as a, EButtonVariantBorderless as m, EButtonVariantDefault as f, EButtonVariantOutline as i, EButtonVariantRound as x } from "./components/Button/constants.js";
|
3
3
|
import { I as u } from "./Input-DlGNMuUD.js";
|
4
|
-
import { EInputSize as
|
4
|
+
import { EInputSize as S, EInputStatus as E, EInputVariant as l } from "./components/Input/constants.js";
|
5
5
|
import { TextArea as c } from "./components/TextArea/TextArea.js";
|
6
6
|
import { InputPassword as I } from "./components/InputPassword/InputPassword.js";
|
7
7
|
import { InputPhoneNumber as k } from "./components/InputPhoneNumber/InputPhoneNumber.js";
|
8
|
-
import { getMaskedInputPhoneValue as
|
9
|
-
import { OtpInput as
|
8
|
+
import { getMaskedInputPhoneValue as B, getUnmaskedInputValue as V } from "./components/InputPhoneNumber/utils.js";
|
9
|
+
import { OtpInput as M } from "./components/OtpInput/OtpInput.js";
|
10
10
|
import { RadioGroup as y } from "./components/RadioGroup/RadioGroup.js";
|
11
11
|
import { DatePicker as R } from "./components/DatePicker/DatePicker.js";
|
12
12
|
import { MergedButton as A } from "./components/MergedButton/MergedButton.js";
|
@@ -26,13 +26,13 @@ import { CheckboxMimir as ao } from "./components/CheckboxMimir/CheckboxMimir.js
|
|
26
26
|
import { Tag as fo } from "./components/Tag/Tag.js";
|
27
27
|
import { ETagSize as xo, ETagType as no } from "./components/Tag/constants.js";
|
28
28
|
import { Timer as so } from "./components/Timer/Timer.js";
|
29
|
-
import { Accordion as
|
29
|
+
import { Accordion as Eo } from "./components/Accordion/Accordion.js";
|
30
30
|
import { EAccordionSize as co } from "./components/Accordion/constants.js";
|
31
31
|
import { AccordionItem as Io } from "./components/Accordion/AccordionItem/AccordionItem.js";
|
32
32
|
import { TabTrail as ko } from "./components/TabTrail/TabTrail.js";
|
33
|
-
import { ETabTrailSize as
|
33
|
+
import { ETabTrailSize as Bo } from "./components/TabTrail/constants.js";
|
34
34
|
import { Pagination as ho } from "./components/Pagination/Pagination.js";
|
35
|
-
import { ToastProvider as
|
35
|
+
import { ToastProvider as Po } from "./components/Toasts/ToastsProvider.js";
|
36
36
|
import { useToast as Co } from "./components/Toasts/hooks.js";
|
37
37
|
import { EToastPosition as bo, EToastVariant as Ao } from "./components/Toasts/constants.js";
|
38
38
|
import { UploaderPhotos as vo } from "./components/UploaderPhotos/UploaderPhotos.js";
|
@@ -50,28 +50,30 @@ import { InputRangeSlider as pr } from "./components/InputRangeSlider/InputRange
|
|
50
50
|
import { EInputRangeSliderBorderState as mr, EInputRangeSliderPositions as fr } from "./components/InputRangeSlider/constants.js";
|
51
51
|
import { GosZnak as xr } from "./components/GosZnak/GosZnak.js";
|
52
52
|
import { EGosZnakSize as ur, EGosZnakType as sr } from "./components/GosZnak/constants.js";
|
53
|
-
import { Switcher as
|
54
|
-
import { ELabelPositions as
|
53
|
+
import { Switcher as Er } from "./components/Switcher/Switcher.js";
|
54
|
+
import { ELabelPositions as dr } from "./components/Switcher/constants.js";
|
55
55
|
import { TwinSwitcher as Tr } from "./components/TwinSwitcher/TwinSwitcher.js";
|
56
56
|
import { SkeletonBrick as gr } from "./components/Skeleton/SkeletonBrick/SkeletonBrick.js";
|
57
|
-
import { SkeletonText as
|
57
|
+
import { SkeletonText as zr } from "./components/Skeleton/SkeletonText/SkeletonText.js";
|
58
58
|
import { SkeletonCircle as Vr } from "./components/Skeleton/SkeletonCircle/SkeletonCircle.js";
|
59
|
-
import { ESkeletonVariant as
|
59
|
+
import { ESkeletonVariant as Mr } from "./components/Skeleton/constants.js";
|
60
60
|
import { Avatar as yr } from "./components/Avatar/Avatar.js";
|
61
61
|
import { EAvatarSize as Rr } from "./components/Avatar/constants.js";
|
62
|
-
import {
|
63
|
-
import {
|
64
|
-
import {
|
65
|
-
import {
|
66
|
-
import {
|
67
|
-
import {
|
68
|
-
import {
|
69
|
-
import {
|
70
|
-
import {
|
71
|
-
import {
|
72
|
-
import {
|
62
|
+
import { MultiSelectSearch as Ar } from "./components/MultiSelectSearch/MultiSelectSearch.js";
|
63
|
+
import { EMultiSelectSearchSize as vr } from "./components/MultiSelectSearch/constants.js";
|
64
|
+
import { useMediaQuery as Lr } from "./hooks/useMediaQuery/useMediaQuery.js";
|
65
|
+
import { EMediaQuery as Gr, EMinMediaQuery as Nr } from "./hooks/useMediaQuery/constants.js";
|
66
|
+
import { useLockBodyScroll as Qr } from "./hooks/useLockBodyScroll/useLockBodyScroll.js";
|
67
|
+
import { useInterval as Fr } from "./hooks/useInterval/useInterval.js";
|
68
|
+
import { useTimer as qr } from "./hooks/useTimer/index.js";
|
69
|
+
import { useCopyToClipboard as Jr } from "./hooks/useCopyToClipboard/useCopyToClipboard.js";
|
70
|
+
import { useMergeRefs as Wr } from "./hooks/useMergeRefs/useMergeRefs.js";
|
71
|
+
import { useResizeObserver as Yr } from "./hooks/useResizeObserver/useResizeObserver.js";
|
72
|
+
import { Icon as $r } from "./icons/Icon.js";
|
73
|
+
import { formating as re } from "./utils/index.js";
|
74
|
+
import { parseDate as te } from "./utils/formating/Date.js";
|
73
75
|
import './assets/index.css';export {
|
74
|
-
|
76
|
+
Eo as Accordion,
|
75
77
|
Io as AccordionItem,
|
76
78
|
yr as Avatar,
|
77
79
|
e as Button,
|
@@ -94,21 +96,22 @@ import './assets/index.css';export {
|
|
94
96
|
sr as EGosZnakType,
|
95
97
|
mr as EInputRangeSliderBorderState,
|
96
98
|
fr as EInputRangeSliderPositions,
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
99
|
+
S as EInputSize,
|
100
|
+
E as EInputStatus,
|
101
|
+
l as EInputVariant,
|
102
|
+
dr as ELabelPositions,
|
101
103
|
Zo as ELinkSize,
|
102
104
|
Fo as ELinkVariant,
|
103
|
-
|
105
|
+
Gr as EMediaQuery,
|
104
106
|
v as EMergedButtonVariantRound,
|
105
|
-
|
107
|
+
Nr as EMinMediaQuery,
|
108
|
+
vr as EMultiSelectSearchSize,
|
106
109
|
Jo as ENotificationBadgeSize,
|
107
110
|
to as ESelectSearchSize,
|
108
|
-
|
111
|
+
Mr as ESkeletonVariant,
|
109
112
|
K as EStepColor,
|
110
113
|
W as EStepsSize,
|
111
|
-
|
114
|
+
Bo as ETabTrailSize,
|
112
115
|
xo as ETagSize,
|
113
116
|
no as ETagType,
|
114
117
|
bo as EToastPosition,
|
@@ -116,7 +119,7 @@ import './assets/index.css';export {
|
|
116
119
|
er as EUploaderType,
|
117
120
|
$ as EVoteSize,
|
118
121
|
xr as GosZnak,
|
119
|
-
|
122
|
+
$r as Icon,
|
120
123
|
L as Image,
|
121
124
|
u as Input,
|
122
125
|
I as InputPassword,
|
@@ -125,38 +128,39 @@ import './assets/index.css';export {
|
|
125
128
|
Oo as Link,
|
126
129
|
G as Loader,
|
127
130
|
A as MergedButton,
|
131
|
+
Ar as MultiSelectSearch,
|
128
132
|
qo as NotificationBadge,
|
129
|
-
|
133
|
+
M as OtpInput,
|
130
134
|
ho as Pagination,
|
131
135
|
y as RadioGroup,
|
132
136
|
ro as SelectSearch,
|
133
137
|
gr as SkeletonBrick,
|
134
138
|
Vr as SkeletonCircle,
|
135
|
-
|
139
|
+
zr as SkeletonText,
|
136
140
|
O as Slider,
|
137
141
|
H as Steps,
|
138
|
-
|
142
|
+
Er as Switcher,
|
139
143
|
ko as TabTrail,
|
140
144
|
fo as Tag,
|
141
145
|
c as TextArea,
|
142
146
|
so as Timer,
|
143
|
-
|
147
|
+
Po as ToastProvider,
|
144
148
|
Tr as TwinSwitcher,
|
145
149
|
or as UniversalUploader,
|
146
150
|
Go as Uploader,
|
147
151
|
Lo as UploaderFiles,
|
148
152
|
vo as UploaderPhotos,
|
149
153
|
Y as Vote,
|
150
|
-
|
151
|
-
|
154
|
+
re as formating,
|
155
|
+
B as getMaskedInputPhoneValue,
|
152
156
|
V as getUnmaskedInputValue,
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
157
|
+
te as parseDate,
|
158
|
+
Jr as useCopyToClipboard,
|
159
|
+
Fr as useInterval,
|
160
|
+
Qr as useLockBodyScroll,
|
161
|
+
Lr as useMediaQuery,
|
162
|
+
Wr as useMergeRefs,
|
163
|
+
Yr as useResizeObserver,
|
164
|
+
qr as useTimer,
|
161
165
|
Co as useToast
|
162
166
|
};
|