mimir-ui-kit 1.41.4 → 1.41.6
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/{Input-DAmc_HxO.js → Input-BU_6U1CW.js} +63 -63
- package/dist/assets/CardTrail.css +1 -1
- package/dist/assets/Drawer.css +1 -1
- package/dist/assets/Dropdown.css +1 -1
- package/dist/assets/Image.css +1 -1
- package/dist/assets/Input.css +1 -1
- package/dist/assets/OtpInput.css +1 -1
- package/dist/assets/Pagination.css +1 -1
- package/dist/assets/RadioGroup.css +1 -1
- package/dist/assets/ScrollBar.css +1 -0
- package/dist/assets/Slider.css +1 -1
- package/dist/assets/Timer.css +1 -1
- package/dist/assets/stories.css +1 -1
- package/dist/assets/styles2.css +1 -1
- package/dist/components/CardTrail/CardTrail.d.ts +8 -0
- package/dist/components/CardTrail/CardTrail.js +82 -80
- package/dist/components/CardTrail/constants.d.ts +2 -0
- package/dist/components/CardTrail/constants.js +4 -2
- package/dist/components/DatePicker/DatePicker.js +1 -1
- package/dist/components/Drawer/Drawer.js +74 -74
- package/dist/components/Dropdown/Dropdown.js +121 -121
- package/dist/components/Image/Image.js +12 -12
- package/dist/components/Input/Input.js +1 -1
- package/dist/components/Input/index.js +1 -1
- package/dist/components/InputPassword/InputPassword.js +1 -1
- package/dist/components/InputPhoneNumber/InputPhoneNumber.js +1 -1
- package/dist/components/MultiSelectSearch/MultiSelectSearch.js +1 -1
- package/dist/components/MultiSelectSearch/utils.js +1 -1
- package/dist/components/OtpInput/OtpInput.js +28 -28
- package/dist/components/Pagination/Pagination.js +28 -28
- package/dist/components/RadioGroup/RadioGroup.js +79 -79
- package/dist/components/ScrollBar/ScrollBar.d.ts +17 -0
- package/dist/components/ScrollBar/ScrollBar.js +22 -0
- package/dist/components/ScrollBar/constants.d.ts +8 -0
- package/dist/components/ScrollBar/constants.js +5 -0
- package/dist/components/SelectSearch/SelectSearch.js +1 -1
- package/dist/components/SelectSearch/utils.js +1 -1
- package/dist/components/Slider/Slider.js +40 -40
- package/dist/components/Table/ColumnOrderSettings.js +1 -1
- package/dist/components/Table/Table.js +1 -1
- package/dist/components/Table/TableBody.js +1 -1
- package/dist/components/Table/TableCard.js +1 -1
- package/dist/components/Table/TableCardsView.js +1 -1
- package/dist/components/Table/TableFilters.js +1 -1
- package/dist/components/Table/TableHeader.js +1 -1
- package/dist/components/Table/TableRow.js +1 -1
- package/dist/components/Table/TableScrollButtons.js +1 -1
- package/dist/components/TextArea/TextArea.js +1 -1
- package/dist/components/Timer/Timer.js +6 -6
- package/dist/components/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/stories.module-DBGkpJ-O.js +29 -0
- package/dist/styles.module-9m98aUhp.js +36 -0
- package/package.json +6 -2
- package/src/assets/styles/mixins/animations.scss +3 -0
- package/src/assets/styles/mixins/index.scss +3 -0
- package/src/assets/styles/mixins/media.scss +21 -0
- package/src/assets/styles/mixins/scrollbar.scss +43 -0
- package/dist/stories.module-fud786VB.js +0 -29
- package/dist/styles.module--QBQYoA9.js +0 -36
@@ -1,116 +1,118 @@
|
|
1
|
-
import { jsxs as
|
1
|
+
import { jsxs as N, jsx as s } from "react/jsx-runtime";
|
2
2
|
import { c as i } from "../../index-DIxK0V-G.js";
|
3
|
-
import { forwardRef as
|
4
|
-
import { DEFAULT_SPACE_BETWEEN as
|
5
|
-
import { hasHorizontalScroll as
|
6
|
-
import { useMergeRefs as
|
7
|
-
import { useThrottledCallback as
|
8
|
-
import { MergedButton as
|
9
|
-
import '../../assets/CardTrail.css';const
|
10
|
-
"card-trail": "_card-
|
11
|
-
"card-trail-header": "_card-trail-
|
12
|
-
"card-trail-header-title": "_card-trail-header-
|
13
|
-
"card-trail-header-merged-button": "_card-trail-header-merged-
|
14
|
-
"card-trail-list": "_card-trail-
|
15
|
-
"card-trail-list-item": "_card-trail-list-
|
16
|
-
pointer:
|
17
|
-
},
|
3
|
+
import { forwardRef as H, useRef as E, useState as u, useEffect as O, Children as $ } from "react";
|
4
|
+
import { DEFAULT_SPACE_BETWEEN as j, DEFAULT_SCROLL_STEP as V, DEFAULT_DIVIDED as q, DEFAULT_CARD_INDEX as X } from "./constants.js";
|
5
|
+
import { hasHorizontalScroll as h, isScrollAtEdge as S } from "./utils.js";
|
6
|
+
import { useMergeRefs as G } from "../../hooks/useMergeRefs/useMergeRefs.js";
|
7
|
+
import { useThrottledCallback as J } from "../../hooks/useThrottledCallback/index.js";
|
8
|
+
import { MergedButton as K } from "../MergedButton/MergedButton.js";
|
9
|
+
import '../../assets/CardTrail.css';const P = "_pointer_c21mz_49", c = {
|
10
|
+
"card-trail": "_card-trail_c21mz_3",
|
11
|
+
"card-trail-header": "_card-trail-header_c21mz_7",
|
12
|
+
"card-trail-header-title": "_card-trail-header-title_c21mz_15",
|
13
|
+
"card-trail-header-merged-button": "_card-trail-header-merged-button_c21mz_29",
|
14
|
+
"card-trail-list": "_card-trail-list_c21mz_32",
|
15
|
+
"card-trail-list-item": "_card-trail-list-item_c21mz_45",
|
16
|
+
pointer: P
|
17
|
+
}, lr = H((v, D) => {
|
18
18
|
const {
|
19
|
-
cardClassName:
|
20
|
-
cardTrailClassName:
|
21
|
-
cardTrailHeaderClassName:
|
22
|
-
cardTrailListClassName:
|
23
|
-
cardTrailMergedButtonClassName:
|
24
|
-
children:
|
25
|
-
title:
|
26
|
-
spaceBetween: d =
|
27
|
-
scrollStep:
|
28
|
-
mergedButtonProps:
|
29
|
-
scrollToCard:
|
30
|
-
needButtons:
|
31
|
-
|
19
|
+
cardClassName: T,
|
20
|
+
cardTrailClassName: z,
|
21
|
+
cardTrailHeaderClassName: L,
|
22
|
+
cardTrailListClassName: A,
|
23
|
+
cardTrailMergedButtonClassName: W,
|
24
|
+
children: m,
|
25
|
+
title: f,
|
26
|
+
spaceBetween: d = j,
|
27
|
+
scrollStep: _ = V,
|
28
|
+
mergedButtonProps: l,
|
29
|
+
scrollToCard: C = !1,
|
30
|
+
needButtons: k = !0,
|
31
|
+
dividedCardWidth: p = q,
|
32
|
+
currentCardIndex: g = X
|
33
|
+
} = v, r = E(null), n = E(null), [o, I] = u({
|
32
34
|
leftButton: !0,
|
33
35
|
rightButton: !1
|
34
|
-
}), [
|
35
|
-
() =>
|
36
|
-
),
|
37
|
-
const
|
38
|
-
|
39
|
-
leftButton: !
|
40
|
-
rightButton: !
|
36
|
+
}), [w, B] = u(0), [y, b] = u(
|
37
|
+
() => h(r == null ? void 0 : r.current)
|
38
|
+
), x = G(r, D), M = J(() => {
|
39
|
+
const e = !S(r.current, "left"), t = !S(r.current, "right");
|
40
|
+
I({
|
41
|
+
leftButton: !e,
|
42
|
+
rightButton: !t
|
41
43
|
});
|
42
|
-
}, 300),
|
44
|
+
}, 300), F = (e) => () => {
|
43
45
|
var a;
|
44
|
-
if (!
|
46
|
+
if (!C)
|
45
47
|
return;
|
46
|
-
const
|
47
|
-
`[data-active-card='${
|
48
|
+
const t = (a = r == null ? void 0 : r.current) == null ? void 0 : a.querySelector(
|
49
|
+
`[data-active-card='${e}']`
|
48
50
|
);
|
49
|
-
|
51
|
+
t && (t == null || t.scrollIntoView({
|
50
52
|
behavior: "smooth",
|
51
53
|
block: "nearest",
|
52
54
|
inline: "center"
|
53
55
|
}));
|
54
|
-
},
|
56
|
+
}, R = () => {
|
55
57
|
var a;
|
56
58
|
if (!r.current || o.leftButton) return;
|
57
|
-
const
|
58
|
-
t.scrollBy({
|
59
|
-
left: -(
|
59
|
+
const e = r.current, t = ((a = e.children[g]) == null ? void 0 : a.clientWidth) ?? 0;
|
60
|
+
B(t / p), e.scrollBy({
|
61
|
+
left: -(t + d) * _,
|
60
62
|
behavior: "smooth"
|
61
63
|
});
|
62
|
-
},
|
64
|
+
}, U = () => {
|
63
65
|
var a;
|
64
66
|
if (!r.current || o.rightButton) return;
|
65
|
-
const
|
66
|
-
t.scrollBy({
|
67
|
-
left: (
|
67
|
+
const e = r.current, t = ((a = e.children[g]) == null ? void 0 : a.clientWidth) ?? 0;
|
68
|
+
B(t / p), e.scrollBy({
|
69
|
+
left: (t + d) * _,
|
68
70
|
behavior: "smooth"
|
69
71
|
});
|
70
72
|
};
|
71
|
-
return
|
72
|
-
const
|
73
|
-
if (
|
73
|
+
return O(() => {
|
74
|
+
const e = r.current;
|
75
|
+
if (e)
|
74
76
|
return n.current = new ResizeObserver(() => {
|
75
|
-
|
76
|
-
}), n.current.observe(
|
77
|
+
b(h(r == null ? void 0 : r.current));
|
78
|
+
}), n.current.observe(e), b(h(r == null ? void 0 : r.current)), () => {
|
77
79
|
n.current && n.current.disconnect();
|
78
80
|
};
|
79
|
-
}, [
|
80
|
-
/* @__PURE__ */
|
81
|
+
}, [m]), /* @__PURE__ */ N("section", { className: i(c["card-trail"], z), children: [
|
82
|
+
/* @__PURE__ */ N(
|
81
83
|
"header",
|
82
84
|
{
|
83
85
|
className: i(
|
84
|
-
|
85
|
-
|
86
|
+
c["card-trail-header"],
|
87
|
+
L
|
86
88
|
),
|
87
89
|
children: [
|
88
|
-
|
89
|
-
|
90
|
-
|
90
|
+
f && /* @__PURE__ */ s("h3", { className: c["card-trail-header-title"], children: f }),
|
91
|
+
y && k && /* @__PURE__ */ s(
|
92
|
+
K,
|
91
93
|
{
|
92
94
|
buttonsWrapperClassName: i(
|
93
|
-
|
94
|
-
|
95
|
+
c["card-trail-header-merged-button"],
|
96
|
+
W
|
95
97
|
),
|
96
98
|
buttons: [
|
97
99
|
{
|
98
100
|
isIconButton: !0,
|
99
101
|
iconName: "ArrowLeft16px",
|
100
102
|
variant: "gray",
|
101
|
-
onClick:
|
103
|
+
onClick: R,
|
102
104
|
disabled: o.leftButton,
|
103
105
|
size: "s",
|
104
|
-
...
|
106
|
+
...l == null ? void 0 : l.leftButton
|
105
107
|
},
|
106
108
|
{
|
107
109
|
isIconButton: !0,
|
108
110
|
iconName: "ArrowRight16px",
|
109
111
|
variant: "gray",
|
110
|
-
onClick:
|
112
|
+
onClick: U,
|
111
113
|
size: "s",
|
112
114
|
disabled: o.rightButton,
|
113
|
-
...
|
115
|
+
...l == null ? void 0 : l.rightButton
|
114
116
|
}
|
115
117
|
]
|
116
118
|
}
|
@@ -121,22 +123,22 @@ import '../../assets/CardTrail.css';const q = "_pointer_vv8gl_49", l = {
|
|
121
123
|
/* @__PURE__ */ s(
|
122
124
|
"ul",
|
123
125
|
{
|
124
|
-
onScroll:
|
125
|
-
style: { gap: d },
|
126
|
-
className: i(
|
127
|
-
ref:
|
128
|
-
children:
|
126
|
+
onScroll: M,
|
127
|
+
style: { gap: d, scrollPadding: `0 ${w}px` },
|
128
|
+
className: i(c["card-trail-list"], A),
|
129
|
+
ref: x,
|
130
|
+
children: $.map(m, (e, t) => /* @__PURE__ */ s(
|
129
131
|
"li",
|
130
132
|
{
|
131
|
-
onClick:
|
132
|
-
"data-active-card":
|
133
|
-
"data-testid": `card-trail-item-${
|
133
|
+
onClick: F(t),
|
134
|
+
"data-active-card": t,
|
135
|
+
"data-testid": `card-trail-item-${t}`,
|
134
136
|
className: i(
|
135
|
-
|
136
|
-
{ [
|
137
|
-
|
137
|
+
c["card-trail-list-item"],
|
138
|
+
{ [c.pointer]: C },
|
139
|
+
T
|
138
140
|
),
|
139
|
-
children:
|
141
|
+
children: e
|
140
142
|
}
|
141
143
|
))
|
142
144
|
}
|
@@ -144,5 +146,5 @@ import '../../assets/CardTrail.css';const q = "_pointer_vv8gl_49", l = {
|
|
144
146
|
] });
|
145
147
|
});
|
146
148
|
export {
|
147
|
-
|
149
|
+
lr as CardTrail
|
148
150
|
};
|
@@ -10,7 +10,7 @@ import { YearPickerModal as ot } from "./YearPickerModal.js";
|
|
10
10
|
import { useClickOutside as mt } from "../../hooks/useClickOutside/useClickOutside.js";
|
11
11
|
import { Icon as X } from "../../icons/Icon.js";
|
12
12
|
import { formating as n } from "../../utils/index.js";
|
13
|
-
import { I as pt } from "../../Input-
|
13
|
+
import { I as pt } from "../../Input-BU_6U1CW.js";
|
14
14
|
import { EInputStatus as dt, EInputSize as E } from "../Input/constants.js";
|
15
15
|
const ft = {
|
16
16
|
days: ct,
|
@@ -1,124 +1,124 @@
|
|
1
|
-
import { jsxs as
|
2
|
-
import { c as
|
3
|
-
import { forwardRef as K, useState as
|
4
|
-
import { EDrawerPosition as
|
1
|
+
import { jsxs as m, jsx as o, Fragment as G } from "react/jsx-runtime";
|
2
|
+
import { c as n } from "../../index-DIxK0V-G.js";
|
3
|
+
import { forwardRef as K, useState as v, useRef as V, useCallback as _, useEffect as W } from "react";
|
4
|
+
import { EDrawerPosition as k } from "./constants.js";
|
5
5
|
import { useMediaQuery as Y } from "../../hooks/useMediaQuery/useMediaQuery.js";
|
6
6
|
import { EMediaQuery as q } from "../../hooks/useMediaQuery/constants.js";
|
7
7
|
import { useLockBodyScroll as J } from "../../hooks/useLockBodyScroll/useLockBodyScroll.js";
|
8
8
|
import { useResizeObserver as U } from "../../hooks/useResizeObserver/useResizeObserver.js";
|
9
|
-
import { Button as
|
10
|
-
import { EButtonVariantDefault as Z, EButtonSize as
|
9
|
+
import { Button as C } from "../Button/Button.js";
|
10
|
+
import { EButtonVariantDefault as Z, EButtonSize as a } from "../Button/constants.js";
|
11
11
|
import { Loader as $ } from "../Loader/Loader.js";
|
12
12
|
import { Portal as ee } from "../Portal/Portal.js";
|
13
|
-
import '../../assets/Drawer.css';const oe = "
|
13
|
+
import '../../assets/Drawer.css';const oe = "_drawer_13ua6_2", te = "_content_13ua6_26", ne = "_header_13ua6_44", se = "_title_13ua6_58", ae = "_space_13ua6_72", re = "_inner_13ua6_83", ie = "_button_13ua6_86", le = "_footer_13ua6_91", ce = "_left_13ua6_104", ue = "_right_13ua6_108", de = "_full_13ua6_112", me = "_bottom_13ua6_122", _e = "_opened_13ua6_139", fe = "_overlay_13ua6_195", he = "_unmount_13ua6_211", e = {
|
14
14
|
drawer: oe,
|
15
15
|
content: te,
|
16
|
-
"is-loading": "_is-
|
17
|
-
header:
|
18
|
-
"sticky-header": "_sticky-
|
19
|
-
title:
|
20
|
-
space:
|
21
|
-
inner:
|
22
|
-
button:
|
16
|
+
"is-loading": "_is-loading_13ua6_40",
|
17
|
+
header: ne,
|
18
|
+
"sticky-header": "_sticky-header_13ua6_52",
|
19
|
+
title: se,
|
20
|
+
space: ae,
|
21
|
+
inner: re,
|
22
|
+
button: ie,
|
23
23
|
footer: le,
|
24
|
-
"footer-button": "_footer-
|
24
|
+
"footer-button": "_footer-button_13ua6_100",
|
25
25
|
left: ce,
|
26
|
-
right:
|
27
|
-
full:
|
28
|
-
bottom:
|
29
|
-
"full-bottom-height": "_full-bottom-
|
30
|
-
opened:
|
31
|
-
"is-closing": "_is-
|
26
|
+
right: ue,
|
27
|
+
full: de,
|
28
|
+
bottom: me,
|
29
|
+
"full-bottom-height": "_full-bottom-height_13ua6_133",
|
30
|
+
opened: _e,
|
31
|
+
"is-closing": "_is-closing_13ua6_158",
|
32
32
|
overlay: fe,
|
33
33
|
unmount: he
|
34
|
-
}, pe = 300,
|
35
|
-
(
|
34
|
+
}, pe = 300, Ie = K(
|
35
|
+
(B, E) => {
|
36
36
|
const {
|
37
|
-
as:
|
38
|
-
isOpen:
|
39
|
-
onClose:
|
40
|
-
title:
|
41
|
-
className:
|
37
|
+
as: M = "div",
|
38
|
+
isOpen: s,
|
39
|
+
onClose: r,
|
40
|
+
title: O,
|
41
|
+
className: I,
|
42
42
|
unmount: f = !0,
|
43
|
-
isLoading:
|
44
|
-
stickyHeader:
|
45
|
-
fullBottomHeight:
|
46
|
-
position: l =
|
47
|
-
paddingRight:
|
43
|
+
isLoading: i = !1,
|
44
|
+
stickyHeader: L,
|
45
|
+
fullBottomHeight: R = !1,
|
46
|
+
position: l = k.RIGHT,
|
47
|
+
paddingRight: T = 8,
|
48
48
|
footer: c,
|
49
|
-
children:
|
50
|
-
classNameTitle:
|
51
|
-
classNameHeader:
|
49
|
+
children: S,
|
50
|
+
classNameTitle: D,
|
51
|
+
classNameHeader: x,
|
52
52
|
classNameInner: z,
|
53
53
|
classNameContent: H,
|
54
54
|
classNameFooter: A,
|
55
55
|
closeOnClickOutside: h = !0,
|
56
56
|
showCloseButton: p = !0,
|
57
57
|
...P
|
58
|
-
} =
|
59
|
-
enabled: l ===
|
58
|
+
} = B, [g, N] = v(!1), [X, y] = v(!1), b = V(), u = Y(q.XS1), { ref: j } = U({
|
59
|
+
enabled: l === k.BOTTOM
|
60
60
|
});
|
61
61
|
J({
|
62
|
-
on:
|
63
|
-
paddingRight:
|
62
|
+
on: s && !g,
|
63
|
+
paddingRight: T
|
64
64
|
});
|
65
|
-
const t =
|
66
|
-
|
67
|
-
|
65
|
+
const t = _(() => {
|
66
|
+
r && (N(!0), b.current = setTimeout(() => {
|
67
|
+
r(), N(!1);
|
68
68
|
}, pe));
|
69
|
-
}, [
|
69
|
+
}, [r]), F = _(() => {
|
70
70
|
h && t();
|
71
|
-
}, [h, t]),
|
71
|
+
}, [h, t]), d = _(
|
72
72
|
(Q) => {
|
73
73
|
Q.key === "Escape" && t();
|
74
74
|
},
|
75
75
|
[t]
|
76
76
|
);
|
77
|
-
W(() => (
|
78
|
-
|
79
|
-
}), [
|
80
|
-
const
|
77
|
+
W(() => (s && (y(!0), window.addEventListener("keydown", d)), () => {
|
78
|
+
y(!1), clearTimeout(b.current), window.removeEventListener("keydown", d);
|
79
|
+
}), [s, d]);
|
80
|
+
const w = {
|
81
81
|
[e.opened]: X,
|
82
|
-
[e["is-closing"]]:
|
83
|
-
[e["full-bottom-height"]]:
|
84
|
-
[e["is-loading"]]:
|
82
|
+
[e["is-closing"]]: g,
|
83
|
+
[e["full-bottom-height"]]: R,
|
84
|
+
[e["is-loading"]]: i
|
85
85
|
};
|
86
|
-
return !
|
86
|
+
return !s && f ? null : /* @__PURE__ */ m(ee, { children: [
|
87
87
|
/* @__PURE__ */ o(
|
88
|
-
|
88
|
+
M,
|
89
89
|
{
|
90
|
-
ref:
|
91
|
-
"aria-hidden": !
|
90
|
+
ref: E,
|
91
|
+
"aria-hidden": !s,
|
92
92
|
role: "dialog",
|
93
|
-
className:
|
93
|
+
className: n(e.drawer, e[l], w, I),
|
94
94
|
...P,
|
95
95
|
children: /* @__PURE__ */ o(
|
96
96
|
"section",
|
97
97
|
{
|
98
98
|
ref: j,
|
99
|
-
className:
|
99
|
+
className: n(
|
100
100
|
e.content,
|
101
101
|
H,
|
102
102
|
e[l],
|
103
103
|
{
|
104
|
-
[e["is-loading"]]: !!
|
104
|
+
[e["is-loading"]]: !!i
|
105
105
|
}
|
106
106
|
),
|
107
|
-
children:
|
108
|
-
/* @__PURE__ */
|
107
|
+
children: i ? /* @__PURE__ */ o($, {}) : /* @__PURE__ */ m(G, { children: [
|
108
|
+
/* @__PURE__ */ m(
|
109
109
|
"header",
|
110
110
|
{
|
111
|
-
className:
|
112
|
-
[e["sticky-header"]]:
|
111
|
+
className: n(e.header, x, {
|
112
|
+
[e["sticky-header"]]: L
|
113
113
|
}),
|
114
114
|
children: [
|
115
|
-
/* @__PURE__ */ o("h2", { className:
|
115
|
+
/* @__PURE__ */ o("h2", { className: n(e.title, D), children: O }),
|
116
116
|
/* @__PURE__ */ o("div", { className: e.space, children: p && /* @__PURE__ */ o(
|
117
|
-
|
117
|
+
C,
|
118
118
|
{
|
119
119
|
variant: Z.SecondaryWhite,
|
120
120
|
isIconButton: !0,
|
121
|
-
size:
|
121
|
+
size: u ? a.S : a.M,
|
122
122
|
iconName: "Close16px",
|
123
123
|
onClick: t,
|
124
124
|
className: e.button
|
@@ -127,12 +127,12 @@ import '../../assets/Drawer.css';const oe = "_drawer_1xs4d_3", te = "_content_1x
|
|
127
127
|
]
|
128
128
|
}
|
129
129
|
),
|
130
|
-
/* @__PURE__ */ o("div", { className:
|
131
|
-
/* @__PURE__ */ o("footer", { className:
|
132
|
-
|
130
|
+
/* @__PURE__ */ o("div", { className: n(e.inner, z), children: S }),
|
131
|
+
/* @__PURE__ */ o("footer", { className: n(e.footer, A), children: typeof c == "function" ? c({ handleClose: t }) : c || p && /* @__PURE__ */ o(
|
132
|
+
C,
|
133
133
|
{
|
134
|
-
size:
|
135
|
-
full:
|
134
|
+
size: u ? a.M : a.XXL,
|
135
|
+
full: u,
|
136
136
|
onClick: t,
|
137
137
|
className: e["footer-button"],
|
138
138
|
children: "Закрыть"
|
@@ -146,12 +146,12 @@ import '../../assets/Drawer.css';const oe = "_drawer_1xs4d_3", te = "_content_1x
|
|
146
146
|
/* @__PURE__ */ o(
|
147
147
|
"div",
|
148
148
|
{
|
149
|
-
className:
|
149
|
+
className: n(
|
150
150
|
e.overlay,
|
151
151
|
{
|
152
152
|
[e.unmount]: !f
|
153
153
|
},
|
154
|
-
|
154
|
+
w
|
155
155
|
),
|
156
156
|
"data-testid": "drawer-overlay",
|
157
157
|
onClick: F
|
@@ -162,5 +162,5 @@ import '../../assets/Drawer.css';const oe = "_drawer_1xs4d_3", te = "_content_1x
|
|
162
162
|
);
|
163
163
|
export {
|
164
164
|
pe as ANIMATION_DELAY,
|
165
|
-
|
165
|
+
Ie as Drawer
|
166
166
|
};
|