@mittwald/flow-react-components 0.1.0-alpha.49 → 0.1.0-alpha.51
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/{Button-DiHP-IYs.js → Button-BnXrfuF-.js} +3 -3
- package/dist/Button.js +1 -1
- package/dist/ButtonGroup.js +16 -0
- package/dist/Checkbox.js +8 -10
- package/dist/Content.js +1 -1
- package/dist/CopyButton.js +9 -10
- package/dist/FieldDescription.js +2 -2
- package/dist/{FieldError-BmzydlRW.js → FieldError-CQNWNYnn.js} +2 -2
- package/dist/FieldError.js +1 -1
- package/dist/Header.js +1 -1
- package/dist/Heading.js +1 -1
- package/dist/{Icon-hyIHBPMT.js → Icon-D7MPmc4I.js} +1 -1
- package/dist/Icon.js +1 -1
- package/dist/{IconCheck-B_oanaSr.js → IconCheck-C_3X4AJ_.js} +1 -1
- package/dist/{IconChevronUp-DOOZfR76.js → IconChevronUp-CT0CRmbO.js} +1 -1
- package/dist/{IconClose-iB7vE9z6.js → IconClose-Dukg2r-O.js} +1 -1
- package/dist/{IconCopy-CVV8P-Kn.js → IconCopy-B9yebcJo.js} +1 -1
- package/dist/{IconDanger-Bq08fgKM.js → IconDanger-Dm0XGnFW.js} +1 -1
- package/dist/{IconPlus-ChJLWEqL.js → IconPlus-CzStbn7o.js} +1 -1
- package/dist/{IconSucceeded-DbgWPDVp.js → IconSucceeded-C_S9H4Jp.js} +1 -1
- package/dist/{IconUnchecked-C7a0quEr.js → IconUnchecked-DFKAvzMH.js} +1 -1
- package/dist/{IconWarning-BYFc8Vv9.js → IconWarning-D8yJVvRX.js} +1 -1
- package/dist/Icons.js +10 -10
- package/dist/Image.js +1 -1
- package/dist/Initials.js +1 -1
- package/dist/InlineAlert.js +2 -2
- package/dist/{Label-696-vpHQ.js → Label-BtthqZPA.js} +1 -1
- package/dist/Label.js +1 -1
- package/dist/LayoutCard.js +1 -1
- package/dist/Link.js +1 -1
- package/dist/List.js +7 -7
- package/dist/Modal.js +55 -0
- package/dist/Navigation.js +1 -1
- package/dist/NumberField.js +12 -14
- package/dist/RadioGroup.js +12 -14
- package/dist/StatusBadge.js +3 -3
- package/dist/{StatusIcon-BTQPL8cG.js → StatusIcon-BFfrWshd.js} +8 -10
- package/dist/StatusIcon.js +1 -1
- package/dist/Switch.js +4 -4
- package/dist/{Text-DaJ0Ajt9.js → Text-Dts2bzGQ.js} +1 -1
- package/dist/Text.js +1 -1
- package/dist/TextArea.js +1 -1
- package/dist/TextField.js +1 -1
- package/dist/{TextFieldBase-D60i8AOY.js → TextFieldBase-DbCROXKW.js} +1 -1
- package/dist/Tooltip.js +3 -3
- package/dist/TooltipTrigger-BrP57dnv.js +20 -0
- package/dist/flowComponent-92d7kP4i.js +19 -0
- package/dist/styles.css +1 -1
- package/dist/types/components/ButtonGroup/ButtonGroup.d.ts +5 -0
- package/dist/types/components/ButtonGroup/index.d.ts +3 -0
- package/dist/types/components/ButtonGroup/stories/Default.stories.d.ts +10 -0
- package/dist/types/components/Modal/Modal.d.ts +8 -0
- package/dist/types/components/Modal/index.d.ts +4 -0
- package/dist/types/components/Modal/stories/Default.stories.d.ts +9 -0
- package/dist/types/components/Modal/stories/EdgeCases.stories.d.ts +6 -0
- package/dist/types/components/propTypes/index.d.ts +2 -0
- package/dist/types/lib/propsContext/propsContext.d.ts +1 -0
- package/dist/useProps-U3eRrkW6.js +73 -0
- package/package.json +12 -3
- package/dist/Tooltip-Co5h9sSt.js +0 -16
- package/dist/TooltipTrigger-7-ynWHZ9.js +0 -11
- package/dist/TooltipTrigger.js +0 -7
- package/dist/flowComponent-DLzr2Cvi.js +0 -92
- package/dist/types/lib/react/components/Tunnel/Tunnel.test.d.ts +0 -1
- package/dist/types/lib/react/components/Tunnel/components/TunnelEntry.d.ts +0 -6
- package/dist/types/lib/react/components/Tunnel/components/TunnelExit.d.ts +0 -6
- package/dist/types/lib/react/components/Tunnel/components/TunnelProvider.d.ts +0 -3
- package/dist/types/lib/react/components/Tunnel/context.d.ts +0 -8
- package/dist/types/lib/react/components/Tunnel/index.d.ts +0 -3
|
@@ -10,9 +10,9 @@ import "./propsContext-Dx7WKmmM.js";
|
|
|
10
10
|
import "remeda";
|
|
11
11
|
import "@tabler/icons-react";
|
|
12
12
|
import "html-react-parser";
|
|
13
|
-
import { f as E } from "./flowComponent-
|
|
14
|
-
import { b as N, I as S, a as F } from "./IconSucceeded-
|
|
15
|
-
import { T as h } from "./Text-
|
|
13
|
+
import { f as E } from "./flowComponent-92d7kP4i.js";
|
|
14
|
+
import { b as N, I as S, a as F } from "./IconSucceeded-C_S9H4Jp.js";
|
|
15
|
+
import { T as h } from "./Text-Dts2bzGQ.js";
|
|
16
16
|
const z = "flow--button", B = "flow--button--icon", v = "flow--button--text", T = "flow--button--content", D = "flow--button--state-icon", A = "flow--button--is-succeeded", R = "flow--button--is-failed", W = "flow--button--is-pending", _ = "flow--button--plain", $ = "flow--button--primary", j = "flow--button--solid", k = "flow--button--accent", q = "flow--button--danger", G = "flow--button--secondary", H = "flow--button--soft", t = {
|
|
17
17
|
button: z,
|
|
18
18
|
icon: B,
|
package/dist/Button.js
CHANGED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
/* */
|
|
3
|
+
import e from "react";
|
|
4
|
+
import "./propsContext-Dx7WKmmM.js";
|
|
5
|
+
import { u as n } from "./useProps-U3eRrkW6.js";
|
|
6
|
+
import p from "clsx";
|
|
7
|
+
const a = "flow--button-group", c = {
|
|
8
|
+
buttonGroup: a
|
|
9
|
+
}, G = (o) => {
|
|
10
|
+
const { children: t, className: r, ...s } = n("ButtonGroup", o), u = p(c.buttonGroup, r);
|
|
11
|
+
return /* @__PURE__ */ e.createElement("div", { ...s, className: u, role: "group" }, t);
|
|
12
|
+
};
|
|
13
|
+
export {
|
|
14
|
+
G as ButtonGroup,
|
|
15
|
+
G as default
|
|
16
|
+
};
|
package/dist/Checkbox.js
CHANGED
|
@@ -9,17 +9,15 @@ import { C as i } from "./ClearPropsContext-CD1-9TZA.js";
|
|
|
9
9
|
import "./propsContext-Dx7WKmmM.js";
|
|
10
10
|
import "@react-aria/utils";
|
|
11
11
|
import "remeda";
|
|
12
|
-
import "
|
|
13
|
-
import "
|
|
14
|
-
|
|
15
|
-
import { I as p, a as k } from "./IconUnchecked-C7a0quEr.js";
|
|
16
|
-
const h = "flow--checkbox", t = {
|
|
12
|
+
import "@mittwald/react-tunnel";
|
|
13
|
+
import { I as p, a as k } from "./IconUnchecked-DFKAvzMH.js";
|
|
14
|
+
const h = "flow--checkbox", c = {
|
|
17
15
|
checkbox: h
|
|
18
|
-
},
|
|
19
|
-
const { children:
|
|
20
|
-
return /* @__PURE__ */ e.createElement(i, null, /* @__PURE__ */ e.createElement(l.Checkbox, { ...m, className: a }, ({ isSelected: s }) => /* @__PURE__ */ e.createElement(e.Fragment, null, s ? /* @__PURE__ */ e.createElement(p, { className:
|
|
16
|
+
}, w = (t) => {
|
|
17
|
+
const { children: o, className: r, ...m } = t, a = n(c.checkbox, r);
|
|
18
|
+
return /* @__PURE__ */ e.createElement(i, null, /* @__PURE__ */ e.createElement(l.Checkbox, { ...m, className: a }, ({ isSelected: s }) => /* @__PURE__ */ e.createElement(e.Fragment, null, s ? /* @__PURE__ */ e.createElement(p, { className: c.checkmark }) : /* @__PURE__ */ e.createElement(k, { className: c.checkmark }), o)));
|
|
21
19
|
};
|
|
22
20
|
export {
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
w as Checkbox,
|
|
22
|
+
w as default
|
|
25
23
|
};
|
package/dist/Content.js
CHANGED
|
@@ -5,7 +5,7 @@ import { C as l } from "./ClearPropsContext-CD1-9TZA.js";
|
|
|
5
5
|
import "./propsContext-Dx7WKmmM.js";
|
|
6
6
|
import "@react-aria/utils";
|
|
7
7
|
import "remeda";
|
|
8
|
-
import { f as p } from "./flowComponent-
|
|
8
|
+
import { f as p } from "./flowComponent-92d7kP4i.js";
|
|
9
9
|
const d = p("Content", (e) => {
|
|
10
10
|
const { children: o, elementType: r = "div", ...n } = e, m = r;
|
|
11
11
|
return /* @__PURE__ */ t.createElement(l, null, /* @__PURE__ */ t.createElement(m, { ...n }, o));
|
package/dist/CopyButton.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import o from "react";
|
|
4
4
|
import n from "copy-to-clipboard";
|
|
5
|
-
import { B as
|
|
5
|
+
import { B as a } from "./Button-BnXrfuF-.js";
|
|
6
6
|
import "@tabler/icons-react";
|
|
7
7
|
import "clsx";
|
|
8
8
|
import "html-react-parser";
|
|
@@ -10,11 +10,10 @@ import { C as l } from "./ClearPropsContext-CD1-9TZA.js";
|
|
|
10
10
|
import "./propsContext-Dx7WKmmM.js";
|
|
11
11
|
import "@react-aria/utils";
|
|
12
12
|
import "remeda";
|
|
13
|
-
import { f as
|
|
14
|
-
import { I as c } from "./IconCopy-
|
|
13
|
+
import { f as i } from "./flowComponent-92d7kP4i.js";
|
|
14
|
+
import { I as c } from "./IconCopy-B9yebcJo.js";
|
|
15
15
|
import { useLocalizedStringFormatter as s } from "react-aria";
|
|
16
|
-
import { T as u } from "./
|
|
17
|
-
import { T as f } from "./TooltipTrigger-7-ynWHZ9.js";
|
|
16
|
+
import { T as u, a as f } from "./TooltipTrigger-BrP57dnv.js";
|
|
18
17
|
import { onlyText as y } from "react-children-utilities";
|
|
19
18
|
const C = {
|
|
20
19
|
"de-DE": {
|
|
@@ -23,13 +22,13 @@ const C = {
|
|
|
23
22
|
"en-EN": {
|
|
24
23
|
"copyButton.copy": "Copy"
|
|
25
24
|
}
|
|
26
|
-
},
|
|
27
|
-
const { text: e, ...
|
|
25
|
+
}, R = i("CopyButton", (r) => {
|
|
26
|
+
const { text: e, ...p } = r, t = s(C).format("copyButton.copy"), m = () => {
|
|
28
27
|
n(y(e));
|
|
29
28
|
};
|
|
30
|
-
return /* @__PURE__ */ o.createElement(l, null, /* @__PURE__ */ o.createElement(
|
|
29
|
+
return /* @__PURE__ */ o.createElement(l, null, /* @__PURE__ */ o.createElement(u, null, /* @__PURE__ */ o.createElement(a, { onPress: m, "aria-label": t, ...p }, /* @__PURE__ */ o.createElement(c, null)), /* @__PURE__ */ o.createElement(f, null, t)));
|
|
31
30
|
});
|
|
32
31
|
export {
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
R as CopyButton,
|
|
33
|
+
R as default
|
|
35
34
|
};
|
package/dist/FieldDescription.js
CHANGED
|
@@ -6,8 +6,8 @@ import { C as n } from "./ClearPropsContext-CD1-9TZA.js";
|
|
|
6
6
|
import "./propsContext-Dx7WKmmM.js";
|
|
7
7
|
import "@react-aria/utils";
|
|
8
8
|
import "remeda";
|
|
9
|
-
import { T as c } from "./Text-
|
|
10
|
-
import { f as m } from "./flowComponent-
|
|
9
|
+
import { T as c } from "./Text-Dts2bzGQ.js";
|
|
10
|
+
import { f as m } from "./flowComponent-92d7kP4i.js";
|
|
11
11
|
const p = "flow--field-description", a = {
|
|
12
12
|
fieldDescription: p
|
|
13
13
|
}, E = m("FieldDescription", (e) => {
|
|
@@ -9,8 +9,8 @@ import "@react-aria/utils";
|
|
|
9
9
|
import "remeda";
|
|
10
10
|
import "@tabler/icons-react";
|
|
11
11
|
import "html-react-parser";
|
|
12
|
-
import { f as c } from "./flowComponent-
|
|
13
|
-
import { I as p } from "./IconDanger-
|
|
12
|
+
import { f as c } from "./flowComponent-92d7kP4i.js";
|
|
13
|
+
import { I as p } from "./IconDanger-Dm0XGnFW.js";
|
|
14
14
|
const f = "flow--field-error", E = {
|
|
15
15
|
fieldError: f
|
|
16
16
|
}, j = c("FieldError", (o) => {
|
package/dist/FieldError.js
CHANGED
package/dist/Header.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
3
|
import a from "react";
|
|
4
|
-
import { f as m } from "./flowComponent-
|
|
4
|
+
import { f as m } from "./flowComponent-92d7kP4i.js";
|
|
5
5
|
const s = m("Header", (e) => {
|
|
6
6
|
const { children: t, elementType: r = "header", ...o } = e, n = r;
|
|
7
7
|
return /* @__PURE__ */ a.createElement(n, { ...o }, t);
|
package/dist/Heading.js
CHANGED
|
@@ -7,7 +7,7 @@ import { P as d } from "./PropsContextProvider-B6QiUIPM.js";
|
|
|
7
7
|
import "@react-aria/utils";
|
|
8
8
|
import "./propsContext-Dx7WKmmM.js";
|
|
9
9
|
import "remeda";
|
|
10
|
-
import { f } from "./flowComponent-
|
|
10
|
+
import { f } from "./flowComponent-92d7kP4i.js";
|
|
11
11
|
const h = "flow--heading", g = "flow--heading--icon", o = {
|
|
12
12
|
heading: h,
|
|
13
13
|
icon: g
|
|
@@ -7,7 +7,7 @@ import { C as w } from "./ClearPropsContext-CD1-9TZA.js";
|
|
|
7
7
|
import "./propsContext-Dx7WKmmM.js";
|
|
8
8
|
import "@react-aria/utils";
|
|
9
9
|
import "remeda";
|
|
10
|
-
import { f as z } from "./flowComponent-
|
|
10
|
+
import { f as z } from "./flowComponent-92d7kP4i.js";
|
|
11
11
|
const b = "flow--icon", c = {
|
|
12
12
|
icon: b,
|
|
13
13
|
"size-m": "flow--icon--size-m",
|
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-D7MPmc4I.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 o from "react";
|
|
4
4
|
import { IconChevronDown as r, IconChevronUp as t } from "@tabler/icons-react";
|
|
5
|
-
import { I as n } from "./Icon-
|
|
5
|
+
import { I as n } from "./Icon-D7MPmc4I.js";
|
|
6
6
|
const I = (e) => /* @__PURE__ */ o.createElement(n, { ...e }, /* @__PURE__ */ o.createElement(r, null)), l = (e) => /* @__PURE__ */ o.createElement(n, { ...e }, /* @__PURE__ */ o.createElement(t, null));
|
|
7
7
|
export {
|
|
8
8
|
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-D7MPmc4I.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 { IconCopy as t } from "@tabler/icons-react";
|
|
5
|
-
import { I as r } from "./Icon-
|
|
5
|
+
import { I as r } from "./Icon-D7MPmc4I.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-D7MPmc4I.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 { IconMinus as t, IconPlus as c } from "@tabler/icons-react";
|
|
5
|
-
import { I as o } from "./Icon-
|
|
5
|
+
import { I as o } from "./Icon-D7MPmc4I.js";
|
|
6
6
|
const r = (n) => /* @__PURE__ */ e.createElement(o, { ...n }, /* @__PURE__ */ e.createElement(t, null)), m = (n) => /* @__PURE__ */ e.createElement(o, { ...n }, /* @__PURE__ */ e.createElement(c, null));
|
|
7
7
|
export {
|
|
8
8
|
r as I,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import { IconX as t, IconLoader2 as o, IconCheck as a } from "@tabler/icons-react";
|
|
5
|
-
import { I as c } from "./Icon-
|
|
5
|
+
import { I as c } from "./Icon-D7MPmc4I.js";
|
|
6
6
|
const I = (n) => /* @__PURE__ */ e.createElement(c, { ...n }, /* @__PURE__ */ e.createElement(t, null)), s = (n) => /* @__PURE__ */ e.createElement(c, { ...n }, /* @__PURE__ */ e.createElement(o, null)), E = (n) => /* @__PURE__ */ e.createElement(c, { ...n }, /* @__PURE__ */ e.createElement(a, null));
|
|
7
7
|
export {
|
|
8
8
|
I,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import { IconSquareCheck as n, IconSquare as o } from "@tabler/icons-react";
|
|
5
|
-
import { I as t } from "./Icon-
|
|
5
|
+
import { I as t } from "./Icon-D7MPmc4I.js";
|
|
6
6
|
const l = (c) => /* @__PURE__ */ e.createElement(t, { ...c }, /* @__PURE__ */ e.createElement(n, null)), I = (c) => /* @__PURE__ */ e.createElement(t, { ...c }, /* @__PURE__ */ e.createElement(o, null));
|
|
7
7
|
export {
|
|
8
8
|
l as 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-D7MPmc4I.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,16 +2,16 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import { IconAppWindow as o, IconArrowLeft as l, IconClock as c, IconChevronLeft as a, IconChevronRight as r, IconCalendarCheck as I, IconBuilding as m, IconLayoutBoard as s, IconDatabase as E, IconCalendar as u, IconTrash as i, IconWorld as h, IconMail as p, IconExternalLink as f, IconFilter as C, IconEyeCancel as d, IconHome as S, IconList as L, IconPower as g, IconUsersGroup as x, IconBell as v, IconArchive as k, IconDice3 as D, IconSearch as $, IconListSearch as b, IconServer as w, IconSettings as H, IconEye as y, IconAdjustmentsHorizontal as A, IconDoor as B, IconHeadset as F, IconFileX as R, IconLayoutGrid as P } from "@tabler/icons-react";
|
|
5
|
-
import { I as t } from "./Icon-
|
|
6
|
-
import { I as ge } from "./IconCheck-
|
|
7
|
-
import { I as ve, a as ke } from "./IconUnchecked-
|
|
8
|
-
import { I as $e, a as be } from "./IconChevronUp-
|
|
9
|
-
import { I as He } from "./IconClose-
|
|
10
|
-
import { I as Ae } from "./IconCopy-
|
|
11
|
-
import { I as Fe } from "./IconDanger-
|
|
12
|
-
import { I as Pe, a as Te, b as je } from "./IconSucceeded-
|
|
13
|
-
import { I as Ue, a as We, b as Ge } from "./IconWarning-
|
|
14
|
-
import { I as ze, a as Ne } from "./IconPlus-
|
|
5
|
+
import { I as t } from "./Icon-D7MPmc4I.js";
|
|
6
|
+
import { I as ge } from "./IconCheck-C_3X4AJ_.js";
|
|
7
|
+
import { I as ve, a as ke } from "./IconUnchecked-DFKAvzMH.js";
|
|
8
|
+
import { I as $e, a as be } from "./IconChevronUp-CT0CRmbO.js";
|
|
9
|
+
import { I as He } from "./IconClose-Dukg2r-O.js";
|
|
10
|
+
import { I as Ae } from "./IconCopy-B9yebcJo.js";
|
|
11
|
+
import { I as Fe } from "./IconDanger-Dm0XGnFW.js";
|
|
12
|
+
import { I as Pe, a as Te, b as je } from "./IconSucceeded-C_S9H4Jp.js";
|
|
13
|
+
import { I as Ue, a as We, b as Ge } from "./IconWarning-D8yJVvRX.js";
|
|
14
|
+
import { I as ze, a as Ne } from "./IconPlus-CzStbn7o.js";
|
|
15
15
|
const U = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(o, null)), W = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(l, null)), G = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(c, null)), V = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(a, null)), z = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(r, null)), N = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(I, null)), X = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(m, null)), q = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(s, null)), J = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(E, null)), K = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(u, null)), O = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(i, null)), Q = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(h, null)), Y = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(p, null)), Z = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(f, null)), _ = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(C, null)), ee = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(d, null)), ne = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(S, null)), te = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(L, null)), ce = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(g, null)), oe = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(x, null)), le = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(v, null)), ae = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(k, null)), re = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(D, null)), Ie = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement($, null)), me = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(b, null)), se = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(w, null)), Ee = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(H, null)), ue = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(y, null)), ie = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(A, null)), he = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(B, null)), pe = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(F, null)), fe = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(R, null)), Ce = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(P, null)), de = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(c, null));
|
|
16
16
|
export {
|
|
17
17
|
U as IconApp,
|
package/dist/Image.js
CHANGED
|
@@ -5,7 +5,7 @@ import { C as r } from "./ClearPropsContext-CD1-9TZA.js";
|
|
|
5
5
|
import "./propsContext-Dx7WKmmM.js";
|
|
6
6
|
import "@react-aria/utils";
|
|
7
7
|
import "remeda";
|
|
8
|
-
import { f as m } from "./flowComponent-
|
|
8
|
+
import { f as m } from "./flowComponent-92d7kP4i.js";
|
|
9
9
|
const f = m("Image", (o) => {
|
|
10
10
|
const e = o;
|
|
11
11
|
return /* @__PURE__ */ t.createElement(r, null, /* @__PURE__ */ t.createElement("img", { ...e }));
|
package/dist/Initials.js
CHANGED
|
@@ -7,7 +7,7 @@ import "./propsContext-Dx7WKmmM.js";
|
|
|
7
7
|
import "@react-aria/utils";
|
|
8
8
|
import "remeda";
|
|
9
9
|
import { onlyText as f } from "react-children-utilities";
|
|
10
|
-
import { f as C } from "./flowComponent-
|
|
10
|
+
import { f as C } from "./flowComponent-92d7kP4i.js";
|
|
11
11
|
const u = (i) => i.replace(/[^\p{L}\s]/giu, "").split(" ").map((t) => t.trim()[0]).filter((t) => t !== void 0).map((t) => t.toUpperCase()).slice(0, 2), x = "flow--initials", d = {
|
|
12
12
|
initials: x
|
|
13
13
|
}, h = C("Initials", (i) => {
|
package/dist/InlineAlert.js
CHANGED
|
@@ -7,8 +7,8 @@ import "@react-aria/utils";
|
|
|
7
7
|
import "./propsContext-Dx7WKmmM.js";
|
|
8
8
|
import "remeda";
|
|
9
9
|
import f from "clsx";
|
|
10
|
-
import { S as p } from "./StatusIcon-
|
|
11
|
-
import { f as d } from "./flowComponent-
|
|
10
|
+
import { S as p } from "./StatusIcon-BFfrWshd.js";
|
|
11
|
+
import { f as d } from "./flowComponent-92d7kP4i.js";
|
|
12
12
|
const u = "flow--inline-alert", w = "flow--inline-alert--content", g = "flow--inline-alert--status-icon", C = "flow--inline-alert--heading", I = "flow--inline-alert--info", N = "flow--inline-alert--warning", h = "flow--inline-alert--danger", x = "flow--inline-alert--success", n = {
|
|
13
13
|
inlineAlert: u,
|
|
14
14
|
content: w,
|
|
@@ -8,7 +8,7 @@ import "./propsContext-Dx7WKmmM.js";
|
|
|
8
8
|
import "@react-aria/utils";
|
|
9
9
|
import "remeda";
|
|
10
10
|
import { useLocalizedStringFormatter as b } from "react-aria";
|
|
11
|
-
import { f } from "./flowComponent-
|
|
11
|
+
import { f } from "./flowComponent-92d7kP4i.js";
|
|
12
12
|
const C = "flow--label", L = {
|
|
13
13
|
label: C
|
|
14
14
|
}, E = {
|
package/dist/Label.js
CHANGED
package/dist/LayoutCard.js
CHANGED
package/dist/Link.js
CHANGED
|
@@ -7,7 +7,7 @@ import "./propsContext-Dx7WKmmM.js";
|
|
|
7
7
|
import "@react-aria/utils";
|
|
8
8
|
import "remeda";
|
|
9
9
|
import f from "clsx";
|
|
10
|
-
import { f as k } from "./flowComponent-
|
|
10
|
+
import { f as k } from "./flowComponent-92d7kP4i.js";
|
|
11
11
|
const d = "flow--link", C = "flow--link--inline", w = "flow--link--primary", u = "flow--link--danger", n = {
|
|
12
12
|
link: d,
|
|
13
13
|
inline: C,
|
package/dist/List.js
CHANGED
|
@@ -5,21 +5,21 @@ var B = (i, t, e) => t in i ? V(i, t, { enumerable: !0, configurable: !0, writab
|
|
|
5
5
|
var n = (i, t, e) => (B(i, typeof t != "symbol" ? t + "" : t, e), e);
|
|
6
6
|
import r, { createContext as U, useContext as $, Suspense as D, createElement as x, useMemo as O, useEffect as I, isValidElement as H } from "react";
|
|
7
7
|
import { useMessageFormatter as j, useLocalizedStringFormatter as q } from "react-aria";
|
|
8
|
-
import { T as J } from "./Text-
|
|
9
|
-
import { B as b } from "./Button-
|
|
8
|
+
import { T as J } from "./Text-Dts2bzGQ.js";
|
|
9
|
+
import { B as b } from "./Button-BnXrfuF-.js";
|
|
10
10
|
import "@tabler/icons-react";
|
|
11
11
|
import R from "clsx";
|
|
12
12
|
import "html-react-parser";
|
|
13
13
|
import "./propsContext-Dx7WKmmM.js";
|
|
14
14
|
import "@react-aria/utils";
|
|
15
15
|
import { times as K } from "remeda";
|
|
16
|
-
import "
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import { a as G, I as Q } from "./IconChevronUp-DOOZfR76.js";
|
|
20
|
-
import { L as W } from "./Label-696-vpHQ.js";
|
|
16
|
+
import "@mittwald/react-tunnel";
|
|
17
|
+
import { a as G, I as Q } from "./IconChevronUp-CT0CRmbO.js";
|
|
18
|
+
import { L as W } from "./Label-BtthqZPA.js";
|
|
21
19
|
import { getProperty as X } from "dot-prop";
|
|
20
|
+
import { useSignal as f } from "@preact/signals-react";
|
|
22
21
|
import { useReactTable as Y, getCoreRowModel as Z, getSortedRowModel as _, getFilteredRowModel as tt, getPaginationRowModel as et, getFacetedUniqueValues as at } from "@tanstack/react-table";
|
|
22
|
+
import { useSignals as S } from "@preact/signals-react/runtime";
|
|
23
23
|
import it from "invariant";
|
|
24
24
|
import { getAsyncResource as T } from "@mittwald/react-use-promise";
|
|
25
25
|
import { deepFind as st, deepForEach as nt } from "react-children-utilities";
|
package/dist/Modal.js
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
/* */
|
|
3
|
+
import * as t from "react-aria-components";
|
|
4
|
+
import { DialogTrigger as O } from "react-aria-components";
|
|
5
|
+
import o, { useContext as p } from "react";
|
|
6
|
+
import f from "clsx";
|
|
7
|
+
import "./propsContext-Dx7WKmmM.js";
|
|
8
|
+
import { P as u } from "./PropsContextProvider-B6QiUIPM.js";
|
|
9
|
+
import "@react-aria/utils";
|
|
10
|
+
import "remeda";
|
|
11
|
+
import { TunnelProvider as g, TunnelExit as m } from "@mittwald/react-tunnel";
|
|
12
|
+
const w = "flow--modal", v = "flow--modal--dialog", z = "flow--modal--overlay", y = "flow--modal--button-group", E = "flow--modal--content", x = "flow--modal--panel", e = {
|
|
13
|
+
modal: w,
|
|
14
|
+
"modal-zoom": "flow--modal--modal-zoom",
|
|
15
|
+
dialog: v,
|
|
16
|
+
overlay: z,
|
|
17
|
+
"modal-fade": "flow--modal--modal-fade",
|
|
18
|
+
buttonGroup: y,
|
|
19
|
+
content: E,
|
|
20
|
+
"size-s": "flow--modal--size-s",
|
|
21
|
+
"size-m": "flow--modal--size-m",
|
|
22
|
+
"size-l": "flow--modal--size-l",
|
|
23
|
+
panel: x,
|
|
24
|
+
"modal-slide-in": "flow--modal--modal-slide-in",
|
|
25
|
+
"modal-slide-up": "flow--modal--modal-slide-up"
|
|
26
|
+
}, D = (n) => {
|
|
27
|
+
const { size: r = "s", panel: s, ...d } = n, i = f(
|
|
28
|
+
e.modal,
|
|
29
|
+
e[`size-${r}`],
|
|
30
|
+
s && e.panel
|
|
31
|
+
), c = {
|
|
32
|
+
Content: {
|
|
33
|
+
tunnelId: "content",
|
|
34
|
+
elementType: o.Fragment
|
|
35
|
+
},
|
|
36
|
+
Heading: {
|
|
37
|
+
level: 2,
|
|
38
|
+
tunnelId: "title",
|
|
39
|
+
slot: "title"
|
|
40
|
+
},
|
|
41
|
+
ButtonGroup: {
|
|
42
|
+
className: e.buttonGroup
|
|
43
|
+
}
|
|
44
|
+
}, a = p(t.OverlayTriggerStateContext);
|
|
45
|
+
let l = n.children;
|
|
46
|
+
return typeof l == "function" && (l = l({
|
|
47
|
+
close: (a == null ? void 0 : a.close) || (() => {
|
|
48
|
+
})
|
|
49
|
+
})), /* @__PURE__ */ o.createElement(t.ModalOverlay, { className: e.overlay, ...d, isDismissable: !0 }, /* @__PURE__ */ o.createElement(t.Modal, { className: i }, /* @__PURE__ */ o.createElement(t.Dialog, { className: e.dialog }, /* @__PURE__ */ o.createElement(u, { props: c }, /* @__PURE__ */ o.createElement(g, null, /* @__PURE__ */ o.createElement("div", { className: e.content }, /* @__PURE__ */ o.createElement(m, { id: "title" }), /* @__PURE__ */ o.createElement(m, { id: "content" })), l)))));
|
|
50
|
+
};
|
|
51
|
+
export {
|
|
52
|
+
D as Modal,
|
|
53
|
+
O as ModalTrigger,
|
|
54
|
+
D as default
|
|
55
|
+
};
|
package/dist/Navigation.js
CHANGED
|
@@ -7,7 +7,7 @@ import { P as c } from "./PropsContextProvider-B6QiUIPM.js";
|
|
|
7
7
|
import "@react-aria/utils";
|
|
8
8
|
import "remeda";
|
|
9
9
|
import * as l from "react-aria-components";
|
|
10
|
-
import { f as v } from "./flowComponent-
|
|
10
|
+
import { f as v } from "./flowComponent-92d7kP4i.js";
|
|
11
11
|
const g = "flow--navigation", p = {
|
|
12
12
|
navigation: g
|
|
13
13
|
}, P = (n) => {
|
package/dist/NumberField.js
CHANGED
|
@@ -3,21 +3,19 @@
|
|
|
3
3
|
import e from "react";
|
|
4
4
|
import * as r from "react-aria-components";
|
|
5
5
|
import { s as o } from "./FormField.module-DHK6nIcD.js";
|
|
6
|
-
import
|
|
7
|
-
import { C as
|
|
6
|
+
import u from "clsx";
|
|
7
|
+
import { C as p } from "./ClearPropsContext-CD1-9TZA.js";
|
|
8
8
|
import { P as d } from "./PropsContextProvider-B6QiUIPM.js";
|
|
9
9
|
import "@react-aria/utils";
|
|
10
10
|
import "./propsContext-Dx7WKmmM.js";
|
|
11
11
|
import "remeda";
|
|
12
|
-
import { F as f } from "./FieldError-
|
|
13
|
-
import { B as s } from "./Button-
|
|
12
|
+
import { F as f } from "./FieldError-CQNWNYnn.js";
|
|
13
|
+
import { B as s } from "./Button-BnXrfuF-.js";
|
|
14
14
|
import "@tabler/icons-react";
|
|
15
15
|
import "html-react-parser";
|
|
16
|
-
import "
|
|
17
|
-
import "
|
|
18
|
-
import "
|
|
19
|
-
import { I as E, a as N } from "./IconChevronUp-DOOZfR76.js";
|
|
20
|
-
import { I, a as b } from "./IconPlus-ChJLWEqL.js";
|
|
16
|
+
import "@mittwald/react-tunnel";
|
|
17
|
+
import { I as E, a as N } from "./IconChevronUp-CT0CRmbO.js";
|
|
18
|
+
import { I, a as b } from "./IconPlus-CzStbn7o.js";
|
|
21
19
|
const P = "flow--number-field--group", B = "flow--number-field--input", C = "flow--number-field--decrement-button", F = "flow--number-field--increment-button", w = "flow--number-field--coarse-pointer-icon", h = "flow--number-field--touch-icon", t = {
|
|
22
20
|
group: P,
|
|
23
21
|
input: B,
|
|
@@ -25,8 +23,8 @@ const P = "flow--number-field--group", B = "flow--number-field--input", C = "flo
|
|
|
25
23
|
incrementButton: F,
|
|
26
24
|
coarsePointerIcon: w,
|
|
27
25
|
touchIcon: h
|
|
28
|
-
},
|
|
29
|
-
const { children: c, className:
|
|
26
|
+
}, k = (n) => {
|
|
27
|
+
const { children: c, className: a, ...m } = n, l = u(o.formField, a), i = {
|
|
30
28
|
Label: {
|
|
31
29
|
className: o.label,
|
|
32
30
|
optional: !n.isRequired
|
|
@@ -38,7 +36,7 @@ const P = "flow--number-field--group", B = "flow--number-field--input", C = "flo
|
|
|
38
36
|
className: o.customFieldError
|
|
39
37
|
}
|
|
40
38
|
};
|
|
41
|
-
return /* @__PURE__ */ e.createElement(
|
|
39
|
+
return /* @__PURE__ */ e.createElement(p, null, /* @__PURE__ */ e.createElement(r.NumberField, { ...m, className: l }, /* @__PURE__ */ e.createElement(r.Group, { className: t.group }, /* @__PURE__ */ e.createElement(
|
|
42
40
|
s,
|
|
43
41
|
{
|
|
44
42
|
slot: "decrement",
|
|
@@ -63,6 +61,6 @@ const P = "flow--number-field--group", B = "flow--number-field--input", C = "flo
|
|
|
63
61
|
)), /* @__PURE__ */ e.createElement(d, { props: i }, c), /* @__PURE__ */ e.createElement(f, { className: o.fieldError })));
|
|
64
62
|
};
|
|
65
63
|
export {
|
|
66
|
-
|
|
67
|
-
|
|
64
|
+
k as NumberField,
|
|
65
|
+
k as default
|
|
68
66
|
};
|
package/dist/RadioGroup.js
CHANGED
|
@@ -7,21 +7,19 @@ import "./propsContext-Dx7WKmmM.js";
|
|
|
7
7
|
import { P as d } from "./PropsContextProvider-B6QiUIPM.js";
|
|
8
8
|
import "@react-aria/utils";
|
|
9
9
|
import "remeda";
|
|
10
|
-
import { F as p } from "./FieldError-
|
|
10
|
+
import { F as p } from "./FieldError-CQNWNYnn.js";
|
|
11
11
|
import "@tabler/icons-react";
|
|
12
12
|
import "html-react-parser";
|
|
13
|
-
import "
|
|
14
|
-
import "
|
|
15
|
-
import "@preact/signals-react/runtime";
|
|
16
|
-
import { I as f } from "./IconCheck-B_oanaSr.js";
|
|
13
|
+
import "@mittwald/react-tunnel";
|
|
14
|
+
import { I as f } from "./IconCheck-C_3X4AJ_.js";
|
|
17
15
|
const u = "flow--radio-group", E = "flow--radio-group--label", N = "flow--radio-group--field-error", g = "flow--radio-group--custom-field-error", w = "flow--radio-group--field-description", r = {
|
|
18
16
|
radioGroup: u,
|
|
19
17
|
label: E,
|
|
20
18
|
fieldError: N,
|
|
21
19
|
customFieldError: g,
|
|
22
20
|
fieldDescription: w
|
|
23
|
-
},
|
|
24
|
-
const { children: a, className: s, ...
|
|
21
|
+
}, T = (t) => {
|
|
22
|
+
const { children: a, className: s, ...c } = t, i = m(r.radioGroup, s), l = {
|
|
25
23
|
Label: {
|
|
26
24
|
className: r.label
|
|
27
25
|
},
|
|
@@ -32,15 +30,15 @@ const u = "flow--radio-group", E = "flow--radio-group--label", N = "flow--radio-
|
|
|
32
30
|
className: r.customFieldError
|
|
33
31
|
}
|
|
34
32
|
};
|
|
35
|
-
return /* @__PURE__ */ o.createElement(n.RadioGroup, { ...
|
|
33
|
+
return /* @__PURE__ */ o.createElement(n.RadioGroup, { ...c, className: i }, /* @__PURE__ */ o.createElement(d, { props: l }, a), /* @__PURE__ */ o.createElement(p, { className: r.fieldError }));
|
|
36
34
|
}, b = "flow--radio-group--radio", k = "flow--radio-group--radio--content", h = "flow--radio-group--radio--icon", C = "flow--radio-group--radio--checkmark", F = "flow--radio-group--radio--label", e = {
|
|
37
35
|
radio: b,
|
|
38
36
|
content: k,
|
|
39
37
|
icon: h,
|
|
40
38
|
checkmark: C,
|
|
41
39
|
label: F
|
|
42
|
-
},
|
|
43
|
-
const { children: a, className: s, ...
|
|
40
|
+
}, j = (t) => {
|
|
41
|
+
const { children: a, className: s, ...c } = t, i = m(e.radio, s), l = {
|
|
44
42
|
Icon: {
|
|
45
43
|
className: e.icon
|
|
46
44
|
},
|
|
@@ -51,10 +49,10 @@ const u = "flow--radio-group", E = "flow--radio-group--label", N = "flow--radio-
|
|
|
51
49
|
className: e.content
|
|
52
50
|
}
|
|
53
51
|
};
|
|
54
|
-
return /* @__PURE__ */ o.createElement(n.Radio, { ...
|
|
52
|
+
return /* @__PURE__ */ o.createElement(n.Radio, { ...c, className: i }, /* @__PURE__ */ o.createElement(d, { props: l }, a), /* @__PURE__ */ o.createElement(f, { className: e.checkmark }));
|
|
55
53
|
};
|
|
56
54
|
export {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
55
|
+
j as Radio,
|
|
56
|
+
T as RadioGroup,
|
|
57
|
+
T as default
|
|
60
58
|
};
|