@mittwald/flow-react-components 0.1.0-alpha.66 → 0.1.0-alpha.67
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/{Action-DZzRGFBL.js → Action-DEpgmJgz.js} +10 -8
- package/dist/Action.js +1 -1
- package/dist/Avatar.js +2 -2
- package/dist/Breadcrumb.js +3 -3
- package/dist/{Button-CdGfSPx-.js → Button-RNHxIFd2.js} +6 -6
- package/dist/Button.js +1 -1
- package/dist/ButtonGroup.js +2 -2
- package/dist/{Checkbox-Bc-Yp2Li.js → Checkbox-DKySO10B.js} +7 -6
- package/dist/Checkbox.js +1 -1
- package/dist/{CheckboxButton-D5G0rxZz.js → CheckboxButton-CWdX3bM9.js} +3 -3
- package/dist/CheckboxButton.js +1 -1
- package/dist/CheckboxGroup.js +4 -4
- package/dist/Content.js +8 -7
- package/dist/ContextMenu-CyJQ17tm.js +36 -0
- package/dist/ContextMenu.js +7 -7
- package/dist/CopyButton.js +10 -9
- package/dist/FieldDescription.js +11 -10
- package/dist/FieldError-TYnVmG-o.js +23 -0
- package/dist/FieldError.js +1 -1
- package/dist/Header.js +1 -1
- package/dist/HeaderNavigation.js +1 -1
- package/dist/Heading.js +2 -2
- package/dist/{Icon-DVRBNZZe.js → Icon-CPAehMux.js} +13 -12
- package/dist/Icon.js +1 -1
- package/dist/{IconCheck-D9Y94psR.js → IconCheck-C778cVIW.js} +1 -1
- package/dist/{IconCheckboxEmpty-BneZ_izo.js → IconCheckboxEmpty-CuRg5vZt.js} +1 -1
- package/dist/{IconCheckboxIndeterminate-DZM-0gVy.js → IconCheckboxIndeterminate-Czwxs_TE.js} +1 -1
- package/dist/{IconChevronDown-D8WRADYa.js → IconChevronDown-BL8_H9Kf.js} +1 -1
- package/dist/{IconChevronRight-D2iaxujY.js → IconChevronRight-BdGTP9WG.js} +1 -1
- package/dist/{IconClose-zpsdo5WH.js → IconClose-Cq9t3LQV.js} +1 -1
- package/dist/{IconContextMenu-D58YJ4YL.js → IconContextMenu-BDvtrC86.js} +1 -1
- package/dist/{IconCopy-Dg12Fbk9.js → IconCopy-C9jfVrgu.js} +1 -1
- package/dist/{IconDanger-BKH4QbJ1.js → IconDanger-B7qTdARI.js} +1 -1
- package/dist/{IconPlus-WchYGpT1.js → IconPlus-vUgeG2A9.js} +1 -1
- package/dist/{IconRadioOn-DNpq9Xk7.js → IconRadioOn-CTDczjLJ.js} +1 -1
- package/dist/{IconSucceeded-d5GrQkmO.js → IconSucceeded-C092cisG.js} +1 -1
- package/dist/{IconWarning-pPmXp5KC.js → IconWarning-B5oeYHHs.js} +1 -1
- package/dist/Icons.js +73 -72
- package/dist/IllustratedMessage.js +42 -0
- package/dist/Image.js +5 -4
- package/dist/Initials.js +7 -6
- package/dist/InlineAlert.js +3 -3
- package/dist/InlineCode-BV2i5uN0.js +18 -0
- package/dist/InlineCode.js +1 -1
- package/dist/{Label-BFDBIwAZ.js → Label-B4BxkNHo.js} +4 -3
- package/dist/Label.js +1 -1
- package/dist/LabeledValue.js +1 -1
- package/dist/LayoutCard.js +19 -10
- package/dist/{Link-kCrtSVrZ.js → Link-I6WUPEGi.js} +2 -2
- package/dist/Link.js +1 -1
- package/dist/List.js +21 -20
- package/dist/MenuItem-CrRLNYPb.js +38 -0
- package/dist/MenuItem.js +7 -0
- package/dist/Modal.js +1 -1
- package/dist/Navigation.js +1 -1
- package/dist/NumberField.js +7 -7
- package/dist/ProgressBar.js +1 -1
- package/dist/PropsContextProvider-DkNLd3Yj.js +63 -0
- package/dist/RadioGroup.js +45 -45
- package/dist/Section.js +1 -1
- package/dist/Select.js +5 -5
- package/dist/StatusBadge.js +9 -8
- package/dist/{StatusIcon-gxczp9bZ.js → StatusIcon-BrpddXMN.js} +8 -7
- package/dist/StatusIcon.js +1 -1
- package/dist/Switch.js +10 -9
- package/dist/Tabs.js +23 -22
- package/dist/{Text-D7C_T7CE.js → Text-BW9cNWaj.js} +2 -2
- package/dist/Text.js +1 -1
- package/dist/TextArea.js +8 -7
- package/dist/TextField.js +9 -8
- package/dist/{TextFieldBase-DuP4Ls0l.js → TextFieldBase-BcCtRAw5.js} +2 -2
- package/dist/flowComponent-mJ64-1gs.js +22 -0
- package/dist/react-hook-form.js +2 -2
- package/dist/styles.css +1 -1
- package/dist/types/components/ContextMenu/ContextMenu.d.ts +2 -2
- package/dist/types/components/ContextMenu/index.d.ts +1 -1
- package/dist/types/components/Icon/components/icons/IconCode.d.ts +5 -0
- package/dist/types/components/Icon/components/icons/index.d.ts +1 -0
- package/dist/types/components/IllustratedMessage/IllustratedMessage.d.ts +7 -0
- package/dist/types/components/IllustratedMessage/index.d.ts +4 -0
- package/dist/types/components/IllustratedMessage/stories/Default.stories.d.ts +8 -0
- package/dist/types/components/IllustratedMessage/stories/EdgeCases.stories.d.ts +8 -0
- package/dist/types/components/MenuItem/MenuItem.d.ts +7 -0
- package/dist/types/components/{ContextMenu/components/ContextMenuItem/ContextMenuItemContent.d.ts → MenuItem/MenuItemContent.d.ts} +1 -1
- package/dist/types/components/MenuItem/index.d.ts +4 -0
- package/dist/types/components/Tabs/Tabs.d.ts +4 -3
- package/dist/types/components/Tabs/components/Tab/context.d.ts +1 -1
- package/dist/types/components/Tabs/components/TabTitle/TabTitle.d.ts +1 -1
- package/dist/types/components/propTypes/index.d.ts +3 -1
- package/dist/types/lib/propsContext/PropsContextProvider.d.ts +1 -0
- package/dist/types/lib/propsContext/mergePropsContext.d.ts +1 -1
- package/dist/types/lib/propsContext/propsContext.d.ts +2 -1
- package/dist/types/lib/react/getPropsMerger.d.ts +1 -0
- package/dist/{useProps-DoKnPAup.js → useProps-BqLmWTTi.js} +3 -2
- package/package.json +11 -3
- package/dist/ContextMenuItem-k4nwztKS.js +0 -67
- package/dist/FieldError-CBxCl2nS.js +0 -22
- package/dist/InlineCode-CI8164C6.js +0 -17
- package/dist/PropsContextProvider-BcOGMJkn.js +0 -25
- package/dist/flowComponent-CEo3pjEA.js +0 -19
- package/dist/types/components/ContextMenu/components/ContextMenuItem/ContextMenuItem.d.ts +0 -7
- package/dist/types/components/ContextMenu/components/ContextMenuItem/index.d.ts +0 -4
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import { IconCircle as c, IconCircleDotFilled as n } from "@tabler/icons-react";
|
|
5
|
-
import { I as t } from "./Icon-
|
|
5
|
+
import { I as t } from "./Icon-CPAehMux.js";
|
|
6
6
|
const m = (o) => /* @__PURE__ */ e.createElement(t, { ...o }, /* @__PURE__ */ e.createElement(c, null)), i = (o) => /* @__PURE__ */ e.createElement(t, { ...o }, /* @__PURE__ */ e.createElement(n, null));
|
|
7
7
|
export {
|
|
8
8
|
i as I,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import { IconX as t, IconLoader2 as o, IconCheck as a } from "@tabler/icons-react";
|
|
5
|
-
import { I as c } from "./Icon-
|
|
5
|
+
import { I as c } from "./Icon-CPAehMux.js";
|
|
6
6
|
const I = (n) => /* @__PURE__ */ e.createElement(c, { ...n }, /* @__PURE__ */ e.createElement(t, null)), s = (n) => /* @__PURE__ */ e.createElement(c, { ...n }, /* @__PURE__ */ e.createElement(o, null)), E = (n) => /* @__PURE__ */ e.createElement(c, { ...n }, /* @__PURE__ */ e.createElement(a, null));
|
|
7
7
|
export {
|
|
8
8
|
E as I,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import { IconInfoCircle as t, IconCircleCheck as o, IconAlertCircle as r } from "@tabler/icons-react";
|
|
5
|
-
import { I as n } from "./Icon-
|
|
5
|
+
import { I as n } from "./Icon-CPAehMux.js";
|
|
6
6
|
const I = (c) => /* @__PURE__ */ e.createElement(n, { ...c }, /* @__PURE__ */ e.createElement(t, null)), s = (c) => /* @__PURE__ */ e.createElement(n, { ...c }, /* @__PURE__ */ e.createElement(o, null)), i = (c) => /* @__PURE__ */ e.createElement(n, { ...c }, /* @__PURE__ */ e.createElement(r, null));
|
|
7
7
|
export {
|
|
8
8
|
I,
|
package/dist/Icons.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
3
|
import n from "react";
|
|
4
|
-
import { IconAppWindow as o, IconArrowLeft as l, IconClock as c, IconChevronLeft as a,
|
|
5
|
-
import { I as t } from "./Icon-
|
|
6
|
-
import { I as
|
|
7
|
-
import { I as
|
|
8
|
-
import { I as
|
|
9
|
-
import { I as
|
|
10
|
-
import { I as
|
|
11
|
-
import { a as
|
|
12
|
-
import { I as
|
|
13
|
-
import { I as
|
|
14
|
-
import { I as
|
|
15
|
-
import { I as
|
|
16
|
-
import { a as
|
|
17
|
-
import { I as
|
|
18
|
-
import { a as
|
|
19
|
-
const
|
|
4
|
+
import { IconAppWindow as o, IconArrowLeft as l, IconClock as c, IconChevronLeft as a, IconCode as r, IconCalendarCheck as I, IconBuilding as m, IconLayoutBoard as s, IconDatabase as E, IconCalendar as u, IconTrash as i, IconWorld as p, IconMail as h, IconExternalLink as d, IconFilter as f, IconEyeCancel as C, IconHome as x, IconList as S, IconPower as g, IconUsersGroup as v, IconBell as b, IconArchive as L, IconDice3 as k, IconSearch as w, IconListSearch as D, IconServer as $, IconSettings as M, IconEye as y, IconAdjustmentsHorizontal as B, IconDoor as H, IconSubtask as A, IconHeadset as F, IconFileX as R, IconLayoutGrid as V } from "@tabler/icons-react";
|
|
5
|
+
import { I as t } from "./Icon-CPAehMux.js";
|
|
6
|
+
import { I as Le } from "./IconCheck-C778cVIW.js";
|
|
7
|
+
import { I as we, a as De } from "./IconCheckboxEmpty-CuRg5vZt.js";
|
|
8
|
+
import { I as Me } from "./IconCheckboxIndeterminate-Czwxs_TE.js";
|
|
9
|
+
import { I as Be } from "./IconChevronDown-BL8_H9Kf.js";
|
|
10
|
+
import { I as Ae } from "./IconChevronRight-BdGTP9WG.js";
|
|
11
|
+
import { a as Re, I as Ve, b as Pe } from "./IconPlus-vUgeG2A9.js";
|
|
12
|
+
import { I as je } from "./IconClose-Cq9t3LQV.js";
|
|
13
|
+
import { I as We } from "./IconContextMenu-BDvtrC86.js";
|
|
14
|
+
import { I as Oe } from "./IconCopy-C9jfVrgu.js";
|
|
15
|
+
import { I as Ne } from "./IconDanger-B7qTdARI.js";
|
|
16
|
+
import { a as qe, b as Je, I as Ke } from "./IconSucceeded-C092cisG.js";
|
|
17
|
+
import { I as Ye, a as Ze, b as _e } from "./IconWarning-B5oeYHHs.js";
|
|
18
|
+
import { a as nn, I as tn } from "./IconRadioOn-CTDczjLJ.js";
|
|
19
|
+
const z = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(o, null)), W = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(l, null)), G = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(c, null)), O = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(a, null)), U = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(r, null)), N = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(I, null)), X = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(m, null)), q = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(s, null)), J = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(E, null)), K = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(u, null)), Q = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(i, null)), Y = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(p, null)), Z = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(h, null)), _ = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(d, null)), ee = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(f, null)), ne = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(C, null)), te = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(x, null)), ce = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(S, null)), oe = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(g, null)), le = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(v, null)), ae = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(b, null)), re = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(L, null)), Ie = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(k, null)), me = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(w, null)), se = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(D, null)), Ee = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement($, null)), ue = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(M, null)), ie = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(y, null)), pe = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(B, null)), he = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(H, null)), de = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(A, null)), fe = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(F, null)), Ce = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(R, null)), xe = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(V, null)), Se = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.createElement(c, null)), ge = (e) => /* @__PURE__ */ n.createElement(
|
|
20
20
|
t,
|
|
21
21
|
{
|
|
22
22
|
...e
|
|
@@ -28,60 +28,61 @@ const j = (e) => /* @__PURE__ */ n.createElement(t, { ...e }, /* @__PURE__ */ n.
|
|
|
28
28
|
`
|
|
29
29
|
);
|
|
30
30
|
export {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
We as
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
fe as
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
31
|
+
z as IconApp,
|
|
32
|
+
W as IconBackLink,
|
|
33
|
+
G as IconBackup,
|
|
34
|
+
Le as IconCheck,
|
|
35
|
+
we as IconCheckboxChecked,
|
|
36
|
+
De as IconCheckboxEmpty,
|
|
37
|
+
Me as IconCheckboxIndeterminate,
|
|
38
|
+
Be as IconChevronDown,
|
|
39
|
+
O as IconChevronLeft,
|
|
40
|
+
Ae as IconChevronRight,
|
|
41
|
+
Re as IconChevronUp,
|
|
42
|
+
je as IconClose,
|
|
43
|
+
U as IconCode,
|
|
44
|
+
We as IconContextMenu,
|
|
45
|
+
Oe as IconCopy,
|
|
46
|
+
N as IconCronjob,
|
|
47
|
+
X as IconCustomer,
|
|
48
|
+
Ne as IconDanger,
|
|
49
|
+
q as IconDashboard,
|
|
50
|
+
J as IconDatabase,
|
|
51
|
+
K as IconDate,
|
|
52
|
+
Q as IconDelete,
|
|
53
|
+
Y as IconDomain,
|
|
54
|
+
Z as IconEmail,
|
|
55
|
+
_ as IconExternalLink,
|
|
56
|
+
qe as IconFailed,
|
|
57
|
+
ee as IconFilter,
|
|
58
|
+
ne as IconHide,
|
|
59
|
+
te as IconHome,
|
|
60
|
+
Ye as IconInfo,
|
|
61
|
+
ce as IconListView,
|
|
62
|
+
oe as IconLogout,
|
|
63
|
+
le as IconMember,
|
|
64
|
+
Ve as IconMinus,
|
|
65
|
+
ge as IconMittwald,
|
|
66
|
+
ae as IconNotification,
|
|
67
|
+
Je as IconPending,
|
|
68
|
+
Pe as IconPlus,
|
|
69
|
+
re as IconProject,
|
|
70
|
+
nn as IconRadioOff,
|
|
71
|
+
tn as IconRadioOn,
|
|
72
|
+
Ie as IconRandom,
|
|
73
|
+
me as IconSearch,
|
|
74
|
+
se as IconSearchEngine,
|
|
75
|
+
Ee as IconServer,
|
|
76
|
+
ue as IconSettings,
|
|
77
|
+
ie as IconShow,
|
|
78
|
+
pe as IconSorting,
|
|
79
|
+
he as IconSshSftp,
|
|
80
|
+
de as IconSubdomain,
|
|
81
|
+
Ke as IconSucceeded,
|
|
82
|
+
Ze as IconSuccess,
|
|
83
|
+
fe as IconSupport,
|
|
84
|
+
Ce as IconTerminate,
|
|
85
|
+
xe as IconTileView,
|
|
86
|
+
Se as IconTime,
|
|
87
|
+
_e as IconWarning
|
|
87
88
|
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
/* */
|
|
3
|
+
import e from "react";
|
|
4
|
+
import c from "clsx";
|
|
5
|
+
import "./propsContext-CauylOgH.js";
|
|
6
|
+
import { P as m } from "./PropsContextProvider-DkNLd3Yj.js";
|
|
7
|
+
import "@react-aria/utils";
|
|
8
|
+
import "remeda";
|
|
9
|
+
const d = "flow--illustrated-message", g = "flow--illustrated-message--icon", u = "flow--illustrated-message--heading", p = "flow--illustrated-message--text", f = "flow--illustrated-message--button", x = "flow--illustrated-message--negative", t = {
|
|
10
|
+
illustratedMessage: d,
|
|
11
|
+
icon: g,
|
|
12
|
+
heading: u,
|
|
13
|
+
text: p,
|
|
14
|
+
button: f,
|
|
15
|
+
negative: x
|
|
16
|
+
}, C = (s) => {
|
|
17
|
+
const { className: a, children: o, variant: l = "info", ...n } = s, i = c(
|
|
18
|
+
t.illustratedMessage,
|
|
19
|
+
t[l],
|
|
20
|
+
a
|
|
21
|
+
), r = {
|
|
22
|
+
Icon: {
|
|
23
|
+
className: t.icon,
|
|
24
|
+
size: "l"
|
|
25
|
+
},
|
|
26
|
+
Heading: {
|
|
27
|
+
className: t.heading
|
|
28
|
+
},
|
|
29
|
+
Text: {
|
|
30
|
+
className: t.text
|
|
31
|
+
},
|
|
32
|
+
Button: {
|
|
33
|
+
className: t.button,
|
|
34
|
+
variant: "accent"
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
return /* @__PURE__ */ e.createElement("div", { ...n, className: i }, /* @__PURE__ */ e.createElement(m, { props: r }, o));
|
|
38
|
+
};
|
|
39
|
+
export {
|
|
40
|
+
C as IllustratedMessage,
|
|
41
|
+
C as default
|
|
42
|
+
};
|
package/dist/Image.js
CHANGED
|
@@ -5,12 +5,13 @@ import { C as m } from "./ClearPropsContext-CeCMjUK9.js";
|
|
|
5
5
|
import "./propsContext-CauylOgH.js";
|
|
6
6
|
import "@react-aria/utils";
|
|
7
7
|
import "remeda";
|
|
8
|
-
import
|
|
9
|
-
|
|
8
|
+
import "dot-prop";
|
|
9
|
+
import { f as a } from "./flowComponent-mJ64-1gs.js";
|
|
10
|
+
const C = a("Image", (e) => {
|
|
10
11
|
const { ref: r, ...o } = e;
|
|
11
12
|
return /* @__PURE__ */ t.createElement(m, null, /* @__PURE__ */ t.createElement("img", { ...o, ref: r }));
|
|
12
13
|
});
|
|
13
14
|
export {
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
C as Image,
|
|
16
|
+
C as default
|
|
16
17
|
};
|
package/dist/Initials.js
CHANGED
|
@@ -6,15 +6,16 @@ import { C as f } from "./ClearPropsContext-CeCMjUK9.js";
|
|
|
6
6
|
import "./propsContext-CauylOgH.js";
|
|
7
7
|
import "@react-aria/utils";
|
|
8
8
|
import "remeda";
|
|
9
|
+
import "dot-prop";
|
|
9
10
|
import { onlyText as C } from "react-children-utilities";
|
|
10
|
-
import { f as u } from "./flowComponent-
|
|
11
|
+
import { f as u } from "./flowComponent-mJ64-1gs.js";
|
|
11
12
|
const x = (i) => i.replace(/[^\p{L}\s]/giu, "").split(" ").map((t) => t.trim()[0]).filter((t) => t !== void 0).map((t) => t.toUpperCase()).slice(0, 2), d = "flow--initials", E = {
|
|
12
13
|
initials: d
|
|
13
|
-
},
|
|
14
|
-
const { children: t, className:
|
|
15
|
-
return /* @__PURE__ */ e.createElement(f, null, /* @__PURE__ */ e.createElement("div", { "aria-label":
|
|
14
|
+
}, F = u("Initials", (i) => {
|
|
15
|
+
const { children: t, className: s, ref: n } = i, o = C(t), r = x(o), a = c(E.initials, s), l = r.map((m, p) => /* @__PURE__ */ e.createElement("span", { key: p }, m));
|
|
16
|
+
return /* @__PURE__ */ e.createElement(f, null, /* @__PURE__ */ e.createElement("div", { "aria-label": o, className: a, ref: n }, l));
|
|
16
17
|
});
|
|
17
18
|
export {
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
F as Initials,
|
|
20
|
+
F as default
|
|
20
21
|
};
|
package/dist/InlineAlert.js
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import { C as m } from "./ClearPropsContext-CeCMjUK9.js";
|
|
5
|
-
import { P as f } from "./PropsContextProvider-
|
|
5
|
+
import { P as f } from "./PropsContextProvider-DkNLd3Yj.js";
|
|
6
6
|
import "@react-aria/utils";
|
|
7
7
|
import "./propsContext-CauylOgH.js";
|
|
8
8
|
import "remeda";
|
|
9
9
|
import p from "clsx";
|
|
10
|
-
import { S as d } from "./StatusIcon-
|
|
11
|
-
import { f as u } from "./flowComponent-
|
|
10
|
+
import { S as d } from "./StatusIcon-BrpddXMN.js";
|
|
11
|
+
import { f as u } from "./flowComponent-mJ64-1gs.js";
|
|
12
12
|
const w = "flow--inline-alert", g = "flow--inline-alert--content", C = "flow--inline-alert--status-icon", I = "flow--inline-alert--heading", N = "flow--inline-alert--info", h = "flow--inline-alert--warning", x = "flow--inline-alert--danger", A = "flow--inline-alert--success", n = {
|
|
13
13
|
inlineAlert: w,
|
|
14
14
|
content: g,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
/* */
|
|
3
|
+
import e from "react";
|
|
4
|
+
import i from "clsx";
|
|
5
|
+
import { C as l } from "./ClearPropsContext-CeCMjUK9.js";
|
|
6
|
+
import "./propsContext-CauylOgH.js";
|
|
7
|
+
import "@react-aria/utils";
|
|
8
|
+
import "remeda";
|
|
9
|
+
import "dot-prop";
|
|
10
|
+
const m = "flow--inline-code", c = {
|
|
11
|
+
inlineCode: m
|
|
12
|
+
}, u = (o) => {
|
|
13
|
+
const { children: t, className: n, ...r } = o, s = i(c.inlineCode, n);
|
|
14
|
+
return /* @__PURE__ */ e.createElement(l, null, /* @__PURE__ */ e.createElement("code", { ...r, className: s }, t));
|
|
15
|
+
};
|
|
16
|
+
export {
|
|
17
|
+
u as I
|
|
18
|
+
};
|
package/dist/InlineCode.js
CHANGED
|
@@ -7,8 +7,9 @@ import { C as b } from "./ClearPropsContext-CeCMjUK9.js";
|
|
|
7
7
|
import "./propsContext-CauylOgH.js";
|
|
8
8
|
import "@react-aria/utils";
|
|
9
9
|
import "remeda";
|
|
10
|
+
import "dot-prop";
|
|
10
11
|
import { useLocalizedStringFormatter as C } from "react-aria";
|
|
11
|
-
import { f as L } from "./flowComponent-
|
|
12
|
+
import { f as L } from "./flowComponent-mJ64-1gs.js";
|
|
12
13
|
const d = "flow--label", u = {
|
|
13
14
|
label: d
|
|
14
15
|
}, E = {
|
|
@@ -18,7 +19,7 @@ const d = "flow--label", u = {
|
|
|
18
19
|
"en-EN": {
|
|
19
20
|
"label.optional": "(optional)"
|
|
20
21
|
}
|
|
21
|
-
},
|
|
22
|
+
}, A = L("Label", (l) => {
|
|
22
23
|
const {
|
|
23
24
|
children: e,
|
|
24
25
|
className: o,
|
|
@@ -30,5 +31,5 @@ const d = "flow--label", u = {
|
|
|
30
31
|
return /* @__PURE__ */ t.createElement(b, null, /* @__PURE__ */ t.createElement(c.Label, { ...n, className: i, ref: r }, e, a && p));
|
|
31
32
|
});
|
|
32
33
|
export {
|
|
33
|
-
|
|
34
|
+
A as L
|
|
34
35
|
};
|
package/dist/Label.js
CHANGED
package/dist/LabeledValue.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import l from "react";
|
|
4
4
|
import r from "clsx";
|
|
5
5
|
import { C as m } from "./ClearPropsContext-CeCMjUK9.js";
|
|
6
|
-
import { P as c } from "./PropsContextProvider-
|
|
6
|
+
import { P as c } from "./PropsContextProvider-DkNLd3Yj.js";
|
|
7
7
|
import "@react-aria/utils";
|
|
8
8
|
import "./propsContext-CauylOgH.js";
|
|
9
9
|
import "remeda";
|
package/dist/LayoutCard.js
CHANGED
|
@@ -1,15 +1,24 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { f
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
import t from "react";
|
|
4
|
+
import d from "clsx";
|
|
5
|
+
import { f } from "./flowComponent-mJ64-1gs.js";
|
|
6
|
+
import "./propsContext-CauylOgH.js";
|
|
7
|
+
import { P as i } from "./PropsContextProvider-DkNLd3Yj.js";
|
|
8
|
+
import "@react-aria/utils";
|
|
9
|
+
import "remeda";
|
|
10
|
+
const u = "flow--layout-card", y = "flow--layout-card--tabs", o = {
|
|
11
|
+
layoutCard: u,
|
|
12
|
+
tabs: y
|
|
13
|
+
}, v = f("LayoutCard", (a) => {
|
|
14
|
+
const { children: r, className: s, elementType: e = "div", ref: l, ...m } = a, c = d(o.layoutCard, s), n = e, p = {
|
|
15
|
+
Tabs: {
|
|
16
|
+
className: o.tabs
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
return /* @__PURE__ */ t.createElement(n, { className: c, ...m, ref: l }, /* @__PURE__ */ t.createElement(i, { props: p }, r));
|
|
11
20
|
});
|
|
12
21
|
export {
|
|
13
|
-
|
|
14
|
-
|
|
22
|
+
v as LayoutCard,
|
|
23
|
+
v as default
|
|
15
24
|
};
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
import o, { useContext as x } from "react";
|
|
4
4
|
import * as w from "react-aria-components";
|
|
5
5
|
import { C as y } from "./ClearPropsContext-CeCMjUK9.js";
|
|
6
|
-
import { P as L } from "./PropsContextProvider-
|
|
6
|
+
import { P as L } from "./PropsContextProvider-DkNLd3Yj.js";
|
|
7
7
|
import "@react-aria/utils";
|
|
8
8
|
import "./propsContext-CauylOgH.js";
|
|
9
9
|
import "remeda";
|
|
10
10
|
import P from "clsx";
|
|
11
|
-
import { f as g } from "./flowComponent-
|
|
11
|
+
import { f as g } from "./flowComponent-mJ64-1gs.js";
|
|
12
12
|
import { l as N } from "./context-BlNV7smK.js";
|
|
13
13
|
const E = "flow--link", v = "flow--link--inline", F = "flow--link--icon", h = "flow--link--primary", z = "flow--link--danger", n = {
|
|
14
14
|
link: E,
|
package/dist/Link.js
CHANGED
package/dist/List.js
CHANGED
|
@@ -4,40 +4,41 @@ var Q = Object.defineProperty;
|
|
|
4
4
|
var X = (i, t, e) => t in i ? Q(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
|
|
5
5
|
var o = (i, t, e) => (X(i, typeof t != "symbol" ? t + "" : t, e), e);
|
|
6
6
|
import r, { createContext as Y, useContext as Z, createElement as _, useEffect as C, useState as tt, Suspense as et } from "react";
|
|
7
|
-
import {
|
|
7
|
+
import { C as x } from "./ContextMenu-CyJQ17tm.js";
|
|
8
|
+
import { M as U, d as at } from "./MenuItem-CrRLNYPb.js";
|
|
8
9
|
import * as O from "react-aria-components";
|
|
9
10
|
import { MenuTrigger as st } from "react-aria-components";
|
|
10
|
-
import { T as b } from "./Text-
|
|
11
|
+
import { T as b } from "./Text-BW9cNWaj.js";
|
|
11
12
|
import "@tabler/icons-react";
|
|
12
|
-
import "./Icon-
|
|
13
|
-
import { I as $ } from "./IconChevronDown-
|
|
14
|
-
import { B as h } from "./Button-
|
|
13
|
+
import "./Icon-CPAehMux.js";
|
|
14
|
+
import { I as $ } from "./IconChevronDown-BL8_H9Kf.js";
|
|
15
|
+
import { B as h } from "./Button-RNHxIFd2.js";
|
|
15
16
|
import H from "clsx";
|
|
16
17
|
import "./propsContext-CauylOgH.js";
|
|
17
18
|
import "@react-aria/utils";
|
|
18
19
|
import { times as rt } from "remeda";
|
|
20
|
+
import { getProperty as nt } from "dot-prop";
|
|
19
21
|
import "react-children-utilities";
|
|
20
22
|
import { useMessageFormatter as q, useLocalizedStringFormatter as K } from "react-aria";
|
|
21
|
-
import { I as
|
|
22
|
-
import { getProperty as it } from "dot-prop";
|
|
23
|
+
import { I as it } from "./IconClose-Cq9t3LQV.js";
|
|
23
24
|
import { useReactTable as ot, getCoreRowModel as lt, getSortedRowModel as ct, getFilteredRowModel as ut, getPaginationRowModel as mt, getFacetedUniqueValues as dt } from "@tanstack/react-table";
|
|
24
25
|
import j from "invariant";
|
|
25
26
|
import { useLocalObservable as ht } from "mobx-react-lite";
|
|
26
27
|
import { autorun as gt, runInAction as pt, makeObservable as ft, observable as k, computed as D, action as y } from "mobx";
|
|
27
28
|
import { getAsyncResource as P } from "@mittwald/react-use-promise";
|
|
28
29
|
import { u as R } from "./useSelector-DpU7_HMO.js";
|
|
29
|
-
import { P as bt } from "./PropsContextProvider-
|
|
30
|
+
import { P as bt } from "./PropsContextProvider-DkNLd3Yj.js";
|
|
30
31
|
import { W as St } from "./Wrap-DGT1h1o3.js";
|
|
31
|
-
import { L as yt } from "./Link-
|
|
32
|
-
import { I as Ct } from "./IconContextMenu-
|
|
32
|
+
import { L as yt } from "./Link-I6WUPEGi.js";
|
|
33
|
+
import { I as Ct } from "./IconContextMenu-BDvtrC86.js";
|
|
33
34
|
import { d as f, a as V } from "./deepFindOfType-6pG0fH7S.js";
|
|
34
|
-
import { I as vt } from "./InlineCode-
|
|
35
|
+
import { I as vt } from "./InlineCode-BV2i5uN0.js";
|
|
35
36
|
import { ListLoaderAsyncResource as Ft } from "./List/ListLoaderAsyncResource.js";
|
|
36
37
|
const J = Y({}), m = () => Z(J).list, Tt = (i) => /* @__PURE__ */ r.createElement(r.Fragment, null, i.children()), Et = () => m().loader.getLoaderInvocationHooks().map((t, e) => /* @__PURE__ */ r.createElement(Tt, { key: e }, () => {
|
|
37
38
|
t();
|
|
38
39
|
})), wt = (i) => {
|
|
39
40
|
const { sorting: t } = i;
|
|
40
|
-
return /* @__PURE__ */ r.createElement(
|
|
41
|
+
return /* @__PURE__ */ r.createElement(U, { id: t.getTableColumn().id }, t.name);
|
|
41
42
|
}, g = {
|
|
42
43
|
"de-DE": {
|
|
43
44
|
options: "Optionen",
|
|
@@ -75,7 +76,7 @@ const J = Y({}), m = () => Z(J).list, Tt = (i) => /* @__PURE__ */ r.createElemen
|
|
|
75
76
|
"setSorting"
|
|
76
77
|
) : /* @__PURE__ */ r.createElement(v, { locales: g }, "sorting"));
|
|
77
78
|
return /* @__PURE__ */ r.createElement(O.MenuTrigger, null, /* @__PURE__ */ r.createElement(h, { style: "soft", size: "s", variant: "secondary" }, a, /* @__PURE__ */ r.createElement($, null)), /* @__PURE__ */ r.createElement(
|
|
78
|
-
|
|
79
|
+
x,
|
|
79
80
|
{
|
|
80
81
|
selectionMode: "single",
|
|
81
82
|
selectedKeys: e ? [e.property] : [],
|
|
@@ -86,11 +87,11 @@ const J = Y({}), m = () => Z(J).list, Tt = (i) => /* @__PURE__ */ r.createElemen
|
|
|
86
87
|
t
|
|
87
88
|
));
|
|
88
89
|
}, It = (i) => {
|
|
89
|
-
const { filter: t } = i, e = t.values.map((n) => /* @__PURE__ */ r.createElement(
|
|
90
|
+
const { filter: t } = i, e = t.values.map((n) => /* @__PURE__ */ r.createElement(U, { key: t.getValueId(n), id: String(n) }, String(n))), a = t.values.filter((n) => t.isValueActive(n)).map((n) => String(n)), s = (n) => {
|
|
90
91
|
t.toggleValue(n);
|
|
91
92
|
};
|
|
92
93
|
return /* @__PURE__ */ r.createElement(O.MenuTrigger, null, /* @__PURE__ */ r.createElement(h, { style: "soft", size: "s", variant: "secondary" }, /* @__PURE__ */ r.createElement(b, null, t.name ?? t.property), /* @__PURE__ */ r.createElement($, null)), /* @__PURE__ */ r.createElement(
|
|
93
|
-
|
|
94
|
+
x,
|
|
94
95
|
{
|
|
95
96
|
onAction: s,
|
|
96
97
|
selectionMode: "multiple",
|
|
@@ -115,7 +116,7 @@ const J = Y({}), m = () => Z(J).list, Tt = (i) => /* @__PURE__ */ r.createElemen
|
|
|
115
116
|
onPress: () => e.deactivateValue(a)
|
|
116
117
|
},
|
|
117
118
|
/* @__PURE__ */ r.createElement(b, null, String(a)),
|
|
118
|
-
/* @__PURE__ */ r.createElement(
|
|
119
|
+
/* @__PURE__ */ r.createElement(it, null)
|
|
119
120
|
))
|
|
120
121
|
);
|
|
121
122
|
return t.length <= 0 ? null : /* @__PURE__ */ r.createElement("div", { className: N.activeFilters }, t, /* @__PURE__ */ r.createElement(
|
|
@@ -227,7 +228,7 @@ class Ut {
|
|
|
227
228
|
}
|
|
228
229
|
getReactTableFilterFn() {
|
|
229
230
|
return (t, e, a) => this.checkFilterMatches(
|
|
230
|
-
|
|
231
|
+
nt(t.original, this.property),
|
|
231
232
|
a
|
|
232
233
|
);
|
|
233
234
|
}
|
|
@@ -663,7 +664,7 @@ const le = "flow--list--footer", ce = {
|
|
|
663
664
|
t.format("showMore")
|
|
664
665
|
);
|
|
665
666
|
}, de = () => /* @__PURE__ */ r.createElement("div", { className: ce.footer }, /* @__PURE__ */ r.createElement(ue, null), /* @__PURE__ */ r.createElement(me, null));
|
|
666
|
-
function
|
|
667
|
+
function Ke(i) {
|
|
667
668
|
var L, I, B, A;
|
|
668
669
|
const { children: t, batchSize: e, ...a } = i, s = (L = f(t, se)) == null ? void 0 : L.props, n = (I = f(
|
|
669
670
|
t,
|
|
@@ -700,11 +701,11 @@ function qe(i) {
|
|
|
700
701
|
);
|
|
701
702
|
}
|
|
702
703
|
export {
|
|
703
|
-
|
|
704
|
+
Ke as List,
|
|
704
705
|
re as ListFilter,
|
|
705
706
|
ie as ListItemView,
|
|
706
707
|
se as ListLoaderAsync,
|
|
707
708
|
ne as ListSorting,
|
|
708
709
|
oe as ListStaticData,
|
|
709
|
-
|
|
710
|
+
Ke as default
|
|
710
711
|
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
/* */
|
|
3
|
+
import e from "react";
|
|
4
|
+
import * as i from "react-aria-components";
|
|
5
|
+
import p from "clsx";
|
|
6
|
+
import "./propsContext-CauylOgH.js";
|
|
7
|
+
import { P as u } from "./PropsContextProvider-DkNLd3Yj.js";
|
|
8
|
+
import "@react-aria/utils";
|
|
9
|
+
import "remeda";
|
|
10
|
+
import "@tabler/icons-react";
|
|
11
|
+
import "./Icon-CPAehMux.js";
|
|
12
|
+
import { I as f, a as I } from "./IconCheckboxEmpty-CuRg5vZt.js";
|
|
13
|
+
import { I as d, a as x } from "./IconRadioOn-CTDczjLJ.js";
|
|
14
|
+
import { T as l } from "./Text-BW9cNWaj.js";
|
|
15
|
+
import { d as E } from "./deepFindOfType-6pG0fH7S.js";
|
|
16
|
+
import { W as C } from "./Wrap-DGT1h1o3.js";
|
|
17
|
+
const h = "flow--menu-item", M = "flow--menu-item--icon", N = "flow--menu-item--text", c = {
|
|
18
|
+
menuItem: h,
|
|
19
|
+
icon: M,
|
|
20
|
+
text: N
|
|
21
|
+
}, T = (o, t) => !!E(o, t), k = (o) => {
|
|
22
|
+
const { selectionMode: t, isSelected: n, children: m } = o, r = {
|
|
23
|
+
Icon: {
|
|
24
|
+
className: c.icon
|
|
25
|
+
},
|
|
26
|
+
Text: {
|
|
27
|
+
className: c.text
|
|
28
|
+
}
|
|
29
|
+
}, s = t === "none" ? null : t === "single" && n ? /* @__PURE__ */ e.createElement(d, null) : t === "single" && !n ? /* @__PURE__ */ e.createElement(x, null) : t === "multiple" && n ? /* @__PURE__ */ e.createElement(f, null) : /* @__PURE__ */ e.createElement(I, null), a = T(m, l);
|
|
30
|
+
return /* @__PURE__ */ e.createElement(u, { props: r }, s, /* @__PURE__ */ e.createElement(C, { if: !a }, /* @__PURE__ */ e.createElement(l, null, m)));
|
|
31
|
+
}, j = (o) => {
|
|
32
|
+
const { children: t, className: n, ...m } = o, r = p(c.menuItem, n);
|
|
33
|
+
return /* @__PURE__ */ e.createElement(i.MenuItem, { ...m, className: r }, (s) => /* @__PURE__ */ e.createElement(k, { ...s }, t));
|
|
34
|
+
};
|
|
35
|
+
export {
|
|
36
|
+
j as M,
|
|
37
|
+
T as d
|
|
38
|
+
};
|
package/dist/MenuItem.js
ADDED
package/dist/Modal.js
CHANGED
|
@@ -5,7 +5,7 @@ import { DialogTrigger as q } from "react-aria-components";
|
|
|
5
5
|
import e, { useContext as w, useEffect as r } from "react";
|
|
6
6
|
import C from "clsx";
|
|
7
7
|
import "./propsContext-CauylOgH.js";
|
|
8
|
-
import { P as y } from "./PropsContextProvider-
|
|
8
|
+
import { P as y } from "./PropsContextProvider-DkNLd3Yj.js";
|
|
9
9
|
import "@react-aria/utils";
|
|
10
10
|
import "remeda";
|
|
11
11
|
import { TunnelProvider as E, TunnelExit as m } from "@mittwald/react-tunnel";
|
package/dist/Navigation.js
CHANGED
|
@@ -5,7 +5,7 @@ import c from "clsx";
|
|
|
5
5
|
import { d as g } from "./deepFindOfType-6pG0fH7S.js";
|
|
6
6
|
import { W as v } from "./Wrap-DGT1h1o3.js";
|
|
7
7
|
import "./propsContext-CauylOgH.js";
|
|
8
|
-
import { P as u } from "./PropsContextProvider-
|
|
8
|
+
import { P as u } from "./PropsContextProvider-DkNLd3Yj.js";
|
|
9
9
|
import "@react-aria/utils";
|
|
10
10
|
import "remeda";
|
|
11
11
|
const d = "flow--navigation--heading", f = "flow--navigation--item", N = "flow--navigation--icon", x = "flow--navigation--text", e = {
|