@mittwald/flow-react-components 0.1.0-alpha.48 → 0.1.0-alpha.49

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 (68) hide show
  1. package/dist/{Button-IRdeGCc6.js → Button-DiHP-IYs.js} +25 -23
  2. package/dist/Button.js +1 -1
  3. package/dist/Checkbox.js +10 -8
  4. package/dist/Content.js +11 -9
  5. package/dist/CopyButton.js +14 -13
  6. package/dist/FieldDescription.js +12 -10
  7. package/dist/FieldError-BmzydlRW.js +22 -0
  8. package/dist/FieldError.js +1 -1
  9. package/dist/Header.js +8 -13
  10. package/dist/Heading.js +11 -13
  11. package/dist/{Icon-X0pOdlJY.js → Icon-hyIHBPMT.js} +18 -16
  12. package/dist/Icon.js +1 -1
  13. package/dist/{IconCheck-BD6sGh4B.js → IconCheck-B_oanaSr.js} +1 -1
  14. package/dist/{IconChevronUp-CyLNEJQy.js → IconChevronUp-DOOZfR76.js} +1 -1
  15. package/dist/{IconClose-mhahyKoS.js → IconClose-iB7vE9z6.js} +1 -1
  16. package/dist/{IconCopy-Bpp37OMK.js → IconCopy-CVV8P-Kn.js} +1 -1
  17. package/dist/{IconDanger-DH5QCYHj.js → IconDanger-Bq08fgKM.js} +1 -1
  18. package/dist/{IconPlus-CnjtlT2f.js → IconPlus-ChJLWEqL.js} +1 -1
  19. package/dist/{IconSucceeded-DQdtfEkv.js → IconSucceeded-DbgWPDVp.js} +1 -1
  20. package/dist/{IconUnchecked-BhOGDWAq.js → IconUnchecked-C7a0quEr.js} +1 -1
  21. package/dist/{IconWarning-D7qa4Hmz.js → IconWarning-BYFc8Vv9.js} +1 -1
  22. package/dist/Icons.js +10 -10
  23. package/dist/Image.js +10 -8
  24. package/dist/Initials.js +13 -11
  25. package/dist/InlineAlert.js +16 -18
  26. package/dist/Label-696-vpHQ.js +27 -0
  27. package/dist/Label.js +1 -1
  28. package/dist/LayoutCard.js +9 -15
  29. package/dist/Link.js +21 -19
  30. package/dist/List.js +7 -7
  31. package/dist/Navigation.js +29 -27
  32. package/dist/NumberField.js +14 -12
  33. package/dist/RadioGroup.js +14 -12
  34. package/dist/StatusBadge.js +16 -19
  35. package/dist/{StatusIcon-VLj9j54q.js → StatusIcon-BTQPL8cG.js} +10 -8
  36. package/dist/StatusIcon.js +1 -1
  37. package/dist/Switch.js +16 -20
  38. package/dist/Text-DaJ0Ajt9.js +29 -0
  39. package/dist/Text.js +1 -1
  40. package/dist/TextArea.js +1 -1
  41. package/dist/TextField.js +1 -1
  42. package/dist/{TextFieldBase-_wFIsQyH.js → TextFieldBase-D60i8AOY.js} +1 -1
  43. package/dist/flowComponent-DLzr2Cvi.js +92 -0
  44. package/dist/types/components/Button/Button.d.ts +4 -3
  45. package/dist/types/components/Content/Content.d.ts +4 -3
  46. package/dist/types/components/CopyButton/CopyButton.d.ts +4 -3
  47. package/dist/types/components/FieldDescription/FieldDescription.d.ts +4 -3
  48. package/dist/types/components/FieldError/FieldError.d.ts +4 -3
  49. package/dist/types/components/Header/Header.d.ts +4 -3
  50. package/dist/types/components/Heading/Heading.d.ts +5 -3
  51. package/dist/types/components/Icon/Icon.d.ts +4 -3
  52. package/dist/types/components/Image/Image.d.ts +4 -3
  53. package/dist/types/components/Initials/Initials.d.ts +4 -3
  54. package/dist/types/components/InlineAlert/InlineAlert.d.ts +4 -3
  55. package/dist/types/components/Label/Label.d.ts +4 -3
  56. package/dist/types/components/LayoutCard/LayoutCard.d.ts +4 -3
  57. package/dist/types/components/Link/Link.d.ts +4 -3
  58. package/dist/types/components/Navigation/components/NavigationItem/NavigationItem.d.ts +4 -3
  59. package/dist/types/components/StatusBadge/StatusBadge.d.ts +4 -3
  60. package/dist/types/components/Switch/Switch.d.ts +4 -3
  61. package/dist/types/components/Text/Text.d.ts +4 -3
  62. package/dist/types/lib/componentFactory/flowComponent.d.ts +8 -0
  63. package/dist/types/lib/types/props.d.ts +5 -2
  64. package/package.json +7 -7
  65. package/dist/FieldError-BFjashy7.js +0 -21
  66. package/dist/Label-DIeeRQZQ.js +0 -25
  67. package/dist/Text-BAkan-um.js +0 -27
  68. package/dist/useProps-4x7PxhiE.js +0 -72
@@ -1,16 +1,18 @@
1
1
  "use client"
2
2
  /* */
3
3
  import o from "react";
4
- import * as P from "react-aria-components";
5
- import y from "clsx";
6
- import { C as I } from "./ClearPropsContext-CD1-9TZA.js";
4
+ import * as y from "react-aria-components";
5
+ import I from "clsx";
6
+ import { C as P } from "./ClearPropsContext-CD1-9TZA.js";
7
7
  import { P as C } from "./PropsContextProvider-B6QiUIPM.js";
8
- import { u as E } from "./useProps-4x7PxhiE.js";
8
+ import "@react-aria/utils";
9
+ import "./propsContext-Dx7WKmmM.js";
10
+ import "remeda";
9
11
  import "@tabler/icons-react";
10
- import "./Icon-X0pOdlJY.js";
11
12
  import "html-react-parser";
12
- import { b as N, I as S, a as F } from "./IconSucceeded-DQdtfEkv.js";
13
- import { T as h } from "./Text-BAkan-um.js";
13
+ import { f as E } from "./flowComponent-DLzr2Cvi.js";
14
+ import { b as N, I as S, a as F } from "./IconSucceeded-DbgWPDVp.js";
15
+ import { T as h } from "./Text-DaJ0Ajt9.js";
14
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 = {
15
17
  button: z,
16
18
  icon: B,
@@ -28,30 +30,30 @@ const z = "flow--button", B = "flow--button--icon", v = "flow--button--text", T
28
30
  danger: q,
29
31
  secondary: G,
30
32
  soft: H
31
- }, u = (n) => {
32
- const { if: s, children: e } = n;
33
- return s ? e : e.props.children;
34
- }, Z = (n) => {
33
+ }, f = (e) => {
34
+ const { if: s, children: n } = e;
35
+ return s ? n : n.props.children;
36
+ }, ot = E("Button", (e) => {
35
37
  const {
36
38
  variant: s = "primary",
37
- style: e = "solid",
39
+ style: n = "solid",
38
40
  children: l,
39
- className: f,
41
+ className: p,
40
42
  size: c = "m",
41
43
  isPending: i,
42
- isDisabled: p,
44
+ isDisabled: u,
43
45
  isSucceeded: a,
44
46
  isFailed: r,
45
47
  ...b
46
- } = E("Button", n), w = y(
48
+ } = e, w = I(
47
49
  t.button,
48
50
  i && t.isPending,
49
51
  a && t.isSucceeded,
50
52
  r && t.isFailed,
51
53
  t[`size-${c}`],
52
54
  t[s],
53
- t[e],
54
- f
55
+ t[n],
56
+ p
55
57
  ), g = {
56
58
  Icon: {
57
59
  className: t.icon,
@@ -62,17 +64,17 @@ const z = "flow--button", B = "flow--button--icon", v = "flow--button--text", T
62
64
  className: t.text
63
65
  }
64
66
  }, d = a ? N : r ? S : i ? F : void 0, m = d && /* @__PURE__ */ o.createElement(d, { size: c, className: t.stateIcon }), x = typeof l == "string";
65
- return /* @__PURE__ */ o.createElement(I, null, /* @__PURE__ */ o.createElement(
66
- P.Button,
67
+ return /* @__PURE__ */ o.createElement(P, null, /* @__PURE__ */ o.createElement(
68
+ y.Button,
67
69
  {
68
70
  className: w,
69
- isDisabled: p || i || a || r,
71
+ isDisabled: u || i || a || r,
70
72
  ...b
71
73
  },
72
- /* @__PURE__ */ o.createElement(u, { if: m }, /* @__PURE__ */ o.createElement("span", { className: t.content }, /* @__PURE__ */ o.createElement(u, { if: x }, /* @__PURE__ */ o.createElement(h, null, /* @__PURE__ */ o.createElement(C, { props: g }, l))))),
74
+ /* @__PURE__ */ o.createElement(f, { if: m }, /* @__PURE__ */ o.createElement("span", { className: t.content }, /* @__PURE__ */ o.createElement(f, { if: x }, /* @__PURE__ */ o.createElement(h, null, /* @__PURE__ */ o.createElement(C, { props: g }, l))))),
73
75
  m
74
76
  ));
75
- };
77
+ });
76
78
  export {
77
- Z as B
79
+ ot as B
78
80
  };
package/dist/Button.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use client"
2
2
  /* */
3
- import { B as o } from "./Button-IRdeGCc6.js";
3
+ import { B as o } from "./Button-DiHP-IYs.js";
4
4
  export {
5
5
  o as Button,
6
6
  o as default
package/dist/Checkbox.js CHANGED
@@ -4,20 +4,22 @@ 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-X0pOdlJY.js";
8
7
  import "html-react-parser";
9
8
  import { C as i } from "./ClearPropsContext-CD1-9TZA.js";
10
9
  import "./propsContext-Dx7WKmmM.js";
11
10
  import "@react-aria/utils";
12
11
  import "remeda";
13
- import { I as p, a as k } from "./IconUnchecked-BhOGDWAq.js";
14
- const h = "flow--checkbox", c = {
12
+ import "./flowComponent-DLzr2Cvi.js";
13
+ import "@preact/signals-react";
14
+ import "@preact/signals-react/runtime";
15
+ import { I as p, a as k } from "./IconUnchecked-C7a0quEr.js";
16
+ const h = "flow--checkbox", t = {
15
17
  checkbox: h
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)));
18
+ }, A = (o) => {
19
+ const { children: c, className: r, ...m } = o, a = n(t.checkbox, r);
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: t.checkmark }) : /* @__PURE__ */ e.createElement(k, { className: t.checkmark }), c)));
19
21
  };
20
22
  export {
21
- w as Checkbox,
22
- w as default
23
+ A as Checkbox,
24
+ A as default
23
25
  };
package/dist/Content.js CHANGED
@@ -1,14 +1,16 @@
1
1
  "use client"
2
2
  /* */
3
- import e from "react";
4
- import { C as s } from "./ClearPropsContext-CD1-9TZA.js";
3
+ import t from "react";
4
+ import { C as l } from "./ClearPropsContext-CD1-9TZA.js";
5
5
  import "./propsContext-Dx7WKmmM.js";
6
- import { u as l } from "./useProps-4x7PxhiE.js";
7
- const u = (t) => {
8
- const { children: r, elementType: o = "div", ...n } = l("Content", t), m = o;
9
- return /* @__PURE__ */ e.createElement(s, null, /* @__PURE__ */ e.createElement(m, { ...n }, r));
10
- };
6
+ import "@react-aria/utils";
7
+ import "remeda";
8
+ import { f as p } from "./flowComponent-DLzr2Cvi.js";
9
+ const d = p("Content", (e) => {
10
+ const { children: o, elementType: r = "div", ...n } = e, m = r;
11
+ return /* @__PURE__ */ t.createElement(l, null, /* @__PURE__ */ t.createElement(m, { ...n }, o));
12
+ });
11
13
  export {
12
- u as Content,
13
- u as default
14
+ d as Content,
15
+ d as default
14
16
  };
@@ -2,32 +2,33 @@
2
2
  /* */
3
3
  import o from "react";
4
4
  import n from "copy-to-clipboard";
5
- import { B as a } from "./Button-IRdeGCc6.js";
5
+ import { B as i } from "./Button-DiHP-IYs.js";
6
6
  import "@tabler/icons-react";
7
- import "./Icon-X0pOdlJY.js";
8
7
  import "clsx";
9
8
  import "html-react-parser";
10
- import { C as i } from "./ClearPropsContext-CD1-9TZA.js";
9
+ import { C as l } from "./ClearPropsContext-CD1-9TZA.js";
11
10
  import "./propsContext-Dx7WKmmM.js";
12
- import { u as l } from "./useProps-4x7PxhiE.js";
13
- import { I as c } from "./IconCopy-Bpp37OMK.js";
11
+ import "@react-aria/utils";
12
+ import "remeda";
13
+ import { f as a } from "./flowComponent-DLzr2Cvi.js";
14
+ import { I as c } from "./IconCopy-CVV8P-Kn.js";
14
15
  import { useLocalizedStringFormatter as s } from "react-aria";
15
16
  import { T as u } from "./Tooltip-Co5h9sSt.js";
16
- import { T as y } from "./TooltipTrigger-7-ynWHZ9.js";
17
- import { onlyText as f } from "react-children-utilities";
18
- const B = {
17
+ import { T as f } from "./TooltipTrigger-7-ynWHZ9.js";
18
+ import { onlyText as y } from "react-children-utilities";
19
+ const C = {
19
20
  "de-DE": {
20
21
  "copyButton.copy": "Kopieren"
21
22
  },
22
23
  "en-EN": {
23
24
  "copyButton.copy": "Copy"
24
25
  }
25
- }, S = (r) => {
26
- const { text: e, ...p } = l("CopyButton", r), t = s(B).format("copyButton.copy"), m = () => {
27
- n(f(e));
26
+ }, S = a("CopyButton", (r) => {
27
+ const { text: e, ...m } = r, t = s(C).format("copyButton.copy"), p = () => {
28
+ n(y(e));
28
29
  };
29
- return /* @__PURE__ */ o.createElement(i, null, /* @__PURE__ */ o.createElement(y, null, /* @__PURE__ */ o.createElement(a, { onPress: m, "aria-label": t, ...p }, /* @__PURE__ */ o.createElement(c, null)), /* @__PURE__ */ o.createElement(u, null, t)));
30
- };
30
+ return /* @__PURE__ */ o.createElement(l, null, /* @__PURE__ */ o.createElement(f, null, /* @__PURE__ */ o.createElement(i, { onPress: p, "aria-label": t, ...m }, /* @__PURE__ */ o.createElement(c, null)), /* @__PURE__ */ o.createElement(u, null, t)));
31
+ });
31
32
  export {
32
33
  S as CopyButton,
33
34
  S as default
@@ -1,18 +1,20 @@
1
1
  "use client"
2
2
  /* */
3
- import e from "react";
3
+ import t from "react";
4
4
  import l from "clsx";
5
- import { C as c } from "./ClearPropsContext-CD1-9TZA.js";
5
+ import { C as n } from "./ClearPropsContext-CD1-9TZA.js";
6
6
  import "./propsContext-Dx7WKmmM.js";
7
- import { u as n } from "./useProps-4x7PxhiE.js";
8
- import { T as m } from "./Text-BAkan-um.js";
7
+ import "@react-aria/utils";
8
+ import "remeda";
9
+ import { T as c } from "./Text-DaJ0Ajt9.js";
10
+ import { f as m } from "./flowComponent-DLzr2Cvi.js";
9
11
  const p = "flow--field-description", a = {
10
12
  fieldDescription: p
11
- }, N = (t) => {
12
- const { children: o, className: s, ...r } = n("FieldDescription", t), i = l(a.fieldDescription, s);
13
- return /* @__PURE__ */ e.createElement(c, null, /* @__PURE__ */ e.createElement(m, { slot: "description", ...r, className: i }, o));
14
- };
13
+ }, E = m("FieldDescription", (e) => {
14
+ const { children: o, className: r, ...i } = e, s = l(a.fieldDescription, r);
15
+ return /* @__PURE__ */ t.createElement(n, null, /* @__PURE__ */ t.createElement(c, { slot: "description", ...i, className: s }, o));
16
+ });
15
17
  export {
16
- N as FieldDescription,
17
- N as default
18
+ E as FieldDescription,
19
+ E as default
18
20
  };
@@ -0,0 +1,22 @@
1
+ "use client"
2
+ /* */
3
+ import r from "react";
4
+ import * as n from "react-aria-components";
5
+ import a from "clsx";
6
+ import { C as i } from "./ClearPropsContext-CD1-9TZA.js";
7
+ import "./propsContext-Dx7WKmmM.js";
8
+ import "@react-aria/utils";
9
+ import "remeda";
10
+ import "@tabler/icons-react";
11
+ import "html-react-parser";
12
+ import { f as c } from "./flowComponent-DLzr2Cvi.js";
13
+ import { I as p } from "./IconDanger-Bq08fgKM.js";
14
+ const f = "flow--field-error", E = {
15
+ fieldError: f
16
+ }, j = c("FieldError", (o) => {
17
+ const { children: e, className: t, ...l } = o, m = a(E.fieldError, t);
18
+ return /* @__PURE__ */ r.createElement(i, null, /* @__PURE__ */ r.createElement(n.FieldError, { ...l, className: m }, ({ validationErrors: s }) => /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(p, { size: "s" }), /* @__PURE__ */ r.createElement("span", null, e || s.join(" ")))));
19
+ });
20
+ export {
21
+ j as F
22
+ };
@@ -1,6 +1,6 @@
1
1
  "use client"
2
2
  /* */
3
- import { F as o } from "./FieldError-BFjashy7.js";
3
+ import { F as o } from "./FieldError-BmzydlRW.js";
4
4
  export {
5
5
  o as FieldError,
6
6
  o as default
package/dist/Header.js CHANGED
@@ -1,17 +1,12 @@
1
1
  "use client"
2
2
  /* */
3
- import m from "react";
4
- import "./propsContext-Dx7WKmmM.js";
5
- import { u as n } from "./useProps-4x7PxhiE.js";
6
- const d = (e) => {
7
- const {
8
- children: r,
9
- elementType: t = "header",
10
- ...o
11
- } = n("Header", e), a = t;
12
- return /* @__PURE__ */ m.createElement(a, { ...o }, r);
13
- };
3
+ import a from "react";
4
+ import { f as m } from "./flowComponent-DLzr2Cvi.js";
5
+ const s = m("Header", (e) => {
6
+ const { children: t, elementType: r = "header", ...o } = e, n = r;
7
+ return /* @__PURE__ */ a.createElement(n, { ...o }, t);
8
+ });
14
9
  export {
15
- d as Header,
16
- d as default
10
+ s as Header,
11
+ s as default
17
12
  };
package/dist/Heading.js CHANGED
@@ -1,29 +1,27 @@
1
1
  "use client"
2
2
  /* */
3
3
  import e from "react";
4
- import m from "clsx";
4
+ import l from "clsx";
5
5
  import { C as p } from "./ClearPropsContext-CD1-9TZA.js";
6
6
  import { P as d } from "./PropsContextProvider-B6QiUIPM.js";
7
- import { u as f } from "./useProps-4x7PxhiE.js";
7
+ import "@react-aria/utils";
8
+ import "./propsContext-Dx7WKmmM.js";
9
+ import "remeda";
10
+ import { f } from "./flowComponent-DLzr2Cvi.js";
8
11
  const h = "flow--heading", g = "flow--heading--icon", o = {
9
12
  heading: h,
10
13
  icon: g
11
- }, N = (t) => {
12
- const {
13
- children: s,
14
- className: n,
15
- level: r = 2,
16
- ...a
17
- } = f("Heading", t), c = m(o.heading, n), i = `h${r}`, l = {
14
+ }, H = f("Heading", (t) => {
15
+ const { children: n, className: r, level: s = 2, ...a } = t, i = l(o.heading, r), c = `h${s}`, m = {
18
16
  Icon: {
19
17
  "aria-hidden": !0,
20
18
  size: "s",
21
19
  className: o.icon
22
20
  }
23
21
  };
24
- return /* @__PURE__ */ e.createElement(p, null, /* @__PURE__ */ e.createElement(i, { className: c, ...a }, /* @__PURE__ */ e.createElement(d, { props: l }, s)));
25
- };
22
+ return /* @__PURE__ */ e.createElement(p, null, /* @__PURE__ */ e.createElement(c, { className: i, ...a }, /* @__PURE__ */ e.createElement(d, { props: m }, n)));
23
+ });
26
24
  export {
27
- N as Heading,
28
- N as default
25
+ H as Heading,
26
+ H as default
29
27
  };
@@ -3,47 +3,49 @@
3
3
  import i, { Children as f, useMemo as p } from "react";
4
4
  import g from "clsx";
5
5
  import d from "html-react-parser";
6
- import { C as u } from "./ClearPropsContext-CD1-9TZA.js";
6
+ import { C as w } from "./ClearPropsContext-CD1-9TZA.js";
7
7
  import "./propsContext-Dx7WKmmM.js";
8
- import { u as w } from "./useProps-4x7PxhiE.js";
9
- const z = "flow--icon", c = {
10
- icon: z,
8
+ import "@react-aria/utils";
9
+ import "remeda";
10
+ import { f as z } from "./flowComponent-DLzr2Cvi.js";
11
+ const b = "flow--icon", c = {
12
+ icon: b,
11
13
  "size-m": "flow--icon--size-m",
12
14
  "size-s": "flow--icon--size-s",
13
15
  "size-l": "flow--icon--size-l"
14
- }, b = (e) => {
16
+ }, u = (e) => {
15
17
  const t = f.toArray(d(e)).find(
16
18
  (o) => typeof o == "object" && "type" in o && o.type === "svg"
17
19
  );
18
20
  if (!t)
19
21
  throw new Error(`Invalid SVG string (got ${String(e)})`);
20
22
  return t;
21
- }, C = (e) => {
23
+ }, $ = z("Icon", (e) => {
22
24
  const {
23
25
  className: t,
24
26
  "aria-label": o,
25
- children: r,
27
+ children: n,
26
28
  size: l = "m",
27
29
  ...a
28
- } = w("Icon", e), m = {
30
+ } = e, m = {
29
31
  ...a,
30
32
  focusable: "false",
31
33
  role: "img",
32
34
  "aria-hidden": !o,
33
35
  "aria-label": o,
34
36
  className: g(c.icon, t, c[`size-${l}`])
35
- }, s = typeof r == "string", n = p(
36
- () => s ? b(r) : r,
37
- [s, r]
37
+ }, s = typeof n == "string", r = p(
38
+ () => s ? u(n) : n,
39
+ [s, n]
38
40
  );
39
- if (!i.isValidElement(n))
41
+ if (!i.isValidElement(r))
40
42
  throw new Error(
41
43
  `Expected children of Icon component to be a valid React element (got ${String(
42
- n
44
+ r
43
45
  )})`
44
46
  );
45
- return /* @__PURE__ */ i.createElement(u, null, i.cloneElement(n, m));
46
- };
47
+ return /* @__PURE__ */ i.createElement(w, null, i.cloneElement(r, m));
48
+ });
47
49
  export {
48
- C as I
50
+ $ as I
49
51
  };
package/dist/Icon.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use client"
2
2
  /* */
3
- import { I as a } from "./Icon-X0pOdlJY.js";
3
+ import { I as a } from "./Icon-hyIHBPMT.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-X0pOdlJY.js";
5
+ import { I as t } from "./Icon-hyIHBPMT.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-X0pOdlJY.js";
5
+ import { I as n } from "./Icon-hyIHBPMT.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-X0pOdlJY.js";
5
+ import { I as r } from "./Icon-hyIHBPMT.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-X0pOdlJY.js";
5
+ import { I as r } from "./Icon-hyIHBPMT.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-X0pOdlJY.js";
5
+ import { I as t } from "./Icon-hyIHBPMT.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-X0pOdlJY.js";
5
+ import { I as o } from "./Icon-hyIHBPMT.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-X0pOdlJY.js";
5
+ import { I as c } from "./Icon-hyIHBPMT.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-X0pOdlJY.js";
5
+ import { I as t } from "./Icon-hyIHBPMT.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-X0pOdlJY.js";
5
+ import { I as n } from "./Icon-hyIHBPMT.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-X0pOdlJY.js";
6
- import { I as ge } from "./IconCheck-BD6sGh4B.js";
7
- import { I as ve, a as ke } from "./IconUnchecked-BhOGDWAq.js";
8
- import { I as $e, a as be } from "./IconChevronUp-CyLNEJQy.js";
9
- import { I as He } from "./IconClose-mhahyKoS.js";
10
- import { I as Ae } from "./IconCopy-Bpp37OMK.js";
11
- import { I as Fe } from "./IconDanger-DH5QCYHj.js";
12
- import { I as Pe, a as Te, b as je } from "./IconSucceeded-DQdtfEkv.js";
13
- import { I as Ue, a as We, b as Ge } from "./IconWarning-D7qa4Hmz.js";
14
- import { I as ze, a as Ne } from "./IconPlus-CnjtlT2f.js";
5
+ import { I as t } from "./Icon-hyIHBPMT.js";
6
+ import { I as ge } from "./IconCheck-B_oanaSr.js";
7
+ import { I as ve, a as ke } from "./IconUnchecked-C7a0quEr.js";
8
+ import { I as $e, a as be } from "./IconChevronUp-DOOZfR76.js";
9
+ import { I as He } from "./IconClose-iB7vE9z6.js";
10
+ import { I as Ae } from "./IconCopy-CVV8P-Kn.js";
11
+ import { I as Fe } from "./IconDanger-Bq08fgKM.js";
12
+ import { I as Pe, a as Te, b as je } from "./IconSucceeded-DbgWPDVp.js";
13
+ import { I as Ue, a as We, b as Ge } from "./IconWarning-BYFc8Vv9.js";
14
+ import { I as ze, a as Ne } from "./IconPlus-ChJLWEqL.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
@@ -1,14 +1,16 @@
1
1
  "use client"
2
2
  /* */
3
3
  import t from "react";
4
- import { C as o } from "./ClearPropsContext-CD1-9TZA.js";
4
+ import { C as r } from "./ClearPropsContext-CD1-9TZA.js";
5
5
  import "./propsContext-Dx7WKmmM.js";
6
- import { u as m } from "./useProps-4x7PxhiE.js";
7
- const i = (e) => {
8
- const r = m("Image", e);
9
- return /* @__PURE__ */ t.createElement(o, null, /* @__PURE__ */ t.createElement("img", { ...r }));
10
- };
6
+ import "@react-aria/utils";
7
+ import "remeda";
8
+ import { f as m } from "./flowComponent-DLzr2Cvi.js";
9
+ const f = m("Image", (o) => {
10
+ const e = o;
11
+ return /* @__PURE__ */ t.createElement(r, null, /* @__PURE__ */ t.createElement("img", { ...e }));
12
+ });
11
13
  export {
12
- i as Image,
13
- i as default
14
+ f as Image,
15
+ f as default
14
16
  };
package/dist/Initials.js CHANGED
@@ -1,18 +1,20 @@
1
1
  "use client"
2
2
  /* */
3
3
  import e from "react";
4
- import c from "clsx";
5
- import { C as p } from "./ClearPropsContext-CD1-9TZA.js";
4
+ import p from "clsx";
5
+ import { C as c } from "./ClearPropsContext-CD1-9TZA.js";
6
6
  import "./propsContext-Dx7WKmmM.js";
7
- import { u as f } from "./useProps-4x7PxhiE.js";
8
- import { onlyText as u } from "react-children-utilities";
9
- const C = (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 = {
7
+ import "@react-aria/utils";
8
+ import "remeda";
9
+ import { onlyText as f } from "react-children-utilities";
10
+ import { f as C } from "./flowComponent-DLzr2Cvi.js";
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 = {
10
12
  initials: x
11
- }, P = (i) => {
12
- const { children: t, className: a } = f("Initials", i), s = u(t), n = C(s), o = c(d.initials, a), l = n.map((r, m) => /* @__PURE__ */ e.createElement("span", { key: m }, r));
13
- return /* @__PURE__ */ e.createElement(p, null, /* @__PURE__ */ e.createElement("div", { "aria-label": s, className: o }, l));
14
- };
13
+ }, h = C("Initials", (i) => {
14
+ const { children: t, className: o } = i, s = f(t), n = u(s), a = p(d.initials, o), l = n.map((r, m) => /* @__PURE__ */ e.createElement("span", { key: m }, r));
15
+ return /* @__PURE__ */ e.createElement(c, null, /* @__PURE__ */ e.createElement("div", { "aria-label": s, className: a }, l));
16
+ });
15
17
  export {
16
- P as Initials,
17
- P as default
18
+ h as Initials,
19
+ h as default
18
20
  };