@wrdagency/blockout 0.0.19 → 0.1.1
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-BAzCMGOw.js +85 -0
- package/dist/2RSXSRCN-qt84MtKs.js +61 -0
- package/dist/4CMBR7SL-BAGv8IL2.js +308 -0
- package/dist/5JTVDSTH-CG1NL6Fw.js +174 -0
- package/dist/5VQZOHHZ-CscZGerP.js +59 -0
- package/dist/6VRAQV3D-2rb_aClP.js +201 -0
- package/dist/7PRQYBBV-91wrWGjk.js +17 -0
- package/dist/ArrowRight.es-xyNbtVOa.js +60 -0
- package/dist/DG5U6ZEL-CVj-Czp2.js +17 -0
- package/dist/F5MUBM3I-87B2_4WK.js +54 -0
- package/dist/LMDWO4NN--KEvZePp.js +610 -0
- package/dist/MTZPJQMC-DyCWBG18.js +14 -0
- package/dist/P7GR5CS5-BoOYUfSQ.js +19 -0
- package/dist/PFRGBC2K-BEg8ahbY.js +303 -0
- package/dist/RS7LB2H4-D0fWv5qu.js +15 -0
- package/dist/RZ4GPYOB-13-5LlEb.js +37 -0
- package/dist/S43UC3DV-Dn8EFLaT.js +22 -0
- package/dist/Square.es-KJLdY11q.js +72 -0
- package/dist/T7VMP3TM-DeRMoW8g.js +77 -0
- package/dist/TP7N7UIH-BHb1rEeb.js +34 -0
- package/dist/UQQRIHDV-Bu8e1bYU.js +69 -0
- package/dist/UYGDZTLQ-DcCmv5SE.js +12 -0
- package/dist/VIIRIBF3-D5DmZNtI.js +26 -0
- package/dist/WMYDSCNQ-Dy1O-Kdl.js +2405 -0
- package/dist/WYCIER3C-DRn904Gy.js +175 -0
- package/dist/YV4JVR4I-kvospPUa.js +351 -0
- package/dist/_commonjsHelpers-C6fGbg64.js +6 -0
- package/dist/assets/button.css +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/assets/index10.css +1 -1
- package/dist/assets/index11.css +1 -1
- package/dist/assets/index12.css +1 -1
- package/dist/assets/index13.css +1 -1
- package/dist/assets/index14.css +1 -0
- package/dist/assets/index15.css +1 -0
- package/dist/assets/index16.css +1 -0
- package/dist/assets/index17.css +1 -0
- package/dist/assets/index18.css +1 -0
- package/dist/assets/index2.css +1 -1
- package/dist/assets/index3.css +1 -1
- package/dist/assets/index4.css +1 -1
- package/dist/assets/index5.css +1 -1
- package/dist/assets/index6.css +1 -1
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/assets/index9.css +1 -1
- package/dist/assets/style.css +1 -1
- package/dist/assets/style2.css +1 -0
- package/dist/assets/style3.css +1 -0
- package/dist/assets/style4.css +1 -0
- package/dist/assets/styles.css +1 -1
- package/dist/components/block-editor/editor.d.ts +5 -0
- package/dist/components/block-editor/editor.js +6 -0
- package/dist/components/block-editor/index.d.ts +1 -0
- package/dist/components/block-editor/index.js +4 -0
- package/dist/components/breadcrumbs/index.js +87 -31
- package/dist/components/button/button.d.ts +1 -1
- package/dist/components/button/button.js +5 -5
- package/dist/components/button/icon.d.ts +1 -2
- package/dist/components/button/icon.js +10 -3
- package/dist/components/button/index.d.ts +4 -0
- package/dist/components/controls/base-control/affix.js +7 -7
- package/dist/components/controls/base-control/index.js +11 -11
- package/dist/components/controls/base-popover-control/index.d.ts +9 -0
- package/dist/components/controls/base-popover-control/index.js +47 -0
- package/dist/components/controls/checkbox-control/index.d.ts +8 -0
- package/dist/components/controls/checkbox-control/index.js +57 -0
- package/dist/components/controls/choice-control/choice.js +13 -11
- package/dist/components/controls/choice-control/index.js +1 -1
- package/dist/components/controls/index.d.ts +4 -1
- package/dist/components/controls/index.js +25 -16
- package/dist/components/controls/number-control/index.js +29 -27
- package/dist/components/controls/password-control/index.js +1 -1
- package/dist/components/controls/recurrence-control/index.d.ts +8 -0
- package/dist/components/controls/recurrence-control/index.js +208 -0
- package/dist/components/controls/select-control/component.d.ts +12 -0
- package/dist/components/controls/select-control/component.js +1879 -0
- package/dist/components/controls/select-control/index.d.ts +2 -12
- package/dist/components/controls/select-control/index.js +5 -1860
- package/dist/components/controls/select-control/options.d.ts +7 -0
- package/dist/components/controls/select-control/options.js +9 -0
- package/dist/components/controls/textarea-control/index.js +1 -1
- package/dist/components/controls/toggle-control/index.js +11 -9
- package/dist/components/controls/toggle-group-control/index.d.ts +19 -0
- package/dist/components/controls/toggle-group-control/index.js +50 -0
- package/dist/components/data-table/column.js +1 -1
- package/dist/components/data-table/header.js +120 -171
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/filesystem/file.d.ts +7 -0
- package/dist/components/filesystem/file.js +44 -0
- package/dist/components/filesystem/folder.d.ts +6 -0
- package/dist/components/filesystem/folder.js +160 -0
- package/dist/components/filesystem/icon.d.ts +7 -0
- package/dist/components/filesystem/icon.js +908 -0
- package/dist/components/filesystem/index.js +14 -0
- package/dist/components/filesystem/list.d.ts +4 -0
- package/dist/components/filesystem/list.js +18 -0
- package/dist/components/filesystem/root.d.ts +3 -0
- package/dist/components/filesystem/root.js +7 -0
- package/dist/components/form/components/index.js +12 -12
- package/dist/components/form/components/pagination.js +23 -16
- package/dist/components/form/components/progress.d.ts +3 -2
- package/dist/components/index.d.ts +4 -0
- package/dist/components/index.js +48 -31
- package/dist/components/menu/index.js +24 -23
- package/dist/components/menu/item.js +1 -1
- package/dist/components/menu/items/action.js +1 -1
- package/dist/components/menu/items/spacer.js +14 -42
- package/dist/components/menu/items/submenu.js +2 -2
- package/dist/components/menu/items/toggle.js +25 -91
- package/dist/components/progress/index.d.ts +5 -3
- package/dist/components/progress/index.js +44 -27
- package/dist/components/tabs/index.js +12 -0
- package/dist/components/tabs/list.d.ts +7 -0
- package/dist/components/tabs/list.js +42 -0
- package/dist/components/tabs/panel.d.ts +8 -0
- package/dist/components/tabs/panel.js +132 -0
- package/dist/components/tabs/root.d.ts +9 -0
- package/dist/components/tabs/root.js +173 -0
- package/dist/components/tabs/tab.d.ts +7 -0
- package/dist/components/tabs/tab.js +81 -0
- package/dist/components/toolbar/index.js +27 -0
- package/dist/components/toolbar/root.d.ts +6 -0
- package/dist/components/toolbar/root.js +6 -0
- package/dist/composite-provider-DNftbE5U.js +10 -0
- package/dist/hooks/state.d.ts +4 -0
- package/dist/hooks/state.js +7 -0
- package/dist/hooks/theme.js +7 -38
- package/dist/index-1AjPIqTN.js +73 -0
- package/dist/index-Cgx3BqdJ.js +388 -0
- package/dist/index.js +61 -40
- package/dist/{item-D9r2-3fk.js → item-B1ugJ7YQ.js} +240 -234
- package/dist/options-Cfoqhxw2.js +96 -0
- package/dist/primitives/index.d.ts +2 -0
- package/dist/primitives/index.js +4 -0
- package/dist/primitives/resizable/index.js +1 -1
- package/dist/primitives/scroll-area/index.d.ts +7 -0
- package/dist/primitives/scroll-area/index.js +777 -0
- package/dist/primitives/truncate/index.d.ts +7 -0
- package/dist/primitives/truncate/index.js +46 -0
- package/dist/primitives/visually-hidden/index.d.ts +2 -2
- package/dist/primitives/visually-hidden/index.js +13 -3
- package/dist/root-CaKPdqzv.js +73 -0
- package/dist/types/date.d.ts +39 -0
- package/dist/types/date.js +1778 -0
- package/dist/types/options.d.ts +8 -6
- package/dist/utils/components.d.ts +5 -0
- package/dist/utils/components.js +14 -0
- package/dist/utils/date.d.ts +1 -0
- package/dist/utils/date.js +15 -0
- package/dist/utils/string.d.ts +4 -0
- package/dist/utils/string.js +18 -0
- package/package.json +4 -2
- package/dist/2NBKRL7C-D-Q0qGRV.js +0 -81
- package/dist/P7GR5CS5-qyeuZVEs.js +0 -640
- package/dist/T7VMP3TM-BxgFbvdx.js +0 -2106
- package/dist/UQQRIHDV-BGs025hb.js +0 -1046
- package/dist/VIIRIBF3-D9clDhln.js +0 -21
- package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
- package/dist/components/markdown/formats.d.ts +0 -11
- package/dist/components/markdown/formats.js +0 -318
- package/dist/components/markdown/index.d.ts +0 -7
- package/dist/components/markdown/index.js +0 -25845
- package/dist/components/markdown/types/format.d.ts +0 -27
- package/dist/components/markdown/types/format.js +0 -4
- package/dist/floating-ui.dom-9sqP7IwC.js +0 -1512
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { File as o } from "./file.js";
|
|
2
|
+
import { Folder as r } from "./folder.js";
|
|
3
|
+
import { Icon as m } from "./icon.js";
|
|
4
|
+
import { List as t } from "./list.js";
|
|
5
|
+
import { Root as i } from "./root.js";
|
|
6
|
+
import '../../assets/index10.css';const l = Object.assign(i, {
|
|
7
|
+
List: t,
|
|
8
|
+
File: o,
|
|
9
|
+
Folder: r,
|
|
10
|
+
Icon: m
|
|
11
|
+
});
|
|
12
|
+
export {
|
|
13
|
+
l as Filesystem
|
|
14
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { cn as e } from "../../utils/css.js";
|
|
3
|
+
import { forwardRef as s } from "react";
|
|
4
|
+
import { C as i } from "../../5JTVDSTH-CG1NL6Fw.js";
|
|
5
|
+
const c = s(
|
|
6
|
+
({ className: r, ...m }, t) => /* @__PURE__ */ o(
|
|
7
|
+
i,
|
|
8
|
+
{
|
|
9
|
+
className: e("component-filesystem__list", r),
|
|
10
|
+
ref: t,
|
|
11
|
+
...m,
|
|
12
|
+
render: /* @__PURE__ */ o("ol", {})
|
|
13
|
+
}
|
|
14
|
+
)
|
|
15
|
+
);
|
|
16
|
+
export {
|
|
17
|
+
c as List
|
|
18
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { List as t } from "./list.js";
|
|
3
|
+
import { C as i } from "../../composite-provider-DNftbE5U.js";
|
|
4
|
+
const p = ({ ...r }) => /* @__PURE__ */ o(i, { orientation: "vertical", children: /* @__PURE__ */ o(t, { ...r }) });
|
|
5
|
+
export {
|
|
6
|
+
p as Root
|
|
7
|
+
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { FormDescription as o } from "./description.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
const P = Object.assign(
|
|
9
|
-
Title:
|
|
2
|
+
import { Form as r } from "./form.js";
|
|
3
|
+
import { FormPagination as m } from "./pagination.js";
|
|
4
|
+
import { FormProgress as i } from "./progress.js";
|
|
5
|
+
import { FormRow as t } from "./row.js";
|
|
6
|
+
import { FormStep as p } from "./step.js";
|
|
7
|
+
import { FormTitle as e } from "./title.js";
|
|
8
|
+
const P = Object.assign(r, {
|
|
9
|
+
Title: e,
|
|
10
10
|
Description: o,
|
|
11
|
-
Pagination:
|
|
12
|
-
Progress:
|
|
13
|
-
Step:
|
|
14
|
-
Row:
|
|
11
|
+
Pagination: m,
|
|
12
|
+
Progress: i,
|
|
13
|
+
Step: p,
|
|
14
|
+
Row: t
|
|
15
15
|
});
|
|
16
16
|
export {
|
|
17
17
|
P as Form
|
|
@@ -1,27 +1,31 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { Button as
|
|
1
|
+
import { jsxs as n, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { Button as o } from "../../button/index.js";
|
|
3
3
|
import { cn as l } from "../../../utils/css.js";
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
import { o as u, a as s } from "../../../ArrowRight.es-xyNbtVOa.js";
|
|
5
|
+
import { useForm as p } from "../types/form.js";
|
|
6
|
+
const h = ({
|
|
7
|
+
className: a,
|
|
7
8
|
submitText: c = "Submit",
|
|
8
|
-
...
|
|
9
|
+
...m
|
|
9
10
|
}) => {
|
|
10
|
-
const { step: t } =
|
|
11
|
-
return /* @__PURE__ */
|
|
11
|
+
const { step: t } = p(), r = t.all[t.current - 2], e = t.all[t.current];
|
|
12
|
+
return /* @__PURE__ */ n("nav", { className: l("component-form-pagination", a), ...m, children: [
|
|
12
13
|
/* @__PURE__ */ n(
|
|
13
|
-
|
|
14
|
+
o,
|
|
14
15
|
{
|
|
15
16
|
wide: !0,
|
|
16
17
|
variant: "quiet",
|
|
17
18
|
disabled: t.current === 1,
|
|
18
19
|
onClick: t.back,
|
|
19
|
-
children:
|
|
20
|
+
children: [
|
|
21
|
+
/* @__PURE__ */ i(u, {}),
|
|
22
|
+
`Back${r != null && r.title ? `: ${r.title}` : ""}`
|
|
23
|
+
]
|
|
20
24
|
},
|
|
21
25
|
t.current + "back"
|
|
22
26
|
),
|
|
23
|
-
t.current === t.max ? /* @__PURE__ */
|
|
24
|
-
|
|
27
|
+
t.current === t.max ? /* @__PURE__ */ i(
|
|
28
|
+
o,
|
|
25
29
|
{
|
|
26
30
|
wide: !0,
|
|
27
31
|
variant: "primary",
|
|
@@ -30,17 +34,20 @@ const f = ({
|
|
|
30
34
|
},
|
|
31
35
|
t.current + "next"
|
|
32
36
|
) : /* @__PURE__ */ n(
|
|
33
|
-
|
|
37
|
+
o,
|
|
34
38
|
{
|
|
35
39
|
wide: !0,
|
|
36
|
-
variant: "
|
|
40
|
+
variant: "neutral",
|
|
37
41
|
onClick: t.next,
|
|
38
|
-
children:
|
|
42
|
+
children: [
|
|
43
|
+
`Next${e != null && e.title ? `: ${e.title}` : ""}`,
|
|
44
|
+
/* @__PURE__ */ i(s, {})
|
|
45
|
+
]
|
|
39
46
|
},
|
|
40
47
|
t.current + "next"
|
|
41
48
|
)
|
|
42
49
|
] });
|
|
43
50
|
};
|
|
44
51
|
export {
|
|
45
|
-
|
|
52
|
+
h as FormPagination
|
|
46
53
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { ProgressProps } from '../../progress';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
interface FormProgressProps extends Omit<ProgressProps, "value" | "min" | "max"> {
|
|
3
4
|
}
|
|
4
5
|
export declare const FormProgress: FC<FormProgressProps>;
|
|
5
6
|
export {};
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
+
export * from './block-editor';
|
|
1
2
|
export { Breadcrumbs } from './breadcrumbs';
|
|
2
3
|
export { Button } from './button';
|
|
3
4
|
export * from './controls';
|
|
4
5
|
export { DataTable, ExampleDataTable } from './data-table';
|
|
6
|
+
export { Filesystem } from './filesystem';
|
|
5
7
|
export { createForm, Form } from './form';
|
|
6
8
|
export { Menu } from './menu';
|
|
7
9
|
export { Progress } from './progress';
|
|
10
|
+
export { Tabs } from './tabs';
|
|
11
|
+
export { Toolbar } from './toolbar';
|
package/dist/components/index.js
CHANGED
|
@@ -1,33 +1,50 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
1
|
+
import { Editor as t } from "./block-editor/editor.js";
|
|
2
|
+
import { Breadcrumbs as p } from "./breadcrumbs/index.js";
|
|
3
|
+
import { Button as f } from "./button/index.js";
|
|
4
|
+
import { BaseControl as a } from "./controls/base-control/index.js";
|
|
5
|
+
import { CheckboxControl as C } from "./controls/checkbox-control/index.js";
|
|
6
|
+
import { ChoiceControl as T } from "./controls/choice-control/index.js";
|
|
7
|
+
import { NumberControl as c } from "./controls/number-control/index.js";
|
|
8
|
+
import { PasswordControl as g } from "./controls/password-control/index.js";
|
|
9
|
+
import { RecurrenceControl as d } from "./controls/recurrence-control/index.js";
|
|
10
|
+
import '../assets/style.css';/* empty css */
|
|
11
|
+
import { SelectControl as F } from "./controls/select-control/component.js";
|
|
12
|
+
import { o as D } from "../options-Cfoqhxw2.js";
|
|
13
|
+
import { TextControl as P } from "./controls/text-control/index.js";
|
|
14
|
+
import { TextareaControl as w } from "./controls/textarea-control/index.js";
|
|
15
|
+
import { ToggleControl as G } from "./controls/toggle-control/index.js";
|
|
16
|
+
import { ToggleGroupControl as N } from "./controls/toggle-group-control/index.js";
|
|
17
|
+
import { DataTable as R, ExampleDataTable as S } from "./data-table/index.js";
|
|
18
|
+
import { Filesystem as q } from "./filesystem/index.js";
|
|
19
|
+
import { Form as z } from "./form/components/index.js";
|
|
20
|
+
import { createForm as H } from "./form/types/form.js";
|
|
21
|
+
import { Menu as J } from "./menu/index.js";
|
|
22
|
+
import { Progress as L } from "./progress/index.js";
|
|
23
|
+
import { Tabs as U } from "./tabs/index.js";
|
|
24
|
+
import { Toolbar as W } from "./toolbar/index.js";
|
|
16
25
|
export {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
S as
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
26
|
+
a as BaseControl,
|
|
27
|
+
p as Breadcrumbs,
|
|
28
|
+
f as Button,
|
|
29
|
+
C as CheckboxControl,
|
|
30
|
+
T as ChoiceControl,
|
|
31
|
+
R as DataTable,
|
|
32
|
+
t as Editor,
|
|
33
|
+
S as ExampleDataTable,
|
|
34
|
+
q as Filesystem,
|
|
35
|
+
z as Form,
|
|
36
|
+
J as Menu,
|
|
37
|
+
c as NumberControl,
|
|
38
|
+
D as Options,
|
|
39
|
+
g as PasswordControl,
|
|
40
|
+
L as Progress,
|
|
41
|
+
d as RecurrenceControl,
|
|
42
|
+
F as SelectControl,
|
|
43
|
+
U as Tabs,
|
|
44
|
+
P as TextControl,
|
|
45
|
+
w as TextareaControl,
|
|
46
|
+
G as ToggleControl,
|
|
47
|
+
N as ToggleGroupControl,
|
|
48
|
+
W as Toolbar,
|
|
49
|
+
H as createForm
|
|
33
50
|
};
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { jsx as a, jsxs as m } from "react/jsx-runtime";
|
|
2
2
|
import { cn as E } from "../../utils/css.js";
|
|
3
|
-
import { M as V, a as C, b as R, c as z } from "../../item-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
3
|
+
import { M as V, a as C, b as R, c as z } from "../../item-B1ugJ7YQ.js";
|
|
4
|
+
import { u as H } from "../../VIIRIBF3-D5DmZNtI.js";
|
|
5
|
+
import { u as I } from "../../MTZPJQMC-DyCWBG18.js";
|
|
6
|
+
import { a as P } from "../../YV4JVR4I-kvospPUa.js";
|
|
7
|
+
import { a as _, _ as x, i as O, s as j, m as L, o as f, n as T, v as U, b as B, a1 as D, r as q, f as y, q as k } from "../../LMDWO4NN--KEvZePp.js";
|
|
7
8
|
import { useMemo as w, useState as Z } from "react";
|
|
8
|
-
import '../../assets/
|
|
9
|
+
import '../../assets/index16.css';var g = "M23 27.8C24.1 29 26.4 30 28 30H30H0H2C3.7 30 5.9 29 7 27.8L14 20.6C14.7 19.8 15.3 19.8 16 20.6L23 27.8Z", F = "div", h = 30, s = h / 2, G = {
|
|
9
10
|
top: `rotate(180 ${s} ${s})`,
|
|
10
11
|
right: `rotate(-90 ${s} ${s})`,
|
|
11
12
|
bottom: `rotate(0 ${s} ${s})`,
|
|
12
13
|
left: `rotate(90 ${s} ${s})`
|
|
13
14
|
};
|
|
14
15
|
function J(o) {
|
|
15
|
-
const [r, t] = Z(), e =
|
|
16
|
+
const [r, t] = Z(), e = P(o, "contentElement");
|
|
16
17
|
return B(() => {
|
|
17
18
|
if (!e) return;
|
|
18
19
|
const u = D(e).getComputedStyle(e);
|
|
@@ -23,13 +24,13 @@ function K(o) {
|
|
|
23
24
|
var r;
|
|
24
25
|
return o ? (r = o.getPropertyValue("box-shadow").match(/0px 0px 0px ([^0]+px)/)) == null ? void 0 : r[1] : void 0;
|
|
25
26
|
}
|
|
26
|
-
var M =
|
|
27
|
+
var M = _(
|
|
27
28
|
function(r) {
|
|
28
29
|
var t = r, {
|
|
29
30
|
store: e,
|
|
30
31
|
size: i = h,
|
|
31
32
|
borderWidth: u
|
|
32
|
-
} = t, c =
|
|
33
|
+
} = t, c = x(t, [
|
|
33
34
|
"store",
|
|
34
35
|
"size",
|
|
35
36
|
"borderWidth"
|
|
@@ -39,17 +40,17 @@ var M = P(
|
|
|
39
40
|
e,
|
|
40
41
|
process.env.NODE_ENV !== "production" && "PopoverArrow must be wrapped in a Popover component."
|
|
41
42
|
);
|
|
42
|
-
const
|
|
43
|
+
const p = P(
|
|
43
44
|
e,
|
|
44
|
-
(
|
|
45
|
-
), l = j(), n = J(e), S = (n == null ? void 0 : n.getPropertyValue("background-color")) || "none", W = (n == null ? void 0 : n.getPropertyValue(`border-${
|
|
45
|
+
(d) => d.currentPlacement.split("-")[0]
|
|
46
|
+
), l = j(), n = J(e), S = (n == null ? void 0 : n.getPropertyValue("background-color")) || "none", W = (n == null ? void 0 : n.getPropertyValue(`border-${p}-color`)) || "none", A = w(() => {
|
|
46
47
|
if (u != null) return u;
|
|
47
48
|
if (!n) return 0;
|
|
48
|
-
const
|
|
49
|
-
if (
|
|
50
|
-
const b = n.getPropertyValue(`border-${
|
|
49
|
+
const d = K(n);
|
|
50
|
+
if (d) return Number.parseInt(d);
|
|
51
|
+
const b = n.getPropertyValue(`border-${p}-width`);
|
|
51
52
|
return b ? Number.parseInt(b) : 0;
|
|
52
|
-
}, [u, n,
|
|
53
|
+
}, [u, n, p]) * 2 * (h / i), v = G[p], N = w(
|
|
53
54
|
() => /* @__PURE__ */ a("svg", { display: "block", viewBox: "0 0 30 30", children: /* @__PURE__ */ m("g", { transform: v, children: [
|
|
54
55
|
/* @__PURE__ */ a("path", { fill: "none", d: g, mask: `url(#${l})` }),
|
|
55
56
|
/* @__PURE__ */ a("path", { stroke: "none", d: g }),
|
|
@@ -86,22 +87,22 @@ var M = P(
|
|
|
86
87
|
}
|
|
87
88
|
);
|
|
88
89
|
q(
|
|
89
|
-
|
|
90
|
+
y(function(r) {
|
|
90
91
|
const t = M(r);
|
|
91
|
-
return
|
|
92
|
+
return k(F, t);
|
|
92
93
|
})
|
|
93
94
|
);
|
|
94
|
-
var Q = "div", X =
|
|
95
|
+
var Q = "div", X = _(
|
|
95
96
|
function(r) {
|
|
96
|
-
var t = r, { store: e } = t, i =
|
|
97
|
+
var t = r, { store: e } = t, i = x(t, ["store"]);
|
|
97
98
|
const u = H();
|
|
98
99
|
return e = e || u, M(f({ store: e }, i));
|
|
99
100
|
}
|
|
100
|
-
), Y =
|
|
101
|
+
), Y = y(function(r) {
|
|
101
102
|
const t = X(r);
|
|
102
|
-
return
|
|
103
|
+
return k(Q, t);
|
|
103
104
|
});
|
|
104
|
-
const
|
|
105
|
+
const ce = ({ className: o, items: r, children: t }) => /* @__PURE__ */ m(V, { children: [
|
|
105
106
|
/* @__PURE__ */ a(C, { className: E("component-menu__button", o), children: t }),
|
|
106
107
|
/* @__PURE__ */ m(
|
|
107
108
|
R,
|
|
@@ -127,5 +128,5 @@ const ue = ({ className: o, items: r, children: t }) => /* @__PURE__ */ m(V, { c
|
|
|
127
128
|
)
|
|
128
129
|
] });
|
|
129
130
|
export {
|
|
130
|
-
|
|
131
|
+
ce as Menu
|
|
131
132
|
};
|
|
@@ -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-BAzCMGOw.js";
|
|
4
4
|
const l = ({ item: n }) => {
|
|
5
5
|
const m = n.icon || c;
|
|
6
6
|
return /* @__PURE__ */ o(
|
|
@@ -1,46 +1,18 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}, t), t;
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { u } from "../../../VIIRIBF3-D5DmZNtI.js";
|
|
3
|
+
import { u as p } from "../../../TP7N7UIH-BHb1rEeb.js";
|
|
4
|
+
import { f as m, a as c, q as f, _, o as i } from "../../../LMDWO4NN--KEvZePp.js";
|
|
5
|
+
var M = "hr", S = c(
|
|
6
|
+
function(e) {
|
|
7
|
+
var r = e, { store: o } = r, a = _(r, ["store"]);
|
|
8
|
+
const s = u();
|
|
9
|
+
return o = o || s, a = p(i({ store: o }, a)), a;
|
|
11
10
|
}
|
|
12
|
-
)
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
return m(x, r);
|
|
11
|
+
), l = m(function(e) {
|
|
12
|
+
const r = S(e);
|
|
13
|
+
return f(M, r);
|
|
16
14
|
});
|
|
17
|
-
|
|
18
|
-
var r = o, { store: e } = r, t = p(r, ["store"]);
|
|
19
|
-
const n = h();
|
|
20
|
-
e = e || n, C(
|
|
21
|
-
e,
|
|
22
|
-
process.env.NODE_ENV !== "production" && "CompositeSeparator must be wrapped in a Composite component."
|
|
23
|
-
);
|
|
24
|
-
const S = e.useState(
|
|
25
|
-
(_) => _.orientation === "horizontal" ? "vertical" : "horizontal"
|
|
26
|
-
);
|
|
27
|
-
return t = c(d(i({}, t), { orientation: S })), t;
|
|
28
|
-
});
|
|
29
|
-
u(function(o) {
|
|
30
|
-
const r = v(o);
|
|
31
|
-
return m(M, r);
|
|
32
|
-
});
|
|
33
|
-
var N = "hr", b = s(
|
|
34
|
-
function(o) {
|
|
35
|
-
var r = o, { store: e } = r, t = p(r, ["store"]);
|
|
36
|
-
const n = l();
|
|
37
|
-
return e = e || n, t = v(i({ store: e }, t)), t;
|
|
38
|
-
}
|
|
39
|
-
), P = u(function(o) {
|
|
40
|
-
const r = b(o);
|
|
41
|
-
return m(N, r);
|
|
42
|
-
});
|
|
43
|
-
const E = () => /* @__PURE__ */ f(P, { className: "component-menu__separator" });
|
|
15
|
+
const h = () => /* @__PURE__ */ n(l, { className: "component-menu__separator" });
|
|
44
16
|
export {
|
|
45
|
-
|
|
17
|
+
h as SeparatorMenuItem
|
|
46
18
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import { S as p } from "../../../item-
|
|
2
|
+
import { S as p } from "../../../item-B1ugJ7YQ.js";
|
|
3
3
|
import "../icon.js";
|
|
4
|
-
import "../../../2NBKRL7C-
|
|
4
|
+
import "../../../2NBKRL7C-BAzCMGOw.js";
|
|
5
5
|
export {
|
|
6
6
|
p as SubmenuMenuItem
|
|
7
7
|
};
|
|
@@ -1,109 +1,43 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { cn as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { EmptyIcon as
|
|
6
|
-
import { M as
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
[
|
|
13
|
-
"duotone",
|
|
14
|
-
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
15
|
-
"path",
|
|
16
|
-
{
|
|
17
|
-
d: "M216,48V208a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V48a8,8,0,0,1,8-8H208A8,8,0,0,1,216,48Z",
|
|
18
|
-
opacity: "0.2"
|
|
19
|
-
}
|
|
20
|
-
), /* @__PURE__ */ e.createElement("path", { d: "M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM224,48V208a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32H208A16,16,0,0,1,224,48ZM208,208V48H48V208H208Z" }))
|
|
21
|
-
],
|
|
22
|
-
[
|
|
23
|
-
"fill",
|
|
24
|
-
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32Zm-34.34,77.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z" }))
|
|
25
|
-
],
|
|
26
|
-
[
|
|
27
|
-
"light",
|
|
28
|
-
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M172.24,99.76a6,6,0,0,1,0,8.48l-56,56a6,6,0,0,1-8.48,0l-24-24a6,6,0,0,1,8.48-8.48L112,151.51l51.76-51.75A6,6,0,0,1,172.24,99.76ZM222,48V208a14,14,0,0,1-14,14H48a14,14,0,0,1-14-14V48A14,14,0,0,1,48,34H208A14,14,0,0,1,222,48Zm-12,0a2,2,0,0,0-2-2H48a2,2,0,0,0-2,2V208a2,2,0,0,0,2,2H208a2,2,0,0,0,2-2Z" }))
|
|
29
|
-
],
|
|
30
|
-
[
|
|
31
|
-
"regular",
|
|
32
|
-
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM224,48V208a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32H208A16,16,0,0,1,224,48ZM208,208V48H48V208H208Z" }))
|
|
33
|
-
],
|
|
34
|
-
[
|
|
35
|
-
"thin",
|
|
36
|
-
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M170.83,101.17a4,4,0,0,1,0,5.66l-56,56a4,4,0,0,1-5.66,0l-24-24a4,4,0,0,1,5.66-5.66L112,154.34l53.17-53.17A4,4,0,0,1,170.83,101.17ZM220,48V208a12,12,0,0,1-12,12H48a12,12,0,0,1-12-12V48A12,12,0,0,1,48,36H208A12,12,0,0,1,220,48Zm-8,0a4,4,0,0,0-4-4H48a4,4,0,0,0-4,4V208a4,4,0,0,0,4,4H208a4,4,0,0,0,4-4Z" }))
|
|
37
|
-
]
|
|
38
|
-
]), _ = e.forwardRef((a, n) => /* @__PURE__ */ e.createElement(H, { ref: n, ...a, weights: s }));
|
|
39
|
-
_.displayName = "CheckSquareIcon";
|
|
40
|
-
const u = /* @__PURE__ */ new Map([
|
|
41
|
-
[
|
|
42
|
-
"bold",
|
|
43
|
-
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M208,28H48A20,20,0,0,0,28,48V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V48A20,20,0,0,0,208,28Zm-4,176H52V52H204Z" }))
|
|
44
|
-
],
|
|
45
|
-
[
|
|
46
|
-
"duotone",
|
|
47
|
-
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
48
|
-
"path",
|
|
49
|
-
{
|
|
50
|
-
d: "M216,48V208a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V48a8,8,0,0,1,8-8H208A8,8,0,0,1,216,48Z",
|
|
51
|
-
opacity: "0.2"
|
|
52
|
-
}
|
|
53
|
-
), /* @__PURE__ */ e.createElement("path", { d: "M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32Zm0,176H48V48H208V208Z" }))
|
|
54
|
-
],
|
|
55
|
-
[
|
|
56
|
-
"fill",
|
|
57
|
-
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M224,48V208a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32H208A16,16,0,0,1,224,48Z" }))
|
|
58
|
-
],
|
|
59
|
-
[
|
|
60
|
-
"light",
|
|
61
|
-
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M208,34H48A14,14,0,0,0,34,48V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V48A14,14,0,0,0,208,34Zm2,174a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V48a2,2,0,0,1,2-2H208a2,2,0,0,1,2,2Z" }))
|
|
62
|
-
],
|
|
63
|
-
[
|
|
64
|
-
"regular",
|
|
65
|
-
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32Zm0,176H48V48H208V208Z" }))
|
|
66
|
-
],
|
|
67
|
-
[
|
|
68
|
-
"thin",
|
|
69
|
-
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M208,36H48A12,12,0,0,0,36,48V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V48A12,12,0,0,0,208,36Zm4,172a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V48a4,4,0,0,1,4-4H208a4,4,0,0,1,4,4Z" }))
|
|
70
|
-
]
|
|
71
|
-
]), p = e.forwardRef((a, n) => /* @__PURE__ */ e.createElement(H, { ref: n, ...a, weights: u }));
|
|
72
|
-
p.displayName = "SquareIcon";
|
|
73
|
-
const f = ({ item: a }) => {
|
|
74
|
-
const n = a.icon || h, V = () => {
|
|
75
|
-
var m, o, r;
|
|
76
|
-
const c = !a.checked;
|
|
77
|
-
(m = a.onToggle) == null || m.call(a, c), c ? (o = a.onCheck) == null || o.call(a) : (r = a.onUncheck) == null || r.call(a);
|
|
1
|
+
import { jsxs as o, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { cn as i } from "../../../utils/css.js";
|
|
3
|
+
import { r as a, a as p } from "../../../Square.es-KJLdY11q.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import { EmptyIcon as r } from "../icon.js";
|
|
6
|
+
import { M as d } from "../../../2NBKRL7C-BAzCMGOw.js";
|
|
7
|
+
const x = ({ item: e }) => {
|
|
8
|
+
const l = e.icon || r, s = () => {
|
|
9
|
+
var _, m, t;
|
|
10
|
+
const c = !e.checked;
|
|
11
|
+
(_ = e.onToggle) == null || _.call(e, c), c ? (m = e.onCheck) == null || m.call(e) : (t = e.onUncheck) == null || t.call(e);
|
|
78
12
|
};
|
|
79
|
-
return /* @__PURE__ */
|
|
80
|
-
|
|
13
|
+
return /* @__PURE__ */ o(
|
|
14
|
+
d,
|
|
81
15
|
{
|
|
82
16
|
hideOnClick: !1,
|
|
83
|
-
className:
|
|
17
|
+
className: i(
|
|
84
18
|
"component-menu__item component-menu__item--toggle",
|
|
85
|
-
|
|
19
|
+
e.checked && "component-menu__item--toggle--checked"
|
|
86
20
|
),
|
|
87
|
-
onClick:
|
|
21
|
+
onClick: s,
|
|
88
22
|
children: [
|
|
89
|
-
/* @__PURE__ */
|
|
90
|
-
/* @__PURE__ */
|
|
91
|
-
/* @__PURE__ */
|
|
92
|
-
/* @__PURE__ */
|
|
93
|
-
|
|
94
|
-
|
|
23
|
+
/* @__PURE__ */ n(l, { className: "component-menu__item__icon component-menu__item__icon--pictoral" }),
|
|
24
|
+
/* @__PURE__ */ o("div", { className: "component-menu__item__text", children: [
|
|
25
|
+
/* @__PURE__ */ o("div", { className: "component-menu__item__text__header", children: [
|
|
26
|
+
/* @__PURE__ */ n("div", { className: "component-menu__item__label", children: e.label }),
|
|
27
|
+
e.checked ? /* @__PURE__ */ n(
|
|
28
|
+
a,
|
|
95
29
|
{
|
|
96
30
|
weight: "fill",
|
|
97
31
|
className: "component-menu__item__icon component-menu__item__icon--checkbox"
|
|
98
32
|
}
|
|
99
|
-
) : /* @__PURE__ */
|
|
33
|
+
) : /* @__PURE__ */ n(p, { className: "component-menu__item__icon component-menu__item__icon--checkbox" })
|
|
100
34
|
] }),
|
|
101
|
-
/* @__PURE__ */
|
|
35
|
+
/* @__PURE__ */ n("p", { className: "component-menu__item__description", children: e.description })
|
|
102
36
|
] })
|
|
103
37
|
]
|
|
104
38
|
}
|
|
105
39
|
);
|
|
106
40
|
};
|
|
107
41
|
export {
|
|
108
|
-
|
|
42
|
+
x as ToggleMenuItem
|
|
109
43
|
};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { FC
|
|
2
|
-
interface ProgressProps
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
export interface ProgressProps {
|
|
3
|
+
className?: string;
|
|
3
4
|
steps?: number;
|
|
4
5
|
value?: number;
|
|
6
|
+
min?: number;
|
|
7
|
+
max?: number;
|
|
5
8
|
}
|
|
6
9
|
export declare const Progress: FC<ProgressProps>;
|
|
7
|
-
export {};
|