@mittwald/flow-react-components 0.1.0-alpha.306 → 0.1.0-alpha.307

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 (112) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/css/Heading.css +1 -1
  3. package/dist/css/Popover.css +1 -1
  4. package/dist/css/globals.css +1 -1
  5. package/dist/js/{Accordion-CZ8BnCBz.js → Accordion-CLh-WVKQ.js} +3 -3
  6. package/dist/js/Accordion.js +1 -1
  7. package/dist/js/{Action-A7BoAz3C.js → Action-CTsmaTAj.js} +1 -1
  8. package/dist/js/Action.js +1 -1
  9. package/dist/js/{ActionGroup-BRhTTmkP.js → ActionGroup-BSMe9-_g.js} +1 -1
  10. package/dist/js/ActionGroup.js +1 -1
  11. package/dist/js/Alert.js +2 -2
  12. package/dist/js/AlertBadge.js +3 -3
  13. package/dist/js/{AlertIcon-BvaKmEPH.js → AlertIcon-DVhG5kft.js} +4 -4
  14. package/dist/js/AlertIcon.js +1 -1
  15. package/dist/js/Avatar.js +1 -1
  16. package/dist/js/{Badge-CccHtNiN.js → Badge-A_AVQhYv.js} +4 -4
  17. package/dist/js/Badge.js +1 -1
  18. package/dist/js/Breadcrumb.js +2 -2
  19. package/dist/js/{Button-Da1fC2tj.js → Button-2HD10hUM.js} +5 -5
  20. package/dist/js/Button.js +1 -1
  21. package/dist/js/{CalendarHeader-B04CnM9J.js → CalendarHeader-B_wBEdu9.js} +4 -4
  22. package/dist/js/{Checkbox-BpUGKgbo.js → Checkbox-bubWvoY0.js} +4 -4
  23. package/dist/js/Checkbox.js +1 -1
  24. package/dist/js/{CheckboxButton-RMiT-hW-.js → CheckboxButton-TQpHIv1l.js} +2 -2
  25. package/dist/js/CheckboxButton.js +1 -1
  26. package/dist/js/CheckboxGroup.js +3 -3
  27. package/dist/js/CodeBlock.js +1 -1
  28. package/dist/js/{Content-DkExwuU7.js → Content-B981TFby.js} +1 -1
  29. package/dist/js/Content.js +1 -1
  30. package/dist/js/ContextMenu.js +3 -3
  31. package/dist/js/{ContextMenuTrigger-C0auvmeM.js → ContextMenuTrigger-CoquhvdC.js} +3 -3
  32. package/dist/js/ContextualHelp.js +33 -30
  33. package/dist/js/{CopyButton-DCt3aE_U.js → CopyButton-BXC9KLjg.js} +5 -5
  34. package/dist/js/CopyButton.js +1 -1
  35. package/dist/js/CounterBadge.js +1 -1
  36. package/dist/js/DatePicker.js +7 -7
  37. package/dist/js/DateRangePicker.js +7 -7
  38. package/dist/js/{FieldDescription-CF0WL59R.js → FieldDescription-DHpNcxEx.js} +2 -2
  39. package/dist/js/FieldDescription.js +1 -1
  40. package/dist/js/{FieldError-DeuLuagS.js → FieldError-CHLQJ4Gj.js} +3 -3
  41. package/dist/js/FieldError.js +1 -1
  42. package/dist/js/Header-BBMzw1aI.js +79 -0
  43. package/dist/js/Header.js +1 -1
  44. package/dist/js/HeaderNavigation.js +1 -1
  45. package/dist/js/{Heading-gFkXcomc.js → Heading-0QgZ0l4d.js} +29 -23
  46. package/dist/js/Heading.js +1 -1
  47. package/dist/js/{Icon-COqUQ8Af.js → Icon-C4X3yGm5.js} +1 -1
  48. package/dist/js/Icon.js +1 -1
  49. package/dist/js/{IconCalendar-9aQBibiV.js → IconCalendar-D2Tj_EMm.js} +1 -1
  50. package/dist/js/{IconCheck-D-UNQ-2Z.js → IconCheck-DekklS7k.js} +1 -1
  51. package/dist/js/{IconCheckboxEmpty-LEvEhMea.js → IconCheckboxEmpty-CfjSEpzD.js} +1 -1
  52. package/dist/js/{IconCheckboxIndeterminate-BbILYVGl.js → IconCheckboxIndeterminate-DZmFq0tz.js} +1 -1
  53. package/dist/js/{IconChevronDown-Cs4gzBPk.js → IconChevronDown-CZczuUPE.js} +1 -1
  54. package/dist/js/{IconChevronRight-bLHwOzgA.js → IconChevronRight-YIS8aZq-.js} +1 -1
  55. package/dist/js/{IconChevronUp-ZykxFQAx.js → IconChevronUp-CqIMOmST.js} +1 -1
  56. package/dist/js/{IconClose-DJWkLbQs.js → IconClose-e8kUonqZ.js} +1 -1
  57. package/dist/js/{IconContextMenu-CzXLrZcd.js → IconContextMenu-CJrHGK7Z.js} +1 -1
  58. package/dist/js/{IconCopy-DjisJX3k.js → IconCopy-ZnjfAd5h.js} +1 -1
  59. package/dist/js/{IconDanger-DAFJtHxf.js → IconDanger-CyNGm5Up.js} +1 -1
  60. package/dist/js/{IconExternalLink-D3Jne1hg.js → IconExternalLink-N3R0tAsR.js} +1 -1
  61. package/dist/js/{IconInfo-XinzhLlf.js → IconInfo-1rd0-Xxv.js} +1 -1
  62. package/dist/js/{IconPending-DWfBE4V7.js → IconPending-CuEvSKSd.js} +1 -1
  63. package/dist/js/{IconPlus-C-ZCBY15.js → IconPlus-DwSox2Ic.js} +1 -1
  64. package/dist/js/{IconRadioOn-BSlpvXXO.js → IconRadioOn-g1K-YraZ.js} +1 -1
  65. package/dist/js/{IconSearch-Bufq0n5e.js → IconSearch-BvRfybT9.js} +1 -1
  66. package/dist/js/{IconSucceeded-C2OB1x7I.js → IconSucceeded-Cvd1w6gm.js} +1 -1
  67. package/dist/js/{IconView-D30bALOR.js → IconView-CCa_Jcj-.js} +1 -1
  68. package/dist/js/{IconWarning-4wo_W_cB.js → IconWarning-Do0iVJtZ.js} +1 -1
  69. package/dist/js/Icons.js +21 -21
  70. package/dist/js/Image.js +1 -1
  71. package/dist/js/Initials.js +1 -1
  72. package/dist/js/{Label-DRwjXukM.js → Label-CR5X8sAG.js} +1 -1
  73. package/dist/js/Label.js +1 -1
  74. package/dist/js/LayoutCard.js +1 -1
  75. package/dist/js/{Link-BIdVI7SK.js → Link-ZeLBPQ3N.js} +3 -3
  76. package/dist/js/Link.js +1 -1
  77. package/dist/js/List.js +14 -14
  78. package/dist/js/{LoadingSpinner-pBGiPuv0.js → LoadingSpinner-Bgq-8G86.js} +2 -2
  79. package/dist/js/LoadingSpinner.js +1 -1
  80. package/dist/js/{MenuItem-CWcJNHm3.js → MenuItem-Dx4r1r63.js} +5 -5
  81. package/dist/js/MenuItem.js +1 -1
  82. package/dist/js/Modal.js +6 -6
  83. package/dist/js/Navigation.js +2 -2
  84. package/dist/js/Notification.js +5 -5
  85. package/dist/js/NumberField.js +7 -7
  86. package/dist/js/{Popover-CODr7TtV.js → Popover-BzuJdYCR.js} +1 -1
  87. package/dist/js/Popover.js +2 -2
  88. package/dist/js/RadioGroup.js +5 -5
  89. package/dist/js/{SearchField-D_McGKsS.js → SearchField-b883cfcL.js} +6 -6
  90. package/dist/js/SearchField.js +1 -1
  91. package/dist/js/{Section-DszRJOuI.js → Section-D8qboOw9.js} +1 -1
  92. package/dist/js/Section.js +1 -1
  93. package/dist/js/Select.js +5 -5
  94. package/dist/js/Slider.js +4 -4
  95. package/dist/js/Switch.js +5 -5
  96. package/dist/js/Tabs.js +7 -7
  97. package/dist/js/{Text-BQ5aOXem.js → Text-CZaLuq4c.js} +1 -1
  98. package/dist/js/Text.js +1 -1
  99. package/dist/js/TextArea.js +2 -2
  100. package/dist/js/TextField.js +2 -2
  101. package/dist/js/{TextFieldBase-DPGaU6l6.js → TextFieldBase-DGpU7liT.js} +2 -2
  102. package/dist/js/TimeField.js +2 -2
  103. package/dist/js/all.css +1 -1
  104. package/dist/js/{flowComponent-uZXy7sF4.js → flowComponent-C_3mQGhG.js} +5 -4
  105. package/dist/js/react-hook-form.js +2 -2
  106. package/dist/js/types/components/ContextualHelp/components/ContextualHelpTrigger/ContextualHelpTrigger.d.ts +2 -3
  107. package/dist/js/types/components/propTypes/index.d.ts +1 -0
  108. package/dist/js/types/lib/controller/overlay/context.d.ts +1 -0
  109. package/dist/js/types/lib/propsContext/propsContext.d.ts +2 -0
  110. package/dist/js/types/lib/slotContext/slotContext.d.ts +1 -0
  111. package/package.json +4 -4
  112. package/dist/js/Header-DYgFcnQs.js +0 -73
@@ -9,12 +9,12 @@ import "@react-aria/utils";
9
9
  import "./propsContext-DzAKlmhS.js";
10
10
  import "remeda";
11
11
  import "@tabler/icons-react";
12
- import "./Icon-COqUQ8Af.js";
13
- import { I as h, a as I } from "./IconSucceeded-C2OB1x7I.js";
12
+ import "./Icon-C4X3yGm5.js";
13
+ import { I as h, a as I } from "./IconSucceeded-Cvd1w6gm.js";
14
14
  import { W as f } from "./Wrap-DGT1h1o3.js";
15
- import { T as B } from "./Text-BQ5aOXem.js";
16
- import { f as k } from "./flowComponent-uZXy7sF4.js";
17
- import { L as A } from "./LoadingSpinner-pBGiPuv0.js";
15
+ import { T as B } from "./Text-CZaLuq4c.js";
16
+ import { f as k } from "./flowComponent-C_3mQGhG.js";
17
+ import { L as A } from "./LoadingSpinner-Bgq-8G86.js";
18
18
  import { useLocalizedStringFormatter as D } from "react-aria";
19
19
  import { useLiveRegion as T } from "@chakra-ui/live-region";
20
20
  const z = "flow--button", L = "flow--button--outline", R = "flow--button--content", K = "flow--button--state-icon", U = "flow--button--avatar", W = "flow--button--icon", $ = "flow--button--text", j = "flow--button--counter-badge", q = "flow--button--is-succeeded", G = "flow--button--is-failed", H = "flow--button--is-pending", J = "flow--button--plain", M = "flow--button--primary", O = "flow--button--solid", Q = "flow--button--aria-disabled", V = "flow--button--accent", X = "flow--button--danger", Y = "flow--button--secondary", Z = "flow--button--dark", _ = "flow--button--light", ee = "flow--button--soft", t = {
package/dist/js/Button.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use client"
2
2
  /* */
3
- import { B as o } from "./Button-Da1fC2tj.js";
3
+ import { B as o } from "./Button-2HD10hUM.js";
4
4
  export {
5
5
  o as Button,
6
6
  o as default
@@ -1,12 +1,12 @@
1
1
  "use client"
2
2
  /* */
3
3
  import e from "react";
4
- import { B as r } from "./Button-Da1fC2tj.js";
4
+ import { B as r } from "./Button-2HD10hUM.js";
5
5
  import * as a from "react-aria-components";
6
6
  import "@tabler/icons-react";
7
- import "./Icon-COqUQ8Af.js";
8
- import { I as n } from "./IconCalendar-9aQBibiV.js";
9
- import { I as t } from "./IconChevronRight-bLHwOzgA.js";
7
+ import "./Icon-C4X3yGm5.js";
8
+ import { I as n } from "./IconCalendar-D2Tj_EMm.js";
9
+ import { I as t } from "./IconChevronRight-YIS8aZq-.js";
10
10
  const o = "flow--calendar", l = "flow--calendar--range", f = {
11
11
  calendar: o,
12
12
  range: l
@@ -4,15 +4,15 @@ import e from "react";
4
4
  import * as i from "react-aria-components";
5
5
  import p from "clsx";
6
6
  import "@tabler/icons-react";
7
- import "./Icon-COqUQ8Af.js";
8
- import { I as x, a as f } from "./IconCheckboxEmpty-LEvEhMea.js";
9
- import { I as h } from "./IconCheckboxIndeterminate-BbILYVGl.js";
7
+ import "./Icon-C4X3yGm5.js";
8
+ import { I as x, a as f } from "./IconCheckboxEmpty-CfjSEpzD.js";
9
+ import { I as h } from "./IconCheckboxIndeterminate-DZmFq0tz.js";
10
10
  import { C } from "./ClearPropsContext-CUvsbMn8.js";
11
11
  import "./propsContext-DzAKlmhS.js";
12
12
  import "@react-aria/utils";
13
13
  import "remeda";
14
14
  import "dot-prop";
15
- import { f as k } from "./flowComponent-uZXy7sF4.js";
15
+ import { f as k } from "./flowComponent-C_3mQGhG.js";
16
16
  const b = "flow--checkbox", E = "flow--checkbox--icon", o = {
17
17
  checkbox: b,
18
18
  icon: E
@@ -1,6 +1,6 @@
1
1
  "use client"
2
2
  /* */
3
- import { C as a } from "./Checkbox-BpUGKgbo.js";
3
+ import { C as a } from "./Checkbox-bubWvoY0.js";
4
4
  export {
5
5
  a as Checkbox,
6
6
  a as default
@@ -7,8 +7,8 @@ import { P as b } from "./PropsContextProvider-C6Z4XGp6.js";
7
7
  import "@react-aria/utils";
8
8
  import "./propsContext-DzAKlmhS.js";
9
9
  import "remeda";
10
- import { C as x } from "./Checkbox-BpUGKgbo.js";
11
- import { f } from "./flowComponent-uZXy7sF4.js";
10
+ import { C as x } from "./Checkbox-bubWvoY0.js";
11
+ import { f } from "./flowComponent-C_3mQGhG.js";
12
12
  const C = "flow--checkbox-button", i = "flow--checkbox-button--label", h = "flow--checkbox-button--content", t = {
13
13
  checkboxButton: C,
14
14
  label: i,
@@ -1,6 +1,6 @@
1
1
  "use client"
2
2
  /* */
3
- import { C as t } from "./CheckboxButton-RMiT-hW-.js";
3
+ import { C as t } from "./CheckboxButton-TQpHIv1l.js";
4
4
  export {
5
5
  t as CheckboxButton,
6
6
  t as default
@@ -7,13 +7,13 @@ import "./propsContext-DzAKlmhS.js";
7
7
  import { P as h } from "./PropsContextProvider-C6Z4XGp6.js";
8
8
  import "@react-aria/utils";
9
9
  import "remeda";
10
- import { F as E } from "./FieldError-DeuLuagS.js";
11
- import { C as k } from "./CheckboxButton-RMiT-hW-.js";
10
+ import { F as E } from "./FieldError-CHLQJ4Gj.js";
11
+ import { C as k } from "./CheckboxButton-TQpHIv1l.js";
12
12
  import { TunnelProvider as C, TunnelExit as r } from "@mittwald/react-tunnel";
13
13
  import { f as o } from "./FormField.module-CqWpTQKP.js";
14
14
  import { C as N } from "./ColumnLayout-Bvw578tz.js";
15
15
  import { d as F } from "./deepFindOfType-6pG0fH7S.js";
16
- import { f as G } from "./flowComponent-uZXy7sF4.js";
16
+ import { f as G } from "./flowComponent-C_3mQGhG.js";
17
17
  const P = "flow--checkbox-group", s = {
18
18
  checkboxGroup: P
19
19
  }, j = G("CheckboxGroup", (l) => {
@@ -3,7 +3,7 @@
3
3
  import e from "react";
4
4
  import d from "react-syntax-highlighter";
5
5
  import m from "clsx";
6
- import { C as f } from "./CopyButton-DCt3aE_U.js";
6
+ import { C as f } from "./CopyButton-BXC9KLjg.js";
7
7
  const i = "flow--code-block", k = "flow--code-block--light", u = "flow--code-block--dark", l = {
8
8
  codeBlock: i,
9
9
  default: "flow--code-block--default",
@@ -6,7 +6,7 @@ import "./propsContext-DzAKlmhS.js";
6
6
  import "@react-aria/utils";
7
7
  import "remeda";
8
8
  import "dot-prop";
9
- import { f as l } from "./flowComponent-uZXy7sF4.js";
9
+ import { f as l } from "./flowComponent-C_3mQGhG.js";
10
10
  import { W as s } from "./Wrap-DGT1h1o3.js";
11
11
  const W = l("Content", (t) => {
12
12
  const {
@@ -1,6 +1,6 @@
1
1
  "use client"
2
2
  /* */
3
- import { C as o } from "./Content-DkExwuU7.js";
3
+ import { C as o } from "./Content-B981TFby.js";
4
4
  export {
5
5
  o as Content,
6
6
  o as default
@@ -1,8 +1,8 @@
1
1
  "use client"
2
2
  /* */
3
- import { C as t } from "./ContextMenuTrigger-C0auvmeM.js";
4
- import { a } from "./ContextMenuTrigger-C0auvmeM.js";
5
- import { M as n } from "./MenuItem-CWcJNHm3.js";
3
+ import { C as t } from "./ContextMenuTrigger-CoquhvdC.js";
4
+ import { a } from "./ContextMenuTrigger-CoquhvdC.js";
5
+ import { M as n } from "./MenuItem-Dx4r1r63.js";
6
6
  export {
7
7
  t as ContextMenu,
8
8
  a as ContextMenuTrigger,
@@ -3,8 +3,8 @@
3
3
  import e from "react";
4
4
  import * as i from "react-aria-components";
5
5
  import { s } from "./ContextMenu.module-BZingr2B.js";
6
- import { f as c } from "./flowComponent-uZXy7sF4.js";
7
- import { P } from "./Popover-CODr7TtV.js";
6
+ import { f as c } from "./flowComponent-C_3mQGhG.js";
7
+ import { P } from "./Popover-BzuJdYCR.js";
8
8
  import { C as E } from "./ClearPropsContext-CUvsbMn8.js";
9
9
  import { P as O } from "./PropsContextProvider-C6Z4XGp6.js";
10
10
  import "@react-aria/utils";
@@ -13,7 +13,7 @@ import "remeda";
13
13
  import "mobx";
14
14
  import { u as T } from "./useOverlayController-D8pgx8nV.js";
15
15
  import { O as S, a as A } from "./OverlayTrigger-bD8_mPel.js";
16
- import { A as h } from "./Action-A7BoAz3C.js";
16
+ import { A as h } from "./Action-CTsmaTAj.js";
17
17
  const B = c("ContextMenu", (t) => {
18
18
  const {
19
19
  children: r,
@@ -1,61 +1,64 @@
1
1
  "use client"
2
2
  /* */
3
3
  import t from "react";
4
- import { P as s } from "./Popover-CODr7TtV.js";
4
+ import { P as c } from "./Popover-BzuJdYCR.js";
5
5
  import "./propsContext-DzAKlmhS.js";
6
6
  import { P as l } from "./PropsContextProvider-C6Z4XGp6.js";
7
7
  import "@react-aria/utils";
8
8
  import "remeda";
9
- import { f as c } from "./flowComponent-uZXy7sF4.js";
9
+ import { f as a } from "./flowComponent-C_3mQGhG.js";
10
10
  import "mobx";
11
11
  import { u } from "./useOverlayController-D8pgx8nV.js";
12
12
  import * as f from "react-aria-components";
13
13
  import { a as x } from "./OverlayTrigger-bD8_mPel.js";
14
14
  import { useLocalizedStringFormatter as g } from "react-aria";
15
15
  import "@tabler/icons-react";
16
- import "./Icon-COqUQ8Af.js";
17
- import { I as C } from "./IconInfo-XinzhLlf.js";
16
+ import "./Icon-C4X3yGm5.js";
17
+ import { I as C } from "./IconInfo-1rd0-Xxv.js";
18
18
  const H = "flow--contextual-help", d = {
19
19
  contextualHelp: H
20
- }, b = c("ContextualHelp", (e) => {
20
+ }, b = a("ContextualHelp", (e) => {
21
21
  const {
22
22
  children: o,
23
23
  controller: r,
24
- refProp: a,
24
+ refProp: m,
25
25
  ...n
26
- } = e, m = u("ContextualHelp", {
26
+ } = e, p = u("ContextualHelp", {
27
27
  reuseControllerFromContext: !0
28
- }), p = r ?? m, i = {
28
+ }), i = r ?? p, s = {
29
29
  Heading: {
30
30
  level: 5
31
31
  }
32
32
  };
33
- return /* @__PURE__ */ t.createElement(s, { withTip: !0, ...n, controller: p }, /* @__PURE__ */ t.createElement(l, { props: i }, /* @__PURE__ */ t.createElement("div", { className: d.contextualHelp }, o)));
33
+ return /* @__PURE__ */ t.createElement(c, { withTip: !0, ...n, controller: i }, /* @__PURE__ */ t.createElement(l, { props: s }, /* @__PURE__ */ t.createElement("div", { className: d.contextualHelp }, o)));
34
34
  }), P = { "de-DE": {
35
35
  "contextualHelpButton.moreInformation": "Weitere Informationen"
36
36
  }, "en-EN": {
37
37
  "contextualHelpButton.moreInformation": "More information"
38
- } }, A = (e) => {
39
- const { children: o, ...r } = e, n = {
40
- Button: {
41
- "aria-label": g(P).format(
42
- "contextualHelpButton.moreInformation"
43
- ),
44
- children: /* @__PURE__ */ t.createElement(C, null),
45
- size: "s",
46
- variant: "plain"
47
- }
48
- };
49
- return /* @__PURE__ */ t.createElement(
50
- x,
51
- {
52
- overlayType: "ContextualHelp",
53
- ...r,
54
- component: f.DialogTrigger
55
- },
56
- /* @__PURE__ */ t.createElement(l, { props: n, mergeInParentContext: !0 }, o)
57
- );
58
- };
38
+ } }, A = a(
39
+ "ContextualHelpTrigger",
40
+ (e) => {
41
+ const { children: o, ...r } = e, n = {
42
+ Button: {
43
+ "aria-label": g(P).format(
44
+ "contextualHelpButton.moreInformation"
45
+ ),
46
+ children: /* @__PURE__ */ t.createElement(C, null),
47
+ size: "s",
48
+ variant: "plain"
49
+ }
50
+ };
51
+ return /* @__PURE__ */ t.createElement(
52
+ x,
53
+ {
54
+ overlayType: "ContextualHelp",
55
+ ...r,
56
+ component: f.DialogTrigger
57
+ },
58
+ /* @__PURE__ */ t.createElement(l, { props: n, mergeInParentContext: !0 }, o)
59
+ );
60
+ }
61
+ );
59
62
  export {
60
63
  b as ContextualHelp,
61
64
  A as ContextualHelpTrigger,
@@ -2,10 +2,10 @@
2
2
  /* */
3
3
  import o from "react";
4
4
  import i from "copy-to-clipboard";
5
- import { B as c } from "./Button-Da1fC2tj.js";
5
+ import { B as c } from "./Button-2HD10hUM.js";
6
6
  import "@tabler/icons-react";
7
- import "./Icon-COqUQ8Af.js";
8
- import { I as l } from "./IconCopy-DjisJX3k.js";
7
+ import "./Icon-C4X3yGm5.js";
8
+ import { I as l } from "./IconCopy-ZnjfAd5h.js";
9
9
  import { useLocalizedStringFormatter as s } from "react-aria";
10
10
  import { a as f, T as u } from "./Tooltip-DmYZavnZ.js";
11
11
  import { onlyText as y } from "react-children-utilities";
@@ -14,8 +14,8 @@ import "./propsContext-DzAKlmhS.js";
14
14
  import "@react-aria/utils";
15
15
  import "remeda";
16
16
  import "dot-prop";
17
- import { f as E } from "./flowComponent-uZXy7sF4.js";
18
- import { A as B } from "./Action-A7BoAz3C.js";
17
+ import { f as E } from "./flowComponent-C_3mQGhG.js";
18
+ import { A as B } from "./Action-CTsmaTAj.js";
19
19
  const g = { "de-DE": {
20
20
  "copyButton.copy": "Kopieren"
21
21
  }, "en-EN": {
@@ -1,6 +1,6 @@
1
1
  "use client"
2
2
  /* */
3
- import { C as t } from "./CopyButton-DCt3aE_U.js";
3
+ import { C as t } from "./CopyButton-BXC9KLjg.js";
4
4
  export {
5
5
  t as CopyButton,
6
6
  t as default
@@ -2,7 +2,7 @@
2
2
  /* */
3
3
  import s from "react";
4
4
  import c from "clsx";
5
- import { f as m } from "./flowComponent-uZXy7sF4.js";
5
+ import { f as m } from "./flowComponent-C_3mQGhG.js";
6
6
  const u = "flow--counter-badge", d = {
7
7
  counterBadge: u
8
8
  }, g = m("CounterBadge", (o) => {
@@ -7,17 +7,17 @@ import { P as u } from "./PropsContextProvider-C6Z4XGp6.js";
7
7
  import "@react-aria/utils";
8
8
  import "remeda";
9
9
  import * as r from "react-aria-components";
10
- import { B as E } from "./Button-Da1fC2tj.js";
10
+ import { B as E } from "./Button-2HD10hUM.js";
11
11
  import "@tabler/icons-react";
12
- import "./Icon-COqUQ8Af.js";
13
- import { a as C } from "./IconCalendar-9aQBibiV.js";
14
- import { F as D } from "./FieldError-DeuLuagS.js";
12
+ import "./Icon-C4X3yGm5.js";
13
+ import { a as C } from "./IconCalendar-D2Tj_EMm.js";
14
+ import { F as D } from "./FieldError-CHLQJ4Gj.js";
15
15
  import { f as a } from "./FormField.module-CqWpTQKP.js";
16
- import { P as N } from "./Popover-CODr7TtV.js";
16
+ import { P as N } from "./Popover-BzuJdYCR.js";
17
17
  import "mobx";
18
18
  import { u as P } from "./useOverlayController-D8pgx8nV.js";
19
- import { f as y } from "./flowComponent-uZXy7sF4.js";
20
- import { s as F, C as b } from "./CalendarHeader-B04CnM9J.js";
19
+ import { f as y } from "./flowComponent-C_3mQGhG.js";
20
+ import { s as F, C as b } from "./CalendarHeader-B_wBEdu9.js";
21
21
  const g = "flow--date-picker--date-input", v = {
22
22
  dateInput: g
23
23
  }, I = (t) => {
@@ -8,16 +8,16 @@ import { P as f } from "./PropsContextProvider-C6Z4XGp6.js";
8
8
  import "@react-aria/utils";
9
9
  import "remeda";
10
10
  import * as t from "react-aria-components";
11
- import { P as g } from "./Popover-CODr7TtV.js";
12
- import { s as i, C } from "./CalendarHeader-B04CnM9J.js";
13
- import { B as D } from "./Button-Da1fC2tj.js";
11
+ import { P as g } from "./Popover-BzuJdYCR.js";
12
+ import { s as i, C } from "./CalendarHeader-B_wBEdu9.js";
13
+ import { B as D } from "./Button-2HD10hUM.js";
14
14
  import "@tabler/icons-react";
15
- import "./Icon-COqUQ8Af.js";
16
- import { a as R } from "./IconCalendar-9aQBibiV.js";
17
- import { F as N } from "./FieldError-DeuLuagS.js";
15
+ import "./Icon-C4X3yGm5.js";
16
+ import { a as R } from "./IconCalendar-D2Tj_EMm.js";
17
+ import { F as N } from "./FieldError-CHLQJ4Gj.js";
18
18
  import "mobx";
19
19
  import { u as P } from "./useOverlayController-D8pgx8nV.js";
20
- import { f as v } from "./flowComponent-uZXy7sF4.js";
20
+ import { f as v } from "./flowComponent-C_3mQGhG.js";
21
21
  const F = () => /* @__PURE__ */ e.createElement(t.RangeCalendar, { className: c(i.calendar, i.range) }, /* @__PURE__ */ e.createElement(C, null), /* @__PURE__ */ e.createElement(t.CalendarGrid, null, (r) => /* @__PURE__ */ e.createElement(t.CalendarCell, { date: r }))), I = "flow--date-range-picker--date-range-input", b = {
22
22
  dateRangeInput: I
23
23
  }, h = (r) => {
@@ -7,8 +7,8 @@ import "./propsContext-DzAKlmhS.js";
7
7
  import "@react-aria/utils";
8
8
  import "remeda";
9
9
  import "dot-prop";
10
- import { T as p } from "./Text-BQ5aOXem.js";
11
- import { f as c } from "./flowComponent-uZXy7sF4.js";
10
+ import { T as p } from "./Text-CZaLuq4c.js";
11
+ import { f as c } from "./flowComponent-C_3mQGhG.js";
12
12
  const a = "flow--field-description", f = {
13
13
  fieldDescription: a
14
14
  }, P = c("FieldDescription", (e) => {
@@ -1,6 +1,6 @@
1
1
  "use client"
2
2
  /* */
3
- import { F as i } from "./FieldDescription-CF0WL59R.js";
3
+ import { F as i } from "./FieldDescription-DHpNcxEx.js";
4
4
  export {
5
5
  i as FieldDescription,
6
6
  i as default
@@ -9,9 +9,9 @@ import "@react-aria/utils";
9
9
  import "remeda";
10
10
  import "dot-prop";
11
11
  import "@tabler/icons-react";
12
- import "./Icon-COqUQ8Af.js";
13
- import { I as c } from "./IconDanger-DAFJtHxf.js";
14
- import { f } from "./flowComponent-uZXy7sF4.js";
12
+ import "./Icon-C4X3yGm5.js";
13
+ import { I as c } from "./IconDanger-CyNGm5Up.js";
14
+ import { f } from "./flowComponent-C_3mQGhG.js";
15
15
  const E = "flow--field-error", d = {
16
16
  fieldError: E
17
17
  }, y = f("FieldError", (o) => {
@@ -1,6 +1,6 @@
1
1
  "use client"
2
2
  /* */
3
- import { F as o } from "./FieldError-DeuLuagS.js";
3
+ import { F as o } from "./FieldError-CHLQJ4Gj.js";
4
4
  export {
5
5
  o as FieldError,
6
6
  o as default
@@ -0,0 +1,79 @@
1
+ "use client"
2
+ /* */
3
+ import e from "react";
4
+ import { f as d } from "./flowComponent-C_3mQGhG.js";
5
+ import u from "clsx";
6
+ import "./propsContext-DzAKlmhS.js";
7
+ import { P as m } from "./PropsContextProvider-C6Z4XGp6.js";
8
+ import "@react-aria/utils";
9
+ import "remeda";
10
+ import { TunnelProvider as p, TunnelExit as I } from "@mittwald/react-tunnel";
11
+ const f = "flow--section--section-header", g = "flow--section--section-header--actions", s = {
12
+ sectionHeader: f,
13
+ actions: g
14
+ }, H = (t) => {
15
+ const { children: n, className: o } = t, r = u(s.sectionHeader, o), l = {
16
+ Switch: {
17
+ labelPosition: "leading",
18
+ tunnelId: "actions"
19
+ },
20
+ Button: {
21
+ size: "s",
22
+ tunnelId: "actions"
23
+ },
24
+ ContextMenuTrigger: {
25
+ tunnelId: "actions",
26
+ Button: {
27
+ tunnelId: null
28
+ }
29
+ },
30
+ PopoverTrigger: {
31
+ tunnelId: "actions",
32
+ Button: {
33
+ tunnelId: null
34
+ }
35
+ },
36
+ ModalTrigger: {
37
+ tunnelId: "actions",
38
+ Button: {
39
+ tunnelId: null
40
+ }
41
+ },
42
+ ContextualHelpTrigger: {
43
+ tunnelId: "actions",
44
+ Button: {
45
+ tunnelId: null
46
+ }
47
+ },
48
+ Action: {
49
+ tunnelId: "actions",
50
+ Button: {
51
+ tunnelId: null
52
+ }
53
+ },
54
+ Heading: {
55
+ level: 2,
56
+ className: s.heading
57
+ },
58
+ Link: {
59
+ tunnelId: "actions"
60
+ }
61
+ };
62
+ return /* @__PURE__ */ e.createElement("header", { className: r }, /* @__PURE__ */ e.createElement(m, { props: l }, /* @__PURE__ */ e.createElement(p, null, n, /* @__PURE__ */ e.createElement("div", { className: s.actions }, /* @__PURE__ */ e.createElement(I, { id: "actions" })))));
63
+ }, v = d("Header", (t) => {
64
+ const {
65
+ children: n,
66
+ refProp: o,
67
+ elementType: r = "header",
68
+ renderSectionHeader: l,
69
+ className: a,
70
+ ...i
71
+ } = t;
72
+ if (l)
73
+ return /* @__PURE__ */ e.createElement(H, { className: a }, n);
74
+ const c = r;
75
+ return /* @__PURE__ */ e.createElement(c, { ...i, className: a, ref: o }, n);
76
+ });
77
+ export {
78
+ v as H
79
+ };
package/dist/js/Header.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use client"
2
2
  /* */
3
- import { H as e } from "./Header-DYgFcnQs.js";
3
+ import { H as e } from "./Header-BBMzw1aI.js";
4
4
  export {
5
5
  e as Header,
6
6
  e as default
@@ -7,7 +7,7 @@ import "@react-aria/utils";
7
7
  import "remeda";
8
8
  import { d } from "./dynamic-ClpUSmEt.js";
9
9
  import p from "clsx";
10
- import { T as h } from "./Text-BQ5aOXem.js";
10
+ import { T as h } from "./Text-CZaLuq4c.js";
11
11
  const u = "flow--header-navigation", g = "flow--header-navigation--link", v = "flow--header-navigation--button", f = "flow--header-navigation--light", N = "flow--header-navigation--dark", e = {
12
12
  headerNavigation: u,
13
13
  link: g,
@@ -1,43 +1,43 @@
1
1
  "use client"
2
2
  /* */
3
3
  import e from "react";
4
- import g from "clsx";
4
+ import m from "clsx";
5
5
  import { C as h } from "./ClearPropsContext-CUvsbMn8.js";
6
6
  import { P as f } from "./PropsContextProvider-C6Z4XGp6.js";
7
7
  import "@react-aria/utils";
8
8
  import "./propsContext-DzAKlmhS.js";
9
9
  import "remeda";
10
- import { f as p } from "./flowComponent-uZXy7sF4.js";
10
+ import { f as p } from "./flowComponent-C_3mQGhG.js";
11
11
  import * as x from "react-aria-components";
12
- import { TunnelProvider as w, TunnelExit as C } from "@mittwald/react-tunnel";
13
- const u = "flow--heading", E = "flow--heading--dark", N = "flow--heading--light", P = "flow--heading--icon", T = "flow--heading--heading-text", H = "flow--heading--heading-content", k = "flow--heading--xs", v = "flow--heading--s", I = "flow--heading--m", y = "flow--heading--l", A = "flow--heading--xl", B = "flow--heading--xxl", n = {
14
- heading: u,
12
+ import { TunnelProvider as C, TunnelExit as u } from "@mittwald/react-tunnel";
13
+ const w = "flow--heading", E = "flow--heading--dark", N = "flow--heading--light", P = "flow--heading--heading-text", T = "flow--heading--icon", H = "flow--heading--heading-content", I = "flow--heading--xs", k = "flow--heading--s", v = "flow--heading--m", B = "flow--heading--l", y = "flow--heading--xl", A = "flow--heading--xxl", n = {
14
+ heading: w,
15
15
  dark: E,
16
16
  light: N,
17
- icon: P,
18
- headingText: T,
17
+ headingText: P,
18
+ icon: T,
19
19
  headingContent: H,
20
- xs: k,
21
- s: v,
22
- m: I,
23
- l: y,
24
- xl: A,
25
- xxl: B
20
+ xs: I,
21
+ s: k,
22
+ m: v,
23
+ l: B,
24
+ xl: y,
25
+ xxl: A
26
26
  }, K = p("Heading", (o) => {
27
27
  const {
28
28
  children: a,
29
- className: i,
30
- level: l = 2,
29
+ className: l,
30
+ level: i = 2,
31
31
  color: r = "primary",
32
32
  size: t,
33
33
  refProp: s,
34
34
  ...d
35
- } = o, c = g(
35
+ } = o, c = m(
36
36
  n.heading,
37
37
  t && n[t],
38
38
  n[r],
39
- i
40
- ), m = {
39
+ l
40
+ ), g = {
41
41
  Icon: {
42
42
  "aria-hidden": !0,
43
43
  className: n.icon
@@ -45,20 +45,26 @@ const u = "flow--heading", E = "flow--heading--dark", N = "flow--heading--light"
45
45
  AlertBadge: {
46
46
  tunnelId: "headingContent"
47
47
  },
48
- Button: {
48
+ Badge: {
49
49
  tunnelId: "headingContent"
50
+ },
51
+ ContextualHelpTrigger: {
52
+ tunnelId: "headingContent",
53
+ Button: {
54
+ tunnelId: null
55
+ }
50
56
  }
51
57
  };
52
- return /* @__PURE__ */ e.createElement(h, null, /* @__PURE__ */ e.createElement(w, null, /* @__PURE__ */ e.createElement(
58
+ return /* @__PURE__ */ e.createElement(h, null, /* @__PURE__ */ e.createElement(C, null, /* @__PURE__ */ e.createElement(
53
59
  x.Heading,
54
60
  {
55
- level: l,
61
+ level: i,
56
62
  className: c,
57
63
  ...d,
58
64
  ref: s
59
65
  },
60
- /* @__PURE__ */ e.createElement("span", { className: n.headingText }, /* @__PURE__ */ e.createElement(f, { props: m }, a)),
61
- /* @__PURE__ */ e.createElement("span", { className: n.headingContent }, /* @__PURE__ */ e.createElement(C, { id: "headingContent" }))
66
+ /* @__PURE__ */ e.createElement("span", { className: n.headingText }, /* @__PURE__ */ e.createElement(f, { props: g }, a)),
67
+ /* @__PURE__ */ e.createElement("span", { className: n.headingContent }, /* @__PURE__ */ e.createElement(u, { id: "headingContent" }))
62
68
  )));
63
69
  });
64
70
  export {
@@ -1,6 +1,6 @@
1
1
  "use client"
2
2
  /* */
3
- import { H as e } from "./Heading-gFkXcomc.js";
3
+ import { H as e } from "./Heading-0QgZ0l4d.js";
4
4
  export {
5
5
  e as Heading,
6
6
  e as default
@@ -8,7 +8,7 @@ import "./propsContext-DzAKlmhS.js";
8
8
  import "@react-aria/utils";
9
9
  import "remeda";
10
10
  import "dot-prop";
11
- import { f as z } from "./flowComponent-uZXy7sF4.js";
11
+ import { f as z } from "./flowComponent-C_3mQGhG.js";
12
12
  const b = "flow--icon", u = "flow--icon--light", E = "flow--icon--dark", s = {
13
13
  icon: b,
14
14
  "size-m": "flow--icon--size-m",
package/dist/js/Icon.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use client"
2
2
  /* */
3
- import { I as a } from "./Icon-COqUQ8Af.js";
3
+ import { I as a } from "./Icon-C4X3yGm5.js";
4
4
  export {
5
5
  a as Icon,
6
6
  a as default