mimir-ui-kit 1.41.6 → 1.42.1
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.
- package/dist/assets/ClearButton.css +1 -0
- package/dist/assets/ListFiles.css +1 -1
- package/dist/components/CardTrail/CardTrail.d.ts +4 -0
- package/dist/components/CardTrail/CardTrail.js +104 -84
- package/dist/components/CardTrail/utils.d.ts +1 -0
- package/dist/components/CardTrail/utils.js +8 -7
- package/dist/components/InputClearButton/ClearButton.d.ts +46 -0
- package/dist/components/InputClearButton/ClearButton.js +41 -0
- package/dist/components/InputClearButton/constants.d.ts +8 -0
- package/dist/components/InputClearButton/constants.js +5 -0
- package/dist/components/InputClearButton/index.d.ts +4 -0
- package/dist/components/InputClearButton/index.js +6 -0
- package/dist/components/ListFiles/ListFiles.js +37 -40
- package/dist/components/PromoSlider/PromoSlider.d.ts +5 -1
- package/dist/components/PromoSlider/PromoSlider.js +139 -138
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +26 -24
- package/dist/icons/components/12px/Close12px.js +13 -6
- package/dist/index.js +48 -46
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import { Button as e } from "./components/Button/Button.js";
|
2
|
-
import { EButtonForm as p, EButtonSize as a, EButtonVariantBorderless as m, EButtonVariantDefault as
|
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 l } from "./Input-BU_6U1CW.js";
|
4
4
|
import { EInputSize as u, EInputStatus as E, EInputVariant as S } from "./components/Input/constants.js";
|
5
5
|
import { TextArea as c } from "./components/TextArea/TextArea.js";
|
6
6
|
import { ETextAreaInputSize as I } from "./components/TextArea/constants.js";
|
7
7
|
import { InputPassword as V } from "./components/InputPassword/InputPassword.js";
|
8
8
|
import { InputPhoneNumber as z } from "./components/InputPhoneNumber/InputPhoneNumber.js";
|
9
|
-
import { getMaskedInputPhoneValue as
|
9
|
+
import { getMaskedInputPhoneValue as h, getUnmaskedInputValue as P } from "./components/InputPhoneNumber/utils.js";
|
10
10
|
import { OtpInput as M } from "./components/OtpInput/OtpInput.js";
|
11
11
|
import { RadioGroup as C } from "./components/RadioGroup/RadioGroup.js";
|
12
12
|
import { DatePicker as L } from "./components/DatePicker/DatePicker.js";
|
@@ -23,7 +23,7 @@ import { Steps as _ } from "./components/Steps/Steps.js";
|
|
23
23
|
import { EStepColor as rr, EStepsSize as or } from "./components/Steps/constants.js";
|
24
24
|
import { Vote as tr } from "./components/Vote/Vote.js";
|
25
25
|
import { EVoteSize as ar } from "./components/Vote/constants.js";
|
26
|
-
import { SelectSearch as
|
26
|
+
import { SelectSearch as fr } from "./components/SelectSearch/SelectSearch.js";
|
27
27
|
import { ESelectSearchSize as xr } from "./components/SelectSearch/constants.js";
|
28
28
|
import { CheckboxMimir as lr } from "./components/CheckboxMimir/CheckboxMimir.js";
|
29
29
|
import { Tag as ur } from "./components/Tag/Tag.js";
|
@@ -31,7 +31,7 @@ import { ETagSize as Sr, ETagType as dr } from "./components/Tag/constants.js";
|
|
31
31
|
import { Timer as Tr } from "./components/Timer/Timer.js";
|
32
32
|
import { Accordion as gr } from "./components/Accordion/Accordion.js";
|
33
33
|
import { EAccordionSize as kr } from "./components/Accordion/constants.js";
|
34
|
-
import { AccordionItem as
|
34
|
+
import { AccordionItem as Br } from "./components/Accordion/AccordionItem/AccordionItem.js";
|
35
35
|
import { TabTrail as Pr } from "./components/TabTrail/TabTrail.js";
|
36
36
|
import { ETabTrailSize as Mr } from "./components/TabTrail/constants.js";
|
37
37
|
import { Pagination as Cr } from "./components/Pagination/Pagination.js";
|
@@ -48,14 +48,14 @@ import { NotificationBadge as _r } from "./components/NotificationBadge/Notifica
|
|
48
48
|
import { ENotificationBadgeSize as ro } from "./components/NotificationBadge/constants.js";
|
49
49
|
import { Chip as eo } from "./components/Chip/Chip.js";
|
50
50
|
import { EChipSize as po, EChipVariant as ao } from "./components/Chip/constants.js";
|
51
|
-
import { UniversalUploader as
|
51
|
+
import { UniversalUploader as fo } from "./components/UniversalUploader/UniversalUploader.js";
|
52
52
|
import { EUploaderType as xo } from "./components/UniversalUploader/constants.js";
|
53
53
|
import { InputRangeSlider as lo } from "./components/InputRangeSlider/InputRangeSlider.js";
|
54
54
|
import { EInputRangeSliderBorderState as uo, EInputRangeSliderPositions as Eo } from "./components/InputRangeSlider/constants.js";
|
55
55
|
import { GosZnak as co } from "./components/GosZnak/GosZnak.js";
|
56
56
|
import { EGosZnakSize as Io, EGosZnakType as go } from "./components/GosZnak/constants.js";
|
57
57
|
import { Switcher as ko } from "./components/Switcher/Switcher.js";
|
58
|
-
import { ELabelPositions as
|
58
|
+
import { ELabelPositions as Bo } from "./components/Switcher/constants.js";
|
59
59
|
import { TwinSwitcher as Po } from "./components/TwinSwitcher/TwinSwitcher.js";
|
60
60
|
import { SkeletonBrick as Mo } from "./components/Skeleton/SkeletonBrick/SkeletonBrick.js";
|
61
61
|
import { SkeletonText as Co } from "./components/Skeleton/SkeletonText/SkeletonText.js";
|
@@ -72,31 +72,33 @@ import { MessageShortReply as Xo } from "./components/MessageShortReply/MessageS
|
|
72
72
|
import { EMessageShortReplyVariant as _o } from "./components/MessageShortReply/constants.js";
|
73
73
|
import { Table as re } from "./components/Table/Table.js";
|
74
74
|
import { ESortDirection as ee, ETableDisplayMode as te, ETableScrollButtonVariant as pe, ETableScrollIconName as ae, ETableVariant as me } from "./components/Table/constants.js";
|
75
|
-
import { PromoSlider as
|
75
|
+
import { PromoSlider as ie } from "./components/PromoSlider/PromoSlider.js";
|
76
76
|
import { CardTrail as ne } from "./components/CardTrail/CardTrail.js";
|
77
|
-
import {
|
78
|
-
import {
|
79
|
-
import {
|
80
|
-
import {
|
81
|
-
import {
|
82
|
-
import {
|
83
|
-
import {
|
84
|
-
import {
|
85
|
-
import {
|
86
|
-
import {
|
87
|
-
import {
|
88
|
-
import {
|
89
|
-
import {
|
90
|
-
import {
|
91
|
-
import {
|
77
|
+
import { ClearButton as se } from "./components/InputClearButton/ClearButton.js";
|
78
|
+
import { useMediaQuery as Ee } from "./hooks/useMediaQuery/useMediaQuery.js";
|
79
|
+
import { EMediaQuery as de, EMinMediaQuery as ce } from "./hooks/useMediaQuery/constants.js";
|
80
|
+
import { useLockBodyScroll as Ie } from "./hooks/useLockBodyScroll/useLockBodyScroll.js";
|
81
|
+
import { useInterval as Ve } from "./hooks/useInterval/useInterval.js";
|
82
|
+
import { useTimer as ze } from "./hooks/useTimer/index.js";
|
83
|
+
import { useCopyToClipboard as he } from "./hooks/useCopyToClipboard/useCopyToClipboard.js";
|
84
|
+
import { useMergeRefs as be } from "./hooks/useMergeRefs/useMergeRefs.js";
|
85
|
+
import { useResizeObserver as ye } from "./hooks/useResizeObserver/useResizeObserver.js";
|
86
|
+
import { useCallbackRef as Re } from "./hooks/useCallbackRef/index.js";
|
87
|
+
import { useThrottledCallback as Ae } from "./hooks/useThrottledCallback/index.js";
|
88
|
+
import { Icon as Ue } from "./icons/Icon.js";
|
89
|
+
import { formating as ve } from "./utils/index.js";
|
90
|
+
import { default as Ge } from "./components/Slider/Slider.js";
|
91
|
+
import { EProgressBarPosition as Oe } from "./components/Slider/constants.js";
|
92
|
+
import { parseDate as Ze } from "./utils/formating/Date.js";
|
92
93
|
import './assets/index.css';export {
|
93
94
|
gr as Accordion,
|
94
|
-
|
95
|
+
Br as AccordionItem,
|
95
96
|
wo as Avatar,
|
96
97
|
e as Button,
|
97
98
|
ne as CardTrail,
|
98
99
|
lr as CheckboxMimir,
|
99
100
|
eo as Chip,
|
101
|
+
se as ClearButton,
|
100
102
|
L as DatePicker,
|
101
103
|
H as Drawer,
|
102
104
|
X as Dropdown,
|
@@ -105,8 +107,8 @@ import './assets/index.css';export {
|
|
105
107
|
p as EButtonForm,
|
106
108
|
a as EButtonSize,
|
107
109
|
m as EButtonVariantBorderless,
|
108
|
-
|
109
|
-
|
110
|
+
f as EButtonVariantDefault,
|
111
|
+
i as EButtonVariantOutline,
|
110
112
|
x as EButtonVariantRound,
|
111
113
|
po as EChipSize,
|
112
114
|
ao as EChipVariant,
|
@@ -119,17 +121,17 @@ import './assets/index.css';export {
|
|
119
121
|
u as EInputSize,
|
120
122
|
E as EInputStatus,
|
121
123
|
S as EInputVariant,
|
122
|
-
|
124
|
+
Bo as ELabelPositions,
|
123
125
|
Wr as ELinkSize,
|
124
126
|
Xr as ELinkVariant,
|
125
127
|
Q as ELoaderSize,
|
126
|
-
|
128
|
+
de as EMediaQuery,
|
127
129
|
w as EMergedButtonVariantRound,
|
128
130
|
_o as EMessageShortReplyVariant,
|
129
|
-
|
131
|
+
ce as EMinMediaQuery,
|
130
132
|
Qo as EMultiSelectSearchSize,
|
131
133
|
ro as ENotificationBadgeSize,
|
132
|
-
|
134
|
+
Oe as EProgressBarPosition,
|
133
135
|
xr as ESelectSearchSize,
|
134
136
|
Do as ESkeletonVariant,
|
135
137
|
ee as ESortDirection,
|
@@ -149,7 +151,7 @@ import './assets/index.css';export {
|
|
149
151
|
xo as EUploaderType,
|
150
152
|
ar as EVoteSize,
|
151
153
|
co as GosZnak,
|
152
|
-
|
154
|
+
Ue as Icon,
|
153
155
|
F as Image,
|
154
156
|
l as Input,
|
155
157
|
V as InputPassword,
|
@@ -165,13 +167,13 @@ import './assets/index.css';export {
|
|
165
167
|
_r as NotificationBadge,
|
166
168
|
M as OtpInput,
|
167
169
|
Cr as Pagination,
|
168
|
-
|
170
|
+
ie as PromoSlider,
|
169
171
|
C as RadioGroup,
|
170
|
-
|
172
|
+
fr as SelectSearch,
|
171
173
|
Mo as SkeletonBrick,
|
172
174
|
Lo as SkeletonCircle,
|
173
175
|
Co as SkeletonText,
|
174
|
-
|
176
|
+
Ge as Slider,
|
175
177
|
j as SliderLazy,
|
176
178
|
_ as Steps,
|
177
179
|
ko as Switcher,
|
@@ -182,23 +184,23 @@ import './assets/index.css';export {
|
|
182
184
|
Tr as Timer,
|
183
185
|
Lr as ToastProvider,
|
184
186
|
Po as TwinSwitcher,
|
185
|
-
|
187
|
+
fo as UniversalUploader,
|
186
188
|
qr as Uploader,
|
187
189
|
Or as UploaderFiles,
|
188
190
|
Gr as UploaderPhotos,
|
189
191
|
tr as Vote,
|
190
|
-
|
191
|
-
|
192
|
+
ve as formating,
|
193
|
+
h as getMaskedInputPhoneValue,
|
192
194
|
P as getUnmaskedInputValue,
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
195
|
+
Ze as parseDate,
|
196
|
+
Re as useCallbackRef,
|
197
|
+
he as useCopyToClipboard,
|
198
|
+
Ve as useInterval,
|
199
|
+
Ie as useLockBodyScroll,
|
200
|
+
Ee as useMediaQuery,
|
201
|
+
be as useMergeRefs,
|
202
|
+
ye as useResizeObserver,
|
203
|
+
Ae as useThrottledCallback,
|
204
|
+
ze as useTimer,
|
203
205
|
Dr as useToast
|
204
206
|
};
|