@mittwald/flow-react-components 0.1.0-alpha.39 → 0.1.0-alpha.40
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/Avatar.js +2 -2
- package/dist/{Button-Bh0E7tqA.js → Button-BmQ-57Vz.js} +7 -8
- package/dist/Button.js +1 -1
- package/dist/Checkbox.js +11 -10
- package/dist/Content.js +2 -2
- package/dist/CopyButton.js +5 -5
- package/dist/FieldDescription.js +3 -3
- package/dist/{FieldError-BvbJ9dzr.js → FieldError-h_2c51Ws.js} +4 -4
- package/dist/FieldError.js +1 -1
- package/dist/Heading.js +2 -2
- package/dist/{Icon-D4F2hKiG.js → Icon-pvbWA-vL.js} +2 -2
- package/dist/Icon.js +1 -1
- package/dist/{IconCheck-DkmJUDfj.js → IconCheck-BhmzlVex.js} +1 -1
- package/dist/{IconClose-B6UJFr7O.js → IconClose-DP0Hbb0w.js} +1 -1
- package/dist/{IconCopy-DwaMO7aJ.js → IconCopy-f1oXwqHF.js} +1 -1
- package/dist/{IconDanger-CCULXdVw.js → IconDanger-DxWZvd65.js} +1 -1
- package/dist/{IconPlus-CnpaX_7c.js → IconPlus-DQBvsCqr.js} +1 -1
- package/dist/{IconSucceeded-CPpK5tIY.js → IconSucceeded-Df3yoJLr.js} +1 -1
- package/dist/{IconUnchecked-DbkvP1em.js → IconUnchecked-CMZzDHYB.js} +1 -1
- package/dist/{IconWarning-BIeWNF-G.js → IconWarning-DhmOwBP9.js} +1 -1
- package/dist/Icons.js +9 -9
- package/dist/Image.js +2 -2
- package/dist/Initials.js +7 -6
- package/dist/InlineAlert.js +10 -11
- package/dist/{Label-EVs32ETX.js → Label-CoQ5dkQY.js} +2 -2
- package/dist/Label.js +1 -1
- package/dist/LabeledValue.js +2 -2
- package/dist/LayoutCard.js +2 -2
- package/dist/Link.js +2 -2
- package/dist/Navigation.js +7 -8
- package/dist/NumberField.js +6 -6
- package/dist/PropsContextProvider-C0o9mDtR.js +29 -0
- package/dist/RadioGroup.js +5 -5
- package/dist/StatusBadge.js +2 -2
- package/dist/{StatusIcon-CZbUO0T5.js → StatusIcon-BTmOqTZR.js} +7 -6
- package/dist/StatusIcon.js +1 -1
- package/dist/Switch.js +12 -11
- package/dist/Text-BUVxBLdV.js +26 -0
- package/dist/Text.js +1 -1
- package/dist/TextArea.js +1 -1
- package/dist/TextField.js +1 -1
- package/dist/{TextFieldBase-aO8YvtBx.js → TextFieldBase-Ck-WpOdU.js} +3 -3
- package/dist/nextjs/LinkProvider.js +2 -2
- package/dist/types/components/propTypes/index.d.ts +1 -0
- package/dist/types/lib/propsContext/dynamicProps/resolveDynamicProps.d.ts +1 -1
- package/dist/types/lib/propsContext/dynamicProps/types.d.ts +1 -1
- package/dist/types/lib/propsContext/isFlowComponentName.d.ts +2 -0
- package/dist/types/lib/propsContext/isFlowComponentProp.d.ts +2 -0
- package/dist/types/lib/propsContext/nestedPropsContext/isPropsWithChildren.d.ts +2 -0
- package/dist/types/lib/propsContext/nestedPropsContext/pickPropsContext.d.ts +3 -0
- package/dist/types/lib/propsContext/nestedPropsContext/pickPropsContext.test.d.ts +1 -0
- package/dist/types/lib/propsContext/nestedPropsContext/wrapChildrenWithNestedPropsContext.d.ts +5 -0
- package/dist/types/lib/propsContext/propsContext.d.ts +17 -3078
- package/dist/types/lib/propsContext/types.d.ts +2 -1
- package/dist/useProps-DWCkDfxd.js +67 -0
- package/package.json +2 -2
- package/dist/PropsContextProvider-CEoxD8yK.js +0 -26
- package/dist/Text-8V0yR4PK.js +0 -27
- package/dist/propsContext-Dx7WKmmM.js +0 -7
- package/dist/useProps-C7GIMcgB.js +0 -27
package/dist/Avatar.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import o, { isValidElement as l } from "react";
|
|
4
4
|
import v from "clsx";
|
|
5
|
-
import "./
|
|
6
|
-
import { P as m } from "./PropsContextProvider-CEoxD8yK.js";
|
|
5
|
+
import { P as m } from "./PropsContextProvider-C0o9mDtR.js";
|
|
7
6
|
import "@react-aria/utils";
|
|
7
|
+
import "remeda";
|
|
8
8
|
import { hash as p } from "object-code";
|
|
9
9
|
import { deepForEach as c } from "react-children-utilities";
|
|
10
10
|
const f = "flow--avatar", z = "flow--avatar--initials", r = {
|
|
@@ -3,14 +3,13 @@
|
|
|
3
3
|
import o from "react";
|
|
4
4
|
import * as y from "react-aria-components";
|
|
5
5
|
import I from "clsx";
|
|
6
|
-
import "./
|
|
7
|
-
import {
|
|
8
|
-
import { u as E } from "./useProps-C7GIMcgB.js";
|
|
6
|
+
import { P } from "./PropsContextProvider-C0o9mDtR.js";
|
|
7
|
+
import { u as E } from "./useProps-DWCkDfxd.js";
|
|
9
8
|
import "@tabler/icons-react";
|
|
10
|
-
import "./Icon-
|
|
9
|
+
import "./Icon-pvbWA-vL.js";
|
|
11
10
|
import "html-react-parser";
|
|
12
|
-
import { b as N, I as S, a as C } from "./IconSucceeded-
|
|
13
|
-
import { T as F } from "./Text-
|
|
11
|
+
import { b as N, I as S, a as C } from "./IconSucceeded-Df3yoJLr.js";
|
|
12
|
+
import { T as F } from "./Text-BUVxBLdV.js";
|
|
14
13
|
const h = "flow--button", z = "flow--button--icon", B = "flow--button--text", v = "flow--button--content", T = "flow--button--state-icon", D = "flow--button--is-succeeded", A = "flow--button--is-failed", R = "flow--button--is-pending", W = "flow--button--plain", _ = "flow--button--primary", $ = "flow--button--solid", j = "flow--button--accent", k = "flow--button--danger", q = "flow--button--secondary", G = "flow--button--soft", t = {
|
|
15
14
|
button: h,
|
|
16
15
|
icon: z,
|
|
@@ -31,7 +30,7 @@ const h = "flow--button", z = "flow--button--icon", B = "flow--button--text", v
|
|
|
31
30
|
}, u = (e) => {
|
|
32
31
|
const { if: s, children: n } = e;
|
|
33
32
|
return s ? n : n.props.children;
|
|
34
|
-
},
|
|
33
|
+
}, X = (e) => {
|
|
35
34
|
const {
|
|
36
35
|
variant: s = "primary",
|
|
37
36
|
style: n = "solid",
|
|
@@ -74,5 +73,5 @@ const h = "flow--button", z = "flow--button--icon", B = "flow--button--text", v
|
|
|
74
73
|
);
|
|
75
74
|
};
|
|
76
75
|
export {
|
|
77
|
-
|
|
76
|
+
X as B
|
|
78
77
|
};
|
package/dist/Button.js
CHANGED
package/dist/Checkbox.js
CHANGED
|
@@ -4,18 +4,19 @@ import e from "react";
|
|
|
4
4
|
import * as l from "react-aria-components";
|
|
5
5
|
import n from "clsx";
|
|
6
6
|
import "@tabler/icons-react";
|
|
7
|
-
import "./Icon-
|
|
7
|
+
import "./Icon-pvbWA-vL.js";
|
|
8
8
|
import "html-react-parser";
|
|
9
|
-
import "./
|
|
9
|
+
import "./PropsContextProvider-C0o9mDtR.js";
|
|
10
10
|
import "@react-aria/utils";
|
|
11
|
-
import
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
import "remeda";
|
|
12
|
+
import { I as i, a as k } from "./IconUnchecked-CMZzDHYB.js";
|
|
13
|
+
const h = "flow--checkbox", c = {
|
|
14
|
+
checkbox: h
|
|
15
|
+
}, I = (o) => {
|
|
16
|
+
const { children: t, className: r, ...m } = o, a = n(c.checkbox, r);
|
|
17
|
+
return /* @__PURE__ */ e.createElement(l.Checkbox, { ...m, className: a }, ({ isSelected: s }) => /* @__PURE__ */ e.createElement(e.Fragment, null, s ? /* @__PURE__ */ e.createElement(i, { className: c.checkmark }) : /* @__PURE__ */ e.createElement(k, { className: c.checkmark }), t));
|
|
17
18
|
};
|
|
18
19
|
export {
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
I as Checkbox,
|
|
21
|
+
I as default
|
|
21
22
|
};
|
package/dist/Content.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
3
|
import r from "react";
|
|
4
|
-
import { p as l } from "./
|
|
4
|
+
import { p as l } from "./PropsContextProvider-C0o9mDtR.js";
|
|
5
5
|
import "@react-aria/utils";
|
|
6
|
-
import { u as m } from "./useProps-
|
|
6
|
+
import { u as m } from "./useProps-DWCkDfxd.js";
|
|
7
7
|
const c = (e) => {
|
|
8
8
|
const { children: t } = e;
|
|
9
9
|
return /* @__PURE__ */ r.createElement(l.Provider, { value: {} }, t);
|
package/dist/CopyButton.js
CHANGED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import o from "react";
|
|
4
4
|
import n from "copy-to-clipboard";
|
|
5
|
-
import { B as i } from "./Button-
|
|
5
|
+
import { B as i } from "./Button-BmQ-57Vz.js";
|
|
6
6
|
import "@tabler/icons-react";
|
|
7
|
-
import "./Icon-
|
|
7
|
+
import "./Icon-pvbWA-vL.js";
|
|
8
8
|
import "clsx";
|
|
9
9
|
import "html-react-parser";
|
|
10
|
-
import "./
|
|
10
|
+
import "./PropsContextProvider-C0o9mDtR.js";
|
|
11
11
|
import "@react-aria/utils";
|
|
12
|
-
import { u as a } from "./useProps-
|
|
13
|
-
import { I as c } from "./IconCopy-
|
|
12
|
+
import { u as a } from "./useProps-DWCkDfxd.js";
|
|
13
|
+
import { I as c } from "./IconCopy-f1oXwqHF.js";
|
|
14
14
|
import { useLocalizedStringFormatter as l } from "react-aria";
|
|
15
15
|
import { T as s } from "./Tooltip-Co5h9sSt.js";
|
|
16
16
|
import { T as u } from "./TooltipTrigger-7-ynWHZ9.js";
|
package/dist/FieldDescription.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import r from "react";
|
|
4
4
|
import c from "clsx";
|
|
5
|
-
import "./
|
|
5
|
+
import "./PropsContextProvider-C0o9mDtR.js";
|
|
6
6
|
import "@react-aria/utils";
|
|
7
|
-
import { u as l } from "./useProps-
|
|
8
|
-
import { T as n } from "./Text-
|
|
7
|
+
import { u as l } from "./useProps-DWCkDfxd.js";
|
|
8
|
+
import { T as n } from "./Text-BUVxBLdV.js";
|
|
9
9
|
const p = "flow--field-description", m = {
|
|
10
10
|
fieldDescription: p
|
|
11
11
|
}, N = (e) => {
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
import r from "react";
|
|
4
4
|
import * as i from "react-aria-components";
|
|
5
5
|
import a from "clsx";
|
|
6
|
-
import "./
|
|
6
|
+
import "./PropsContextProvider-C0o9mDtR.js";
|
|
7
7
|
import "@react-aria/utils";
|
|
8
|
-
import { u as n } from "./useProps-
|
|
8
|
+
import { u as n } from "./useProps-DWCkDfxd.js";
|
|
9
9
|
import "@tabler/icons-react";
|
|
10
|
-
import "./Icon-
|
|
10
|
+
import "./Icon-pvbWA-vL.js";
|
|
11
11
|
import "html-react-parser";
|
|
12
|
-
import { I as c } from "./IconDanger-
|
|
12
|
+
import { I as c } from "./IconDanger-DxWZvd65.js";
|
|
13
13
|
const p = "flow--field-error", f = {
|
|
14
14
|
fieldError: p
|
|
15
15
|
}, j = (o) => {
|
package/dist/FieldError.js
CHANGED
package/dist/Heading.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import m from "react";
|
|
4
4
|
import c from "clsx";
|
|
5
|
-
import "./
|
|
5
|
+
import "./PropsContextProvider-C0o9mDtR.js";
|
|
6
6
|
import "@react-aria/utils";
|
|
7
|
-
import { u as i } from "./useProps-
|
|
7
|
+
import { u as i } from "./useProps-DWCkDfxd.js";
|
|
8
8
|
const l = "flow--heading", d = {
|
|
9
9
|
heading: l
|
|
10
10
|
}, N = (e) => {
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
import s, { Children as f, useMemo as p } from "react";
|
|
4
4
|
import g from "clsx";
|
|
5
5
|
import d from "html-react-parser";
|
|
6
|
-
import "./
|
|
6
|
+
import "./PropsContextProvider-C0o9mDtR.js";
|
|
7
7
|
import "@react-aria/utils";
|
|
8
|
-
import { u } from "./useProps-
|
|
8
|
+
import { u } from "./useProps-DWCkDfxd.js";
|
|
9
9
|
const w = "flow--icon", c = {
|
|
10
10
|
icon: w,
|
|
11
11
|
"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-pvbWA-vL.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 { IconX as t } from "@tabler/icons-react";
|
|
5
|
-
import { I as r } from "./Icon-
|
|
5
|
+
import { I as r } from "./Icon-pvbWA-vL.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-pvbWA-vL.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-pvbWA-vL.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 n from "react";
|
|
4
4
|
import { IconChevronDown as c, IconChevronUp as t, IconMinus as r, IconPlus as a } from "@tabler/icons-react";
|
|
5
|
-
import { I as o } from "./Icon-
|
|
5
|
+
import { I as o } from "./Icon-pvbWA-vL.js";
|
|
6
6
|
const m = (e) => /* @__PURE__ */ n.createElement(o, { ...e }, /* @__PURE__ */ n.createElement(c, null)), u = (e) => /* @__PURE__ */ n.createElement(o, { ...e }, /* @__PURE__ */ n.createElement(t, null)), E = (e) => /* @__PURE__ */ n.createElement(o, { ...e }, /* @__PURE__ */ n.createElement(r, null)), p = (e) => /* @__PURE__ */ n.createElement(o, { ...e }, /* @__PURE__ */ n.createElement(a, null));
|
|
7
7
|
export {
|
|
8
8
|
m 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-pvbWA-vL.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-pvbWA-vL.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-pvbWA-vL.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,15 +2,15 @@
|
|
|
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 C, IconFilter as d, IconEyeCancel as f, IconHome as S, IconList as L, IconPower as g, IconUsersGroup as v, IconBell as x, IconArchive as k, IconDice3 as D, IconSearch as b, IconListSearch as $, 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 xe, a as ke } from "./IconUnchecked-
|
|
8
|
-
import { I as be, a as $e, b as we, c as He } from "./IconPlus-
|
|
9
|
-
import { I as Ae } from "./IconClose-
|
|
10
|
-
import { I as Fe } from "./IconCopy-
|
|
11
|
-
import { I as Pe } from "./IconDanger-
|
|
12
|
-
import { I as je, a as Me, b as Ue } from "./IconSucceeded-
|
|
13
|
-
import { I as Ge, a as Ve, b as ze } from "./IconWarning-
|
|
5
|
+
import { I as t } from "./Icon-pvbWA-vL.js";
|
|
6
|
+
import { I as ge } from "./IconCheck-BhmzlVex.js";
|
|
7
|
+
import { I as xe, a as ke } from "./IconUnchecked-CMZzDHYB.js";
|
|
8
|
+
import { I as be, a as $e, b as we, c as He } from "./IconPlus-DQBvsCqr.js";
|
|
9
|
+
import { I as Ae } from "./IconClose-DP0Hbb0w.js";
|
|
10
|
+
import { I as Fe } from "./IconCopy-f1oXwqHF.js";
|
|
11
|
+
import { I as Pe } from "./IconDanger-DxWZvd65.js";
|
|
12
|
+
import { I as je, a as Me, b as Ue } from "./IconSucceeded-Df3yoJLr.js";
|
|
13
|
+
import { I as Ge, a as Ve, b as ze } from "./IconWarning-DhmOwBP9.js";
|
|
14
14
|
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(C, null)), _ = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(d, null)), ee = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(f, 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(v, null)), le = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(x, 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(b, null)), me = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement($, 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)), Ce = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(R, null)), de = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(P, null)), fe = (n) => /* @__PURE__ */ e.createElement(t, { ...n }, /* @__PURE__ */ e.createElement(c, null));
|
|
15
15
|
export {
|
|
16
16
|
U as IconApp,
|
package/dist/Image.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
3
|
import r from "react";
|
|
4
|
-
import "./
|
|
4
|
+
import "./PropsContextProvider-C0o9mDtR.js";
|
|
5
5
|
import "@react-aria/utils";
|
|
6
|
-
import { u as t } from "./useProps-
|
|
6
|
+
import { u as t } from "./useProps-DWCkDfxd.js";
|
|
7
7
|
const i = (e) => /* @__PURE__ */ r.createElement("img", { ...t("Image", e) });
|
|
8
8
|
export {
|
|
9
9
|
i as Image,
|
package/dist/Initials.js
CHANGED
|
@@ -2,14 +2,15 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import s from "react";
|
|
4
4
|
import m from "clsx";
|
|
5
|
-
import "./
|
|
5
|
+
import "./PropsContextProvider-C0o9mDtR.js";
|
|
6
6
|
import "@react-aria/utils";
|
|
7
|
-
import { u as c } from "./useProps-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
import { u as c } from "./useProps-DWCkDfxd.js";
|
|
8
|
+
import { onlyText as p } from "react-children-utilities";
|
|
9
|
+
const f = (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), u = "flow--initials", d = {
|
|
10
|
+
initials: u
|
|
10
11
|
}, v = (i) => {
|
|
11
|
-
const { children: t, className:
|
|
12
|
-
return /* @__PURE__ */ s.createElement("div", { "aria-label": t, className: l },
|
|
12
|
+
const { children: t, className: e } = c("Initials", i), a = f(p(t)), l = m(d.initials, e), o = a.map((r, n) => /* @__PURE__ */ s.createElement("span", { key: n }, r));
|
|
13
|
+
return /* @__PURE__ */ s.createElement("div", { "aria-label": t, className: l }, o);
|
|
13
14
|
};
|
|
14
15
|
export {
|
|
15
16
|
v as Initials,
|
package/dist/InlineAlert.js
CHANGED
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
|
-
import "./
|
|
5
|
-
import {
|
|
6
|
-
import { u as m } from "./useProps-C7GIMcgB.js";
|
|
4
|
+
import { P as c } from "./PropsContextProvider-C0o9mDtR.js";
|
|
5
|
+
import { u as m } from "./useProps-DWCkDfxd.js";
|
|
7
6
|
import f from "clsx";
|
|
8
|
-
import { S as
|
|
9
|
-
const
|
|
10
|
-
inlineAlert:
|
|
11
|
-
content:
|
|
7
|
+
import { S as u } from "./StatusIcon-BTmOqTZR.js";
|
|
8
|
+
const d = "flow--inline-alert", p = "flow--inline-alert--content", g = "flow--inline-alert--status-icon", w = "flow--inline-alert--heading", I = "flow--inline-alert--info", N = "flow--inline-alert--warning", h = "flow--inline-alert--danger", A = "flow--inline-alert--success", n = {
|
|
9
|
+
inlineAlert: d,
|
|
10
|
+
content: p,
|
|
12
11
|
statusIcon: g,
|
|
13
12
|
heading: w,
|
|
14
13
|
info: I,
|
|
15
14
|
warning: N,
|
|
16
15
|
danger: h,
|
|
17
16
|
success: A
|
|
18
|
-
},
|
|
17
|
+
}, S = (s) => {
|
|
19
18
|
const {
|
|
20
19
|
children: o,
|
|
21
20
|
className: l,
|
|
@@ -30,9 +29,9 @@ const u = "flow--inline-alert", d = "flow--inline-alert--content", g = "flow--in
|
|
|
30
29
|
className: n.content
|
|
31
30
|
}
|
|
32
31
|
};
|
|
33
|
-
return /* @__PURE__ */ e.createElement("aside", { ...a, className: i }, /* @__PURE__ */ e.createElement(
|
|
32
|
+
return /* @__PURE__ */ e.createElement("aside", { ...a, className: i }, /* @__PURE__ */ e.createElement(u, { className: n.statusIcon, status: t }), /* @__PURE__ */ e.createElement(c, { props: r }, o));
|
|
34
33
|
};
|
|
35
34
|
export {
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
S as InlineAlert,
|
|
36
|
+
S as default
|
|
38
37
|
};
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
import i from "react";
|
|
4
4
|
import * as m from "react-aria-components";
|
|
5
5
|
import c from "clsx";
|
|
6
|
-
import "./
|
|
6
|
+
import "./PropsContextProvider-C0o9mDtR.js";
|
|
7
7
|
import "@react-aria/utils";
|
|
8
|
-
import { u as p } from "./useProps-
|
|
8
|
+
import { u as p } from "./useProps-DWCkDfxd.js";
|
|
9
9
|
import { useLocalizedStringFormatter as b } from "react-aria";
|
|
10
10
|
const f = "flow--label", L = {
|
|
11
11
|
label: f
|
package/dist/Label.js
CHANGED
package/dist/LabeledValue.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import l from "react";
|
|
4
4
|
import r from "clsx";
|
|
5
|
-
import "./
|
|
6
|
-
import { P as c } from "./PropsContextProvider-CEoxD8yK.js";
|
|
5
|
+
import { P as c } from "./PropsContextProvider-C0o9mDtR.js";
|
|
7
6
|
import "@react-aria/utils";
|
|
7
|
+
import "remeda";
|
|
8
8
|
const b = "flow--labeled-value", m = "flow--labeled-value--button", u = "flow--labeled-value--label", e = {
|
|
9
9
|
labeledValue: b,
|
|
10
10
|
button: m,
|
package/dist/LayoutCard.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
3
|
import m from "react";
|
|
4
|
-
import "./
|
|
4
|
+
import "./PropsContextProvider-C0o9mDtR.js";
|
|
5
5
|
import "@react-aria/utils";
|
|
6
|
-
import { u as c } from "./useProps-
|
|
6
|
+
import { u as c } from "./useProps-DWCkDfxd.js";
|
|
7
7
|
import n from "clsx";
|
|
8
8
|
const u = "flow--layout-card", d = {
|
|
9
9
|
layoutCard: u
|
package/dist/Link.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import m from "react";
|
|
4
4
|
import * as c from "react-aria-components";
|
|
5
|
-
import "./
|
|
5
|
+
import "./PropsContextProvider-C0o9mDtR.js";
|
|
6
6
|
import "@react-aria/utils";
|
|
7
|
-
import { u as k } from "./useProps-
|
|
7
|
+
import { u as k } from "./useProps-DWCkDfxd.js";
|
|
8
8
|
import p from "clsx";
|
|
9
9
|
const f = "flow--link", d = "flow--link--inline", u = "flow--link--primary", w = "flow--link--danger", n = {
|
|
10
10
|
link: f,
|
package/dist/Navigation.js
CHANGED
|
@@ -2,20 +2,19 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import t from "react";
|
|
4
4
|
import c from "clsx";
|
|
5
|
-
import "./
|
|
6
|
-
import {
|
|
7
|
-
import { u as m } from "./useProps-C7GIMcgB.js";
|
|
5
|
+
import { P as l } from "./PropsContextProvider-C0o9mDtR.js";
|
|
6
|
+
import { u as m } from "./useProps-DWCkDfxd.js";
|
|
8
7
|
import * as v from "react-aria-components";
|
|
9
8
|
const g = "flow--navigation", p = {
|
|
10
9
|
navigation: g
|
|
11
|
-
},
|
|
10
|
+
}, P = (n) => {
|
|
12
11
|
const { className: a, children: o, ...e } = n, i = c(p.navigation, a);
|
|
13
12
|
return /* @__PURE__ */ t.createElement("nav", { className: i, role: "navigation", ...e }, /* @__PURE__ */ t.createElement("ul", null, o));
|
|
14
13
|
}, f = "flow--navigation--navigation-item", u = "flow--navigation--navigation-item--icon", x = "flow--navigation--navigation-item--text", s = {
|
|
15
14
|
navigationItem: f,
|
|
16
15
|
icon: u,
|
|
17
16
|
text: x
|
|
18
|
-
},
|
|
17
|
+
}, d = (n) => {
|
|
19
18
|
const {
|
|
20
19
|
isCurrent: a,
|
|
21
20
|
children: o,
|
|
@@ -40,7 +39,7 @@ const g = "flow--navigation", p = {
|
|
|
40
39
|
));
|
|
41
40
|
};
|
|
42
41
|
export {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
42
|
+
P as Navigation,
|
|
43
|
+
d as NavigationItem,
|
|
44
|
+
P as default
|
|
46
45
|
};
|
package/dist/NumberField.js
CHANGED
|
@@ -4,15 +4,15 @@ 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
6
|
import u from "clsx";
|
|
7
|
-
import "./
|
|
8
|
-
import { P as p } from "./PropsContextProvider-CEoxD8yK.js";
|
|
7
|
+
import { P as p } from "./PropsContextProvider-C0o9mDtR.js";
|
|
9
8
|
import "@react-aria/utils";
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
9
|
+
import "remeda";
|
|
10
|
+
import { F as d } from "./FieldError-h_2c51Ws.js";
|
|
11
|
+
import { B as s } from "./Button-BmQ-57Vz.js";
|
|
12
12
|
import "@tabler/icons-react";
|
|
13
|
-
import "./Icon-
|
|
13
|
+
import "./Icon-pvbWA-vL.js";
|
|
14
14
|
import "html-react-parser";
|
|
15
|
-
import { I as f, b as E, a as N, c as b } from "./IconPlus-
|
|
15
|
+
import { I as f, b as E, a as N, c as b } from "./IconPlus-DQBvsCqr.js";
|
|
16
16
|
const I = "flow--number-field--group", B = "flow--number-field--input", F = "flow--number-field--decrement-button", P = "flow--number-field--increment-button", w = "flow--number-field--coarse-pointer-icon", h = "flow--number-field--touch-icon", t = {
|
|
17
17
|
group: I,
|
|
18
18
|
input: B,
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
/* */
|
|
3
|
+
import c, { createContext as m, useContext as P, useMemo as a } from "react";
|
|
4
|
+
import { mergeProps as d } from "@react-aria/utils";
|
|
5
|
+
const n = m({}), i = (r, t) => {
|
|
6
|
+
const o = Object.keys({
|
|
7
|
+
...r,
|
|
8
|
+
...t
|
|
9
|
+
});
|
|
10
|
+
return Object.fromEntries(
|
|
11
|
+
o.map((e) => [
|
|
12
|
+
e,
|
|
13
|
+
d(
|
|
14
|
+
r[e],
|
|
15
|
+
t[e]
|
|
16
|
+
)
|
|
17
|
+
])
|
|
18
|
+
);
|
|
19
|
+
}, C = (r) => {
|
|
20
|
+
const { props: t, dependencies: o = [], children: e } = r, s = P(n), p = a(
|
|
21
|
+
() => i(s, t),
|
|
22
|
+
[s, ...o]
|
|
23
|
+
);
|
|
24
|
+
return /* @__PURE__ */ c.createElement(n.Provider, { value: p }, e);
|
|
25
|
+
};
|
|
26
|
+
export {
|
|
27
|
+
C as P,
|
|
28
|
+
n as p
|
|
29
|
+
};
|
package/dist/RadioGroup.js
CHANGED
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
import o from "react";
|
|
4
4
|
import * as n from "react-aria-components";
|
|
5
5
|
import d from "clsx";
|
|
6
|
-
import "./
|
|
7
|
-
import { P as m } from "./PropsContextProvider-CEoxD8yK.js";
|
|
6
|
+
import { P as m } from "./PropsContextProvider-C0o9mDtR.js";
|
|
8
7
|
import "@react-aria/utils";
|
|
9
|
-
import
|
|
8
|
+
import "remeda";
|
|
9
|
+
import { F as p } from "./FieldError-h_2c51Ws.js";
|
|
10
10
|
import "@tabler/icons-react";
|
|
11
|
-
import "./Icon-
|
|
11
|
+
import "./Icon-pvbWA-vL.js";
|
|
12
12
|
import "html-react-parser";
|
|
13
|
-
import { I as f } from "./IconCheck-
|
|
13
|
+
import { I as f } from "./IconCheck-BhmzlVex.js";
|
|
14
14
|
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 = {
|
|
15
15
|
radioGroup: u,
|
|
16
16
|
label: E,
|
package/dist/StatusBadge.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import t from "react";
|
|
4
4
|
import l from "clsx";
|
|
5
|
-
import { S as u } from "./StatusIcon-
|
|
6
|
-
import { T as d } from "./Text-
|
|
5
|
+
import { S as u } from "./StatusIcon-BTmOqTZR.js";
|
|
6
|
+
import { T as d } from "./Text-BUVxBLdV.js";
|
|
7
7
|
const g = "flow--status-badge", m = "flow--status-badge--text", f = "flow--status-badge--info", i = "flow--status-badge--success", w = "flow--status-badge--warning", x = "flow--status-badge--danger", s = {
|
|
8
8
|
statusBadge: g,
|
|
9
9
|
text: m,
|
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import a from "react";
|
|
4
4
|
import "@tabler/icons-react";
|
|
5
|
-
import "./Icon-
|
|
5
|
+
import "./Icon-pvbWA-vL.js";
|
|
6
6
|
import "clsx";
|
|
7
7
|
import "html-react-parser";
|
|
8
|
-
import "./
|
|
8
|
+
import "./PropsContextProvider-C0o9mDtR.js";
|
|
9
9
|
import "@react-aria/utils";
|
|
10
|
-
import
|
|
11
|
-
import { I as
|
|
10
|
+
import "remeda";
|
|
11
|
+
import { I as c } from "./IconDanger-DxWZvd65.js";
|
|
12
|
+
import { I as e, a as i, b as m } from "./IconWarning-DhmOwBP9.js";
|
|
12
13
|
import { useLocalizedStringFormatter as u } from "react-aria";
|
|
13
14
|
const I = {
|
|
14
15
|
"de-DE": {
|
|
@@ -28,10 +29,10 @@ const I = {
|
|
|
28
29
|
info: e,
|
|
29
30
|
success: i,
|
|
30
31
|
warning: m
|
|
31
|
-
},
|
|
32
|
+
}, L = (o) => {
|
|
32
33
|
const { status: t = "info", ...n } = o, s = u(I).format(`statusIcon.${t}`), r = f[t];
|
|
33
34
|
return /* @__PURE__ */ a.createElement(r, { "aria-label": s, ...n });
|
|
34
35
|
};
|
|
35
36
|
export {
|
|
36
|
-
|
|
37
|
+
L as S
|
|
37
38
|
};
|