@wrdagency/blockout 1.0.25 → 1.0.27
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-M2oB5mLz.js} +6 -6
- package/dist/{2RSXSRCN-dNqvVCu5.js → 2RSXSRCN-BtBMZ8Lx.js} +2 -2
- package/dist/{4CMBR7SL-Cf8t3EeF.js → 4CMBR7SL-C-0Aig1V.js} +25 -25
- package/dist/{5JTVDSTH-zDMMKAyC.js → 5JTVDSTH-BOGL3M3F.js} +4 -4
- package/dist/{5VQZOHHZ-BbettT93.js → 5VQZOHHZ-DADExXg7.js} +1 -1
- package/dist/{6VRAQV3D-pLV6BqmA.js → 6VRAQV3D-pTuMqsWW.js} +6 -6
- package/dist/{A3WPL2ZJ-DEsxy0M-.js → A3WPL2ZJ-BiXYGxnE.js} +2 -2
- package/dist/{BM6PGYQY-g6WySwtg.js → BM6PGYQY-DL-j4NGc.js} +4 -4
- package/dist/{DG5U6ZEL-9kCi_mGg.js → DG5U6ZEL-Bn6QlO7C.js} +3 -3
- package/dist/{EM5CXX6A-BAj-o9Ka.js → EM5CXX6A-B4C-NFJy.js} +2 -2
- package/dist/{F5MUBM3I-AbDoeFd8.js → F5MUBM3I-D6cacg-c.js} +15 -15
- package/dist/{G7GW6PWC-DeYlSr7f.js → G7GW6PWC-C6qSYISF.js} +56 -56
- package/dist/{IWEFDH56-DLJvQd6v.js → IWEFDH56-Da7lGcXC.js} +3 -3
- package/dist/{J2LQO3EC-Cevd6Bvq.js → J2LQO3EC-XUQS0UAH.js} +2 -2
- package/dist/{KFH4SEIX-JLk95eQA.js → KFH4SEIX-C-0wHvda.js} +13 -13
- package/dist/{LMDWO4NN-BfJb6my4.js → LMDWO4NN-ZnclRjpA.js} +10 -10
- package/dist/{MAXQOH4L-DB7jDisS.js → MAXQOH4L-lpuvS1NR.js} +40 -40
- package/dist/{MR26YJYP-CDaPeerB.js → MR26YJYP-CWddku_H.js} +43 -43
- package/dist/{MTZPJQMC-CraWj4on.js → MTZPJQMC-CNgogsHX.js} +4 -4
- package/dist/{O2PQ2652-BCwdW7qA.js → O2PQ2652-DkPiHeUQ.js} +3 -3
- package/dist/{P7GR5CS5-DbUZzAnv.js → P7GR5CS5-bOyAbBNR.js} +1 -1
- package/dist/{PFRGBC2K-DmHoUTiZ.js → PFRGBC2K-BS9YO5-Q.js} +22 -22
- package/dist/{RS7LB2H4-D1_VRecC.js → RS7LB2H4-BpSl1D2T.js} +1 -1
- package/dist/{RZ4GPYOB-rG3RP8Xi.js → RZ4GPYOB-D4dwmRZg.js} +2 -2
- package/dist/{S43UC3DV-bOoyE-xW.js → S43UC3DV-BVbmEy3J.js} +3 -3
- package/dist/{T7VMP3TM-DZitNAMz.js → T7VMP3TM-BnzhAoaO.js} +11 -11
- package/dist/{TIW3GMFC-DPiX149D.js → TIW3GMFC-C4Bh_hzw.js} +16 -16
- package/dist/{TP7N7UIH-D_nR5wDv.js → TP7N7UIH-Bs0NX7lb.js} +2 -2
- package/dist/{UQQRIHDV-ULrGYPSq.js → UQQRIHDV-C_0T8mGy.js} +12 -12
- package/dist/{UYGDZTLQ-CTQQ8oFQ.js → UYGDZTLQ-BDhCZlZ2.js} +2 -2
- package/dist/{VIIRIBF3-C4pOScX8.js → VIIRIBF3-CQdc2eWO.js} +3 -3
- package/dist/{WMYDSCNQ-qLZnyPON.js → WMYDSCNQ-J1-TanSP.js} +10 -10
- package/dist/{WYCIER3C-BJwD0YDE.js → WYCIER3C-CABEZy1i.js} +2 -2
- package/dist/{YORGHBM4-6CReFG7i.js → YORGHBM4-B1RRY_xR.js} +1 -1
- package/dist/{YV4JVR4I-D8_aZ62q.js → YV4JVR4I-BuKFdNa0.js} +28 -28
- package/dist/assets/button.css +1 -1
- package/dist/assets/index14.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/index6.css +1 -1
- package/dist/assets/index9.css +1 -1
- package/dist/assets/static.css +1 -0
- package/dist/assets/style10.css +1 -1
- package/dist/assets/style20.css +1 -1
- package/dist/assets/style4.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-Q7OatWHm.js} +3 -3
- package/dist/{combobox-popover-D5bLZY4d.js → combobox-popover-CDfaOt6J.js} +5 -5
- package/dist/components/breadcrumbs/index.js +5 -5
- package/dist/components/button/button.d.ts +5 -2
- package/dist/components/button/button.js +10 -10
- 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 +6 -162
- package/dist/components/command-palette/{index.d.ts → static.d.ts} +13 -11
- package/dist/components/command-palette/static.js +157 -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 +4 -4
- package/dist/components/controls/tag-control/ariakit-experimental.js +77 -77
- package/dist/components/controls/tag-control/index.js +4 -4
- 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.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/context.d.ts +9 -0
- package/dist/components/shell/context.js +25 -0
- package/dist/components/shell/index.js +9 -5
- package/dist/components/shell/navigation.js +49 -4
- package/dist/components/shell/pane.d.ts +0 -2
- package/dist/components/shell/pane.js +10 -22
- package/dist/components/shell/root.js +18 -17
- package/dist/components/shell/sidebar-item.d.ts +8 -0
- package/dist/components/shell/sidebar-item.js +46 -0
- package/dist/components/shell/sidebar-separator.d.ts +6 -0
- package/dist/components/shell/sidebar-separator.js +16 -0
- package/dist/components/shell/sidebar.js +3 -3
- 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-VHhinf1k.js} +2 -2
- package/dist/{disclosure-provider-DIT2ijtk.js → disclosure-provider-BUQRx-hY.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.js +1 -1
- package/dist/{item-CGLYiEST.js → item-PTynqLvp.js} +2 -2
- package/dist/{menu-button-C-h3k7Gh.js → menu-button-RmWWFvwE.js} +33 -33
- package/dist/{menu-separator-CuuhJPnR.js → menu-separator-DgYHkDAA.js} +3 -3
- package/dist/{picker-BUCg1BqW.js → picker-DioIiYC0.js} +4 -4
- package/dist/{popover-provider-BoZ9PI_r.js → popover-provider-HlPXIcud.js} +4 -4
- package/dist/primitives/link/index.js +1 -1
- 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 +38 -21
- package/dist/{select-popover-DmN0T8PP.js → select-popover-P8y2n3bQ.js} +35 -35
- package/dist/{select-value-DnWKxDD-.js → select-value-3BLrBdZV.js} +2 -2
- package/dist/{tab-BXGTM7Se.js → tab-CKUPUgQ2.js} +4 -4
- package/dist/{tab-list-BPSxHllS.js → tab-list-CzsRzSiN.js} +3 -3
- package/dist/{tab-panel-fbUcLE4f.js → tab-panel-YGzJnU1g.js} +7 -7
- package/dist/{tab-provider-x586a8l7.js → tab-provider-CV8qTybg.js} +21 -21
- package/dist/{tag-remove-BdHvB_5c.js → tag-remove-DmlHu_9b.js} +21 -21
- package/dist/{toolbar-hQ58P-Nk.js → toolbar-BlVhTG5v.js} +11 -11
- package/dist/{toolbar-separator-CN00-jyc.js → toolbar-separator-liolx0p8.js} +3 -3
- package/dist/{tooltip-arrow-BRJ4m2ZL.js → tooltip-arrow-CjZ1x0xv.js} +14 -14
- package/package.json +1 -1
- package/dist/assets/index22.css +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createContext as st, useRef as ot, useEffect as A, useState as ut, useContext as at, useMemo as it } from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { W as ct, g as E, Z as ft, N as lt, $ as j, c as bt, _ as dt, a0 as B, t as pt, e as F, v as vt, A as yt, H as T, h as O, a1 as Ft, T as mt, o as q, m as xt, n as Et, r as At, x as gt, f as ht, a as Tt } from "./LMDWO4NN-ZnclRjpA.js";
|
|
3
3
|
var wt = st(!0), g = "input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], summary, iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false'])";
|
|
4
4
|
function Ct(t) {
|
|
5
5
|
return Number.parseInt(t.getAttribute("tabindex") || "0", 10) < 0;
|
|
@@ -22,7 +22,7 @@ function C(t, e) {
|
|
|
22
22
|
e && r.unshift(t);
|
|
23
23
|
const n = r.filter(m);
|
|
24
24
|
return n.forEach((o, i) => {
|
|
25
|
-
if (
|
|
25
|
+
if (j(o) && o.contentDocument) {
|
|
26
26
|
const f = o.contentDocument.body;
|
|
27
27
|
n.splice(i, 1, ...C(f));
|
|
28
28
|
}
|
|
@@ -33,7 +33,7 @@ function I(t, e, r) {
|
|
|
33
33
|
t.querySelectorAll(g)
|
|
34
34
|
), o = n.filter(x);
|
|
35
35
|
return e && x(t) && o.unshift(t), o.forEach((i, f) => {
|
|
36
|
-
if (
|
|
36
|
+
if (j(i) && i.contentDocument) {
|
|
37
37
|
const a = i.contentDocument.body, l = I(
|
|
38
38
|
a,
|
|
39
39
|
!1,
|
|
@@ -43,7 +43,7 @@ function I(t, e, r) {
|
|
|
43
43
|
}
|
|
44
44
|
}), !o.length && r ? n : o;
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function Ut(t, e, r) {
|
|
47
47
|
const [n] = I(
|
|
48
48
|
t,
|
|
49
49
|
e,
|
|
@@ -73,7 +73,7 @@ function Ht(t, e) {
|
|
|
73
73
|
!1
|
|
74
74
|
);
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function Pt(t) {
|
|
77
77
|
for (; t && !m(t); )
|
|
78
78
|
t = t.closest(g);
|
|
79
79
|
return t || null;
|
|
@@ -85,7 +85,7 @@ function R(t) {
|
|
|
85
85
|
const r = e.getAttribute("aria-activedescendant");
|
|
86
86
|
return r ? r === t.id : !1;
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function Vt(t) {
|
|
89
89
|
const e = E(t);
|
|
90
90
|
if (!e) return !1;
|
|
91
91
|
if (lt(t, e)) return !0;
|
|
@@ -93,7 +93,7 @@ function Pt(t) {
|
|
|
93
93
|
return !r || !("id" in t) ? !1 : r === t.id ? !0 : !!t.querySelector(`#${CSS.escape(r)}`);
|
|
94
94
|
}
|
|
95
95
|
function St(t) {
|
|
96
|
-
!
|
|
96
|
+
!Vt(t) && m(t) && t.focus();
|
|
97
97
|
}
|
|
98
98
|
function kt(t) {
|
|
99
99
|
var e;
|
|
@@ -131,12 +131,12 @@ var Kt = "div", N = gt(), Mt = [
|
|
|
131
131
|
"time",
|
|
132
132
|
"datetime",
|
|
133
133
|
"datetime-local"
|
|
134
|
-
],
|
|
134
|
+
], U = Symbol("safariFocusAncestor");
|
|
135
135
|
function Jt(t) {
|
|
136
|
-
return t ? !!t[
|
|
136
|
+
return t ? !!t[U] : !1;
|
|
137
137
|
}
|
|
138
138
|
function G(t, e) {
|
|
139
|
-
t && (t[
|
|
139
|
+
t && (t[U] = e);
|
|
140
140
|
}
|
|
141
141
|
function _t(t) {
|
|
142
142
|
const { tagName: e, readOnly: r, type: n } = t;
|
|
@@ -145,7 +145,7 @@ function _t(t) {
|
|
|
145
145
|
function Lt(t) {
|
|
146
146
|
return "labels" in t ? t.labels : null;
|
|
147
147
|
}
|
|
148
|
-
function
|
|
148
|
+
function W(t) {
|
|
149
149
|
return t.tagName.toLowerCase() === "input" && t.type ? t.type === "radio" || t.type === "checkbox" : !1;
|
|
150
150
|
}
|
|
151
151
|
function Bt(t) {
|
|
@@ -189,7 +189,7 @@ var Gt = bt(
|
|
|
189
189
|
}, [n]), N && A(() => {
|
|
190
190
|
if (!n) return;
|
|
191
191
|
const s = l.current;
|
|
192
|
-
if (!s || !
|
|
192
|
+
if (!s || !W(s)) return;
|
|
193
193
|
const u = Lt(s);
|
|
194
194
|
if (!u) return;
|
|
195
195
|
const c = () => queueMicrotask(() => s.focus());
|
|
@@ -218,34 +218,34 @@ var Gt = bt(
|
|
|
218
218
|
), H = w(
|
|
219
219
|
a.onMouseDownCapture,
|
|
220
220
|
b
|
|
221
|
-
), X = w(a.onClickCapture, b),
|
|
222
|
-
if (
|
|
221
|
+
), X = w(a.onClickCapture, b), P = a.onMouseDown, Z = F((s) => {
|
|
222
|
+
if (P == null || P(s), s.defaultPrevented || !n) return;
|
|
223
223
|
const u = s.currentTarget;
|
|
224
|
-
if (!N || vt(s) || !yt(u) && !
|
|
224
|
+
if (!N || vt(s) || !yt(u) && !W(u)) return;
|
|
225
225
|
let c = !1;
|
|
226
226
|
const y = () => {
|
|
227
227
|
c = !0;
|
|
228
228
|
}, nt = { capture: !0, once: !0 };
|
|
229
229
|
u.addEventListener("focusin", y, nt);
|
|
230
|
-
const L =
|
|
230
|
+
const L = Pt(u.parentElement);
|
|
231
231
|
G(L, !0), T(u, "mouseup", () => {
|
|
232
232
|
u.removeEventListener("focusin", y, !0), G(L, !1), !c && St(u);
|
|
233
233
|
});
|
|
234
|
-
}),
|
|
234
|
+
}), V = (s, u) => {
|
|
235
235
|
if (u && (s.currentTarget = u), !n) return;
|
|
236
236
|
const c = s.currentTarget;
|
|
237
237
|
c && R(c) && (f == null || f(s), !s.defaultPrevented && (c.dataset.focusVisible = "true", v(!0)));
|
|
238
238
|
}, S = a.onKeyDownCapture, z = F((s) => {
|
|
239
239
|
if (S == null || S(s), s.defaultPrevented || !n || p || s.metaKey || s.altKey || s.ctrlKey || !O(s)) return;
|
|
240
240
|
const u = s.currentTarget;
|
|
241
|
-
T(u, "focusout", () =>
|
|
241
|
+
T(u, "focusout", () => V(s, u));
|
|
242
242
|
}), k = a.onFocusCapture, J = F((s) => {
|
|
243
243
|
if (k == null || k(s), s.defaultPrevented || !n) return;
|
|
244
244
|
if (!O(s)) {
|
|
245
245
|
v(!1);
|
|
246
246
|
return;
|
|
247
247
|
}
|
|
248
|
-
const u = s.currentTarget, c = () =>
|
|
248
|
+
const u = s.currentTarget, c = () => V(s, u);
|
|
249
249
|
D || _t(s.target) ? T(s.target, "focusout", c) : v(!1);
|
|
250
250
|
}), K = a.onBlur, Q = F((s) => {
|
|
251
251
|
K == null || K(s), n && Ft(s) && (s.currentTarget.removeAttribute("data-focus-visible"), v(!1));
|
|
@@ -286,8 +286,8 @@ var Gt = bt(
|
|
|
286
286
|
});
|
|
287
287
|
export {
|
|
288
288
|
wt as F,
|
|
289
|
-
|
|
290
|
-
|
|
289
|
+
Vt as a,
|
|
290
|
+
Pt as b,
|
|
291
291
|
$t as c,
|
|
292
292
|
Ht as d,
|
|
293
293
|
Xt as e,
|
|
@@ -295,7 +295,7 @@ export {
|
|
|
295
295
|
I as g,
|
|
296
296
|
R as h,
|
|
297
297
|
Jt as i,
|
|
298
|
-
|
|
298
|
+
Ut as j,
|
|
299
299
|
m as k,
|
|
300
300
|
St as l,
|
|
301
301
|
Qt as m,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d } from "./P7GR5CS5-
|
|
2
|
-
import { c as p, E as I, _, q as v, m as C, n as g, o as R, r as h, f as x, a as E } from "./LMDWO4NN-
|
|
1
|
+
import { d } from "./P7GR5CS5-bOyAbBNR.js";
|
|
2
|
+
import { c as p, E as I, _, q as v, m as C, n as g, o as R, r as h, f as x, a as E } from "./LMDWO4NN-ZnclRjpA.js";
|
|
3
3
|
import { useRef as b, useEffect as P } from "react";
|
|
4
4
|
var V = "div", j = p(
|
|
5
5
|
function(o) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { e as C, C as x } from "./P7GR5CS5-
|
|
3
|
-
import { J as a } from "./LMDWO4NN-
|
|
1
|
+
import { a as t, P as r } from "./MTZPJQMC-CNgogsHX.js";
|
|
2
|
+
import { e as C, C as x } from "./P7GR5CS5-bOyAbBNR.js";
|
|
3
|
+
import { J as a } from "./LMDWO4NN-ZnclRjpA.js";
|
|
4
4
|
import { createContext as e } from "react";
|
|
5
5
|
var i = e(
|
|
6
6
|
void 0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
import { a as
|
|
3
|
-
import { c as
|
|
1
|
+
import { d as K } from "./5VQZOHHZ-DADExXg7.js";
|
|
2
|
+
import { a as S } from "./P7GR5CS5-bOyAbBNR.js";
|
|
3
|
+
import { c as k, _ as E, i as v, e as L, D as P, K as N, m as O, o as R, r as V, k as W, h as $, L as j, f as q, a as z } from "./LMDWO4NN-ZnclRjpA.js";
|
|
4
4
|
import { useRef as A } from "react";
|
|
5
5
|
var B = "div", s = "";
|
|
6
6
|
function d() {
|
|
@@ -30,19 +30,19 @@ function l(e, t) {
|
|
|
30
30
|
function U(e, t, r) {
|
|
31
31
|
if (!r) return e;
|
|
32
32
|
const o = e.find((a) => a.id === r);
|
|
33
|
-
return !o || !l(o, t) || s !== t && l(o, s) ? e : (s = t,
|
|
33
|
+
return !o || !l(o, t) || s !== t && l(o, s) ? e : (s = t, K(
|
|
34
34
|
e.filter((a) => l(a, s)),
|
|
35
35
|
r
|
|
36
36
|
).filter((a) => a.id !== r));
|
|
37
37
|
}
|
|
38
|
-
var G =
|
|
39
|
-
var r = t, { store: o, typeahead: a = !0 } = r, f =
|
|
40
|
-
const T =
|
|
38
|
+
var G = k(function(t) {
|
|
39
|
+
var r = t, { store: o, typeahead: a = !0 } = r, f = E(r, ["store", "typeahead"]);
|
|
40
|
+
const T = S();
|
|
41
41
|
o = o || T, v(
|
|
42
42
|
o,
|
|
43
43
|
process.env.NODE_ENV !== "production" && "CompositeTypeahead must be a Composite component"
|
|
44
44
|
);
|
|
45
|
-
const c = f.onKeyDownCapture, m = A(0), b =
|
|
45
|
+
const c = f.onKeyDownCapture, m = A(0), b = L((i) => {
|
|
46
46
|
if (c == null || c(i), i.defaultPrevented || !a || !o) return;
|
|
47
47
|
if (!F(i))
|
|
48
48
|
return d();
|
|
@@ -50,12 +50,12 @@ var G = E(function(t) {
|
|
|
50
50
|
let u = M(
|
|
51
51
|
h.length > p.length ? h : p
|
|
52
52
|
);
|
|
53
|
-
const D =
|
|
53
|
+
const D = P(i.currentTarget), I = `[data-offscreen-id="${_}"]`, y = D.querySelectorAll(I);
|
|
54
54
|
for (const n of y) {
|
|
55
55
|
const x = n.ariaDisabled === "true" || "disabled" in n && !!n.disabled;
|
|
56
56
|
u.push({ id: n.id, element: n, disabled: x });
|
|
57
57
|
}
|
|
58
|
-
if (y.length && (u =
|
|
58
|
+
if (y.length && (u = N(u, (n) => n.element)), !H(i, u)) return d();
|
|
59
59
|
i.preventDefault(), window.clearTimeout(m.current), m.current = window.setTimeout(() => {
|
|
60
60
|
s = "";
|
|
61
61
|
}, 500);
|
|
@@ -64,7 +64,7 @@ var G = E(function(t) {
|
|
|
64
64
|
const C = u.find((n) => l(n, s));
|
|
65
65
|
C ? o.move(C.id) : d();
|
|
66
66
|
});
|
|
67
|
-
return f =
|
|
67
|
+
return f = O(R({}, f), {
|
|
68
68
|
onKeyDownCapture: b
|
|
69
69
|
}), V(f);
|
|
70
70
|
}), Z = q(function(t) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { c as x, d as k } from "./RS7LB2H4-
|
|
2
|
-
import { u as _ } from "./F5MUBM3I-
|
|
3
|
-
import { f as l, c as u, a as d, _ as m, e as b, m as f, o as c,
|
|
4
|
-
import { useMemo as v, useRef as
|
|
5
|
-
import { jsxs as
|
|
6
|
-
import { H as
|
|
7
|
-
var
|
|
1
|
+
import { c as x, d as k } from "./RS7LB2H4-BpSl1D2T.js";
|
|
2
|
+
import { u as _ } from "./F5MUBM3I-D6cacg-c.js";
|
|
3
|
+
import { f as l, c as u, a as d, _ as m, e as b, m as f, o as c, T as C, n as y, q as N, b as P } from "./LMDWO4NN-ZnclRjpA.js";
|
|
4
|
+
import { useMemo as v, useRef as T, useContext as p } from "react";
|
|
5
|
+
import { jsxs as j, jsx as r } from "react/jsx-runtime";
|
|
6
|
+
import { H as E } from "./G7GW6PWC-C6qSYISF.js";
|
|
7
|
+
var R = "button", $ = u(
|
|
8
8
|
function(s) {
|
|
9
9
|
var o = s, { store: n } = o, e = m(o, ["store"]);
|
|
10
10
|
const a = x();
|
|
@@ -12,7 +12,7 @@ var T = "button", $ = u(
|
|
|
12
12
|
const i = e.onClick, h = b((g) => {
|
|
13
13
|
i == null || i(g), !g.defaultPrevented && (n == null || n.hide());
|
|
14
14
|
}), H = v(
|
|
15
|
-
() => /* @__PURE__ */
|
|
15
|
+
() => /* @__PURE__ */ j(
|
|
16
16
|
"svg",
|
|
17
17
|
{
|
|
18
18
|
"aria-label": "Dismiss popup",
|
|
@@ -40,12 +40,12 @@ var T = "button", $ = u(
|
|
|
40
40
|
onClick: h
|
|
41
41
|
}), e = _(e), e;
|
|
42
42
|
}
|
|
43
|
-
),
|
|
43
|
+
), z = l(function(s) {
|
|
44
44
|
const o = $(s);
|
|
45
|
-
return d(
|
|
45
|
+
return d(R, o);
|
|
46
46
|
}), w = "h1", D = u(
|
|
47
47
|
function(s) {
|
|
48
|
-
const o =
|
|
48
|
+
const o = T(null), n = p(E) || 1, e = `h${n}`, a = C(o, e), i = v(
|
|
49
49
|
() => !!a && /^h\d$/.test(a),
|
|
50
50
|
[a]
|
|
51
51
|
);
|
|
@@ -57,7 +57,7 @@ var T = "button", $ = u(
|
|
|
57
57
|
ref: y(o, s.ref)
|
|
58
58
|
}), s;
|
|
59
59
|
}
|
|
60
|
-
),
|
|
60
|
+
), A = l(function(s) {
|
|
61
61
|
const o = D(s);
|
|
62
62
|
return d(w, o);
|
|
63
63
|
}), L = "h1", B = u(
|
|
@@ -68,14 +68,14 @@ var T = "button", $ = u(
|
|
|
68
68
|
id: i
|
|
69
69
|
}, e), e = D(e), e;
|
|
70
70
|
}
|
|
71
|
-
),
|
|
71
|
+
), F = l(function(s) {
|
|
72
72
|
const o = B(s);
|
|
73
73
|
return d(L, o);
|
|
74
74
|
});
|
|
75
75
|
export {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
76
|
+
F as D,
|
|
77
|
+
A as H,
|
|
78
|
+
z as a,
|
|
79
79
|
B as b,
|
|
80
80
|
$ as u
|
|
81
81
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as s, _ as n, o as p, f as i, a as m, i as _, m as f } from "./LMDWO4NN-
|
|
2
|
-
import { a as l } from "./P7GR5CS5-
|
|
1
|
+
import { c as s, _ as n, o as p, f as i, a as m, i as _, m as f } from "./LMDWO4NN-ZnclRjpA.js";
|
|
2
|
+
import { a as l } from "./P7GR5CS5-bOyAbBNR.js";
|
|
3
3
|
var C = "hr", u = s(
|
|
4
4
|
function(r) {
|
|
5
5
|
var o = r, { orientation: t = "horizontal" } = o, a = n(o, ["orientation"]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as h } from "./P7GR5CS5-
|
|
2
|
-
import { c as C, _ as O, i as P,
|
|
3
|
-
import { a as S, h as V } from "./PFRGBC2K-
|
|
1
|
+
import { a as h } from "./P7GR5CS5-bOyAbBNR.js";
|
|
2
|
+
import { c as C, _ as O, i as P, M as T, j as d, e as m, m as N, n as I, o as w, r as x, N as y, O as L, s as A, f as D, a as R } from "./LMDWO4NN-ZnclRjpA.js";
|
|
3
|
+
import { a as S, h as V } from "./PFRGBC2K-BS9YO5-Q.js";
|
|
4
4
|
import { useCallback as j } from "react";
|
|
5
5
|
var k = "div";
|
|
6
6
|
function p(t) {
|
|
@@ -9,19 +9,19 @@ function p(t) {
|
|
|
9
9
|
}
|
|
10
10
|
function F(t) {
|
|
11
11
|
const e = p(t);
|
|
12
|
-
return e ?
|
|
12
|
+
return e ? y(t.currentTarget, e) : !1;
|
|
13
13
|
}
|
|
14
14
|
var a = Symbol("composite-hover");
|
|
15
15
|
function B(t) {
|
|
16
16
|
let e = p(t);
|
|
17
17
|
if (!e) return !1;
|
|
18
18
|
do {
|
|
19
|
-
if (
|
|
19
|
+
if (L(e, a) && e[a]) return !0;
|
|
20
20
|
e = e.parentElement;
|
|
21
21
|
} while (e);
|
|
22
22
|
return !1;
|
|
23
23
|
}
|
|
24
|
-
var
|
|
24
|
+
var U = C(
|
|
25
25
|
function(e) {
|
|
26
26
|
var u = e, {
|
|
27
27
|
store: r,
|
|
@@ -51,19 +51,19 @@ var K = C(
|
|
|
51
51
|
}), _ = j((o) => {
|
|
52
52
|
o && (o[a] = !0);
|
|
53
53
|
}, []);
|
|
54
|
-
return s = N(
|
|
54
|
+
return s = N(w({}, s), {
|
|
55
55
|
ref: I(_, s.ref),
|
|
56
56
|
onMouseMove: g,
|
|
57
57
|
onMouseLeave: H
|
|
58
|
-
}),
|
|
58
|
+
}), x(s);
|
|
59
59
|
}
|
|
60
|
-
),
|
|
60
|
+
), J = A(
|
|
61
61
|
D(function(e) {
|
|
62
|
-
const u =
|
|
62
|
+
const u = U(e);
|
|
63
63
|
return R(k, u);
|
|
64
64
|
})
|
|
65
65
|
);
|
|
66
66
|
export {
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
J as C,
|
|
68
|
+
U as u
|
|
69
69
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { e as r, C as t } from "./P7GR5CS5-
|
|
2
|
-
import { J as a } from "./LMDWO4NN-
|
|
1
|
+
import { e as r, C as t } from "./P7GR5CS5-bOyAbBNR.js";
|
|
2
|
+
import { J as a } from "./LMDWO4NN-ZnclRjpA.js";
|
|
3
3
|
import { createContext as n } from "react";
|
|
4
|
-
import { H as v, a as d } from "./EM5CXX6A-
|
|
4
|
+
import { H as v, a as d } from "./EM5CXX6A-B4C-NFJy.js";
|
|
5
5
|
var e = a(
|
|
6
6
|
[t],
|
|
7
7
|
[r]
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { b as m,
|
|
2
|
-
import { c as p, _ as u, m as P, n as h, o as t, f as l, a as v, i as D, S as E, e as b, l as x } from "./LMDWO4NN-
|
|
3
|
-
import { a as N } from "./F5MUBM3I-
|
|
4
|
-
import { e as A } from "./RS7LB2H4-
|
|
1
|
+
import { b as m, a as _ } from "./MTZPJQMC-CNgogsHX.js";
|
|
2
|
+
import { c as p, _ as u, m as P, n as h, o as t, f as l, a as v, i as D, S as E, e as b, l as x } from "./LMDWO4NN-ZnclRjpA.js";
|
|
3
|
+
import { a as N } from "./F5MUBM3I-D6cacg-c.js";
|
|
4
|
+
import { e as A } from "./RS7LB2H4-BpSl1D2T.js";
|
|
5
5
|
import { jsx as C } from "react/jsx-runtime";
|
|
6
6
|
var k = "div", d = p(
|
|
7
7
|
function(s) {
|
|
8
8
|
var r = s, { store: e } = r, o = u(r, ["store"]);
|
|
9
|
-
const
|
|
10
|
-
return e = e ||
|
|
9
|
+
const n = m();
|
|
10
|
+
return e = e || n, o = P(t({}, o), {
|
|
11
11
|
ref: h(e == null ? void 0 : e.setAnchorElement, o.ref)
|
|
12
12
|
}), o;
|
|
13
13
|
}
|
|
@@ -17,8 +17,8 @@ var k = "div", d = p(
|
|
|
17
17
|
}), R = "button", f = p(
|
|
18
18
|
function(s) {
|
|
19
19
|
var r = s, { store: e } = r, o = u(r, ["store"]);
|
|
20
|
-
const
|
|
21
|
-
e = e ||
|
|
20
|
+
const n = A();
|
|
21
|
+
e = e || n, D(
|
|
22
22
|
e,
|
|
23
23
|
process.env.NODE_ENV !== "production" && "DialogDisclosure must receive a `store` prop or be wrapped in a DialogProvider component."
|
|
24
24
|
);
|
|
@@ -32,8 +32,8 @@ var k = "div", d = p(
|
|
|
32
32
|
return v(R, r);
|
|
33
33
|
}), T = "button", w = p(function(s) {
|
|
34
34
|
var r = s, { store: e } = r, o = u(r, ["store"]);
|
|
35
|
-
const
|
|
36
|
-
e = e ||
|
|
35
|
+
const n = m();
|
|
36
|
+
e = e || n, D(
|
|
37
37
|
e,
|
|
38
38
|
process.env.NODE_ENV !== "production" && "PopoverDisclosure must receive a `store` prop or be wrapped in a PopoverProvider component."
|
|
39
39
|
);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { m, o as S, t as f, c as g, s as l, d as r, e as E, f as u, b as v } from "./YV4JVR4I-
|
|
2
|
-
import {
|
|
1
|
+
import { m, o as S, t as f, c as g, s as l, d as r, e as E, f as u, b as v } from "./YV4JVR4I-BuKFdNa0.js";
|
|
2
|
+
import { U as o, V as O, W as b, X as D } from "./LMDWO4NN-ZnclRjpA.js";
|
|
3
3
|
function P(n = {}) {
|
|
4
4
|
const a = m(
|
|
5
5
|
n.store,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as u, q as c, b, o as i, r as l, f as s, a as n, _ as p, l as f } from "./LMDWO4NN-
|
|
1
|
+
import { c as u, q as c, b, o as i, r as l, f as s, a as n, _ as p, l as f } from "./LMDWO4NN-ZnclRjpA.js";
|
|
2
2
|
import { createContext as G, useContext as C, useState as L } from "react";
|
|
3
3
|
import { jsx as _ } from "react/jsx-runtime";
|
|
4
4
|
var v = G(void 0), h = "div", m = u(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as ot,
|
|
1
|
+
import { i as ot, O as A, ae as st, af as at, ag as ut, a2 as N, a5 as it, V as ct, W as ft, ab as lt, E as dt, b as K, m as St, o as C, e as pt, a4 as vt } from "./LMDWO4NN-ZnclRjpA.js";
|
|
2
2
|
import * as R from "react";
|
|
3
3
|
import Y from "react";
|
|
4
4
|
import { g as _t } from "./_commonjsHelpers-C6fGbg64.js";
|
|
@@ -6,25 +6,25 @@ function L(t, n) {
|
|
|
6
6
|
const e = t.__unstableInternals;
|
|
7
7
|
return ot(e, "Invalid store"), e[n];
|
|
8
8
|
}
|
|
9
|
-
function
|
|
9
|
+
function q(t, ...n) {
|
|
10
10
|
let e = t, f = e, r = Symbol(), o = lt;
|
|
11
11
|
const s = /* @__PURE__ */ new Set(), i = /* @__PURE__ */ new Set(), v = /* @__PURE__ */ new Set(), m = /* @__PURE__ */ new Set(), _ = /* @__PURE__ */ new Set(), a = /* @__PURE__ */ new WeakMap(), p = /* @__PURE__ */ new WeakMap(), u = (c) => (v.add(c), () => v.delete(c)), S = () => {
|
|
12
12
|
const c = s.size, d = Symbol();
|
|
13
13
|
s.add(d);
|
|
14
|
-
const
|
|
14
|
+
const g = () => {
|
|
15
15
|
s.delete(d), !s.size && o();
|
|
16
16
|
};
|
|
17
|
-
if (c) return
|
|
17
|
+
if (c) return g;
|
|
18
18
|
const y = ut(e).map(
|
|
19
|
-
(
|
|
19
|
+
(O) => N(
|
|
20
20
|
...n.map((w) => {
|
|
21
21
|
var h;
|
|
22
22
|
const V = (h = w == null ? void 0 : w.getState) == null ? void 0 : h.call(w);
|
|
23
|
-
if (V && A(V,
|
|
24
|
-
return X(w, [
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
I[
|
|
23
|
+
if (V && A(V, O))
|
|
24
|
+
return X(w, [O], (I) => {
|
|
25
|
+
B(
|
|
26
|
+
O,
|
|
27
|
+
I[O],
|
|
28
28
|
// @ts-expect-error - Not public API. This is just to prevent
|
|
29
29
|
// infinite loops.
|
|
30
30
|
!0
|
|
@@ -33,34 +33,34 @@ function M(t, ...n) {
|
|
|
33
33
|
})
|
|
34
34
|
)
|
|
35
35
|
), x = [];
|
|
36
|
-
for (const
|
|
37
|
-
x.push(
|
|
36
|
+
for (const O of v)
|
|
37
|
+
x.push(O());
|
|
38
38
|
const P = n.map(J);
|
|
39
|
-
return o = N(...y, ...x, ...P),
|
|
40
|
-
}, l = (c, d,
|
|
39
|
+
return o = N(...y, ...x, ...P), g;
|
|
40
|
+
}, l = (c, d, g = m) => (g.add(d), p.set(d, c), () => {
|
|
41
41
|
var y;
|
|
42
|
-
(y = a.get(d)) == null || y(), a.delete(d), p.delete(d),
|
|
43
|
-
}), E = (c, d) => l(c, d), b = (c, d) => (a.set(d, d(e, e)), l(c, d)), D = (c, d) => (a.set(d, d(e, f)), l(c, d, _)), tt = (c) =>
|
|
42
|
+
(y = a.get(d)) == null || y(), a.delete(d), p.delete(d), g.delete(d);
|
|
43
|
+
}), E = (c, d) => l(c, d), b = (c, d) => (a.set(d, d(e, e)), l(c, d)), D = (c, d) => (a.set(d, d(e, f)), l(c, d, _)), tt = (c) => q(at(e, c), j), et = (c) => q(st(e, c), j), nt = () => e, B = (c, d, g = !1) => {
|
|
44
44
|
var y;
|
|
45
45
|
if (!A(e, c)) return;
|
|
46
46
|
const x = it(d, e[c]);
|
|
47
47
|
if (x === e[c]) return;
|
|
48
|
-
if (!
|
|
48
|
+
if (!g)
|
|
49
49
|
for (const h of n)
|
|
50
50
|
(y = h == null ? void 0 : h.setState) == null || y.call(h, c, x);
|
|
51
51
|
const P = e;
|
|
52
52
|
e = ct(ft({}, e), { [c]: x });
|
|
53
|
-
const
|
|
54
|
-
r =
|
|
53
|
+
const O = Symbol();
|
|
54
|
+
r = O, i.add(c);
|
|
55
55
|
const w = (h, V, I) => {
|
|
56
|
-
var
|
|
56
|
+
var M;
|
|
57
57
|
const $ = p.get(h), rt = (H) => I ? I.has(H) : H === c;
|
|
58
|
-
(!$ || $.some(rt)) && ((
|
|
58
|
+
(!$ || $.some(rt)) && ((M = a.get(h)) == null || M(), a.set(h, h(e, V)));
|
|
59
59
|
};
|
|
60
60
|
for (const h of m)
|
|
61
61
|
w(h, P);
|
|
62
62
|
queueMicrotask(() => {
|
|
63
|
-
if (r !==
|
|
63
|
+
if (r !== O) return;
|
|
64
64
|
const h = e;
|
|
65
65
|
for (const V of _)
|
|
66
66
|
w(V, f, i);
|
|
@@ -68,7 +68,7 @@ function M(t, ...n) {
|
|
|
68
68
|
});
|
|
69
69
|
}, j = {
|
|
70
70
|
getState: nt,
|
|
71
|
-
setState:
|
|
71
|
+
setState: B,
|
|
72
72
|
__unstableInternals: {
|
|
73
73
|
setup: u,
|
|
74
74
|
init: S,
|
|
@@ -114,7 +114,7 @@ function Dt(...t) {
|
|
|
114
114
|
var o;
|
|
115
115
|
const s = (o = r == null ? void 0 : r.getState) == null ? void 0 : o.call(r);
|
|
116
116
|
return s ? Object.assign(f, s) : f;
|
|
117
|
-
}, {}), e =
|
|
117
|
+
}, {}), e = q(n, ...t);
|
|
118
118
|
return Object.assign({}, ...t, e);
|
|
119
119
|
}
|
|
120
120
|
function It(t, n) {
|
|
@@ -265,9 +265,9 @@ var F;
|
|
|
265
265
|
function bt() {
|
|
266
266
|
return F || (F = 1, process.env.NODE_ENV === "production" ? T.exports = mt() : T.exports = Et()), T.exports;
|
|
267
267
|
}
|
|
268
|
-
var
|
|
269
|
-
const
|
|
270
|
-
var { useSyncExternalStore: Z } =
|
|
268
|
+
var Ot = bt();
|
|
269
|
+
const gt = /* @__PURE__ */ _t(Ot);
|
|
270
|
+
var { useSyncExternalStore: Z } = gt, k = () => () => {
|
|
271
271
|
};
|
|
272
272
|
function yt(t, n = dt) {
|
|
273
273
|
const e = R.useCallback(
|
|
@@ -336,7 +336,7 @@ function jt(t, n) {
|
|
|
336
336
|
export {
|
|
337
337
|
yt as a,
|
|
338
338
|
jt as b,
|
|
339
|
-
|
|
339
|
+
q as c,
|
|
340
340
|
X as d,
|
|
341
341
|
Q as e,
|
|
342
342
|
Ct as f,
|
package/dist/assets/button.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.component-button{--button__bg: var(--blockout__colours__primary--500);--button__bg--hover: var(--blockout__colours__primary--600);--button__text: var(--blockout__colours__surface--50);--button__text--hover: var(--blockout__colours__surface--50);--button__icon: var(--blockout__colours__surface--50);--button__icon--hover: var(--blockout__colours__surface--50);--button__padding--y: .75rem;--button__padding--x: 1.25rem;--button__gap: 1rem;--button__font-size: 1rem;display:flex;align-items:center;justify-content:center;gap:var(--button__gap);padding:var(--button__padding--y) var(--button__padding--x);font-size:var(--button__font-size);min-height:40px;width:fit-content;background-color:var(--button__bg);border:1px solid var(--button__border);border-radius:var(--blockout__radius--md);color:var(--button__text);cursor:pointer;outline:0px solid transparent;outline-offset:0px;transition:background-color .25s ease,outline .25s ease,outline-offset .25s ease,border-color .25s ease,color .25s ease,box-shadow .25s ease}.component-button>svg{width:calc(1.375 * var(--button__font-size));height:calc(1.375 * var(--button__font-size));color:var(--button__icon);fill:var(--button__icon);transition:fill .25s ease,color .25s ease}.component-button:hover{background-color:var(--button__bg--hover);border-color:var(--button__border--hover);color:var(--button__text--hover)}.component-button:focus{background-color:var(--button__bg--hover);color:var(--button__text--hover);outline:1px solid var(--blockout__colours__outline);outline-offset:4px}.component-button:hover>svg{color:var(--button__icon--hover);fill:var(--button__icon--hover)}.component-button:active{outline-offset:3px}.component-button[aria-pressed=true]{background-color:var(--button__bg--pressed);border-color:var(--button__border--pressed);color:var(--button__text--pressed);box-shadow:inset 0 .25rem .5rem #00000040}.component-button[aria-pressed=true]>svg{color:var(--button__icon--pressed);fill:var(--button__icon--pressed)}.component-button[aria-busy=true]{background-image:repeating-linear-gradient(-45deg,var(--button__bg),var(--button__bg) 1rem,var(--button__bg--hover) 1rem,var(--button__bg--hover) 2rem);background-size:200% 200%;animation:component-button__busy 15s linear infinite}@keyframes component-button__busy{0%{background-position:100% 100%}}.component-button:disabled:not([aria-busy=true]){opacity:.5;cursor:default;--button__border--hover: var(--button__border);--button__bg--hover: var(--button__bg);--button__text--hover: var(--button__text);--button__icon: var(--button__text);--button__icon--hover: var(--button__text)}.component-button--wide{width:100%}.component-button--icon{aspect-ratio:1/1;height:fit-content;width:auto;padding:var(--button__padding--y)}.component-button--icon>svg{color:var(--button__text);fill:var(--button__text)}.component-button--icon:hover>svg{color:var(--button__text--hover);fill:var(--button__text--hover)}.component-button--icon[aria-pressed=true]>svg{color:var(--button__text--pressed);fill:var(--button__text--pressed)}.component-button--primary{--button__bg: var(--blockout__colours__primary--500);--button__bg--hover: var(--blockout__colours__primary--400);--button__bg--pressed: var(--blockout__colours__primary--400);--button__text: var(--blockout__colours__surface--950);--button__text--hover: var(--blockout__colours__surface--950);--button__text--pressed: var(--blockout__colours__surface--950);--button__icon: var(--blockout__colours__primary--200);--button__icon--hover: var(--blockout__colours__primary--200);--button__icon--pressed: var(--blockout__colours__primary--200)}.component-button--neutral{--button__bg: var(--blockout__colours__surface--950);--button__bg--hover: var(--blockout__colours__surface--800);--button__bg--pressed: var(--blockout__colours__surface--950);--button__text: var(--blockout__colours__surface--50);--button__text--hover: var(--blockout__colours__surface--50);--button__text--pressed: var(--blockout__colours__surface--50);--button__icon: var(--blockout__colours__primary--500);--button__icon--hover: var(--blockout__colours__primary--500);--button__icon--pressed: var(--blockout__colours__primary--500)}.component-button--quiet{--button__border: var(--blockout__colours__surface--300);--button__border--hover: var(--blockout__colours__surface--100);--button__border--pressed: var(--blockout__colours__surface--950);--button__bg: var(--blockout__colours__surface--0);--button__bg--hover: var(--blockout__colours__surface--100);--button__bg--pressed: var(--blockout__colours__surface--950);--button__text: var(--blockout__colours__surface--950);--button__text--hover: var(--blockout__colours__surface--950);--button__text--pressed: var(--blockout__colours__surface--50);--button__icon: var(--blockout__colours__primary--500);--button__icon--hover: var(--blockout__colours__primary--500);--button__icon--pressed: var(--blockout__colours__primary--500)}.component-button--ghost{--button__bg: transparent;--button__bg--hover: var(--blockout__colours__surface--100);--button__bg--pressed: var(--blockout__colours__surface--950);--button__text: var(--blockout__colours__surface--950);--button__text--hover: var(--blockout__colours__surface--950);--button__text--pressed: var(--blockout__colours__surface--50);--button__icon: var(--blockout__colours__surface--950);--button__icon--hover: var(--blockout__colours__primary--950);--button__icon--pressed: var(--blockout__colours__primary--50)}.component-button--small{--button__padding--y: .675rem;--button__padding--x: .875rem;--button__gap: .625rem;--button__font-size: .875rem;border-radius:var(--blockout__radius--sm);min-height:2rem}.component-button--medium{--button__padding--y: .75rem;--button__padding--x: 1.25rem;--button__gap: 1rem;--button__font-size: 1rem;border-radius:var(--blockout__radius--md)}.component-button--large{--button__padding--y: 1rem;--button__padding--x: 1.5rem;--button__gap: 1.25rem;--button__font-size: 1.25rem;border-radius:var(--blockout__radius--lg)}.component-button-row__row{display:flex;flex-wrap:wrap;gap:.5rem}
|
|
1
|
+
.component-button{--button__bg: var(--blockout__colours__primary--500);--button__bg--hover: var(--blockout__colours__primary--600);--button__text: var(--blockout__colours__surface--50);--button__text--hover: var(--blockout__colours__surface--50);--button__icon: var(--blockout__colours__surface--50);--button__icon--hover: var(--blockout__colours__surface--50);--button__padding--y: .75rem;--button__padding--x: 1.25rem;--button__gap: 1rem;--button__font-size: 1rem;display:flex;align-items:center;justify-content:center;gap:var(--button__gap);padding:var(--button__padding--y) var(--button__padding--x);font-size:var(--button__font-size);min-height:40px;width:fit-content;background-color:var(--button__bg);border:1px solid var(--button__border);border-radius:var(--blockout__radius--md);color:var(--button__text);cursor:pointer;outline:0px solid transparent;outline-offset:0px;transition:background-color .25s ease,outline .25s ease,outline-offset .25s ease,border-color .25s ease,color .25s ease,box-shadow .25s ease}.component-button>svg{width:calc(1.375 * var(--button__font-size));height:calc(1.375 * var(--button__font-size));color:var(--button__icon);fill:var(--button__icon);transition:fill .25s ease,color .25s ease}.component-button:hover{background-color:var(--button__bg--hover);border-color:var(--button__border--hover);color:var(--button__text--hover)}.component-button:focus-visible{background-color:var(--button__bg--hover);color:var(--button__text--hover);outline:1px solid var(--blockout__colours__outline);outline-offset:4px}.component-button:hover>svg{color:var(--button__icon--hover);fill:var(--button__icon--hover)}.component-button:active{outline-offset:3px}.component-button[aria-pressed=true]{background-color:var(--button__bg--pressed);border-color:var(--button__border--pressed);color:var(--button__text--pressed);box-shadow:inset 0 .25rem .5rem #00000040}.component-button[aria-pressed=true]>svg{color:var(--button__icon--pressed);fill:var(--button__icon--pressed)}.component-button[aria-busy=true]{background-image:repeating-linear-gradient(-45deg,var(--button__bg),var(--button__bg) 1rem,var(--button__bg--hover) 1rem,var(--button__bg--hover) 2rem);background-size:200% 200%;animation:component-button__busy 15s linear infinite}@keyframes component-button__busy{0%{background-position:100% 100%}}.component-button:disabled:not([aria-busy=true]){opacity:.5;cursor:default;--button__border--hover: var(--button__border);--button__bg--hover: var(--button__bg);--button__text--hover: var(--button__text);--button__icon: var(--button__text);--button__icon--hover: var(--button__text)}.component-button--wide{width:100%}.component-button--icon{aspect-ratio:1/1;height:fit-content;width:auto;padding:var(--button__padding--y)}.component-button--icon>svg{color:var(--button__text);fill:var(--button__text)}.component-button--icon:hover>svg{color:var(--button__text--hover);fill:var(--button__text--hover)}.component-button--icon[aria-pressed=true]>svg{color:var(--button__text--pressed);fill:var(--button__text--pressed)}.component-button--primary{--button__bg: var(--blockout__colours__primary--500);--button__bg--hover: var(--blockout__colours__primary--400);--button__bg--pressed: var(--blockout__colours__primary--400);--button__text: var(--blockout__colours__surface--950);--button__text--hover: var(--blockout__colours__surface--950);--button__text--pressed: var(--blockout__colours__surface--950);--button__icon: var(--blockout__colours__primary--200);--button__icon--hover: var(--blockout__colours__primary--200);--button__icon--pressed: var(--blockout__colours__primary--200)}.component-button--neutral{--button__bg: var(--blockout__colours__surface--950);--button__bg--hover: var(--blockout__colours__surface--800);--button__bg--pressed: var(--blockout__colours__surface--950);--button__text: var(--blockout__colours__surface--50);--button__text--hover: var(--blockout__colours__surface--50);--button__text--pressed: var(--blockout__colours__surface--50);--button__icon: var(--blockout__colours__primary--500);--button__icon--hover: var(--blockout__colours__primary--500);--button__icon--pressed: var(--blockout__colours__primary--500)}.component-button--quiet{--button__border: var(--blockout__colours__surface--300);--button__border--hover: var(--blockout__colours__surface--100);--button__border--pressed: var(--blockout__colours__surface--950);--button__bg: var(--blockout__colours__surface--0);--button__bg--hover: var(--blockout__colours__surface--100);--button__bg--pressed: var(--blockout__colours__surface--950);--button__text: var(--blockout__colours__surface--950);--button__text--hover: var(--blockout__colours__surface--950);--button__text--pressed: var(--blockout__colours__surface--50);--button__icon: var(--blockout__colours__primary--500);--button__icon--hover: var(--blockout__colours__primary--500);--button__icon--pressed: var(--blockout__colours__primary--500)}.component-button--ghost{--button__bg: transparent;--button__bg--hover: var(--blockout__colours__surface--100);--button__bg--pressed: var(--blockout__colours__surface--950);--button__text: var(--blockout__colours__surface--950);--button__text--hover: var(--blockout__colours__surface--950);--button__text--pressed: var(--blockout__colours__surface--50);--button__icon: var(--blockout__colours__surface--950);--button__icon--hover: var(--blockout__colours__primary--950);--button__icon--pressed: var(--blockout__colours__primary--50)}.component-button--small{--button__padding--y: .675rem;--button__padding--x: .875rem;--button__gap: .625rem;--button__font-size: .875rem;border-radius:var(--blockout__radius--sm);min-height:2rem}.component-button--medium{--button__padding--y: .75rem;--button__padding--x: 1.25rem;--button__gap: 1rem;--button__font-size: 1rem;border-radius:var(--blockout__radius--md)}.component-button--large{--button__padding--y: 1rem;--button__padding--x: 1.5rem;--button__gap: 1.25rem;--button__font-size: 1.25rem;border-radius:var(--blockout__radius--lg)}.component-button-row__row{display:flex;flex-wrap:wrap;gap:.5rem}
|
package/dist/assets/index14.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.primitive-popover__window__wrapper{z-index:9999!important}.primitive-popover__window{background-color:var(--blockout__colours__surface--200);border:1px solid var(--blockout__colours__surface--300);border-radius:var(--blockout__radius--lg);box-shadow:0 .175rem .375rem #0000001a;max-height:var(--popover-available-height)}.primitive-popover__window__scoll-area .primitive-scroll-area__viewport{padding:.5rem;min-height:var(--base-control__min-height);min-width:calc(var(--popover-anchor-width) + 2px);max-height:var(--popover-available-height)}.primitive-popover__window--edgeless .primitive-popover__window__scoll-area{padding:0}
|
|
1
|
+
.primitive-popover__window__wrapper{z-index:9999!important}.primitive-popover__window{background-color:var(--blockout__colours__surface--200);border:1px solid var(--blockout__colours__surface--300);border-radius:var(--blockout__radius--lg);box-shadow:0 .175rem .375rem #0000001a;max-height:var(--popover-available-height)}.primitive-popover__window__scoll-area .primitive-scroll-area__viewport{padding:.5rem;min-height:var(--base-control__min-height);min-width:calc(var(--popover-anchor-width) + 2px);max-height:var(--popover-available-height)}.primitive-popover__window--edgeless .primitive-popover__window__scoll-area .primitive-scroll-area__viewport{padding:0}
|
package/dist/assets/index19.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.data-view-part-controls__wrapper{display:flex;flex-direction:column;gap:1rem}.data-view-part-controls{display:flex;align-items:center;flex-wrap:wrap;gap:.75rem}.data-view-part-controls__search{width:20rem}.data-view-part-controls__search__clear{align-self:center;margin-right:.5rem}.data-view-part-controls__order,.data-view-part-controls__view{--button__icon: var(--blockout__colours__surface--500);--button__icon--hover: var(--blockout__colours__surface--500)}.data-view-part-controls__view__control{padding:.75rem}.data-view-part-controls__children{margin-left:auto}
|
package/dist/assets/index20.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.component-view-control{display:flex;flex-direction:column;gap:1.5rem}.component-view-control__row{display:flex;gap:1rem;align-items:end}.component-view-control__row__grow{flex-grow:1}
|
package/dist/assets/index21.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.primitive-scroll-area,.primitive-scroll-area__viewport{width:100%;height:100%}.primitive-scroll-area__viewport>div{display:block!important;min-width:initial!important}.primitive-scroll-area__bar{display:flex;-webkit-user-select:none;user-select:none;touch-action:none;padding:.25rem;transition:background .16s ease-out;z-index:200}.primitive-scroll-area__bar[data-orientation=vertical]{width:.75rem}.primitive-scroll-area__bar[data-orientation=horizontal]{flex-direction:column;height:.75rem}.primitive-scroll-area__thumb{flex:1;background:var(--blockout__colours__surface--300);border-radius:.75rem;position:relative}.primitive-scroll-area__bar[data-orientation=vertical] .primitive-scroll-area__thumb{width:100%}.primitive-scroll-area__bar[data-orientation=horizontal] .primitive-scroll-area__thumb{height:100%}.primitive-scroll-area__thumb:before{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-width:44px;min-height:44px}.primitive-scroll-area__thumb:hover{background:var(--blockout__colours__surface--950)}
|