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.
- package/dist/assets/Dropdown.css +1 -0
- package/dist/assets/Slider.css +1 -1
- 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/Drawer/Drawer.d.ts +5 -1
- package/dist/components/Drawer/Drawer.js +45 -44
- 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/Slider/Slider.d.ts +19 -1
- package/dist/components/Slider/Slider.js +570 -533
- package/dist/components/Slider/constants.d.ts +4 -0
- package/dist/components/Slider/constants.js +4 -0
- package/dist/components/Slider/index.d.ts +1 -0
- package/dist/components/Slider/index.js +2 -0
- package/dist/components/Switcher/Switcher.js +4 -4
- package/dist/components/TabTrail/TabTrail.js +4 -4
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.js +121 -117
- 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 +149 -145
- 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
@@ -1,9 +1,9 @@
|
|
1
1
|
import { jsxs as L, jsx as N } from "react/jsx-runtime";
|
2
|
-
import { H as te } from "../../field-
|
3
|
-
import { K as I, w as re, z as se, U as ae, u as ce, a as le, b as oe, T as ie, I as ne, G as ue, j as he, p as me } from "../../label-
|
4
|
-
import { W as de, H as j, y as pe, p as fe, o as $, $ as be, b as we, D as _e, c as H } from "../../keyboard-
|
2
|
+
import { H as te } from "../../field-FJ34aSs4.js";
|
3
|
+
import { K as I, w as re, z as se, U as ae, u as ce, a as le, b as oe, T as ie, I as ne, G as ue, j as he, p as me } from "../../label-y3ANLTNC.js";
|
4
|
+
import { W as de, H as j, y as pe, p as fe, o as $, $ as be, b as we, D as _e, c as H } from "../../keyboard-B0lm_zyn.js";
|
5
5
|
import u, { createContext as $e, useState as x, useMemo as G, useId as ge, useContext as ve, useRef as ke, useCallback as xe, Fragment as ye, forwardRef as Pe } from "react";
|
6
|
-
import { w as Ce } from "../../use-active-press-
|
6
|
+
import { w as Ce } from "../../use-active-press-86hajhdd.js";
|
7
7
|
import { e as De } from "../../use-resolve-button-type-DhFdPxnv.js";
|
8
8
|
import { r as Fe } from "../../bugs-diTMAGNw.js";
|
9
9
|
import { c as g } from "../../index-DIxK0V-G.js";
|
@@ -6,11 +6,11 @@ import { ETabTrailSize as Ae } from "./constants.js";
|
|
6
6
|
import { TabButtons as Se } from "./TabButtons/TabButtons.js";
|
7
7
|
import { ETabTrailButtonVariant as Fe } from "./TabButtons/constants.js";
|
8
8
|
import { NotificationBadge as De } from "../NotificationBadge/NotificationBadge.js";
|
9
|
-
import { n as W, M as se, W as V, s as j, y as q, o as A, H as z, $ as ce, b as Ne, D as de, a as G, u as Re, c as T, t as Me } from "../../keyboard-
|
10
|
-
import { w as Ce } from "../../use-active-press-
|
9
|
+
import { n as W, M as se, W as V, s as j, y as q, o as A, H as z, $ as ce, b as Ne, D as de, a as G, u as Re, c as T, t as Me } from "../../keyboard-B0lm_zyn.js";
|
10
|
+
import { w as Ce } from "../../use-active-press-86hajhdd.js";
|
11
11
|
import { e as Le } from "../../use-resolve-button-type-DhFdPxnv.js";
|
12
|
-
import { T as pe, s as Oe } from "../../hidden-
|
13
|
-
import { _ as B, T as J, P as N, F as I } from "../../focus-management-
|
12
|
+
import { T as pe, s as Oe } from "../../hidden-DbgtYPOH.js";
|
13
|
+
import { _ as B, T as J, P as N, F as I } from "../../focus-management-DE4t_lW3.js";
|
14
14
|
import '../../assets/TabTrail.css';function Be() {
|
15
15
|
let e = U(!1);
|
16
16
|
return W(() => (e.current = !0, () => {
|
@@ -16,9 +16,10 @@ export { EMergedButtonVariantRound } from './MergedButton';
|
|
16
16
|
export type { TButtonPropsWithoutStyles } from './MergedButton';
|
17
17
|
export { Image } from './Image';
|
18
18
|
export { Loader } from './Loader';
|
19
|
-
export { Slider } from './Slider';
|
19
|
+
export { Slider, EProgressBarPosition } from './Slider';
|
20
20
|
export { Drawer } from './Drawer';
|
21
21
|
export { EDrawerPosition } from './Drawer';
|
22
|
+
export { Dropdown } from './Dropdown';
|
22
23
|
export { Steps, EStepsSize, EStepColor, type TCommonStepsProps } from './Steps';
|
23
24
|
export { Vote, EVoteSize, type TCommonVoteProps, type TProps } from './Vote';
|
24
25
|
export { SelectSearch, ESelectSearchSize } from './SelectSearch';
|
package/dist/components/index.js
CHANGED
@@ -1,155 +1,159 @@
|
|
1
1
|
import { Button as e } from "./Button/Button.js";
|
2
2
|
import { EButtonForm as p, EButtonSize as a, EButtonVariantBorderless as i, EButtonVariantDefault as m, EButtonVariantOutline as x, EButtonVariantRound as f } from "./Button/constants.js";
|
3
3
|
import { I as S } from "../Input-BYrIS5GU.js";
|
4
|
-
import { EInputSize as
|
4
|
+
import { EInputSize as E, EInputStatus as l, EInputVariant as u } from "./Input/constants.js";
|
5
5
|
import { TextArea as c } from "./TextArea/TextArea.js";
|
6
|
-
import { ETextAreaInputSize as
|
6
|
+
import { ETextAreaInputSize as g } from "./TextArea/constants.js";
|
7
7
|
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 {
|
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";
|
70
72
|
export {
|
71
|
-
|
72
|
-
|
73
|
-
|
73
|
+
go as Accordion,
|
74
|
+
ko as AccordionItem,
|
75
|
+
Ur as Avatar,
|
74
76
|
e as Button,
|
75
|
-
|
76
|
-
|
77
|
-
|
77
|
+
fo as CheckboxMimir,
|
78
|
+
$o as Chip,
|
79
|
+
U as DatePicker,
|
78
80
|
q as Drawer,
|
79
|
-
|
80
|
-
|
81
|
+
Q as Dropdown,
|
82
|
+
ho as EAccordionSize,
|
83
|
+
br as EAvatarSize,
|
81
84
|
p as EButtonForm,
|
82
85
|
a as EButtonSize,
|
83
86
|
i as EButtonVariantBorderless,
|
84
87
|
m as EButtonVariantDefault,
|
85
88
|
x as EButtonVariantOutline,
|
86
89
|
f as EButtonVariantRound,
|
87
|
-
|
88
|
-
|
90
|
+
rr as EChipSize,
|
91
|
+
er as EChipVariant,
|
89
92
|
J as EDrawerPosition,
|
90
|
-
|
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,
|
98
|
+
E as EInputSize,
|
96
99
|
l as EInputStatus,
|
97
100
|
u as EInputVariant,
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
Eo as
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
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,
|
116
|
+
g as ETextAreaInputSize,
|
117
|
+
yo as EToastPosition,
|
118
|
+
Do as EToastVariant,
|
119
|
+
ir as EUploaderType,
|
120
|
+
to as EVoteSize,
|
121
|
+
Er as GosZnak,
|
118
122
|
F as Image,
|
119
123
|
S as Input,
|
120
124
|
h as InputPassword,
|
121
125
|
k as InputPhoneNumber,
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
+
xr as InputRangeSlider,
|
127
|
+
qo as Link,
|
128
|
+
Nr as ListFiles,
|
129
|
+
qr as ListPhotos,
|
126
130
|
N as Loader,
|
127
131
|
b as MergedButton,
|
128
|
-
|
129
|
-
|
130
|
-
|
132
|
+
Jr as MessageShortReply,
|
133
|
+
Dr as MultiSelectSearch,
|
134
|
+
Wo as NotificationBadge,
|
131
135
|
M as OtpInput,
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
136
|
+
Ro as Pagination,
|
137
|
+
w as RadioGroup,
|
138
|
+
ao as SelectSearch,
|
139
|
+
zr as SkeletonBrick,
|
140
|
+
Mr as SkeletonCircle,
|
141
|
+
Pr as SkeletonText,
|
138
142
|
O as Slider,
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
+
X as Steps,
|
144
|
+
Tr as Switcher,
|
145
|
+
Bo as TabTrail,
|
146
|
+
So as Tag,
|
143
147
|
c as TextArea,
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
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,
|
152
156
|
B as getMaskedInputPhoneValue,
|
153
157
|
P as getUnmaskedInputValue,
|
154
|
-
|
158
|
+
Co as useToast
|
155
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) {
|