@mittwald/flow-react-components 0.1.0-alpha.202 → 0.1.0-alpha.204
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-DX40QvjC.js → Accordion-BwP09Mph.js} +3 -3
- package/dist/Accordion.js +1 -1
- package/dist/{Action-B9iiMUXq.js → Action-DrXR84F6.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-CVDWL-od.js → Button-DQtavSbo.js} +5 -5
- package/dist/Button.js +1 -1
- package/dist/{Checkbox-CuTjbpdr.js → Checkbox-DOCJ2AAS.js} +4 -4
- package/dist/Checkbox.js +1 -1
- package/dist/{CheckboxButton-gL30h9xG.js → CheckboxButton-CwMRngE4.js} +2 -2
- package/dist/CheckboxButton.js +1 -1
- package/dist/CheckboxGroup.js +3 -3
- package/dist/{Content-DTwZweqp.js → Content-YN32VD1q.js} +1 -1
- package/dist/Content.js +1 -1
- package/dist/ContextMenu.js +3 -3
- package/dist/{ContextMenuTrigger-CvljOFns.js → ContextMenuTrigger-BdJf5T8A.js} +3 -3
- package/dist/ContextualHelp.js +4 -4
- package/dist/CopyButton.js +5 -5
- package/dist/CounterBadge.js +1 -1
- package/dist/{FieldDescription-b0dVuLR9.js → FieldDescription-D5ScpnNK.js} +2 -2
- package/dist/FieldDescription.js +1 -1
- package/dist/{FieldError-Bevl1ofs.js → FieldError-CHN9uCb_.js} +3 -3
- package/dist/FieldError.js +1 -1
- package/dist/{Header-UWuteUuZ.js → Header-DUWPZjAq.js} +26 -14
- package/dist/Header.js +1 -1
- package/dist/{Heading-BzwQly28.js → Heading-BEC6iPfF.js} +1 -1
- package/dist/Heading.js +1 -1
- package/dist/{Icon-CUhvR1IT.js → Icon-DPoIVASu.js} +1 -1
- package/dist/Icon.js +1 -1
- package/dist/{IconCheck-Baz3lkPw.js → IconCheck-BGtj4cDU.js} +1 -1
- package/dist/{IconCheckboxEmpty-CsDSdQbR.js → IconCheckboxEmpty-C5_FpyLH.js} +1 -1
- package/dist/{IconCheckboxIndeterminate-CiRBKhOR.js → IconCheckboxIndeterminate-Cq9pCgrw.js} +1 -1
- package/dist/{IconChevronDown-0Qm5hGlw.js → IconChevronDown--OxZLX8L.js} +1 -1
- package/dist/{IconChevronRight-DV5yxS6Q.js → IconChevronRight-C9GdFYqH.js} +1 -1
- package/dist/{IconChevronUp-BMWrCjp3.js → IconChevronUp-CGNLwWiz.js} +1 -1
- package/dist/{IconClose-BHf4btna.js → IconClose-BFwPT_IX.js} +1 -1
- package/dist/{IconContextMenu-C9_95BDt.js → IconContextMenu-jwoVcLvd.js} +1 -1
- package/dist/{IconCopy-CWGdqxzm.js → IconCopy-mEoW_08H.js} +1 -1
- package/dist/{IconDanger-DFMRrq2m.js → IconDanger-DSrmGtfE.js} +1 -1
- package/dist/{IconInfo-BqmpjObo.js → IconInfo-p6ir3vIp.js} +1 -1
- package/dist/{IconPending-MprHiXiv.js → IconPending-DkOzavfh.js} +1 -1
- package/dist/{IconPlus-BWI6sp0-.js → IconPlus-DXEOuv0x.js} +1 -1
- package/dist/{IconRadioOn-CVwFv8s0.js → IconRadioOn-DPCSoNmA.js} +1 -1
- package/dist/{IconSearch-D6QHaNuF.js → IconSearch-C7VQTAqK.js} +1 -1
- package/dist/{IconSucceeded-DLE96uUC.js → IconSucceeded-B8qBpHF5.js} +1 -1
- package/dist/{IconWarning-DY_gujxC.js → IconWarning-wNdAHlh2.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-BD3Jzaap.js → Label-CguPeZH5.js} +1 -1
- package/dist/Label.js +1 -1
- package/dist/LayoutCard.js +1 -1
- package/dist/{Link-BvK-OJhM.js → Link-hmeJbIYC.js} +1 -1
- package/dist/Link.js +1 -1
- package/dist/List.js +244 -236
- package/dist/{LoadingSpinner-BwRfUBmo.js → LoadingSpinner-BLy_eWhM.js} +2 -2
- package/dist/LoadingSpinner.js +1 -1
- package/dist/{MenuItem-DaY0bRCQ.js → MenuItem-DcfYvfPJ.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 +7 -7
- package/dist/{Popover-DiU0zzqO.js → Popover-D_KuyuoO.js} +1 -1
- package/dist/Popover.js +1 -1
- package/dist/RadioGroup.js +5 -5
- package/dist/{SearchField-Dbr_5Zy4.js → SearchField-DstUFmq4.js} +6 -6
- package/dist/SearchField.js +1 -1
- package/dist/Section.js +1 -1
- package/dist/Select.js +5 -5
- package/dist/Slider.js +4 -4
- package/dist/StatusBadge.js +3 -3
- package/dist/{StatusIcon-DYQ_4f2y.js → StatusIcon-CVl-Qd4U.js} +4 -4
- package/dist/StatusIcon.js +1 -1
- package/dist/Switch.js +5 -5
- package/dist/Tabs.js +7 -7
- package/dist/{Text-DQmfbsPC.js → Text-Sd5q3Yme.js} +1 -1
- package/dist/Text.js +1 -1
- package/dist/TextArea.js +2 -2
- package/dist/TextField.js +2 -2
- package/dist/{TextFieldBase-BcABoqwx.js → TextFieldBase-DA_aMt2G.js} +2 -2
- package/dist/{flowComponent-COVzhVCB.js → flowComponent-DHPUcYyM.js} +18 -16
- package/dist/react-hook-form.js +2 -2
- package/dist/types/components/List/List.d.ts +4 -2
- package/dist/types/components/List/model/List.d.ts +1 -1
- package/dist/types/components/List/model/ReactTable.d.ts +2 -2
- package/dist/types/components/List/model/search/Search.d.ts +1 -0
- package/dist/types/components/List/model/types.d.ts +4 -1
- package/dist/types/components/List/typedList.d.ts +11 -7
- package/dist/types/components/propTypes/index.d.ts +3 -1
- package/dist/types/lib/controller/overlay/context.d.ts +2 -0
- package/dist/types/lib/propsContext/propsContext.d.ts +4 -0
- package/dist/types/lib/slotContext/slotContext.d.ts +2 -0
- package/package.json +4 -4
|
@@ -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-DPoIVASu.js";
|
|
6
|
+
import { I as e } from "./IconPending-DkOzavfh.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-DPoIVASu.js";
|
|
12
|
+
import { I as x, a as d } from "./IconCheckboxEmpty-C5_FpyLH.js";
|
|
13
|
+
import { I as E, a as C } from "./IconRadioOn-DPCSoNmA.js";
|
|
14
|
+
import { T as p } from "./Text-Sd5q3Yme.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-DHPUcYyM.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 u } from "./PropsContextProvider-C6Z4XGp6.js";
|
|
|
7
7
|
import "@react-aria/utils";
|
|
8
8
|
import "remeda";
|
|
9
9
|
import { TunnelProvider as v, TunnelExit as y } from "@mittwald/react-tunnel";
|
|
10
|
-
import { f as C } from "./flowComponent-
|
|
10
|
+
import { f as C } from "./flowComponent-DHPUcYyM.js";
|
|
11
11
|
import * as n from "react-aria-components";
|
|
12
12
|
import "mobx";
|
|
13
13
|
import { u as g } from "./useOverlayController-D8N4X2rc.js";
|
|
14
14
|
import { O as w } from "./OverlayContextProvider-DJzKzUwy.js";
|
|
15
|
-
import { H as E } from "./Header-
|
|
16
|
-
import { A as O } from "./Action-
|
|
17
|
-
import { B as h } from "./Button-
|
|
15
|
+
import { H as E } from "./Header-DUWPZjAq.js";
|
|
16
|
+
import { A as O } from "./Action-DrXR84F6.js";
|
|
17
|
+
import { B as h } from "./Button-DQtavSbo.js";
|
|
18
18
|
import "@tabler/icons-react";
|
|
19
|
-
import "./Icon-
|
|
20
|
-
import { I as M } from "./IconClose-
|
|
19
|
+
import "./Icon-DPoIVASu.js";
|
|
20
|
+
import { I as M } from "./IconClose-BFwPT_IX.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--header", T = "flow--modal--content", B = "flow--modal--action-group", A = "flow--modal--close-button", e = {
|
|
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-BwP09Mph.js";
|
|
13
|
+
import { C as N } from "./Content-YN32VD1q.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-CVl-Qd4U.js";
|
|
10
|
+
import { L as h } from "./Link-hmeJbIYC.js";
|
|
11
|
+
import { B as k } from "./Button-DQtavSbo.js";
|
|
12
12
|
import "@tabler/icons-react";
|
|
13
|
-
import "./Icon-
|
|
14
|
-
import { I as x } from "./IconClose-
|
|
13
|
+
import "./Icon-DPoIVASu.js";
|
|
14
|
+
import { I as x } from "./IconClose-BFwPT_IX.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
|
@@ -9,14 +9,14 @@ 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 m } from "./Button-
|
|
12
|
+
import { F as E } from "./FieldError-CHN9uCb_.js";
|
|
13
|
+
import { B as m } from "./Button-DQtavSbo.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 P } from "./IconPlus-
|
|
19
|
-
import { f as C } from "./flowComponent-
|
|
15
|
+
import "./Icon-DPoIVASu.js";
|
|
16
|
+
import { I as N } from "./IconChevronDown--OxZLX8L.js";
|
|
17
|
+
import { I } from "./IconChevronUp-CGNLwWiz.js";
|
|
18
|
+
import { I as b, a as P } from "./IconPlus-DXEOuv0x.js";
|
|
19
|
+
import { f as C } from "./flowComponent-DHPUcYyM.js";
|
|
20
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
21
|
group: F,
|
|
22
22
|
input: w,
|
|
@@ -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-DHPUcYyM.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,18 +8,18 @@ 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-
|
|
11
|
+
import { F as B } from "./FieldError-CHN9uCb_.js";
|
|
12
12
|
import { C as I } from "./ColumnLayout-FMONjI17.js";
|
|
13
13
|
import { TunnelProvider as P, TunnelExit as m } from "@mittwald/react-tunnel";
|
|
14
14
|
import { s as c } from "./FormField.module-DHK6nIcD.js";
|
|
15
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 F, a as v } from "./IconRadioOn-
|
|
20
|
-
import { f as N } from "./flowComponent-
|
|
18
|
+
import "./Icon-DPoIVASu.js";
|
|
19
|
+
import { I as F, a as v } from "./IconRadioOn-DPCSoNmA.js";
|
|
20
|
+
import { f as N } from "./flowComponent-DHPUcYyM.js";
|
|
21
21
|
import "dot-prop";
|
|
22
|
-
import { I as D } from "./IconCheck-
|
|
22
|
+
import { I as D } from "./IconCheck-BGtj4cDU.js";
|
|
23
23
|
import { g as T } from "./getContainerBreakpointSizeClassName-BrcFDcCY.js";
|
|
24
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,
|
|
@@ -9,13 +9,13 @@ import { P as h } from "./PropsContextProvider-C6Z4XGp6.js";
|
|
|
9
9
|
import "@react-aria/utils";
|
|
10
10
|
import "./propsContext-DzAKlmhS.js";
|
|
11
11
|
import "remeda";
|
|
12
|
-
import { F as u } from "./FieldError-
|
|
13
|
-
import { f as F } from "./flowComponent-
|
|
14
|
-
import { B as E } from "./Button-
|
|
12
|
+
import { F as u } from "./FieldError-CHN9uCb_.js";
|
|
13
|
+
import { f as F } from "./flowComponent-DHPUcYyM.js";
|
|
14
|
+
import { B as E } from "./Button-DQtavSbo.js";
|
|
15
15
|
import "@tabler/icons-react";
|
|
16
|
-
import "./Icon-
|
|
17
|
-
import { I as N } from "./IconClose-
|
|
18
|
-
import { I as C } from "./IconSearch-
|
|
16
|
+
import "./Icon-DPoIVASu.js";
|
|
17
|
+
import { I as N } from "./IconClose-BFwPT_IX.js";
|
|
18
|
+
import { I as C } from "./IconSearch-C7VQTAqK.js";
|
|
19
19
|
import { useLocalizedStringFormatter as I } from "react-aria";
|
|
20
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
21
|
searchField: S,
|
package/dist/SearchField.js
CHANGED
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-DHPUcYyM.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
|
@@ -7,13 +7,13 @@ import { P as h } from "./PropsContextProvider-C6Z4XGp6.js";
|
|
|
7
7
|
import "@react-aria/utils";
|
|
8
8
|
import "remeda";
|
|
9
9
|
import { s as c } from "./FormField.module-DHK6nIcD.js";
|
|
10
|
-
import { F as w } from "./FieldError-
|
|
10
|
+
import { F as w } from "./FieldError-CHN9uCb_.js";
|
|
11
11
|
import f from "clsx";
|
|
12
12
|
import "@tabler/icons-react";
|
|
13
|
-
import "./Icon-
|
|
14
|
-
import { I as P } from "./IconChevronDown
|
|
15
|
-
import { f as E } from "./flowComponent-
|
|
16
|
-
import { P as F } from "./Popover-
|
|
13
|
+
import "./Icon-DPoIVASu.js";
|
|
14
|
+
import { I as P } from "./IconChevronDown--OxZLX8L.js";
|
|
15
|
+
import { f as E } from "./flowComponent-DHPUcYyM.js";
|
|
16
|
+
import { P as F } from "./Popover-D_KuyuoO.js";
|
|
17
17
|
import "mobx";
|
|
18
18
|
import { u as C } from "./useOverlayController-D8N4X2rc.js";
|
|
19
19
|
import "dot-prop";
|
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-DHPUcYyM.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-DQtavSbo.js";
|
|
12
12
|
import "@tabler/icons-react";
|
|
13
|
-
import "./Icon-
|
|
14
|
-
import { I as w, a as N } from "./IconPlus-
|
|
13
|
+
import "./Icon-DPoIVASu.js";
|
|
14
|
+
import { I as w, a as N } from "./IconPlus-DXEOuv0x.js";
|
|
15
15
|
import { useLocalizedStringFormatter as k } from "react-aria";
|
|
16
16
|
const x = "flow--slider", P = "flow--slider--text", S = "flow--slider--value", T = "flow--slider--track", g = "flow--slider--fill", y = "flow--slider--initial-marker", F = "flow--slider--thumb", I = "flow--slider--increment", M = "flow--slider--decrement", C = "flow--slider--disabled", r = {
|
|
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-CVl-Qd4U.js";
|
|
6
|
+
import { T as i } from "./Text-Sd5q3Yme.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-DHPUcYyM.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-DPoIVASu.js";
|
|
6
|
+
import { I as m } from "./IconDanger-DSrmGtfE.js";
|
|
7
|
+
import { I as f } from "./IconInfo-p6ir3vIp.js";
|
|
8
|
+
import { I, a as l } from "./IconWarning-wNdAHlh2.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-DPoIVASu.js";
|
|
8
|
+
import { I as p } from "./IconCheck-BGtj4cDU.js";
|
|
9
|
+
import { I as h } from "./IconClose-BFwPT_IX.js";
|
|
10
|
+
import { L as w } from "./Label-CguPeZH5.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-DHPUcYyM.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-DHPUcYyM.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-BdJf5T8A.js";
|
|
10
|
+
import { M as A } from "./MenuItem-DcfYvfPJ.js";
|
|
11
|
+
import { B as L } from "./Button-DQtavSbo.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-DPoIVASu.js";
|
|
14
|
+
import { I as F } from "./IconContextMenu-jwoVcLvd.js";
|
|
15
|
+
import { T as R } from "./Text-Sd5q3Yme.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-DHPUcYyM.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-DA_aMt2G.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-DHPUcYyM.js";
|
|
12
12
|
const f = "flow--text-area", x = {
|
|
13
13
|
textArea: f
|
|
14
14
|
}, P = c("TextArea", (t) => {
|
package/dist/TextField.js
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import * as s from "react-aria-components";
|
|
5
|
-
import { T as a } from "./TextFieldBase-
|
|
5
|
+
import { T as a } from "./TextFieldBase-DA_aMt2G.js";
|
|
6
6
|
import { C as n } 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 p } from "./flowComponent-
|
|
11
|
+
import { f as p } from "./flowComponent-DHPUcYyM.js";
|
|
12
12
|
const c = "flow--text-field", f = {
|
|
13
13
|
textField: c
|
|
14
14
|
}, w = p("TextField", (t) => {
|
|
@@ -9,8 +9,8 @@ import { P as B } from "./PropsContextProvider-C6Z4XGp6.js";
|
|
|
9
9
|
import "@react-aria/utils";
|
|
10
10
|
import "./propsContext-DzAKlmhS.js";
|
|
11
11
|
import "remeda";
|
|
12
|
-
import { F as P } from "./FieldError-
|
|
13
|
-
import { F as R } from "./FieldDescription-
|
|
12
|
+
import { F as P } from "./FieldError-CHN9uCb_.js";
|
|
13
|
+
import { F as R } from "./FieldDescription-D5ScpnNK.js";
|
|
14
14
|
import { useLocalizedStringFormatter as g } from "react-aria";
|
|
15
15
|
const L = { "de-DE": {
|
|
16
16
|
"textFieldBase.characters": (e, r) => `${r.select({ 0: () => `${e.count}`, other: () => `${e.count}/${e.maxCount}` }, e.maxCount)} Zeichen`
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
3
|
import s, { isValidElement as x, createContext as f, useContext as P, forwardRef as y, cloneElement as h } from "react";
|
|
4
|
-
import { u as
|
|
5
|
-
import { mergeProps as
|
|
6
|
-
import { pickBy as
|
|
4
|
+
import { u as g } from "./propsContext-DzAKlmhS.js";
|
|
5
|
+
import { mergeProps as v } from "@react-aria/utils";
|
|
6
|
+
import { pickBy as E, omitBy as S } from "remeda";
|
|
7
7
|
import "dot-prop";
|
|
8
|
-
import { P as
|
|
9
|
-
import { TunnelEntry as
|
|
8
|
+
import { P as T } from "./PropsContextProvider-C6Z4XGp6.js";
|
|
9
|
+
import { TunnelEntry as b } from "@mittwald/react-tunnel";
|
|
10
10
|
const k = {
|
|
11
11
|
Action: !0,
|
|
12
12
|
ActionGroup: !0,
|
|
@@ -36,10 +36,12 @@ const k = {
|
|
|
36
36
|
List: !0,
|
|
37
37
|
MenuItem: !0,
|
|
38
38
|
Modal: !0,
|
|
39
|
+
ModalTrigger: !0,
|
|
39
40
|
NumberField: !0,
|
|
40
41
|
Radio: !0,
|
|
41
42
|
Option: !0,
|
|
42
43
|
Popover: !0,
|
|
44
|
+
PopoverTrigger: !0,
|
|
43
45
|
RadioButton: !0,
|
|
44
46
|
RadioGroup: !0,
|
|
45
47
|
SearchField: !0,
|
|
@@ -77,7 +79,7 @@ const B = (t, o) => {
|
|
|
77
79
|
function A(t) {
|
|
78
80
|
return !!t && typeof t == "object" && "children" in t && !!t.children;
|
|
79
81
|
}
|
|
80
|
-
const F = (t) =>
|
|
82
|
+
const F = (t) => E(t, (o, r) => d(r)), I = (t, o) => {
|
|
81
83
|
if (!A(o))
|
|
82
84
|
return {};
|
|
83
85
|
const r = o.children;
|
|
@@ -85,16 +87,16 @@ const F = (t) => S(t, (o, r) => d(r)), I = (t, o) => {
|
|
|
85
87
|
return {};
|
|
86
88
|
const e = F(t);
|
|
87
89
|
return Object.keys(e).length === 0 ? {} : {
|
|
88
|
-
children: /* @__PURE__ */ s.createElement(
|
|
90
|
+
children: /* @__PURE__ */ s.createElement(T, { props: e, mergeInParentContext: !0 }, r)
|
|
89
91
|
};
|
|
90
92
|
}, M = (t, o) => {
|
|
91
|
-
const e =
|
|
92
|
-
return
|
|
93
|
-
e &&
|
|
93
|
+
const e = g()[t], n = e ? B(e, o) : void 0, i = e ? I(e, o) : void 0;
|
|
94
|
+
return v(
|
|
95
|
+
e && S(
|
|
94
96
|
e,
|
|
95
|
-
(
|
|
96
|
-
|
|
97
|
-
) || a(
|
|
97
|
+
(p, c) => l.includes(
|
|
98
|
+
c
|
|
99
|
+
) || a(p)
|
|
98
100
|
),
|
|
99
101
|
o,
|
|
100
102
|
n,
|
|
@@ -109,15 +111,15 @@ const F = (t) => S(t, (o, r) => d(r)), I = (t, o) => {
|
|
|
109
111
|
};
|
|
110
112
|
function O(t, o) {
|
|
111
113
|
return y((r, e) => {
|
|
112
|
-
const { tunnelId: n, wrapWith: i, ...
|
|
114
|
+
const { tunnelId: n, wrapWith: i, ...p } = M(
|
|
113
115
|
t,
|
|
114
116
|
r
|
|
115
117
|
), C = {
|
|
116
118
|
refProp: e,
|
|
117
|
-
...
|
|
119
|
+
...p
|
|
118
120
|
};
|
|
119
121
|
let u = /* @__PURE__ */ s.createElement(o, { ...C });
|
|
120
|
-
return "slot" in r && r.slot && (u = /* @__PURE__ */ s.createElement(N, { slot: r.slot, component: t }, u)), i && (u = h(i, void 0, u)), n && (u = /* @__PURE__ */ s.createElement(
|
|
122
|
+
return "slot" in r && r.slot && (u = /* @__PURE__ */ s.createElement(N, { slot: r.slot, component: t }, u)), i && (u = h(i, void 0, u)), n && (u = /* @__PURE__ */ s.createElement(b, { id: n }, u)), u;
|
|
121
123
|
});
|
|
122
124
|
}
|
|
123
125
|
export {
|
package/dist/react-hook-form.js
CHANGED
|
@@ -7,8 +7,8 @@ import { P as b } from "./PropsContextProvider-C6Z4XGp6.js";
|
|
|
7
7
|
import "@react-aria/utils";
|
|
8
8
|
import "remeda";
|
|
9
9
|
import { d as E } from "./dynamic-ClpUSmEt.js";
|
|
10
|
-
import { F as P } from "./FieldError-
|
|
11
|
-
import { a as g, A as y } from "./Action-
|
|
10
|
+
import { F as P } from "./FieldError-CHN9uCb_.js";
|
|
11
|
+
import { a as g, A as y } from "./Action-DrXR84F6.js";
|
|
12
12
|
const x = v({}), V = x.Provider, f = () => F(x);
|
|
13
13
|
function I(e) {
|
|
14
14
|
var i;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { PropsWithChildren, default as React } from 'react';
|
|
2
2
|
import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
|
|
3
3
|
import { ItemListProps } from './components/Items/Items';
|
|
4
|
+
import { OnListChanged } from './model/types';
|
|
4
5
|
|
|
5
|
-
export interface ListProps extends PropsWithChildren, ItemListProps, FlowComponentProps {
|
|
6
|
+
export interface ListProps<T> extends PropsWithChildren, ItemListProps, FlowComponentProps {
|
|
6
7
|
batchSize?: number;
|
|
8
|
+
onChange?: OnListChanged<T>;
|
|
7
9
|
}
|
|
8
|
-
export declare const List: React.ForwardRefExoticComponent<ListProps & React.RefAttributes<never>>;
|
|
10
|
+
export declare const List: React.ForwardRefExoticComponent<ListProps<never> & React.RefAttributes<never>>;
|
|
9
11
|
export default List;
|
|
@@ -17,7 +17,7 @@ export declare class List<T> {
|
|
|
17
17
|
readonly reactTable: ReactTable<T>;
|
|
18
18
|
readonly batches: BatchesController<T>;
|
|
19
19
|
readonly loader: IncrementalLoader<T>;
|
|
20
|
-
readonly hasAction
|
|
20
|
+
readonly hasAction?: boolean;
|
|
21
21
|
private constructor();
|
|
22
22
|
static useNew<T>(shape: ListShape<T>): List<T>;
|
|
23
23
|
get isFiltered(): boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Column, ColumnSort, Table, TableOptions } from '@tanstack/react-table';
|
|
2
2
|
import { default as List } from './List';
|
|
3
|
-
import { PropertyName } from './types';
|
|
3
|
+
import { OnListChanged, PropertyName } from './types';
|
|
4
4
|
import { SearchValue } from './search/types';
|
|
5
5
|
import { Dispatch, SetStateAction } from 'react';
|
|
6
6
|
|
|
@@ -10,7 +10,7 @@ export declare class ReactTable<T> {
|
|
|
10
10
|
readonly sortingState: ColumnSort[];
|
|
11
11
|
readonly updateSortingState: Dispatch<SetStateAction<ColumnSort[]>>;
|
|
12
12
|
private constructor();
|
|
13
|
-
static useNew<T>(list: List<T>, tableOptions?: Partial<TableOptions<T>>): ReactTable<T>;
|
|
13
|
+
static useNew<T>(list: List<T>, onChange?: OnListChanged<T>, tableOptions?: Partial<TableOptions<T>>): ReactTable<T>;
|
|
14
14
|
private useReactTable;
|
|
15
15
|
private handleSortingStateUpdate;
|
|
16
16
|
get searchString(): SearchValue;
|
|
@@ -9,6 +9,7 @@ export declare class Search<T> {
|
|
|
9
9
|
constructor(list: List<T>, searchShape: SearchShape<T>);
|
|
10
10
|
get value(): SearchValue;
|
|
11
11
|
get isSet(): boolean;
|
|
12
|
+
private callOnUpdateCallbacks;
|
|
12
13
|
setValue(value: SearchValue): void;
|
|
13
14
|
clear(): void;
|
|
14
15
|
onUpdated(cb: () => unknown): void;
|
|
@@ -7,12 +7,14 @@ import { SearchShape } from './search/types';
|
|
|
7
7
|
import { ItemViewShape } from './item/ItemView';
|
|
8
8
|
import { ReactNode } from 'react';
|
|
9
9
|
import { ItemType } from '../../../lib/types/array';
|
|
10
|
+
import { default as List } from './List';
|
|
10
11
|
|
|
11
12
|
export declare const customPropertyPrefix: "$";
|
|
12
13
|
export type CustomPropertyName = `${typeof customPropertyPrefix}${string}`;
|
|
13
14
|
export type PropertyName<T> = DeepKeys<T> | CustomPropertyName;
|
|
14
15
|
export type PropertyValue<T, TProp> = TProp extends CustomPropertyName ? T : DeepValue<T, TProp>;
|
|
15
16
|
export type PropertyValueRenderMethod<TMatcherValue> = (prop: NonNullable<ItemType<TMatcherValue>>) => ReactNode;
|
|
17
|
+
export type OnListChanged<T> = (list: List<T>) => void;
|
|
16
18
|
export interface ListShape<T> {
|
|
17
19
|
loader?: IncrementalLoaderShape<T>;
|
|
18
20
|
filters?: FilterShape<T, never, never>[];
|
|
@@ -20,6 +22,7 @@ export interface ListShape<T> {
|
|
|
20
22
|
search?: SearchShape<T>;
|
|
21
23
|
sorting?: SortingShape<T>[];
|
|
22
24
|
batchesController?: BatchesControllerShape;
|
|
23
|
-
hasAction
|
|
25
|
+
hasAction?: boolean;
|
|
26
|
+
onChange?: OnListChanged<T>;
|
|
24
27
|
}
|
|
25
28
|
export type PropertyRecord<T, TValue> = Partial<Record<PropertyName<T>, TValue>>;
|