@wrdagency/blockout 1.0.26 → 1.0.29
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-Cunv252F.js → 2NBKRL7C-DBbnghCe.js} +16 -16
- package/dist/{2RSXSRCN-dNqvVCu5.js → 2RSXSRCN-BxQ_v-Je.js} +15 -15
- package/dist/{4CMBR7SL-Cf8t3EeF.js → 4CMBR7SL-DezfZPUS.js} +25 -25
- package/dist/{5JTVDSTH-zDMMKAyC.js → 5JTVDSTH-CZ7mfyUK.js} +4 -4
- package/dist/{5VQZOHHZ-BbettT93.js → 5VQZOHHZ-DLX-ulBK.js} +1 -1
- package/dist/{6VRAQV3D-pLV6BqmA.js → 6VRAQV3D-BYmT0QTl.js} +6 -6
- package/dist/{A3WPL2ZJ-DEsxy0M-.js → A3WPL2ZJ-24tGIJIQ.js} +2 -2
- package/dist/{BM6PGYQY-g6WySwtg.js → BM6PGYQY-DCbkDr5N.js} +4 -4
- package/dist/{DG5U6ZEL-9kCi_mGg.js → DG5U6ZEL-DB0iwihy.js} +3 -3
- package/dist/{EM5CXX6A-BAj-o9Ka.js → EM5CXX6A-B4ZS4Hs_.js} +2 -2
- package/dist/{F5MUBM3I-AbDoeFd8.js → F5MUBM3I-75qY3y0N.js} +17 -17
- package/dist/{G7GW6PWC-DeYlSr7f.js → G7GW6PWC-Dk4hVbAk.js} +32 -32
- package/dist/{IWEFDH56-DLJvQd6v.js → IWEFDH56-BACkQ6dc.js} +3 -3
- package/dist/{J2LQO3EC-Cevd6Bvq.js → J2LQO3EC-BXJIaM2U.js} +2 -2
- package/dist/JMHAJKUZ-D5KCN1Aj.js +114 -0
- package/dist/{KFH4SEIX-JLk95eQA.js → KFH4SEIX-DaQeP5D_.js} +13 -13
- package/dist/{LMDWO4NN-BfJb6my4.js → LMDWO4NN-CpSMaD5G.js} +26 -26
- package/dist/MAXQOH4L-BYWBWXpb.js +459 -0
- package/dist/{MR26YJYP-CDaPeerB.js → MR26YJYP-CTh6rCwA.js} +66 -66
- package/dist/{MTZPJQMC-CraWj4on.js → MTZPJQMC-D2i4-LA_.js} +4 -4
- package/dist/{O2PQ2652-BCwdW7qA.js → O2PQ2652-DIoegIkE.js} +3 -3
- package/dist/{P7GR5CS5-DbUZzAnv.js → P7GR5CS5-3RsPGPTy.js} +1 -1
- package/dist/{PFRGBC2K-DmHoUTiZ.js → PFRGBC2K-BdRJd-gU.js} +36 -36
- package/dist/{RS7LB2H4-D1_VRecC.js → RS7LB2H4-COOfOq9w.js} +1 -1
- package/dist/{RZ4GPYOB-rG3RP8Xi.js → RZ4GPYOB-CovncfhJ.js} +5 -5
- package/dist/{S43UC3DV-bOoyE-xW.js → S43UC3DV-HCi6u_G4.js} +8 -8
- package/dist/{T7VMP3TM-DZitNAMz.js → T7VMP3TM-C8D6mVva.js} +19 -19
- package/dist/{TIW3GMFC-DPiX149D.js → TIW3GMFC-BF0w2_9R.js} +16 -16
- package/dist/{TP7N7UIH-D_nR5wDv.js → TP7N7UIH-C4jXJDlO.js} +2 -2
- package/dist/{UQQRIHDV-ULrGYPSq.js → UQQRIHDV-DEGlgATx.js} +10 -10
- package/dist/{UYGDZTLQ-CTQQ8oFQ.js → UYGDZTLQ-HiDKLOW5.js} +2 -2
- package/dist/{VIIRIBF3-C4pOScX8.js → VIIRIBF3-B-djNAU9.js} +3 -3
- package/dist/{WMYDSCNQ-qLZnyPON.js → WMYDSCNQ-pGjWB-Pk.js} +12 -12
- package/dist/{WYCIER3C-BJwD0YDE.js → WYCIER3C-CxfgpZG_.js} +2 -2
- package/dist/{YORGHBM4-6CReFG7i.js → YORGHBM4-D_fOXG5Y.js} +1 -1
- package/dist/{YV4JVR4I-D8_aZ62q.js → YV4JVR4I-CQnJhUSg.js} +26 -26
- package/dist/assets/button.css +1 -1
- package/dist/assets/index19.css +1 -1
- package/dist/assets/index20.css +1 -1
- package/dist/assets/index21.css +1 -1
- package/dist/assets/index9.css +1 -1
- package/dist/assets/static.css +1 -0
- package/dist/assets/style.css +1 -1
- package/dist/assets/style10.css +1 -1
- package/dist/assets/style6.css +1 -1
- package/dist/assets/style8.css +1 -1
- package/dist/assets/style9.css +1 -1
- package/dist/{combobox-group-BCdU5rML.js → combobox-group-hNvv1WJm.js} +3 -3
- package/dist/{combobox-popover-D5bLZY4d.js → combobox-popover-BZ_1wNrj.js} +5 -5
- package/dist/components/avatar/index.d.ts +2 -2
- package/dist/components/avatar/index.js +20 -18
- package/dist/components/breadcrumbs/index.js +5 -5
- package/dist/components/button/icon.js +1 -1
- package/dist/components/button/row.js +4 -4
- package/dist/components/command-palette/dialog.d.ts +9 -0
- package/dist/components/command-palette/dialog.js +34 -0
- package/dist/components/command-palette/index.js +8 -175
- package/dist/components/command-palette/presets.d.ts +4 -0
- package/dist/components/command-palette/presets.js +10 -0
- package/dist/components/command-palette/static.d.ts +19 -0
- package/dist/components/command-palette/static.js +76 -0
- package/dist/components/controls/base-popover-control/index.js +4 -4
- package/dist/components/controls/checkbox-control/index.js +1 -1
- package/dist/components/controls/choice-control/choice.js +1 -1
- package/dist/components/controls/choice-control/index.js +1 -1
- package/dist/components/controls/date-control/index.js +2 -2
- package/dist/components/controls/date-control/picker.js +5 -5
- package/dist/components/controls/list-control/item.js +1 -1
- package/dist/components/controls/recurrence-control/index.js +1 -1
- package/dist/components/controls/select-control/control.js +1 -1
- package/dist/components/controls/select-control/select.js +33 -32
- package/dist/components/controls/tag-control/ariakit-experimental.js +253 -252
- package/dist/components/controls/tag-control/index.js +9 -8
- package/dist/components/controls/tag-control/props.js +1 -1
- package/dist/components/controls/toggle-control/index.js +1 -1
- package/dist/components/controls/toggle-group-control/index.js +1 -1
- package/dist/components/data-form/status.js +1 -1
- package/dist/components/data-form/submit.js +1 -1
- package/dist/components/data-view/data/filter.js +2 -2
- package/dist/components/data-view/index.js +1 -1
- package/dist/components/data-view/layouts/grid/group.js +2 -2
- package/dist/components/data-view/layouts/grid/item.js +2 -2
- package/dist/components/data-view/layouts/kanban/group.js +2 -2
- package/dist/components/data-view/layouts/kanban/item.js +2 -2
- package/dist/components/data-view/layouts/kanban/root.js +1 -1
- package/dist/components/data-view/layouts/list/group.js +2 -2
- package/dist/components/data-view/layouts/list/item.js +2 -2
- package/dist/components/data-view/layouts/table/empty.js +2 -2
- package/dist/components/data-view/layouts/table/group.js +3 -3
- package/dist/components/data-view/layouts/table/item.js +3 -3
- package/dist/components/data-view/layouts/table/root.js +2 -2
- package/dist/components/data-view/layouts/tile/group.js +2 -2
- package/dist/components/data-view/layouts/tile/item.js +2 -2
- package/dist/components/data-view/parts/body/empty.js +1 -1
- package/dist/components/data-view/parts/body/index.js +4 -4
- package/dist/components/data-view/parts/controls/index.js +2 -2
- package/dist/components/data-view/parts/controls/search.js +2 -2
- package/dist/components/data-view/parts/filters/chip.js +1 -1
- package/dist/components/data-view/parts/filters/editor.js +1 -1
- package/dist/components/data-view/parts/footer/actions.js +2 -2
- package/dist/components/data-view/parts/footer/index.js +2 -2
- package/dist/components/data-view/parts/footer/selection.js +2 -2
- package/dist/components/data-view/parts/view-control/index.js +2 -2
- package/dist/components/data-view/root.js +2 -2
- package/dist/components/data-view/slots/group/checkbox.js +3 -3
- package/dist/components/data-view/slots/group/context.js +1 -1
- package/dist/components/data-view/slots/group/header.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 +2 -2
- 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 +1 -1
- 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 +2 -2
- package/dist/components/data-view/slots/property/field/index.js +1 -1
- 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 +2 -2
- package/dist/components/data-view/slots/root/index.js +1 -1
- package/dist/components/dialog/index.js +3 -3
- package/dist/components/filesystem/file.js +1 -1
- package/dist/components/filesystem/folder.js +5 -5
- package/dist/components/filesystem/list.js +1 -1
- package/dist/components/filesystem/root.js +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/menu/index.js +2 -2
- package/dist/components/menu/item.js +1 -1
- package/dist/components/menu/items/action.js +1 -1
- package/dist/components/menu/items/spacer.js +1 -1
- package/dist/components/menu/items/submenu.js +3 -3
- package/dist/components/menu/items/toggle.js +1 -1
- package/dist/components/progress/index.js +1 -1
- package/dist/components/shell/index.js +14 -12
- package/dist/components/shell/navigation-separator.d.ts +6 -0
- package/dist/components/shell/navigation-separator.js +14 -0
- package/dist/components/shell/pane.js +1 -1
- package/dist/components/shell/sidebar-item.d.ts +5 -4
- package/dist/components/shell/sidebar-item.js +26 -20
- package/dist/components/tabs/list.js +1 -1
- package/dist/components/tabs/panel.js +1 -1
- package/dist/components/tabs/root.js +1 -1
- package/dist/components/tabs/tab.js +1 -1
- package/dist/components/tag/tag.js +1 -1
- package/dist/components/toolbar/divider.js +1 -1
- package/dist/components/toolbar/index.js +1 -1
- package/dist/components/toolbar/root.js +1 -1
- package/dist/components/window/index.js +2 -2
- package/dist/{composite-provider-DFOFHro7.js → composite-provider-BPIeS4Cg.js} +2 -2
- package/dist/{disclosure-provider-DIT2ijtk.js → disclosure-provider-cEVysvZT.js} +2 -2
- package/dist/{filter-DzrtcAfG.js → filter-DHK0UoZG.js} +1 -1
- package/dist/{index-Bp_FFk15.js → index-BLCPauyN.js} +2 -2
- package/dist/{index-B5z_GwnD.js → index-BnbjJBS4.js} +3 -3
- package/dist/{index-C8OctMj0.js → index-CLl-PPjx.js} +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +77 -56
- package/dist/{item-CGLYiEST.js → item-CmTk8eHD.js} +2 -2
- package/dist/{menu-button-C-h3k7Gh.js → menu-button-GQO5dB3U.js} +33 -33
- package/dist/{menu-separator-CuuhJPnR.js → menu-separator-Z6pSHpX5.js} +3 -3
- package/dist/{picker-BUCg1BqW.js → picker-DyJogHYh.js} +4 -4
- package/dist/{popover-provider-BoZ9PI_r.js → popover-provider-BJEfhgr1.js} +4 -4
- package/dist/presets-BDIhXP0C.js +148 -0
- package/dist/primitives/icon-label/index.d.ts +2 -0
- package/dist/primitives/icon-label/index.js +18 -14
- package/dist/primitives/link/index.d.ts +3 -1
- package/dist/primitives/link/index.js +26 -25
- package/dist/primitives/nav-link/index.d.ts +4 -3
- package/dist/primitives/nav-link/index.js +21 -17
- package/dist/primitives/popover/root.js +1 -1
- package/dist/primitives/popover/target.js +1 -1
- package/dist/primitives/popover/window.js +3 -3
- package/dist/primitives/scroll-area/index.js +1 -1
- package/dist/primitives/tooltip/index.d.ts +2 -0
- package/dist/primitives/tooltip/index.js +36 -24
- package/dist/{select-popover-DmN0T8PP.js → select-popover-Dheunyb0.js} +53 -53
- package/dist/{select-value-DnWKxDD-.js → select-value-B3DYk9eV.js} +2 -2
- package/dist/{tab-BXGTM7Se.js → tab-DejwS4C8.js} +4 -4
- package/dist/{tab-list-BPSxHllS.js → tab-list-CndMWcVv.js} +3 -3
- package/dist/{tab-panel-fbUcLE4f.js → tab-panel-DedzuWUA.js} +7 -7
- package/dist/{tab-provider-x586a8l7.js → tab-provider-B0BoLfST.js} +21 -21
- package/dist/{tag-remove-BdHvB_5c.js → tag-remove-Dz-sGbyZ.js} +35 -35
- package/dist/{toolbar-hQ58P-Nk.js → toolbar-PSaF1mdF.js} +11 -11
- package/dist/{toolbar-separator-CN00-jyc.js → toolbar-separator-DJHiHbGj.js} +3 -3
- package/dist/{tooltip-arrow-BRJ4m2ZL.js → tooltip-arrow-BVwULA6B.js} +9 -9
- package/dist/utils/index.d.ts +8 -0
- package/dist/utils/index.js +23 -0
- package/package.json +1 -1
- package/dist/MAXQOH4L-DB7jDisS.js +0 -564
- package/dist/assets/index22.css +0 -1
- package/dist/components/command-palette/index.d.ts +0 -28
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as m } from "./A3WPL2ZJ-
|
|
2
|
-
import { u } from "./6VRAQV3D-
|
|
3
|
-
import { s as n, f as p, c as b, a as c, _ as f, o as l } from "./LMDWO4NN-
|
|
1
|
+
import { u as m } from "./A3WPL2ZJ-24tGIJIQ.js";
|
|
2
|
+
import { u } from "./6VRAQV3D-BYmT0QTl.js";
|
|
3
|
+
import { s as n, f as p, c as b, a as c, _ as f, o as l } from "./LMDWO4NN-CpSMaD5G.js";
|
|
4
4
|
var T = "button", i = b(
|
|
5
5
|
function(e) {
|
|
6
6
|
var o = e, { store: r } = o, t = f(o, ["store"]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as d, b as v } from "./P7GR5CS5-
|
|
2
|
-
import { f as l, c as C, a as f, _ as w, i as R, q as _, l as b, o as E, r as x } from "./LMDWO4NN-
|
|
1
|
+
import { a as d, b as v } from "./P7GR5CS5-3RsPGPTy.js";
|
|
2
|
+
import { f as l, c as C, a as f, _ as w, i as R, q as _, l as b, o as E, r as x } from "./LMDWO4NN-CpSMaD5G.js";
|
|
3
3
|
import { useMemo as S } from "react";
|
|
4
4
|
import { jsx as V } from "react/jsx-runtime";
|
|
5
5
|
var z = "div", N = C(
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { u as H } from "./UQQRIHDV-DEGlgATx.js";
|
|
2
|
+
import { u as N } from "./6VRAQV3D-BYmT0QTl.js";
|
|
3
|
+
import { a as F, C as T, b as L, c as q } from "./S43UC3DV-HCi6u_G4.js";
|
|
4
|
+
import { u as M } from "./YV4JVR4I-CQnJhUSg.js";
|
|
5
|
+
import { s as W, f as z, c as G, a as J, _ as Q, i as U, m as C, o as c, j as m, e as P, E as X, F as Y, k as Z, l as $ } from "./LMDWO4NN-CpSMaD5G.js";
|
|
6
|
+
import { h as ee } from "./PFRGBC2K-BdRJd-gU.js";
|
|
7
|
+
import { useCallback as oe, useContext as te } from "react";
|
|
8
|
+
import { jsx as y } from "react/jsx-runtime";
|
|
9
|
+
var ne = "div";
|
|
10
|
+
function re(s, l) {
|
|
11
|
+
if (l != null)
|
|
12
|
+
return s == null ? !1 : Array.isArray(s) ? s.includes(l) : s === l;
|
|
13
|
+
}
|
|
14
|
+
function le(s) {
|
|
15
|
+
var l;
|
|
16
|
+
return (l = {
|
|
17
|
+
menu: "menuitem",
|
|
18
|
+
listbox: "option",
|
|
19
|
+
tree: "treeitem"
|
|
20
|
+
}[s]) != null ? l : "option";
|
|
21
|
+
}
|
|
22
|
+
var se = G(
|
|
23
|
+
function(l) {
|
|
24
|
+
var i = l, {
|
|
25
|
+
store: o,
|
|
26
|
+
value: n,
|
|
27
|
+
hideOnClick: f,
|
|
28
|
+
setValueOnClick: p,
|
|
29
|
+
selectValueOnClick: S = !0,
|
|
30
|
+
resetValueOnSelect: v,
|
|
31
|
+
focusOnHover: I = !1,
|
|
32
|
+
moveOnKeyPress: E = !0,
|
|
33
|
+
getItem: b
|
|
34
|
+
} = i, r = Q(i, [
|
|
35
|
+
"store",
|
|
36
|
+
"value",
|
|
37
|
+
"hideOnClick",
|
|
38
|
+
"setValueOnClick",
|
|
39
|
+
"selectValueOnClick",
|
|
40
|
+
"resetValueOnSelect",
|
|
41
|
+
"focusOnHover",
|
|
42
|
+
"moveOnKeyPress",
|
|
43
|
+
"getItem"
|
|
44
|
+
]), O;
|
|
45
|
+
const h = F();
|
|
46
|
+
o = o || h, U(
|
|
47
|
+
o,
|
|
48
|
+
process.env.NODE_ENV !== "production" && "ComboboxItem must be wrapped in a ComboboxList or ComboboxPopover component."
|
|
49
|
+
);
|
|
50
|
+
const { resetValueOnSelectState: V, multiSelectable: d, selected: u } = M(o, {
|
|
51
|
+
resetValueOnSelectState: "resetValueOnSelect",
|
|
52
|
+
multiSelectable(e) {
|
|
53
|
+
return Array.isArray(e.selectedValue);
|
|
54
|
+
},
|
|
55
|
+
selected(e) {
|
|
56
|
+
return re(e.selectedValue, n);
|
|
57
|
+
}
|
|
58
|
+
}), g = oe(
|
|
59
|
+
(e) => {
|
|
60
|
+
const t = C(c({}, e), { value: n });
|
|
61
|
+
return b ? b(t) : t;
|
|
62
|
+
},
|
|
63
|
+
[n, b]
|
|
64
|
+
);
|
|
65
|
+
p = p ?? !d, f = f ?? (n != null && !d);
|
|
66
|
+
const k = r.onClick, _ = m(p), R = m(S), w = m(
|
|
67
|
+
(O = v ?? V) != null ? O : d
|
|
68
|
+
), K = m(f), A = P((e) => {
|
|
69
|
+
k == null || k(e), !e.defaultPrevented && (X(e) || Y(e) || (n != null && (R(e) && (w(e) && (o == null || o.resetValue()), o == null || o.setSelectedValue((t) => Array.isArray(t) ? t.includes(n) ? t.filter((a) => a !== n) : [...t, n] : n)), _(e) && (o == null || o.setValue(n))), K(e) && (o == null || o.hide())));
|
|
70
|
+
}), x = r.onKeyDown, D = P((e) => {
|
|
71
|
+
if (x == null || x(e), e.defaultPrevented) return;
|
|
72
|
+
const t = o == null ? void 0 : o.getState().baseElement;
|
|
73
|
+
if (!t || ee(t)) return;
|
|
74
|
+
(e.key.length === 1 || e.key === "Backspace" || e.key === "Delete") && (queueMicrotask(() => t.focus()), Z(t) && (o == null || o.setValue(t.value)));
|
|
75
|
+
});
|
|
76
|
+
d && u != null && (r = c({
|
|
77
|
+
"aria-selected": u
|
|
78
|
+
}, r)), r = $(
|
|
79
|
+
r,
|
|
80
|
+
(e) => /* @__PURE__ */ y(T.Provider, { value: n, children: /* @__PURE__ */ y(L.Provider, { value: u ?? !1, children: e }) }),
|
|
81
|
+
[n, u]
|
|
82
|
+
);
|
|
83
|
+
const j = te(q);
|
|
84
|
+
r = C(c({
|
|
85
|
+
role: le(j),
|
|
86
|
+
children: n
|
|
87
|
+
}, r), {
|
|
88
|
+
onClick: A,
|
|
89
|
+
onKeyDown: D
|
|
90
|
+
});
|
|
91
|
+
const B = m(E);
|
|
92
|
+
return r = N(C(c({
|
|
93
|
+
store: o
|
|
94
|
+
}, r), {
|
|
95
|
+
getItem: g,
|
|
96
|
+
// Dispatch a custom event on the combobox input when moving to an item
|
|
97
|
+
// with the keyboard so the Combobox component can enable inline
|
|
98
|
+
// autocompletion.
|
|
99
|
+
moveOnKeyPress: (e) => {
|
|
100
|
+
if (!B(e)) return !1;
|
|
101
|
+
const t = new Event("combobox-item-move"), a = o == null ? void 0 : o.getState().baseElement;
|
|
102
|
+
return a == null || a.dispatchEvent(t), !0;
|
|
103
|
+
}
|
|
104
|
+
})), r = H(c({ store: o, focusOnHover: I }, r)), r;
|
|
105
|
+
}
|
|
106
|
+
), be = W(
|
|
107
|
+
z(function(l) {
|
|
108
|
+
const i = se(l);
|
|
109
|
+
return J(ne, i);
|
|
110
|
+
})
|
|
111
|
+
);
|
|
112
|
+
export {
|
|
113
|
+
be as C
|
|
114
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as A, D as z } from "./RS7LB2H4-
|
|
2
|
-
import { a as T } from "./YV4JVR4I-
|
|
3
|
-
import {
|
|
1
|
+
import { u as A, D as z } from "./RS7LB2H4-COOfOq9w.js";
|
|
2
|
+
import { a as T } from "./YV4JVR4I-CQnJhUSg.js";
|
|
3
|
+
import { c as B, _ as R, i as G, q as J, b as p, l as K, m as x, o as E, n as Q, r as X, f as V, a as Y } from "./LMDWO4NN-CpSMaD5G.js";
|
|
4
4
|
import { useRef as Z, useState as $, useMemo as tt } from "react";
|
|
5
5
|
import { r as et } from "./index-Cgx3BqdJ.js";
|
|
6
6
|
import { jsx as g } from "react/jsx-runtime";
|
|
@@ -25,13 +25,13 @@ function rt(r, e, n) {
|
|
|
25
25
|
return !n && e !== !1 && (!r || !!e);
|
|
26
26
|
}
|
|
27
27
|
var at = B(function(e) {
|
|
28
|
-
var n = e, { store: t, alwaysVisible: i } = n, o =
|
|
28
|
+
var n = e, { store: t, alwaysVisible: i } = n, o = R(n, ["store", "alwaysVisible"]);
|
|
29
29
|
const v = A();
|
|
30
|
-
t = t || v,
|
|
30
|
+
t = t || v, G(
|
|
31
31
|
t,
|
|
32
32
|
process.env.NODE_ENV !== "production" && "DisclosureContent must receive a `store` prop or be wrapped in a DisclosureProvider component."
|
|
33
33
|
);
|
|
34
|
-
const d = Z(null), c =
|
|
34
|
+
const d = Z(null), c = J(o.id), [s, _] = $(null), u = t.useState("open"), D = t.useState("mounted"), l = t.useState("animated"), m = t.useState("contentElement"), y = T(t.disclosure, "contentElement");
|
|
35
35
|
p(() => {
|
|
36
36
|
d.current && (t == null || t.setContentElement(d.current));
|
|
37
37
|
}, [t]), p(() => {
|
|
@@ -82,7 +82,7 @@ var at = B(function(e) {
|
|
|
82
82
|
}
|
|
83
83
|
const L = 1e3 / 60, U = Math.max(b - L, 0);
|
|
84
84
|
return h(U, f);
|
|
85
|
-
}, [t, l, m, y, u, s]), o =
|
|
85
|
+
}, [t, l, m, y, u, s]), o = K(
|
|
86
86
|
o,
|
|
87
87
|
(a) => /* @__PURE__ */ g(z, { value: t, children: a }),
|
|
88
88
|
[t]
|
|
@@ -95,16 +95,16 @@ var at = B(function(e) {
|
|
|
95
95
|
"data-leave": s === "leave" || void 0,
|
|
96
96
|
hidden: S
|
|
97
97
|
}, o), {
|
|
98
|
-
ref:
|
|
98
|
+
ref: Q(c ? t.setContentElement : null, d, o.ref),
|
|
99
99
|
style: w
|
|
100
|
-
}),
|
|
101
|
-
}), it =
|
|
100
|
+
}), X(o);
|
|
101
|
+
}), it = V(function(e) {
|
|
102
102
|
const n = at(e);
|
|
103
|
-
return
|
|
104
|
-
}), pt =
|
|
103
|
+
return Y(nt, n);
|
|
104
|
+
}), pt = V(function(e) {
|
|
105
105
|
var n = e, {
|
|
106
106
|
unmountOnHide: t
|
|
107
|
-
} = n, i =
|
|
107
|
+
} = n, i = R(n, [
|
|
108
108
|
"unmountOnHide"
|
|
109
109
|
]);
|
|
110
110
|
const o = A(), v = i.store || o;
|
|
@@ -562,26 +562,26 @@ export {
|
|
|
562
562
|
mt as B,
|
|
563
563
|
Vt as C,
|
|
564
564
|
_ as D,
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
565
|
+
ne as E,
|
|
566
|
+
ee as F,
|
|
567
|
+
Dt as G,
|
|
568
|
+
_e as H,
|
|
569
|
+
Jt as I,
|
|
570
|
+
ce as J,
|
|
571
|
+
ue as K,
|
|
572
|
+
Se as L,
|
|
573
|
+
zt as M,
|
|
574
|
+
Mt as N,
|
|
575
|
+
be as O,
|
|
576
|
+
R as P,
|
|
577
|
+
S as Q,
|
|
578
578
|
Yt as R,
|
|
579
579
|
vt as S,
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
580
|
+
pe as T,
|
|
581
|
+
$t as U,
|
|
582
|
+
rt as V,
|
|
583
|
+
U as W,
|
|
584
|
+
me as X,
|
|
585
585
|
Pt as Y,
|
|
586
586
|
Ut as Z,
|
|
587
587
|
Z as _,
|
|
@@ -591,14 +591,14 @@ export {
|
|
|
591
591
|
Tt as a2,
|
|
592
592
|
he as a3,
|
|
593
593
|
fe as a4,
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
594
|
+
yt as a5,
|
|
595
|
+
ye as a6,
|
|
596
|
+
ge as a7,
|
|
597
|
+
qt as a8,
|
|
598
|
+
Ot as a9,
|
|
599
|
+
ve as aa,
|
|
600
|
+
xt as ab,
|
|
601
|
+
re as ac,
|
|
602
602
|
Wt as ad,
|
|
603
603
|
It as ae,
|
|
604
604
|
jt as af,
|