@mittwald/flow-react-components 0.1.0-alpha.41 → 0.1.0-alpha.43

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.
Files changed (52) hide show
  1. package/dist/Avatar.js +14 -13
  2. package/dist/{Button-BmQ-57Vz.js → Button-FPl3fKiM.js} +5 -5
  3. package/dist/Button.js +1 -1
  4. package/dist/Checkbox.js +3 -3
  5. package/dist/Content.js +2 -2
  6. package/dist/CopyButton.js +5 -5
  7. package/dist/FieldDescription.js +3 -3
  8. package/dist/{FieldError-h_2c51Ws.js → FieldError-BK5ho6N9.js} +4 -4
  9. package/dist/FieldError.js +1 -1
  10. package/dist/Header.js +2 -2
  11. package/dist/Heading.js +21 -15
  12. package/dist/{Icon-pvbWA-vL.js → Icon-S-6j_Kl3.js} +2 -2
  13. package/dist/Icon.js +1 -1
  14. package/dist/{IconCheck-BhmzlVex.js → IconCheck-1PRSXamm.js} +1 -1
  15. package/dist/{IconClose-DP0Hbb0w.js → IconClose-D-8Y7fMZ.js} +1 -1
  16. package/dist/{IconCopy-f1oXwqHF.js → IconCopy-C1yg9WXZ.js} +1 -1
  17. package/dist/{IconDanger-DxWZvd65.js → IconDanger-Dd6HnAx9.js} +1 -1
  18. package/dist/{IconPlus-DQBvsCqr.js → IconPlus-C2E1lBEu.js} +1 -1
  19. package/dist/{IconSucceeded-Df3yoJLr.js → IconSucceeded-BvrlGH02.js} +1 -1
  20. package/dist/{IconUnchecked-CMZzDHYB.js → IconUnchecked-DuOQbrqC.js} +1 -1
  21. package/dist/{IconWarning-DhmOwBP9.js → IconWarning-h9MeCuZE.js} +1 -1
  22. package/dist/Icons.js +9 -9
  23. package/dist/Image.js +2 -2
  24. package/dist/Initials.js +2 -2
  25. package/dist/InlineAlert.js +3 -3
  26. package/dist/{Label-CoQ5dkQY.js → Label-B8RjhN8C.js} +2 -2
  27. package/dist/Label.js +1 -1
  28. package/dist/LabeledValue.js +1 -1
  29. package/dist/LayoutCard.js +2 -2
  30. package/dist/Link.js +2 -2
  31. package/dist/Navigation.js +2 -2
  32. package/dist/NumberField.js +5 -5
  33. package/dist/PropsContextProvider-C7Evvjhy.js +43 -0
  34. package/dist/RadioGroup.js +4 -4
  35. package/dist/Section.js +1 -1
  36. package/dist/StatusBadge.js +2 -2
  37. package/dist/{StatusIcon-BTmOqTZR.js → StatusIcon-ab4wFrRb.js} +4 -4
  38. package/dist/StatusIcon.js +1 -1
  39. package/dist/Switch.js +5 -5
  40. package/dist/{Text-BUVxBLdV.js → Text-B5YK5s7t.js} +2 -2
  41. package/dist/Text.js +1 -1
  42. package/dist/TextArea.js +1 -1
  43. package/dist/TextField.js +1 -1
  44. package/dist/{TextFieldBase-Ck-WpOdU.js → TextFieldBase-DSF3g83M.js} +2 -2
  45. package/dist/nextjs/LinkProvider.js +1 -1
  46. package/dist/styles.css +1 -1
  47. package/dist/types/components/Heading/stories/Default.stories.d.ts +1 -0
  48. package/dist/types/components/Heading/stories/EdgeCases.stories.d.ts +6 -0
  49. package/dist/useProps-d5Do2me4.js +69 -0
  50. package/package.json +3 -3
  51. package/dist/PropsContextProvider-C0o9mDtR.js +0 -29
  52. package/dist/useProps-DWCkDfxd.js +0 -67
package/dist/Avatar.js CHANGED
@@ -2,13 +2,14 @@
2
2
  /* */
3
3
  import o, { isValidElement as l } from "react";
4
4
  import v from "clsx";
5
- import { P as m } from "./PropsContextProvider-C0o9mDtR.js";
5
+ import { P as c } from "./PropsContextProvider-C7Evvjhy.js";
6
6
  import "@react-aria/utils";
7
7
  import "remeda";
8
- import { hash as p } from "object-code";
9
- import { deepForEach as c } from "react-children-utilities";
10
- const f = "flow--avatar", z = "flow--avatar--initials", r = {
8
+ import { hash as m } from "object-code";
9
+ import { deepForEach as p } from "react-children-utilities";
10
+ const f = "flow--avatar", w = "flow--avatar--icon", z = "flow--avatar--initials", r = {
11
11
  avatar: f,
12
+ icon: w,
12
13
  initials: z,
13
14
  "size-m": "flow--avatar--size-m",
14
15
  "size-xs": "flow--avatar--size-xs",
@@ -18,33 +19,33 @@ const f = "flow--avatar", z = "flow--avatar--initials", r = {
18
19
  "variant-2": "flow--avatar--variant-2",
19
20
  "variant-3": "flow--avatar--variant-3",
20
21
  "variant-4": "flow--avatar--variant-4"
21
- }, w = (s) => {
22
+ }, d = (s) => {
22
23
  const a = [];
23
- c(s, (t) => {
24
+ p(s, (t) => {
24
25
  l(t) ? a.push({
25
26
  props: t.props,
26
27
  type: t.type
27
28
  }) : a.push(t);
28
29
  });
29
- const i = p(a);
30
+ const i = m(a);
30
31
  return Math.abs(i % 4) + 1;
31
- }, N = (s) => {
32
+ }, P = (s) => {
32
33
  const { children: a, className: i, size: t = "m" } = s, e = v(
33
34
  r.avatar,
34
35
  r[`size-${t}`],
35
36
  i,
36
- r[`variant-${w(a)}`]
37
+ r[`variant-${d(a)}`]
37
38
  ), n = {
38
39
  Initials: {
39
40
  className: r.initials
40
41
  },
41
42
  Icon: {
42
- size: "m"
43
+ className: r.icon
43
44
  }
44
45
  };
45
- return /* @__PURE__ */ o.createElement("div", { className: e }, /* @__PURE__ */ o.createElement(m, { props: n }, a));
46
+ return /* @__PURE__ */ o.createElement("div", { className: e }, /* @__PURE__ */ o.createElement(c, { props: n }, a));
46
47
  };
47
48
  export {
48
- N as Avatar,
49
- N as default
49
+ P as Avatar,
50
+ P as default
50
51
  };
@@ -3,13 +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 { P } from "./PropsContextProvider-C0o9mDtR.js";
7
- import { u as E } from "./useProps-DWCkDfxd.js";
6
+ import { P } from "./PropsContextProvider-C7Evvjhy.js";
7
+ import { u as E } from "./useProps-d5Do2me4.js";
8
8
  import "@tabler/icons-react";
9
- import "./Icon-pvbWA-vL.js";
9
+ import "./Icon-S-6j_Kl3.js";
10
10
  import "html-react-parser";
11
- import { b as N, I as S, a as C } from "./IconSucceeded-Df3yoJLr.js";
12
- import { T as F } from "./Text-BUVxBLdV.js";
11
+ import { b as N, I as S, a as C } from "./IconSucceeded-BvrlGH02.js";
12
+ import { T as F } from "./Text-B5YK5s7t.js";
13
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 = {
14
14
  button: h,
15
15
  icon: z,
package/dist/Button.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use client"
2
2
  /* */
3
- import { B as o } from "./Button-BmQ-57Vz.js";
3
+ import { B as o } from "./Button-FPl3fKiM.js";
4
4
  export {
5
5
  o as Button,
6
6
  o as default
package/dist/Checkbox.js CHANGED
@@ -4,12 +4,12 @@ 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-pvbWA-vL.js";
7
+ import "./Icon-S-6j_Kl3.js";
8
8
  import "html-react-parser";
9
- import "./PropsContextProvider-C0o9mDtR.js";
9
+ import "./PropsContextProvider-C7Evvjhy.js";
10
10
  import "@react-aria/utils";
11
11
  import "remeda";
12
- import { I as i, a as k } from "./IconUnchecked-CMZzDHYB.js";
12
+ import { I as i, a as k } from "./IconUnchecked-DuOQbrqC.js";
13
13
  const h = "flow--checkbox", c = {
14
14
  checkbox: h
15
15
  }, I = (o) => {
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 "./PropsContextProvider-C0o9mDtR.js";
4
+ import { p as l } from "./PropsContextProvider-C7Evvjhy.js";
5
5
  import "@react-aria/utils";
6
- import { u as m } from "./useProps-DWCkDfxd.js";
6
+ import { u as m } from "./useProps-d5Do2me4.js";
7
7
  const c = (e) => {
8
8
  const { children: t } = e;
9
9
  return /* @__PURE__ */ r.createElement(l.Provider, { value: {} }, t);
@@ -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-BmQ-57Vz.js";
5
+ import { B as i } from "./Button-FPl3fKiM.js";
6
6
  import "@tabler/icons-react";
7
- import "./Icon-pvbWA-vL.js";
7
+ import "./Icon-S-6j_Kl3.js";
8
8
  import "clsx";
9
9
  import "html-react-parser";
10
- import "./PropsContextProvider-C0o9mDtR.js";
10
+ import "./PropsContextProvider-C7Evvjhy.js";
11
11
  import "@react-aria/utils";
12
- import { u as a } from "./useProps-DWCkDfxd.js";
13
- import { I as c } from "./IconCopy-f1oXwqHF.js";
12
+ import { u as a } from "./useProps-d5Do2me4.js";
13
+ import { I as c } from "./IconCopy-C1yg9WXZ.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";
@@ -2,10 +2,10 @@
2
2
  /* */
3
3
  import r from "react";
4
4
  import c from "clsx";
5
- import "./PropsContextProvider-C0o9mDtR.js";
5
+ import "./PropsContextProvider-C7Evvjhy.js";
6
6
  import "@react-aria/utils";
7
- import { u as l } from "./useProps-DWCkDfxd.js";
8
- import { T as n } from "./Text-BUVxBLdV.js";
7
+ import { u as l } from "./useProps-d5Do2me4.js";
8
+ import { T as n } from "./Text-B5YK5s7t.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 "./PropsContextProvider-C0o9mDtR.js";
6
+ import "./PropsContextProvider-C7Evvjhy.js";
7
7
  import "@react-aria/utils";
8
- import { u as n } from "./useProps-DWCkDfxd.js";
8
+ import { u as n } from "./useProps-d5Do2me4.js";
9
9
  import "@tabler/icons-react";
10
- import "./Icon-pvbWA-vL.js";
10
+ import "./Icon-S-6j_Kl3.js";
11
11
  import "html-react-parser";
12
- import { I as c } from "./IconDanger-DxWZvd65.js";
12
+ import { I as c } from "./IconDanger-Dd6HnAx9.js";
13
13
  const p = "flow--field-error", f = {
14
14
  fieldError: p
15
15
  }, j = (o) => {
@@ -1,6 +1,6 @@
1
1
  "use client"
2
2
  /* */
3
- import { F as o } from "./FieldError-h_2c51Ws.js";
3
+ import { F as o } from "./FieldError-BK5ho6N9.js";
4
4
  export {
5
5
  o as FieldError,
6
6
  o as default
package/dist/Header.js CHANGED
@@ -1,9 +1,9 @@
1
1
  "use client"
2
2
  /* */
3
3
  import a from "react";
4
- import "./PropsContextProvider-C0o9mDtR.js";
4
+ import "./PropsContextProvider-C7Evvjhy.js";
5
5
  import "@react-aria/utils";
6
- import { u as n } from "./useProps-DWCkDfxd.js";
6
+ import { u as n } from "./useProps-d5Do2me4.js";
7
7
  const i = (e) => {
8
8
  const {
9
9
  children: r,
package/dist/Heading.js CHANGED
@@ -1,22 +1,28 @@
1
1
  "use client"
2
2
  /* */
3
- import m from "react";
4
- import c from "clsx";
5
- import "./PropsContextProvider-C0o9mDtR.js";
6
- import "@react-aria/utils";
7
- import { u as i } from "./useProps-DWCkDfxd.js";
8
- const l = "flow--heading", d = {
9
- heading: l
10
- }, N = (e) => {
3
+ import e from "react";
4
+ import m from "clsx";
5
+ import { P as d } from "./PropsContextProvider-C7Evvjhy.js";
6
+ import { u as p } from "./useProps-d5Do2me4.js";
7
+ const h = "flow--heading", f = "flow--heading--icon", o = {
8
+ heading: h,
9
+ icon: f
10
+ }, P = (s) => {
11
11
  const {
12
12
  children: t,
13
- className: s,
14
- level: o = 3,
15
- ...a
16
- } = i("Heading", e), n = c(d.heading, s), r = `h${o}`;
17
- return /* @__PURE__ */ m.createElement(r, { className: n, ...a }, t);
13
+ className: n,
14
+ level: a = 2,
15
+ ...r
16
+ } = p("Heading", s), c = m(o.heading, n), i = `h${a}`, l = {
17
+ Icon: {
18
+ "aria-hidden": !0,
19
+ size: "s",
20
+ className: o.icon
21
+ }
22
+ };
23
+ return /* @__PURE__ */ e.createElement(i, { className: c, ...r }, /* @__PURE__ */ e.createElement(d, { props: l }, t));
18
24
  };
19
25
  export {
20
- N as Heading,
21
- N as default
26
+ P as Heading,
27
+ P as default
22
28
  };
@@ -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 "./PropsContextProvider-C0o9mDtR.js";
6
+ import "./PropsContextProvider-C7Evvjhy.js";
7
7
  import "@react-aria/utils";
8
- import { u } from "./useProps-DWCkDfxd.js";
8
+ import { u } from "./useProps-d5Do2me4.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
@@ -1,6 +1,6 @@
1
1
  "use client"
2
2
  /* */
3
- import { I as a } from "./Icon-pvbWA-vL.js";
3
+ import { I as a } from "./Icon-S-6j_Kl3.js";
4
4
  export {
5
5
  a as Icon,
6
6
  a as default
@@ -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-pvbWA-vL.js";
5
+ import { I as t } from "./Icon-S-6j_Kl3.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-pvbWA-vL.js";
5
+ import { I as r } from "./Icon-S-6j_Kl3.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-pvbWA-vL.js";
5
+ import { I as r } from "./Icon-S-6j_Kl3.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-pvbWA-vL.js";
5
+ import { I as t } from "./Icon-S-6j_Kl3.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-pvbWA-vL.js";
5
+ import { I as o } from "./Icon-S-6j_Kl3.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-pvbWA-vL.js";
5
+ import { I as c } from "./Icon-S-6j_Kl3.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-pvbWA-vL.js";
5
+ import { I as t } from "./Icon-S-6j_Kl3.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-pvbWA-vL.js";
5
+ import { I as n } from "./Icon-S-6j_Kl3.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-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";
5
+ import { I as t } from "./Icon-S-6j_Kl3.js";
6
+ import { I as ge } from "./IconCheck-1PRSXamm.js";
7
+ import { I as xe, a as ke } from "./IconUnchecked-DuOQbrqC.js";
8
+ import { I as be, a as $e, b as we, c as He } from "./IconPlus-C2E1lBEu.js";
9
+ import { I as Ae } from "./IconClose-D-8Y7fMZ.js";
10
+ import { I as Fe } from "./IconCopy-C1yg9WXZ.js";
11
+ import { I as Pe } from "./IconDanger-Dd6HnAx9.js";
12
+ import { I as je, a as Me, b as Ue } from "./IconSucceeded-BvrlGH02.js";
13
+ import { I as Ge, a as Ve, b as ze } from "./IconWarning-h9MeCuZE.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 "./PropsContextProvider-C0o9mDtR.js";
4
+ import "./PropsContextProvider-C7Evvjhy.js";
5
5
  import "@react-aria/utils";
6
- import { u as t } from "./useProps-DWCkDfxd.js";
6
+ import { u as t } from "./useProps-d5Do2me4.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,9 +2,9 @@
2
2
  /* */
3
3
  import s from "react";
4
4
  import m from "clsx";
5
- import "./PropsContextProvider-C0o9mDtR.js";
5
+ import "./PropsContextProvider-C7Evvjhy.js";
6
6
  import "@react-aria/utils";
7
- import { u as c } from "./useProps-DWCkDfxd.js";
7
+ import { u as c } from "./useProps-d5Do2me4.js";
8
8
  import { onlyText as p } from "react-children-utilities";
9
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
10
  initials: u
@@ -1,10 +1,10 @@
1
1
  "use client"
2
2
  /* */
3
3
  import e from "react";
4
- import { P as c } from "./PropsContextProvider-C0o9mDtR.js";
5
- import { u as m } from "./useProps-DWCkDfxd.js";
4
+ import { P as c } from "./PropsContextProvider-C7Evvjhy.js";
5
+ import { u as m } from "./useProps-d5Do2me4.js";
6
6
  import f from "clsx";
7
- import { S as u } from "./StatusIcon-BTmOqTZR.js";
7
+ import { S as u } from "./StatusIcon-ab4wFrRb.js";
8
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
9
  inlineAlert: d,
10
10
  content: p,
@@ -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 "./PropsContextProvider-C0o9mDtR.js";
6
+ import "./PropsContextProvider-C7Evvjhy.js";
7
7
  import "@react-aria/utils";
8
- import { u as p } from "./useProps-DWCkDfxd.js";
8
+ import { u as p } from "./useProps-d5Do2me4.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
@@ -1,6 +1,6 @@
1
1
  "use client"
2
2
  /* */
3
- import { L as e } from "./Label-CoQ5dkQY.js";
3
+ import { L as e } from "./Label-B8RjhN8C.js";
4
4
  export {
5
5
  e as Label,
6
6
  e as default
@@ -2,7 +2,7 @@
2
2
  /* */
3
3
  import l from "react";
4
4
  import r from "clsx";
5
- import { P as c } from "./PropsContextProvider-C0o9mDtR.js";
5
+ import { P as c } from "./PropsContextProvider-C7Evvjhy.js";
6
6
  import "@react-aria/utils";
7
7
  import "remeda";
8
8
  const b = "flow--labeled-value", m = "flow--labeled-value--button", u = "flow--labeled-value--label", e = {
@@ -1,9 +1,9 @@
1
1
  "use client"
2
2
  /* */
3
3
  import m from "react";
4
- import "./PropsContextProvider-C0o9mDtR.js";
4
+ import "./PropsContextProvider-C7Evvjhy.js";
5
5
  import "@react-aria/utils";
6
- import { u as c } from "./useProps-DWCkDfxd.js";
6
+ import { u as c } from "./useProps-d5Do2me4.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 "./PropsContextProvider-C0o9mDtR.js";
5
+ import "./PropsContextProvider-C7Evvjhy.js";
6
6
  import "@react-aria/utils";
7
- import { u as k } from "./useProps-DWCkDfxd.js";
7
+ import { u as k } from "./useProps-d5Do2me4.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,
@@ -2,8 +2,8 @@
2
2
  /* */
3
3
  import t from "react";
4
4
  import c from "clsx";
5
- import { P as l } from "./PropsContextProvider-C0o9mDtR.js";
6
- import { u as m } from "./useProps-DWCkDfxd.js";
5
+ import { P as l } from "./PropsContextProvider-C7Evvjhy.js";
6
+ import { u as m } from "./useProps-d5Do2me4.js";
7
7
  import * as v from "react-aria-components";
8
8
  const g = "flow--navigation", p = {
9
9
  navigation: g
@@ -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 { P as p } from "./PropsContextProvider-C0o9mDtR.js";
7
+ import { P as p } from "./PropsContextProvider-C7Evvjhy.js";
8
8
  import "@react-aria/utils";
9
9
  import "remeda";
10
- import { F as d } from "./FieldError-h_2c51Ws.js";
11
- import { B as s } from "./Button-BmQ-57Vz.js";
10
+ import { F as d } from "./FieldError-BK5ho6N9.js";
11
+ import { B as s } from "./Button-FPl3fKiM.js";
12
12
  import "@tabler/icons-react";
13
- import "./Icon-pvbWA-vL.js";
13
+ import "./Icon-S-6j_Kl3.js";
14
14
  import "html-react-parser";
15
- import { I as f, b as E, a as N, c as b } from "./IconPlus-DQBvsCqr.js";
15
+ import { I as f, b as E, a as N, c as b } from "./IconPlus-C2E1lBEu.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,43 @@
1
+ "use client"
2
+ /* */
3
+ import C, { createContext as h, useContext as u, useMemo as c, isValidElement as d, cloneElement as x } from "react";
4
+ import { mergeProps as f } from "@react-aria/utils";
5
+ const i = h({}), g = (r, o) => {
6
+ const t = Object.keys({
7
+ ...r,
8
+ ...o
9
+ });
10
+ return Object.fromEntries(
11
+ t.map((e) => [
12
+ e,
13
+ f(
14
+ r[e],
15
+ o[e]
16
+ )
17
+ ])
18
+ );
19
+ }, b = (r) => {
20
+ const {
21
+ props: o,
22
+ dependencies: t = [],
23
+ children: e,
24
+ ...n
25
+ } = r, s = u(i), a = c(
26
+ () => g(s, o),
27
+ [s, ...t]
28
+ ), p = d(e) ? {
29
+ ...n,
30
+ ...e.props
31
+ } : n, l = [
32
+ e,
33
+ ...Object.entries(p).flatMap((P) => P)
34
+ ], m = c(
35
+ () => d(e) ? x(e, p) : e,
36
+ l
37
+ );
38
+ return /* @__PURE__ */ C.createElement(i.Provider, { value: a }, m);
39
+ };
40
+ export {
41
+ b as P,
42
+ i as p
43
+ };
@@ -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 { P as m } from "./PropsContextProvider-C0o9mDtR.js";
6
+ import { P as m } from "./PropsContextProvider-C7Evvjhy.js";
7
7
  import "@react-aria/utils";
8
8
  import "remeda";
9
- import { F as p } from "./FieldError-h_2c51Ws.js";
9
+ import { F as p } from "./FieldError-BK5ho6N9.js";
10
10
  import "@tabler/icons-react";
11
- import "./Icon-pvbWA-vL.js";
11
+ import "./Icon-S-6j_Kl3.js";
12
12
  import "html-react-parser";
13
- import { I as f } from "./IconCheck-BhmzlVex.js";
13
+ import { I as f } from "./IconCheck-1PRSXamm.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/Section.js CHANGED
@@ -2,7 +2,7 @@
2
2
  /* */
3
3
  import t from "react";
4
4
  import i from "clsx";
5
- import { P as l } from "./PropsContextProvider-C0o9mDtR.js";
5
+ import { P as l } from "./PropsContextProvider-C7Evvjhy.js";
6
6
  import "@react-aria/utils";
7
7
  import "remeda";
8
8
  const m = "flow--section", p = "flow--section--header", o = {
@@ -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-BTmOqTZR.js";
6
- import { T as d } from "./Text-BUVxBLdV.js";
5
+ import { S as u } from "./StatusIcon-ab4wFrRb.js";
6
+ import { T as d } from "./Text-B5YK5s7t.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,14 +2,14 @@
2
2
  /* */
3
3
  import a from "react";
4
4
  import "@tabler/icons-react";
5
- import "./Icon-pvbWA-vL.js";
5
+ import "./Icon-S-6j_Kl3.js";
6
6
  import "clsx";
7
7
  import "html-react-parser";
8
- import "./PropsContextProvider-C0o9mDtR.js";
8
+ import "./PropsContextProvider-C7Evvjhy.js";
9
9
  import "@react-aria/utils";
10
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";
11
+ import { I as c } from "./IconDanger-Dd6HnAx9.js";
12
+ import { I as e, a as i, b as m } from "./IconWarning-h9MeCuZE.js";
13
13
  import { useLocalizedStringFormatter as u } from "react-aria";
14
14
  const I = {
15
15
  "de-DE": {