@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
|
@@ -19,13 +19,14 @@ import { e as I } from "../../../X.es-TbGOnXOO.js";
|
|
|
19
19
|
import { m as j } from "../../../match-sorter.esm-MNVE8H_6.js";
|
|
20
20
|
import { BaseControl as L } from "../base-control/index.js";
|
|
21
21
|
import { useBaseControlProps as M } from "../base-control/props.js";
|
|
22
|
-
import { T as A, a as K, b as U, c as $, d as q, C as D } from "../../../tag-remove-
|
|
22
|
+
import { T as A, a as K, b as U, c as $, d as q, C as D } from "../../../tag-remove-Dz-sGbyZ.js";
|
|
23
23
|
import { normalizeTag as d, normalizeCreateTagRules as E } from "./props.js";
|
|
24
24
|
/* empty css */
|
|
25
|
-
import { C as F, a as G
|
|
26
|
-
import { C as H } from "../../../combobox-popover-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
import { C as F, a as G } from "../../../MAXQOH4L-BYWBWXpb.js";
|
|
26
|
+
import { C as H } from "../../../combobox-popover-BZ_1wNrj.js";
|
|
27
|
+
import { C as h } from "../../../JMHAJKUZ-D5KCN1Aj.js";
|
|
28
|
+
function wo(f) {
|
|
29
|
+
const { baseProps: v, controlProps: b } = M(f, {
|
|
29
30
|
className: "component-tag-control"
|
|
30
31
|
}), [a, C] = g(""), [N, w] = g([]), {
|
|
31
32
|
value: x = [],
|
|
@@ -54,7 +55,7 @@ function No(v) {
|
|
|
54
55
|
setValues: y,
|
|
55
56
|
value: a,
|
|
56
57
|
setValue: C,
|
|
57
|
-
children: /* @__PURE__ */ e(L, { ...
|
|
58
|
+
children: /* @__PURE__ */ e(L, { ...v, children: /* @__PURE__ */ t(K, { className: "component-tag-control__box", children: [
|
|
58
59
|
p.map((o) => /* @__PURE__ */ t(
|
|
59
60
|
_,
|
|
60
61
|
{
|
|
@@ -136,5 +137,5 @@ function No(v) {
|
|
|
136
137
|
);
|
|
137
138
|
}
|
|
138
139
|
export {
|
|
139
|
-
|
|
140
|
+
wo as TagControl
|
|
140
141
|
};
|
|
@@ -17,8 +17,8 @@ import { H1 as g } from "../../primitives/typography/heading.js";
|
|
|
17
17
|
/* empty css */
|
|
18
18
|
import { e as f } from "../../X.es-TbGOnXOO.js";
|
|
19
19
|
import { Button as h } from "../button/index.js";
|
|
20
|
-
import { D as _ } from "../../G7GW6PWC-
|
|
21
|
-
import { D, a as N } from "../../TIW3GMFC-
|
|
20
|
+
import { D as _ } from "../../G7GW6PWC-Dk4hVbAk.js";
|
|
21
|
+
import { D, a as N } from "../../TIW3GMFC-BF0w2_9R.js";
|
|
22
22
|
const M = ({
|
|
23
23
|
className: m,
|
|
24
24
|
open: e = !1,
|
|
@@ -2,7 +2,7 @@ import { jsxs as n, jsx as o } from "react/jsx-runtime";
|
|
|
2
2
|
import { cn as l } from "../../utils/css.js";
|
|
3
3
|
import { extension as c, filename as _ } from "../../utils/string.js";
|
|
4
4
|
import { Icon as a } from "./icon.js";
|
|
5
|
-
import { C as r } from "../../6VRAQV3D-
|
|
5
|
+
import { C as r } from "../../6VRAQV3D-BYmT0QTl.js";
|
|
6
6
|
const N = ({ name: e, href: s }) => {
|
|
7
7
|
const i = c(e), m = _(e), t = s ? "a" : "span";
|
|
8
8
|
return /* @__PURE__ */ n(
|
|
@@ -3,11 +3,11 @@ import * as e from "react";
|
|
|
3
3
|
import { useState as s } from "react";
|
|
4
4
|
import { w as m } from "../../SSRBase.es-BUXS72ra.js";
|
|
5
5
|
import { List as A } from "./list.js";
|
|
6
|
-
import { D as p } from "../../disclosure-provider-
|
|
7
|
-
import { C as i, b as d } from "../../YORGHBM4-
|
|
8
|
-
import { C as V } from "../../6VRAQV3D-
|
|
9
|
-
import { D as Z } from "../../F5MUBM3I-
|
|
10
|
-
import { D as h } from "../../KFH4SEIX-
|
|
6
|
+
import { D as p } from "../../disclosure-provider-cEVysvZT.js";
|
|
7
|
+
import { C as i, b as d } from "../../YORGHBM4-D_fOXG5Y.js";
|
|
8
|
+
import { C as V } from "../../6VRAQV3D-BYmT0QTl.js";
|
|
9
|
+
import { D as Z } from "../../F5MUBM3I-75qY3y0N.js";
|
|
10
|
+
import { D as h } from "../../KFH4SEIX-DaQeP5D_.js";
|
|
11
11
|
const M = /* @__PURE__ */ new Map([
|
|
12
12
|
[
|
|
13
13
|
"bold",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { cn as e } from "../../utils/css.js";
|
|
3
3
|
import { forwardRef as s } from "react";
|
|
4
|
-
import { C as i } from "../../5JTVDSTH-
|
|
4
|
+
import { C as i } from "../../5JTVDSTH-CZ7mfyUK.js";
|
|
5
5
|
const c = s(
|
|
6
6
|
({ className: r, ...m }, t) => /* @__PURE__ */ o(
|
|
7
7
|
i,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { List as t } from "./list.js";
|
|
3
|
-
import { C as i } from "../../composite-provider-
|
|
3
|
+
import { C as i } from "../../composite-provider-BPIeS4Cg.js";
|
|
4
4
|
const p = ({ ...r }) => /* @__PURE__ */ o(i, { orientation: "vertical", children: /* @__PURE__ */ o(t, { ...r }) });
|
|
5
5
|
export {
|
|
6
6
|
p as Root
|
|
@@ -2,7 +2,7 @@ export { Avatar } from './avatar';
|
|
|
2
2
|
export { Badge } from './badge';
|
|
3
3
|
export { Breadcrumbs } from './breadcrumbs';
|
|
4
4
|
export { Button } from './button';
|
|
5
|
-
export { CommandPalette } from './command-palette';
|
|
5
|
+
export { CommandPalette, type Command } from './command-palette';
|
|
6
6
|
export * from './controls';
|
|
7
7
|
export { DataForm } from './data-form';
|
|
8
8
|
export { DataView, Filters, useSchema, useView, type DataViewProps, type View, } from './data-view';
|
|
@@ -2,9 +2,9 @@ import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { cn as d } from "../../utils/css.js";
|
|
3
3
|
import { useState as M } from "react";
|
|
4
4
|
import { Button as r } from "../button/index.js";
|
|
5
|
-
import { M as w } from "../../item-
|
|
5
|
+
import { M as w } from "../../item-CmTk8eHD.js";
|
|
6
6
|
import '../../assets/style20.css';/* empty css */
|
|
7
|
-
import { M as _, a as h, b as v } from "../../menu-button-
|
|
7
|
+
import { M as _, a as h, b as v } from "../../menu-button-GQO5dB3U.js";
|
|
8
8
|
const I = ({
|
|
9
9
|
className: n,
|
|
10
10
|
iconOnly: t = !1,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { EmptyIcon as c } from "../icon.js";
|
|
3
|
-
import { M as t } from "../../../2NBKRL7C-
|
|
3
|
+
import { M as t } from "../../../2NBKRL7C-DBbnghCe.js";
|
|
4
4
|
const l = ({ item: n }) => {
|
|
5
5
|
const m = n.icon || c;
|
|
6
6
|
return /* @__PURE__ */ o(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { M as e } from "../../../menu-separator-
|
|
2
|
+
import { M as e } from "../../../menu-separator-Z6pSHpX5.js";
|
|
3
3
|
const a = () => /* @__PURE__ */ r(e, { className: "component-menu__separator" });
|
|
4
4
|
export {
|
|
5
5
|
a as SeparatorMenuItem
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../../../CaretRight.es-vnr78BGI.js";
|
|
3
3
|
import "../icon.js";
|
|
4
|
-
import { S as u } from "../../../item-
|
|
5
|
-
import "../../../menu-button-
|
|
6
|
-
import "../../../2NBKRL7C-
|
|
4
|
+
import { S as u } from "../../../item-CmTk8eHD.js";
|
|
5
|
+
import "../../../menu-button-GQO5dB3U.js";
|
|
6
|
+
import "../../../2NBKRL7C-DBbnghCe.js";
|
|
7
7
|
export {
|
|
8
8
|
u as SubmenuMenuItem
|
|
9
9
|
};
|
|
@@ -3,7 +3,7 @@ import { cn as r } from "../../../utils/css.js";
|
|
|
3
3
|
import { r as a, a as i } from "../../../Square.es-KJLdY11q.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { EmptyIcon as p } from "../icon.js";
|
|
6
|
-
import { M as d } from "../../../2NBKRL7C-
|
|
6
|
+
import { M as d } from "../../../2NBKRL7C-DBbnghCe.js";
|
|
7
7
|
const x = ({ item: e }) => {
|
|
8
8
|
const t = e.icon || p, s = () => {
|
|
9
9
|
var _, m, l;
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import { Navigation as o } from "./navigation.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
2
|
+
import { NavigationSeparator as r } from "./navigation-separator.js";
|
|
3
|
+
import { Pane as t } from "./pane.js";
|
|
4
|
+
import { Root as i } from "./root.js";
|
|
5
|
+
import { Sidebar as m } from "./sidebar.js";
|
|
6
|
+
import { SidebarItem as a } from "./sidebar-item.js";
|
|
7
|
+
import { SidebarSeparator as e } from "./sidebar-separator.js";
|
|
8
|
+
import '../../assets/index9.css';const s = Object.assign(i, {
|
|
9
|
+
Pane: t,
|
|
10
|
+
Sidebar: m,
|
|
11
|
+
SidebarItem: a,
|
|
12
|
+
SidebarSeparator: e,
|
|
13
|
+
Navigation: o,
|
|
14
|
+
NavigationSeparator: r
|
|
13
15
|
});
|
|
14
16
|
export {
|
|
15
|
-
|
|
17
|
+
s as Shell
|
|
16
18
|
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { cn as a } from "../../utils/css.js";
|
|
3
|
+
const n = ({
|
|
4
|
+
className: o
|
|
5
|
+
}) => /* @__PURE__ */ r(
|
|
6
|
+
"div",
|
|
7
|
+
{
|
|
8
|
+
role: "separator",
|
|
9
|
+
className: a("component-shell__navigation-separator", o)
|
|
10
|
+
}
|
|
11
|
+
);
|
|
12
|
+
export {
|
|
13
|
+
n as NavigationSeparator
|
|
14
|
+
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { NavLinkProps } from '../../primitives/nav-link';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
interface SidebarItemProps extends NavLinkProps {
|
|
4
4
|
label: string;
|
|
5
|
-
|
|
5
|
+
divide?: boolean;
|
|
6
|
+
end?: boolean;
|
|
6
7
|
}
|
|
7
8
|
export declare const SidebarItem: FC<SidebarItemProps>;
|
|
8
9
|
export {};
|
|
@@ -1,39 +1,45 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { cn as
|
|
1
|
+
import { jsx as s, jsxs as n } from "react/jsx-runtime";
|
|
2
|
+
import { cn as l } from "../../utils/css.js";
|
|
3
3
|
import '../../assets/styles.css';import '../../assets/style6.css';import '../../assets/style5.css';import '../../assets/style3.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 */
|
|
7
|
-
import { NavLink as
|
|
7
|
+
import { NavLink as a } from "../../primitives/nav-link/index.js";
|
|
8
8
|
import "../../primitives/popover/index.js";
|
|
9
9
|
/* empty css */
|
|
10
10
|
import "../../primitives/scroll-area/index.js";
|
|
11
11
|
import "../../primitives/symbol/index.js";
|
|
12
|
-
import { Tooltip as
|
|
12
|
+
import { Tooltip as d } from "../../primitives/tooltip/index.js";
|
|
13
13
|
/* empty css */
|
|
14
14
|
/* empty css */
|
|
15
15
|
/* empty css */
|
|
16
|
-
import { useShell as
|
|
17
|
-
const
|
|
16
|
+
import { useShell as c } from "./context.js";
|
|
17
|
+
const q = ({
|
|
18
18
|
className: o,
|
|
19
|
-
children:
|
|
19
|
+
children: i,
|
|
20
20
|
label: r,
|
|
21
|
-
|
|
21
|
+
divide: e = !1,
|
|
22
|
+
end: m = !1,
|
|
23
|
+
...t
|
|
22
24
|
}) => {
|
|
23
|
-
const { isSidebarOpen:
|
|
24
|
-
return /* @__PURE__ */
|
|
25
|
-
|
|
25
|
+
const { isSidebarOpen: p } = c();
|
|
26
|
+
return /* @__PURE__ */ s(
|
|
27
|
+
d,
|
|
26
28
|
{
|
|
27
|
-
|
|
28
|
-
label: !t && r,
|
|
29
|
+
label: !p && r,
|
|
29
30
|
placement: "right",
|
|
30
|
-
|
|
31
|
-
|
|
31
|
+
render: /* @__PURE__ */ n(
|
|
32
|
+
a,
|
|
32
33
|
{
|
|
33
|
-
className:
|
|
34
|
-
|
|
34
|
+
className: l(
|
|
35
|
+
"component-shell__sidebar-item",
|
|
36
|
+
e && "component-shell__sidebar-item--divide",
|
|
37
|
+
m && "component-shell__sidebar-item--end",
|
|
38
|
+
o
|
|
39
|
+
),
|
|
40
|
+
...t,
|
|
35
41
|
children: [
|
|
36
|
-
|
|
42
|
+
i,
|
|
37
43
|
r
|
|
38
44
|
]
|
|
39
45
|
}
|
|
@@ -42,5 +48,5 @@ const L = ({
|
|
|
42
48
|
);
|
|
43
49
|
};
|
|
44
50
|
export {
|
|
45
|
-
|
|
51
|
+
q as SidebarItem
|
|
46
52
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { cn as m } from "../../utils/css.js";
|
|
3
|
-
import { T as i } from "../../tab-list-
|
|
3
|
+
import { T as i } from "../../tab-list-CndMWcVv.js";
|
|
4
4
|
const c = ({ className: t, children: o, style: r }) => /* @__PURE__ */ s(
|
|
5
5
|
i,
|
|
6
6
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { cn as r } from "../../utils/css.js";
|
|
3
|
-
import { T as s } from "../../tab-
|
|
3
|
+
import { T as s } from "../../tab-DejwS4C8.js";
|
|
4
4
|
const c = ({ className: o, value: t, children: m }) => /* @__PURE__ */ a(s, { id: t, className: r("component-tabs__tab", o), children: /* @__PURE__ */ a("div", { className: "component-tabs__tab__label", children: m }) });
|
|
5
5
|
export {
|
|
6
6
|
c as Tab
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { cn as t } from "../../utils/css.js";
|
|
3
|
-
import { T as m } from "../../toolbar-separator-
|
|
3
|
+
import { T as m } from "../../toolbar-separator-DJHiHbGj.js";
|
|
4
4
|
const p = ({ className: o }) => /* @__PURE__ */ r(
|
|
5
5
|
m,
|
|
6
6
|
{
|
|
@@ -2,7 +2,7 @@ import { createComposite as t } from "../../utils/components.js";
|
|
|
2
2
|
import { Button as r } from "../button/index.js";
|
|
3
3
|
import { Divider as m } from "./divider.js";
|
|
4
4
|
import { Root as i } from "./root.js";
|
|
5
|
-
import { T as o } from "../../IWEFDH56-
|
|
5
|
+
import { T as o } from "../../IWEFDH56-BACkQ6dc.js";
|
|
6
6
|
import '../../assets/index12.css';const p = Object.assign(i, {
|
|
7
7
|
Generic: o,
|
|
8
8
|
IconButton: t(o, r.Icon, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { cn as m } from "../../utils/css.js";
|
|
3
|
-
import { T as a } from "../../toolbar-
|
|
3
|
+
import { T as a } from "../../toolbar-PSaF1mdF.js";
|
|
4
4
|
const c = ({ className: o, children: r }) => /* @__PURE__ */ t(a, { className: m("component-toolbar", o), children: r });
|
|
5
5
|
export {
|
|
6
6
|
c as Root
|
|
@@ -10,7 +10,7 @@ import "../../primitives/popover/index.js";
|
|
|
10
10
|
import { Resizable as f } from "../../primitives/resizable/index.js";
|
|
11
11
|
import "../../primitives/scroll-area/index.js";
|
|
12
12
|
import "../../primitives/symbol/index.js";
|
|
13
|
-
import { a as h } from "../../G7GW6PWC-
|
|
13
|
+
import { a as h } from "../../G7GW6PWC-Dk4hVbAk.js";
|
|
14
14
|
/* empty css */
|
|
15
15
|
/* empty css */
|
|
16
16
|
import { H3 as w } from "../../primitives/typography/heading.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as e } from "./4CMBR7SL-
|
|
2
|
-
import { C as t } from "./P7GR5CS5-
|
|
1
|
+
import { u as e } from "./4CMBR7SL-DezfZPUS.js";
|
|
2
|
+
import { C as t } from "./P7GR5CS5-3RsPGPTy.js";
|
|
3
3
|
import { jsx as i } from "react/jsx-runtime";
|
|
4
4
|
function C(o = {}) {
|
|
5
5
|
const r = e(o);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as e } from "./WYCIER3C-
|
|
2
|
-
import { a as s } from "./RS7LB2H4-
|
|
1
|
+
import { u as e } from "./WYCIER3C-CxfgpZG_.js";
|
|
2
|
+
import { a as s } from "./RS7LB2H4-COOfOq9w.js";
|
|
3
3
|
import { jsx as i } from "react/jsx-runtime";
|
|
4
4
|
function n(r = {}) {
|
|
5
5
|
const o = e(r);
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { Avatar as e } from "./components/avatar/index.js";
|
|
2
2
|
import { Badge as m } from "./components/badge/index.js";
|
|
3
|
-
import { Breadcrumbs as
|
|
3
|
+
import { Breadcrumbs as f } from "./components/breadcrumbs/index.js";
|
|
4
4
|
import { Button as a } from "./components/button/index.js";
|
|
5
5
|
import { CommandPalette as n } from "./components/command-palette/index.js";
|
|
6
|
-
import { BaseControl as
|
|
7
|
-
import { CardNumberControl as
|
|
8
|
-
import { CheckboxControl as
|
|
9
|
-
import { ChoiceControl as
|
|
10
|
-
import { DateControl as
|
|
11
|
-
import { ListControl as
|
|
6
|
+
import { BaseControl as i } from "./components/controls/base-control/index.js";
|
|
7
|
+
import { CardNumberControl as C } from "./components/controls/card-number-control/index.js";
|
|
8
|
+
import { CheckboxControl as g } from "./components/controls/checkbox-control/index.js";
|
|
9
|
+
import { ChoiceControl as b } from "./components/controls/choice-control/index.js";
|
|
10
|
+
import { DateControl as h } from "./components/controls/date-control/index.js";
|
|
11
|
+
import { ListControl as H } from "./components/controls/list-control/index.js";
|
|
12
12
|
import { MarkdownControl as w } from "./components/controls/markdown-control/index.js";
|
|
13
|
-
import { NumberControl as
|
|
14
|
-
import { PasswordControl as
|
|
13
|
+
import { NumberControl as P } from "./components/controls/number-control/index.js";
|
|
14
|
+
import { PasswordControl as F } from "./components/controls/password-control/index.js";
|
|
15
15
|
import { RecurrenceControl as L } from "./components/controls/recurrence-control/index.js";
|
|
16
16
|
import { SelectControl as v } from "./components/controls/select-control/control.js";
|
|
17
17
|
import { Select as N } from "./components/controls/select-control/select.js";
|
|
18
|
-
import { TagControl as
|
|
19
|
-
import { TextControl as
|
|
20
|
-
import { TextareaControl as
|
|
21
|
-
import { ToggleControl as
|
|
18
|
+
import { TagControl as V } from "./components/controls/tag-control/index.js";
|
|
19
|
+
import { TextControl as I } from "./components/controls/text-control/index.js";
|
|
20
|
+
import { TextareaControl as z } from "./components/controls/textarea-control/index.js";
|
|
21
|
+
import { ToggleControl as K } from "./components/controls/toggle-control/index.js";
|
|
22
22
|
import { ToggleGroupControl as q } from "./components/controls/toggle-group-control/index.js";
|
|
23
23
|
import { DataForm as J } from "./components/data-form/index.js";
|
|
24
24
|
import { useSchema as U, useView as X } from "./components/data-view/api.js";
|
|
@@ -27,23 +27,23 @@ import { Root as $ } from "./components/data-view/root.js";
|
|
|
27
27
|
import { Dialog as ro } from "./components/dialog/index.js";
|
|
28
28
|
import { Filesystem as to } from "./components/filesystem/index.js";
|
|
29
29
|
import { Form as po } from "./components/form/components/index.js";
|
|
30
|
-
import { createForm as
|
|
30
|
+
import { createForm as xo } from "./components/form/types/form.js";
|
|
31
31
|
import { Menu as lo } from "./components/menu/index.js";
|
|
32
32
|
import { Progress as so } from "./components/progress/index.js";
|
|
33
33
|
import { Shell as uo } from "./components/shell/index.js";
|
|
34
|
-
import { Tabs as
|
|
35
|
-
import { Tag as
|
|
36
|
-
import { Toolbar as
|
|
37
|
-
import { Window as
|
|
34
|
+
import { Tabs as co } from "./components/tabs/index.js";
|
|
35
|
+
import { Tag as bo } from "./components/tag/index.js";
|
|
36
|
+
import { Toolbar as ho } from "./components/toolbar/index.js";
|
|
37
|
+
import { Window as Ho } from "./components/window/index.js";
|
|
38
38
|
import { useSplitInput as wo } from "./hooks/input.js";
|
|
39
|
-
import { useHotkey as
|
|
39
|
+
import { useHotkey as Po, useModifiers as Do } from "./hooks/keyboard.js";
|
|
40
40
|
import { useSelection as Bo } from "./hooks/selection.js";
|
|
41
41
|
import { useObjectState as Ro } from "./hooks/state.js";
|
|
42
42
|
import { useTemporaryChange as Mo } from "./hooks/temporary.js";
|
|
43
|
-
import { useTheme as
|
|
44
|
-
import { Colourway as
|
|
45
|
-
import { Draggable as
|
|
46
|
-
import { IconLabel as
|
|
43
|
+
import { useTheme as Oo } from "./hooks/theme.js";
|
|
44
|
+
import { Colourway as Ao } from "./primitives/colourway/index.js";
|
|
45
|
+
import { Draggable as jo } from "./primitives/draggable/index.js";
|
|
46
|
+
import { IconLabel as Go } from "./primitives/icon-label/index.js";
|
|
47
47
|
import { Link as Wo } from "./primitives/link/index.js";
|
|
48
48
|
import { NavLink as Eo } from "./primitives/nav-link/index.js";
|
|
49
49
|
import { Popover as Qo } from "./primitives/popover/index.js";
|
|
@@ -52,47 +52,55 @@ import { ScrollArea as Zo } from "./primitives/scroll-area/index.js";
|
|
|
52
52
|
import { Symbol as $o } from "./primitives/symbol/index.js";
|
|
53
53
|
import { Tooltip as rr } from "./primitives/tooltip/index.js";
|
|
54
54
|
import { Truncate as tr } from "./primitives/truncate/index.js";
|
|
55
|
-
import { H1 as pr, H2 as
|
|
55
|
+
import { H1 as pr, H2 as fr, H3 as xr, H4 as ar, H5 as lr, H6 as nr, Heading as sr } from "./primitives/typography/heading.js";
|
|
56
56
|
import { Keyboard as ur } from "./primitives/typography/keyboard.js";
|
|
57
|
-
import { Paragraph as
|
|
57
|
+
import { Paragraph as cr } from "./primitives/typography/paragraph.js";
|
|
58
58
|
import { VisuallyHidden as dr } from "./primitives/visually-hidden/index.js";
|
|
59
|
-
import {
|
|
59
|
+
import { chunk as Tr } from "./utils/array.js";
|
|
60
|
+
import { createComposite as Sr, withProps as Hr } from "./utils/components.js";
|
|
61
|
+
import { cn as wr } from "./utils/css.js";
|
|
62
|
+
import { getOrdinalSuffix as Pr } from "./utils/date.js";
|
|
63
|
+
import { noop as Fr } from "./utils/noop.js";
|
|
64
|
+
import { dot as Lr } from "./utils/object.js";
|
|
65
|
+
import { basename as vr, extension as Mr, filename as Nr, slugify as Or } from "./utils/string.js";
|
|
66
|
+
import { isCurrent as Ar, isOutbound as Ir } from "./utils/url.js";
|
|
67
|
+
import { getRandomTheme as zr } from "./primitives/colourway/util.js";
|
|
60
68
|
import './assets/index.css';export {
|
|
61
69
|
e as Avatar,
|
|
62
70
|
m as Badge,
|
|
63
|
-
|
|
64
|
-
|
|
71
|
+
i as BaseControl,
|
|
72
|
+
f as Breadcrumbs,
|
|
65
73
|
a as Button,
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
74
|
+
C as CardNumberControl,
|
|
75
|
+
g as CheckboxControl,
|
|
76
|
+
b as ChoiceControl,
|
|
77
|
+
Ao as Colourway,
|
|
70
78
|
n as CommandPalette,
|
|
71
79
|
J as DataForm,
|
|
72
80
|
$ as DataView,
|
|
73
|
-
|
|
81
|
+
h as DateControl,
|
|
74
82
|
ro as Dialog,
|
|
75
|
-
|
|
83
|
+
jo as Draggable,
|
|
76
84
|
to as Filesystem,
|
|
77
85
|
Z as Filters,
|
|
78
86
|
po as Form,
|
|
79
87
|
pr as H1,
|
|
80
|
-
|
|
81
|
-
|
|
88
|
+
fr as H2,
|
|
89
|
+
xr as H3,
|
|
82
90
|
ar as H4,
|
|
83
91
|
lr as H5,
|
|
84
92
|
nr as H6,
|
|
85
93
|
sr as Heading,
|
|
86
|
-
|
|
94
|
+
Go as IconLabel,
|
|
87
95
|
ur as Keyboard,
|
|
88
96
|
Wo as Link,
|
|
89
|
-
|
|
97
|
+
H as ListControl,
|
|
90
98
|
w as MarkdownControl,
|
|
91
99
|
lo as Menu,
|
|
92
100
|
Eo as NavLink,
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
101
|
+
P as NumberControl,
|
|
102
|
+
cr as Paragraph,
|
|
103
|
+
F as PasswordControl,
|
|
96
104
|
Qo as Popover,
|
|
97
105
|
so as Progress,
|
|
98
106
|
L as RecurrenceControl,
|
|
@@ -102,27 +110,40 @@ import './assets/index.css';export {
|
|
|
102
110
|
v as SelectControl,
|
|
103
111
|
uo as Shell,
|
|
104
112
|
$o as Symbol,
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
113
|
+
co as Tabs,
|
|
114
|
+
bo as Tag,
|
|
115
|
+
V as TagControl,
|
|
116
|
+
I as TextControl,
|
|
117
|
+
z as TextareaControl,
|
|
118
|
+
K as ToggleControl,
|
|
111
119
|
q as ToggleGroupControl,
|
|
112
|
-
|
|
120
|
+
ho as Toolbar,
|
|
113
121
|
rr as Tooltip,
|
|
114
122
|
tr as Truncate,
|
|
115
123
|
dr as VisuallyHidden,
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
124
|
+
Ho as Window,
|
|
125
|
+
vr as basename,
|
|
126
|
+
Tr as chunk,
|
|
127
|
+
wr as cn,
|
|
128
|
+
Sr as createComposite,
|
|
129
|
+
xo as createForm,
|
|
130
|
+
Lr as dot,
|
|
131
|
+
Mr as extension,
|
|
132
|
+
Nr as filename,
|
|
133
|
+
Pr as getOrdinalSuffix,
|
|
134
|
+
zr as getRandomTheme,
|
|
135
|
+
Ar as isCurrent,
|
|
136
|
+
Ir as isOutbound,
|
|
137
|
+
Fr as noop,
|
|
138
|
+
Or as slugify,
|
|
139
|
+
Po as useHotkey,
|
|
140
|
+
Do as useModifiers,
|
|
121
141
|
Ro as useObjectState,
|
|
122
142
|
U as useSchema,
|
|
123
143
|
Bo as useSelection,
|
|
124
144
|
wo as useSplitInput,
|
|
125
145
|
Mo as useTemporaryChange,
|
|
126
|
-
|
|
127
|
-
X as useView
|
|
146
|
+
Oo as useTheme,
|
|
147
|
+
X as useView,
|
|
148
|
+
Hr as withProps
|
|
128
149
|
};
|
|
@@ -4,8 +4,8 @@ import { SeparatorMenuItem as a } from "./components/menu/items/spacer.js";
|
|
|
4
4
|
import { e as i } from "./CaretRight.es-vnr78BGI.js";
|
|
5
5
|
import { EmptyIcon as u } from "./components/menu/icon.js";
|
|
6
6
|
import { ToggleMenuItem as _ } from "./components/menu/items/toggle.js";
|
|
7
|
-
import { u as p, M as l, a as d, b as M } from "./menu-button-
|
|
8
|
-
import { M as h } from "./2NBKRL7C-
|
|
7
|
+
import { u as p, M as l, a as d, b as M } from "./menu-button-GQO5dB3U.js";
|
|
8
|
+
import { M as h } from "./2NBKRL7C-DBbnghCe.js";
|
|
9
9
|
const b = ({ item: n }) => {
|
|
10
10
|
const o = n.icon || u, t = p();
|
|
11
11
|
return /* @__PURE__ */ m(l, { store: t, children: [
|