mimir-ui-kit 1.37.16 → 1.38.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. package/dist/assets/Dropdown.css +1 -0
  2. package/dist/assets/Slider.css +1 -1
  3. package/dist/close-provider-CEutdhG8.js +9 -0
  4. package/dist/combobox-CVtJDVoZ.js +980 -0
  5. package/dist/components/Accordion/Accordion.js +91 -95
  6. package/dist/components/CheckboxMimir/CheckboxMimir.js +4 -4
  7. package/dist/components/Drawer/Drawer.d.ts +5 -1
  8. package/dist/components/Drawer/Drawer.js +45 -44
  9. package/dist/components/Dropdown/Dropdown.d.ts +45 -0
  10. package/dist/components/Dropdown/Dropdown.js +333 -0
  11. package/dist/components/Dropdown/index.d.ts +1 -0
  12. package/dist/components/Dropdown/index.js +4 -0
  13. package/dist/components/MultiSelectSearch/MultiSelectSearch.js +18 -18
  14. package/dist/components/RadioGroup/RadioGroup.js +3 -3
  15. package/dist/components/SelectSearch/SelectSearch.js +21 -21
  16. package/dist/components/Slider/Slider.d.ts +19 -1
  17. package/dist/components/Slider/Slider.js +570 -533
  18. package/dist/components/Slider/constants.d.ts +4 -0
  19. package/dist/components/Slider/constants.js +4 -0
  20. package/dist/components/Slider/index.d.ts +1 -0
  21. package/dist/components/Slider/index.js +2 -0
  22. package/dist/components/Switcher/Switcher.js +4 -4
  23. package/dist/components/TabTrail/TabTrail.js +4 -4
  24. package/dist/components/index.d.ts +2 -1
  25. package/dist/components/index.js +121 -117
  26. package/dist/{field-C1kt7aNM.js → field-FJ34aSs4.js} +2 -2
  27. package/dist/{focus-management-DOYCPyGg.js → focus-management-DE4t_lW3.js} +2 -1
  28. package/dist/{hidden-PvGXrYUY.js → hidden-DbgtYPOH.js} +1 -1
  29. package/dist/index.js +149 -145
  30. package/dist/{keyboard-mgWkd2Vh.js → keyboard-B0lm_zyn.js} +111 -114
  31. package/dist/{label-D4GFpe5F.js → label-y3ANLTNC.js} +2 -2
  32. package/dist/open-closed-CdldUPoq.js +86 -0
  33. package/dist/portal-WDFNoIMz.js +1908 -0
  34. package/dist/{use-active-press-CqLGIFz7.js → use-active-press-86hajhdd.js} +1 -1
  35. package/package.json +1 -1
  36. package/dist/combobox-BpYucpxz.js +0 -2896
  37. package/dist/open-closed-D2VjDhAN.js +0 -86
package/dist/index.js CHANGED
@@ -1,178 +1,182 @@
1
1
  import { Button as e } from "./components/Button/Button.js";
2
- import { EButtonForm as p, EButtonSize as a, EButtonVariantBorderless as m, EButtonVariantDefault as i, EButtonVariantOutline as f, EButtonVariantRound as x } from "./components/Button/constants.js";
2
+ import { EButtonForm as p, EButtonSize as m, EButtonVariantBorderless as a, EButtonVariantDefault as i, EButtonVariantOutline as f, EButtonVariantRound as x } from "./components/Button/constants.js";
3
3
  import { I as s } from "./Input-BYrIS5GU.js";
4
- import { EInputSize as S, EInputStatus as E, EInputVariant as l } from "./components/Input/constants.js";
4
+ import { EInputSize as E, EInputStatus as S, EInputVariant as l } from "./components/Input/constants.js";
5
5
  import { TextArea as c } from "./components/TextArea/TextArea.js";
6
- import { ETextAreaInputSize as I } from "./components/TextArea/constants.js";
6
+ import { ETextAreaInputSize as g } from "./components/TextArea/constants.js";
7
7
  import { InputPassword as h } from "./components/InputPassword/InputPassword.js";
8
8
  import { InputPhoneNumber as z } from "./components/InputPhoneNumber/InputPhoneNumber.js";
9
- import { getMaskedInputPhoneValue as B, getUnmaskedInputValue as M } from "./components/InputPhoneNumber/utils.js";
9
+ import { getMaskedInputPhoneValue as V, getUnmaskedInputValue as P } from "./components/InputPhoneNumber/utils.js";
10
10
  import { OtpInput as y } from "./components/OtpInput/OtpInput.js";
11
11
  import { RadioGroup as A } from "./components/RadioGroup/RadioGroup.js";
12
12
  import { DatePicker as L } from "./components/DatePicker/DatePicker.js";
13
- import { MergedButton as U } from "./components/MergedButton/MergedButton.js";
14
- import { EMergedButtonVariantRound as w } from "./components/MergedButton/constants.js";
13
+ import { MergedButton as w } from "./components/MergedButton/MergedButton.js";
14
+ import { EMergedButtonVariantRound as v } from "./components/MergedButton/constants.js";
15
15
  import { AppImage as F } from "./components/Image/Image.js";
16
16
  import { Loader as N } from "./components/Loader/Loader.js";
17
17
  import { Slider as Q } from "./components/Slider/index.js";
18
18
  import { Drawer as j } from "./components/Drawer/Drawer.js";
19
19
  import { EDrawerPosition as H } from "./components/Drawer/constants.js";
20
- import { Steps as K } from "./components/Steps/Steps.js";
21
- import { EStepColor as X, EStepsSize as Y } from "./components/Steps/constants.js";
22
- import { Vote as $ } from "./components/Vote/Vote.js";
23
- import { EVoteSize as ro } from "./components/Vote/constants.js";
24
- import { SelectSearch as to } from "./components/SelectSearch/SelectSearch.js";
25
- import { ESelectSearchSize as ao } from "./components/SelectSearch/constants.js";
26
- import { CheckboxMimir as io } from "./components/CheckboxMimir/CheckboxMimir.js";
27
- import { Tag as xo } from "./components/Tag/Tag.js";
28
- import { ETagSize as so, ETagType as uo } from "./components/Tag/constants.js";
29
- import { Timer as Eo } from "./components/Timer/Timer.js";
30
- import { Accordion as co } from "./components/Accordion/Accordion.js";
31
- import { EAccordionSize as Io } from "./components/Accordion/constants.js";
32
- import { AccordionItem as ho } from "./components/Accordion/AccordionItem/AccordionItem.js";
33
- import { TabTrail as zo } from "./components/TabTrail/TabTrail.js";
34
- import { ETabTrailSize as Bo } from "./components/TabTrail/constants.js";
35
- import { Pagination as Po } from "./components/Pagination/Pagination.js";
36
- import { ToastProvider as Ro } from "./components/Toasts/ToastsProvider.js";
37
- import { useToast as Co } from "./components/Toasts/hooks.js";
38
- import { EToastPosition as bo, EToastVariant as Uo } from "./components/Toasts/constants.js";
39
- import { UploaderPhotos as wo } from "./components/UploaderPhotos/UploaderPhotos.js";
40
- import { UploaderFiles as Fo } from "./components/UploaderFiles/UploaderFiles.js";
41
- import { Uploader as No } from "./components/Uploader/Uploader.js";
42
- import { Link as Qo } from "./components/AnchorLink/Link.js";
43
- import { ELinkSize as jo, ELinkVariant as qo } from "./components/AnchorLink/constants.js";
44
- import { NotificationBadge as Jo } from "./components/NotificationBadge/NotificationBadge.js";
45
- import { ENotificationBadgeSize as Wo } from "./components/NotificationBadge/constants.js";
46
- import { Chip as Yo } from "./components/Chip/Chip.js";
47
- import { EChipSize as $o, EChipVariant as or } from "./components/Chip/constants.js";
48
- import { UniversalUploader as er } from "./components/UniversalUploader/UniversalUploader.js";
49
- import { EUploaderType as pr } from "./components/UniversalUploader/constants.js";
50
- import { InputRangeSlider as mr } from "./components/InputRangeSlider/InputRangeSlider.js";
51
- import { EInputRangeSliderBorderState as fr, EInputRangeSliderPositions as xr } from "./components/InputRangeSlider/constants.js";
52
- import { GosZnak as sr } from "./components/GosZnak/GosZnak.js";
53
- import { EGosZnakSize as Sr, EGosZnakType as Er } from "./components/GosZnak/constants.js";
54
- import { Switcher as dr } from "./components/Switcher/Switcher.js";
55
- import { ELabelPositions as Tr } from "./components/Switcher/constants.js";
56
- import { TwinSwitcher as gr } from "./components/TwinSwitcher/TwinSwitcher.js";
57
- import { SkeletonBrick as kr } from "./components/Skeleton/SkeletonBrick/SkeletonBrick.js";
58
- import { SkeletonText as Vr } from "./components/Skeleton/SkeletonText/SkeletonText.js";
59
- import { SkeletonCircle as Mr } from "./components/Skeleton/SkeletonCircle/SkeletonCircle.js";
60
- import { ESkeletonVariant as yr } from "./components/Skeleton/constants.js";
61
- import { Avatar as Ar } from "./components/Avatar/Avatar.js";
62
- import { EAvatarSize as Lr } from "./components/Avatar/constants.js";
63
- import { MultiSelectSearch as Ur } from "./components/MultiSelectSearch/MultiSelectSearch.js";
64
- import { EMultiSelectSearchSize as wr } from "./components/MultiSelectSearch/constants.js";
65
- import { ListFiles as Fr } from "./components/ListFiles/ListFiles.js";
66
- import { EFileItemVariant as Nr } from "./components/ListFiles/constants.js";
67
- import { ListPhotos as Qr } from "./components/ListPhotos/ListPhotos.js";
68
- import { MessageShortReply as jr } from "./components/MessageShortReply/MessageShortReply.js";
69
- import { EMessageShortReplyVariant as Hr } from "./components/MessageShortReply/constants.js";
70
- import { useMediaQuery as Kr } from "./hooks/useMediaQuery/useMediaQuery.js";
71
- import { EMediaQuery as Xr, EMinMediaQuery as Yr } from "./hooks/useMediaQuery/constants.js";
72
- import { useLockBodyScroll as $r } from "./hooks/useLockBodyScroll/useLockBodyScroll.js";
73
- import { useInterval as re } from "./hooks/useInterval/useInterval.js";
74
- import { useTimer as te } from "./hooks/useTimer/index.js";
75
- import { useCopyToClipboard as ae } from "./hooks/useCopyToClipboard/useCopyToClipboard.js";
76
- import { useMergeRefs as ie } from "./hooks/useMergeRefs/useMergeRefs.js";
77
- import { useResizeObserver as xe } from "./hooks/useResizeObserver/useResizeObserver.js";
78
- import { Icon as se } from "./icons/Icon.js";
79
- import { formating as Se } from "./utils/index.js";
80
- import { parseDate as le } from "./utils/formating/Date.js";
20
+ import { Dropdown as K } from "./components/Dropdown/Dropdown.js";
21
+ import { Steps as X } from "./components/Steps/Steps.js";
22
+ import { EStepColor as _, EStepsSize as $ } from "./components/Steps/constants.js";
23
+ import { Vote as ro } from "./components/Vote/Vote.js";
24
+ import { EVoteSize as to } from "./components/Vote/constants.js";
25
+ import { SelectSearch as mo } from "./components/SelectSearch/SelectSearch.js";
26
+ import { ESelectSearchSize as io } from "./components/SelectSearch/constants.js";
27
+ import { CheckboxMimir as xo } from "./components/CheckboxMimir/CheckboxMimir.js";
28
+ import { Tag as so } from "./components/Tag/Tag.js";
29
+ import { ETagSize as Eo, ETagType as So } from "./components/Tag/constants.js";
30
+ import { Timer as co } from "./components/Timer/Timer.js";
31
+ import { Accordion as go } from "./components/Accordion/Accordion.js";
32
+ import { EAccordionSize as ho } from "./components/Accordion/constants.js";
33
+ import { AccordionItem as zo } from "./components/Accordion/AccordionItem/AccordionItem.js";
34
+ import { TabTrail as Vo } from "./components/TabTrail/TabTrail.js";
35
+ import { ETabTrailSize as Mo } from "./components/TabTrail/constants.js";
36
+ import { Pagination as Ro } from "./components/Pagination/Pagination.js";
37
+ import { ToastProvider as Co } from "./components/Toasts/ToastsProvider.js";
38
+ import { useToast as bo } from "./components/Toasts/hooks.js";
39
+ import { EToastPosition as Uo, EToastVariant as vo } from "./components/Toasts/constants.js";
40
+ import { UploaderPhotos as Fo } from "./components/UploaderPhotos/UploaderPhotos.js";
41
+ import { UploaderFiles as No } from "./components/UploaderFiles/UploaderFiles.js";
42
+ import { Uploader as Qo } from "./components/Uploader/Uploader.js";
43
+ import { Link as jo } from "./components/AnchorLink/Link.js";
44
+ import { ELinkSize as Ho, ELinkVariant as Jo } from "./components/AnchorLink/constants.js";
45
+ import { NotificationBadge as Wo } from "./components/NotificationBadge/NotificationBadge.js";
46
+ import { ENotificationBadgeSize as Yo } from "./components/NotificationBadge/constants.js";
47
+ import { Chip as $o } from "./components/Chip/Chip.js";
48
+ import { EChipSize as rr, EChipVariant as er } from "./components/Chip/constants.js";
49
+ import { UniversalUploader as pr } from "./components/UniversalUploader/UniversalUploader.js";
50
+ import { EUploaderType as ar } from "./components/UniversalUploader/constants.js";
51
+ import { InputRangeSlider as fr } from "./components/InputRangeSlider/InputRangeSlider.js";
52
+ import { EInputRangeSliderBorderState as nr, EInputRangeSliderPositions as sr } from "./components/InputRangeSlider/constants.js";
53
+ import { GosZnak as Er } from "./components/GosZnak/GosZnak.js";
54
+ import { EGosZnakSize as lr, EGosZnakType as dr } from "./components/GosZnak/constants.js";
55
+ import { Switcher as Tr } from "./components/Switcher/Switcher.js";
56
+ import { ELabelPositions as Ir } from "./components/Switcher/constants.js";
57
+ import { TwinSwitcher as kr } from "./components/TwinSwitcher/TwinSwitcher.js";
58
+ import { SkeletonBrick as Br } from "./components/Skeleton/SkeletonBrick/SkeletonBrick.js";
59
+ import { SkeletonText as Pr } from "./components/Skeleton/SkeletonText/SkeletonText.js";
60
+ import { SkeletonCircle as yr } from "./components/Skeleton/SkeletonCircle/SkeletonCircle.js";
61
+ import { ESkeletonVariant as Ar } from "./components/Skeleton/constants.js";
62
+ import { Avatar as Lr } from "./components/Avatar/Avatar.js";
63
+ import { EAvatarSize as wr } from "./components/Avatar/constants.js";
64
+ import { MultiSelectSearch as vr } from "./components/MultiSelectSearch/MultiSelectSearch.js";
65
+ import { EMultiSelectSearchSize as Fr } from "./components/MultiSelectSearch/constants.js";
66
+ import { ListFiles as Nr } from "./components/ListFiles/ListFiles.js";
67
+ import { EFileItemVariant as Qr } from "./components/ListFiles/constants.js";
68
+ import { ListPhotos as jr } from "./components/ListPhotos/ListPhotos.js";
69
+ import { MessageShortReply as Hr } from "./components/MessageShortReply/MessageShortReply.js";
70
+ import { EMessageShortReplyVariant as Kr } from "./components/MessageShortReply/constants.js";
71
+ import { useMediaQuery as Xr } from "./hooks/useMediaQuery/useMediaQuery.js";
72
+ import { EMediaQuery as _r, EMinMediaQuery as $r } from "./hooks/useMediaQuery/constants.js";
73
+ import { useLockBodyScroll as re } from "./hooks/useLockBodyScroll/useLockBodyScroll.js";
74
+ import { useInterval as te } from "./hooks/useInterval/useInterval.js";
75
+ import { useTimer as me } from "./hooks/useTimer/index.js";
76
+ import { useCopyToClipboard as ie } from "./hooks/useCopyToClipboard/useCopyToClipboard.js";
77
+ import { useMergeRefs as xe } from "./hooks/useMergeRefs/useMergeRefs.js";
78
+ import { useResizeObserver as se } from "./hooks/useResizeObserver/useResizeObserver.js";
79
+ import { Icon as Ee } from "./icons/Icon.js";
80
+ import { formating as le } from "./utils/index.js";
81
+ import { EProgressBarPosition as ce } from "./components/Slider/constants.js";
82
+ import { parseDate as ge } from "./utils/formating/Date.js";
81
83
  import './assets/index.css';export {
82
- co as Accordion,
83
- ho as AccordionItem,
84
- Ar as Avatar,
84
+ go as Accordion,
85
+ zo as AccordionItem,
86
+ Lr as Avatar,
85
87
  e as Button,
86
- io as CheckboxMimir,
87
- Yo as Chip,
88
+ xo as CheckboxMimir,
89
+ $o as Chip,
88
90
  L as DatePicker,
89
91
  j as Drawer,
90
- Io as EAccordionSize,
91
- Lr as EAvatarSize,
92
+ K as Dropdown,
93
+ ho as EAccordionSize,
94
+ wr as EAvatarSize,
92
95
  p as EButtonForm,
93
- a as EButtonSize,
94
- m as EButtonVariantBorderless,
96
+ m as EButtonSize,
97
+ a as EButtonVariantBorderless,
95
98
  i as EButtonVariantDefault,
96
99
  f as EButtonVariantOutline,
97
100
  x as EButtonVariantRound,
98
- $o as EChipSize,
99
- or as EChipVariant,
101
+ rr as EChipSize,
102
+ er as EChipVariant,
100
103
  H as EDrawerPosition,
101
- Nr as EFileItemVariant,
102
- Sr as EGosZnakSize,
103
- Er as EGosZnakType,
104
- fr as EInputRangeSliderBorderState,
105
- xr as EInputRangeSliderPositions,
106
- S as EInputSize,
107
- E as EInputStatus,
104
+ Qr as EFileItemVariant,
105
+ lr as EGosZnakSize,
106
+ dr as EGosZnakType,
107
+ nr as EInputRangeSliderBorderState,
108
+ sr as EInputRangeSliderPositions,
109
+ E as EInputSize,
110
+ S as EInputStatus,
108
111
  l as EInputVariant,
109
- Tr as ELabelPositions,
110
- jo as ELinkSize,
111
- qo as ELinkVariant,
112
- Xr as EMediaQuery,
113
- w as EMergedButtonVariantRound,
114
- Hr as EMessageShortReplyVariant,
115
- Yr as EMinMediaQuery,
116
- wr as EMultiSelectSearchSize,
117
- Wo as ENotificationBadgeSize,
118
- ao as ESelectSearchSize,
119
- yr as ESkeletonVariant,
120
- X as EStepColor,
121
- Y as EStepsSize,
122
- Bo as ETabTrailSize,
123
- so as ETagSize,
124
- uo as ETagType,
125
- I as ETextAreaInputSize,
126
- bo as EToastPosition,
127
- Uo as EToastVariant,
128
- pr as EUploaderType,
129
- ro as EVoteSize,
130
- sr as GosZnak,
131
- se as Icon,
112
+ Ir as ELabelPositions,
113
+ Ho as ELinkSize,
114
+ Jo as ELinkVariant,
115
+ _r as EMediaQuery,
116
+ v as EMergedButtonVariantRound,
117
+ Kr as EMessageShortReplyVariant,
118
+ $r as EMinMediaQuery,
119
+ Fr as EMultiSelectSearchSize,
120
+ Yo as ENotificationBadgeSize,
121
+ ce as EProgressBarPosition,
122
+ io as ESelectSearchSize,
123
+ Ar as ESkeletonVariant,
124
+ _ as EStepColor,
125
+ $ as EStepsSize,
126
+ Mo as ETabTrailSize,
127
+ Eo as ETagSize,
128
+ So as ETagType,
129
+ g as ETextAreaInputSize,
130
+ Uo as EToastPosition,
131
+ vo as EToastVariant,
132
+ ar as EUploaderType,
133
+ to as EVoteSize,
134
+ Er as GosZnak,
135
+ Ee as Icon,
132
136
  F as Image,
133
137
  s as Input,
134
138
  h as InputPassword,
135
139
  z as InputPhoneNumber,
136
- mr as InputRangeSlider,
137
- Qo as Link,
138
- Fr as ListFiles,
139
- Qr as ListPhotos,
140
+ fr as InputRangeSlider,
141
+ jo as Link,
142
+ Nr as ListFiles,
143
+ jr as ListPhotos,
140
144
  N as Loader,
141
- U as MergedButton,
142
- jr as MessageShortReply,
143
- Ur as MultiSelectSearch,
144
- Jo as NotificationBadge,
145
+ w as MergedButton,
146
+ Hr as MessageShortReply,
147
+ vr as MultiSelectSearch,
148
+ Wo as NotificationBadge,
145
149
  y as OtpInput,
146
- Po as Pagination,
150
+ Ro as Pagination,
147
151
  A as RadioGroup,
148
- to as SelectSearch,
149
- kr as SkeletonBrick,
150
- Mr as SkeletonCircle,
151
- Vr as SkeletonText,
152
+ mo as SelectSearch,
153
+ Br as SkeletonBrick,
154
+ yr as SkeletonCircle,
155
+ Pr as SkeletonText,
152
156
  Q as Slider,
153
- K as Steps,
154
- dr as Switcher,
155
- zo as TabTrail,
156
- xo as Tag,
157
+ X as Steps,
158
+ Tr as Switcher,
159
+ Vo as TabTrail,
160
+ so as Tag,
157
161
  c as TextArea,
158
- Eo as Timer,
159
- Ro as ToastProvider,
160
- gr as TwinSwitcher,
161
- er as UniversalUploader,
162
- No as Uploader,
163
- Fo as UploaderFiles,
164
- wo as UploaderPhotos,
165
- $ as Vote,
166
- Se as formating,
167
- B as getMaskedInputPhoneValue,
168
- M as getUnmaskedInputValue,
169
- le as parseDate,
170
- ae as useCopyToClipboard,
171
- re as useInterval,
172
- $r as useLockBodyScroll,
173
- Kr as useMediaQuery,
174
- ie as useMergeRefs,
175
- xe as useResizeObserver,
176
- te as useTimer,
177
- Co as useToast
162
+ co as Timer,
163
+ Co as ToastProvider,
164
+ kr as TwinSwitcher,
165
+ pr as UniversalUploader,
166
+ Qo as Uploader,
167
+ No as UploaderFiles,
168
+ Fo as UploaderPhotos,
169
+ ro as Vote,
170
+ le as formating,
171
+ V as getMaskedInputPhoneValue,
172
+ P as getUnmaskedInputValue,
173
+ ge as parseDate,
174
+ ie as useCopyToClipboard,
175
+ te as useInterval,
176
+ re as useLockBodyScroll,
177
+ Xr as useMediaQuery,
178
+ xe as useMergeRefs,
179
+ se as useResizeObserver,
180
+ me as useTimer,
181
+ bo as useToast
178
182
  };