mimir-ui-kit 1.37.18 → 1.38.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. package/dist/assets/Dropdown.css +1 -0
  2. package/dist/close-provider-CEutdhG8.js +9 -0
  3. package/dist/combobox-CVtJDVoZ.js +980 -0
  4. package/dist/components/Accordion/Accordion.js +91 -95
  5. package/dist/components/CheckboxMimir/CheckboxMimir.js +4 -4
  6. package/dist/components/DatePicker/DatePicker.js +19 -19
  7. package/dist/components/DatePicker/hooks.js +11 -11
  8. package/dist/components/Dropdown/Dropdown.d.ts +45 -0
  9. package/dist/components/Dropdown/Dropdown.js +333 -0
  10. package/dist/components/Dropdown/index.d.ts +1 -0
  11. package/dist/components/Dropdown/index.js +4 -0
  12. package/dist/components/MultiSelectSearch/MultiSelectSearch.js +18 -18
  13. package/dist/components/RadioGroup/RadioGroup.js +3 -3
  14. package/dist/components/SelectSearch/SelectSearch.js +21 -21
  15. package/dist/components/Switcher/Switcher.js +4 -4
  16. package/dist/components/TabTrail/TabTrail.js +4 -4
  17. package/dist/components/index.d.ts +1 -0
  18. package/dist/components/index.js +117 -115
  19. package/dist/{field-C1kt7aNM.js → field-FJ34aSs4.js} +2 -2
  20. package/dist/{focus-management-DOYCPyGg.js → focus-management-DE4t_lW3.js} +2 -1
  21. package/dist/{hidden-PvGXrYUY.js → hidden-DbgtYPOH.js} +1 -1
  22. package/dist/index.js +141 -139
  23. package/dist/{keyboard-mgWkd2Vh.js → keyboard-B0lm_zyn.js} +111 -114
  24. package/dist/{label-D4GFpe5F.js → label-y3ANLTNC.js} +2 -2
  25. package/dist/open-closed-CdldUPoq.js +86 -0
  26. package/dist/portal-WDFNoIMz.js +1908 -0
  27. package/dist/{use-active-press-CqLGIFz7.js → use-active-press-86hajhdd.js} +1 -1
  28. package/package.json +1 -1
  29. package/dist/combobox-BpYucpxz.js +0 -2896
  30. package/dist/open-closed-D2VjDhAN.js +0 -86
@@ -8,150 +8,152 @@ import { InputPassword as h } from "./InputPassword/InputPassword.js";
8
8
  import { InputPhoneNumber as k } from "./InputPhoneNumber/InputPhoneNumber.js";
9
9
  import { getMaskedInputPhoneValue as B, getUnmaskedInputValue as P } from "./InputPhoneNumber/utils.js";
10
10
  import { OtpInput as M } from "./OtpInput/OtpInput.js";
11
- import { RadioGroup as L } from "./RadioGroup/RadioGroup.js";
12
- import { DatePicker as w } from "./DatePicker/DatePicker.js";
11
+ import { RadioGroup as w } from "./RadioGroup/RadioGroup.js";
12
+ import { DatePicker as U } from "./DatePicker/DatePicker.js";
13
13
  import { MergedButton as b } from "./MergedButton/MergedButton.js";
14
- import { EMergedButtonVariantRound as v } from "./MergedButton/constants.js";
14
+ import { EMergedButtonVariantRound as D } from "./MergedButton/constants.js";
15
15
  import { AppImage as F } from "./Image/Image.js";
16
16
  import { Loader as N } from "./Loader/Loader.js";
17
17
  import { Slider as O } from "./Slider/index.js";
18
18
  import { Drawer as q } from "./Drawer/Drawer.js";
19
19
  import { EDrawerPosition as J } from "./Drawer/constants.js";
20
- import { Steps as Q } from "./Steps/Steps.js";
21
- import { EStepColor as X, EStepsSize as Y } from "./Steps/constants.js";
22
- import { Vote as $ } from "./Vote/Vote.js";
23
- import { EVoteSize as ro } from "./Vote/constants.js";
24
- import { SelectSearch as to } from "./SelectSearch/SelectSearch.js";
25
- import { ESelectSearchSize as ao } from "./SelectSearch/constants.js";
26
- import { CheckboxMimir as mo } from "./CheckboxMimir/CheckboxMimir.js";
27
- import { Tag as fo } from "./Tag/Tag.js";
28
- import { ETagSize as So, ETagType as so } from "./Tag/constants.js";
29
- import { Timer as lo } from "./Timer/Timer.js";
30
- import { Accordion as co } from "./Accordion/Accordion.js";
31
- import { EAccordionSize as go } from "./Accordion/constants.js";
32
- import { AccordionItem as ho } from "./Accordion/AccordionItem/AccordionItem.js";
33
- import { TabTrail as ko } from "./TabTrail/TabTrail.js";
34
- import { ETabTrailSize as Bo } from "./TabTrail/constants.js";
35
- import { Pagination as Ao } from "./Pagination/Pagination.js";
36
- import { ToastProvider as Ro } from "./Toasts/ToastsProvider.js";
37
- import { useToast as Uo } from "./Toasts/hooks.js";
38
- import { EToastPosition as Co, EToastVariant as bo } from "./Toasts/constants.js";
39
- import { UploaderPhotos as vo } from "./UploaderPhotos/UploaderPhotos.js";
40
- import { UploaderFiles as Fo } from "./UploaderFiles/UploaderFiles.js";
41
- import { Uploader as No } from "./Uploader/Uploader.js";
42
- import { Link as Oo } from "./AnchorLink/Link.js";
43
- import { ELinkSize as qo, ELinkVariant as Ho } from "./AnchorLink/constants.js";
44
- import { NotificationBadge as Ko } from "./NotificationBadge/NotificationBadge.js";
45
- import { ENotificationBadgeSize as Wo } from "./NotificationBadge/constants.js";
46
- import { Chip as Yo } from "./Chip/Chip.js";
47
- import { EChipSize as $o, EChipVariant as or } from "./Chip/constants.js";
48
- import { UniversalUploader as er } from "./UniversalUploader/UniversalUploader.js";
49
- import { EUploaderType as pr } from "./UniversalUploader/constants.js";
50
- import { InputRangeSlider as ir } from "./InputRangeSlider/InputRangeSlider.js";
51
- import { EInputRangeSliderBorderState as xr, EInputRangeSliderPositions as fr } from "./InputRangeSlider/constants.js";
52
- import { GosZnak as Sr } from "./GosZnak/GosZnak.js";
53
- import { EGosZnakSize as Er, EGosZnakType as lr } from "./GosZnak/constants.js";
54
- import { Switcher as dr } from "./Switcher/Switcher.js";
55
- import { ELabelPositions as Tr } from "./Switcher/constants.js";
56
- import { TwinSwitcher as Ir } from "./TwinSwitcher/TwinSwitcher.js";
57
- import { SkeletonBrick as Vr } from "./Skeleton/SkeletonBrick/SkeletonBrick.js";
58
- import { SkeletonText as zr } from "./Skeleton/SkeletonText/SkeletonText.js";
59
- import { SkeletonCircle as Pr } from "./Skeleton/SkeletonCircle/SkeletonCircle.js";
60
- import { ESkeletonVariant as Mr } from "./Skeleton/constants.js";
61
- import { Avatar as Lr } from "./Avatar/Avatar.js";
62
- import { EAvatarSize as wr } from "./Avatar/constants.js";
63
- import { MultiSelectSearch as br } from "./MultiSelectSearch/MultiSelectSearch.js";
64
- import { EMultiSelectSearchSize as vr } from "./MultiSelectSearch/constants.js";
65
- import { ListFiles as Fr } from "./ListFiles/ListFiles.js";
66
- import { EFileItemVariant as Nr } from "./ListFiles/constants.js";
67
- import { ListPhotos as Or } from "./ListPhotos/ListPhotos.js";
68
- import { MessageShortReply as qr } from "./MessageShortReply/MessageShortReply.js";
69
- import { EMessageShortReplyVariant as Jr } from "./MessageShortReply/constants.js";
70
- import { EProgressBarPosition as Qr } from "./Slider/constants.js";
20
+ import { Dropdown as Q } from "./Dropdown/Dropdown.js";
21
+ import { Steps as X } from "./Steps/Steps.js";
22
+ import { EStepColor as _, EStepsSize as $ } from "./Steps/constants.js";
23
+ import { Vote as ro } from "./Vote/Vote.js";
24
+ import { EVoteSize as to } from "./Vote/constants.js";
25
+ import { SelectSearch as ao } from "./SelectSearch/SelectSearch.js";
26
+ import { ESelectSearchSize as mo } from "./SelectSearch/constants.js";
27
+ import { CheckboxMimir as fo } from "./CheckboxMimir/CheckboxMimir.js";
28
+ import { Tag as So } from "./Tag/Tag.js";
29
+ import { ETagSize as Eo, ETagType as lo } from "./Tag/constants.js";
30
+ import { Timer as co } from "./Timer/Timer.js";
31
+ import { Accordion as go } from "./Accordion/Accordion.js";
32
+ import { EAccordionSize as ho } from "./Accordion/constants.js";
33
+ import { AccordionItem as ko } from "./Accordion/AccordionItem/AccordionItem.js";
34
+ import { TabTrail as Bo } from "./TabTrail/TabTrail.js";
35
+ import { ETabTrailSize as Ao } from "./TabTrail/constants.js";
36
+ import { Pagination as Ro } from "./Pagination/Pagination.js";
37
+ import { ToastProvider as Lo } from "./Toasts/ToastsProvider.js";
38
+ import { useToast as Co } from "./Toasts/hooks.js";
39
+ import { EToastPosition as yo, EToastVariant as Do } from "./Toasts/constants.js";
40
+ import { UploaderPhotos as Fo } from "./UploaderPhotos/UploaderPhotos.js";
41
+ import { UploaderFiles as No } from "./UploaderFiles/UploaderFiles.js";
42
+ import { Uploader as Oo } from "./Uploader/Uploader.js";
43
+ import { Link as qo } from "./AnchorLink/Link.js";
44
+ import { ELinkSize as Jo, ELinkVariant as Ko } from "./AnchorLink/constants.js";
45
+ import { NotificationBadge as Wo } from "./NotificationBadge/NotificationBadge.js";
46
+ import { ENotificationBadgeSize as Yo } from "./NotificationBadge/constants.js";
47
+ import { Chip as $o } from "./Chip/Chip.js";
48
+ import { EChipSize as rr, EChipVariant as er } from "./Chip/constants.js";
49
+ import { UniversalUploader as pr } from "./UniversalUploader/UniversalUploader.js";
50
+ import { EUploaderType as ir } from "./UniversalUploader/constants.js";
51
+ import { InputRangeSlider as xr } from "./InputRangeSlider/InputRangeSlider.js";
52
+ import { EInputRangeSliderBorderState as nr, EInputRangeSliderPositions as Sr } from "./InputRangeSlider/constants.js";
53
+ import { GosZnak as Er } from "./GosZnak/GosZnak.js";
54
+ import { EGosZnakSize as ur, EGosZnakType as dr } from "./GosZnak/constants.js";
55
+ import { Switcher as Tr } from "./Switcher/Switcher.js";
56
+ import { ELabelPositions as Ir } from "./Switcher/constants.js";
57
+ import { TwinSwitcher as Vr } from "./TwinSwitcher/TwinSwitcher.js";
58
+ import { SkeletonBrick as zr } from "./Skeleton/SkeletonBrick/SkeletonBrick.js";
59
+ import { SkeletonText as Pr } from "./Skeleton/SkeletonText/SkeletonText.js";
60
+ import { SkeletonCircle as Mr } from "./Skeleton/SkeletonCircle/SkeletonCircle.js";
61
+ import { ESkeletonVariant as wr } from "./Skeleton/constants.js";
62
+ import { Avatar as Ur } from "./Avatar/Avatar.js";
63
+ import { EAvatarSize as br } from "./Avatar/constants.js";
64
+ import { MultiSelectSearch as Dr } from "./MultiSelectSearch/MultiSelectSearch.js";
65
+ import { EMultiSelectSearchSize as Fr } from "./MultiSelectSearch/constants.js";
66
+ import { ListFiles as Nr } from "./ListFiles/ListFiles.js";
67
+ import { EFileItemVariant as Or } from "./ListFiles/constants.js";
68
+ import { ListPhotos as qr } from "./ListPhotos/ListPhotos.js";
69
+ import { MessageShortReply as Jr } from "./MessageShortReply/MessageShortReply.js";
70
+ import { EMessageShortReplyVariant as Qr } from "./MessageShortReply/constants.js";
71
+ import { EProgressBarPosition as Xr } from "./Slider/constants.js";
71
72
  export {
72
- co as Accordion,
73
- ho as AccordionItem,
74
- Lr as Avatar,
73
+ go as Accordion,
74
+ ko as AccordionItem,
75
+ Ur as Avatar,
75
76
  e as Button,
76
- mo as CheckboxMimir,
77
- Yo as Chip,
78
- w as DatePicker,
77
+ fo as CheckboxMimir,
78
+ $o as Chip,
79
+ U as DatePicker,
79
80
  q as Drawer,
80
- go as EAccordionSize,
81
- wr as EAvatarSize,
81
+ Q as Dropdown,
82
+ ho as EAccordionSize,
83
+ br as EAvatarSize,
82
84
  p as EButtonForm,
83
85
  a as EButtonSize,
84
86
  i as EButtonVariantBorderless,
85
87
  m as EButtonVariantDefault,
86
88
  x as EButtonVariantOutline,
87
89
  f as EButtonVariantRound,
88
- $o as EChipSize,
89
- or as EChipVariant,
90
+ rr as EChipSize,
91
+ er as EChipVariant,
90
92
  J as EDrawerPosition,
91
- Nr as EFileItemVariant,
92
- Er as EGosZnakSize,
93
- lr as EGosZnakType,
94
- xr as EInputRangeSliderBorderState,
95
- fr as EInputRangeSliderPositions,
93
+ Or as EFileItemVariant,
94
+ ur as EGosZnakSize,
95
+ dr as EGosZnakType,
96
+ nr as EInputRangeSliderBorderState,
97
+ Sr as EInputRangeSliderPositions,
96
98
  E as EInputSize,
97
99
  l as EInputStatus,
98
100
  u as EInputVariant,
99
- Tr as ELabelPositions,
100
- qo as ELinkSize,
101
- Ho as ELinkVariant,
102
- v as EMergedButtonVariantRound,
103
- Jr as EMessageShortReplyVariant,
104
- vr as EMultiSelectSearchSize,
105
- Wo as ENotificationBadgeSize,
106
- Qr as EProgressBarPosition,
107
- ao as ESelectSearchSize,
108
- Mr as ESkeletonVariant,
109
- X as EStepColor,
110
- Y as EStepsSize,
111
- Bo as ETabTrailSize,
112
- So as ETagSize,
113
- so as ETagType,
101
+ Ir as ELabelPositions,
102
+ Jo as ELinkSize,
103
+ Ko as ELinkVariant,
104
+ D as EMergedButtonVariantRound,
105
+ Qr as EMessageShortReplyVariant,
106
+ Fr as EMultiSelectSearchSize,
107
+ Yo as ENotificationBadgeSize,
108
+ Xr as EProgressBarPosition,
109
+ mo as ESelectSearchSize,
110
+ wr as ESkeletonVariant,
111
+ _ as EStepColor,
112
+ $ as EStepsSize,
113
+ Ao as ETabTrailSize,
114
+ Eo as ETagSize,
115
+ lo as ETagType,
114
116
  g as ETextAreaInputSize,
115
- Co as EToastPosition,
116
- bo as EToastVariant,
117
- pr as EUploaderType,
118
- ro as EVoteSize,
119
- Sr as GosZnak,
117
+ yo as EToastPosition,
118
+ Do as EToastVariant,
119
+ ir as EUploaderType,
120
+ to as EVoteSize,
121
+ Er as GosZnak,
120
122
  F as Image,
121
123
  S as Input,
122
124
  h as InputPassword,
123
125
  k as InputPhoneNumber,
124
- ir as InputRangeSlider,
125
- Oo as Link,
126
- Fr as ListFiles,
127
- Or as ListPhotos,
126
+ xr as InputRangeSlider,
127
+ qo as Link,
128
+ Nr as ListFiles,
129
+ qr as ListPhotos,
128
130
  N as Loader,
129
131
  b as MergedButton,
130
- qr as MessageShortReply,
131
- br as MultiSelectSearch,
132
- Ko as NotificationBadge,
132
+ Jr as MessageShortReply,
133
+ Dr as MultiSelectSearch,
134
+ Wo as NotificationBadge,
133
135
  M as OtpInput,
134
- Ao as Pagination,
135
- L as RadioGroup,
136
- to as SelectSearch,
137
- Vr as SkeletonBrick,
138
- Pr as SkeletonCircle,
139
- zr as SkeletonText,
136
+ Ro as Pagination,
137
+ w as RadioGroup,
138
+ ao as SelectSearch,
139
+ zr as SkeletonBrick,
140
+ Mr as SkeletonCircle,
141
+ Pr as SkeletonText,
140
142
  O as Slider,
141
- Q as Steps,
142
- dr as Switcher,
143
- ko as TabTrail,
144
- fo as Tag,
143
+ X as Steps,
144
+ Tr as Switcher,
145
+ Bo as TabTrail,
146
+ So as Tag,
145
147
  c as TextArea,
146
- lo as Timer,
147
- Ro as ToastProvider,
148
- Ir as TwinSwitcher,
149
- er as UniversalUploader,
150
- No as Uploader,
151
- Fo as UploaderFiles,
152
- vo as UploaderPhotos,
153
- $ as Vote,
148
+ co as Timer,
149
+ Lo as ToastProvider,
150
+ Vr as TwinSwitcher,
151
+ pr as UniversalUploader,
152
+ Oo as Uploader,
153
+ No as UploaderFiles,
154
+ Fo as UploaderPhotos,
155
+ ro as Vote,
154
156
  B as getMaskedInputPhoneValue,
155
157
  P as getUnmaskedInputValue,
156
- Uo as useToast
158
+ Co as useToast
157
159
  };
@@ -1,6 +1,6 @@
1
1
  import l, { useId as u, useMemo as f } from "react";
2
- import { z as p, U as h, a as v, l as E, f as b, W as $ } from "./label-D4GFpe5F.js";
3
- import { W as H, H as W } from "./keyboard-mgWkd2Vh.js";
2
+ import { z as p, U as h, a as v, l as E, f as b, W as $ } from "./label-y3ANLTNC.js";
3
+ import { W as H, H as W } from "./keyboard-B0lm_zyn.js";
4
4
  let P = "div";
5
5
  function _(a, i) {
6
6
  let d = `headlessui-control-${u()}`, [o, n] = p(), [m, s] = h(), c = v(), { disabled: e = c || !1, ...t } = a, r = f(() => ({ disabled: e }), [e]);
@@ -1,4 +1,4 @@
1
- import { u as N, a as v } from "./keyboard-mgWkd2Vh.js";
1
+ import { u as N, a as v } from "./keyboard-B0lm_zyn.js";
2
2
  let m = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])"].map((e) => `${e}:not([tabindex='-1'])`).join(","), F = ["[data-autofocus]"].map((e) => `${e}:not([tabindex='-1'])`).join(",");
3
3
  var h = ((e) => (e[e.First = 1] = "First", e[e.Previous = 2] = "Previous", e[e.Next = 4] = "Next", e[e.Last = 8] = "Last", e[e.WrapAround = 16] = "WrapAround", e[e.NoScroll = 32] = "NoScroll", e[e.AutoFocus = 64] = "AutoFocus", e))(h || {}), x = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(x || {}), A = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(A || {});
4
4
  function y(e = document.body) {
@@ -72,6 +72,7 @@ export {
72
72
  L as P,
73
73
  x as T,
74
74
  O as _,
75
+ y as b,
75
76
  m as f,
76
77
  p as h
77
78
  };
@@ -1,4 +1,4 @@
1
- import { W as t, H as a } from "./keyboard-mgWkd2Vh.js";
1
+ import { W as t, H as a } from "./keyboard-B0lm_zyn.js";
2
2
  let l = "span";
3
3
  var p = ((e) => (e[e.None = 1] = "None", e[e.Focusable = 2] = "Focusable", e[e.Hidden = 4] = "Hidden", e))(p || {});
4
4
  function s(e, n) {