mimir-ui-kit 1.37.18 → 1.38.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assets/Dropdown.css +1 -0
- package/dist/close-provider-CEutdhG8.js +9 -0
- package/dist/combobox-CVtJDVoZ.js +980 -0
- package/dist/components/Accordion/Accordion.js +91 -95
- package/dist/components/CheckboxMimir/CheckboxMimir.js +4 -4
- package/dist/components/Dropdown/Dropdown.d.ts +45 -0
- package/dist/components/Dropdown/Dropdown.js +333 -0
- package/dist/components/Dropdown/index.d.ts +1 -0
- package/dist/components/Dropdown/index.js +4 -0
- package/dist/components/MultiSelectSearch/MultiSelectSearch.js +18 -18
- package/dist/components/RadioGroup/RadioGroup.js +3 -3
- package/dist/components/SelectSearch/SelectSearch.js +21 -21
- package/dist/components/Switcher/Switcher.js +4 -4
- package/dist/components/TabTrail/TabTrail.js +4 -4
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +117 -115
- package/dist/{field-C1kt7aNM.js → field-FJ34aSs4.js} +2 -2
- package/dist/{focus-management-DOYCPyGg.js → focus-management-DE4t_lW3.js} +2 -1
- package/dist/{hidden-PvGXrYUY.js → hidden-DbgtYPOH.js} +1 -1
- package/dist/index.js +141 -139
- package/dist/{keyboard-mgWkd2Vh.js → keyboard-B0lm_zyn.js} +111 -114
- package/dist/{label-D4GFpe5F.js → label-y3ANLTNC.js} +2 -2
- package/dist/open-closed-CdldUPoq.js +86 -0
- package/dist/portal-WDFNoIMz.js +1908 -0
- package/dist/{use-active-press-CqLGIFz7.js → use-active-press-86hajhdd.js} +1 -1
- package/package.json +1 -1
- package/dist/combobox-BpYucpxz.js +0 -2896
- package/dist/open-closed-D2VjDhAN.js +0 -86
package/dist/components/index.js
CHANGED
@@ -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
|
12
|
-
import { DatePicker as
|
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
|
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 {
|
21
|
-
import {
|
22
|
-
import {
|
23
|
-
import {
|
24
|
-
import {
|
25
|
-
import {
|
26
|
-
import {
|
27
|
-
import {
|
28
|
-
import {
|
29
|
-
import {
|
30
|
-
import {
|
31
|
-
import {
|
32
|
-
import {
|
33
|
-
import {
|
34
|
-
import {
|
35
|
-
import {
|
36
|
-
import {
|
37
|
-
import {
|
38
|
-
import {
|
39
|
-
import {
|
40
|
-
import {
|
41
|
-
import {
|
42
|
-
import {
|
43
|
-
import {
|
44
|
-
import {
|
45
|
-
import {
|
46
|
-
import {
|
47
|
-
import {
|
48
|
-
import {
|
49
|
-
import {
|
50
|
-
import {
|
51
|
-
import {
|
52
|
-
import {
|
53
|
-
import {
|
54
|
-
import {
|
55
|
-
import {
|
56
|
-
import {
|
57
|
-
import {
|
58
|
-
import {
|
59
|
-
import {
|
60
|
-
import {
|
61
|
-
import {
|
62
|
-
import {
|
63
|
-
import {
|
64
|
-
import {
|
65
|
-
import {
|
66
|
-
import {
|
67
|
-
import {
|
68
|
-
import {
|
69
|
-
import {
|
70
|
-
import {
|
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
|
-
|
73
|
-
|
74
|
-
|
73
|
+
go as Accordion,
|
74
|
+
ko as AccordionItem,
|
75
|
+
Ur as Avatar,
|
75
76
|
e as Button,
|
76
|
-
|
77
|
-
|
78
|
-
|
77
|
+
fo as CheckboxMimir,
|
78
|
+
$o as Chip,
|
79
|
+
U as DatePicker,
|
79
80
|
q as Drawer,
|
80
|
-
|
81
|
-
|
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
|
-
|
89
|
-
|
90
|
+
rr as EChipSize,
|
91
|
+
er as EChipVariant,
|
90
92
|
J as EDrawerPosition,
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
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
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
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
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
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
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
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
|
-
|
131
|
-
|
132
|
-
|
132
|
+
Jr as MessageShortReply,
|
133
|
+
Dr as MultiSelectSearch,
|
134
|
+
Wo as NotificationBadge,
|
133
135
|
M as OtpInput,
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
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
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
143
|
+
X as Steps,
|
144
|
+
Tr as Switcher,
|
145
|
+
Bo as TabTrail,
|
146
|
+
So as Tag,
|
145
147
|
c as TextArea,
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
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
|
-
|
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-
|
3
|
-
import { W as H, H as W } from "./keyboard-
|
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-
|
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-
|
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) {
|