@wrdagency/blockout 1.0.26 → 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/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/style10.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/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 -175
- package/dist/components/command-palette/{index.d.ts → static.d.ts} +3 -5
- 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/pane.js +1 -1
- package/dist/components/shell/sidebar-item.js +1 -1
- 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.js +1 -1
- 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
package/dist/assets/style8.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.component-checkbox-control__label{display:flex;align-items:center;font-weight:400;color:var(--blockout__colours__surface--950);font-size:1rem;cursor:pointer;width:fit-content}.component-checkbox-control__input__wrapper{position:relative;width:1.5rem;height:1.5rem}.component-checkbox-control__input{width:100%;height:100%;opacity:0;position:relative;z-index:1;cursor:pointer}.component-checkbox-control__icon{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;fill:var(--blockout__colours__surface--500)}.component-checkbox-control__text{padding:var(--base-control__padding);min-height:var(--base-control__min-height);min-width:max-content}.component-checkbox-control__help{margin-top:.25rem;max-width:65ch;font-size:.75rem;font-weight:400;color:var(--blockout__colours__surface--600)}.component-checkbox-control--checked .component-checkbox-control__icon{fill:var(--blockout__colours__primary--500)}
|
package/dist/assets/style9.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.component-
|
|
1
|
+
.component-choice-control__choices{display:grid;gap:1.5rem}@media (min-width: 768px){.component-choice-control__choices{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width: 1024px){.component-choice-control__choices{grid-template-columns:repeat(3,minmax(0,1fr))}}.component-choice-control__choice{padding:.325rem;border:1px solid var(--blockout__colours__surface--300);border-radius:var(--blockout__radius--md);background-color:var(--blockout__colours__surface--0);cursor:pointer;transition:outline .25s ease,outline-offset .25s ease}.component-choice-control__choice__body{display:flex;flex-direction:row;align-items:baseline;gap:.75rem;padding:.675rem;height:100%}.component-choice-control__choice:has(input:checked) .component-choice-control__choice__body{background-color:var(--blockout__colours__surface--100)}.component-choice-control__choice:has(input:checked) .component-choice-control__choice__description{color:var(--blockout__colours__surface--700)}.component-choice-control__choice:focus-within{outline:1px solid var(--blockout__colours__outline);outline-offset:4px}.component-choice-control__choice:has(input:disabled){background-color:var(--blockout__colours__surface--200)}.component-choice-control__choice:has(input:disabled) .component-choice-control__choice__label,.component-choice-control__choice:has(input:disabled) .component-choice-control__choice__description{color:var(--blockout__colours__surface--400)}.component-choice-control__choice__icon{fill:var(--blockout__colours__surface--300);width:1.375rem;height:1.375rem;flex-shrink:0;transform:translateY(.25rem);transition:fill .25s ease}.component-choice-control__choice:has(input:checked) .component-choice-control__choice__icon{fill:var(--blockout__colours__primary--500)}.component-choice-control__choice__label{font-weight:500;color:var(--blockout__colours__surface--600);transition:color .25s ease}.component-choice-control__choice__description{font-weight:400;color:var(--blockout__colours__surface--500);font-size:.875rem;transition:color .25s ease,opacity .25s ease}.component-choice-control__choice:has(input:checked) .component-choice-control__choice__label{color:var(--blockout__colours__surface--950)}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as c, a as i } from "./YORGHBM4-
|
|
2
|
-
import { f as u, c as n, a as p, _ as C, i as l, S as x, o as s } from "./LMDWO4NN-
|
|
3
|
-
import { a as v } from "./S43UC3DV-
|
|
1
|
+
import { u as c, a as i } from "./YORGHBM4-B1RRY_xR.js";
|
|
2
|
+
import { f as u, c as n, a as p, _ as C, i as l, S as x, o as s } from "./LMDWO4NN-ZnclRjpA.js";
|
|
3
|
+
import { a as v } from "./S43UC3DV-BVbmEy3J.js";
|
|
4
4
|
var f = "div", G = n(function(o) {
|
|
5
5
|
return o = c(o), o;
|
|
6
6
|
}), w = u(function(o) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as P, u as g } from "./G7GW6PWC-
|
|
2
|
-
import { u as y } from "./MAXQOH4L-
|
|
3
|
-
import { u as C } from "./S43UC3DV-
|
|
4
|
-
import { a as S } from "./YV4JVR4I-
|
|
5
|
-
import { f as I, c as F, a as k, _ as w, i as D, o as v, m as H, C as R, D as V } from "./LMDWO4NN-
|
|
1
|
+
import { c as P, u as g } from "./G7GW6PWC-C6qSYISF.js";
|
|
2
|
+
import { u as y } from "./MAXQOH4L-lpuvS1NR.js";
|
|
3
|
+
import { u as C } from "./S43UC3DV-BVbmEy3J.js";
|
|
4
|
+
import { a as S } from "./YV4JVR4I-BuKFdNa0.js";
|
|
5
|
+
import { f as I, c as F, a as k, _ as w, i as D, o as v, m as H, C as R, D as V } from "./LMDWO4NN-ZnclRjpA.js";
|
|
6
6
|
import { useRef as j } from "react";
|
|
7
7
|
var B = "div";
|
|
8
8
|
function N(l, ...u) {
|
|
@@ -14,11 +14,11 @@ import "../../primitives/symbol/index.js";
|
|
|
14
14
|
/* empty css */
|
|
15
15
|
/* empty css */
|
|
16
16
|
import { e as n } from "../../CaretRight.es-vnr78BGI.js";
|
|
17
|
-
import { C as c } from "../../composite-provider-
|
|
18
|
-
import { C as l } from "../../5JTVDSTH-
|
|
19
|
-
import { C as d } from "../../J2LQO3EC-
|
|
20
|
-
import { C as b } from "../../6VRAQV3D-
|
|
21
|
-
import { C as f } from "../../TP7N7UIH-
|
|
17
|
+
import { C as c } from "../../composite-provider-VHhinf1k.js";
|
|
18
|
+
import { C as l } from "../../5JTVDSTH-BOGL3M3F.js";
|
|
19
|
+
import { C as d } from "../../J2LQO3EC-XUQS0UAH.js";
|
|
20
|
+
import { C as b } from "../../6VRAQV3D-pTuMqsWW.js";
|
|
21
|
+
import { C as f } from "../../TP7N7UIH-Bs0NX7lb.js";
|
|
22
22
|
const D = ({
|
|
23
23
|
crumbs: m,
|
|
24
24
|
separator: e = /* @__PURE__ */ r(n, {}),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { cn as i } from "../../utils/css.js";
|
|
3
|
-
import '../../assets/styles.css';import '../../assets/style6.css';import '../../assets/style5.css';import '../../assets/style3.css';import '../../assets/style2.css';import '../../assets/style.css';import '../../assets/
|
|
3
|
+
import '../../assets/styles.css';import '../../assets/style6.css';import '../../assets/style5.css';import '../../assets/style3.css';import '../../assets/style2.css';import '../../assets/style.css';import '../../assets/style10.css';import '../../assets/style7.css';/* empty css */
|
|
4
4
|
import "react";
|
|
5
5
|
/* empty css */
|
|
6
6
|
/* empty css */
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { cn as e } from "../../utils/css.js";
|
|
3
3
|
import { Children as i } from "react";
|
|
4
|
-
import { C as p } from "../../composite-provider-
|
|
5
|
-
import { C as n } from "../../5JTVDSTH-
|
|
6
|
-
import { C as s } from "../../J2LQO3EC-
|
|
7
|
-
import { C as a } from "../../6VRAQV3D-
|
|
4
|
+
import { C as p } from "../../composite-provider-VHhinf1k.js";
|
|
5
|
+
import { C as n } from "../../5JTVDSTH-BOGL3M3F.js";
|
|
6
|
+
import { C as s } from "../../J2LQO3EC-XUQS0UAH.js";
|
|
7
|
+
import { C as a } from "../../6VRAQV3D-pTuMqsWW.js";
|
|
8
8
|
const u = ({ className: m, children: t }) => /* @__PURE__ */ o(p, { children: /* @__PURE__ */ o(n, { className: e("component-button-row", m), children: /* @__PURE__ */ o(s, { className: "component-button-row__row", children: i.map(
|
|
9
9
|
t,
|
|
10
10
|
(r) => r && /* @__PURE__ */ o(a, { render: r })
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { CommandPaletteProps } from './static';
|
|
3
|
+
interface DialogCommandPaletteProps extends CommandPaletteProps {
|
|
4
|
+
open?: boolean;
|
|
5
|
+
onOpenChange?: (open: boolean) => void;
|
|
6
|
+
hotkey?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const DialogCommandPalette: FC<DialogCommandPaletteProps>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import { useHotkey as s } from "../../hooks/keyboard.js";
|
|
4
|
+
import { cn as c } from "../../utils/css.js";
|
|
5
|
+
import { noop as l } from "../../utils/noop.js";
|
|
6
|
+
import { CommandPalette as d } from "./static.js";
|
|
7
|
+
import { u } from "../../BM6PGYQY-DL-j4NGc.js";
|
|
8
|
+
import { D as f } from "../../G7GW6PWC-C6qSYISF.js";
|
|
9
|
+
const O = ({
|
|
10
|
+
className: r,
|
|
11
|
+
open: a,
|
|
12
|
+
onOpenChange: t = l,
|
|
13
|
+
hotkey: e,
|
|
14
|
+
...n
|
|
15
|
+
}) => {
|
|
16
|
+
const m = u({ open: a, setOpen: t }), p = () => {
|
|
17
|
+
t(!0);
|
|
18
|
+
};
|
|
19
|
+
return e && s(e, (i) => {
|
|
20
|
+
i.preventDefault(), p();
|
|
21
|
+
}), /* @__PURE__ */ o(
|
|
22
|
+
f,
|
|
23
|
+
{
|
|
24
|
+
store: m,
|
|
25
|
+
className: c("component-command-palette", r),
|
|
26
|
+
backdrop: /* @__PURE__ */ o("div", { className: "component-command-palette__backdrop" }),
|
|
27
|
+
unmountOnHide: !0,
|
|
28
|
+
children: /* @__PURE__ */ o(d, { disclosure: m, ...n })
|
|
29
|
+
}
|
|
30
|
+
);
|
|
31
|
+
};
|
|
32
|
+
export {
|
|
33
|
+
O as DialogCommandPalette
|
|
34
|
+
};
|
|
@@ -1,177 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import '../../assets/styles.css';import '../../assets/style6.css';import '../../assets/style5.css';import '../../assets/style4.css';import '../../assets/style3.css';import '../../assets/style2.css';import '../../assets/style.css';import '../../assets/style8.css';import '../../assets/style7.css';import '../../assets/index19.css';/* empty css */
|
|
7
|
-
import { noop as Z } from "../../utils/noop.js";
|
|
8
|
-
/* empty css */
|
|
9
|
-
/* empty css */
|
|
10
|
-
/* empty css */
|
|
11
|
-
import "../../primitives/popover/index.js";
|
|
12
|
-
/* empty css */
|
|
13
|
-
import "../../primitives/scroll-area/index.js";
|
|
14
|
-
import "../../primitives/symbol/index.js";
|
|
15
|
-
/* empty css */
|
|
16
|
-
/* empty css */
|
|
17
|
-
/* empty css */
|
|
18
|
-
import { Keyboard as C } from "../../primitives/typography/keyboard.js";
|
|
19
|
-
/* empty css */
|
|
20
|
-
import { w as x } from "../../SSRBase.es-BUXS72ra.js";
|
|
21
|
-
import { s as S } from "../../MagnifyingGlass.es-CLstwG_v.js";
|
|
22
|
-
import { a as y } from "../../BM6PGYQY-g6WySwtg.js";
|
|
23
|
-
import { D as F } from "../../G7GW6PWC-DeYlSr7f.js";
|
|
24
|
-
import { C as O, a as w, b as D, c as I } from "../../MAXQOH4L-DB7jDisS.js";
|
|
25
|
-
import { C as k, a as G } from "../../combobox-group-BCdU5rML.js";
|
|
26
|
-
const L = /* @__PURE__ */ new Map([
|
|
27
|
-
[
|
|
28
|
-
"bold",
|
|
29
|
-
/* @__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" }))
|
|
30
|
-
],
|
|
31
|
-
[
|
|
32
|
-
"duotone",
|
|
33
|
-
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
34
|
-
"path",
|
|
35
|
-
{
|
|
36
|
-
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",
|
|
37
|
-
opacity: "0.2"
|
|
38
|
-
}
|
|
39
|
-
), /* @__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" }))
|
|
40
|
-
],
|
|
41
|
-
[
|
|
42
|
-
"fill",
|
|
43
|
-
/* @__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" }))
|
|
44
|
-
],
|
|
45
|
-
[
|
|
46
|
-
"light",
|
|
47
|
-
/* @__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" }))
|
|
48
|
-
],
|
|
49
|
-
[
|
|
50
|
-
"regular",
|
|
51
|
-
/* @__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" }))
|
|
52
|
-
],
|
|
53
|
-
[
|
|
54
|
-
"thin",
|
|
55
|
-
/* @__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" }))
|
|
56
|
-
]
|
|
57
|
-
]), _ = e.forwardRef((o, m) => /* @__PURE__ */ e.createElement(x, { ref: m, ...o, weights: L }));
|
|
58
|
-
_.displayName = "CommandIcon";
|
|
59
|
-
const p0 = ({
|
|
60
|
-
className: o,
|
|
61
|
-
open: m,
|
|
62
|
-
onOpenChange: n = Z,
|
|
63
|
-
search: r = "",
|
|
64
|
-
onSearchChange: v = Z,
|
|
65
|
-
hotkey: d,
|
|
66
|
-
placeholder: M = "Search...",
|
|
67
|
-
commands: p = [],
|
|
68
|
-
render: H = {
|
|
69
|
-
group: j,
|
|
70
|
-
item: i
|
|
71
|
-
}
|
|
72
|
-
}) => {
|
|
73
|
-
const u = y({ open: m, setOpen: n }), f = () => {
|
|
74
|
-
n(!0);
|
|
75
|
-
}, b = (t) => {
|
|
76
|
-
N(() => {
|
|
77
|
-
v(t);
|
|
78
|
-
});
|
|
79
|
-
}, g = (t) => {
|
|
80
|
-
var l, V;
|
|
81
|
-
(V = (l = p.flatMap((c) => [c, ...c.children || []]).find((c) => c.id === t)) == null ? void 0 : l.onSelect) == null || V.call(l);
|
|
82
|
-
};
|
|
83
|
-
d && A(d, (t) => {
|
|
84
|
-
t.preventDefault(), f();
|
|
85
|
-
});
|
|
86
|
-
const E = p.length > 0;
|
|
87
|
-
return /* @__PURE__ */ a(
|
|
88
|
-
F,
|
|
89
|
-
{
|
|
90
|
-
store: u,
|
|
91
|
-
className: h("component-command-palette", o),
|
|
92
|
-
backdrop: /* @__PURE__ */ a("div", { className: "component-command-palette__backdrop" }),
|
|
93
|
-
unmountOnHide: !0,
|
|
94
|
-
children: /* @__PURE__ */ s(
|
|
95
|
-
O,
|
|
96
|
-
{
|
|
97
|
-
disclosure: u,
|
|
98
|
-
focusLoop: !1,
|
|
99
|
-
includesBaseElement: !1,
|
|
100
|
-
resetValueOnHide: !0,
|
|
101
|
-
value: r,
|
|
102
|
-
setValue: b,
|
|
103
|
-
selectedValue: "",
|
|
104
|
-
setSelectedValue: g,
|
|
105
|
-
children: [
|
|
106
|
-
/* @__PURE__ */ s("header", { className: "component-command-palette__header", children: [
|
|
107
|
-
/* @__PURE__ */ a(S, { className: "component-command-palette__header__icon" }),
|
|
108
|
-
/* @__PURE__ */ a(
|
|
109
|
-
w,
|
|
110
|
-
{
|
|
111
|
-
autoSelect: "always",
|
|
112
|
-
className: "component-command-palette__input",
|
|
113
|
-
type: "search",
|
|
114
|
-
placeholder: M
|
|
115
|
-
}
|
|
116
|
-
),
|
|
117
|
-
/* @__PURE__ */ a(C, { className: "component-command-palette__close", children: "Esc" })
|
|
118
|
-
] }),
|
|
119
|
-
E ? /* @__PURE__ */ a(D, { className: "component-command-palette__results", children: p.map(
|
|
120
|
-
(t) => t.children ? /* @__PURE__ */ a(H.group, { command: t }, t.id) : /* @__PURE__ */ a(H.item, { command: t }, t.id)
|
|
121
|
-
) }) : /* @__PURE__ */ a("div", { className: "component-command-palette__empty", children: "No results found" })
|
|
122
|
-
]
|
|
123
|
-
}
|
|
124
|
-
)
|
|
125
|
-
}
|
|
126
|
-
);
|
|
127
|
-
}, i = ({ command: o, className: m, render: n }) => {
|
|
128
|
-
const r = o.icon || _;
|
|
129
|
-
return /* @__PURE__ */ s(
|
|
130
|
-
I,
|
|
131
|
-
{
|
|
132
|
-
className: h("component-command-palette__item", m),
|
|
133
|
-
focusOnHover: !0,
|
|
134
|
-
blurOnHoverEnd: !1,
|
|
135
|
-
value: o.id,
|
|
136
|
-
setValueOnClick: !1,
|
|
137
|
-
render: n,
|
|
138
|
-
children: [
|
|
139
|
-
/* @__PURE__ */ a(r, { className: "component-command-palette__item__icon" }),
|
|
140
|
-
/* @__PURE__ */ a("span", { className: "component-command-palette__item__label", children: o.label })
|
|
141
|
-
]
|
|
142
|
-
}
|
|
143
|
-
);
|
|
144
|
-
}, j = ({
|
|
145
|
-
className: o,
|
|
146
|
-
command: m
|
|
147
|
-
}) => {
|
|
148
|
-
var n;
|
|
149
|
-
return /* @__PURE__ */ s(
|
|
150
|
-
k,
|
|
151
|
-
{
|
|
152
|
-
className: h("component-command-palette__group", o),
|
|
153
|
-
children: [
|
|
154
|
-
/* @__PURE__ */ a(
|
|
155
|
-
i,
|
|
156
|
-
{
|
|
157
|
-
command: m,
|
|
158
|
-
render: /* @__PURE__ */ a(G, { className: "component-command-palette__group__label" })
|
|
159
|
-
}
|
|
160
|
-
),
|
|
161
|
-
(n = m.children) == null ? void 0 : n.map((r) => /* @__PURE__ */ a(
|
|
162
|
-
i,
|
|
163
|
-
{
|
|
164
|
-
className: "component-command-palette__group__item",
|
|
165
|
-
command: r
|
|
166
|
-
},
|
|
167
|
-
r.id
|
|
168
|
-
))
|
|
169
|
-
]
|
|
170
|
-
}
|
|
171
|
-
);
|
|
172
|
-
};
|
|
1
|
+
import { DialogCommandPalette as t } from "./dialog.js";
|
|
2
|
+
import { CommandPalette as a } from "./static.js";
|
|
3
|
+
const e = Object.assign(t, {
|
|
4
|
+
Static: a
|
|
5
|
+
});
|
|
173
6
|
export {
|
|
174
|
-
|
|
175
|
-
i as CommandItem,
|
|
176
|
-
p0 as CommandPalette
|
|
7
|
+
e as CommandPalette
|
|
177
8
|
};
|
|
@@ -5,13 +5,11 @@ interface CommandPaletteItemProps {
|
|
|
5
5
|
command: Command;
|
|
6
6
|
className?: string;
|
|
7
7
|
}
|
|
8
|
-
interface CommandPaletteProps {
|
|
8
|
+
export interface CommandPaletteProps {
|
|
9
|
+
disclosure?: Ariakit.DialogStore;
|
|
9
10
|
className?: string;
|
|
10
|
-
open?: boolean;
|
|
11
|
-
onOpenChange?: (open: boolean) => void;
|
|
12
11
|
search?: string;
|
|
13
12
|
onSearchChange?: (query: string) => void;
|
|
14
|
-
hotkey?: string;
|
|
15
13
|
placeholder?: string;
|
|
16
14
|
commands: Command[];
|
|
17
15
|
suggestions?: Command[];
|
|
@@ -25,4 +23,4 @@ export declare const CommandItem: FC<CommandPaletteItemProps & {
|
|
|
25
23
|
render?: Ariakit.ComboboxItemProps["render"];
|
|
26
24
|
}>;
|
|
27
25
|
export declare const CommandGroup: FC<CommandPaletteItemProps>;
|
|
28
|
-
export
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import { jsx as a, jsxs as p } from "react/jsx-runtime";
|
|
2
|
+
import { cn as i } from "../../utils/css.js";
|
|
3
|
+
import '../../assets/styles.css';import '../../assets/style6.css';import '../../assets/style5.css';import '../../assets/style4.css';import '../../assets/style3.css';import '../../assets/style2.css';import '../../assets/style.css';import '../../assets/style10.css';import '../../assets/style7.css';import '../../assets/static.css';/* empty css */
|
|
4
|
+
import { noop as M } from "../../utils/noop.js";
|
|
5
|
+
import * as e from "react";
|
|
6
|
+
import { startTransition as f } from "react";
|
|
7
|
+
/* empty css */
|
|
8
|
+
/* empty css */
|
|
9
|
+
/* empty css */
|
|
10
|
+
import "../../primitives/popover/index.js";
|
|
11
|
+
/* empty css */
|
|
12
|
+
import "../../primitives/scroll-area/index.js";
|
|
13
|
+
import "../../primitives/symbol/index.js";
|
|
14
|
+
/* empty css */
|
|
15
|
+
/* empty css */
|
|
16
|
+
/* empty css */
|
|
17
|
+
import { Keyboard as b } from "../../primitives/typography/keyboard.js";
|
|
18
|
+
/* empty css */
|
|
19
|
+
import { w as E } from "../../SSRBase.es-BUXS72ra.js";
|
|
20
|
+
import { s as g } from "../../MagnifyingGlass.es-CLstwG_v.js";
|
|
21
|
+
import { C as A, a as N, b as C, c as x } from "../../MAXQOH4L-lpuvS1NR.js";
|
|
22
|
+
import { C as y, a as F } from "../../combobox-group-Q7OatWHm.js";
|
|
23
|
+
const S = /* @__PURE__ */ new Map([
|
|
24
|
+
[
|
|
25
|
+
"bold",
|
|
26
|
+
/* @__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" }))
|
|
27
|
+
],
|
|
28
|
+
[
|
|
29
|
+
"duotone",
|
|
30
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
31
|
+
"path",
|
|
32
|
+
{
|
|
33
|
+
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",
|
|
34
|
+
opacity: "0.2"
|
|
35
|
+
}
|
|
36
|
+
), /* @__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" }))
|
|
37
|
+
],
|
|
38
|
+
[
|
|
39
|
+
"fill",
|
|
40
|
+
/* @__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" }))
|
|
41
|
+
],
|
|
42
|
+
[
|
|
43
|
+
"light",
|
|
44
|
+
/* @__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" }))
|
|
45
|
+
],
|
|
46
|
+
[
|
|
47
|
+
"regular",
|
|
48
|
+
/* @__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" }))
|
|
49
|
+
],
|
|
50
|
+
[
|
|
51
|
+
"thin",
|
|
52
|
+
/* @__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" }))
|
|
53
|
+
]
|
|
54
|
+
]), V = e.forwardRef((t, m) => /* @__PURE__ */ e.createElement(E, { ref: m, ...t, weights: S }));
|
|
55
|
+
V.displayName = "CommandIcon";
|
|
56
|
+
const e0 = ({
|
|
57
|
+
disclosure: t,
|
|
58
|
+
className: m,
|
|
59
|
+
search: n = "",
|
|
60
|
+
onSearchChange: l = M,
|
|
61
|
+
placeholder: Z = "Search...",
|
|
62
|
+
commands: s = [],
|
|
63
|
+
render: d = {
|
|
64
|
+
group: w,
|
|
65
|
+
item: h
|
|
66
|
+
}
|
|
67
|
+
}) => {
|
|
68
|
+
const u = (o) => {
|
|
69
|
+
f(() => {
|
|
70
|
+
l(o);
|
|
71
|
+
});
|
|
72
|
+
}, _ = (o) => {
|
|
73
|
+
var r, H;
|
|
74
|
+
(H = (r = s.flatMap((c) => [c, ...c.children || []]).find((c) => c.id === o)) == null ? void 0 : r.onSelect) == null || H.call(r);
|
|
75
|
+
}, v = s.length > 0;
|
|
76
|
+
return /* @__PURE__ */ a("div", { className: i("component-command-palette__static", m), children: /* @__PURE__ */ p(
|
|
77
|
+
A,
|
|
78
|
+
{
|
|
79
|
+
focusLoop: !1,
|
|
80
|
+
includesBaseElement: !1,
|
|
81
|
+
resetValueOnHide: !0,
|
|
82
|
+
value: n,
|
|
83
|
+
setValue: u,
|
|
84
|
+
selectedValue: "",
|
|
85
|
+
setSelectedValue: _,
|
|
86
|
+
disclosure: t,
|
|
87
|
+
children: [
|
|
88
|
+
/* @__PURE__ */ p("header", { className: "component-command-palette__header", children: [
|
|
89
|
+
/* @__PURE__ */ a(g, { className: "component-command-palette__header__icon" }),
|
|
90
|
+
/* @__PURE__ */ a(
|
|
91
|
+
N,
|
|
92
|
+
{
|
|
93
|
+
autoSelect: "always",
|
|
94
|
+
className: "component-command-palette__input",
|
|
95
|
+
type: "search",
|
|
96
|
+
placeholder: Z
|
|
97
|
+
}
|
|
98
|
+
),
|
|
99
|
+
/* @__PURE__ */ a(b, { className: "component-command-palette__close", children: "Esc" })
|
|
100
|
+
] }),
|
|
101
|
+
v ? /* @__PURE__ */ a(C, { className: "component-command-palette__results", children: s.map(
|
|
102
|
+
(o) => o.children ? /* @__PURE__ */ a(d.group, { command: o }, o.id) : /* @__PURE__ */ a(d.item, { command: o }, o.id)
|
|
103
|
+
) }) : /* @__PURE__ */ a("div", { className: "component-command-palette__empty", children: "No results found" })
|
|
104
|
+
]
|
|
105
|
+
}
|
|
106
|
+
) });
|
|
107
|
+
}, h = ({ command: t, className: m, render: n }) => {
|
|
108
|
+
const l = t.icon || V;
|
|
109
|
+
return /* @__PURE__ */ p(
|
|
110
|
+
x,
|
|
111
|
+
{
|
|
112
|
+
className: i("component-command-palette__item", m),
|
|
113
|
+
focusOnHover: !0,
|
|
114
|
+
blurOnHoverEnd: !1,
|
|
115
|
+
value: t.id,
|
|
116
|
+
setValueOnClick: !1,
|
|
117
|
+
render: n,
|
|
118
|
+
children: [
|
|
119
|
+
/* @__PURE__ */ a(l, { className: "component-command-palette__item__icon" }),
|
|
120
|
+
/* @__PURE__ */ a("span", { className: "component-command-palette__item__label", children: t.label })
|
|
121
|
+
]
|
|
122
|
+
}
|
|
123
|
+
);
|
|
124
|
+
}, w = ({
|
|
125
|
+
className: t,
|
|
126
|
+
command: m
|
|
127
|
+
}) => {
|
|
128
|
+
var n;
|
|
129
|
+
return /* @__PURE__ */ p(
|
|
130
|
+
y,
|
|
131
|
+
{
|
|
132
|
+
className: i("component-command-palette__group", t),
|
|
133
|
+
children: [
|
|
134
|
+
/* @__PURE__ */ a(
|
|
135
|
+
h,
|
|
136
|
+
{
|
|
137
|
+
command: m,
|
|
138
|
+
render: /* @__PURE__ */ a(F, { className: "component-command-palette__group__label" })
|
|
139
|
+
}
|
|
140
|
+
),
|
|
141
|
+
(n = m.children) == null ? void 0 : n.map((l) => /* @__PURE__ */ a(
|
|
142
|
+
h,
|
|
143
|
+
{
|
|
144
|
+
className: "component-command-palette__group__item",
|
|
145
|
+
command: l
|
|
146
|
+
},
|
|
147
|
+
l.id
|
|
148
|
+
))
|
|
149
|
+
]
|
|
150
|
+
}
|
|
151
|
+
);
|
|
152
|
+
};
|
|
153
|
+
export {
|
|
154
|
+
w as CommandGroup,
|
|
155
|
+
h as CommandItem,
|
|
156
|
+
e0 as CommandPalette
|
|
157
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as e, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { Button as a } from "../../button/index.js";
|
|
3
|
-
import '../../../assets/style19.css';import '../../../assets/styles.css';import '../../../assets/style6.css';import '../../../assets/style4.css';import '../../../assets/style3.css';import '../../../assets/style2.css';import '../../../assets/style.css';import '../../../assets/
|
|
3
|
+
import '../../../assets/style19.css';import '../../../assets/styles.css';import '../../../assets/style6.css';import '../../../assets/style4.css';import '../../../assets/style3.css';import '../../../assets/style2.css';import '../../../assets/style.css';import '../../../assets/style10.css';import '../../../assets/style7.css';/* empty css */
|
|
4
4
|
import { useState as c } from "react";
|
|
5
5
|
/* empty css */
|
|
6
6
|
/* empty css */
|
|
@@ -17,9 +17,9 @@ import { e as v } from "../../../CaretDown.es-eyr5AnCc.js";
|
|
|
17
17
|
import { BaseControl as f } from "../base-control/index.js";
|
|
18
18
|
import { useBaseControlProps as P } from "../base-control/props.js";
|
|
19
19
|
/* empty css */
|
|
20
|
-
import { P as u } from "../../../popover-provider-
|
|
21
|
-
import { P as _ } from "../../../WMYDSCNQ-
|
|
22
|
-
import { P as h } from "../../../G7GW6PWC-
|
|
20
|
+
import { P as u } from "../../../popover-provider-HlPXIcud.js";
|
|
21
|
+
import { P as _ } from "../../../WMYDSCNQ-J1-TanSP.js";
|
|
22
|
+
import { P as h } from "../../../G7GW6PWC-C6qSYISF.js";
|
|
23
23
|
const H = (t) => {
|
|
24
24
|
const { baseProps: s, controlProps: r } = P(t, {
|
|
25
25
|
className: "component-base-popover-control"
|
|
@@ -6,7 +6,7 @@ import * as e from "react";
|
|
|
6
6
|
import { w as N } from "../../../SSRBase.es-BUXS72ra.js";
|
|
7
7
|
import { Affix as p } from "../base-control/affix.js";
|
|
8
8
|
import { useBaseControlProps as C } from "../base-control/props.js";
|
|
9
|
-
import '../../../assets/
|
|
9
|
+
import '../../../assets/style8.css';/* empty css */
|
|
10
10
|
const F = /* @__PURE__ */ new Map([
|
|
11
11
|
[
|
|
12
12
|
"bold",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
2
2
|
import { cn as _ } from "../../../utils/css.js";
|
|
3
|
-
import '../../../assets/style6.css';import '../../../assets/style5.css';import '../../../assets/style4.css';import '../../../assets/style3.css';import '../../../assets/style2.css';import '../../../assets/style.css';import '../../../assets/
|
|
3
|
+
import '../../../assets/style6.css';import '../../../assets/style5.css';import '../../../assets/style4.css';import '../../../assets/style3.css';import '../../../assets/style2.css';import '../../../assets/style.css';import '../../../assets/style10.css';import '../../../assets/style7.css';/* empty css */
|
|
4
4
|
import * as e from "react";
|
|
5
5
|
import { useId as f } from "react";
|
|
6
6
|
/* empty css */
|
|
@@ -5,7 +5,7 @@ import "react";
|
|
|
5
5
|
import { BaseControl as g } from "../base-control/index.js";
|
|
6
6
|
import { useBaseControlProps as v } from "../base-control/props.js";
|
|
7
7
|
import { Choice as P } from "./choice.js";
|
|
8
|
-
import '../../../assets/
|
|
8
|
+
import '../../../assets/style9.css';/* empty css */
|
|
9
9
|
const b = (l) => {
|
|
10
10
|
const { baseProps: a, controlProps: i } = v(l, {
|
|
11
11
|
className: "component-choice-control"
|
|
@@ -4,7 +4,7 @@ import { useSplitInput as y } from "../../../hooks/input.js";
|
|
|
4
4
|
import * as e from "react";
|
|
5
5
|
import { useMemo as v, Fragment as j } from "react";
|
|
6
6
|
import { useTemporaryChange as I } from "../../../hooks/temporary.js";
|
|
7
|
-
import '../../../assets/style11.css';import '../../../assets/styles.css';import '../../../assets/style6.css';import '../../../assets/style5.css';import '../../../assets/style4.css';import '../../../assets/style3.css';import '../../../assets/style2.css';import '../../../assets/style.css';import '../../../assets/
|
|
7
|
+
import '../../../assets/style11.css';import '../../../assets/styles.css';import '../../../assets/style6.css';import '../../../assets/style5.css';import '../../../assets/style4.css';import '../../../assets/style3.css';import '../../../assets/style2.css';import '../../../assets/style.css';import '../../../assets/style10.css';import '../../../assets/style7.css';/* empty css */
|
|
8
8
|
import { noop as M } from "../../../utils/noop.js";
|
|
9
9
|
/* empty css */
|
|
10
10
|
/* empty css */
|
|
@@ -21,7 +21,7 @@ import { w as x } from "../../../SSRBase.es-BUXS72ra.js";
|
|
|
21
21
|
import { BaseControl as T } from "../base-control/index.js";
|
|
22
22
|
import { useBaseControlProps as $ } from "../base-control/props.js";
|
|
23
23
|
import { DateComponentInput as z } from "./component.js";
|
|
24
|
-
import { f as A, D as R } from "../../../picker-
|
|
24
|
+
import { f as A, D as R } from "../../../picker-DioIiYC0.js";
|
|
25
25
|
/* empty css */
|
|
26
26
|
import { getDefaultFormat as S } from "./types.js";
|
|
27
27
|
import { p as W } from "../../../parse-CdaSNXK6.js";
|
|
@@ -8,11 +8,11 @@ import "../../../CaretRight.es-vnr78BGI.js";
|
|
|
8
8
|
import "react";
|
|
9
9
|
import '../../../assets/style11.css';/* empty css */
|
|
10
10
|
import "../../../protectedTokens-DdjZoCxO.js";
|
|
11
|
-
import { D as d } from "../../../picker-
|
|
12
|
-
import "../../../composite-provider-
|
|
13
|
-
import "../../../5JTVDSTH-
|
|
14
|
-
import "../../../J2LQO3EC-
|
|
15
|
-
import "../../../6VRAQV3D-
|
|
11
|
+
import { D as d } from "../../../picker-DioIiYC0.js";
|
|
12
|
+
import "../../../composite-provider-VHhinf1k.js";
|
|
13
|
+
import "../../../5JTVDSTH-BOGL3M3F.js";
|
|
14
|
+
import "../../../J2LQO3EC-XUQS0UAH.js";
|
|
15
|
+
import "../../../6VRAQV3D-pTuMqsWW.js";
|
|
16
16
|
export {
|
|
17
17
|
d as DatePicker
|
|
18
18
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as e, jsx as t, Fragment as p } from "react/jsx-runtime";
|
|
2
2
|
import { cn as d } from "../../../utils/css.js";
|
|
3
|
-
import '../../../assets/style6.css';import '../../../assets/style5.css';import '../../../assets/style4.css';import '../../../assets/style3.css';import '../../../assets/style2.css';import '../../../assets/style.css';import '../../../assets/
|
|
3
|
+
import '../../../assets/style6.css';import '../../../assets/style5.css';import '../../../assets/style4.css';import '../../../assets/style3.css';import '../../../assets/style2.css';import '../../../assets/style.css';import '../../../assets/style10.css';import '../../../assets/style7.css';/* empty css */
|
|
4
4
|
import "react";
|
|
5
5
|
/* empty css */
|
|
6
6
|
/* empty css */
|
|
@@ -8,7 +8,7 @@ import { useBaseControlProps as W } from "../base-control/props.js";
|
|
|
8
8
|
import { BasePopoverControl as A } from "../base-popover-control/index.js";
|
|
9
9
|
import { NumberControl as E } from "../number-control/index.js";
|
|
10
10
|
import { SelectControl as d } from "../select-control/control.js";
|
|
11
|
-
import '../../../assets/style16.css';import '../../../assets/styles.css';import '../../../assets/style6.css';import '../../../assets/style5.css';import '../../../assets/style4.css';import '../../../assets/style3.css';import '../../../assets/style2.css';import '../../../assets/style.css';import '../../../assets/
|
|
11
|
+
import '../../../assets/style16.css';import '../../../assets/styles.css';import '../../../assets/style6.css';import '../../../assets/style5.css';import '../../../assets/style4.css';import '../../../assets/style3.css';import '../../../assets/style2.css';import '../../../assets/style.css';import '../../../assets/style10.css';import '../../../assets/style7.css';/* empty css */
|
|
12
12
|
/* empty css */
|
|
13
13
|
/* empty css */
|
|
14
14
|
/* empty css */
|
|
@@ -9,7 +9,7 @@ import { Affix as p } from "../base-control/affix.js";
|
|
|
9
9
|
import { useBaseControlProps as I } from "../base-control/props.js";
|
|
10
10
|
import { Select as g } from "./select.js";
|
|
11
11
|
import '../../../assets/style16.css';/* empty css */
|
|
12
|
-
import { S as B } from "../../../select-value-
|
|
12
|
+
import { S as B } from "../../../select-value-3BLrBdZV.js";
|
|
13
13
|
const f = m.forwardRef((o, t) => /* @__PURE__ */ m.createElement(P, { ref: t, ...o, weights: w }));
|
|
14
14
|
f.displayName = "CaretDownIcon";
|
|
15
15
|
function H(o) {
|