@wrdagency/blockout 1.0.5 → 1.0.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/2NBKRL7C-CzwWfv1x.js +76 -0
- package/dist/2RSXSRCN-rMUAytae.js +61 -0
- package/dist/{4CMBR7SL-xNGezbCB.js → 4CMBR7SL-ChJnawVl.js} +132 -126
- package/dist/{5JTVDSTH-CIreO5bC.js → 5JTVDSTH-DcfjjEya.js} +4 -4
- package/dist/{5VQZOHHZ-CNzYHc1X.js → 5VQZOHHZ-BN-teS5E.js} +1 -1
- package/dist/{6VRAQV3D-BoLhl3hf.js → 6VRAQV3D-DK_p41oq.js} +6 -6
- package/dist/A3WPL2ZJ-CpUtG5Sk.js +12 -0
- package/dist/{BM6PGYQY-Bhr7peim.js → BM6PGYQY-CkMwDqt0.js} +2 -2
- package/dist/Check.es-CMkTf2It.js +38 -0
- package/dist/{DG5U6ZEL-C7eLVyh-.js → DG5U6ZEL-GfwW2sqh.js} +3 -3
- package/dist/EM5CXX6A-C74NAQPE.js +13 -0
- package/dist/{F5MUBM3I-_HauDyEF.js → F5MUBM3I-BbDMTUwx.js} +24 -24
- package/dist/{G7GW6PWC-Crp1Jn-8.js → G7GW6PWC-A0eDeXMt.js} +100 -96
- package/dist/IWEFDH56-CvOsIcbb.js +19 -0
- package/dist/{J2LQO3EC-CcHJqN0I.js → J2LQO3EC-DYtZQQv6.js} +4 -3
- package/dist/{KFH4SEIX-D-fCkpQv.js → KFH4SEIX-BFT9WmYk.js} +3 -3
- package/dist/{LMDWO4NN-DdLnHzru.js → LMDWO4NN-CIZvvtic.js} +233 -203
- package/dist/MAXQOH4L-DBaf8WKp.js +564 -0
- package/dist/MR26YJYP-DacZIkgJ.js +287 -0
- package/dist/MTZPJQMC-DPwZ6caC.js +13 -0
- package/dist/{O2PQ2652-THp22K4G.js → O2PQ2652-D2GSkoLq.js} +6 -6
- package/dist/P7GR5CS5-5PtDURPc.js +24 -0
- package/dist/{PFRGBC2K-DUhGSIey.js → PFRGBC2K-B9ko--FF.js} +34 -33
- package/dist/Plus.es-DJ5SuqNv.js +38 -0
- package/dist/RS7LB2H4-BvDKQaCt.js +18 -0
- package/dist/RZ4GPYOB-COPqjbOz.js +37 -0
- package/dist/{S43UC3DV-erT1ucAd.js → S43UC3DV-CiBKpqp8.js} +3 -3
- package/dist/{T7VMP3TM-C-Aesx9K.js → T7VMP3TM-C0xl-w4G.js} +21 -21
- package/dist/TP7N7UIH-Dc0CLLi8.js +33 -0
- package/dist/{UQQRIHDV-DIXH69U3.js → UQQRIHDV-BBkcyl82.js} +17 -17
- package/dist/UYGDZTLQ-9uAEICxv.js +13 -0
- package/dist/VIIRIBF3-uvnIyICw.js +31 -0
- package/dist/WMYDSCNQ-D4CU76mX.js +61 -0
- package/dist/{WYCIER3C-S-jsj0wy.js → WYCIER3C-CaoIoaX7.js} +4 -4
- package/dist/{YV4JVR4I-BXEaRiAN.js → YV4JVR4I-w1-dnslS.js} +47 -47
- package/dist/assets/index10.css +1 -1
- package/dist/assets/index11.css +1 -1
- package/dist/assets/index12.css +1 -1
- package/dist/assets/index13.css +1 -1
- package/dist/assets/index14.css +1 -1
- package/dist/assets/index15.css +1 -1
- package/dist/assets/index16.css +1 -1
- package/dist/assets/index17.css +1 -1
- package/dist/assets/index4.css +1 -1
- package/dist/assets/style16.css +1 -1
- package/dist/assets/style17.css +1 -1
- package/dist/assets/style18.css +1 -1
- package/dist/assets/style19.css +1 -1
- package/dist/assets/style20.css +1 -1
- package/dist/assets/style21.css +1 -1
- package/dist/assets/style22.css +1 -1
- package/dist/assets/style23.css +1 -1
- package/dist/assets/style24.css +1 -1
- package/dist/assets/style25.css +1 -1
- package/dist/assets/style26.css +1 -1
- package/dist/assets/style27.css +1 -0
- package/dist/components/breadcrumbs/index.js +5 -5
- package/dist/components/button/row.js +4 -4
- package/dist/components/controls/base-popover-control/index.js +4 -4
- package/dist/components/controls/card-number-control/index.js +1 -1
- package/dist/components/controls/date-control/index.js +1 -1
- package/dist/components/controls/date-control/picker.js +5 -5
- package/dist/components/controls/index.d.ts +1 -0
- package/dist/components/controls/index.js +12 -10
- package/dist/components/controls/list-control/item.js +34 -67
- package/dist/components/controls/list-control/list.js +1 -1
- package/dist/components/controls/recurrence-control/index.js +19 -18
- package/dist/components/controls/select-control/control.js +26 -37
- package/dist/components/controls/select-control/select.js +62 -1129
- package/dist/components/controls/tag-control/ariakit-experimental.d.ts +7 -0
- package/dist/components/controls/tag-control/ariakit-experimental.js +2308 -0
- package/dist/components/controls/tag-control/index.d.ts +10 -0
- package/dist/components/controls/tag-control/index.js +134 -0
- package/dist/components/controls/tag-control/props.d.ts +11 -0
- package/dist/components/controls/tag-control/props.js +29 -0
- package/dist/components/controls/text-control/index.js +1 -1
- package/dist/components/data-view/data/apply.js +15 -15
- package/dist/components/data-view/data/filter.js +14 -12
- package/dist/components/data-view/index.js +1 -1
- package/dist/components/data-view/layouts/grid/empty.js +1 -1
- package/dist/components/data-view/layouts/grid/group.js +9 -7
- package/dist/components/data-view/layouts/grid/item.js +9 -7
- package/dist/components/data-view/layouts/grid/root.js +1 -1
- package/dist/components/data-view/layouts/kanban/empty.js +1 -1
- package/dist/components/data-view/layouts/kanban/group.js +9 -7
- package/dist/components/data-view/layouts/kanban/item.js +9 -7
- package/dist/components/data-view/layouts/kanban/root.js +1 -1
- package/dist/components/data-view/layouts/list/empty.js +1 -1
- package/dist/components/data-view/layouts/list/group.js +9 -7
- package/dist/components/data-view/layouts/list/item.js +9 -7
- package/dist/components/data-view/layouts/list/root.js +1 -1
- package/dist/components/data-view/layouts/table/empty.js +9 -7
- package/dist/components/data-view/layouts/table/group.js +10 -8
- package/dist/components/data-view/layouts/table/item.js +10 -8
- package/dist/components/data-view/layouts/table/root.js +9 -7
- package/dist/components/data-view/parts/body/index.js +11 -9
- package/dist/components/data-view/parts/controls/index.js +9 -7
- package/dist/components/data-view/parts/controls/search.js +9 -7
- package/dist/components/data-view/parts/filters/editor.js +8 -6
- package/dist/components/data-view/parts/filters/index.js +1 -1
- package/dist/components/data-view/parts/filters/list.js +39 -73
- package/dist/components/data-view/parts/footer/actions.js +9 -7
- package/dist/components/data-view/parts/footer/index.js +9 -7
- package/dist/components/data-view/parts/footer/selection.js +9 -7
- package/dist/components/data-view/parts/view-control/index.js +23 -21
- package/dist/components/data-view/root.js +9 -7
- package/dist/components/data-view/slots/group/checkbox.js +9 -7
- package/dist/components/data-view/slots/group/context.js +1 -1
- package/dist/components/data-view/slots/group/icon.js +1 -1
- package/dist/components/data-view/slots/group/index.js +1 -1
- package/dist/components/data-view/slots/group/label.js +1 -1
- package/dist/components/data-view/slots/index.js +3 -3
- package/dist/components/data-view/slots/item/actions.js +1 -1
- package/dist/components/data-view/slots/item/checkbox.js +9 -7
- package/dist/components/data-view/slots/item/depth.js +3 -3
- package/dist/components/data-view/slots/item/description.js +1 -1
- package/dist/components/data-view/slots/item/index.js +2 -2
- package/dist/components/data-view/slots/item/properties.js +2 -2
- package/dist/components/data-view/slots/item/relations.js +3 -3
- package/dist/components/data-view/slots/item/tags.js +1 -1
- package/dist/components/data-view/slots/item/thumbnail.js +1 -1
- package/dist/components/data-view/slots/item/title.js +1 -1
- package/dist/components/data-view/slots/item/util.js +2 -2
- package/dist/components/data-view/slots/property/field/editable.js +8 -6
- package/dist/components/data-view/slots/property/field/index.js +2 -2
- package/dist/components/data-view/slots/property/field/static.js +1 -1
- package/dist/components/data-view/slots/property/index.js +1 -1
- package/dist/components/data-view/slots/property/label.js +1 -1
- package/dist/components/data-view/slots/root/checkbox.js +8 -6
- package/dist/components/data-view/slots/root/index.js +1 -1
- package/dist/components/filesystem/file.js +1 -1
- package/dist/components/filesystem/folder.js +29 -80
- package/dist/components/filesystem/list.js +1 -1
- package/dist/components/filesystem/root.js +1 -1
- package/dist/components/index.js +41 -39
- package/dist/components/menu/index.js +14 -13
- package/dist/components/menu/item.js +1 -1
- package/dist/components/menu/items/action.js +1 -1
- package/dist/components/menu/items/spacer.js +4 -16
- package/dist/components/menu/items/submenu.js +4 -3
- package/dist/components/menu/items/toggle.js +1 -1
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/tabs/list.js +8 -36
- package/dist/components/tabs/panel.js +13 -126
- package/dist/components/tabs/root.js +14 -166
- package/dist/components/tabs/tab.js +5 -79
- package/dist/components/toolbar/divider.js +7 -19
- package/dist/components/toolbar/index.js +10 -24
- package/dist/components/toolbar/root.js +5 -67
- package/dist/components/window/index.js +2 -2
- package/dist/{composite-provider-R5SnRc_G.js → composite-provider-B-M1AaRb.js} +2 -2
- package/dist/disclosure-provider-DW9RmAuE.js +61 -0
- package/dist/{filter-C-ZkRgt_.js → filter-GoxwLwkT.js} +14 -12
- package/dist/{index-DI0cEpya.js → index-C_xrLeQq.js} +20 -18
- package/dist/{index-BW-2OhmK.js → index-DJ2XZnew.js} +7 -5
- package/dist/{index-Bj4Ga50P.js → index-DpV0obFX.js} +6 -4
- package/dist/index.js +87 -85
- package/dist/item-CYpF0or4.js +58 -0
- package/dist/{style-tA0yiKCL.js → match-sorter.esm-MNVE8H_6.js} +1 -1
- package/dist/menu-button-D0chRxS0.js +416 -0
- package/dist/menu-separator-Cy38O3cZ.js +16 -0
- package/dist/{picker-BkmBjgWA.js → picker-BAQPD-c9.js} +4 -4
- package/dist/popover-provider-DZV1nb7Q.js +10 -0
- package/dist/primitives/popover/index.js +2 -2
- package/dist/primitives/popover/root.js +12 -3
- package/dist/primitives/popover/target.js +1 -1
- package/dist/primitives/popover/window.js +3 -3
- package/dist/primitives/tooltip/index.js +10 -173
- package/dist/select-popover-DYAZyLp4.js +542 -0
- package/dist/select-value-CeoMyvpZ.js +15 -0
- package/dist/{sortable.esm-De3H-_AA.js → sortable.esm-BuV7eW2H.js} +4 -4
- package/dist/{style-C7eFpUVU.js → style-CWAa57kN.js} +1 -1
- package/dist/tab-DjNG1rEI.js +79 -0
- package/dist/tab-list-DtMnUjoy.js +33 -0
- package/dist/tab-panel-DdkeLgKE.js +118 -0
- package/dist/tab-provider-BMkHrtIK.js +158 -0
- package/dist/tag-remove-BVa8oSsq.js +533 -0
- package/dist/toolbar-B7_t1rYu.js +68 -0
- package/dist/toolbar-separator-DBoO5XdF.js +16 -0
- package/dist/tooltip-anchor-CxZWazuo.js +173 -0
- package/package.json +1 -1
- package/dist/2NBKRL7C-Cug3TzgR.js +0 -85
- package/dist/2RSXSRCN-Bc3g-z-i.js +0 -61
- package/dist/A3WPL2ZJ-D0Eh1dEB.js +0 -11
- package/dist/EM5CXX6A-DKxCXPnz.js +0 -14
- package/dist/MR26YJYP-yD1_RvCA.js +0 -283
- package/dist/MTZPJQMC-RLG1q394.js +0 -12
- package/dist/P7GR5CS5-Dub2zqTX.js +0 -22
- package/dist/RS7LB2H4-C0kmTjy8.js +0 -15
- package/dist/RZ4GPYOB-c8s_KHUk.js +0 -37
- package/dist/TP7N7UIH-mdk33dnV.js +0 -34
- package/dist/UYGDZTLQ-fOwUiOjI.js +0 -12
- package/dist/VIIRIBF3-DylpToFV.js +0 -18
- package/dist/WMYDSCNQ-D43V-JUe.js +0 -62
- package/dist/item-C5GtZF5t.js +0 -470
- package/dist/root-C7IYlG1s.js +0 -20
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { u as _, a as H } from "./VIIRIBF3-uvnIyICw.js";
|
|
2
|
+
import { u as T } from "./UQQRIHDV-BBkcyl82.js";
|
|
3
|
+
import { u as y } from "./6VRAQV3D-DK_p41oq.js";
|
|
4
|
+
import { a as S } from "./YV4JVR4I-w1-dnslS.js";
|
|
5
|
+
import { s as k, f as P, c as w, a as A, _ as D, i as N, j as F, e as R, O as j, P as B, Q as K, m as g, o as p, C as V } from "./LMDWO4NN-CIZvvtic.js";
|
|
6
|
+
import { a as M } from "./PFRGBC2K-B9ko--FF.js";
|
|
7
|
+
var W = "div";
|
|
8
|
+
function q(a, o, u) {
|
|
9
|
+
var r;
|
|
10
|
+
if (!a) return !1;
|
|
11
|
+
if (M(a)) return !0;
|
|
12
|
+
const i = o == null ? void 0 : o.find((n) => {
|
|
13
|
+
var l;
|
|
14
|
+
return n.element === u ? !1 : ((l = n.element) == null ? void 0 : l.getAttribute("aria-expanded")) === "true";
|
|
15
|
+
}), c = (r = i == null ? void 0 : i.element) == null ? void 0 : r.getAttribute("aria-controls");
|
|
16
|
+
if (!c) return !1;
|
|
17
|
+
const t = V(a).getElementById(c);
|
|
18
|
+
return t ? M(t) ? !0 : !!t.querySelector("[role=menuitem][aria-expanded=true]") : !1;
|
|
19
|
+
}
|
|
20
|
+
var L = w(
|
|
21
|
+
function(o) {
|
|
22
|
+
var u = o, {
|
|
23
|
+
store: r,
|
|
24
|
+
hideOnClick: i = !0,
|
|
25
|
+
preventScrollOnKeyDown: c = !0,
|
|
26
|
+
focusOnHover: s,
|
|
27
|
+
blurOnHoverEnd: t
|
|
28
|
+
} = u, n = D(u, [
|
|
29
|
+
"store",
|
|
30
|
+
"hideOnClick",
|
|
31
|
+
"preventScrollOnKeyDown",
|
|
32
|
+
"focusOnHover",
|
|
33
|
+
"blurOnHoverEnd"
|
|
34
|
+
]);
|
|
35
|
+
const l = _(!0), O = H();
|
|
36
|
+
r = r || l || O, N(
|
|
37
|
+
r,
|
|
38
|
+
process.env.NODE_ENV !== "production" && "MenuItem must be wrapped in a MenuList, Menu or Menubar component"
|
|
39
|
+
);
|
|
40
|
+
const m = n.onClick, b = F(i), f = "hideAll" in r ? r.hideAll : void 0, d = !!f, C = R((e) => {
|
|
41
|
+
m == null || m(e), !(e.defaultPrevented || j(e) || B(e) || !f || e.currentTarget.getAttribute("aria-haspopup") === "menu") && b(e) && f();
|
|
42
|
+
}), h = S(
|
|
43
|
+
r,
|
|
44
|
+
(e) => "contentElement" in e ? e.contentElement : null
|
|
45
|
+
), x = K(h, "menuitem");
|
|
46
|
+
return n = g(p({
|
|
47
|
+
role: x
|
|
48
|
+
}, n), {
|
|
49
|
+
onClick: C
|
|
50
|
+
}), n = y(p({
|
|
51
|
+
store: r,
|
|
52
|
+
preventScrollOnKeyDown: c
|
|
53
|
+
}, n)), n = T(g(p({
|
|
54
|
+
store: r
|
|
55
|
+
}, n), {
|
|
56
|
+
focusOnHover(e) {
|
|
57
|
+
const v = () => typeof s == "function" ? s(e) : s ?? !0;
|
|
58
|
+
if (!r || !v()) return !1;
|
|
59
|
+
const { baseElement: E, items: I } = r.getState();
|
|
60
|
+
return d ? (e.currentTarget.hasAttribute("aria-expanded") && e.currentTarget.focus(), !0) : q(E, I, e.currentTarget) ? (e.currentTarget.focus(), !0) : !1;
|
|
61
|
+
},
|
|
62
|
+
blurOnHoverEnd(e) {
|
|
63
|
+
return typeof t == "function" ? t(e) : t ?? d;
|
|
64
|
+
}
|
|
65
|
+
})), n;
|
|
66
|
+
}
|
|
67
|
+
), Y = k(
|
|
68
|
+
P(function(o) {
|
|
69
|
+
const u = L(o);
|
|
70
|
+
return A(W, u);
|
|
71
|
+
})
|
|
72
|
+
);
|
|
73
|
+
export {
|
|
74
|
+
Y as M,
|
|
75
|
+
L as u
|
|
76
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { u as I } from "./PFRGBC2K-B9ko--FF.js";
|
|
2
|
+
import { c as O, _ as m, A as p, t as q, E as x, e as N, h as H, k as Y, F as j, G, H as _, m as L, n as V, o as T, f as z, a as J } from "./LMDWO4NN-CIZvvtic.js";
|
|
3
|
+
import { useRef as w, useState as D, useEffect as Q } from "react";
|
|
4
|
+
var W = "button";
|
|
5
|
+
function M(a) {
|
|
6
|
+
if (!a.isTrusted) return !1;
|
|
7
|
+
const t = a.currentTarget;
|
|
8
|
+
return a.key === "Enter" ? p(t) || t.tagName === "SUMMARY" || t.tagName === "A" : a.key === " " ? p(t) || t.tagName === "SUMMARY" || t.tagName === "INPUT" || t.tagName === "SELECT" : !1;
|
|
9
|
+
}
|
|
10
|
+
var X = Symbol("command"), Z = O(
|
|
11
|
+
function(t) {
|
|
12
|
+
var o = t, { clickOnEnter: d = !0, clickOnSpace: u = !0 } = o, r = m(o, ["clickOnEnter", "clickOnSpace"]);
|
|
13
|
+
const c = w(null), [K, R] = D(!1);
|
|
14
|
+
Q(() => {
|
|
15
|
+
c.current && R(p(c.current));
|
|
16
|
+
}, []);
|
|
17
|
+
const [U, k] = D(!1), f = w(!1), y = q(r), [E, A] = x(r, X, !0), v = r.onKeyDown, F = N((e) => {
|
|
18
|
+
v == null || v(e);
|
|
19
|
+
const s = e.currentTarget;
|
|
20
|
+
if (e.defaultPrevented || E || y || !H(e) || Y(s) || s.isContentEditable) return;
|
|
21
|
+
const i = d && e.key === "Enter", n = u && e.key === " ", g = e.key === "Enter" && !d, l = e.key === " " && !u;
|
|
22
|
+
if (g || l) {
|
|
23
|
+
e.preventDefault();
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
if (i || n) {
|
|
27
|
+
const S = M(e);
|
|
28
|
+
if (i) {
|
|
29
|
+
if (!S) {
|
|
30
|
+
e.preventDefault();
|
|
31
|
+
const b = e, { view: $ } = b, B = m(b, ["view"]), C = () => _(s, B);
|
|
32
|
+
j() ? G(s, "keyup", C) : queueMicrotask(C);
|
|
33
|
+
}
|
|
34
|
+
} else n && (f.current = !0, S || (e.preventDefault(), k(!0)));
|
|
35
|
+
}
|
|
36
|
+
}), P = r.onKeyUp, h = N((e) => {
|
|
37
|
+
if (P == null || P(e), e.defaultPrevented || E || y || e.metaKey) return;
|
|
38
|
+
const s = u && e.key === " ";
|
|
39
|
+
if (f.current && s && (f.current = !1, !M(e))) {
|
|
40
|
+
e.preventDefault(), k(!1);
|
|
41
|
+
const i = e.currentTarget, n = e, { view: g } = n, l = m(n, ["view"]);
|
|
42
|
+
queueMicrotask(() => _(i, l));
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
return r = L(T(T({
|
|
46
|
+
"data-active": U || void 0,
|
|
47
|
+
type: K ? "button" : void 0
|
|
48
|
+
}, A), r), {
|
|
49
|
+
ref: V(c, r.ref),
|
|
50
|
+
onKeyDown: F,
|
|
51
|
+
onKeyUp: h
|
|
52
|
+
}), r = I(r), r;
|
|
53
|
+
}
|
|
54
|
+
), ae = z(function(t) {
|
|
55
|
+
const o = Z(t);
|
|
56
|
+
return J(W, o);
|
|
57
|
+
});
|
|
58
|
+
export {
|
|
59
|
+
ae as C,
|
|
60
|
+
Z as u
|
|
61
|
+
};
|
|
@@ -1,145 +1,149 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import { S,
|
|
3
|
-
import { r as
|
|
4
|
-
function
|
|
5
|
-
var
|
|
6
|
-
const t = e.find((
|
|
7
|
-
let s = (
|
|
1
|
+
import { t as p, c as k, s as M, i as ee, g as U, d as _, b as J, e as te } from "./YV4JVR4I-w1-dnslS.js";
|
|
2
|
+
import { V as S, T as R, U as L, a1 as ne, J as re, C as ie, W as se, q as oe, o as ae } from "./LMDWO4NN-CIZvvtic.js";
|
|
3
|
+
import { r as $, f as le } from "./7PRQYBBV-91wrWGjk.js";
|
|
4
|
+
function de(e) {
|
|
5
|
+
var r;
|
|
6
|
+
const t = e.find((l) => !!l.element), o = [...e].reverse().find((l) => !!l.element);
|
|
7
|
+
let s = (r = t == null ? void 0 : t.element) == null ? void 0 : r.parentElement;
|
|
8
8
|
for (; s && (o != null && o.element); ) {
|
|
9
9
|
if (o && s.contains(o.element))
|
|
10
10
|
return s;
|
|
11
11
|
s = s.parentElement;
|
|
12
12
|
}
|
|
13
|
-
return
|
|
13
|
+
return ie(s).body;
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function ue(e) {
|
|
16
16
|
return e == null ? void 0 : e.__unstablePrivateStore;
|
|
17
17
|
}
|
|
18
|
-
function
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
const t = (
|
|
18
|
+
function Y(e = {}) {
|
|
19
|
+
var r;
|
|
20
|
+
p(e, e.store);
|
|
21
|
+
const t = (r = e.store) == null ? void 0 : r.getState(), o = S(
|
|
22
22
|
e.items,
|
|
23
23
|
t == null ? void 0 : t.items,
|
|
24
24
|
e.defaultItems,
|
|
25
25
|
[]
|
|
26
|
-
), s = new Map(o.map((
|
|
26
|
+
), s = new Map(o.map((i) => [i.id, i])), l = {
|
|
27
27
|
items: o,
|
|
28
28
|
renderedItems: S(t == null ? void 0 : t.renderedItems, [])
|
|
29
|
-
}, d =
|
|
30
|
-
{ items: o, renderedItems:
|
|
29
|
+
}, d = ue(e.store), c = k(
|
|
30
|
+
{ items: o, renderedItems: l.renderedItems },
|
|
31
31
|
d
|
|
32
|
-
), n = k(
|
|
33
|
-
const
|
|
34
|
-
c.setState("renderedItems",
|
|
32
|
+
), n = k(l, e.store), x = (i) => {
|
|
33
|
+
const a = re(i, (u) => u.element);
|
|
34
|
+
c.setState("renderedItems", a), n.setState("renderedItems", a);
|
|
35
35
|
};
|
|
36
|
-
|
|
37
|
-
n.setState("items",
|
|
38
|
-
})),
|
|
39
|
-
let
|
|
36
|
+
M(n, () => ee(c)), M(c, () => U(c, ["items"], (i) => {
|
|
37
|
+
n.setState("items", i.items);
|
|
38
|
+
})), M(c, () => U(c, ["renderedItems"], (i) => {
|
|
39
|
+
let a = !0, u = requestAnimationFrame(() => {
|
|
40
40
|
const { renderedItems: m } = n.getState();
|
|
41
|
-
|
|
41
|
+
i.renderedItems !== m && x(i.renderedItems);
|
|
42
42
|
});
|
|
43
43
|
if (typeof IntersectionObserver != "function")
|
|
44
44
|
return () => cancelAnimationFrame(u);
|
|
45
45
|
const g = () => {
|
|
46
|
-
if (
|
|
47
|
-
|
|
46
|
+
if (a) {
|
|
47
|
+
a = !1;
|
|
48
48
|
return;
|
|
49
49
|
}
|
|
50
|
-
cancelAnimationFrame(u), u = requestAnimationFrame(() => x(
|
|
51
|
-
}, F =
|
|
52
|
-
for (const m of
|
|
50
|
+
cancelAnimationFrame(u), u = requestAnimationFrame(() => x(i.renderedItems));
|
|
51
|
+
}, F = de(i.renderedItems), f = new IntersectionObserver(g, { root: F });
|
|
52
|
+
for (const m of i.renderedItems)
|
|
53
53
|
m.element && f.observe(m.element);
|
|
54
54
|
return () => {
|
|
55
55
|
cancelAnimationFrame(u), f.disconnect();
|
|
56
56
|
};
|
|
57
57
|
}));
|
|
58
|
-
const E = (
|
|
58
|
+
const E = (i, a, u = !1) => {
|
|
59
59
|
let g;
|
|
60
|
-
return
|
|
61
|
-
const m = f.findIndex(({ id: b }) => b ===
|
|
60
|
+
return a((f) => {
|
|
61
|
+
const m = f.findIndex(({ id: b }) => b === i.id), w = f.slice();
|
|
62
62
|
if (m !== -1) {
|
|
63
63
|
g = f[m];
|
|
64
|
-
const b = L(L({}, g),
|
|
65
|
-
w[m] = b, s.set(
|
|
64
|
+
const b = L(L({}, g), i);
|
|
65
|
+
w[m] = b, s.set(i.id, b);
|
|
66
66
|
} else
|
|
67
|
-
w.push(
|
|
67
|
+
w.push(i), s.set(i.id, i);
|
|
68
68
|
return w;
|
|
69
69
|
}), () => {
|
|
70
|
-
|
|
70
|
+
a((f) => {
|
|
71
71
|
if (!g)
|
|
72
|
-
return u && s.delete(
|
|
73
|
-
const m = f.findIndex(({ id: b }) => b ===
|
|
72
|
+
return u && s.delete(i.id), f.filter(({ id: b }) => b !== i.id);
|
|
73
|
+
const m = f.findIndex(({ id: b }) => b === i.id);
|
|
74
74
|
if (m === -1) return f;
|
|
75
75
|
const w = f.slice();
|
|
76
|
-
return w[m] = g, s.set(
|
|
76
|
+
return w[m] = g, s.set(i.id, g), w;
|
|
77
77
|
});
|
|
78
78
|
};
|
|
79
|
-
}, P = (
|
|
80
|
-
|
|
81
|
-
(
|
|
79
|
+
}, P = (i) => E(
|
|
80
|
+
i,
|
|
81
|
+
(a) => c.setState("items", a),
|
|
82
82
|
!0
|
|
83
83
|
);
|
|
84
|
-
return
|
|
84
|
+
return R(L({}, n), {
|
|
85
85
|
registerItem: P,
|
|
86
|
-
renderItem: (
|
|
87
|
-
P(
|
|
86
|
+
renderItem: (i) => ne(
|
|
87
|
+
P(i),
|
|
88
88
|
E(
|
|
89
|
-
|
|
90
|
-
(
|
|
89
|
+
i,
|
|
90
|
+
(a) => c.setState("renderedItems", a)
|
|
91
91
|
)
|
|
92
92
|
),
|
|
93
|
-
item: (
|
|
94
|
-
if (!
|
|
95
|
-
let
|
|
96
|
-
if (!
|
|
93
|
+
item: (i) => {
|
|
94
|
+
if (!i) return null;
|
|
95
|
+
let a = s.get(i);
|
|
96
|
+
if (!a) {
|
|
97
97
|
const { items: u } = c.getState();
|
|
98
|
-
|
|
98
|
+
a = u.find((g) => g.id === i), a && s.set(i, a);
|
|
99
99
|
}
|
|
100
|
-
return
|
|
100
|
+
return a || null;
|
|
101
101
|
},
|
|
102
102
|
// @ts-expect-error Internal
|
|
103
103
|
__unstablePrivateStore: c
|
|
104
104
|
});
|
|
105
105
|
}
|
|
106
|
-
function
|
|
107
|
-
return
|
|
106
|
+
function j(e, r, t) {
|
|
107
|
+
return se(r, [t.store]), _(e, t, "items", "setItems"), e;
|
|
108
|
+
}
|
|
109
|
+
function Ee(e = {}) {
|
|
110
|
+
const [r, t] = J(Y, e);
|
|
111
|
+
return j(r, t, e);
|
|
108
112
|
}
|
|
109
113
|
var ce = { id: null };
|
|
110
|
-
function h(e,
|
|
111
|
-
return e.find((t) =>
|
|
114
|
+
function h(e, r) {
|
|
115
|
+
return e.find((t) => r ? !t.disabled && t.id !== r : !t.disabled);
|
|
112
116
|
}
|
|
113
|
-
function fe(e,
|
|
114
|
-
return e.filter((t) =>
|
|
117
|
+
function fe(e, r) {
|
|
118
|
+
return e.filter((t) => r ? !t.disabled && t.id !== r : !t.disabled);
|
|
115
119
|
}
|
|
116
|
-
function G(e,
|
|
117
|
-
return e.filter((t) => t.rowId ===
|
|
120
|
+
function G(e, r) {
|
|
121
|
+
return e.filter((t) => t.rowId === r);
|
|
118
122
|
}
|
|
119
|
-
function me(e,
|
|
120
|
-
const o = e.findIndex((s) => s.id ===
|
|
123
|
+
function me(e, r, t = !1) {
|
|
124
|
+
const o = e.findIndex((s) => s.id === r);
|
|
121
125
|
return [
|
|
122
126
|
...e.slice(o + 1),
|
|
123
127
|
...t ? [ce] : [],
|
|
124
128
|
...e.slice(0, o)
|
|
125
129
|
];
|
|
126
130
|
}
|
|
127
|
-
function
|
|
128
|
-
const
|
|
131
|
+
function H(e) {
|
|
132
|
+
const r = [];
|
|
129
133
|
for (const t of e) {
|
|
130
|
-
const o =
|
|
131
|
-
var
|
|
132
|
-
return ((
|
|
134
|
+
const o = r.find((s) => {
|
|
135
|
+
var l;
|
|
136
|
+
return ((l = s[0]) == null ? void 0 : l.rowId) === t.rowId;
|
|
133
137
|
});
|
|
134
|
-
o ? o.push(t) :
|
|
138
|
+
o ? o.push(t) : r.push([t]);
|
|
135
139
|
}
|
|
136
|
-
return
|
|
140
|
+
return r;
|
|
137
141
|
}
|
|
138
|
-
function
|
|
139
|
-
let
|
|
142
|
+
function K(e) {
|
|
143
|
+
let r = 0;
|
|
140
144
|
for (const { length: t } of e)
|
|
141
|
-
t >
|
|
142
|
-
return
|
|
145
|
+
t > r && (r = t);
|
|
146
|
+
return r;
|
|
143
147
|
}
|
|
144
148
|
function ve(e) {
|
|
145
149
|
return {
|
|
@@ -148,24 +152,24 @@ function ve(e) {
|
|
|
148
152
|
rowId: e
|
|
149
153
|
};
|
|
150
154
|
}
|
|
151
|
-
function Ie(e,
|
|
152
|
-
const o =
|
|
155
|
+
function Ie(e, r, t) {
|
|
156
|
+
const o = K(e);
|
|
153
157
|
for (const s of e)
|
|
154
|
-
for (let
|
|
155
|
-
const d = s[
|
|
158
|
+
for (let l = 0; l < o; l += 1) {
|
|
159
|
+
const d = s[l];
|
|
156
160
|
if (!d || t && d.disabled) {
|
|
157
|
-
const n =
|
|
158
|
-
s[
|
|
161
|
+
const n = l === 0 && t ? h(s) : s[l - 1];
|
|
162
|
+
s[l] = n && r !== n.id && t ? n : ve(n == null ? void 0 : n.rowId);
|
|
159
163
|
}
|
|
160
164
|
}
|
|
161
165
|
return e;
|
|
162
166
|
}
|
|
163
167
|
function Se(e) {
|
|
164
|
-
const
|
|
168
|
+
const r = H(e), t = K(r), o = [];
|
|
165
169
|
for (let s = 0; s < t; s += 1)
|
|
166
|
-
for (const
|
|
167
|
-
const d =
|
|
168
|
-
d && o.push(
|
|
170
|
+
for (const l of r) {
|
|
171
|
+
const d = l[s];
|
|
172
|
+
d && o.push(R(L({}, d), {
|
|
169
173
|
// If there's no rowId, it means that it's not a grid composite, but
|
|
170
174
|
// a single row instead. So, instead of verticalizing it, that is,
|
|
171
175
|
// assigning a different rowId based on the column index, we keep it
|
|
@@ -177,12 +181,12 @@ function Se(e) {
|
|
|
177
181
|
return o;
|
|
178
182
|
}
|
|
179
183
|
function ge(e = {}) {
|
|
180
|
-
var
|
|
181
|
-
const t = (
|
|
184
|
+
var r;
|
|
185
|
+
const t = (r = e.store) == null ? void 0 : r.getState(), o = Y(e), s = S(
|
|
182
186
|
e.activeId,
|
|
183
187
|
t == null ? void 0 : t.activeId,
|
|
184
188
|
e.defaultActiveId
|
|
185
|
-
),
|
|
189
|
+
), l = R(L({}, o.getState()), {
|
|
186
190
|
id: S(
|
|
187
191
|
e.id,
|
|
188
192
|
t == null ? void 0 : t.id,
|
|
@@ -210,10 +214,10 @@ function ge(e = {}) {
|
|
|
210
214
|
focusLoop: S(e.focusLoop, t == null ? void 0 : t.focusLoop, !1),
|
|
211
215
|
focusWrap: S(e.focusWrap, t == null ? void 0 : t.focusWrap, !1),
|
|
212
216
|
focusShift: S(e.focusShift, t == null ? void 0 : t.focusShift, !1)
|
|
213
|
-
}), d = k(
|
|
214
|
-
|
|
217
|
+
}), d = k(l, o, e.store);
|
|
218
|
+
M(
|
|
215
219
|
d,
|
|
216
|
-
() =>
|
|
220
|
+
() => te(d, ["renderedItems", "activeId"], (n) => {
|
|
217
221
|
d.setState("activeId", (x) => {
|
|
218
222
|
var E;
|
|
219
223
|
return x !== void 0 ? x : (E = h(n.renderedItems)) == null ? void 0 : E.id;
|
|
@@ -222,36 +226,36 @@ function ge(e = {}) {
|
|
|
222
226
|
);
|
|
223
227
|
const c = (n = "next", x = {}) => {
|
|
224
228
|
var E, P;
|
|
225
|
-
const
|
|
226
|
-
skip:
|
|
227
|
-
activeId: u =
|
|
228
|
-
focusShift: g =
|
|
229
|
-
focusLoop: F =
|
|
230
|
-
focusWrap: f =
|
|
231
|
-
includesBaseElement: m =
|
|
232
|
-
renderedItems: w =
|
|
233
|
-
rtl: b =
|
|
234
|
-
} = x, y = n === "up" || n === "down", z = n === "next" || n === "down",
|
|
235
|
-
let v = y ?
|
|
236
|
-
Ie(
|
|
229
|
+
const i = d.getState(), {
|
|
230
|
+
skip: a = 0,
|
|
231
|
+
activeId: u = i.activeId,
|
|
232
|
+
focusShift: g = i.focusShift,
|
|
233
|
+
focusLoop: F = i.focusLoop,
|
|
234
|
+
focusWrap: f = i.focusWrap,
|
|
235
|
+
includesBaseElement: m = i.includesBaseElement,
|
|
236
|
+
renderedItems: w = i.renderedItems,
|
|
237
|
+
rtl: b = i.rtl
|
|
238
|
+
} = x, y = n === "up" || n === "down", z = n === "next" || n === "down", Q = z ? b && !y : !b || y, X = g && !a;
|
|
239
|
+
let v = y ? le(
|
|
240
|
+
Ie(H(w), u, X)
|
|
237
241
|
) : w;
|
|
238
|
-
if (v =
|
|
242
|
+
if (v = Q ? $(v) : v, v = y ? Se(v) : v, u == null)
|
|
239
243
|
return (E = h(v)) == null ? void 0 : E.id;
|
|
240
244
|
const B = v.find((I) => I.id === u);
|
|
241
245
|
if (!B)
|
|
242
246
|
return (P = h(v)) == null ? void 0 : P.id;
|
|
243
|
-
const D = v.some((I) => I.rowId),
|
|
244
|
-
if (
|
|
245
|
-
const I = fe(
|
|
247
|
+
const D = v.some((I) => I.rowId), Z = v.indexOf(B), V = v.slice(Z + 1), W = G(V, B.rowId);
|
|
248
|
+
if (a) {
|
|
249
|
+
const I = fe(W, u), A = I.slice(a)[0] || // If we can't find an item, just return the last one.
|
|
246
250
|
I[I.length - 1];
|
|
247
|
-
return
|
|
251
|
+
return A == null ? void 0 : A.id;
|
|
248
252
|
}
|
|
249
|
-
const
|
|
250
|
-
if (
|
|
251
|
-
const I =
|
|
253
|
+
const N = F && (y ? F !== "horizontal" : F !== "vertical"), T = D && f && (y ? f !== "horizontal" : f !== "vertical"), C = z ? (!D || y) && N && m : y ? m : !1;
|
|
254
|
+
if (N) {
|
|
255
|
+
const I = T && !C ? v : G(v, B.rowId), A = me(I, u, C), q = h(A, u);
|
|
252
256
|
return q == null ? void 0 : q.id;
|
|
253
257
|
}
|
|
254
|
-
if (
|
|
258
|
+
if (T) {
|
|
255
259
|
const I = h(
|
|
256
260
|
// We can use nextItems, which contains all the next items, including
|
|
257
261
|
// items from other rows, to wrap between rows. However, if there is a
|
|
@@ -259,15 +263,15 @@ function ge(e = {}) {
|
|
|
259
263
|
// the row. So moving next from the last item will focus on the
|
|
260
264
|
// composite container. On grid composites, horizontal navigation never
|
|
261
265
|
// focuses on the composite container, only vertical.
|
|
262
|
-
|
|
266
|
+
C ? W : V,
|
|
263
267
|
u
|
|
264
268
|
);
|
|
265
|
-
return
|
|
269
|
+
return C ? (I == null ? void 0 : I.id) || null : I == null ? void 0 : I.id;
|
|
266
270
|
}
|
|
267
|
-
const
|
|
268
|
-
return !
|
|
271
|
+
const O = h(W, u);
|
|
272
|
+
return !O && C ? null : O == null ? void 0 : O.id;
|
|
269
273
|
};
|
|
270
|
-
return
|
|
274
|
+
return R(L(L({}, o), d), {
|
|
271
275
|
setBaseElement: (n) => d.setState("baseElement", n),
|
|
272
276
|
setActiveId: (n) => d.setState("activeId", n),
|
|
273
277
|
move: (n) => {
|
|
@@ -279,7 +283,7 @@ function ge(e = {}) {
|
|
|
279
283
|
},
|
|
280
284
|
last: () => {
|
|
281
285
|
var n;
|
|
282
|
-
return (n = h(
|
|
286
|
+
return (n = h($(d.getState().renderedItems))) == null ? void 0 : n.id;
|
|
283
287
|
},
|
|
284
288
|
next: (n) => (n !== void 0 && typeof n == "number" && (n = { skip: n }), c("next", n)),
|
|
285
289
|
previous: (n) => (n !== void 0 && typeof n == "number" && (n = { skip: n }), c("previous", n)),
|
|
@@ -288,21 +292,23 @@ function ge(e = {}) {
|
|
|
288
292
|
});
|
|
289
293
|
}
|
|
290
294
|
function be(e) {
|
|
291
|
-
const
|
|
292
|
-
return
|
|
295
|
+
const r = oe(e.id);
|
|
296
|
+
return ae({ id: r }, e);
|
|
293
297
|
}
|
|
294
|
-
function xe(e,
|
|
295
|
-
return e =
|
|
298
|
+
function xe(e, r, t) {
|
|
299
|
+
return e = j(e, r, t), _(e, t, "activeId", "setActiveId"), _(e, t, "includesBaseElement"), _(e, t, "virtualFocus"), _(e, t, "orientation"), _(e, t, "rtl"), _(e, t, "focusLoop"), _(e, t, "focusWrap"), _(e, t, "focusShift"), e;
|
|
296
300
|
}
|
|
297
|
-
function
|
|
301
|
+
function ye(e = {}) {
|
|
298
302
|
e = be(e);
|
|
299
|
-
const [
|
|
300
|
-
return xe(
|
|
303
|
+
const [r, t] = J(ge, e);
|
|
304
|
+
return xe(r, t, e);
|
|
301
305
|
}
|
|
302
306
|
export {
|
|
303
|
-
|
|
307
|
+
Y as a,
|
|
304
308
|
xe as b,
|
|
305
309
|
ge as c,
|
|
306
310
|
be as d,
|
|
307
|
-
|
|
311
|
+
j as e,
|
|
312
|
+
Ee as f,
|
|
313
|
+
ye as u
|
|
308
314
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as v, s as Z, i as K, f as $, a as ee } from "./5VQZOHHZ-
|
|
2
|
-
import { u as te, C as re } from "./P7GR5CS5-
|
|
3
|
-
import { f as oe, h as ne, u as se } from "./PFRGBC2K-
|
|
4
|
-
import { f as ie, c as ue, a as ae, _ as O, i as ce, u as le, b as B, d as E, g as fe, e as P, h as I, j as de, k as z, l as me, m as pe, n as ve, o as M, p as ge } from "./LMDWO4NN-
|
|
1
|
+
import { g as v, s as Z, i as K, f as $, a as ee } from "./5VQZOHHZ-BN-teS5E.js";
|
|
2
|
+
import { u as te, C as re } from "./P7GR5CS5-5PtDURPc.js";
|
|
3
|
+
import { f as oe, h as ne, u as se } from "./PFRGBC2K-B9ko--FF.js";
|
|
4
|
+
import { f as ie, c as ue, a as ae, _ as O, i as ce, u as le, b as B, d as E, g as fe, e as P, h as I, j as de, k as z, l as me, m as pe, n as ve, o as M, p as ge } from "./LMDWO4NN-CIZvvtic.js";
|
|
5
5
|
import { f as ye, r as Ee } from "./7PRQYBBV-91wrWGjk.js";
|
|
6
6
|
import { useRef as R, useEffect as L, useState as Ie, useCallback as Ce } from "react";
|
|
7
7
|
import { jsx as Pe } from "react/jsx-runtime";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { b as ie, i as j, c as se, g as ae } from "./5VQZOHHZ-
|
|
2
|
-
import { u as ue } from "./RZ4GPYOB-
|
|
3
|
-
import { a as le, b as fe, c as ce } from "./P7GR5CS5-
|
|
4
|
-
import { u as de } from "./2RSXSRCN-
|
|
5
|
-
import { u as me } from "./YV4JVR4I-
|
|
6
|
-
import { s as pe, f as be, c as Ie, a as ge, _ as ve, q as we, t as Pe, m as S, o as x, e as T, v as Se, w as D, h as A, x as xe, j as N, y as Ce, z as he, l as Ee, n as ye, r as Te, k as De, A as Ae, B as ke } from "./LMDWO4NN-
|
|
1
|
+
import { b as ie, i as j, c as se, g as ae } from "./5VQZOHHZ-BN-teS5E.js";
|
|
2
|
+
import { u as ue } from "./RZ4GPYOB-COPqjbOz.js";
|
|
3
|
+
import { a as le, b as fe, c as ce } from "./P7GR5CS5-5PtDURPc.js";
|
|
4
|
+
import { u as de } from "./2RSXSRCN-rMUAytae.js";
|
|
5
|
+
import { u as me } from "./YV4JVR4I-w1-dnslS.js";
|
|
6
|
+
import { s as pe, f as be, c as Ie, a as ge, _ as ve, q as we, t as Pe, m as S, o as x, e as T, v as Se, w as D, h as A, x as xe, j as N, y as Ce, z as he, l as Ee, n as ye, r as Te, k as De, A as Ae, B as ke } from "./LMDWO4NN-CIZvvtic.js";
|
|
7
7
|
import { useRef as V, useContext as Oe, useCallback as Re, useMemo as ze } from "react";
|
|
8
8
|
import { jsx as Ke } from "react/jsx-runtime";
|
|
9
9
|
var Fe = "button";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { e, C as r } from "./P7GR5CS5-5PtDURPc.js";
|
|
2
|
+
import { I as t } from "./LMDWO4NN-CIZvvtic.js";
|
|
3
|
+
var o = t(
|
|
4
|
+
[r],
|
|
5
|
+
[e]
|
|
6
|
+
), s = o.useContext, v = o.useProviderContext, x = o.ContextProvider, i = o.ScopedContextProvider;
|
|
7
|
+
export {
|
|
8
|
+
i as T,
|
|
9
|
+
v as a,
|
|
10
|
+
x as b,
|
|
11
|
+
s as u
|
|
12
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
import { w as l } from "./SSRBase.es-BUXS72ra.js";
|
|
3
|
+
const n = /* @__PURE__ */ new Map([
|
|
4
|
+
[
|
|
5
|
+
"bold",
|
|
6
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z" }))
|
|
7
|
+
],
|
|
8
|
+
[
|
|
9
|
+
"duotone",
|
|
10
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
11
|
+
"path",
|
|
12
|
+
{
|
|
13
|
+
d: "M232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Z",
|
|
14
|
+
opacity: "0.2"
|
|
15
|
+
}
|
|
16
|
+
), /* @__PURE__ */ e.createElement("path", { d: "M205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z" }))
|
|
17
|
+
],
|
|
18
|
+
[
|
|
19
|
+
"fill",
|
|
20
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z" }))
|
|
21
|
+
],
|
|
22
|
+
[
|
|
23
|
+
"light",
|
|
24
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M228.24,76.24l-128,128a6,6,0,0,1-8.48,0l-56-56a6,6,0,0,1,8.48-8.48L96,191.51,219.76,67.76a6,6,0,0,1,8.48,8.48Z" }))
|
|
25
|
+
],
|
|
26
|
+
[
|
|
27
|
+
"regular",
|
|
28
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z" }))
|
|
29
|
+
],
|
|
30
|
+
[
|
|
31
|
+
"thin",
|
|
32
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M226.83,74.83l-128,128a4,4,0,0,1-5.66,0l-56-56a4,4,0,0,1,5.66-5.66L96,194.34,221.17,69.17a4,4,0,1,1,5.66,5.66Z" }))
|
|
33
|
+
]
|
|
34
|
+
]), r = e.forwardRef((a, t) => /* @__PURE__ */ e.createElement(l, { ref: t, ...a, weights: n }));
|
|
35
|
+
r.displayName = "CheckIcon";
|
|
36
|
+
export {
|
|
37
|
+
r as o
|
|
38
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { e as a, C } from "./P7GR5CS5-
|
|
3
|
-
import { I as s } from "./LMDWO4NN-
|
|
1
|
+
import { a as o, P as r } from "./MTZPJQMC-DPwZ6caC.js";
|
|
2
|
+
import { e as a, C } from "./P7GR5CS5-5PtDURPc.js";
|
|
3
|
+
import { I as s } from "./LMDWO4NN-CIZvvtic.js";
|
|
4
4
|
import { createContext as t } from "react";
|
|
5
5
|
var e = s(
|
|
6
6
|
[r, C],
|