@mittwald/flow-react-components 0.1.0-alpha.187 → 0.1.0-alpha.189
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Accordion-CQNHfz3Y.js → Accordion-44t1KJbp.js} +3 -3
- package/dist/Accordion.js +1 -1
- package/dist/{Action-DZ-dUjY_.js → Action-B9iiMUXq.js} +1 -1
- package/dist/Action.js +1 -1
- package/dist/ActionGroup.js +1 -1
- package/dist/Avatar.js +1 -1
- package/dist/Breadcrumb.js +2 -2
- package/dist/{Button-DlP30MUz.js → Button-Bewd_wSa.js} +5 -5
- package/dist/Button.js +1 -1
- package/dist/{Checkbox-DpsQsjyp.js → Checkbox-CuTjbpdr.js} +4 -4
- package/dist/Checkbox.js +1 -1
- package/dist/{CheckboxButton-D5pCUqHX.js → CheckboxButton-gL30h9xG.js} +2 -2
- package/dist/CheckboxButton.js +1 -1
- package/dist/CheckboxGroup.js +6 -6
- package/dist/{Content-DbQrGIyx.js → Content-DTwZweqp.js} +1 -1
- package/dist/Content.js +1 -1
- package/dist/ContextMenu.js +3 -3
- package/dist/{ContextMenuTrigger-DuiGa0Zj.js → ContextMenuTrigger-CvljOFns.js} +3 -3
- package/dist/ContextualHelp.js +4 -4
- package/dist/CopyButton.js +5 -5
- package/dist/CounterBadge.js +1 -1
- package/dist/{FieldDescription-BdJwrLq6.js → FieldDescription-b0dVuLR9.js} +2 -2
- package/dist/FieldDescription.js +1 -1
- package/dist/{FieldError-BZeDqyag.js → FieldError-Bevl1ofs.js} +3 -3
- package/dist/FieldError.js +1 -1
- package/dist/{FormField.module-CqWpTQKP.js → FormField.module-DHK6nIcD.js} +1 -1
- package/dist/{Header-Bq7WZg8g.js → Header-UWuteUuZ.js} +1 -1
- package/dist/Header.js +1 -1
- package/dist/{Heading-1M1gRZfk.js → Heading-BzwQly28.js} +1 -1
- package/dist/Heading.js +1 -1
- package/dist/{Icon-BCN5qdXA.js → Icon-CUhvR1IT.js} +1 -1
- package/dist/Icon.js +1 -1
- package/dist/{IconCheck-BYubSDLL.js → IconCheck-Baz3lkPw.js} +1 -1
- package/dist/{IconCheckboxEmpty-FQyDmq2k.js → IconCheckboxEmpty-CsDSdQbR.js} +1 -1
- package/dist/{IconCheckboxIndeterminate-DBBytCg7.js → IconCheckboxIndeterminate-CiRBKhOR.js} +1 -1
- package/dist/{IconChevronDown-d3q78pVs.js → IconChevronDown-0Qm5hGlw.js} +1 -1
- package/dist/{IconChevronRight-DLHldFgq.js → IconChevronRight-DV5yxS6Q.js} +1 -1
- package/dist/{IconChevronUp-D62-9iee.js → IconChevronUp-BMWrCjp3.js} +1 -1
- package/dist/{IconClose-9DrWhSP2.js → IconClose-BHf4btna.js} +1 -1
- package/dist/{IconContextMenu-Cy6_2TgT.js → IconContextMenu-C9_95BDt.js} +1 -1
- package/dist/{IconCopy-C3V1hvRq.js → IconCopy-CWGdqxzm.js} +1 -1
- package/dist/{IconDanger-B4gH_wD5.js → IconDanger-DFMRrq2m.js} +1 -1
- package/dist/{IconInfo-CtOUGSwO.js → IconInfo-BqmpjObo.js} +1 -1
- package/dist/{IconPending-7zAFcMDq.js → IconPending-MprHiXiv.js} +1 -1
- package/dist/{IconPlus-BVE-NWUJ.js → IconPlus-BWI6sp0-.js} +1 -1
- package/dist/{IconRadioOn-hKPuJBpt.js → IconRadioOn-CVwFv8s0.js} +1 -1
- package/dist/{IconSearch-Bxe-heXD.js → IconSearch-D6QHaNuF.js} +1 -1
- package/dist/{IconSucceeded-BXmn4l1i.js → IconSucceeded-DLE96uUC.js} +1 -1
- package/dist/{IconWarning-C_OvWQWl.js → IconWarning-DY_gujxC.js} +1 -1
- package/dist/Icons.js +18 -18
- package/dist/Image.js +1 -1
- package/dist/Initials.js +1 -1
- package/dist/InlineAlert.js +2 -2
- package/dist/{Label-RMBiypQZ.js → Label-BD3Jzaap.js} +1 -1
- package/dist/Label.js +1 -1
- package/dist/LayoutCard.js +1 -1
- package/dist/{Link-IBPoxx55.js → Link-BvK-OJhM.js} +1 -1
- package/dist/Link.js +1 -1
- package/dist/List.js +165 -178
- package/dist/{LoadingSpinner-D8TQ918m.js → LoadingSpinner-BwRfUBmo.js} +2 -2
- package/dist/LoadingSpinner.js +1 -1
- package/dist/{MenuItem-CB1ga-U-.js → MenuItem-DaY0bRCQ.js} +5 -5
- package/dist/MenuItem.js +1 -1
- package/dist/Modal.js +6 -6
- package/dist/Navigation.js +2 -2
- package/dist/Notification.js +5 -5
- package/dist/NumberField.js +22 -22
- package/dist/{Popover-D-W1fcm7.js → Popover-DiU0zzqO.js} +1 -1
- package/dist/Popover.js +1 -1
- package/dist/RadioGroup.js +16 -16
- package/dist/SearchField-BxKrfsvy.js +76 -0
- package/dist/SearchField.js +7 -0
- package/dist/Section.js +1 -1
- package/dist/Select.js +14 -14
- package/dist/Slider.js +4 -4
- package/dist/StatusBadge.js +3 -3
- package/dist/{StatusIcon-B3uPCHqB.js → StatusIcon-DYQ_4f2y.js} +4 -4
- package/dist/StatusIcon.js +1 -1
- package/dist/Switch.js +5 -5
- package/dist/Tabs.js +7 -7
- package/dist/{Text-Cf6YXkaU.js → Text-DQmfbsPC.js} +1 -1
- package/dist/Text.js +1 -1
- package/dist/TextArea.js +2 -2
- package/dist/TextField.js +24 -3
- package/dist/{TextFieldBase-C3GJbG-y.js → TextFieldBase-BcABoqwx.js} +10 -10
- package/dist/{flowComponent-CwV0a4FM.js → flowComponent-COVzhVCB.js} +13 -12
- package/dist/react-hook-form.js +2 -2
- package/dist/styles.css +1 -1
- package/dist/types/components/List/model/search/types.d.ts +4 -4
- package/dist/types/components/List/typedList.d.ts +3 -1
- package/dist/types/components/SearchField/SearchField.d.ts +8 -0
- package/dist/types/components/SearchField/index.d.ts +4 -0
- package/dist/types/components/SearchField/stories/Default.stories.d.ts +11 -0
- package/dist/types/components/propTypes/index.d.ts +2 -0
- package/dist/types/lib/controller/overlay/context.d.ts +1 -0
- package/dist/types/lib/propsContext/propsContext.d.ts +2 -0
- package/dist/types/lib/slotContext/slotContext.d.ts +1 -0
- package/package.json +8 -4
- package/dist/TextField-BIusIY_h.js +0 -27
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import r from "react";
|
|
4
4
|
import "@tabler/icons-react";
|
|
5
|
-
import "./Icon-
|
|
6
|
-
import { I as e } from "./IconPending-
|
|
5
|
+
import "./Icon-CUhvR1IT.js";
|
|
6
|
+
import { I as e } from "./IconPending-MprHiXiv.js";
|
|
7
7
|
import t from "clsx";
|
|
8
8
|
const a = "flow--loading-spinner", p = "flow--loading-spinner--spin", l = {
|
|
9
9
|
loadingSpinner: a,
|
package/dist/LoadingSpinner.js
CHANGED
|
@@ -8,13 +8,13 @@ import { P as i } from "./PropsContextProvider-C6Z4XGp6.js";
|
|
|
8
8
|
import "@react-aria/utils";
|
|
9
9
|
import "remeda";
|
|
10
10
|
import "@tabler/icons-react";
|
|
11
|
-
import "./Icon-
|
|
12
|
-
import { I as x, a as d } from "./IconCheckboxEmpty-
|
|
13
|
-
import { I as E, a as C } from "./IconRadioOn-
|
|
14
|
-
import { T as p } from "./Text-
|
|
11
|
+
import "./Icon-CUhvR1IT.js";
|
|
12
|
+
import { I as x, a as d } from "./IconCheckboxEmpty-CsDSdQbR.js";
|
|
13
|
+
import { I as E, a as C } from "./IconRadioOn-CVwFv8s0.js";
|
|
14
|
+
import { T as p } from "./Text-DQmfbsPC.js";
|
|
15
15
|
import { d as h } from "./deepFindOfType-6pG0fH7S.js";
|
|
16
16
|
import { W as M } from "./Wrap-DGT1h1o3.js";
|
|
17
|
-
import { f as N } from "./flowComponent-
|
|
17
|
+
import { f as N } from "./flowComponent-COVzhVCB.js";
|
|
18
18
|
const w = "flow--menu-item", P = "flow--menu-item--icon", T = "flow--menu-item--text", g = "flow--menu-item--control-icon", c = {
|
|
19
19
|
menuItem: w,
|
|
20
20
|
icon: P,
|
package/dist/MenuItem.js
CHANGED
package/dist/Modal.js
CHANGED
|
@@ -7,17 +7,17 @@ import { P as v } from "./PropsContextProvider-C6Z4XGp6.js";
|
|
|
7
7
|
import "@react-aria/utils";
|
|
8
8
|
import "remeda";
|
|
9
9
|
import { TunnelProvider as y, TunnelExit as p } from "@mittwald/react-tunnel";
|
|
10
|
-
import { f as g } from "./flowComponent-
|
|
10
|
+
import { f as g } from "./flowComponent-COVzhVCB.js";
|
|
11
11
|
import * as n from "react-aria-components";
|
|
12
12
|
import "mobx";
|
|
13
13
|
import { u as C } from "./useOverlayController-D8N4X2rc.js";
|
|
14
14
|
import { O as E } from "./OverlayContextProvider-DJzKzUwy.js";
|
|
15
|
-
import { H as w } from "./Header-
|
|
16
|
-
import { A as O } from "./Action-
|
|
17
|
-
import { B as h } from "./Button-
|
|
15
|
+
import { H as w } from "./Header-UWuteUuZ.js";
|
|
16
|
+
import { A as O } from "./Action-B9iiMUXq.js";
|
|
17
|
+
import { B as h } from "./Button-Bewd_wSa.js";
|
|
18
18
|
import "@tabler/icons-react";
|
|
19
|
-
import "./Icon-
|
|
20
|
-
import { I as M } from "./IconClose-
|
|
19
|
+
import "./Icon-CUhvR1IT.js";
|
|
20
|
+
import { I as M } from "./IconClose-BHf4btna.js";
|
|
21
21
|
import { O as N } from "./OverlayTrigger-Bdb65OEJ.js";
|
|
22
22
|
const x = "flow--modal", z = "flow--modal--off-canvas", P = "flow--modal--content", T = "flow--modal--action-group", B = "flow--modal--header", I = "flow--modal--close-button", t = {
|
|
23
23
|
modal: x,
|
package/dist/Navigation.js
CHANGED
|
@@ -9,8 +9,8 @@ import { P as l } from "./PropsContextProvider-C6Z4XGp6.js";
|
|
|
9
9
|
import "@react-aria/utils";
|
|
10
10
|
import "remeda";
|
|
11
11
|
import { TunnelProvider as u, TunnelExit as p } from "@mittwald/react-tunnel";
|
|
12
|
-
import { A as x } from "./Accordion-
|
|
13
|
-
import { C as N } from "./Content-
|
|
12
|
+
import { A as x } from "./Accordion-44t1KJbp.js";
|
|
13
|
+
import { C as N } from "./Content-DTwZweqp.js";
|
|
14
14
|
const C = "flow--navigation", I = "flow--navigation--item", b = "flow--navigation--icon", P = "flow--navigation--text", w = "flow--navigation--control-icon", r = {
|
|
15
15
|
navigation: C,
|
|
16
16
|
item: I,
|
package/dist/Notification.js
CHANGED
|
@@ -6,12 +6,12 @@ import "./propsContext-DzAKlmhS.js";
|
|
|
6
6
|
import { P as w } from "./PropsContextProvider-C6Z4XGp6.js";
|
|
7
7
|
import "@react-aria/utils";
|
|
8
8
|
import "remeda";
|
|
9
|
-
import { S as g } from "./StatusIcon-
|
|
10
|
-
import { L as h } from "./Link-
|
|
11
|
-
import { B as k } from "./Button-
|
|
9
|
+
import { S as g } from "./StatusIcon-DYQ_4f2y.js";
|
|
10
|
+
import { L as h } from "./Link-BvK-OJhM.js";
|
|
11
|
+
import { B as k } from "./Button-Bewd_wSa.js";
|
|
12
12
|
import "@tabler/icons-react";
|
|
13
|
-
import "./Icon-
|
|
14
|
-
import { I as x } from "./IconClose-
|
|
13
|
+
import "./Icon-CUhvR1IT.js";
|
|
14
|
+
import { I as x } from "./IconClose-BHf4btna.js";
|
|
15
15
|
const N = "flow--notification", C = "flow--notification--link", E = "flow--notification--status-icon", I = "flow--notification--heading", L = "flow--notification--text", P = "flow--notification--close", v = "flow--notification--info", y = "flow--notification--has-link", B = "flow--notification--warning", S = "flow--notification--danger", z = "flow--notification--success", o = {
|
|
16
16
|
notification: N,
|
|
17
17
|
link: C,
|
package/dist/NumberField.js
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
|
-
import * as
|
|
5
|
-
import {
|
|
4
|
+
import * as r from "react-aria-components";
|
|
5
|
+
import { s as t } from "./FormField.module-DHK6nIcD.js";
|
|
6
6
|
import u from "clsx";
|
|
7
7
|
import { C as f } from "./ClearPropsContext-CUvsbMn8.js";
|
|
8
8
|
import { P as d } from "./PropsContextProvider-C6Z4XGp6.js";
|
|
9
9
|
import "@react-aria/utils";
|
|
10
10
|
import "./propsContext-DzAKlmhS.js";
|
|
11
11
|
import "remeda";
|
|
12
|
-
import { F as E } from "./FieldError-
|
|
13
|
-
import { B as
|
|
12
|
+
import { F as E } from "./FieldError-Bevl1ofs.js";
|
|
13
|
+
import { B as s } from "./Button-Bewd_wSa.js";
|
|
14
14
|
import "@tabler/icons-react";
|
|
15
|
-
import "./Icon-
|
|
16
|
-
import { I as N } from "./IconChevronDown-
|
|
17
|
-
import { I } from "./IconChevronUp-
|
|
18
|
-
import { I as b, a as
|
|
19
|
-
import { f as
|
|
20
|
-
const
|
|
21
|
-
group:
|
|
15
|
+
import "./Icon-CUhvR1IT.js";
|
|
16
|
+
import { I as N } from "./IconChevronDown-0Qm5hGlw.js";
|
|
17
|
+
import { I } from "./IconChevronUp-BMWrCjp3.js";
|
|
18
|
+
import { I as b, a as P } from "./IconPlus-BWI6sp0-.js";
|
|
19
|
+
import { f as C } from "./flowComponent-COVzhVCB.js";
|
|
20
|
+
const F = "flow--number-field--group", w = "flow--number-field--input", B = "flow--number-field--decrement-button", h = "flow--number-field--increment-button", v = "flow--number-field--coarse-pointer-icon", x = "flow--number-field--touch-icon", o = {
|
|
21
|
+
group: F,
|
|
22
22
|
input: w,
|
|
23
23
|
decrementButton: B,
|
|
24
24
|
incrementButton: h,
|
|
25
25
|
coarsePointerIcon: v,
|
|
26
26
|
touchIcon: x
|
|
27
|
-
}, K =
|
|
28
|
-
const { children:
|
|
27
|
+
}, K = C("NumberField", (n) => {
|
|
28
|
+
const { children: m, className: c, refProp: a, ...l } = n, i = u(t.formField, c), p = {
|
|
29
29
|
Label: {
|
|
30
|
-
className:
|
|
30
|
+
className: t.label,
|
|
31
31
|
optional: !n.isRequired
|
|
32
32
|
},
|
|
33
33
|
FieldDescription: {
|
|
34
|
-
className:
|
|
34
|
+
className: t.fieldDescription
|
|
35
35
|
},
|
|
36
36
|
FieldError: {
|
|
37
|
-
className:
|
|
37
|
+
className: t.customFieldError
|
|
38
38
|
}
|
|
39
39
|
};
|
|
40
|
-
return /* @__PURE__ */ e.createElement(f, null, /* @__PURE__ */ e.createElement(
|
|
41
|
-
|
|
40
|
+
return /* @__PURE__ */ e.createElement(f, null, /* @__PURE__ */ e.createElement(r.NumberField, { ...l, className: i }, /* @__PURE__ */ e.createElement(r.Group, { className: o.group }, /* @__PURE__ */ e.createElement(
|
|
41
|
+
s,
|
|
42
42
|
{
|
|
43
43
|
slot: "decrement",
|
|
44
44
|
className: o.decrementButton,
|
|
@@ -48,8 +48,8 @@ const C = "flow--number-field--group", w = "flow--number-field--input", B = "flo
|
|
|
48
48
|
},
|
|
49
49
|
/* @__PURE__ */ e.createElement(N, null),
|
|
50
50
|
/* @__PURE__ */ e.createElement(b, { className: o.coarsePointerIcon })
|
|
51
|
-
), /* @__PURE__ */ e.createElement(
|
|
52
|
-
|
|
51
|
+
), /* @__PURE__ */ e.createElement(r.Input, { className: o.input, ref: a }), /* @__PURE__ */ e.createElement(
|
|
52
|
+
s,
|
|
53
53
|
{
|
|
54
54
|
slot: "increment",
|
|
55
55
|
className: o.incrementButton,
|
|
@@ -58,8 +58,8 @@ const C = "flow--number-field--group", w = "flow--number-field--input", B = "flo
|
|
|
58
58
|
color: "secondary"
|
|
59
59
|
},
|
|
60
60
|
/* @__PURE__ */ e.createElement(I, null),
|
|
61
|
-
/* @__PURE__ */ e.createElement(
|
|
62
|
-
)), /* @__PURE__ */ e.createElement(d, { props: p },
|
|
61
|
+
/* @__PURE__ */ e.createElement(P, { className: o.coarsePointerIcon })
|
|
62
|
+
)), /* @__PURE__ */ e.createElement(d, { props: p }, m), /* @__PURE__ */ e.createElement(E, { className: t.fieldError })));
|
|
63
63
|
});
|
|
64
64
|
export {
|
|
65
65
|
K as NumberField,
|
|
@@ -5,7 +5,7 @@ import * as t from "react-aria-components";
|
|
|
5
5
|
import n from "clsx";
|
|
6
6
|
import "mobx";
|
|
7
7
|
import { u } from "./useOverlayController-D8N4X2rc.js";
|
|
8
|
-
import { f as g } from "./flowComponent-
|
|
8
|
+
import { f as g } from "./flowComponent-COVzhVCB.js";
|
|
9
9
|
import { O as x } from "./OverlayContextProvider-DJzKzUwy.js";
|
|
10
10
|
const E = "flow--popover", N = "flow--popover--content", y = "flow--popover--tip", r = {
|
|
11
11
|
popover: E,
|
package/dist/Popover.js
CHANGED
package/dist/RadioGroup.js
CHANGED
|
@@ -8,24 +8,24 @@ import { P as C, m as z } from "./PropsContextProvider-C6Z4XGp6.js";
|
|
|
8
8
|
import "@react-aria/utils";
|
|
9
9
|
import "remeda";
|
|
10
10
|
import { d as h } from "./dynamic-ClpUSmEt.js";
|
|
11
|
-
import { F as B } from "./FieldError-
|
|
12
|
-
import { C as
|
|
13
|
-
import { TunnelProvider as
|
|
14
|
-
import {
|
|
15
|
-
import { d as
|
|
11
|
+
import { F as B } from "./FieldError-Bevl1ofs.js";
|
|
12
|
+
import { C as I } from "./ColumnLayout-FMONjI17.js";
|
|
13
|
+
import { TunnelProvider as P, TunnelExit as m } from "@mittwald/react-tunnel";
|
|
14
|
+
import { s as c } from "./FormField.module-DHK6nIcD.js";
|
|
15
|
+
import { d as y } from "./deepFindOfType-6pG0fH7S.js";
|
|
16
16
|
import { C as b } from "./ClearPropsContext-CUvsbMn8.js";
|
|
17
17
|
import "@tabler/icons-react";
|
|
18
|
-
import "./Icon-
|
|
19
|
-
import { I as
|
|
20
|
-
import { f as N } from "./flowComponent-
|
|
18
|
+
import "./Icon-CUhvR1IT.js";
|
|
19
|
+
import { I as F, a as v } from "./IconRadioOn-CVwFv8s0.js";
|
|
20
|
+
import { f as N } from "./flowComponent-COVzhVCB.js";
|
|
21
21
|
import "dot-prop";
|
|
22
|
-
import { I as D } from "./IconCheck-
|
|
22
|
+
import { I as D } from "./IconCheck-Baz3lkPw.js";
|
|
23
23
|
import { g as T } from "./getContainerBreakpointSizeClassName-BrcFDcCY.js";
|
|
24
|
-
const O = "flow--radio-group",
|
|
24
|
+
const O = "flow--radio-group", $ = "flow--radio-group--segmented-group", L = "flow--radio-group--segments", S = "flow--radio-group--segment", A = "flow--radio-group--checkmark", j = "flow--radio-group--radio-group-container", r = {
|
|
25
25
|
radioGroup: O,
|
|
26
|
-
segmentedGroup:
|
|
26
|
+
segmentedGroup: $,
|
|
27
27
|
segments: L,
|
|
28
|
-
segment:
|
|
28
|
+
segment: S,
|
|
29
29
|
checkmark: A,
|
|
30
30
|
radioGroupContainer: j,
|
|
31
31
|
"container-breakpoint-size-xs": "flow--radio-group--container-breakpoint-size-xs",
|
|
@@ -90,10 +90,10 @@ const O = "flow--radio-group", S = "flow--radio-group--segmented-group", L = "fl
|
|
|
90
90
|
children: h((G) => /* @__PURE__ */ e.createElement(e.Fragment, null, G.children, /* @__PURE__ */ e.createElement(D, { className: r.checkmark })))
|
|
91
91
|
}
|
|
92
92
|
}));
|
|
93
|
-
const u = !!
|
|
93
|
+
const u = !!y(t, K);
|
|
94
94
|
return o === "segmented" && u && console.warn(
|
|
95
95
|
"<RadioButton/> is not supported in 'segmented' variant of <RadioGroup />"
|
|
96
|
-
), /* @__PURE__ */ e.createElement(k.RadioGroup, { ...R, className: x, ref: w }, /* @__PURE__ */ e.createElement(
|
|
96
|
+
), /* @__PURE__ */ e.createElement(k.RadioGroup, { ...R, className: x, ref: w }, /* @__PURE__ */ e.createElement(P, null, /* @__PURE__ */ e.createElement(
|
|
97
97
|
C,
|
|
98
98
|
{
|
|
99
99
|
props: p,
|
|
@@ -102,7 +102,7 @@ const O = "flow--radio-group", S = "flow--radio-group--segmented-group", L = "fl
|
|
|
102
102
|
},
|
|
103
103
|
t,
|
|
104
104
|
o === "segmented" && /* @__PURE__ */ e.createElement("div", { className: r.segmentedGroup }, /* @__PURE__ */ e.createElement("div", { className: r.segments }, /* @__PURE__ */ e.createElement(m, { id: "radios" }))),
|
|
105
|
-
o === "default" && u && /* @__PURE__ */ e.createElement(
|
|
105
|
+
o === "default" && u && /* @__PURE__ */ e.createElement(I, { s: i, m: s, l, className: r.radioGroup }, /* @__PURE__ */ e.createElement(m, { id: "radios" })),
|
|
106
106
|
o === "default" && !u && /* @__PURE__ */ e.createElement("div", { className: r.radioGroup }, /* @__PURE__ */ e.createElement(m, { id: "radios" })),
|
|
107
107
|
/* @__PURE__ */ e.createElement(m, { id: "fieldDescription" }),
|
|
108
108
|
/* @__PURE__ */ e.createElement(m, { id: "fieldError" })
|
|
@@ -118,7 +118,7 @@ const O = "flow--radio-group", S = "flow--radio-group--segmented-group", L = "fl
|
|
|
118
118
|
refProp: i,
|
|
119
119
|
...s
|
|
120
120
|
} = n, l = o ? a : E(g.radio, a);
|
|
121
|
-
return /* @__PURE__ */ e.createElement(b, null, /* @__PURE__ */ e.createElement(k.Radio, { ...s, className: l, ref: i }, ({ isSelected: d }) => /* @__PURE__ */ e.createElement(e.Fragment, null, d ? !o && /* @__PURE__ */ e.createElement(
|
|
121
|
+
return /* @__PURE__ */ e.createElement(b, null, /* @__PURE__ */ e.createElement(k.Radio, { ...s, className: l, ref: i }, ({ isSelected: d }) => /* @__PURE__ */ e.createElement(e.Fragment, null, d ? !o && /* @__PURE__ */ e.createElement(F, { className: g.icon }) : !o && /* @__PURE__ */ e.createElement(v, { className: g.icon }), t)));
|
|
122
122
|
});
|
|
123
123
|
export {
|
|
124
124
|
U as Radio,
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
/* */
|
|
3
|
+
import e from "react";
|
|
4
|
+
import * as s from "react-aria-components";
|
|
5
|
+
import { s as r } from "./FormField.module-DHK6nIcD.js";
|
|
6
|
+
import f from "clsx";
|
|
7
|
+
import { C as d } from "./ClearPropsContext-CUvsbMn8.js";
|
|
8
|
+
import { P as h } from "./PropsContextProvider-C6Z4XGp6.js";
|
|
9
|
+
import "@react-aria/utils";
|
|
10
|
+
import "./propsContext-DzAKlmhS.js";
|
|
11
|
+
import "remeda";
|
|
12
|
+
import { F as u } from "./FieldError-Bevl1ofs.js";
|
|
13
|
+
import { f as F } from "./flowComponent-COVzhVCB.js";
|
|
14
|
+
import { B as E } from "./Button-Bewd_wSa.js";
|
|
15
|
+
import "@tabler/icons-react";
|
|
16
|
+
import "./Icon-CUhvR1IT.js";
|
|
17
|
+
import { I as N } from "./IconClose-BHf4btna.js";
|
|
18
|
+
import { I as C } from "./IconSearch-D6QHaNuF.js";
|
|
19
|
+
import { useLocalizedStringFormatter as I } from "react-aria";
|
|
20
|
+
const S = "flow--search-field", w = "flow--search-field--clear-button", x = "flow--search-field--search-icon", B = "flow--search-field--input-container", P = "flow--search-field--input", t = {
|
|
21
|
+
searchField: S,
|
|
22
|
+
clearButton: w,
|
|
23
|
+
searchIcon: x,
|
|
24
|
+
inputContainer: B,
|
|
25
|
+
input: P
|
|
26
|
+
}, b = { "de-DE": {
|
|
27
|
+
"searchField.search": "Suche"
|
|
28
|
+
}, "en-EN": {
|
|
29
|
+
"searchField.search": "Search"
|
|
30
|
+
} }, M = F("SearchField", (o) => {
|
|
31
|
+
const { children: c, className: l, refProp: i, ...n } = o, m = f(
|
|
32
|
+
r.formField,
|
|
33
|
+
t.searchField,
|
|
34
|
+
l
|
|
35
|
+
), a = I(b).format("searchField.search"), p = {
|
|
36
|
+
Label: {
|
|
37
|
+
className: r.label,
|
|
38
|
+
optional: !o.isRequired
|
|
39
|
+
},
|
|
40
|
+
FieldDescription: {
|
|
41
|
+
className: r.fieldDescription
|
|
42
|
+
},
|
|
43
|
+
FieldError: {
|
|
44
|
+
className: r.customFieldError
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
return /* @__PURE__ */ e.createElement(d, null, /* @__PURE__ */ e.createElement(
|
|
48
|
+
s.SearchField,
|
|
49
|
+
{
|
|
50
|
+
"aria-label": a,
|
|
51
|
+
...n,
|
|
52
|
+
className: m
|
|
53
|
+
},
|
|
54
|
+
/* @__PURE__ */ e.createElement(h, { props: p }, c),
|
|
55
|
+
/* @__PURE__ */ e.createElement("div", { className: t.inputContainer }, /* @__PURE__ */ e.createElement(C, { className: t.searchIcon }), /* @__PURE__ */ e.createElement(
|
|
56
|
+
s.Input,
|
|
57
|
+
{
|
|
58
|
+
placeholder: a,
|
|
59
|
+
className: t.input,
|
|
60
|
+
ref: i
|
|
61
|
+
}
|
|
62
|
+
), /* @__PURE__ */ e.createElement(
|
|
63
|
+
E,
|
|
64
|
+
{
|
|
65
|
+
className: t.clearButton,
|
|
66
|
+
variant: "plain",
|
|
67
|
+
color: "secondary"
|
|
68
|
+
},
|
|
69
|
+
/* @__PURE__ */ e.createElement(N, null)
|
|
70
|
+
)),
|
|
71
|
+
/* @__PURE__ */ e.createElement(u, { className: r.fieldError })
|
|
72
|
+
));
|
|
73
|
+
});
|
|
74
|
+
export {
|
|
75
|
+
M as S
|
|
76
|
+
};
|
package/dist/Section.js
CHANGED
|
@@ -6,7 +6,7 @@ import "./propsContext-DzAKlmhS.js";
|
|
|
6
6
|
import { P as i } from "./PropsContextProvider-C6Z4XGp6.js";
|
|
7
7
|
import "@react-aria/utils";
|
|
8
8
|
import "remeda";
|
|
9
|
-
import { f as c } from "./flowComponent-
|
|
9
|
+
import { f as c } from "./flowComponent-COVzhVCB.js";
|
|
10
10
|
import { A as C } from "./Activity-CmfZpgOM.js";
|
|
11
11
|
import * as s from "react-aria-components";
|
|
12
12
|
import { s as E } from "./ContextMenu.module-BZingr2B.js";
|
package/dist/Select.js
CHANGED
|
@@ -6,14 +6,14 @@ import "./propsContext-DzAKlmhS.js";
|
|
|
6
6
|
import { P as h } from "./PropsContextProvider-C6Z4XGp6.js";
|
|
7
7
|
import "@react-aria/utils";
|
|
8
8
|
import "remeda";
|
|
9
|
-
import {
|
|
10
|
-
import { F as w } from "./FieldError-
|
|
9
|
+
import { s as c } from "./FormField.module-DHK6nIcD.js";
|
|
10
|
+
import { F as w } from "./FieldError-Bevl1ofs.js";
|
|
11
11
|
import f from "clsx";
|
|
12
12
|
import "@tabler/icons-react";
|
|
13
|
-
import "./Icon-
|
|
14
|
-
import { I as
|
|
15
|
-
import { f as E } from "./flowComponent-
|
|
16
|
-
import { P } from "./Popover-
|
|
13
|
+
import "./Icon-CUhvR1IT.js";
|
|
14
|
+
import { I as P } from "./IconChevronDown-0Qm5hGlw.js";
|
|
15
|
+
import { f as E } from "./flowComponent-COVzhVCB.js";
|
|
16
|
+
import { P as F } from "./Popover-DiU0zzqO.js";
|
|
17
17
|
import "mobx";
|
|
18
18
|
import { u as C } from "./useOverlayController-D8N4X2rc.js";
|
|
19
19
|
import "dot-prop";
|
|
@@ -23,12 +23,12 @@ import { O as B } from "./OverlayContextProvider-DJzKzUwy.js";
|
|
|
23
23
|
const D = "flow--select", L = "flow--select--toggle", u = {
|
|
24
24
|
select: D,
|
|
25
25
|
toggle: L
|
|
26
|
-
},
|
|
27
|
-
popover:
|
|
28
|
-
options:
|
|
29
|
-
},
|
|
26
|
+
}, $ = "flow--select--options--popover", b = "flow--select--options", d = {
|
|
27
|
+
popover: $,
|
|
28
|
+
options: b
|
|
29
|
+
}, R = (o) => {
|
|
30
30
|
const { className: t, children: r, ...n } = o, l = f(d.options, t), s = C("Select");
|
|
31
|
-
return /* @__PURE__ */ e.createElement(
|
|
31
|
+
return /* @__PURE__ */ e.createElement(F, { className: d.popover, controller: s }, /* @__PURE__ */ e.createElement(i.ListBox, { className: l, ...n }, r));
|
|
32
32
|
}, le = E("Select", (o) => {
|
|
33
33
|
const {
|
|
34
34
|
children: t,
|
|
@@ -73,10 +73,10 @@ const D = "flow--select", L = "flow--select--toggle", u = {
|
|
|
73
73
|
onOpenChange: (a) => p.setOpen(a),
|
|
74
74
|
isOpen: S
|
|
75
75
|
},
|
|
76
|
-
/* @__PURE__ */ e.createElement(B, { type: "Select", controller: p }, /* @__PURE__ */ e.createElement(h, { props: x }, /* @__PURE__ */ e.createElement(y, null, /* @__PURE__ */ e.createElement(i.Button, { className: u.toggle }, /* @__PURE__ */ e.createElement(i.SelectValue, null), /* @__PURE__ */ e.createElement(
|
|
76
|
+
/* @__PURE__ */ e.createElement(B, { type: "Select", controller: p }, /* @__PURE__ */ e.createElement(h, { props: x }, /* @__PURE__ */ e.createElement(y, null, /* @__PURE__ */ e.createElement(i.Button, { className: u.toggle }, /* @__PURE__ */ e.createElement(i.SelectValue, null), /* @__PURE__ */ e.createElement(P, null)), t, /* @__PURE__ */ e.createElement(R, null, /* @__PURE__ */ e.createElement(I, { id: "options" })), /* @__PURE__ */ e.createElement(w, { className: c.fieldError }))))
|
|
77
77
|
);
|
|
78
|
-
}),
|
|
79
|
-
option:
|
|
78
|
+
}), T = "flow--select--option", q = "flow--select--option--icon", A = "flow--select--option--text", V = "flow--select--option--control-icon", j = {
|
|
79
|
+
option: T,
|
|
80
80
|
icon: q,
|
|
81
81
|
text: A,
|
|
82
82
|
controlIcon: V
|
package/dist/Slider.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
|
-
import { f as E } from "./flowComponent-
|
|
4
|
+
import { f as E } from "./flowComponent-COVzhVCB.js";
|
|
5
5
|
import * as n from "react-aria-components";
|
|
6
6
|
import h from "clsx";
|
|
7
7
|
import "./propsContext-DzAKlmhS.js";
|
|
8
8
|
import { P as v } from "./PropsContextProvider-C6Z4XGp6.js";
|
|
9
9
|
import "@react-aria/utils";
|
|
10
10
|
import "remeda";
|
|
11
|
-
import { B as i } from "./Button-
|
|
11
|
+
import { B as i } from "./Button-Bewd_wSa.js";
|
|
12
12
|
import "@tabler/icons-react";
|
|
13
|
-
import "./Icon-
|
|
14
|
-
import { I as w, a as N } from "./IconPlus-
|
|
13
|
+
import "./Icon-CUhvR1IT.js";
|
|
14
|
+
import { I as w, a as N } from "./IconPlus-BWI6sp0-.js";
|
|
15
15
|
import { useLocalizedStringFormatter as k } from "react-aria";
|
|
16
16
|
const x = "flow--slider", P = "flow--slider--text", S = "flow--slider--value", g = "flow--slider--track", y = "flow--slider--fill", I = "flow--slider--initial-marker", M = "flow--slider--thumb", T = "flow--slider--increment", C = "flow--slider--decrement", z = "flow--slider--disabled", t = {
|
|
17
17
|
slider: x,
|
package/dist/StatusBadge.js
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import t from "react";
|
|
4
4
|
import l from "clsx";
|
|
5
|
-
import { S as f } from "./StatusIcon-
|
|
6
|
-
import { T as i } from "./Text-
|
|
5
|
+
import { S as f } from "./StatusIcon-DYQ_4f2y.js";
|
|
6
|
+
import { T as i } from "./Text-DQmfbsPC.js";
|
|
7
7
|
import { C as u } from "./ClearPropsContext-CUvsbMn8.js";
|
|
8
8
|
import "./propsContext-DzAKlmhS.js";
|
|
9
9
|
import "@react-aria/utils";
|
|
10
10
|
import "remeda";
|
|
11
11
|
import "dot-prop";
|
|
12
|
-
import { f as d } from "./flowComponent-
|
|
12
|
+
import { f as d } from "./flowComponent-COVzhVCB.js";
|
|
13
13
|
const g = "flow--status-badge", p = "flow--status-badge--text", w = "flow--status-badge--info", x = "flow--status-badge--success", b = "flow--status-badge--warning", B = "flow--status-badge--danger", s = {
|
|
14
14
|
statusBadge: g,
|
|
15
15
|
text: p,
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import t from "react";
|
|
4
4
|
import "@tabler/icons-react";
|
|
5
|
-
import "./Icon-
|
|
6
|
-
import { I as m } from "./IconDanger-
|
|
7
|
-
import { I as f } from "./IconInfo-
|
|
8
|
-
import { I, a as l } from "./IconWarning-
|
|
5
|
+
import "./Icon-CUhvR1IT.js";
|
|
6
|
+
import { I as m } from "./IconDanger-DFMRrq2m.js";
|
|
7
|
+
import { I as f } from "./IconInfo-BqmpjObo.js";
|
|
8
|
+
import { I, a as l } from "./IconWarning-DY_gujxC.js";
|
|
9
9
|
import { useLocalizedStringFormatter as g } from "react-aria";
|
|
10
10
|
import { C as p } from "./ClearPropsContext-CUvsbMn8.js";
|
|
11
11
|
import "./propsContext-DzAKlmhS.js";
|
package/dist/StatusIcon.js
CHANGED
package/dist/Switch.js
CHANGED
|
@@ -4,16 +4,16 @@ import e from "react";
|
|
|
4
4
|
import * as n from "react-aria-components";
|
|
5
5
|
import f from "clsx";
|
|
6
6
|
import "@tabler/icons-react";
|
|
7
|
-
import "./Icon-
|
|
8
|
-
import { I as p } from "./IconCheck-
|
|
9
|
-
import { I as h } from "./IconClose-
|
|
10
|
-
import { L as w } from "./Label-
|
|
7
|
+
import "./Icon-CUhvR1IT.js";
|
|
8
|
+
import { I as p } from "./IconCheck-Baz3lkPw.js";
|
|
9
|
+
import { I as h } from "./IconClose-BHf4btna.js";
|
|
10
|
+
import { L as w } from "./Label-BD3Jzaap.js";
|
|
11
11
|
import { C as d } from "./ClearPropsContext-CUvsbMn8.js";
|
|
12
12
|
import "./propsContext-DzAKlmhS.js";
|
|
13
13
|
import "@react-aria/utils";
|
|
14
14
|
import "remeda";
|
|
15
15
|
import "dot-prop";
|
|
16
|
-
import { f as b } from "./flowComponent-
|
|
16
|
+
import { f as b } from "./flowComponent-COVzhVCB.js";
|
|
17
17
|
const E = "flow--switch--track", C = "flow--switch--handle", N = "flow--switch--label", t = {
|
|
18
18
|
switch: "flow--switch",
|
|
19
19
|
"label-leading": "flow--switch--label-leading",
|
package/dist/Tabs.js
CHANGED
|
@@ -4,15 +4,15 @@ import e, { useRef as h, useState as v, useEffect as M, useId as g, createContex
|
|
|
4
4
|
import * as E from "react-aria-components";
|
|
5
5
|
import u from "clsx";
|
|
6
6
|
import { TunnelExit as C, TunnelProvider as y, TunnelEntry as f } from "@mittwald/react-tunnel";
|
|
7
|
-
import { f as S } from "./flowComponent-
|
|
7
|
+
import { f as S } from "./flowComponent-COVzhVCB.js";
|
|
8
8
|
import { useCallbackRef as O } from "use-callback-ref";
|
|
9
|
-
import { a as B, C as K } from "./ContextMenuTrigger-
|
|
10
|
-
import { M as A } from "./MenuItem-
|
|
11
|
-
import { B as L } from "./Button-
|
|
9
|
+
import { a as B, C as K } from "./ContextMenuTrigger-CvljOFns.js";
|
|
10
|
+
import { M as A } from "./MenuItem-DaY0bRCQ.js";
|
|
11
|
+
import { B as L } from "./Button-Bewd_wSa.js";
|
|
12
12
|
import "@tabler/icons-react";
|
|
13
|
-
import "./Icon-
|
|
14
|
-
import { I as F } from "./IconContextMenu-
|
|
15
|
-
import { T as R } from "./Text-
|
|
13
|
+
import "./Icon-CUhvR1IT.js";
|
|
14
|
+
import { I as F } from "./IconContextMenu-C9_95BDt.js";
|
|
15
|
+
import { T as R } from "./Text-DQmfbsPC.js";
|
|
16
16
|
import "./propsContext-DzAKlmhS.js";
|
|
17
17
|
import { P as W } from "./PropsContextProvider-C6Z4XGp6.js";
|
|
18
18
|
import "@react-aria/utils";
|
|
@@ -8,7 +8,7 @@ import "@react-aria/utils";
|
|
|
8
8
|
import "./propsContext-DzAKlmhS.js";
|
|
9
9
|
import "remeda";
|
|
10
10
|
import C from "invariant";
|
|
11
|
-
import { f as h } from "./flowComponent-
|
|
11
|
+
import { f as h } from "./flowComponent-COVzhVCB.js";
|
|
12
12
|
import { E as P } from "./EmulatedBoldText-Dtox8Wd1.js";
|
|
13
13
|
import { W as g } from "./Wrap-DGT1h1o3.js";
|
|
14
14
|
import y from "clsx";
|
package/dist/Text.js
CHANGED
package/dist/TextArea.js
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import * as n from "react-aria-components";
|
|
5
|
-
import { T as p } from "./TextFieldBase-
|
|
5
|
+
import { T as p } from "./TextFieldBase-BcABoqwx.js";
|
|
6
6
|
import { C as i } from "./ClearPropsContext-CUvsbMn8.js";
|
|
7
7
|
import "./propsContext-DzAKlmhS.js";
|
|
8
8
|
import "@react-aria/utils";
|
|
9
9
|
import "remeda";
|
|
10
10
|
import "dot-prop";
|
|
11
|
-
import { f as c } from "./flowComponent-
|
|
11
|
+
import { f as c } from "./flowComponent-COVzhVCB.js";
|
|
12
12
|
const f = "flow--text-area", x = {
|
|
13
13
|
textArea: f
|
|
14
14
|
}, P = c("TextArea", (t) => {
|
package/dist/TextField.js
CHANGED
|
@@ -1,7 +1,28 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
|
-
import
|
|
3
|
+
import e from "react";
|
|
4
|
+
import * as s from "react-aria-components";
|
|
5
|
+
import { T as a } from "./TextFieldBase-BcABoqwx.js";
|
|
6
|
+
import { C as n } from "./ClearPropsContext-CUvsbMn8.js";
|
|
7
|
+
import "./propsContext-DzAKlmhS.js";
|
|
8
|
+
import "@react-aria/utils";
|
|
9
|
+
import "remeda";
|
|
10
|
+
import "dot-prop";
|
|
11
|
+
import { f as p } from "./flowComponent-COVzhVCB.js";
|
|
12
|
+
const c = "flow--text-field", f = {
|
|
13
|
+
textField: c
|
|
14
|
+
}, w = p("TextField", (t) => {
|
|
15
|
+
const { children: r, placeholder: o, refProp: l, ...i } = t, m = /* @__PURE__ */ e.createElement(
|
|
16
|
+
s.Input,
|
|
17
|
+
{
|
|
18
|
+
placeholder: o,
|
|
19
|
+
className: f.textField,
|
|
20
|
+
ref: l
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
return /* @__PURE__ */ e.createElement(n, null, /* @__PURE__ */ e.createElement(a, { ...i, input: m }, r));
|
|
24
|
+
});
|
|
4
25
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
26
|
+
w as TextField,
|
|
27
|
+
w as default
|
|
7
28
|
};
|