@wrdagency/blockout 1.0.27 → 1.0.30
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-M2oB5mLz.js → 2NBKRL7C-DBbnghCe.js} +16 -16
- package/dist/{2RSXSRCN-BtBMZ8Lx.js → 2RSXSRCN-BxQ_v-Je.js} +15 -15
- package/dist/{4CMBR7SL-C-0Aig1V.js → 4CMBR7SL-DezfZPUS.js} +18 -18
- package/dist/{5JTVDSTH-BOGL3M3F.js → 5JTVDSTH-CZ7mfyUK.js} +4 -4
- package/dist/{5VQZOHHZ-DADExXg7.js → 5VQZOHHZ-DLX-ulBK.js} +1 -1
- package/dist/{6VRAQV3D-pTuMqsWW.js → 6VRAQV3D-BYmT0QTl.js} +6 -6
- package/dist/{A3WPL2ZJ-BiXYGxnE.js → A3WPL2ZJ-24tGIJIQ.js} +2 -2
- package/dist/{BM6PGYQY-DL-j4NGc.js → BM6PGYQY-DCbkDr5N.js} +2 -2
- package/dist/{DG5U6ZEL-Bn6QlO7C.js → DG5U6ZEL-DB0iwihy.js} +3 -3
- package/dist/{EM5CXX6A-B4C-NFJy.js → EM5CXX6A-B4ZS4Hs_.js} +2 -2
- package/dist/{F5MUBM3I-D6cacg-c.js → F5MUBM3I-75qY3y0N.js} +9 -9
- package/dist/{G7GW6PWC-C6qSYISF.js → G7GW6PWC-Dk4hVbAk.js} +74 -74
- package/dist/{IWEFDH56-Da7lGcXC.js → IWEFDH56-BACkQ6dc.js} +3 -3
- package/dist/{J2LQO3EC-XUQS0UAH.js → J2LQO3EC-BXJIaM2U.js} +2 -2
- package/dist/JMHAJKUZ-D5KCN1Aj.js +114 -0
- package/dist/{KFH4SEIX-C-0wHvda.js → KFH4SEIX-DaQeP5D_.js} +3 -3
- package/dist/{LMDWO4NN-ZnclRjpA.js → LMDWO4NN-CpSMaD5G.js} +21 -21
- package/dist/MAXQOH4L-BYWBWXpb.js +459 -0
- package/dist/{MR26YJYP-CWddku_H.js → MR26YJYP-CTh6rCwA.js} +39 -39
- package/dist/{MTZPJQMC-CNgogsHX.js → MTZPJQMC-D2i4-LA_.js} +2 -2
- package/dist/{O2PQ2652-DkPiHeUQ.js → O2PQ2652-DIoegIkE.js} +3 -3
- package/dist/{P7GR5CS5-bOyAbBNR.js → P7GR5CS5-3RsPGPTy.js} +1 -1
- package/dist/{PFRGBC2K-BS9YO5-Q.js → PFRGBC2K-BdRJd-gU.js} +16 -16
- package/dist/{RS7LB2H4-BpSl1D2T.js → RS7LB2H4-COOfOq9w.js} +1 -1
- package/dist/{RZ4GPYOB-D4dwmRZg.js → RZ4GPYOB-CovncfhJ.js} +5 -5
- package/dist/{S43UC3DV-BVbmEy3J.js → S43UC3DV-HCi6u_G4.js} +8 -8
- package/dist/{T7VMP3TM-BnzhAoaO.js → T7VMP3TM-C8D6mVva.js} +21 -21
- package/dist/{TIW3GMFC-C4Bh_hzw.js → TIW3GMFC-BF0w2_9R.js} +4 -4
- package/dist/{TP7N7UIH-Bs0NX7lb.js → TP7N7UIH-C4jXJDlO.js} +2 -2
- package/dist/{UQQRIHDV-C_0T8mGy.js → UQQRIHDV-DEGlgATx.js} +8 -8
- package/dist/{UYGDZTLQ-BDhCZlZ2.js → UYGDZTLQ-HiDKLOW5.js} +2 -2
- package/dist/{VIIRIBF3-CQdc2eWO.js → VIIRIBF3-B-djNAU9.js} +3 -3
- package/dist/{WMYDSCNQ-J1-TanSP.js → WMYDSCNQ-pGjWB-Pk.js} +6 -6
- package/dist/{WYCIER3C-CABEZy1i.js → WYCIER3C-CxfgpZG_.js} +2 -2
- package/dist/{YORGHBM4-B1RRY_xR.js → YORGHBM4-D_fOXG5Y.js} +1 -1
- package/dist/{YV4JVR4I-BuKFdNa0.js → YV4JVR4I-CQnJhUSg.js} +38 -38
- package/dist/assets/button.css +1 -1
- package/dist/assets/index2.css +1 -1
- package/dist/assets/index9.css +1 -1
- package/dist/assets/static.css +1 -1
- package/dist/assets/style.css +1 -1
- package/dist/assets/style16.css +1 -1
- package/dist/assets/style25.css +1 -1
- package/dist/assets/style6.css +1 -1
- package/dist/{combobox-group-Q7OatWHm.js → combobox-group-hNvv1WJm.js} +3 -3
- package/dist/{combobox-popover-CDfaOt6J.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/row.js +4 -4
- package/dist/components/command-palette/dialog.js +2 -2
- package/dist/components/command-palette/index.js +5 -3
- 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 +4 -11
- package/dist/components/command-palette/static.js +43 -124
- package/dist/components/controls/base-popover-control/index.js +3 -3
- package/dist/components/controls/date-control/index.js +1 -1
- package/dist/components/controls/date-control/picker.js +5 -5
- package/dist/components/controls/select-control/control.js +23 -23
- package/dist/components/controls/select-control/props.d.ts +2 -2
- package/dist/components/controls/select-control/select.js +79 -67
- package/dist/components/controls/tag-control/ariakit-experimental.js +1102 -1115
- package/dist/components/controls/tag-control/index.js +8 -7
- package/dist/components/dialog/index.js +2 -2
- 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/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/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/sidebar-item.d.ts +5 -4
- package/dist/components/shell/sidebar-item.js +25 -19
- 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/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 +1 -1
- package/dist/{composite-provider-VHhinf1k.js → composite-provider-BPIeS4Cg.js} +2 -2
- package/dist/{disclosure-provider-BUQRx-hY.js → disclosure-provider-cEVysvZT.js} +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +76 -55
- package/dist/{item-PTynqLvp.js → item-CmTk8eHD.js} +2 -2
- package/dist/{menu-button-RmWWFvwE.js → menu-button-GQO5dB3U.js} +12 -12
- package/dist/{menu-separator-DgYHkDAA.js → menu-separator-Z6pSHpX5.js} +3 -3
- package/dist/{picker-DioIiYC0.js → picker-DyJogHYh.js} +4 -4
- package/dist/{popover-provider-HlPXIcud.js → popover-provider-BJEfhgr1.js} +2 -2
- 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 +25 -24
- package/dist/primitives/nav-link/index.d.ts +4 -3
- package/dist/primitives/nav-link/index.js +21 -17
- package/dist/primitives/popover/root.d.ts +2 -3
- 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/tooltip/index.d.ts +2 -0
- package/dist/primitives/tooltip/index.js +36 -24
- package/dist/select-popover-CGgkyRb4.js +559 -0
- package/dist/{select-value-3BLrBdZV.js → select-value-B3DYk9eV.js} +2 -2
- package/dist/{tab-CKUPUgQ2.js → tab-DejwS4C8.js} +4 -4
- package/dist/{tab-list-CzsRzSiN.js → tab-list-CndMWcVv.js} +3 -3
- package/dist/{tab-panel-YGzJnU1g.js → tab-panel-DedzuWUA.js} +7 -7
- package/dist/{tab-provider-CV8qTybg.js → tab-provider-B0BoLfST.js} +6 -6
- package/dist/{tag-remove-DmlHu_9b.js → tag-remove-Dz-sGbyZ.js} +24 -24
- package/dist/{toolbar-BlVhTG5v.js → toolbar-PSaF1mdF.js} +5 -5
- package/dist/{toolbar-separator-liolx0p8.js → toolbar-separator-DJHiHbGj.js} +3 -3
- package/dist/{tooltip-arrow-CjZ1x0xv.js → tooltip-arrow-BVwULA6B.js} +17 -17
- package/dist/types/options.d.ts +14 -0
- package/dist/types/options.js +44 -12
- package/dist/utils/index.d.ts +8 -0
- package/dist/utils/index.js +23 -0
- package/package.json +1 -1
- package/dist/MAXQOH4L-lpuvS1NR.js +0 -564
- package/dist/select-popover-P8y2n3bQ.js +0 -542
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { b as fe, c as me, d as q, M as pe, e as re } from "./VIIRIBF3-
|
|
2
|
-
import { u as se } from "./T7VMP3TM-
|
|
3
|
-
import { i as be } from "./KFH4SEIX-
|
|
4
|
-
import { u as ve } from "./5JTVDSTH-
|
|
5
|
-
import { m as he, o as Me, p as Se, t as we, c as ye, s as te, d as ne, b as ge, f as Ee, a as H } from "./YV4JVR4I-
|
|
6
|
-
import { Y as Oe, V as B, U as I, W as x,
|
|
1
|
+
import { b as fe, c as me, d as q, M as pe, e as re } from "./VIIRIBF3-B-djNAU9.js";
|
|
2
|
+
import { u as se } from "./T7VMP3TM-C8D6mVva.js";
|
|
3
|
+
import { i as be } from "./KFH4SEIX-DaQeP5D_.js";
|
|
4
|
+
import { u as ve } from "./5JTVDSTH-CZ7mfyUK.js";
|
|
5
|
+
import { m as he, o as Me, p as Se, t as we, c as ye, s as te, d as ne, b as ge, f as Ee, a as H } from "./YV4JVR4I-CQnJhUSg.js";
|
|
6
|
+
import { Y as Oe, V as B, U as I, W as x, ab as Pe, m as F, o as b, X as Ae, c as X, _ as N, i as Y, q as ae, e as $, l as ue, n as G, f as J, a as Q, ac as xe, C as Fe, t as _e, R as Ce, S as He } from "./LMDWO4NN-CpSMaD5G.js";
|
|
7
7
|
import { useState as ie, useEffect as le, useRef as ce, createRef as De, useMemo as ke } from "react";
|
|
8
8
|
import { jsx as j } from "react/jsx-runtime";
|
|
9
|
-
import { c as Ve, u as Ie, a as Le, b as Re } from "./MR26YJYP-
|
|
10
|
-
import { c as Te, R as Be } from "./G7GW6PWC-
|
|
11
|
-
import { a as z } from "./PFRGBC2K-
|
|
12
|
-
import { c as Ne, b as Ke } from "./4CMBR7SL-
|
|
13
|
-
import { u as Ue } from "./S43UC3DV-
|
|
14
|
-
import {
|
|
9
|
+
import { c as Ve, u as Ie, a as Le, b as Re } from "./MR26YJYP-CTh6rCwA.js";
|
|
10
|
+
import { c as Te, R as Be } from "./G7GW6PWC-Dk4hVbAk.js";
|
|
11
|
+
import { a as z } from "./PFRGBC2K-BdRJd-gU.js";
|
|
12
|
+
import { c as Ne, b as Ke } from "./4CMBR7SL-DezfZPUS.js";
|
|
13
|
+
import { u as Ue } from "./S43UC3DV-HCi6u_G4.js";
|
|
14
|
+
import { a as We } from "./WMYDSCNQ-pGjWB-Pk.js";
|
|
15
15
|
function $e(r = {}) {
|
|
16
16
|
var n = r, {
|
|
17
17
|
combobox: t,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as n } from "./VIIRIBF3-
|
|
2
|
-
import { u } from "./TP7N7UIH-
|
|
3
|
-
import { f as p, c as m, a as c, _ as f, o as i } from "./LMDWO4NN-
|
|
1
|
+
import { b as n } from "./VIIRIBF3-B-djNAU9.js";
|
|
2
|
+
import { u } from "./TP7N7UIH-C4jXJDlO.js";
|
|
3
|
+
import { f as p, c as m, a as c, _ as f, o as i } from "./LMDWO4NN-CpSMaD5G.js";
|
|
4
4
|
var M = "hr", _ = m(
|
|
5
5
|
function(e) {
|
|
6
6
|
var r = e, { store: a } = r, o = f(r, ["store"]);
|
|
@@ -8,10 +8,10 @@ import { e as G } from "./CaretRight.es-vnr78BGI.js";
|
|
|
8
8
|
import { useState as C, useEffect as Q } from "react";
|
|
9
9
|
import './assets/style11.css';/* empty css */
|
|
10
10
|
import { t as h, c as x, a as F, g as q, m as B, b as X, d as I, e as R, f as j, h as A, l as V, i as K, j as Z, k as $, w as U, s as z } from "./protectedTokens-DdjZoCxO.js";
|
|
11
|
-
import { C as J } from "./composite-provider-
|
|
12
|
-
import { C as tt } from "./5JTVDSTH-
|
|
13
|
-
import { C as et } from "./J2LQO3EC-
|
|
14
|
-
import { C as nt } from "./6VRAQV3D-
|
|
11
|
+
import { C as J } from "./composite-provider-BPIeS4Cg.js";
|
|
12
|
+
import { C as tt } from "./5JTVDSTH-CZ7mfyUK.js";
|
|
13
|
+
import { C as et } from "./J2LQO3EC-BXJIaM2U.js";
|
|
14
|
+
import { C as nt } from "./6VRAQV3D-BYmT0QTl.js";
|
|
15
15
|
function rt(n, e, t) {
|
|
16
16
|
const r = h(n, t == null ? void 0 : t.in);
|
|
17
17
|
if (isNaN(e)) return x(n, NaN);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as e } from "./O2PQ2652-
|
|
2
|
-
import { P as t } from "./MTZPJQMC-
|
|
1
|
+
import { u as e } from "./O2PQ2652-DIoegIkE.js";
|
|
2
|
+
import { P as t } from "./MTZPJQMC-D2i4-LA_.js";
|
|
3
3
|
import { jsx as i } from "react/jsx-runtime";
|
|
4
4
|
function s(o = {}) {
|
|
5
5
|
const r = e(o);
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import { jsx as l, jsxs as m } from "react/jsx-runtime";
|
|
2
|
+
import { cn as s } from "./utils/css.js";
|
|
3
|
+
import * as e from "react";
|
|
4
|
+
import { w as d } from "./SSRBase.es-BUXS72ra.js";
|
|
5
|
+
import { C as p, a as _ } from "./combobox-group-hNvv1WJm.js";
|
|
6
|
+
import { C as h } from "./JMHAJKUZ-D5KCN1Aj.js";
|
|
7
|
+
const u = /* @__PURE__ */ new Map([
|
|
8
|
+
[
|
|
9
|
+
"bold",
|
|
10
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M180,140H164V116h16a40,40,0,1,0-40-40V92H116V76a40,40,0,1,0-40,40H92v24H76a40,40,0,1,0,40,40V164h24v16a40,40,0,1,0,40-40ZM164,76a16,16,0,1,1,16,16H164ZM60,76a16,16,0,0,1,32,0V92H76A16,16,0,0,1,60,76ZM92,180a16,16,0,1,1-16-16H92Zm24-64h24v24H116Zm64,80a16,16,0,0,1-16-16V164h16a16,16,0,0,1,0,32Z" }))
|
|
11
|
+
],
|
|
12
|
+
[
|
|
13
|
+
"duotone",
|
|
14
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
15
|
+
"path",
|
|
16
|
+
{
|
|
17
|
+
d: "M208,76h0a28,28,0,0,1-28,28H152V76a28,28,0,0,1,28-28h0A28,28,0,0,1,208,76ZM76,48h0A28,28,0,0,0,48,76h0a28,28,0,0,0,28,28h28V76A28,28,0,0,0,76,48ZM180,152H152v28a28,28,0,0,0,28,28h0a28,28,0,0,0,28-28h0A28,28,0,0,0,180,152ZM48,180h0a28,28,0,0,0,28,28h0a28,28,0,0,0,28-28V152H76A28,28,0,0,0,48,180Z",
|
|
18
|
+
opacity: "0.2"
|
|
19
|
+
}
|
|
20
|
+
), /* @__PURE__ */ e.createElement("path", { d: "M180,144H160V112h20a36,36,0,1,0-36-36V96H112V76a36,36,0,1,0-36,36H96v32H76a36,36,0,1,0,36,36V160h32v20a36,36,0,1,0,36-36ZM160,76a20,20,0,1,1,20,20H160ZM56,76a20,20,0,0,1,40,0V96H76A20,20,0,0,1,56,76ZM96,180a20,20,0,1,1-20-20H96Zm16-68h32v32H112Zm68,88a20,20,0,0,1-20-20V160h20a20,20,0,0,1,0,40Z" }))
|
|
21
|
+
],
|
|
22
|
+
[
|
|
23
|
+
"fill",
|
|
24
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M116,116h24v24H116ZM86,72a14,14,0,0,0,0,28h14V86A14,14,0,0,0,86,72Zm98,14a14,14,0,0,0-28,0v14h14A14,14,0,0,0,184,86ZM72,170a14,14,0,0,0,28,0V156H86A14,14,0,0,0,72,170ZM224,48V208a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32H208A16,16,0,0,1,224,48Zm-68,92V116h14a30,30,0,1,0-30-30v14H116V86a30,30,0,1,0-30,30h14v24H86a30,30,0,1,0,30,30V156h24v14a30,30,0,1,0,30-30Zm0,30a14,14,0,1,0,14-14H156Z" }))
|
|
25
|
+
],
|
|
26
|
+
[
|
|
27
|
+
"light",
|
|
28
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M180,146H158V110h22a34,34,0,1,0-34-34V98H110V76a34,34,0,1,0-34,34H98v36H76a34,34,0,1,0,34,34V158h36v22a34,34,0,1,0,34-34ZM158,76a22,22,0,1,1,22,22H158ZM54,76a22,22,0,0,1,44,0V98H76A22,22,0,0,1,54,76ZM98,180a22,22,0,1,1-22-22H98Zm12-70h36v36H110Zm70,92a22,22,0,0,1-22-22V158h22a22,22,0,0,1,0,44Z" }))
|
|
29
|
+
],
|
|
30
|
+
[
|
|
31
|
+
"regular",
|
|
32
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M180,144H160V112h20a36,36,0,1,0-36-36V96H112V76a36,36,0,1,0-36,36H96v32H76a36,36,0,1,0,36,36V160h32v20a36,36,0,1,0,36-36ZM160,76a20,20,0,1,1,20,20H160ZM56,76a20,20,0,0,1,40,0V96H76A20,20,0,0,1,56,76ZM96,180a20,20,0,1,1-20-20H96Zm16-68h32v32H112Zm68,88a20,20,0,0,1-20-20V160h20a20,20,0,0,1,0,40Z" }))
|
|
33
|
+
],
|
|
34
|
+
[
|
|
35
|
+
"thin",
|
|
36
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M180,148H156V108h24a32,32,0,1,0-32-32v24H108V76a32,32,0,1,0-32,32h24v40H76a32,32,0,1,0,32,32V156h40v24a32,32,0,1,0,32-32ZM156,76a24,24,0,1,1,24,24H156ZM52,76a24,24,0,0,1,48,0v24H76A24,24,0,0,1,52,76Zm48,104a24,24,0,1,1-24-24h24Zm8-72h40v40H108Zm72,96a24,24,0,0,1-24-24V156h24a24,24,0,0,1,0,48Z" }))
|
|
37
|
+
]
|
|
38
|
+
]), i = e.forwardRef((a, t) => /* @__PURE__ */ e.createElement(d, { ref: t, ...a, weights: u }));
|
|
39
|
+
i.displayName = "CommandIcon";
|
|
40
|
+
const c = ({ command: a, className: t, render: n, withinGroup: r }) => {
|
|
41
|
+
if (a.children && !r)
|
|
42
|
+
return /* @__PURE__ */ l(V, { className: t, command: a });
|
|
43
|
+
const o = a.icon || i;
|
|
44
|
+
return /* @__PURE__ */ m(
|
|
45
|
+
h,
|
|
46
|
+
{
|
|
47
|
+
className: s("command-palette-preset__list", t),
|
|
48
|
+
focusOnHover: !0,
|
|
49
|
+
value: a.id,
|
|
50
|
+
setValueOnClick: !1,
|
|
51
|
+
render: n,
|
|
52
|
+
children: [
|
|
53
|
+
/* @__PURE__ */ l(o, { className: "command-palette-preset__list__icon" }),
|
|
54
|
+
/* @__PURE__ */ l("span", { className: "command-palette-preset__list__label", children: a.label })
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
);
|
|
58
|
+
}, V = ({
|
|
59
|
+
className: a,
|
|
60
|
+
command: t
|
|
61
|
+
}) => {
|
|
62
|
+
var n;
|
|
63
|
+
return /* @__PURE__ */ m(
|
|
64
|
+
p,
|
|
65
|
+
{
|
|
66
|
+
className: s("command-palette-preset__list__group", a),
|
|
67
|
+
children: [
|
|
68
|
+
/* @__PURE__ */ l(
|
|
69
|
+
c,
|
|
70
|
+
{
|
|
71
|
+
command: t,
|
|
72
|
+
render: /* @__PURE__ */ l(_, { className: "command-palette-preset__list__group__label" }),
|
|
73
|
+
withinGroup: !0
|
|
74
|
+
}
|
|
75
|
+
),
|
|
76
|
+
(n = t.children) == null ? void 0 : n.map((r) => /* @__PURE__ */ l(
|
|
77
|
+
c,
|
|
78
|
+
{
|
|
79
|
+
className: "command-palette-preset__list__group__item",
|
|
80
|
+
command: r
|
|
81
|
+
},
|
|
82
|
+
r.id
|
|
83
|
+
))
|
|
84
|
+
]
|
|
85
|
+
}
|
|
86
|
+
);
|
|
87
|
+
}, Z = (a) => /* @__PURE__ */ l(c, { ...a }), H = ({
|
|
88
|
+
command: a,
|
|
89
|
+
className: t
|
|
90
|
+
}) => /* @__PURE__ */ l(
|
|
91
|
+
h,
|
|
92
|
+
{
|
|
93
|
+
className: s("command-palette-preset__horizontal", t),
|
|
94
|
+
focusOnHover: !0,
|
|
95
|
+
value: a.id,
|
|
96
|
+
setValueOnClick: !1,
|
|
97
|
+
render: /* @__PURE__ */ l(_, {}),
|
|
98
|
+
children: a.label
|
|
99
|
+
}
|
|
100
|
+
), v = ({
|
|
101
|
+
className: a,
|
|
102
|
+
command: t
|
|
103
|
+
}) => {
|
|
104
|
+
var r;
|
|
105
|
+
const n = t.icon || i;
|
|
106
|
+
return /* @__PURE__ */ m(
|
|
107
|
+
p,
|
|
108
|
+
{
|
|
109
|
+
className: s("command-palette-preset__horizontal__group", a),
|
|
110
|
+
children: [
|
|
111
|
+
/* @__PURE__ */ m(
|
|
112
|
+
h,
|
|
113
|
+
{
|
|
114
|
+
className: "command-palette-preset__horizontal__group__label",
|
|
115
|
+
focusOnHover: !0,
|
|
116
|
+
value: t.id,
|
|
117
|
+
setValueOnClick: !1,
|
|
118
|
+
render: /* @__PURE__ */ l(_, {}),
|
|
119
|
+
children: [
|
|
120
|
+
/* @__PURE__ */ l(n, { className: "command-palette-preset__horizontal__group__label__icon" }),
|
|
121
|
+
/* @__PURE__ */ l("span", { className: "command-palette-preset__horizontal__group__label__text", children: t.label })
|
|
122
|
+
]
|
|
123
|
+
}
|
|
124
|
+
),
|
|
125
|
+
/* @__PURE__ */ l("div", { className: "command-palette-preset__horizontal__group__items", children: (r = t.children) == null ? void 0 : r.map((o) => /* @__PURE__ */ l(
|
|
126
|
+
H,
|
|
127
|
+
{
|
|
128
|
+
className: "command-palette-preset__horizontal__group__item",
|
|
129
|
+
command: o
|
|
130
|
+
},
|
|
131
|
+
o.id
|
|
132
|
+
)) })
|
|
133
|
+
]
|
|
134
|
+
}
|
|
135
|
+
);
|
|
136
|
+
}, M = (a) => {
|
|
137
|
+
var t;
|
|
138
|
+
return (t = a.command.children) != null && t.length ? /* @__PURE__ */ l(v, { ...a }) : /* @__PURE__ */ l(H, { ...a });
|
|
139
|
+
}, E = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
140
|
+
__proto__: null,
|
|
141
|
+
HorizontalCommandPalettePreset: M,
|
|
142
|
+
ListCommandPalettePreset: Z
|
|
143
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
144
|
+
export {
|
|
145
|
+
M as H,
|
|
146
|
+
Z as L,
|
|
147
|
+
E as P
|
|
148
|
+
};
|
|
@@ -1,28 +1,32 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { cn as
|
|
3
|
-
import { Link as
|
|
2
|
+
import { cn as p } from "../../utils/css.js";
|
|
3
|
+
import { Link as c } from "../link/index.js";
|
|
4
4
|
import '../../assets/style.css';/* empty css */
|
|
5
|
-
const
|
|
6
|
-
className:
|
|
7
|
-
children:
|
|
8
|
-
size:
|
|
9
|
-
variant:
|
|
5
|
+
const A = ({
|
|
6
|
+
className: e,
|
|
7
|
+
children: o,
|
|
8
|
+
size: l = "normal",
|
|
9
|
+
variant: r = "normal",
|
|
10
|
+
flip: m = !1,
|
|
11
|
+
between: n = !1,
|
|
10
12
|
href: i,
|
|
11
13
|
target: t
|
|
12
14
|
}) => /* @__PURE__ */ a(
|
|
13
|
-
i ?
|
|
15
|
+
i ? c : "div",
|
|
14
16
|
{
|
|
15
|
-
className:
|
|
17
|
+
className: p(
|
|
16
18
|
"primitive-icon-label",
|
|
17
|
-
`primitive-icon-label--size-${
|
|
18
|
-
`primitive-icon-label--variant-${
|
|
19
|
-
|
|
19
|
+
`primitive-icon-label--size-${l}`,
|
|
20
|
+
`primitive-icon-label--variant-${r}`,
|
|
21
|
+
m && "primitive-icon-label--flip",
|
|
22
|
+
n && "primitive-icon-label--between",
|
|
23
|
+
e
|
|
20
24
|
),
|
|
21
25
|
href: i,
|
|
22
26
|
target: t,
|
|
23
|
-
children:
|
|
27
|
+
children: o
|
|
24
28
|
}
|
|
25
29
|
);
|
|
26
30
|
export {
|
|
27
|
-
|
|
31
|
+
A as IconLabel
|
|
28
32
|
};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RenderProp } from '@ariakit/react-core/utils/types';
|
|
2
|
+
import { default as React, AnchorHTMLAttributes, ElementType, FC } from 'react';
|
|
2
3
|
interface LinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
4
|
+
render?: RenderProp | React.ReactElement;
|
|
3
5
|
}
|
|
4
6
|
type AnchorElement = ElementType<LinkProps>;
|
|
5
7
|
export declare const Link: FC<LinkProps> & {
|
|
@@ -1,29 +1,30 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { cn as
|
|
3
|
-
import { isOutbound as
|
|
4
|
-
import { useMemo as
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { cn as c } from "../../utils/css.js";
|
|
3
|
+
import { isOutbound as l } from "../../utils/url.js";
|
|
4
|
+
import p, { useMemo as f } from "react";
|
|
5
5
|
import '../../assets/style10.css';/* empty css */
|
|
6
|
-
const
|
|
7
|
-
className:
|
|
8
|
-
children:
|
|
9
|
-
href:
|
|
10
|
-
|
|
11
|
-
...
|
|
6
|
+
const b = ({
|
|
7
|
+
className: s,
|
|
8
|
+
children: i,
|
|
9
|
+
href: t,
|
|
10
|
+
render: o,
|
|
11
|
+
...m
|
|
12
12
|
}) => {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
13
|
+
const e = f(() => t && l(t), [t]), r = m.target || (e ? "_blank" : void 0);
|
|
14
|
+
if (!t)
|
|
15
|
+
return i;
|
|
16
|
+
const n = {
|
|
17
|
+
className: c("primitive-link", s),
|
|
18
|
+
href: t,
|
|
19
|
+
target: r,
|
|
20
|
+
...m,
|
|
21
|
+
children: i
|
|
22
|
+
};
|
|
23
|
+
if (o)
|
|
24
|
+
return typeof o == "function" ? o(n) : p.cloneElement(o, n);
|
|
25
|
+
const u = b.anchorElement || "a";
|
|
26
|
+
return /* @__PURE__ */ a(u, { ...n });
|
|
26
27
|
};
|
|
27
28
|
export {
|
|
28
|
-
|
|
29
|
+
b as Link
|
|
29
30
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { AnchorHTMLAttributes, FC } from 'react';
|
|
1
|
+
import { AnchorHTMLAttributes, FC, PropsWithChildren } from 'react';
|
|
2
2
|
import { IconLabelProps } from '../icon-label';
|
|
3
|
-
interface NavLinkProps extends AnchorHTMLAttributes<HTMLAnchorElement
|
|
3
|
+
export interface NavLinkProps extends AnchorHTMLAttributes<HTMLAnchorElement>, PropsWithChildren {
|
|
4
4
|
variant?: IconLabelProps["variant"];
|
|
5
5
|
size?: IconLabelProps["size"];
|
|
6
|
+
flip?: IconLabelProps["flip"];
|
|
7
|
+
between?: IconLabelProps["between"];
|
|
6
8
|
}
|
|
7
9
|
export declare const NavLink: FC<NavLinkProps>;
|
|
8
|
-
export {};
|
|
@@ -1,38 +1,42 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { cn as
|
|
3
|
-
import { isCurrent as
|
|
4
|
-
import { useMemo as
|
|
5
|
-
import { IconLabel as
|
|
6
|
-
import { Link as
|
|
2
|
+
import { cn as l } from "../../utils/css.js";
|
|
3
|
+
import { isCurrent as c } from "../../utils/url.js";
|
|
4
|
+
import { useMemo as u } from "react";
|
|
5
|
+
import { IconLabel as v } from "../icon-label/index.js";
|
|
6
|
+
import { Link as f } from "../link/index.js";
|
|
7
7
|
import '../../assets/style2.css';/* empty css */
|
|
8
|
-
const
|
|
8
|
+
const d = ({
|
|
9
9
|
className: o,
|
|
10
10
|
href: r,
|
|
11
11
|
children: m,
|
|
12
12
|
size: n,
|
|
13
13
|
variant: t,
|
|
14
|
-
|
|
14
|
+
flip: e,
|
|
15
|
+
between: a,
|
|
16
|
+
...p
|
|
15
17
|
}) => {
|
|
16
|
-
const
|
|
18
|
+
const s = u(() => r && c(r), [r]);
|
|
17
19
|
return /* @__PURE__ */ i(
|
|
18
|
-
|
|
20
|
+
f,
|
|
19
21
|
{
|
|
20
|
-
...
|
|
21
|
-
className:
|
|
22
|
+
...p,
|
|
23
|
+
className: l("primitive-nav-link", o),
|
|
22
24
|
href: r,
|
|
23
|
-
"aria-current":
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
"aria-current": s ? "page" : "false",
|
|
26
|
+
render: /* @__PURE__ */ i(
|
|
27
|
+
v,
|
|
26
28
|
{
|
|
27
29
|
className: "primitive-nav-link__icon-label",
|
|
28
30
|
size: n,
|
|
29
31
|
variant: t,
|
|
30
|
-
|
|
32
|
+
flip: e,
|
|
33
|
+
between: a
|
|
31
34
|
}
|
|
32
|
-
)
|
|
35
|
+
),
|
|
36
|
+
children: m
|
|
33
37
|
}
|
|
34
38
|
);
|
|
35
39
|
};
|
|
36
40
|
export {
|
|
37
|
-
|
|
41
|
+
d as NavLink
|
|
38
42
|
};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { FC, PropsWithChildren } from 'react';
|
|
2
|
-
|
|
3
|
-
type Placement = BasePlacement | `${BasePlacement}-start` | `${BasePlacement}-end`;
|
|
2
|
+
import * as Ariakit from "@ariakit/react";
|
|
4
3
|
interface RootProps extends PropsWithChildren {
|
|
5
4
|
open?: boolean;
|
|
6
5
|
setOpen?: (open: boolean) => void;
|
|
7
|
-
placement?:
|
|
6
|
+
placement?: Ariakit.PopoverStoreState["placement"];
|
|
8
7
|
}
|
|
9
8
|
export declare const Root: FC<RootProps>;
|
|
10
9
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { cn as a } from "../../utils/css.js";
|
|
3
3
|
import { ScrollArea as m } from "../scroll-area/index.js";
|
|
4
|
-
import { u as n } from "../../MTZPJQMC-
|
|
5
|
-
import { a as l } from "../../YV4JVR4I-
|
|
6
|
-
import { P as w } from "../../G7GW6PWC-
|
|
4
|
+
import { u as n } from "../../MTZPJQMC-D2i4-LA_.js";
|
|
5
|
+
import { a as l } from "../../YV4JVR4I-CQnJhUSg.js";
|
|
6
|
+
import { P as w } from "../../G7GW6PWC-Dk4hVbAk.js";
|
|
7
7
|
const P = ({
|
|
8
8
|
className: r,
|
|
9
9
|
children: e,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { RenderProp } from '@ariakit/react-core/utils/types';
|
|
1
2
|
import { FC, PropsWithChildren, ReactNode } from 'react';
|
|
2
3
|
import * as Ariakit from "@ariakit/react";
|
|
3
4
|
interface TooltipProps extends PropsWithChildren {
|
|
@@ -5,6 +6,7 @@ interface TooltipProps extends PropsWithChildren {
|
|
|
5
6
|
label?: ReactNode;
|
|
6
7
|
force?: boolean;
|
|
7
8
|
placement?: Ariakit.HovercardStoreState["placement"];
|
|
9
|
+
render?: RenderProp | React.ReactElement;
|
|
8
10
|
}
|
|
9
11
|
export declare const Tooltip: FC<TooltipProps>;
|
|
10
12
|
export {};
|
|
@@ -1,34 +1,42 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { cn as
|
|
3
|
-
import { useState as
|
|
1
|
+
import { jsxs as o, Fragment as n, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { cn as c } from "../../utils/css.js";
|
|
3
|
+
import { useState as T } from "react";
|
|
4
4
|
import '../../assets/style4.css';/* empty css */
|
|
5
|
-
import { T as
|
|
6
|
-
const
|
|
7
|
-
className:
|
|
8
|
-
label:
|
|
9
|
-
force:
|
|
10
|
-
children:
|
|
11
|
-
placement:
|
|
5
|
+
import { T as f, a as u, b as v, c as h } from "../../tooltip-arrow-BVwULA6B.js";
|
|
6
|
+
const j = ({
|
|
7
|
+
className: a,
|
|
8
|
+
label: t,
|
|
9
|
+
force: i,
|
|
10
|
+
children: r,
|
|
11
|
+
placement: m,
|
|
12
|
+
render: e
|
|
12
13
|
}) => {
|
|
13
|
-
const [
|
|
14
|
-
return
|
|
15
|
-
|
|
14
|
+
const [p, l] = T(!1);
|
|
15
|
+
return t ? /* @__PURE__ */ o(
|
|
16
|
+
f,
|
|
16
17
|
{
|
|
17
|
-
open:
|
|
18
|
-
setOpen:
|
|
19
|
-
placement:
|
|
18
|
+
open: p || i,
|
|
19
|
+
setOpen: l,
|
|
20
|
+
placement: m,
|
|
20
21
|
children: [
|
|
21
|
-
/* @__PURE__ */
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
/* @__PURE__ */ s(
|
|
23
|
+
u,
|
|
24
|
+
{
|
|
25
|
+
className: c("primitive-tooltip", a),
|
|
26
|
+
render: e,
|
|
27
|
+
children: r
|
|
28
|
+
}
|
|
29
|
+
),
|
|
30
|
+
(p || i) && /* @__PURE__ */ o(
|
|
31
|
+
v,
|
|
24
32
|
{
|
|
25
33
|
gutter: 4,
|
|
26
34
|
className: "primitive-tooltip__label",
|
|
27
35
|
"data-colour-scheme": "invert",
|
|
28
36
|
children: [
|
|
29
|
-
|
|
30
|
-
/* @__PURE__ */
|
|
31
|
-
|
|
37
|
+
t,
|
|
38
|
+
/* @__PURE__ */ s(
|
|
39
|
+
h,
|
|
32
40
|
{
|
|
33
41
|
size: 24,
|
|
34
42
|
className: "primitive-tooltip__arrow"
|
|
@@ -39,8 +47,12 @@ const N = ({
|
|
|
39
47
|
)
|
|
40
48
|
]
|
|
41
49
|
}
|
|
42
|
-
) :
|
|
50
|
+
) : /* @__PURE__ */ o(n, { children: [
|
|
51
|
+
e,
|
|
52
|
+
" ",
|
|
53
|
+
r
|
|
54
|
+
] });
|
|
43
55
|
};
|
|
44
56
|
export {
|
|
45
|
-
|
|
57
|
+
j as Tooltip
|
|
46
58
|
};
|