@mittwald/flow-react-components 0.1.0-alpha.122 → 0.1.0-alpha.123
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/{Accordion-9wwB377E.js → Accordion-_RIL6e38.js} +3 -3
- package/dist/Accordion.js +1 -1
- package/dist/Avatar.js +22 -22
- package/dist/Breadcrumb.js +2 -2
- package/dist/{Button-BGCNzfmU.js → Button-DR7f1NA_.js} +3 -3
- package/dist/Button.js +1 -1
- package/dist/ButtonGroup.js +16 -16
- package/dist/{Checkbox-HtVxajw_.js → Checkbox-DSTuqNLy.js} +3 -3
- package/dist/Checkbox.js +1 -1
- package/dist/CheckboxButton-Bm2N9ipa.js +29 -0
- package/dist/CheckboxButton.js +1 -1
- package/dist/CheckboxGroup.js +15 -15
- package/dist/{ContextMenu-BGfJXwpB.js → ContextMenu-BJSsIdCC.js} +1 -1
- package/dist/ContextMenu.js +2 -2
- package/dist/CopyButton.js +3 -3
- package/dist/{FieldError--Qpixa12.js → FieldError-DVC26l1N.js} +2 -2
- package/dist/FieldError.js +1 -1
- package/dist/{Icon-DhFv_0k_.js → Icon-C6Bydohi.js} +6 -5
- package/dist/Icon.js +1 -1
- package/dist/{IconCheck-D8ys0_F5.js → IconCheck-B6r2fhzR.js} +1 -1
- package/dist/{IconCheckboxEmpty-DRlqWMgD.js → IconCheckboxEmpty-D-ZA69l0.js} +1 -1
- package/dist/{IconCheckboxIndeterminate-CfK_tk87.js → IconCheckboxIndeterminate-D3WAKc2y.js} +1 -1
- package/dist/{IconChevronDown-gLJKgegq.js → IconChevronDown-ACaPfsSX.js} +1 -1
- package/dist/{IconChevronRight-CqgfPevo.js → IconChevronRight-CWSSKr0n.js} +1 -1
- package/dist/{IconClose-BEe9M79E.js → IconClose-B-Y9GsPw.js} +1 -1
- package/dist/{IconContextMenu-B9OI5d_u.js → IconContextMenu-Cv_ADP6x.js} +1 -1
- package/dist/{IconCopy-A7uxuck-.js → IconCopy-DCQci8ab.js} +1 -1
- package/dist/{IconDanger-ALKH8dEk.js → IconDanger-Cn_LiCtm.js} +1 -1
- package/dist/{IconPending-BV6Loio6.js → IconPending-BR4c3Kzy.js} +1 -1
- package/dist/{IconPlus-eFn-agxn.js → IconPlus-BsrhvkwU.js} +1 -1
- package/dist/{IconRadioOn--oXSoOvP.js → IconRadioOn-DZdc39yy.js} +1 -1
- package/dist/{IconSearch-BO1yNi13.js → IconSearch-CW9oIsXP.js} +1 -1
- package/dist/{IconSucceeded-d8xQyLF2.js → IconSucceeded-Cx_ggN9K.js} +1 -1
- package/dist/{IconWarning-CAgZzx72.js → IconWarning-CDxShTt1.js} +1 -1
- package/dist/Icons.js +16 -16
- package/dist/Image.js +5 -5
- package/dist/InlineAlert.js +2 -2
- package/dist/List.js +202 -208
- package/dist/{LoadingSpinner-BV4S5RsS.js → LoadingSpinner-DNkWB7I4.js} +2 -2
- package/dist/LoadingSpinner.js +1 -1
- package/dist/MenuItem-BwS3CR2k.js +54 -0
- package/dist/MenuItem.js +1 -1
- package/dist/Modal.js +8 -1
- package/dist/Navigation.js +1 -1
- package/dist/NumberField.js +5 -5
- package/dist/OffCanvas.js +3 -3
- package/dist/Popover-B6bARCOK.js +17 -0
- package/dist/RadioGroup.js +45 -36
- package/dist/Section.js +17 -17
- package/dist/Select.js +4 -4
- package/dist/Skeleton-CKLaTmDR.js +22 -0
- package/dist/Skeleton.js +1 -1
- package/dist/StatusBadge.js +1 -1
- package/dist/{StatusIcon-CvIY_c35.js → StatusIcon-p06hhuaM.js} +3 -3
- package/dist/StatusIcon.js +1 -1
- package/dist/Switch.js +3 -3
- package/dist/Tabs.js +44 -36
- package/dist/TextArea.js +1 -1
- package/dist/TextField.js +1 -1
- package/dist/{TextFieldBase-C7g5i_rC.js → TextFieldBase-Dpzj-U88.js} +1 -1
- package/dist/react-hook-form.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/types/components/List/components/Items/ListItem/ListItem.d.ts +6 -0
- package/dist/types/components/List/components/Items/ListItem/index.d.ts +4 -0
- package/dist/types/components/List/index.d.ts +1 -0
- package/dist/types/components/List/stories/ListItem.stories.d.ts +1 -0
- package/dist/types/components/Popover/Popover.d.ts +3 -1
- package/dist/types/components/Popover/stories/Default.stories.d.ts +1 -0
- package/dist/types/components/Popover/stories/EdgeCases.stories.d.ts +7 -0
- package/dist/types/components/Skeleton/Skeleton.d.ts +4 -1
- package/package.json +24 -28
- package/dist/CheckboxButton-BPC6RfJj.js +0 -29
- package/dist/MenuItem-CzSUuXS-.js +0 -49
- package/dist/Popover-MmxZkKu3.js +0 -15
- package/dist/Popover.js +0 -7
- package/dist/Skeleton-D97e6aVe.js +0 -14
- package/dist/types/components/List/components/Items/Item/Item.d.ts +0 -5
- package/dist/types/components/List/components/Items/Item/index.d.ts +0 -5
- /package/dist/types/components/List/components/Items/{Item → ListItem}/FallbackRenderer.d.ts +0 -0
|
@@ -7,10 +7,10 @@ import { P as N } from "./PropsContextProvider-DZvwqHLP.js";
|
|
|
7
7
|
import "@react-aria/utils";
|
|
8
8
|
import "remeda";
|
|
9
9
|
import { d } from "./dynamic-ClpUSmEt.js";
|
|
10
|
-
import { B as w } from "./Button-
|
|
10
|
+
import { B as w } from "./Button-DR7f1NA_.js";
|
|
11
11
|
import "@tabler/icons-react";
|
|
12
|
-
import "./Icon-
|
|
13
|
-
import { I as y } from "./IconChevronDown-
|
|
12
|
+
import "./Icon-C6Bydohi.js";
|
|
13
|
+
import { I as y } from "./IconChevronDown-ACaPfsSX.js";
|
|
14
14
|
import { TunnelProvider as B, TunnelExit as C } from "@mittwald/react-tunnel";
|
|
15
15
|
import { A as P } from "./Activity-CmfZpgOM.js";
|
|
16
16
|
const A = "flow--accordion", b = "flow--accordion--header", g = "flow--accordion--header-button", D = "flow--accordion--content", T = "flow--accordion--content-inner", H = "flow--accordion--chevron", L = "flow--accordion--expanded", n = {
|
package/dist/Accordion.js
CHANGED
package/dist/Avatar.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
|
-
import i, { isValidElement as
|
|
4
|
-
import
|
|
5
|
-
import { C as
|
|
6
|
-
import { P as
|
|
3
|
+
import i, { isValidElement as p } from "react";
|
|
4
|
+
import v from "clsx";
|
|
5
|
+
import { C as c } from "./ClearPropsContext-CeCMjUK9.js";
|
|
6
|
+
import { P as f } from "./PropsContextProvider-DZvwqHLP.js";
|
|
7
7
|
import "@react-aria/utils";
|
|
8
8
|
import "./propsContext-CauylOgH.js";
|
|
9
9
|
import "remeda";
|
|
10
|
-
import { hash as
|
|
11
|
-
import { deepForEach as
|
|
12
|
-
import { f as
|
|
13
|
-
const
|
|
14
|
-
avatar:
|
|
15
|
-
icon:
|
|
16
|
-
initials:
|
|
10
|
+
import { hash as w } from "object-code";
|
|
11
|
+
import { deepForEach as z } from "react-children-utilities";
|
|
12
|
+
import { f as d } from "./flowComponent-Dha_9C4F.js";
|
|
13
|
+
const C = "flow--avatar", h = "flow--avatar--icon", x = "flow--avatar--initials", r = {
|
|
14
|
+
avatar: C,
|
|
15
|
+
icon: h,
|
|
16
|
+
initials: x,
|
|
17
17
|
"size-m": "flow--avatar--size-m",
|
|
18
18
|
"size-xs": "flow--avatar--size-xs",
|
|
19
19
|
"size-s": "flow--avatar--size-s",
|
|
@@ -22,23 +22,23 @@ const d = "flow--avatar", C = "flow--avatar--icon", h = "flow--avatar--initials"
|
|
|
22
22
|
"variant-2": "flow--avatar--variant-2",
|
|
23
23
|
"variant-3": "flow--avatar--variant-3",
|
|
24
24
|
"variant-4": "flow--avatar--variant-4"
|
|
25
|
-
},
|
|
25
|
+
}, u = (o) => {
|
|
26
26
|
const a = [];
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
z(o, (t) => {
|
|
28
|
+
p(t) ? a.push({
|
|
29
29
|
props: t.props,
|
|
30
30
|
type: t.type
|
|
31
31
|
}) : a.push(t);
|
|
32
32
|
});
|
|
33
|
-
const s =
|
|
33
|
+
const s = w(a);
|
|
34
34
|
return Math.abs(s % 4) + 1;
|
|
35
|
-
},
|
|
36
|
-
const { children: a, className: s, variant: t, size: e = "m" } = o,
|
|
35
|
+
}, $ = d("Avatar", (o) => {
|
|
36
|
+
const { children: a, className: s, variant: t, size: e = "m", refProp: n } = o, l = v(
|
|
37
37
|
r.avatar,
|
|
38
38
|
r[`size-${e}`],
|
|
39
39
|
s,
|
|
40
|
-
r[`variant-${t ??
|
|
41
|
-
),
|
|
40
|
+
r[`variant-${t ?? u(a)}`]
|
|
41
|
+
), m = {
|
|
42
42
|
Initials: {
|
|
43
43
|
className: r.initials
|
|
44
44
|
},
|
|
@@ -46,9 +46,9 @@ const d = "flow--avatar", C = "flow--avatar--icon", h = "flow--avatar--initials"
|
|
|
46
46
|
className: r.icon
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
|
-
return /* @__PURE__ */ i.createElement(
|
|
49
|
+
return /* @__PURE__ */ i.createElement(c, null, /* @__PURE__ */ i.createElement("div", { className: l, ref: n }, /* @__PURE__ */ i.createElement(f, { props: m }, a)));
|
|
50
50
|
});
|
|
51
51
|
export {
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
$ as Avatar,
|
|
53
|
+
$ as default
|
|
54
54
|
};
|
package/dist/Breadcrumb.js
CHANGED
|
@@ -4,8 +4,8 @@ import r from "react";
|
|
|
4
4
|
import * as m from "react-aria-components";
|
|
5
5
|
import a from "clsx";
|
|
6
6
|
import "@tabler/icons-react";
|
|
7
|
-
import "./Icon-
|
|
8
|
-
import { I as u } from "./IconChevronRight-
|
|
7
|
+
import "./Icon-C6Bydohi.js";
|
|
8
|
+
import { I as u } from "./IconChevronRight-CWSSKr0n.js";
|
|
9
9
|
import "./propsContext-CauylOgH.js";
|
|
10
10
|
import { P as p } from "./PropsContextProvider-DZvwqHLP.js";
|
|
11
11
|
import "@react-aria/utils";
|
|
@@ -9,12 +9,12 @@ import "@react-aria/utils";
|
|
|
9
9
|
import "./propsContext-CauylOgH.js";
|
|
10
10
|
import "remeda";
|
|
11
11
|
import "@tabler/icons-react";
|
|
12
|
-
import "./Icon-
|
|
13
|
-
import { I as C, a as I } from "./IconSucceeded-
|
|
12
|
+
import "./Icon-C6Bydohi.js";
|
|
13
|
+
import { I as C, a as I } from "./IconSucceeded-Cx_ggN9K.js";
|
|
14
14
|
import { W as u } from "./Wrap-DGT1h1o3.js";
|
|
15
15
|
import { T as N } from "./Text-DXApO_Re.js";
|
|
16
16
|
import { f as k } from "./flowComponent-Dha_9C4F.js";
|
|
17
|
-
import { L as A } from "./LoadingSpinner-
|
|
17
|
+
import { L as A } from "./LoadingSpinner-DNkWB7I4.js";
|
|
18
18
|
import { useLocalizedStringFormatter as D } from "react-aria";
|
|
19
19
|
import { useLiveRegion as T } from "@chakra-ui/live-region";
|
|
20
20
|
const z = "flow--button", B = "flow--button--content", L = "flow--button--state-icon", R = "flow--button--avatar", K = "flow--button--icon", U = "flow--button--text", W = "flow--button--is-succeeded", $ = "flow--button--is-failed", j = "flow--button--is-pending", q = "flow--button--plain", G = "flow--button--primary", H = "flow--button--solid", J = "flow--button--aria-disabled", M = "flow--button--accent", O = "flow--button--danger", Q = "flow--button--secondary", V = "flow--button--dark", X = "flow--button--light", Y = "flow--button--soft", t = {
|
package/dist/Button.js
CHANGED
package/dist/ButtonGroup.js
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
3
|
import o from "react";
|
|
4
|
-
import { C as
|
|
5
|
-
import { P as
|
|
4
|
+
import { C as l } from "./ClearPropsContext-CeCMjUK9.js";
|
|
5
|
+
import { P as i } from "./PropsContextProvider-DZvwqHLP.js";
|
|
6
6
|
import "@react-aria/utils";
|
|
7
7
|
import "./propsContext-CauylOgH.js";
|
|
8
8
|
import "remeda";
|
|
9
|
-
import { d as
|
|
9
|
+
import { d as b } from "./dynamic-ClpUSmEt.js";
|
|
10
10
|
import r from "clsx";
|
|
11
|
-
import { f
|
|
12
|
-
const d = "flow--button-group--button-group-container",
|
|
11
|
+
import { f } from "./flowComponent-Dha_9C4F.js";
|
|
12
|
+
const d = "flow--button-group--button-group-container", C = "flow--button-group", G = "flow--button-group--button", y = "flow--button-group--secondary", t = {
|
|
13
13
|
buttonGroupContainer: d,
|
|
14
|
-
buttonGroup:
|
|
15
|
-
button:
|
|
16
|
-
secondary:
|
|
17
|
-
},
|
|
18
|
-
const { children: e, className: s,
|
|
14
|
+
buttonGroup: C,
|
|
15
|
+
button: G,
|
|
16
|
+
secondary: y
|
|
17
|
+
}, R = f("ButtonGroup", (n) => {
|
|
18
|
+
const { children: e, className: s, refProp: u, ...a } = n, p = r(t.buttonGroupContainer, s), c = {
|
|
19
19
|
Button: {
|
|
20
|
-
className:
|
|
21
|
-
(
|
|
20
|
+
className: b(
|
|
21
|
+
(m) => r(
|
|
22
22
|
t.button,
|
|
23
|
-
|
|
23
|
+
m.color === "secondary" ? t.secondary : void 0
|
|
24
24
|
)
|
|
25
25
|
)
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
|
-
return /* @__PURE__ */ o.createElement(
|
|
28
|
+
return /* @__PURE__ */ o.createElement(l, null, /* @__PURE__ */ o.createElement("div", { ...a, className: p, ref: u }, /* @__PURE__ */ o.createElement("div", { className: t.buttonGroup, role: "group" }, /* @__PURE__ */ o.createElement(i, { props: c }, e))));
|
|
29
29
|
});
|
|
30
30
|
export {
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
R as ButtonGroup,
|
|
32
|
+
R as default
|
|
33
33
|
};
|
|
@@ -4,9 +4,9 @@ import e from "react";
|
|
|
4
4
|
import * as i from "react-aria-components";
|
|
5
5
|
import p from "clsx";
|
|
6
6
|
import "@tabler/icons-react";
|
|
7
|
-
import "./Icon-
|
|
8
|
-
import { I as x, a as f } from "./IconCheckboxEmpty-
|
|
9
|
-
import { I as h } from "./IconCheckboxIndeterminate-
|
|
7
|
+
import "./Icon-C6Bydohi.js";
|
|
8
|
+
import { I as x, a as f } from "./IconCheckboxEmpty-D-ZA69l0.js";
|
|
9
|
+
import { I as h } from "./IconCheckboxIndeterminate-D3WAKc2y.js";
|
|
10
10
|
import { C } from "./ClearPropsContext-CeCMjUK9.js";
|
|
11
11
|
import "./propsContext-CauylOgH.js";
|
|
12
12
|
import "@react-aria/utils";
|
package/dist/Checkbox.js
CHANGED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
/* */
|
|
3
|
+
import o from "react";
|
|
4
|
+
import m from "clsx";
|
|
5
|
+
import { C as p } from "./ClearPropsContext-CeCMjUK9.js";
|
|
6
|
+
import { P as b } from "./PropsContextProvider-DZvwqHLP.js";
|
|
7
|
+
import "@react-aria/utils";
|
|
8
|
+
import "./propsContext-CauylOgH.js";
|
|
9
|
+
import "remeda";
|
|
10
|
+
import { C as x } from "./Checkbox-DSTuqNLy.js";
|
|
11
|
+
import { f } from "./flowComponent-Dha_9C4F.js";
|
|
12
|
+
const C = "flow--checkbox-button", i = "flow--checkbox-button--label", h = "flow--checkbox-button--content", t = {
|
|
13
|
+
checkboxButton: C,
|
|
14
|
+
label: i,
|
|
15
|
+
content: h
|
|
16
|
+
}, y = f("CheckboxButton", (e) => {
|
|
17
|
+
const { children: c, className: n, refProp: r, ...s } = e, l = m(t.checkboxButton, n), a = {
|
|
18
|
+
Text: {
|
|
19
|
+
className: t.label
|
|
20
|
+
},
|
|
21
|
+
Content: {
|
|
22
|
+
className: t.content
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
return /* @__PURE__ */ o.createElement(p, null, /* @__PURE__ */ o.createElement(x, { ...s, className: l, ref: r }, /* @__PURE__ */ o.createElement(b, { props: a }, c)));
|
|
26
|
+
});
|
|
27
|
+
export {
|
|
28
|
+
y as C
|
|
29
|
+
};
|
package/dist/CheckboxButton.js
CHANGED
package/dist/CheckboxGroup.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
|
-
import * as
|
|
5
|
-
import
|
|
4
|
+
import * as x from "react-aria-components";
|
|
5
|
+
import b from "clsx";
|
|
6
6
|
import "./propsContext-CauylOgH.js";
|
|
7
|
-
import { P as
|
|
7
|
+
import { P as h } from "./PropsContextProvider-DZvwqHLP.js";
|
|
8
8
|
import "@react-aria/utils";
|
|
9
9
|
import "remeda";
|
|
10
|
-
import { F as
|
|
11
|
-
import { C as
|
|
12
|
-
import { TunnelProvider as
|
|
10
|
+
import { F as E } from "./FieldError-DVC26l1N.js";
|
|
11
|
+
import { C as k } from "./CheckboxButton-Bm2N9ipa.js";
|
|
12
|
+
import { TunnelProvider as C, TunnelExit as r } from "@mittwald/react-tunnel";
|
|
13
13
|
import { s as o } from "./FormField.module-DHK6nIcD.js";
|
|
14
|
-
import { C } from "./ColumnLayout-FMONjI17.js";
|
|
15
|
-
import { d as
|
|
16
|
-
import { f as
|
|
17
|
-
const
|
|
18
|
-
checkboxGroup:
|
|
19
|
-
}, j =
|
|
20
|
-
const { children: t, className: m, s: n, m:
|
|
14
|
+
import { C as N } from "./ColumnLayout-FMONjI17.js";
|
|
15
|
+
import { d as F } from "./deepFindOfType-6pG0fH7S.js";
|
|
16
|
+
import { f as G } from "./flowComponent-Dha_9C4F.js";
|
|
17
|
+
const P = "flow--checkbox-group", s = {
|
|
18
|
+
checkboxGroup: P
|
|
19
|
+
}, j = G("CheckboxGroup", (l) => {
|
|
20
|
+
const { children: t, className: m, s: n, m: a, l: i, refProp: p, ...d } = l, f = b(o.formField, m), u = {
|
|
21
21
|
Label: {
|
|
22
22
|
className: o.label
|
|
23
23
|
},
|
|
@@ -35,8 +35,8 @@ const G = "flow--checkbox-group", s = {
|
|
|
35
35
|
CheckboxButton: {
|
|
36
36
|
tunnelId: "checkboxes"
|
|
37
37
|
}
|
|
38
|
-
}, c = !!
|
|
39
|
-
return /* @__PURE__ */ e.createElement(
|
|
38
|
+
}, c = !!F(t, k);
|
|
39
|
+
return /* @__PURE__ */ e.createElement(x.CheckboxGroup, { ...d, className: f, ref: p }, /* @__PURE__ */ e.createElement(h, { props: u }, /* @__PURE__ */ e.createElement(C, null, t, c && /* @__PURE__ */ e.createElement(N, { s: n, m: a, l: i, className: s.checkboxGroup }, /* @__PURE__ */ e.createElement(r, { id: "checkboxes" })), !c && /* @__PURE__ */ e.createElement("div", { className: s.checkboxGroup }, /* @__PURE__ */ e.createElement(r, { id: "checkboxes" })), /* @__PURE__ */ e.createElement(r, { id: "fieldDescription" }), /* @__PURE__ */ e.createElement(r, { id: "fieldError" }))), /* @__PURE__ */ e.createElement(E, { className: o.fieldError }));
|
|
40
40
|
});
|
|
41
41
|
export {
|
|
42
42
|
j as CheckboxGroup,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import e from "react";
|
|
4
4
|
import * as u from "react-aria-components";
|
|
5
5
|
import { f as d } from "./flowComponent-Dha_9C4F.js";
|
|
6
|
-
import { P as x } from "./Popover-
|
|
6
|
+
import { P as x } from "./Popover-B6bARCOK.js";
|
|
7
7
|
import { C } from "./ClearPropsContext-CeCMjUK9.js";
|
|
8
8
|
import { P as M } from "./PropsContextProvider-DZvwqHLP.js";
|
|
9
9
|
import "@react-aria/utils";
|
package/dist/ContextMenu.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
|
-
import { C as r } from "./ContextMenu-
|
|
4
|
-
import { M as n } from "./MenuItem-
|
|
3
|
+
import { C as r } from "./ContextMenu-BJSsIdCC.js";
|
|
4
|
+
import { M as n } from "./MenuItem-BwS3CR2k.js";
|
|
5
5
|
import { MenuTrigger as m } from "react-aria-components";
|
|
6
6
|
export {
|
|
7
7
|
r as ContextMenu,
|
package/dist/CopyButton.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import o from "react";
|
|
4
4
|
import a from "copy-to-clipboard";
|
|
5
|
-
import { B as i } from "./Button-
|
|
5
|
+
import { B as i } from "./Button-DR7f1NA_.js";
|
|
6
6
|
import "@tabler/icons-react";
|
|
7
|
-
import "./Icon-
|
|
8
|
-
import { I as c } from "./IconCopy-
|
|
7
|
+
import "./Icon-C6Bydohi.js";
|
|
8
|
+
import { I as c } from "./IconCopy-DCQci8ab.js";
|
|
9
9
|
import { useLocalizedStringFormatter as l } from "react-aria";
|
|
10
10
|
import { a as s, T as f } from "./TooltipTrigger-TslkLN5s.js";
|
|
11
11
|
import { onlyText as u } from "react-children-utilities";
|
|
@@ -9,8 +9,8 @@ import "@react-aria/utils";
|
|
|
9
9
|
import "remeda";
|
|
10
10
|
import "dot-prop";
|
|
11
11
|
import "@tabler/icons-react";
|
|
12
|
-
import "./Icon-
|
|
13
|
-
import { I as c } from "./IconDanger-
|
|
12
|
+
import "./Icon-C6Bydohi.js";
|
|
13
|
+
import { I as c } from "./IconDanger-Cn_LiCtm.js";
|
|
14
14
|
import { f } from "./flowComponent-Dha_9C4F.js";
|
|
15
15
|
const E = "flow--field-error", d = {
|
|
16
16
|
fieldError: E
|
package/dist/FieldError.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
|
-
import i, { Children as
|
|
3
|
+
import i, { Children as f, useMemo as p } from "react";
|
|
4
4
|
import g from "clsx";
|
|
5
5
|
import d from "html-react-parser";
|
|
6
6
|
import { C as w } from "./ClearPropsContext-CeCMjUK9.js";
|
|
@@ -15,18 +15,19 @@ const b = "flow--icon", c = {
|
|
|
15
15
|
"size-s": "flow--icon--size-s",
|
|
16
16
|
"size-l": "flow--icon--size-l"
|
|
17
17
|
}, u = (e) => {
|
|
18
|
-
const t =
|
|
18
|
+
const t = f.toArray(d(e)).find(
|
|
19
19
|
(o) => typeof o == "object" && "type" in o && o.type === "svg"
|
|
20
20
|
);
|
|
21
21
|
if (!t)
|
|
22
22
|
throw new Error(`Invalid SVG string (got ${String(e)})`);
|
|
23
23
|
return t;
|
|
24
|
-
},
|
|
24
|
+
}, $ = z("Icon", (e) => {
|
|
25
25
|
const {
|
|
26
26
|
className: t,
|
|
27
27
|
"aria-label": o,
|
|
28
28
|
children: r,
|
|
29
29
|
size: l = "m",
|
|
30
|
+
refProp: E,
|
|
30
31
|
...a
|
|
31
32
|
} = e, m = {
|
|
32
33
|
...a,
|
|
@@ -35,7 +36,7 @@ const b = "flow--icon", c = {
|
|
|
35
36
|
"aria-hidden": !o,
|
|
36
37
|
"aria-label": o,
|
|
37
38
|
className: g(c.icon, t, c[`size-${l}`])
|
|
38
|
-
}, s = typeof r == "string", n =
|
|
39
|
+
}, s = typeof r == "string", n = p(
|
|
39
40
|
() => s ? u(r) : r,
|
|
40
41
|
[s, r]
|
|
41
42
|
);
|
|
@@ -48,5 +49,5 @@ const b = "flow--icon", c = {
|
|
|
48
49
|
return /* @__PURE__ */ i.createElement(w, null, i.cloneElement(n, m));
|
|
49
50
|
});
|
|
50
51
|
export {
|
|
51
|
-
|
|
52
|
+
$ as I
|
|
52
53
|
};
|
package/dist/Icon.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import { IconCheck as c } from "@tabler/icons-react";
|
|
5
|
-
import { I as t } from "./Icon-
|
|
5
|
+
import { I as t } from "./Icon-C6Bydohi.js";
|
|
6
6
|
const a = (o) => /* @__PURE__ */ e.createElement(t, { ...o }, /* @__PURE__ */ e.createElement(c, null));
|
|
7
7
|
export {
|
|
8
8
|
a as I
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import { IconSquareCheckFilled as t, IconSquare as n } from "@tabler/icons-react";
|
|
5
|
-
import { I as o } from "./Icon-
|
|
5
|
+
import { I as o } from "./Icon-C6Bydohi.js";
|
|
6
6
|
const l = (c) => /* @__PURE__ */ e.createElement(o, { ...c }, /* @__PURE__ */ e.createElement(t, null)), I = (c) => /* @__PURE__ */ e.createElement(o, { ...c }, /* @__PURE__ */ e.createElement(n, null));
|
|
7
7
|
export {
|
|
8
8
|
l as I,
|
package/dist/{IconCheckboxIndeterminate-CfK_tk87.js → IconCheckboxIndeterminate-D3WAKc2y.js}
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import { IconSquareMinusFilled as t } from "@tabler/icons-react";
|
|
5
|
-
import { I as r } from "./Icon-
|
|
5
|
+
import { I as r } from "./Icon-C6Bydohi.js";
|
|
6
6
|
const a = (o) => /* @__PURE__ */ e.createElement(r, { ...o }, /* @__PURE__ */ e.createElement(t, null));
|
|
7
7
|
export {
|
|
8
8
|
a as I
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import o from "react";
|
|
4
4
|
import { IconChevronDown as e } from "@tabler/icons-react";
|
|
5
|
-
import { I as r } from "./Icon-
|
|
5
|
+
import { I as r } from "./Icon-C6Bydohi.js";
|
|
6
6
|
const a = (n) => /* @__PURE__ */ o.createElement(r, { ...n }, /* @__PURE__ */ o.createElement(e, null));
|
|
7
7
|
export {
|
|
8
8
|
a as I
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import o from "react";
|
|
4
4
|
import { IconChevronRight as t } from "@tabler/icons-react";
|
|
5
|
-
import { I as r } from "./Icon-
|
|
5
|
+
import { I as r } from "./Icon-C6Bydohi.js";
|
|
6
6
|
const a = (e) => /* @__PURE__ */ o.createElement(r, { ...e }, /* @__PURE__ */ o.createElement(t, null));
|
|
7
7
|
export {
|
|
8
8
|
a as I
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import o from "react";
|
|
4
4
|
import { IconX as t } from "@tabler/icons-react";
|
|
5
|
-
import { I as r } from "./Icon-
|
|
5
|
+
import { I as r } from "./Icon-C6Bydohi.js";
|
|
6
6
|
const a = (e) => /* @__PURE__ */ o.createElement(r, { ...e }, /* @__PURE__ */ o.createElement(t, null));
|
|
7
7
|
export {
|
|
8
8
|
a as I
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import o from "react";
|
|
4
4
|
import { IconDots as e } from "@tabler/icons-react";
|
|
5
|
-
import { I as n } from "./Icon-
|
|
5
|
+
import { I as n } from "./Icon-C6Bydohi.js";
|
|
6
6
|
const a = (t) => /* @__PURE__ */ o.createElement(n, { ...t }, /* @__PURE__ */ o.createElement(e, null));
|
|
7
7
|
export {
|
|
8
8
|
a as I
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import o from "react";
|
|
4
4
|
import { IconCopy as t } from "@tabler/icons-react";
|
|
5
|
-
import { I as r } from "./Icon-
|
|
5
|
+
import { I as r } from "./Icon-C6Bydohi.js";
|
|
6
6
|
const p = (e) => /* @__PURE__ */ o.createElement(r, { ...e }, /* @__PURE__ */ o.createElement(t, null));
|
|
7
7
|
export {
|
|
8
8
|
p as I
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import { IconAlertTriangle as o } from "@tabler/icons-react";
|
|
5
|
-
import { I as t } from "./Icon-
|
|
5
|
+
import { I as t } from "./Icon-C6Bydohi.js";
|
|
6
6
|
const c = (r) => /* @__PURE__ */ e.createElement(t, { ...r }, /* @__PURE__ */ e.createElement(o, null));
|
|
7
7
|
export {
|
|
8
8
|
c as I
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import { IconLoader2 as r } from "@tabler/icons-react";
|
|
5
|
-
import { I as t } from "./Icon-
|
|
5
|
+
import { I as t } from "./Icon-C6Bydohi.js";
|
|
6
6
|
const a = (o) => /* @__PURE__ */ e.createElement(t, { ...o }, /* @__PURE__ */ e.createElement(r, null));
|
|
7
7
|
export {
|
|
8
8
|
a as I
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import { IconChevronUp as c, IconMinus as t, IconPlus as r } from "@tabler/icons-react";
|
|
5
|
-
import { I as o } from "./Icon-
|
|
5
|
+
import { I as o } from "./Icon-C6Bydohi.js";
|
|
6
6
|
const m = (n) => /* @__PURE__ */ e.createElement(o, { ...n }, /* @__PURE__ */ e.createElement(c, null)), I = (n) => /* @__PURE__ */ e.createElement(o, { ...n }, /* @__PURE__ */ e.createElement(t, null)), u = (n) => /* @__PURE__ */ e.createElement(o, { ...n }, /* @__PURE__ */ e.createElement(r, null));
|
|
7
7
|
export {
|
|
8
8
|
I,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import { IconCircle as c, IconCircleDotFilled as n } from "@tabler/icons-react";
|
|
5
|
-
import { I as t } from "./Icon-
|
|
5
|
+
import { I as t } from "./Icon-C6Bydohi.js";
|
|
6
6
|
const m = (o) => /* @__PURE__ */ e.createElement(t, { ...o }, /* @__PURE__ */ e.createElement(c, null)), i = (o) => /* @__PURE__ */ e.createElement(t, { ...o }, /* @__PURE__ */ e.createElement(n, null));
|
|
7
7
|
export {
|
|
8
8
|
i as I,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import { IconSearch as r } from "@tabler/icons-react";
|
|
5
|
-
import { I as c } from "./Icon-
|
|
5
|
+
import { I as c } from "./Icon-C6Bydohi.js";
|
|
6
6
|
const n = (o) => /* @__PURE__ */ e.createElement(c, { ...o }, /* @__PURE__ */ e.createElement(r, null));
|
|
7
7
|
export {
|
|
8
8
|
n as I
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import { IconX as o, IconCheck as n } from "@tabler/icons-react";
|
|
5
|
-
import { I as t } from "./Icon-
|
|
5
|
+
import { I as t } from "./Icon-C6Bydohi.js";
|
|
6
6
|
const l = (c) => /* @__PURE__ */ e.createElement(t, { ...c }, /* @__PURE__ */ e.createElement(o, null)), I = (c) => /* @__PURE__ */ e.createElement(t, { ...c }, /* @__PURE__ */ e.createElement(n, null));
|
|
7
7
|
export {
|
|
8
8
|
I,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import { IconInfoCircle as t, IconCircleCheck as o, IconAlertCircle as r } from "@tabler/icons-react";
|
|
5
|
-
import { I as n } from "./Icon-
|
|
5
|
+
import { I as n } from "./Icon-C6Bydohi.js";
|
|
6
6
|
const I = (c) => /* @__PURE__ */ e.createElement(n, { ...c }, /* @__PURE__ */ e.createElement(t, null)), s = (c) => /* @__PURE__ */ e.createElement(n, { ...c }, /* @__PURE__ */ e.createElement(o, null)), i = (c) => /* @__PURE__ */ e.createElement(n, { ...c }, /* @__PURE__ */ e.createElement(r, null));
|
|
7
7
|
export {
|
|
8
8
|
I,
|
package/dist/Icons.js
CHANGED
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import n from "react";
|
|
4
4
|
import { IconAppWindow as o, IconArrowLeft as l, IconClock as c, IconChevronLeft as a, IconCode as r, IconCalendarCheck as I, IconBuilding as m, IconLayoutBoard as s, IconDatabase as E, IconCalendar as u, IconTrash as i, IconWorld as p, IconMail as h, IconExternalLink as d, IconFilter as f, IconEyeCancel as C, IconHome as x, IconInbox as S, IconList as v, IconPower as b, IconUsersGroup as g, IconMenu2 as k, IconBell as L, IconArchive as w, IconDice3 as D, IconDeviceFloppy as M, IconListSearch as $, IconServer as y, IconSettings as F, IconShare3 as B, IconEye as H, IconAdjustmentsHorizontal as P, IconShield as A, IconShieldCheckFilled as R, IconDoor as V, IconSubtask as O, IconHeadset as T, IconFileX as j, IconLayoutGrid as z } from "@tabler/icons-react";
|
|
5
|
-
import { I as t } from "./Icon-
|
|
6
|
-
import { I as Pe } from "./IconCheck-
|
|
7
|
-
import { I as Re, a as Ve } from "./IconCheckboxEmpty-
|
|
8
|
-
import { I as Te } from "./IconCheckboxIndeterminate-
|
|
9
|
-
import { I as ze } from "./IconChevronDown-
|
|
10
|
-
import { I as Ge } from "./IconChevronRight-
|
|
11
|
-
import { a as Ne, I as Xe, b as qe } from "./IconPlus-
|
|
12
|
-
import { I as Ke } from "./IconClose-
|
|
13
|
-
import { I as Ye } from "./IconContextMenu-
|
|
14
|
-
import { I as _e } from "./IconCopy-
|
|
15
|
-
import { I as nn } from "./IconDanger-
|
|
16
|
-
import { a as cn, I as on } from "./IconSucceeded-
|
|
17
|
-
import { I as an, a as rn, b as In } from "./IconWarning-
|
|
18
|
-
import { I as sn } from "./IconPending-
|
|
19
|
-
import { a as un, I as pn } from "./IconRadioOn
|
|
20
|
-
import { I as dn } from "./IconSearch-
|
|
5
|
+
import { I as t } from "./Icon-C6Bydohi.js";
|
|
6
|
+
import { I as Pe } from "./IconCheck-B6r2fhzR.js";
|
|
7
|
+
import { I as Re, a as Ve } from "./IconCheckboxEmpty-D-ZA69l0.js";
|
|
8
|
+
import { I as Te } from "./IconCheckboxIndeterminate-D3WAKc2y.js";
|
|
9
|
+
import { I as ze } from "./IconChevronDown-ACaPfsSX.js";
|
|
10
|
+
import { I as Ge } from "./IconChevronRight-CWSSKr0n.js";
|
|
11
|
+
import { a as Ne, I as Xe, b as qe } from "./IconPlus-BsrhvkwU.js";
|
|
12
|
+
import { I as Ke } from "./IconClose-B-Y9GsPw.js";
|
|
13
|
+
import { I as Ye } from "./IconContextMenu-Cv_ADP6x.js";
|
|
14
|
+
import { I as _e } from "./IconCopy-DCQci8ab.js";
|
|
15
|
+
import { I as nn } from "./IconDanger-Cn_LiCtm.js";
|
|
16
|
+
import { a as cn, I as on } from "./IconSucceeded-Cx_ggN9K.js";
|
|
17
|
+
import { I as an, a as rn, b as In } from "./IconWarning-CDxShTt1.js";
|
|
18
|
+
import { I as sn } from "./IconPending-BR4c3Kzy.js";
|
|
19
|
+
import { a as un, I as pn } from "./IconRadioOn-DZdc39yy.js";
|
|
20
|
+
import { I as dn } from "./IconSearch-CW9oIsXP.js";
|
|
21
21
|
const N = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(o, null)), X = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(l, null)), q = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(c, null)), J = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(a, null)), K = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(r, null)), Q = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(I, null)), Y = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(m, null)), Z = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(s, null)), _ = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(E, null)), ee = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(u, null)), ne = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(i, null)), te = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(p, null)), ce = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(h, null)), oe = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(d, null)), le = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(f, null)), ae = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(C, null)), re = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(x, null)), Ie = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(S, null)), me = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(v, null)), se = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(b, null)), Ee = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(g, null)), ue = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(k, null)), ie = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(L, null)), pe = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(w, null)), he = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(D, null)), de = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(M, null)), fe = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement($, null)), Ce = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(y, null)), xe = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(F, null)), Se = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(B, null)), ve = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(H, null)), be = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(P, null)), ge = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(A, null)), ke = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(R, null)), Le = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(V, null)), we = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(O, null)), De = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(T, null)), Me = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(j, null)), $e = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(z, null)), ye = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(c, null)), Fe = (e) => /* @__PURE__ */ n.createElement(
|
|
22
22
|
t,
|
|
23
23
|
{
|