welcome-ui 9.0.0-alpha.4 → 9.0.0
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/README.md +47 -3
- package/dist/2W3RN7C5-bkX-rIa3.js +61 -0
- package/dist/4I4MLMKD-BLxAidnq.js +43 -0
- package/dist/Accordion.js +6 -6
- package/dist/Alert.js +1 -1
- package/dist/AspectRatio.js +1 -1
- package/dist/Avatar.js +1 -1
- package/dist/{4CMBR7SL-Dhp8uJop.js → B7UTNDHN-BlIblHCu.js} +59 -59
- package/dist/Badge.js +1 -1
- package/dist/Breadcrumb.css +1 -1
- package/dist/Breadcrumb.js +27 -27
- package/dist/Button.js +2 -2
- package/dist/ButtonGroup.js +1 -1
- package/dist/Card.js +1 -1
- package/dist/Checkbox.css +1 -1
- package/dist/Checkbox.js +22 -22
- package/dist/CloseButton.js +3 -3
- package/dist/{SYRFVSLH-CHNUB1rW.js → DSAASPLT-BaaCUKsb.js} +7 -7
- package/dist/DatePicker.js +5 -5
- package/dist/DateTimePicker.js +2 -2
- package/dist/Drawer.css +1 -1
- package/dist/Drawer.js +67 -67
- package/dist/DropdownMenu.js +261 -259
- package/dist/Field.js +1 -1
- package/dist/FieldGroup.js +1 -1
- package/dist/FileDrop.js +194 -221
- package/dist/FileUpload.js +2 -2
- package/dist/GVVKDT6A-bET6V7Py.js +724 -0
- package/dist/Hint.js +1 -1
- package/dist/{Icon-BisRi8B3.js → Icon-EG7O4YwD.js} +1 -1
- package/dist/Icon.js +12 -12
- package/dist/InputText.js +1 -1
- package/dist/{ASMQKSDT-SH1qSiMi.js → KPUWHTQJ-D2TPji47.js} +30 -30
- package/dist/Label.js +3 -3
- package/dist/Link.css +1 -1
- package/dist/Link.js +27 -27
- package/dist/Loader.js +1 -1
- package/dist/Logo.js +1 -1
- package/dist/Modal.js +10 -10
- package/dist/{JC64G2H7-DPy9R0De.js → NI3IVY7K-Ztb3-XAv.js} +571 -571
- package/dist/{P4IRICAX-7kH4HzWI.js → NMGNQVTG-C6TqBngP.js} +5 -5
- package/dist/{LVA2YJMS-NUHCRwFZ.js → OE2EFRVA-C3721cM3.js} +316 -315
- package/dist/{ITI7HKP4-C5xLpoVY.js → OLVWQA7U-DysaSaZj.js} +59 -59
- package/dist/Pagination.css +1 -1
- package/dist/Pagination.js +81 -73
- package/dist/PasswordInput.js +17 -18
- package/dist/Popover.js +14 -14
- package/dist/{YV4JVR4I-CVFstk2K.js → RTNCFSKZ-qpPg689E.js} +75 -73
- package/dist/Radio.css +1 -1
- package/dist/Radio.js +29 -29
- package/dist/RadioGroup.js +21 -21
- package/dist/RadioTab.js +2 -2
- package/dist/{P2CTZE2T-D1TepwxQ.js → SBSPVDDI-DJKkC1eb.js} +43 -43
- package/dist/{NLEBE274-B4zy25kL.js → SQZLCNLX-CHDXnZ16.js} +16 -16
- package/dist/Search.js +2 -2
- package/dist/Select.js +170 -181
- package/dist/Slider.js +1 -1
- package/dist/Swiper.css +1 -1
- package/dist/Swiper.js +151 -151
- package/dist/{VGCJ63VH-CVhs4PYt.js → T22PY7TE-C1N0q8Kn.js} +109 -109
- package/dist/Table.js +1 -1
- package/dist/Tabs.js +303 -308
- package/dist/Tag.js +3 -3
- package/dist/Text.js +1 -1
- package/dist/Textarea.js +1 -1
- package/dist/TimePicker.js +2 -2
- package/dist/Toast.js +1 -1
- package/dist/Toggle.js +2 -2
- package/dist/Tooltip.js +72 -72
- package/dist/VariantIcon.js +3 -3
- package/dist/WelcomeLoader.js +1 -1
- package/dist/XCKGTAUF-DkxWCbaW.js +25 -0
- package/dist/Y67KZUMI-DFEgrUv2.js +15 -0
- package/dist/{AXB53BZF-BHeessqV.js → ZTXFEM5L-CkrIQCN1.js} +7 -7
- package/dist/{field-icon-size-Du58qHNC.js → field-icon-size-Z5NulTSk.js} +216 -224
- package/dist/{index-5rXezknO.js → index-BC2bF45u.js} +1 -1
- package/dist/{index-C8GsqBDe.js → index-BeetbagJ.js} +1 -1
- package/dist/{index-BJLXLdM3.js → index-Bt79XJ8R.js} +1 -1
- package/dist/{index-Dcq5gh3E.js → index-BtwrJ6N4.js} +1 -1
- package/dist/{index-DL4-ut3P.js → index-CCASZBtz.js} +1 -1
- package/dist/{index-lbUBMgHp.js → index-CPqDZeah.js} +2 -2
- package/dist/{index-CTgip19b.js → index-CQEPCbEE.js} +1 -1
- package/dist/{index-CnxSNAPH.js → index-Crpe9CvH.js} +1 -1
- package/dist/{index-CWVOLBDY.js → index-D5a8Oe6k.js} +1 -1
- package/dist/{index-C1jjVTAc.js → index-D8dq-I5s.js} +1 -1
- package/dist/{index-Cvtm6uuS.js → index-DkwTwo3z.js} +1 -1
- package/dist/{index-BG2aV9o8.js → index-DnO8yBVT.js} +1 -1
- package/dist/index.css +0 -0
- package/dist/tslib.es6-DpB4Y59c.js +683 -0
- package/dist/types/components/Pagination/index.d.ts +1 -2
- package/dist/types/components/Pagination/types.d.ts +5 -2
- package/dist/types/components/PasswordInput/ToggleButton.d.ts +1 -1
- package/dist/types/components/PasswordInput/types.d.ts +1 -1
- package/dist/types/components/Tabs/components/TabList/index.d.ts +1 -1
- package/dist/types/components/Tabs/index.d.ts +1 -1
- package/dist/types/components/Tabs/types.d.ts +1 -2
- package/dist/types/components/Tabs/utils.d.ts +1 -2
- package/dist/types/utils/index.d.ts +1 -0
- package/dist/types/utils/theme/index.d.ts +0 -0
- package/dist/types/utils/useForkRef.d.ts +7 -1
- package/dist/useForkRef-D807AV7D.js +22 -0
- package/dist/{utils-BNMgUIHQ.js → utils-BpbIqM56.js} +1 -1
- package/dist/utils.js +2 -2
- package/package.json +5 -5
- package/dist/BYC7LY2E-DbSoi9cN.js +0 -673
- package/dist/KUU7WJ55-CsIy9XMu.js +0 -61
- package/dist/MTZPJQMC-D_TnSwZf.js +0 -15
- package/dist/QYJ6MIDR-Dm7lYMh6.js +0 -43
- package/dist/X5NMLKT6-PeY306ft.js +0 -25
- package/dist/index--0U5Rubs.js +0 -644
- /package/dist/{index-PAaZGbyz.js → index-CdiHdiVB.js} +0 -0
package/dist/DropdownMenu.js
CHANGED
|
@@ -1,80 +1,18 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _, jsxs as Le } from "react/jsx-runtime";
|
|
3
|
-
import { u as
|
|
4
|
-
import { H as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { i as
|
|
9
|
-
import {
|
|
10
|
-
import { c as _t, R as xt } from "./
|
|
11
|
-
import { c as te } from "./index-
|
|
3
|
+
import { u as D, m as Ve, o as Re, p as $e, t as Ke, c as Be, s as pe, a as ve, b as ze, d as We } from "./RTNCFSKZ-qpPg689E.js";
|
|
4
|
+
import { H as je, a as Ue, u as qe, b as Ge, c as Ze, d as Je, e as Qe } from "./GVVKDT6A-bET6V7Py.js";
|
|
5
|
+
import { u as ue, C as we, a as ge, f as Xe, b as Ye } from "./SBSPVDDI-DJKkC1eb.js";
|
|
6
|
+
import { c as N, _ as P, a as b, f as k, b as F, i as B, d as y, e as Me, u as $, g as Se, s as et, r as Ce, h as tt, j as rt, n as nt, k as ot, l as se, m as U, o as st, p as ee, q as at, t as ut, v as _e, w as xe, x as ye, y as it, z as ct, A as lt, B as Ee, C as dt, D as ft, E as mt, F as pt, G, H as j, I as R, J as vt, K as bt } from "./OE2EFRVA-C3721cM3.js";
|
|
7
|
+
import { createContext as Pe, useRef as ie, useCallback as ht, useState as Oe, useEffect as Ae, createRef as wt, useMemo as gt, forwardRef as ce } from "react";
|
|
8
|
+
import { i as Mt } from "./T22PY7TE-C1N0q8Kn.js";
|
|
9
|
+
import { u as St, a as Ct } from "./OLVWQA7U-DysaSaZj.js";
|
|
10
|
+
import { c as _t, R as xt } from "./NI3IVY7K-Ztb3-XAv.js";
|
|
11
|
+
import { c as te } from "./index-CdiHdiVB.js";
|
|
12
12
|
import { f as Te } from "./forwardRefWithAs-8eP3ZN15.js";
|
|
13
|
-
import { u as yt } from "./
|
|
14
|
-
import { c as Et, u as Pt } from "./
|
|
15
|
-
var Ot = "
|
|
16
|
-
function He(n) {
|
|
17
|
-
const t = n.relatedTarget;
|
|
18
|
-
return (t == null ? void 0 : t.nodeType) === Node.ELEMENT_NODE ? t : null;
|
|
19
|
-
}
|
|
20
|
-
function At(n) {
|
|
21
|
-
const t = He(n);
|
|
22
|
-
return t ? Ze(n.currentTarget, t) : !1;
|
|
23
|
-
}
|
|
24
|
-
var ae = Symbol("composite-hover");
|
|
25
|
-
function Tt(n) {
|
|
26
|
-
let t = He(n);
|
|
27
|
-
if (!t) return !1;
|
|
28
|
-
do {
|
|
29
|
-
if (Je(t, ae) && t[ae]) return !0;
|
|
30
|
-
t = t.parentElement;
|
|
31
|
-
} while (t);
|
|
32
|
-
return !1;
|
|
33
|
-
}
|
|
34
|
-
var Ie = N(
|
|
35
|
-
function(t) {
|
|
36
|
-
var r = t, {
|
|
37
|
-
store: e,
|
|
38
|
-
focusOnHover: o = !0,
|
|
39
|
-
blurOnHoverEnd: u = !!o
|
|
40
|
-
} = r, a = P(r, [
|
|
41
|
-
"store",
|
|
42
|
-
"focusOnHover",
|
|
43
|
-
"blurOnHoverEnd"
|
|
44
|
-
]);
|
|
45
|
-
const s = ue();
|
|
46
|
-
e = e || s, B(
|
|
47
|
-
e,
|
|
48
|
-
process.env.NODE_ENV !== "production" && "CompositeHover must be wrapped in a Composite component."
|
|
49
|
-
);
|
|
50
|
-
const c = qe(), d = a.onMouseMove, i = se(o), w = $((f) => {
|
|
51
|
-
if (d == null || d(f), !f.defaultPrevented && c() && i(f)) {
|
|
52
|
-
if (!U(f.currentTarget)) {
|
|
53
|
-
const M = e == null ? void 0 : e.getState().baseElement;
|
|
54
|
-
M && !Ge(M) && M.focus();
|
|
55
|
-
}
|
|
56
|
-
e == null || e.setActiveId(f.currentTarget.id);
|
|
57
|
-
}
|
|
58
|
-
}), p = a.onMouseLeave, l = se(u), C = $((f) => {
|
|
59
|
-
var M;
|
|
60
|
-
p == null || p(f), !f.defaultPrevented && c() && (At(f) || Tt(f) || i(f) && l(f) && (e == null || e.setActiveId(null), (M = e == null ? void 0 : e.getState().baseElement) == null || M.focus()));
|
|
61
|
-
}), m = lt((f) => {
|
|
62
|
-
f && (f[ae] = !0);
|
|
63
|
-
}, []);
|
|
64
|
-
return a = y(b({}, a), {
|
|
65
|
-
ref: ee(m, a.ref),
|
|
66
|
-
onMouseMove: w,
|
|
67
|
-
onMouseLeave: C
|
|
68
|
-
}), Me(a);
|
|
69
|
-
}
|
|
70
|
-
);
|
|
71
|
-
Se(
|
|
72
|
-
k(function(t) {
|
|
73
|
-
const r = Ie(t);
|
|
74
|
-
return F(Ot, r);
|
|
75
|
-
})
|
|
76
|
-
);
|
|
77
|
-
var Ht = "hr", De = N(
|
|
13
|
+
import { u as yt } from "./4I4MLMKD-BLxAidnq.js";
|
|
14
|
+
import { c as Et, u as Pt } from "./B7UTNDHN-BlIblHCu.js";
|
|
15
|
+
var Ot = "hr", He = N(
|
|
78
16
|
function(t) {
|
|
79
17
|
var r = t, { orientation: e = "horizontal" } = r, o = P(r, ["orientation"]);
|
|
80
18
|
return o = b({
|
|
@@ -84,10 +22,10 @@ var Ht = "hr", De = N(
|
|
|
84
22
|
}
|
|
85
23
|
);
|
|
86
24
|
k(function(t) {
|
|
87
|
-
const r =
|
|
88
|
-
return F(
|
|
25
|
+
const r = He(t);
|
|
26
|
+
return F(Ot, r);
|
|
89
27
|
});
|
|
90
|
-
var
|
|
28
|
+
var At = "hr", Ie = N(function(t) {
|
|
91
29
|
var r = t, { store: e } = r, o = P(r, ["store"]);
|
|
92
30
|
const u = ue();
|
|
93
31
|
e = e || u, B(
|
|
@@ -97,26 +35,33 @@ var It = "hr", Ne = N(function(t) {
|
|
|
97
35
|
const a = e.useState(
|
|
98
36
|
(s) => s.orientation === "horizontal" ? "vertical" : "horizontal"
|
|
99
37
|
);
|
|
100
|
-
return o =
|
|
38
|
+
return o = He(y(b({}, o), { orientation: a })), o;
|
|
101
39
|
});
|
|
102
40
|
k(function(t) {
|
|
103
|
-
const r =
|
|
104
|
-
return F(
|
|
41
|
+
const r = Ie(t);
|
|
42
|
+
return F(At, r);
|
|
105
43
|
});
|
|
106
|
-
var
|
|
44
|
+
var De = Me(
|
|
45
|
+
[ge],
|
|
46
|
+
[we]
|
|
47
|
+
), Tt = De.useContext, Ht = De.useScopedContext;
|
|
48
|
+
Pe(
|
|
49
|
+
void 0
|
|
50
|
+
);
|
|
51
|
+
var It = "div", L = "";
|
|
107
52
|
function oe() {
|
|
108
53
|
L = "";
|
|
109
54
|
}
|
|
110
|
-
function
|
|
55
|
+
function Dt(n) {
|
|
111
56
|
const t = n.target;
|
|
112
|
-
return t &&
|
|
57
|
+
return t && tt(t) ? !1 : n.key === " " && L.length ? !0 : n.key.length === 1 && !n.ctrlKey && !n.altKey && !n.metaKey && /^[\p{Letter}\p{Number}]$/u.test(n.key);
|
|
113
58
|
}
|
|
114
|
-
function
|
|
115
|
-
if (
|
|
59
|
+
function Nt(n, t) {
|
|
60
|
+
if (rt(n)) return !0;
|
|
116
61
|
const r = n.target;
|
|
117
62
|
return r ? t.some((o) => o.element === r) : !1;
|
|
118
63
|
}
|
|
119
|
-
function
|
|
64
|
+
function kt(n) {
|
|
120
65
|
return n.filter((t) => !t.disabled);
|
|
121
66
|
}
|
|
122
67
|
function Y(n, t) {
|
|
@@ -126,12 +71,12 @@ function Y(n, t) {
|
|
|
126
71
|
// component that can be used with those as well, we also consider the value
|
|
127
72
|
// property as a fallback for the typeahead text content.
|
|
128
73
|
"value" in n && n.value;
|
|
129
|
-
return e ?
|
|
74
|
+
return e ? nt(e).trim().toLowerCase().startsWith(t.toLowerCase()) : !1;
|
|
130
75
|
}
|
|
131
|
-
function
|
|
76
|
+
function Ft(n, t, r) {
|
|
132
77
|
if (!r) return n;
|
|
133
78
|
const e = n.find((o) => o.id === r);
|
|
134
|
-
return !e || !Y(e, t) || L !== t && Y(e, L) ? n : (L = t,
|
|
79
|
+
return !e || !Y(e, t) || L !== t && Y(e, L) ? n : (L = t, Xe(
|
|
135
80
|
n.filter((o) => Y(o, L)),
|
|
136
81
|
r
|
|
137
82
|
).filter((o) => o.id !== r));
|
|
@@ -145,157 +90,105 @@ var le = N(function(t) {
|
|
|
145
90
|
);
|
|
146
91
|
const s = u.onKeyDownCapture, c = ie(0), d = $((i) => {
|
|
147
92
|
if (s == null || s(i), i.defaultPrevented || !o || !e) return;
|
|
148
|
-
if (!
|
|
93
|
+
if (!Dt(i))
|
|
149
94
|
return oe();
|
|
150
95
|
const { renderedItems: w, items: p, activeId: l, id: C } = e.getState();
|
|
151
|
-
let m =
|
|
96
|
+
let m = kt(
|
|
152
97
|
p.length > w.length ? p : w
|
|
153
98
|
);
|
|
154
|
-
const f =
|
|
99
|
+
const f = Se(i.currentTarget), M = `[data-offscreen-id="${C}"]`, v = f.querySelectorAll(M);
|
|
155
100
|
for (const S of v) {
|
|
156
101
|
const H = S.ariaDisabled === "true" || "disabled" in S && !!S.disabled;
|
|
157
102
|
m.push({ id: S.id, element: S, disabled: H });
|
|
158
103
|
}
|
|
159
|
-
if (v.length && (m =
|
|
104
|
+
if (v.length && (m = et(m, (S) => S.element)), !Nt(i, m)) return oe();
|
|
160
105
|
i.preventDefault(), window.clearTimeout(c.current), c.current = window.setTimeout(() => {
|
|
161
106
|
L = "";
|
|
162
107
|
}, 500);
|
|
163
108
|
const O = i.key.toLowerCase();
|
|
164
|
-
L += O, m =
|
|
109
|
+
L += O, m = Ft(m, O, l);
|
|
165
110
|
const E = m.find((S) => Y(S, L));
|
|
166
111
|
E ? e.move(E.id) : oe();
|
|
167
112
|
});
|
|
168
113
|
return u = y(b({}, u), {
|
|
169
114
|
onKeyDownCapture: d
|
|
170
|
-
}),
|
|
115
|
+
}), Ce(u);
|
|
171
116
|
});
|
|
172
117
|
k(function(t) {
|
|
173
118
|
const r = le(t);
|
|
174
|
-
return F(
|
|
119
|
+
return F(It, r);
|
|
175
120
|
});
|
|
176
|
-
var
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
121
|
+
var Lt = "div";
|
|
122
|
+
function Ne(n) {
|
|
123
|
+
const t = n.relatedTarget;
|
|
124
|
+
return (t == null ? void 0 : t.nodeType) === Node.ELEMENT_NODE ? t : null;
|
|
125
|
+
}
|
|
126
|
+
function Vt(n) {
|
|
127
|
+
const t = Ne(n);
|
|
128
|
+
return t ? at(n.currentTarget, t) : !1;
|
|
129
|
+
}
|
|
130
|
+
var ae = Symbol("composite-hover");
|
|
131
|
+
function Rt(n) {
|
|
132
|
+
let t = Ne(n);
|
|
133
|
+
if (!t) return !1;
|
|
134
|
+
do {
|
|
135
|
+
if (ut(t, ae) && t[ae]) return !0;
|
|
136
|
+
t = t.parentElement;
|
|
137
|
+
} while (t);
|
|
138
|
+
return !1;
|
|
139
|
+
}
|
|
140
|
+
var ke = N(
|
|
141
|
+
function(t) {
|
|
142
|
+
var r = t, {
|
|
143
|
+
store: e,
|
|
144
|
+
focusOnHover: o = !0,
|
|
145
|
+
blurOnHoverEnd: u = !!o
|
|
146
|
+
} = r, a = P(r, [
|
|
147
|
+
"store",
|
|
148
|
+
"focusOnHover",
|
|
149
|
+
"blurOnHoverEnd"
|
|
150
|
+
]);
|
|
151
|
+
const s = ue();
|
|
152
|
+
e = e || s, B(
|
|
153
|
+
e,
|
|
154
|
+
process.env.NODE_ENV !== "production" && "CompositeHover must be wrapped in a Composite component."
|
|
155
|
+
);
|
|
156
|
+
const c = ot(), d = a.onMouseMove, i = se(o), w = $((f) => {
|
|
157
|
+
if (d == null || d(f), !f.defaultPrevented && c() && i(f)) {
|
|
158
|
+
if (!U(f.currentTarget)) {
|
|
159
|
+
const M = e == null ? void 0 : e.getState().baseElement;
|
|
160
|
+
M && !st(M) && M.focus();
|
|
161
|
+
}
|
|
162
|
+
e == null || e.setActiveId(f.currentTarget.id);
|
|
163
|
+
}
|
|
164
|
+
}), p = a.onMouseLeave, l = se(u), C = $((f) => {
|
|
165
|
+
var M;
|
|
166
|
+
p == null || p(f), !f.defaultPrevented && c() && (Vt(f) || Rt(f) || i(f) && l(f) && (e == null || e.setActiveId(null), (M = e == null ? void 0 : e.getState().baseElement) == null || M.focus()));
|
|
167
|
+
}), m = ht((f) => {
|
|
168
|
+
f && (f[ae] = !0);
|
|
169
|
+
}, []);
|
|
170
|
+
return a = y(b({}, a), {
|
|
171
|
+
ref: ee(m, a.ref),
|
|
172
|
+
onMouseMove: w,
|
|
173
|
+
onMouseLeave: C
|
|
174
|
+
}), Ce(a);
|
|
175
|
+
}
|
|
176
|
+
);
|
|
177
|
+
_e(
|
|
178
|
+
k(function(t) {
|
|
179
|
+
const r = ke(t);
|
|
180
|
+
return F(Lt, r);
|
|
181
|
+
})
|
|
182
182
|
);
|
|
183
|
-
var Z =
|
|
184
|
-
[ge,
|
|
185
|
-
[we,
|
|
183
|
+
var Z = Me(
|
|
184
|
+
[ge, Ue],
|
|
185
|
+
[we, je]
|
|
186
186
|
), de = Z.useContext, $t = Z.useScopedContext, re = Z.useProviderContext, Kt = Z.ContextProvider, Bt = Z.ScopedContextProvider;
|
|
187
187
|
Pe(
|
|
188
188
|
void 0
|
|
189
189
|
);
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
combobox: r,
|
|
193
|
-
parent: e,
|
|
194
|
-
menubar: o
|
|
195
|
-
} = t, u = tt(t, [
|
|
196
|
-
"combobox",
|
|
197
|
-
"parent",
|
|
198
|
-
"menubar"
|
|
199
|
-
]);
|
|
200
|
-
const a = !!o && !e, s = bt(
|
|
201
|
-
u.store,
|
|
202
|
-
wt(e, ["values"]),
|
|
203
|
-
ht(r, [
|
|
204
|
-
"arrowElement",
|
|
205
|
-
"anchorElement",
|
|
206
|
-
"contentElement",
|
|
207
|
-
"popoverElement",
|
|
208
|
-
"disclosureElement"
|
|
209
|
-
])
|
|
210
|
-
);
|
|
211
|
-
gt(u, s);
|
|
212
|
-
const c = s.getState(), d = Et(G(R({}, u), {
|
|
213
|
-
store: s,
|
|
214
|
-
orientation: j(
|
|
215
|
-
u.orientation,
|
|
216
|
-
c.orientation,
|
|
217
|
-
"vertical"
|
|
218
|
-
)
|
|
219
|
-
})), i = Be(G(R({}, u), {
|
|
220
|
-
store: s,
|
|
221
|
-
placement: j(
|
|
222
|
-
u.placement,
|
|
223
|
-
c.placement,
|
|
224
|
-
"bottom-start"
|
|
225
|
-
),
|
|
226
|
-
timeout: j(
|
|
227
|
-
u.timeout,
|
|
228
|
-
c.timeout,
|
|
229
|
-
a ? 0 : 150
|
|
230
|
-
),
|
|
231
|
-
hideTimeout: j(u.hideTimeout, c.hideTimeout, 0)
|
|
232
|
-
})), w = G(R(R({}, d.getState()), i.getState()), {
|
|
233
|
-
initialFocus: j(c.initialFocus, "container"),
|
|
234
|
-
values: j(
|
|
235
|
-
u.values,
|
|
236
|
-
c.values,
|
|
237
|
-
u.defaultValues,
|
|
238
|
-
{}
|
|
239
|
-
)
|
|
240
|
-
}), p = Mt(w, d, i, s);
|
|
241
|
-
return pe(
|
|
242
|
-
p,
|
|
243
|
-
() => ve(p, ["mounted"], (l) => {
|
|
244
|
-
l.mounted || p.setState("activeId", null);
|
|
245
|
-
})
|
|
246
|
-
), pe(
|
|
247
|
-
p,
|
|
248
|
-
() => ve(e, ["orientation"], (l) => {
|
|
249
|
-
p.setState(
|
|
250
|
-
"placement",
|
|
251
|
-
l.orientation === "vertical" ? "right-start" : "bottom-start"
|
|
252
|
-
);
|
|
253
|
-
})
|
|
254
|
-
), G(R(R(R({}, d), i), p), {
|
|
255
|
-
combobox: r,
|
|
256
|
-
parent: e,
|
|
257
|
-
menubar: o,
|
|
258
|
-
hideAll: () => {
|
|
259
|
-
i.hide(), e == null || e.hideAll();
|
|
260
|
-
},
|
|
261
|
-
setInitialFocus: (l) => p.setState("initialFocus", l),
|
|
262
|
-
setValues: (l) => p.setState("values", l),
|
|
263
|
-
setValue: (l, C) => {
|
|
264
|
-
l !== "__proto__" && l !== "constructor" && (Array.isArray(l) || p.setState("values", (m) => {
|
|
265
|
-
const f = m[l], M = rt(C, f);
|
|
266
|
-
return M === f ? m : G(R({}, m), {
|
|
267
|
-
[l]: M !== void 0 && M
|
|
268
|
-
});
|
|
269
|
-
}));
|
|
270
|
-
}
|
|
271
|
-
});
|
|
272
|
-
}
|
|
273
|
-
function Wt(n, t, r) {
|
|
274
|
-
return nt(t, [r.combobox, r.parent, r.menubar]), Ct(n, r, "values", "setValues"), Object.assign(
|
|
275
|
-
ze(
|
|
276
|
-
Pt(n, t, r),
|
|
277
|
-
t,
|
|
278
|
-
r
|
|
279
|
-
),
|
|
280
|
-
{
|
|
281
|
-
combobox: r.combobox,
|
|
282
|
-
parent: r.parent,
|
|
283
|
-
menubar: r.menubar
|
|
284
|
-
}
|
|
285
|
-
);
|
|
286
|
-
}
|
|
287
|
-
function Lr(n = {}) {
|
|
288
|
-
const t = de(), r = Vt(), e = mt();
|
|
289
|
-
n = y(b({}, n), {
|
|
290
|
-
parent: n.parent !== void 0 ? n.parent : t,
|
|
291
|
-
menubar: n.menubar !== void 0 ? n.menubar : r,
|
|
292
|
-
combobox: n.combobox !== void 0 ? n.combobox : e
|
|
293
|
-
});
|
|
294
|
-
const [o, u] = St(zt, n);
|
|
295
|
-
return Wt(o, u, n);
|
|
296
|
-
}
|
|
297
|
-
var jt = "div";
|
|
298
|
-
function Ut(n) {
|
|
190
|
+
var zt = "div";
|
|
191
|
+
function Wt(n) {
|
|
299
192
|
var t = n, { store: r } = t, e = P(t, ["store"]);
|
|
300
193
|
const [o, u] = Oe(void 0), a = e["aria-label"], s = D(r, "disclosureElement"), c = D(r, "contentElement");
|
|
301
194
|
return Ae(() => {
|
|
@@ -361,7 +254,7 @@ var Fe = N(
|
|
|
361
254
|
(g) => /* @__PURE__ */ _(Bt, { value: e, children: g }),
|
|
362
255
|
[e]
|
|
363
256
|
);
|
|
364
|
-
const v =
|
|
257
|
+
const v = Wt(b({ store: e }, a)), O = e.useState("mounted"), E = Mt(O, a.hidden, o), S = E ? y(b({}, a.style), { display: "none" }) : a.style;
|
|
365
258
|
a = y(b({
|
|
366
259
|
id: w,
|
|
367
260
|
"aria-labelledby": v,
|
|
@@ -375,14 +268,14 @@ var Fe = N(
|
|
|
375
268
|
return u = u ?? !H, u && (a = b({
|
|
376
269
|
role: "menu",
|
|
377
270
|
"aria-orientation": C
|
|
378
|
-
}, a)), a =
|
|
271
|
+
}, a)), a = St(b({ store: e, composite: u }, a)), a = le(b({ store: e, typeahead: !H }, a)), a;
|
|
379
272
|
}
|
|
380
273
|
);
|
|
381
274
|
k(function(t) {
|
|
382
275
|
const r = Fe(t);
|
|
383
|
-
return F(
|
|
276
|
+
return F(zt, r);
|
|
384
277
|
});
|
|
385
|
-
var
|
|
278
|
+
var jt = "div", Ut = N(function(t) {
|
|
386
279
|
var r = t, {
|
|
387
280
|
store: e,
|
|
388
281
|
modal: o = !1,
|
|
@@ -421,8 +314,9 @@ var qt = "div", Gt = N(function(t) {
|
|
|
421
314
|
var Q, fe, me;
|
|
422
315
|
if (I || !H) return;
|
|
423
316
|
if ((Q = x == null ? void 0 : x.current) != null && Q.isConnected) return x;
|
|
424
|
-
const X =
|
|
317
|
+
const X = wt();
|
|
425
318
|
switch (g) {
|
|
319
|
+
// TODO: Refactor
|
|
426
320
|
case "first":
|
|
427
321
|
X.current = ((fe = A.find((q) => !q.disabled && q.element)) == null ? void 0 : fe.element) || null;
|
|
428
322
|
break;
|
|
@@ -443,7 +337,7 @@ var qt = "div", Gt = N(function(t) {
|
|
|
443
337
|
), K = D(
|
|
444
338
|
(l == null ? void 0 : l.combobox) || l,
|
|
445
339
|
"contentElement"
|
|
446
|
-
), J =
|
|
340
|
+
), J = gt(() => {
|
|
447
341
|
if (!K || !W) return;
|
|
448
342
|
const I = W.getAttribute("role"), x = K.getAttribute("role");
|
|
449
343
|
if (!((x === "menu" || x === "menubar") && I === "menu"))
|
|
@@ -451,18 +345,18 @@ var qt = "div", Gt = N(function(t) {
|
|
|
451
345
|
}, [W, K]);
|
|
452
346
|
return J !== void 0 && (i = b({
|
|
453
347
|
preserveTabOrderAnchor: J
|
|
454
|
-
}, i)), i =
|
|
348
|
+
}, i)), i = qe(y(b({
|
|
455
349
|
store: e,
|
|
456
350
|
alwaysVisible: d,
|
|
457
351
|
initialFocus: E,
|
|
458
352
|
autoFocusOnShow: h ? T && s : H || !!V
|
|
459
353
|
}, i), {
|
|
460
354
|
hideOnEscape(I) {
|
|
461
|
-
return
|
|
355
|
+
return ct(a, I) ? !1 : (e == null || e.hideAll(), !0);
|
|
462
356
|
},
|
|
463
357
|
hideOnHoverOutside(I) {
|
|
464
358
|
const x = e == null ? void 0 : e.getState().disclosureElement;
|
|
465
|
-
return (typeof c == "function" ? c(I) : c ?? (m ? !0 : f ? x ? !U(x) : !0 : !1)) ? I.defaultPrevented || !m || !x || (
|
|
359
|
+
return (typeof c == "function" ? c(I) : c ?? (m ? !0 : f ? x ? !U(x) : !0 : !1)) ? I.defaultPrevented || !m || !x || (it(x, "mouseout", I), !U(x)) ? !0 : (requestAnimationFrame(() => {
|
|
466
360
|
U(x) || e == null || e.hide();
|
|
467
361
|
}), !1) : !1;
|
|
468
362
|
},
|
|
@@ -472,23 +366,23 @@ var qt = "div", Gt = N(function(t) {
|
|
|
472
366
|
})), i = b({
|
|
473
367
|
"aria-labelledby": v
|
|
474
368
|
}, i), i;
|
|
475
|
-
}),
|
|
369
|
+
}), qt = _t(
|
|
476
370
|
k(function(t) {
|
|
477
|
-
const r =
|
|
478
|
-
return F(
|
|
371
|
+
const r = Ut(t);
|
|
372
|
+
return F(jt, r);
|
|
479
373
|
}),
|
|
480
374
|
re
|
|
481
|
-
),
|
|
375
|
+
), Gt = "div", Zt = N(
|
|
482
376
|
function(t) {
|
|
483
377
|
var r = t, { store: e } = r, o = P(r, ["store"]);
|
|
484
378
|
const u = de();
|
|
485
|
-
return e = e || u,
|
|
379
|
+
return e = e || u, Ge(b({ store: e }, o));
|
|
486
380
|
}
|
|
487
|
-
),
|
|
488
|
-
const r =
|
|
489
|
-
return F(
|
|
490
|
-
}),
|
|
491
|
-
function
|
|
381
|
+
), Jt = k(function(t) {
|
|
382
|
+
const r = Zt(t);
|
|
383
|
+
return F(Gt, r);
|
|
384
|
+
}), Qt = "button";
|
|
385
|
+
function Xt(n, t) {
|
|
492
386
|
return {
|
|
493
387
|
ArrowDown: t === "bottom" || t === "top" ? "first" : !1,
|
|
494
388
|
ArrowUp: t === "bottom" || t === "top" ? "last" : !1,
|
|
@@ -499,7 +393,7 @@ function er(n, t) {
|
|
|
499
393
|
function be(n, t) {
|
|
500
394
|
return !!(n != null && n.some((r) => !r.element || r.element === t ? !1 : r.element.getAttribute("aria-expanded") === "true"));
|
|
501
395
|
}
|
|
502
|
-
var
|
|
396
|
+
var Yt = N(
|
|
503
397
|
function(t) {
|
|
504
398
|
var r = t, {
|
|
505
399
|
store: e,
|
|
@@ -517,7 +411,7 @@ var tr = N(
|
|
|
517
411
|
e,
|
|
518
412
|
process.env.NODE_ENV !== "production" && "MenuButton must receive a `store` prop or be wrapped in a MenuProvider component."
|
|
519
413
|
);
|
|
520
|
-
const d = ie(null), i = e.parent, w = e.menubar, p = !!i, l = !!w && !p, C =
|
|
414
|
+
const d = ie(null), i = e.parent, w = e.menubar, p = !!i, l = !!w && !p, C = lt(s), m = () => {
|
|
521
415
|
const h = d.current;
|
|
522
416
|
h && (e == null || e.setDisclosureElement(h), e == null || e.setAnchorElement(h), e == null || e.show());
|
|
523
417
|
}, f = s.onFocus, M = $((h) => {
|
|
@@ -529,7 +423,7 @@ var tr = N(
|
|
|
529
423
|
(h) => h.placement.split("-")[0]
|
|
530
424
|
), O = s.onKeyDown, E = $((h) => {
|
|
531
425
|
if (O == null || O(h), C || h.defaultPrevented) return;
|
|
532
|
-
const T =
|
|
426
|
+
const T = Xt(h, v);
|
|
533
427
|
T && (h.preventDefault(), m(), e == null || e.setAutoFocusOnShow(!0), e == null || e.setInitialFocus(T));
|
|
534
428
|
}), S = s.onClick, H = $((h) => {
|
|
535
429
|
if (S == null || S(h), h.defaultPrevented || !e) return;
|
|
@@ -550,13 +444,13 @@ var tr = N(
|
|
|
550
444
|
return s = y(b({
|
|
551
445
|
id: g,
|
|
552
446
|
role: A,
|
|
553
|
-
"aria-haspopup":
|
|
447
|
+
"aria-haspopup": dt(V, "menu")
|
|
554
448
|
}, s), {
|
|
555
449
|
ref: ee(d, s.ref),
|
|
556
450
|
onFocus: M,
|
|
557
451
|
onKeyDown: E,
|
|
558
452
|
onClick: H
|
|
559
|
-
}), s =
|
|
453
|
+
}), s = Ze(y(b({
|
|
560
454
|
store: e,
|
|
561
455
|
focusable: o,
|
|
562
456
|
accessibleWhenDisabled: u
|
|
@@ -583,11 +477,11 @@ var tr = N(
|
|
|
583
477
|
typeahead: l
|
|
584
478
|
}, s)), s;
|
|
585
479
|
}
|
|
586
|
-
),
|
|
587
|
-
const r =
|
|
588
|
-
return F(
|
|
589
|
-
}),
|
|
590
|
-
function
|
|
480
|
+
), er = k(function(t) {
|
|
481
|
+
const r = Yt(t);
|
|
482
|
+
return F(Qt, r);
|
|
483
|
+
}), tr = "div";
|
|
484
|
+
function rr(n, t, r) {
|
|
591
485
|
var e;
|
|
592
486
|
if (!n) return !1;
|
|
593
487
|
if (U(n)) return !0;
|
|
@@ -596,10 +490,10 @@ function or(n, t, r) {
|
|
|
596
490
|
return c.element === r ? !1 : ((d = c.element) == null ? void 0 : d.getAttribute("aria-expanded")) === "true";
|
|
597
491
|
}), u = (e = o == null ? void 0 : o.element) == null ? void 0 : e.getAttribute("aria-controls");
|
|
598
492
|
if (!u) return !1;
|
|
599
|
-
const s =
|
|
493
|
+
const s = Se(n).getElementById(u);
|
|
600
494
|
return s ? U(s) ? !0 : !!s.querySelector("[role=menuitem][aria-expanded=true]") : !1;
|
|
601
495
|
}
|
|
602
|
-
var
|
|
496
|
+
var nr = N(
|
|
603
497
|
function(t) {
|
|
604
498
|
var r = t, {
|
|
605
499
|
store: e,
|
|
@@ -614,13 +508,13 @@ var sr = N(
|
|
|
614
508
|
"focusOnHover",
|
|
615
509
|
"blurOnHoverEnd"
|
|
616
510
|
]);
|
|
617
|
-
const d = $t(!0), i =
|
|
511
|
+
const d = $t(!0), i = Ht();
|
|
618
512
|
e = e || d || i, B(
|
|
619
513
|
e,
|
|
620
514
|
process.env.NODE_ENV !== "production" && "MenuItem must be wrapped in a MenuList, Menu or Menubar component"
|
|
621
515
|
);
|
|
622
516
|
const w = c.onClick, p = se(o), l = "hideAll" in e ? e.hideAll : void 0, C = !!l, m = $((v) => {
|
|
623
|
-
w == null || w(v), !(v.defaultPrevented ||
|
|
517
|
+
w == null || w(v), !(v.defaultPrevented || ft(v) || mt(v) || !l || v.currentTarget.getAttribute("aria-haspopup") === "menu") && p(v) && l();
|
|
624
518
|
}), f = D(
|
|
625
519
|
e,
|
|
626
520
|
(v) => "contentElement" in v ? v.contentElement : null
|
|
@@ -629,33 +523,141 @@ var sr = N(
|
|
|
629
523
|
role: M
|
|
630
524
|
}, c), {
|
|
631
525
|
onClick: m
|
|
632
|
-
}), c =
|
|
526
|
+
}), c = Ye(b({
|
|
633
527
|
store: e,
|
|
634
528
|
preventScrollOnKeyDown: u
|
|
635
|
-
}, c)), c =
|
|
529
|
+
}, c)), c = ke(y(b({
|
|
636
530
|
store: e
|
|
637
531
|
}, c), {
|
|
638
532
|
focusOnHover(v) {
|
|
639
533
|
const O = () => typeof a == "function" ? a(v) : a ?? !0;
|
|
640
534
|
if (!e || !O()) return !1;
|
|
641
535
|
const { baseElement: E, items: S } = e.getState();
|
|
642
|
-
return C ? (v.currentTarget.hasAttribute("aria-expanded") && v.currentTarget.focus(), !0) :
|
|
536
|
+
return C ? (v.currentTarget.hasAttribute("aria-expanded") && v.currentTarget.focus(), !0) : rr(E, S, v.currentTarget) ? (v.currentTarget.focus(), !0) : !1;
|
|
643
537
|
},
|
|
644
538
|
blurOnHoverEnd(v) {
|
|
645
539
|
return typeof s == "function" ? s(v) : s ?? C;
|
|
646
540
|
}
|
|
647
541
|
})), c;
|
|
648
542
|
}
|
|
649
|
-
),
|
|
543
|
+
), or = _e(
|
|
650
544
|
k(function(t) {
|
|
651
|
-
const r =
|
|
652
|
-
return F(
|
|
545
|
+
const r = nr(t);
|
|
546
|
+
return F(tr, r);
|
|
653
547
|
})
|
|
654
|
-
)
|
|
548
|
+
);
|
|
549
|
+
function sr(n = {}) {
|
|
550
|
+
var t = n, {
|
|
551
|
+
combobox: r,
|
|
552
|
+
parent: e,
|
|
553
|
+
menubar: o
|
|
554
|
+
} = t, u = pt(t, [
|
|
555
|
+
"combobox",
|
|
556
|
+
"parent",
|
|
557
|
+
"menubar"
|
|
558
|
+
]);
|
|
559
|
+
const a = !!o && !e, s = Ve(
|
|
560
|
+
u.store,
|
|
561
|
+
$e(e, ["values"]),
|
|
562
|
+
Re(r, [
|
|
563
|
+
"arrowElement",
|
|
564
|
+
"anchorElement",
|
|
565
|
+
"contentElement",
|
|
566
|
+
"popoverElement",
|
|
567
|
+
"disclosureElement"
|
|
568
|
+
])
|
|
569
|
+
);
|
|
570
|
+
Ke(u, s);
|
|
571
|
+
const c = s.getState(), d = Et(G(R({}, u), {
|
|
572
|
+
store: s,
|
|
573
|
+
orientation: j(
|
|
574
|
+
u.orientation,
|
|
575
|
+
c.orientation,
|
|
576
|
+
"vertical"
|
|
577
|
+
)
|
|
578
|
+
})), i = Je(G(R({}, u), {
|
|
579
|
+
store: s,
|
|
580
|
+
placement: j(
|
|
581
|
+
u.placement,
|
|
582
|
+
c.placement,
|
|
583
|
+
"bottom-start"
|
|
584
|
+
),
|
|
585
|
+
timeout: j(
|
|
586
|
+
u.timeout,
|
|
587
|
+
c.timeout,
|
|
588
|
+
a ? 0 : 150
|
|
589
|
+
),
|
|
590
|
+
hideTimeout: j(u.hideTimeout, c.hideTimeout, 0)
|
|
591
|
+
})), w = G(R(R({}, d.getState()), i.getState()), {
|
|
592
|
+
initialFocus: j(c.initialFocus, "container"),
|
|
593
|
+
values: j(
|
|
594
|
+
u.values,
|
|
595
|
+
c.values,
|
|
596
|
+
u.defaultValues,
|
|
597
|
+
{}
|
|
598
|
+
)
|
|
599
|
+
}), p = Be(w, d, i, s);
|
|
600
|
+
return pe(
|
|
601
|
+
p,
|
|
602
|
+
() => ve(p, ["mounted"], (l) => {
|
|
603
|
+
l.mounted || p.setState("activeId", null);
|
|
604
|
+
})
|
|
605
|
+
), pe(
|
|
606
|
+
p,
|
|
607
|
+
() => ve(e, ["orientation"], (l) => {
|
|
608
|
+
p.setState(
|
|
609
|
+
"placement",
|
|
610
|
+
l.orientation === "vertical" ? "right-start" : "bottom-start"
|
|
611
|
+
);
|
|
612
|
+
})
|
|
613
|
+
), G(R(R(R({}, d), i), p), {
|
|
614
|
+
combobox: r,
|
|
615
|
+
parent: e,
|
|
616
|
+
menubar: o,
|
|
617
|
+
hideAll: () => {
|
|
618
|
+
i.hide(), e == null || e.hideAll();
|
|
619
|
+
},
|
|
620
|
+
setInitialFocus: (l) => p.setState("initialFocus", l),
|
|
621
|
+
setValues: (l) => p.setState("values", l),
|
|
622
|
+
setValue: (l, C) => {
|
|
623
|
+
l !== "__proto__" && l !== "constructor" && (Array.isArray(l) || p.setState("values", (m) => {
|
|
624
|
+
const f = m[l], M = vt(C, f);
|
|
625
|
+
return M === f ? m : G(R({}, m), {
|
|
626
|
+
[l]: M !== void 0 && M
|
|
627
|
+
});
|
|
628
|
+
}));
|
|
629
|
+
}
|
|
630
|
+
});
|
|
631
|
+
}
|
|
632
|
+
function ar(n, t, r) {
|
|
633
|
+
return bt(t, [r.combobox, r.parent, r.menubar]), We(n, r, "values", "setValues"), Object.assign(
|
|
634
|
+
Qe(
|
|
635
|
+
Pt(n, t, r),
|
|
636
|
+
t,
|
|
637
|
+
r
|
|
638
|
+
),
|
|
639
|
+
{
|
|
640
|
+
combobox: r.combobox,
|
|
641
|
+
parent: r.parent,
|
|
642
|
+
menubar: r.menubar
|
|
643
|
+
}
|
|
644
|
+
);
|
|
645
|
+
}
|
|
646
|
+
function Lr(n = {}) {
|
|
647
|
+
const t = de(), r = Tt(), e = Ct();
|
|
648
|
+
n = y(b({}, n), {
|
|
649
|
+
parent: n.parent !== void 0 ? n.parent : t,
|
|
650
|
+
menubar: n.menubar !== void 0 ? n.menubar : r,
|
|
651
|
+
combobox: n.combobox !== void 0 ? n.combobox : e
|
|
652
|
+
});
|
|
653
|
+
const [o, u] = ze(sr, n);
|
|
654
|
+
return ar(o, u, n);
|
|
655
|
+
}
|
|
656
|
+
var ur = "hr", ir = N(
|
|
655
657
|
function(t) {
|
|
656
658
|
var r = t, { store: e } = r, o = P(r, ["store"]);
|
|
657
659
|
const u = de();
|
|
658
|
-
return e = e || u, o =
|
|
660
|
+
return e = e || u, o = Ie(b({ store: e }, o)), o;
|
|
659
661
|
}
|
|
660
662
|
), cr = k(function(t) {
|
|
661
663
|
const r = ir(t);
|
|
@@ -674,7 +676,7 @@ const lr = "_inner_1nesm_2", dr = "_arrow_1nesm_17", fr = "_stroke_1nesm_1", mr
|
|
|
674
676
|
separator: pr
|
|
675
677
|
}, he = te(ne), vr = ce(({ className: n, store: t }, r) => {
|
|
676
678
|
const e = D(t, "currentPlacement"), [o] = e.split("-");
|
|
677
|
-
return /* @__PURE__ */ _(
|
|
679
|
+
return /* @__PURE__ */ _(Jt, { ref: r, render: /* @__PURE__ */ _("div", { className: he("arrow", n) }), children: /* @__PURE__ */ Le(
|
|
678
680
|
"svg",
|
|
679
681
|
{
|
|
680
682
|
className: he("arrow-item", o && `arrow-placement-${o}`),
|
|
@@ -688,7 +690,7 @@ const lr = "_inner_1nesm_2", dr = "_arrow_1nesm_17", fr = "_stroke_1nesm_1", mr
|
|
|
688
690
|
) });
|
|
689
691
|
}), br = te(ne), hr = Te(
|
|
690
692
|
({ as: n = "button", className: t, ...r }, e) => /* @__PURE__ */ _(
|
|
691
|
-
|
|
693
|
+
or,
|
|
692
694
|
{
|
|
693
695
|
render: /* @__PURE__ */ _(n, { className: br("item", t), ref: e }),
|
|
694
696
|
type: "button",
|
|
@@ -699,7 +701,7 @@ const lr = "_inner_1nesm_2", dr = "_arrow_1nesm_17", fr = "_stroke_1nesm_1", mr
|
|
|
699
701
|
({ className: n, ...t }, r) => /* @__PURE__ */ _(cr, { ref: r, render: /* @__PURE__ */ _("hr", { className: wr("separator", n) }), ...t })
|
|
700
702
|
), Mr = Te(
|
|
701
703
|
({ as: n, store: t, ...r }, e) => /* @__PURE__ */ _(
|
|
702
|
-
|
|
704
|
+
er,
|
|
703
705
|
{
|
|
704
706
|
ref: e,
|
|
705
707
|
render: n ? (o) => /* @__PURE__ */ _(n, { ...o }) : void 0,
|
|
@@ -711,7 +713,7 @@ const lr = "_inner_1nesm_2", dr = "_arrow_1nesm_17", fr = "_stroke_1nesm_1", mr
|
|
|
711
713
|
({ children: n, className: t, dataTestId: r, innerProps: e = {}, store: o, withGutter: u = !0, ...a }, s) => {
|
|
712
714
|
const c = D(o, "arrowElement"), d = u && !c ? Cr : 0, { className: i, ...w } = e;
|
|
713
715
|
return /* @__PURE__ */ _(
|
|
714
|
-
|
|
716
|
+
qt,
|
|
715
717
|
{
|
|
716
718
|
"aria-label": "dropdown-menu",
|
|
717
719
|
className: t,
|