@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.
- package/CHANGELOG.md +20 -0
- package/dist/css/Heading.css +1 -1
- package/dist/css/Popover.css +1 -1
- package/dist/css/globals.css +1 -1
- package/dist/js/{Accordion-CZ8BnCBz.js → Accordion-CLh-WVKQ.js} +3 -3
- package/dist/js/Accordion.js +1 -1
- package/dist/js/{Action-A7BoAz3C.js → Action-CTsmaTAj.js} +1 -1
- package/dist/js/Action.js +1 -1
- package/dist/js/{ActionGroup-BRhTTmkP.js → ActionGroup-BSMe9-_g.js} +1 -1
- package/dist/js/ActionGroup.js +1 -1
- package/dist/js/Alert.js +2 -2
- package/dist/js/AlertBadge.js +3 -3
- package/dist/js/{AlertIcon-BvaKmEPH.js → AlertIcon-DVhG5kft.js} +4 -4
- package/dist/js/AlertIcon.js +1 -1
- package/dist/js/Avatar.js +1 -1
- package/dist/js/{Badge-CccHtNiN.js → Badge-A_AVQhYv.js} +4 -4
- package/dist/js/Badge.js +1 -1
- package/dist/js/Breadcrumb.js +2 -2
- package/dist/js/{Button-Da1fC2tj.js → Button-2HD10hUM.js} +5 -5
- package/dist/js/Button.js +1 -1
- package/dist/js/{CalendarHeader-B04CnM9J.js → CalendarHeader-B_wBEdu9.js} +4 -4
- package/dist/js/{Checkbox-BpUGKgbo.js → Checkbox-bubWvoY0.js} +4 -4
- package/dist/js/Checkbox.js +1 -1
- package/dist/js/{CheckboxButton-RMiT-hW-.js → CheckboxButton-TQpHIv1l.js} +2 -2
- package/dist/js/CheckboxButton.js +1 -1
- package/dist/js/CheckboxGroup.js +3 -3
- package/dist/js/CodeBlock.js +1 -1
- package/dist/js/{Content-DkExwuU7.js → Content-B981TFby.js} +1 -1
- package/dist/js/Content.js +1 -1
- package/dist/js/ContextMenu.js +3 -3
- package/dist/js/{ContextMenuTrigger-C0auvmeM.js → ContextMenuTrigger-CoquhvdC.js} +3 -3
- package/dist/js/ContextualHelp.js +33 -30
- package/dist/js/{CopyButton-DCt3aE_U.js → CopyButton-BXC9KLjg.js} +5 -5
- package/dist/js/CopyButton.js +1 -1
- package/dist/js/CounterBadge.js +1 -1
- package/dist/js/DatePicker.js +7 -7
- package/dist/js/DateRangePicker.js +7 -7
- package/dist/js/{FieldDescription-CF0WL59R.js → FieldDescription-DHpNcxEx.js} +2 -2
- package/dist/js/FieldDescription.js +1 -1
- package/dist/js/{FieldError-DeuLuagS.js → FieldError-CHLQJ4Gj.js} +3 -3
- package/dist/js/FieldError.js +1 -1
- package/dist/js/Header-BBMzw1aI.js +79 -0
- package/dist/js/Header.js +1 -1
- package/dist/js/HeaderNavigation.js +1 -1
- package/dist/js/{Heading-gFkXcomc.js → Heading-0QgZ0l4d.js} +29 -23
- package/dist/js/Heading.js +1 -1
- package/dist/js/{Icon-COqUQ8Af.js → Icon-C4X3yGm5.js} +1 -1
- package/dist/js/Icon.js +1 -1
- package/dist/js/{IconCalendar-9aQBibiV.js → IconCalendar-D2Tj_EMm.js} +1 -1
- package/dist/js/{IconCheck-D-UNQ-2Z.js → IconCheck-DekklS7k.js} +1 -1
- package/dist/js/{IconCheckboxEmpty-LEvEhMea.js → IconCheckboxEmpty-CfjSEpzD.js} +1 -1
- package/dist/js/{IconCheckboxIndeterminate-BbILYVGl.js → IconCheckboxIndeterminate-DZmFq0tz.js} +1 -1
- package/dist/js/{IconChevronDown-Cs4gzBPk.js → IconChevronDown-CZczuUPE.js} +1 -1
- package/dist/js/{IconChevronRight-bLHwOzgA.js → IconChevronRight-YIS8aZq-.js} +1 -1
- package/dist/js/{IconChevronUp-ZykxFQAx.js → IconChevronUp-CqIMOmST.js} +1 -1
- package/dist/js/{IconClose-DJWkLbQs.js → IconClose-e8kUonqZ.js} +1 -1
- package/dist/js/{IconContextMenu-CzXLrZcd.js → IconContextMenu-CJrHGK7Z.js} +1 -1
- package/dist/js/{IconCopy-DjisJX3k.js → IconCopy-ZnjfAd5h.js} +1 -1
- package/dist/js/{IconDanger-DAFJtHxf.js → IconDanger-CyNGm5Up.js} +1 -1
- package/dist/js/{IconExternalLink-D3Jne1hg.js → IconExternalLink-N3R0tAsR.js} +1 -1
- package/dist/js/{IconInfo-XinzhLlf.js → IconInfo-1rd0-Xxv.js} +1 -1
- package/dist/js/{IconPending-DWfBE4V7.js → IconPending-CuEvSKSd.js} +1 -1
- package/dist/js/{IconPlus-C-ZCBY15.js → IconPlus-DwSox2Ic.js} +1 -1
- package/dist/js/{IconRadioOn-BSlpvXXO.js → IconRadioOn-g1K-YraZ.js} +1 -1
- package/dist/js/{IconSearch-Bufq0n5e.js → IconSearch-BvRfybT9.js} +1 -1
- package/dist/js/{IconSucceeded-C2OB1x7I.js → IconSucceeded-Cvd1w6gm.js} +1 -1
- package/dist/js/{IconView-D30bALOR.js → IconView-CCa_Jcj-.js} +1 -1
- package/dist/js/{IconWarning-4wo_W_cB.js → IconWarning-Do0iVJtZ.js} +1 -1
- package/dist/js/Icons.js +21 -21
- package/dist/js/Image.js +1 -1
- package/dist/js/Initials.js +1 -1
- package/dist/js/{Label-DRwjXukM.js → Label-CR5X8sAG.js} +1 -1
- package/dist/js/Label.js +1 -1
- package/dist/js/LayoutCard.js +1 -1
- package/dist/js/{Link-BIdVI7SK.js → Link-ZeLBPQ3N.js} +3 -3
- package/dist/js/Link.js +1 -1
- package/dist/js/List.js +14 -14
- package/dist/js/{LoadingSpinner-pBGiPuv0.js → LoadingSpinner-Bgq-8G86.js} +2 -2
- package/dist/js/LoadingSpinner.js +1 -1
- package/dist/js/{MenuItem-CWcJNHm3.js → MenuItem-Dx4r1r63.js} +5 -5
- package/dist/js/MenuItem.js +1 -1
- package/dist/js/Modal.js +6 -6
- package/dist/js/Navigation.js +2 -2
- package/dist/js/Notification.js +5 -5
- package/dist/js/NumberField.js +7 -7
- package/dist/js/{Popover-CODr7TtV.js → Popover-BzuJdYCR.js} +1 -1
- package/dist/js/Popover.js +2 -2
- package/dist/js/RadioGroup.js +5 -5
- package/dist/js/{SearchField-D_McGKsS.js → SearchField-b883cfcL.js} +6 -6
- package/dist/js/SearchField.js +1 -1
- package/dist/js/{Section-DszRJOuI.js → Section-D8qboOw9.js} +1 -1
- package/dist/js/Section.js +1 -1
- package/dist/js/Select.js +5 -5
- package/dist/js/Slider.js +4 -4
- package/dist/js/Switch.js +5 -5
- package/dist/js/Tabs.js +7 -7
- package/dist/js/{Text-BQ5aOXem.js → Text-CZaLuq4c.js} +1 -1
- package/dist/js/Text.js +1 -1
- package/dist/js/TextArea.js +2 -2
- package/dist/js/TextField.js +2 -2
- package/dist/js/{TextFieldBase-DPGaU6l6.js → TextFieldBase-DGpU7liT.js} +2 -2
- package/dist/js/TimeField.js +2 -2
- package/dist/js/all.css +1 -1
- package/dist/js/{flowComponent-uZXy7sF4.js → flowComponent-C_3mQGhG.js} +5 -4
- package/dist/js/react-hook-form.js +2 -2
- package/dist/js/types/components/ContextualHelp/components/ContextualHelpTrigger/ContextualHelpTrigger.d.ts +2 -3
- package/dist/js/types/components/propTypes/index.d.ts +1 -0
- package/dist/js/types/lib/controller/overlay/context.d.ts +1 -0
- package/dist/js/types/lib/propsContext/propsContext.d.ts +2 -0
- package/dist/js/types/lib/slotContext/slotContext.d.ts +1 -0
- package/package.json +4 -4
- 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-
|
|
13
|
-
import { I as h, a as I } from "./IconSucceeded-
|
|
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-
|
|
16
|
-
import { f as k } from "./flowComponent-
|
|
17
|
-
import { L as A } from "./LoadingSpinner-
|
|
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,12 +1,12 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
|
-
import { B as r } from "./Button-
|
|
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-
|
|
8
|
-
import { I as n } from "./IconCalendar-
|
|
9
|
-
import { I as t } from "./IconChevronRight-
|
|
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-
|
|
8
|
-
import { I as x, a as f } from "./IconCheckboxEmpty-
|
|
9
|
-
import { I as h } from "./IconCheckboxIndeterminate-
|
|
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-
|
|
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
|
package/dist/js/Checkbox.js
CHANGED
|
@@ -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-
|
|
11
|
-
import { f } from "./flowComponent-
|
|
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,
|
package/dist/js/CheckboxGroup.js
CHANGED
|
@@ -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-
|
|
11
|
-
import { C as k } from "./CheckboxButton-
|
|
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-
|
|
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) => {
|
package/dist/js/CodeBlock.js
CHANGED
|
@@ -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-
|
|
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-
|
|
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 {
|
package/dist/js/Content.js
CHANGED
package/dist/js/ContextMenu.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
|
-
import { C as t } from "./ContextMenuTrigger-
|
|
4
|
-
import { a } from "./ContextMenuTrigger-
|
|
5
|
-
import { M as n } from "./MenuItem-
|
|
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-
|
|
7
|
-
import { P } from "./Popover-
|
|
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-
|
|
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
|
|
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
|
|
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-
|
|
17
|
-
import { I as C } from "./IconInfo-
|
|
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 =
|
|
20
|
+
}, b = a("ContextualHelp", (e) => {
|
|
21
21
|
const {
|
|
22
22
|
children: o,
|
|
23
23
|
controller: r,
|
|
24
|
-
refProp:
|
|
24
|
+
refProp: m,
|
|
25
25
|
...n
|
|
26
|
-
} = e,
|
|
26
|
+
} = e, p = u("ContextualHelp", {
|
|
27
27
|
reuseControllerFromContext: !0
|
|
28
|
-
}),
|
|
28
|
+
}), i = r ?? p, s = {
|
|
29
29
|
Heading: {
|
|
30
30
|
level: 5
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
|
-
return /* @__PURE__ */ t.createElement(
|
|
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 = (
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
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-
|
|
5
|
+
import { B as c } from "./Button-2HD10hUM.js";
|
|
6
6
|
import "@tabler/icons-react";
|
|
7
|
-
import "./Icon-
|
|
8
|
-
import { I as l } from "./IconCopy-
|
|
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-
|
|
18
|
-
import { A as B } from "./Action-
|
|
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": {
|
package/dist/js/CopyButton.js
CHANGED
package/dist/js/CounterBadge.js
CHANGED
package/dist/js/DatePicker.js
CHANGED
|
@@ -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-
|
|
10
|
+
import { B as E } from "./Button-2HD10hUM.js";
|
|
11
11
|
import "@tabler/icons-react";
|
|
12
|
-
import "./Icon-
|
|
13
|
-
import { a as C } from "./IconCalendar-
|
|
14
|
-
import { F as D } from "./FieldError-
|
|
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-
|
|
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-
|
|
20
|
-
import { s as F, C as b } from "./CalendarHeader-
|
|
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-
|
|
12
|
-
import { s as i, C } from "./CalendarHeader-
|
|
13
|
-
import { B as D } from "./Button-
|
|
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-
|
|
16
|
-
import { a as R } from "./IconCalendar-
|
|
17
|
-
import { F as N } from "./FieldError-
|
|
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-
|
|
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-
|
|
11
|
-
import { f as c } from "./flowComponent-
|
|
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) => {
|
|
@@ -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-
|
|
13
|
-
import { I as c } from "./IconDanger-
|
|
14
|
-
import { f } from "./flowComponent-
|
|
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) => {
|
package/dist/js/FieldError.js
CHANGED
|
@@ -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
|
@@ -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-
|
|
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
|
|
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-
|
|
10
|
+
import { f as p } from "./flowComponent-C_3mQGhG.js";
|
|
11
11
|
import * as x from "react-aria-components";
|
|
12
|
-
import { TunnelProvider as
|
|
13
|
-
const
|
|
14
|
-
heading:
|
|
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
|
-
|
|
18
|
-
|
|
17
|
+
headingText: P,
|
|
18
|
+
icon: T,
|
|
19
19
|
headingContent: H,
|
|
20
|
-
xs:
|
|
21
|
-
s:
|
|
22
|
-
m:
|
|
23
|
-
l:
|
|
24
|
-
xl:
|
|
25
|
-
xxl:
|
|
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:
|
|
30
|
-
level:
|
|
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 =
|
|
35
|
+
} = o, c = m(
|
|
36
36
|
n.heading,
|
|
37
37
|
t && n[t],
|
|
38
38
|
n[r],
|
|
39
|
-
|
|
40
|
-
),
|
|
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
|
-
|
|
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(
|
|
58
|
+
return /* @__PURE__ */ e.createElement(h, null, /* @__PURE__ */ e.createElement(C, null, /* @__PURE__ */ e.createElement(
|
|
53
59
|
x.Heading,
|
|
54
60
|
{
|
|
55
|
-
level:
|
|
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:
|
|
61
|
-
/* @__PURE__ */ e.createElement("span", { className: n.headingContent }, /* @__PURE__ */ e.createElement(
|
|
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 {
|
package/dist/js/Heading.js
CHANGED
|
@@ -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-
|
|
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",
|