@wrdagency/blockout 1.0.27 → 1.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{2NBKRL7C-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/index9.css +1 -1
- package/dist/assets/static.css +1 -1
- package/dist/assets/style.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 +1 -1
- package/dist/components/controls/select-control/select.js +32 -31
- package/dist/components/controls/tag-control/ariakit-experimental.js +253 -252
- 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.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-P8y2n3bQ.js → select-popover-Dheunyb0.js} +40 -40
- 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/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/assets/style6.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.primitive-heading{font-size:var(--heading__font-size, 1.5rem);font-weight:var(--heading__font-weight, 700);line-height:var(--heading__line-height, 1.5rem);color:var(--heading__color, var(--blockout__colours__surface--950));text-transform:var(--heading__text-transform, none);letter-spacing:var(--heading__letter-spacing, normal)}.primitive-heading--size-1{--heading__font-size: 2.25rem;--heading__font-weight: 600;--heading__line-height: 1.25}.primitive-heading--size-2{--heading__font-size: 1.875rem;--heading__font-weight: 600;--heading__line-height: 1.375}.primitive-heading--size-3{--heading__font-size: 1.5625rem;--heading__font-weight: 500;--heading__line-height: 1.375}.primitive-heading--size-4{--heading__font-size: 1.375rem;--heading__font-weight: 500;--heading__line-height: 1.375}.primitive-heading--size-5{--heading__font-size: 1.125rem;--heading__font-weight: 500;--heading__line-height: 1.375}.primitive-heading--size-6{--heading__font-size: 1rem;--heading__font-weight: 500;--heading__line-height: 1.5}.primitive-paragraph{font-size:var(--paragraph__font-size, 1rem);font-weight:var(--paragraph__font-weight, 400);line-height:var(--paragraph__line-height, 1.5625);color:var(--paragraph__color, var(--blockout__colours__surface--700))}.primitive-paragraph--size-small{--paragraph__font-size: .875rem;--paragraph__line-height: 1.785;--paragraph__color: var(--blockout__colours__surface--600)}.primitive-paragraph--size-large{--paragraph__font-size: 1.125rem;--paragraph__line-height: 1.666;--paragraph__color: var(--blockout__colours__surface--700)}.primitive-keyboard{display:inline-flex;gap:.5em;font-family:inherit}.primitive-keyboard .primitive-keyboard__key{display:block;text-align:center;
|
|
1
|
+
.primitive-heading{font-size:var(--heading__font-size, 1.5rem);font-weight:var(--heading__font-weight, 700);line-height:var(--heading__line-height, 1.5rem);color:var(--heading__color, var(--blockout__colours__surface--950));text-transform:var(--heading__text-transform, none);letter-spacing:var(--heading__letter-spacing, normal)}.primitive-heading--size-1{--heading__font-size: 2.25rem;--heading__font-weight: 600;--heading__line-height: 1.25}.primitive-heading--size-2{--heading__font-size: 1.875rem;--heading__font-weight: 600;--heading__line-height: 1.375}.primitive-heading--size-3{--heading__font-size: 1.5625rem;--heading__font-weight: 500;--heading__line-height: 1.375}.primitive-heading--size-4{--heading__font-size: 1.375rem;--heading__font-weight: 500;--heading__line-height: 1.375}.primitive-heading--size-5{--heading__font-size: 1.125rem;--heading__font-weight: 500;--heading__line-height: 1.375}.primitive-heading--size-6{--heading__font-size: 1rem;--heading__font-weight: 500;--heading__line-height: 1.5}.primitive-paragraph{font-size:var(--paragraph__font-size, 1rem);font-weight:var(--paragraph__font-weight, 400);line-height:var(--paragraph__line-height, 1.5625);color:var(--paragraph__color, var(--blockout__colours__surface--700))}.primitive-paragraph--size-small{--paragraph__font-size: .875rem;--paragraph__line-height: 1.785;--paragraph__color: var(--blockout__colours__surface--600)}.primitive-paragraph--size-large{--paragraph__font-size: 1.125rem;--paragraph__line-height: 1.666;--paragraph__color: var(--blockout__colours__surface--700)}.primitive-keyboard{display:inline-flex;gap:.5em;font-family:inherit}.primitive-keyboard .primitive-keyboard__key{display:block;text-align:center;background:var(--blockout__colours__surface--50);border:1px solid var(--blockout__colours__surface--200);border-radius:var(--blockout__radius--xxs);padding:.25em .5em;font-size:.75em;color:var(--blockout__colours__surface--800);font-weight:600;text-transform:uppercase;outline:0px solid transparent;outline-offset:0px;transition:background-color .8s ease,border-color .8s ease,color .8s ease}.primitive-keyboard .primitive-keyboard__key.primitive-keyboard__key--singular{min-width:2.25em}.primitive-keyboard.primitive-keyboard--active .primitive-keyboard__key{background:var(--blockout__colours__primary--100);border-color:var(--blockout__colours__primary--500);color:var(--blockout__colours__primary--950);transition-duration:.1s}
|
|
@@ -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-D_fOXG5Y.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-CpSMaD5G.js";
|
|
3
|
+
import { a as v } from "./S43UC3DV-HCi6u_G4.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-Dk4hVbAk.js";
|
|
2
|
+
import { u as y } from "./MAXQOH4L-BYWBWXpb.js";
|
|
3
|
+
import { u as C } from "./S43UC3DV-HCi6u_G4.js";
|
|
4
|
+
import { a as S } from "./YV4JVR4I-CQnJhUSg.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-CpSMaD5G.js";
|
|
6
6
|
import { useRef as j } from "react";
|
|
7
7
|
var B = "div";
|
|
8
8
|
function N(l, ...u) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { Colourway as
|
|
3
|
-
import { cn as
|
|
4
|
-
import { useMemo as
|
|
5
|
-
import { Link as
|
|
1
|
+
import { jsxs as l, jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { Colourway as v } from "../../primitives/colourway/index.js";
|
|
3
|
+
import { cn as d } from "../../utils/css.js";
|
|
4
|
+
import { useMemo as f } from "react";
|
|
5
|
+
import { Link as _ } from "../../primitives/link/index.js";
|
|
6
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/index2.css';/* empty css */
|
|
7
7
|
/* empty css */
|
|
8
8
|
import "../../primitives/popover/index.js";
|
|
@@ -13,36 +13,38 @@ import "../../primitives/symbol/index.js";
|
|
|
13
13
|
/* empty css */
|
|
14
14
|
/* empty css */
|
|
15
15
|
/* empty css */
|
|
16
|
-
import { getRandomTheme as
|
|
17
|
-
const
|
|
16
|
+
import { getRandomTheme as u } from "../../primitives/colourway/util.js";
|
|
17
|
+
const $ = ({
|
|
18
18
|
className: r,
|
|
19
19
|
image: t = "",
|
|
20
20
|
name: o = "",
|
|
21
21
|
size: a = "medium",
|
|
22
22
|
withName: s = !1,
|
|
23
23
|
href: i,
|
|
24
|
-
target: p
|
|
24
|
+
target: p,
|
|
25
|
+
children: n
|
|
25
26
|
}) => {
|
|
26
|
-
const
|
|
27
|
-
return /* @__PURE__ */
|
|
28
|
-
|
|
27
|
+
const e = i ? _ : void 0, c = f(() => h(o, 2), [o]);
|
|
28
|
+
return /* @__PURE__ */ l(
|
|
29
|
+
v,
|
|
29
30
|
{
|
|
30
|
-
className:
|
|
31
|
+
className: d(
|
|
31
32
|
"component-avatar",
|
|
32
33
|
`component-avatar--size-${a}`,
|
|
33
34
|
r
|
|
34
35
|
),
|
|
35
|
-
theme:
|
|
36
|
-
as:
|
|
36
|
+
theme: u(t + o),
|
|
37
|
+
as: e,
|
|
37
38
|
href: i,
|
|
38
39
|
target: p,
|
|
39
40
|
children: [
|
|
40
|
-
t ? /* @__PURE__ */ m("img", { className: "component-avatar__image", src: t, alt: o }) : /* @__PURE__ */ m("div", { className: "component-avatar__fallback", children:
|
|
41
|
-
o && s && /* @__PURE__ */ m("span", { className: "component-avatar__name", children: o })
|
|
41
|
+
t ? /* @__PURE__ */ m("img", { className: "component-avatar__image", src: t, alt: o }) : /* @__PURE__ */ m("div", { className: "component-avatar__fallback", children: c }),
|
|
42
|
+
o && s && /* @__PURE__ */ m("span", { className: "component-avatar__name", children: o }),
|
|
43
|
+
n
|
|
42
44
|
]
|
|
43
45
|
}
|
|
44
46
|
);
|
|
45
|
-
},
|
|
47
|
+
}, h = (r, t) => r.split(" ").slice(0, t).map((o) => o[0]).join("");
|
|
46
48
|
export {
|
|
47
|
-
|
|
49
|
+
$ as Avatar
|
|
48
50
|
};
|
|
@@ -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-BPIeS4Cg.js";
|
|
18
|
+
import { C as l } from "../../5JTVDSTH-CZ7mfyUK.js";
|
|
19
|
+
import { C as d } from "../../J2LQO3EC-BXJIaM2U.js";
|
|
20
|
+
import { C as b } from "../../6VRAQV3D-BYmT0QTl.js";
|
|
21
|
+
import { C as f } from "../../TP7N7UIH-C4jXJDlO.js";
|
|
22
22
|
const D = ({
|
|
23
23
|
crumbs: m,
|
|
24
24
|
separator: e = /* @__PURE__ */ r(n, {}),
|
|
@@ -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-BPIeS4Cg.js";
|
|
5
|
+
import { C as n } from "../../5JTVDSTH-CZ7mfyUK.js";
|
|
6
|
+
import { C as s } from "../../J2LQO3EC-BXJIaM2U.js";
|
|
7
|
+
import { C as a } from "../../6VRAQV3D-BYmT0QTl.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 })
|
|
@@ -4,8 +4,8 @@ import { useHotkey as s } from "../../hooks/keyboard.js";
|
|
|
4
4
|
import { cn as c } from "../../utils/css.js";
|
|
5
5
|
import { noop as l } from "../../utils/noop.js";
|
|
6
6
|
import { CommandPalette as d } from "./static.js";
|
|
7
|
-
import { u } from "../../BM6PGYQY-
|
|
8
|
-
import { D as f } from "../../G7GW6PWC-
|
|
7
|
+
import { u } from "../../BM6PGYQY-DCbkDr5N.js";
|
|
8
|
+
import { D as f } from "../../G7GW6PWC-Dk4hVbAk.js";
|
|
9
9
|
const O = ({
|
|
10
10
|
className: r,
|
|
11
11
|
open: a,
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { DialogCommandPalette as t } from "./dialog.js";
|
|
2
|
+
import { P as m } from "../../presets-BDIhXP0C.js";
|
|
2
3
|
import { CommandPalette as a } from "./static.js";
|
|
3
|
-
const
|
|
4
|
-
Static: a
|
|
4
|
+
const s = Object.assign(t, {
|
|
5
|
+
Static: a,
|
|
6
|
+
...m
|
|
5
7
|
});
|
|
6
8
|
export {
|
|
7
|
-
|
|
9
|
+
s as CommandPalette
|
|
8
10
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "../../utils/css.js";
|
|
3
|
+
import { H as p, L as s } from "../../presets-BDIhXP0C.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import "../../combobox-group-hNvv1WJm.js";
|
|
6
|
+
import "../../JMHAJKUZ-D5KCN1Aj.js";
|
|
7
|
+
export {
|
|
8
|
+
p as HorizontalCommandPalettePreset,
|
|
9
|
+
s as ListCommandPalettePreset
|
|
10
|
+
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
2
|
import { Command } from './types';
|
|
3
3
|
import * as Ariakit from "@ariakit/react";
|
|
4
|
-
interface CommandPaletteItemProps {
|
|
4
|
+
export interface CommandPaletteItemProps {
|
|
5
5
|
command: Command;
|
|
6
6
|
className?: string;
|
|
7
7
|
}
|
|
8
|
+
export type CommandPaletteChildren = (props: CommandPaletteItemProps) => ReactNode;
|
|
8
9
|
export interface CommandPaletteProps {
|
|
9
10
|
disclosure?: Ariakit.DialogStore;
|
|
10
11
|
className?: string;
|
|
@@ -13,14 +14,6 @@ export interface CommandPaletteProps {
|
|
|
13
14
|
placeholder?: string;
|
|
14
15
|
commands: Command[];
|
|
15
16
|
suggestions?: Command[];
|
|
16
|
-
|
|
17
|
-
item: FC<CommandPaletteItemProps>;
|
|
18
|
-
group: FC<CommandPaletteItemProps>;
|
|
19
|
-
};
|
|
17
|
+
children?: CommandPaletteChildren;
|
|
20
18
|
}
|
|
21
19
|
export declare const CommandPalette: FC<CommandPaletteProps>;
|
|
22
|
-
export declare const CommandItem: FC<CommandPaletteItemProps & {
|
|
23
|
-
render?: Ariakit.ComboboxItemProps["render"];
|
|
24
|
-
}>;
|
|
25
|
-
export declare const CommandGroup: FC<CommandPaletteItemProps>;
|
|
26
|
-
export {};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { cn as
|
|
1
|
+
import { jsx as e, jsxs as s } from "react/jsx-runtime";
|
|
2
|
+
import { cn as f } from "../../utils/css.js";
|
|
3
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
|
|
5
|
-
import
|
|
6
|
-
import { startTransition as f } from "react";
|
|
4
|
+
import { noop as N } from "../../utils/noop.js";
|
|
5
|
+
import { startTransition as b } from "react";
|
|
7
6
|
/* empty css */
|
|
8
7
|
/* empty css */
|
|
9
8
|
/* empty css */
|
|
@@ -14,144 +13,64 @@ import "../../primitives/symbol/index.js";
|
|
|
14
13
|
/* empty css */
|
|
15
14
|
/* empty css */
|
|
16
15
|
/* empty css */
|
|
17
|
-
import { Keyboard as
|
|
16
|
+
import { Keyboard as x } from "../../primitives/typography/keyboard.js";
|
|
18
17
|
/* empty css */
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import { C as
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
[
|
|
29
|
-
|
|
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
|
-
}
|
|
18
|
+
import { s as C } from "../../MagnifyingGlass.es-CLstwG_v.js";
|
|
19
|
+
import { L as S } from "../../presets-BDIhXP0C.js";
|
|
20
|
+
import { C as v, a as y, b as L } from "../../MAXQOH4L-BYWBWXpb.js";
|
|
21
|
+
const I = ({
|
|
22
|
+
disclosure: m,
|
|
23
|
+
className: l,
|
|
24
|
+
search: c = "",
|
|
25
|
+
onSearchChange: p = N,
|
|
26
|
+
placeholder: i = "Search...",
|
|
27
|
+
commands: r = [],
|
|
28
|
+
children: d = S
|
|
67
29
|
}) => {
|
|
68
|
-
const
|
|
69
|
-
|
|
70
|
-
|
|
30
|
+
const _ = (t) => {
|
|
31
|
+
b(() => {
|
|
32
|
+
p(t);
|
|
71
33
|
});
|
|
72
|
-
},
|
|
73
|
-
var
|
|
74
|
-
(
|
|
75
|
-
},
|
|
76
|
-
return /* @__PURE__ */
|
|
77
|
-
|
|
34
|
+
}, h = (t) => {
|
|
35
|
+
var o, n;
|
|
36
|
+
(n = (o = r.flatMap((a) => [a, ...a.children || []]).find((a) => a.id === t)) == null ? void 0 : o.onSelect) == null || n.call(o);
|
|
37
|
+
}, u = r.length > 0;
|
|
38
|
+
return /* @__PURE__ */ e("div", { className: f("component-command-palette__static", l), children: /* @__PURE__ */ s(
|
|
39
|
+
v,
|
|
78
40
|
{
|
|
79
41
|
focusLoop: !1,
|
|
80
42
|
includesBaseElement: !1,
|
|
81
43
|
resetValueOnHide: !0,
|
|
82
|
-
value:
|
|
83
|
-
setValue:
|
|
44
|
+
value: c,
|
|
45
|
+
setValue: _,
|
|
84
46
|
selectedValue: "",
|
|
85
|
-
setSelectedValue:
|
|
86
|
-
disclosure:
|
|
47
|
+
setSelectedValue: h,
|
|
48
|
+
disclosure: m,
|
|
49
|
+
open: m ? void 0 : !0,
|
|
87
50
|
children: [
|
|
88
|
-
/* @__PURE__ */
|
|
89
|
-
/* @__PURE__ */
|
|
90
|
-
/* @__PURE__ */
|
|
91
|
-
|
|
51
|
+
/* @__PURE__ */ s("header", { className: "component-command-palette__header", children: [
|
|
52
|
+
/* @__PURE__ */ e(C, { className: "component-command-palette__header__icon" }),
|
|
53
|
+
/* @__PURE__ */ e(
|
|
54
|
+
y,
|
|
92
55
|
{
|
|
93
56
|
autoSelect: "always",
|
|
94
57
|
className: "component-command-palette__input",
|
|
95
58
|
type: "search",
|
|
96
|
-
placeholder:
|
|
59
|
+
placeholder: i
|
|
97
60
|
}
|
|
98
61
|
),
|
|
99
|
-
/* @__PURE__ */
|
|
62
|
+
m && /* @__PURE__ */ e(x, { className: "component-command-palette__close", children: "Esc" })
|
|
100
63
|
] }),
|
|
101
|
-
|
|
102
|
-
(
|
|
103
|
-
|
|
64
|
+
u ? /* @__PURE__ */ e(L, { className: "component-command-palette__results", children: r.map(
|
|
65
|
+
(t) => d({
|
|
66
|
+
command: t,
|
|
67
|
+
className: "component-command-palette__results__item"
|
|
68
|
+
})
|
|
69
|
+
) }) : /* @__PURE__ */ e("div", { className: "component-command-palette__empty", children: "No results found" })
|
|
104
70
|
]
|
|
105
71
|
}
|
|
106
72
|
) });
|
|
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
73
|
};
|
|
153
74
|
export {
|
|
154
|
-
|
|
155
|
-
h as CommandItem,
|
|
156
|
-
e0 as CommandPalette
|
|
75
|
+
I as CommandPalette
|
|
157
76
|
};
|
|
@@ -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-BJEfhgr1.js";
|
|
21
|
+
import { P as _ } from "../../../WMYDSCNQ-pGjWB-Pk.js";
|
|
22
|
+
import { P as h } from "../../../G7GW6PWC-Dk4hVbAk.js";
|
|
23
23
|
const H = (t) => {
|
|
24
24
|
const { baseProps: s, controlProps: r } = P(t, {
|
|
25
25
|
className: "component-base-popover-control"
|
|
@@ -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-DyJogHYh.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-DyJogHYh.js";
|
|
12
|
+
import "../../../composite-provider-BPIeS4Cg.js";
|
|
13
|
+
import "../../../5JTVDSTH-CZ7mfyUK.js";
|
|
14
|
+
import "../../../J2LQO3EC-BXJIaM2U.js";
|
|
15
|
+
import "../../../6VRAQV3D-BYmT0QTl.js";
|
|
16
16
|
export {
|
|
17
17
|
d as DatePicker
|
|
18
18
|
};
|
|
@@ -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-B3DYk9eV.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) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as t, jsxs as r } from "react/jsx-runtime";
|
|
2
2
|
import { cn as L } from "../../../utils/css.js";
|
|
3
3
|
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 */
|
|
4
4
|
import { noop as g } from "../../../utils/noop.js";
|
|
@@ -18,49 +18,50 @@ import { normalizeOption as z } from "../../../types/options.js";
|
|
|
18
18
|
import { s as A } from "../../../MagnifyingGlass.es-CLstwG_v.js";
|
|
19
19
|
import { m as H } from "../../../match-sorter.esm-MNVE8H_6.js";
|
|
20
20
|
/* empty css */
|
|
21
|
-
import { C as M, a as h, b as T
|
|
22
|
-
import { S as $, a as q, b as B, c as D, d as E } from "../../../select-popover-
|
|
23
|
-
import { C as F } from "../../../combobox-popover-
|
|
24
|
-
|
|
21
|
+
import { C as M, a as h, b as T } from "../../../MAXQOH4L-BYWBWXpb.js";
|
|
22
|
+
import { S as $, a as q, b as B, c as D, d as E } from "../../../select-popover-Dheunyb0.js";
|
|
23
|
+
import { C as F } from "../../../combobox-popover-BZ_1wNrj.js";
|
|
24
|
+
import { C as f } from "../../../JMHAJKUZ-D5KCN1Aj.js";
|
|
25
|
+
const Se = ({
|
|
25
26
|
className: u,
|
|
26
|
-
value:
|
|
27
|
+
value: s,
|
|
27
28
|
onChangeValue: p = g,
|
|
28
29
|
options: v,
|
|
29
30
|
searchable: i = !1,
|
|
30
|
-
combobox:
|
|
31
|
+
combobox: o = !1,
|
|
31
32
|
placeholder: S = "Choose an option...",
|
|
32
33
|
prefix: G,
|
|
33
34
|
suffix: J,
|
|
34
35
|
children: N,
|
|
35
36
|
withIcon: K,
|
|
36
|
-
...
|
|
37
|
+
...C
|
|
37
38
|
}) => {
|
|
38
|
-
|
|
39
|
-
const [n, a] = _(!1), [c,
|
|
39
|
+
o && (i = !0);
|
|
40
|
+
const [n, a] = _(!1), [c, P] = _(""), l = (v || []).map(z), m = j(() => H(l, c, {
|
|
40
41
|
baseSort: (e, x) => e.index < x.index ? -1 : 1,
|
|
41
42
|
keys: ["label", "description"]
|
|
42
|
-
}), [c]), O = i ||
|
|
43
|
-
return /* @__PURE__ */
|
|
43
|
+
}), [c]), O = i || o ? T : D, w = o ? f : E, I = o ? h : q, V = o ? F : B, d = !!!l.find((e) => e.value === s);
|
|
44
|
+
return /* @__PURE__ */ t(
|
|
44
45
|
M,
|
|
45
46
|
{
|
|
46
|
-
resetValueOnHide: !
|
|
47
|
+
resetValueOnHide: !o,
|
|
47
48
|
open: n,
|
|
48
49
|
setOpen: a,
|
|
49
|
-
value:
|
|
50
|
+
value: o ? s : c,
|
|
50
51
|
setValue: (e) => {
|
|
51
|
-
|
|
52
|
-
|
|
52
|
+
o && p(e), y(() => {
|
|
53
|
+
P(e);
|
|
53
54
|
});
|
|
54
55
|
},
|
|
55
|
-
children: /* @__PURE__ */
|
|
56
|
+
children: /* @__PURE__ */ r(
|
|
56
57
|
$,
|
|
57
58
|
{
|
|
58
|
-
value: d ? "" :
|
|
59
|
+
value: d ? "" : s,
|
|
59
60
|
setValue: p,
|
|
60
61
|
open: n,
|
|
61
62
|
setOpen: a,
|
|
62
63
|
children: [
|
|
63
|
-
/* @__PURE__ */
|
|
64
|
+
/* @__PURE__ */ t(
|
|
64
65
|
I,
|
|
65
66
|
{
|
|
66
67
|
className: L(
|
|
@@ -68,12 +69,12 @@ const ve = ({
|
|
|
68
69
|
"component-select__input",
|
|
69
70
|
d && "component-select__input--placeholder"
|
|
70
71
|
),
|
|
71
|
-
children:
|
|
72
|
+
children: o ? void 0 : N,
|
|
72
73
|
placeholder: S,
|
|
73
|
-
...
|
|
74
|
+
...C
|
|
74
75
|
}
|
|
75
76
|
),
|
|
76
|
-
n && m.length > 0 && /* @__PURE__ */
|
|
77
|
+
n && m.length > 0 && /* @__PURE__ */ t(
|
|
77
78
|
V,
|
|
78
79
|
{
|
|
79
80
|
className: "component-select__popover",
|
|
@@ -85,10 +86,10 @@ const ve = ({
|
|
|
85
86
|
gutter: 8,
|
|
86
87
|
overflowPadding: 4,
|
|
87
88
|
shift: -1,
|
|
88
|
-
children: /* @__PURE__ */
|
|
89
|
-
i && !
|
|
90
|
-
/* @__PURE__ */
|
|
91
|
-
/* @__PURE__ */
|
|
89
|
+
children: /* @__PURE__ */ r(k, { className: "component-select__popover__scroll", axis: "y", children: [
|
|
90
|
+
i && !o && /* @__PURE__ */ r("div", { className: "component-select__popover__search-wrapper", children: [
|
|
91
|
+
/* @__PURE__ */ t(A, { className: "component-select__popover__search-icon" }),
|
|
92
|
+
/* @__PURE__ */ t(
|
|
92
93
|
h,
|
|
93
94
|
{
|
|
94
95
|
autoSelect: !0,
|
|
@@ -97,19 +98,19 @@ const ve = ({
|
|
|
97
98
|
}
|
|
98
99
|
)
|
|
99
100
|
] }),
|
|
100
|
-
/* @__PURE__ */
|
|
101
|
+
/* @__PURE__ */ t(O, { className: "component-select__list", children: m.map((e) => /* @__PURE__ */ r(
|
|
101
102
|
w,
|
|
102
103
|
{
|
|
103
104
|
disabled: e.disabled,
|
|
104
105
|
value: e.value,
|
|
105
106
|
className: "component-select__option",
|
|
106
|
-
render: /* @__PURE__ */
|
|
107
|
+
render: /* @__PURE__ */ t(f, {}),
|
|
107
108
|
children: [
|
|
108
|
-
/* @__PURE__ */
|
|
109
|
+
/* @__PURE__ */ r("div", { className: "component-select__option__label", children: [
|
|
109
110
|
e.icon,
|
|
110
111
|
e.label
|
|
111
112
|
] }),
|
|
112
|
-
e.description && /* @__PURE__ */
|
|
113
|
+
e.description && /* @__PURE__ */ t("div", { className: "component-select__option__description", children: e.description })
|
|
113
114
|
]
|
|
114
115
|
},
|
|
115
116
|
e.value
|
|
@@ -124,5 +125,5 @@ const ve = ({
|
|
|
124
125
|
);
|
|
125
126
|
};
|
|
126
127
|
export {
|
|
127
|
-
|
|
128
|
+
Se as Select
|
|
128
129
|
};
|