@mittwald/flow-react-components 0.1.0-alpha.123 → 0.1.0-alpha.125
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-_RIL6e38.js → Accordion-Bszrsi-4.js} +4 -4
- package/dist/Accordion.js +1 -1
- package/dist/Action-BLnSsHE1.js +233 -0
- package/dist/Action.js +1 -1
- package/dist/Avatar.js +2 -2
- package/dist/Breadcrumb.js +3 -3
- package/dist/{Button-DR7f1NA_.js → Button-tEtjVHFC.js} +6 -6
- package/dist/Button.js +1 -1
- package/dist/ButtonGroup.js +2 -2
- package/dist/{Checkbox-DSTuqNLy.js → Checkbox-CHueH9FZ.js} +4 -4
- package/dist/Checkbox.js +1 -1
- package/dist/{CheckboxButton-Bm2N9ipa.js → CheckboxButton-Ch3zxviG.js} +3 -3
- package/dist/CheckboxButton.js +1 -1
- package/dist/CheckboxGroup.js +4 -4
- package/dist/{Content-CPAYV7wp.js → Content-xPY804ey.js} +1 -1
- package/dist/Content.js +1 -1
- package/dist/{ContextMenu-BJSsIdCC.js → ContextMenu-ChxMleeO.js} +2 -2
- package/dist/ContextMenu.js +2 -2
- package/dist/CopyButton.js +5 -5
- package/dist/FieldDescription.js +2 -2
- package/dist/{FieldError-DVC26l1N.js → FieldError-Bl_SXH5M.js} +3 -3
- package/dist/FieldError.js +1 -1
- package/dist/Header-uOS96l33.js +11 -0
- package/dist/Header.js +3 -8
- package/dist/HeaderNavigation.js +1 -1
- package/dist/{Heading-CYit9Nf-.js → Heading-CSfMC_V6.js} +2 -2
- package/dist/Heading.js +1 -1
- package/dist/{Icon-C6Bydohi.js → Icon-DXq5lwp4.js} +1 -1
- package/dist/Icon.js +1 -1
- package/dist/{IconCheck-B6r2fhzR.js → IconCheck-BLXj9z4I.js} +1 -1
- package/dist/{IconCheckboxEmpty-D-ZA69l0.js → IconCheckboxEmpty-CseDZ77J.js} +1 -1
- package/dist/{IconCheckboxIndeterminate-D3WAKc2y.js → IconCheckboxIndeterminate-BdEkNKEg.js} +1 -1
- package/dist/{IconChevronDown-ACaPfsSX.js → IconChevronDown-DGMWVrr9.js} +1 -1
- package/dist/{IconChevronRight-CWSSKr0n.js → IconChevronRight-Sd5qEgz9.js} +1 -1
- package/dist/{IconClose-B-Y9GsPw.js → IconClose-BuJDcvk1.js} +1 -1
- package/dist/{IconContextMenu-Cv_ADP6x.js → IconContextMenu-BtDEfs_U.js} +1 -1
- package/dist/{IconCopy-DCQci8ab.js → IconCopy-Y4GR1Z03.js} +1 -1
- package/dist/{IconDanger-Cn_LiCtm.js → IconDanger-D3n1sEDX.js} +1 -1
- package/dist/{IconPending-BR4c3Kzy.js → IconPending-C0IPPa0F.js} +1 -1
- package/dist/{IconPlus-BsrhvkwU.js → IconPlus-BL-Zqbnv.js} +1 -1
- package/dist/{IconRadioOn-DZdc39yy.js → IconRadioOn-D0pCkmJ4.js} +1 -1
- package/dist/{IconSearch-CW9oIsXP.js → IconSearch-B9UA2NmT.js} +1 -1
- package/dist/{IconSucceeded-Cx_ggN9K.js → IconSucceeded-B4DEKa6J.js} +1 -1
- package/dist/{IconWarning-CDxShTt1.js → IconWarning-CmSsxAnH.js} +1 -1
- package/dist/Icons.js +16 -16
- package/dist/{IllustratedMessage-D1xVzeZO.js → IllustratedMessage-BUg2-svi.js} +1 -1
- package/dist/IllustratedMessage.js +1 -1
- package/dist/Image.js +1 -1
- package/dist/Initials.js +1 -1
- package/dist/InlineAlert.js +3 -3
- package/dist/{Label-DWCo1l63.js → Label-CfPzBQtx.js} +1 -1
- package/dist/Label.js +1 -1
- package/dist/LabeledValue.js +1 -1
- package/dist/LayoutCard.js +2 -2
- package/dist/{Link-BK57CeBv.js → Link-BNozTXoN.js} +2 -2
- package/dist/Link.js +1 -1
- package/dist/List.js +56 -55
- package/dist/{LoadingSpinner-DNkWB7I4.js → LoadingSpinner-smFm5pXR.js} +2 -2
- package/dist/LoadingSpinner.js +1 -1
- package/dist/{MenuItem-BwS3CR2k.js → MenuItem-CgrBX4na.js} +6 -6
- package/dist/MenuItem.js +1 -1
- package/dist/Modal.js +5 -5
- package/dist/Navigation.js +3 -3
- package/dist/NumberField.js +7 -7
- package/dist/OffCanvas.js +26 -21
- package/dist/Overlay-BWA78Wvu.js +33 -0
- package/dist/OverlayTrigger.js +3 -3
- package/dist/ProgressBar.js +1 -1
- package/dist/PropsContextProvider-ChpH8eF2.js +81 -0
- package/dist/RadioGroup.js +6 -6
- package/dist/Section.js +2 -2
- package/dist/Select.js +5 -5
- package/dist/StatusBadge.js +3 -3
- package/dist/{StatusIcon-p06hhuaM.js → StatusIcon-CzfeqAZQ.js} +3 -3
- package/dist/StatusIcon.js +1 -1
- package/dist/Switch.js +5 -5
- package/dist/Tabs.js +8 -8
- package/dist/{Text-DXApO_Re.js → Text-DOQUStg_.js} +2 -2
- package/dist/Text.js +1 -1
- package/dist/TextArea.js +2 -2
- package/dist/TextField.js +2 -2
- package/dist/{TextFieldBase-Dpzj-U88.js → TextFieldBase-B6lQlCmE.js} +2 -2
- package/dist/context-D3hdrTHO.js +58 -0
- package/dist/controller.js +1 -1
- package/dist/{flowComponent-Dha_9C4F.js → flowComponent-Cv_SURLH.js} +35 -34
- package/dist/hooks.js +10 -3
- package/dist/react-hook-form.js +2 -2
- package/dist/styles.css +1 -1
- package/dist/types/components/Action/Action.d.ts +2 -12
- package/dist/types/components/Action/components/ActionButton.d.ts +4 -0
- package/dist/types/components/Action/components/ActionLink.d.ts +4 -0
- package/dist/types/components/Action/components/ConfirmationModal.d.ts +4 -0
- package/dist/types/components/Action/components/ConfirmationModalButton.d.ts +4 -0
- package/dist/types/components/Action/context.d.ts +15 -0
- package/dist/types/components/Action/index.d.ts +1 -1
- package/dist/types/components/Action/lib/execution/ActionExecution.d.ts +4 -2
- package/dist/types/components/Action/lib/execution/ActionState.d.ts +1 -1
- package/dist/types/components/Action/lib/execution/useActionController.d.ts +2 -3
- package/dist/types/components/Action/stories/Default.stories.d.ts +1 -1
- package/dist/types/components/Action/stories/EdgeCases.stories.d.ts +1 -1
- package/dist/types/components/Action/types.d.ts +11 -0
- package/dist/types/components/Modal/Modal.d.ts +1 -0
- package/dist/types/components/OffCanvas/stories/EdgeCases.stories.d.ts +7 -0
- package/dist/types/components/Overlay/Overlay.d.ts +1 -0
- package/dist/types/lib/hooks/index.d.ts +1 -0
- package/dist/types/lib/hooks/useOnChange.d.ts +3 -0
- package/dist/types/lib/promises/sleep.d.ts +1 -0
- package/dist/{index-0qLHBjoi.js → useOverlayController-CGKumeGL.js} +10 -10
- package/package.json +30 -30
- package/dist/Action-5b_DWWiS.js +0 -191
- package/dist/Overlay-ofdfFqqi.js +0 -28
- package/dist/PropsContextProvider-DZvwqHLP.js +0 -64
- package/dist/context-DJetA3qV.js +0 -8
- package/dist/types/components/Action/lib/execution/breakAction.d.ts +0 -2
- package/dist/types/components/Action/lib/execution/useActionFunction.d.ts +0 -4
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
import e, { useState as E, useId as a } from "react";
|
|
4
4
|
import I from "clsx";
|
|
5
5
|
import "./propsContext-CauylOgH.js";
|
|
6
|
-
import { P as N } from "./PropsContextProvider-
|
|
6
|
+
import { P as N } from "./PropsContextProvider-ChpH8eF2.js";
|
|
7
7
|
import "@react-aria/utils";
|
|
8
8
|
import "remeda";
|
|
9
9
|
import { d } from "./dynamic-ClpUSmEt.js";
|
|
10
|
-
import { B as w } from "./Button-
|
|
10
|
+
import { B as w } from "./Button-tEtjVHFC.js";
|
|
11
11
|
import "@tabler/icons-react";
|
|
12
|
-
import "./Icon-
|
|
13
|
-
import { I as y } from "./IconChevronDown-
|
|
12
|
+
import "./Icon-DXq5lwp4.js";
|
|
13
|
+
import { I as y } from "./IconChevronDown-DGMWVrr9.js";
|
|
14
14
|
import { TunnelProvider as B, TunnelExit as C } from "@mittwald/react-tunnel";
|
|
15
15
|
import { A as P } from "./Activity-CmfZpgOM.js";
|
|
16
16
|
const A = "flow--accordion", b = "flow--accordion--header", g = "flow--accordion--header-button", D = "flow--accordion--content", T = "flow--accordion--content-inner", H = "flow--accordion--chevron", L = "flow--accordion--expanded", n = {
|
package/dist/Accordion.js
CHANGED
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
/* */
|
|
3
|
+
var $ = Object.defineProperty;
|
|
4
|
+
var N = (t, e, n) => e in t ? $(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
5
|
+
var l = (t, e, n) => (N(t, typeof e != "symbol" ? e + "" : e, n), n);
|
|
6
|
+
import r, { useEffect as W } from "react";
|
|
7
|
+
import { u as h, a as G, A as L } from "./context-D3hdrTHO.js";
|
|
8
|
+
import "./propsContext-CauylOgH.js";
|
|
9
|
+
import { P as M } from "./PropsContextProvider-ChpH8eF2.js";
|
|
10
|
+
import "@react-aria/utils";
|
|
11
|
+
import "remeda";
|
|
12
|
+
import { W as U } from "./Wrap-DGT1h1o3.js";
|
|
13
|
+
const u = () => {
|
|
14
|
+
}, j = (t, e = {}) => {
|
|
15
|
+
const {
|
|
16
|
+
onSync: n = u,
|
|
17
|
+
onAsync: o = u,
|
|
18
|
+
then: s = u,
|
|
19
|
+
catch: i = u,
|
|
20
|
+
finally: c = u
|
|
21
|
+
} = e;
|
|
22
|
+
try {
|
|
23
|
+
const a = t();
|
|
24
|
+
return a instanceof Promise ? (o(), a.then(s).catch(i).finally(c)) : (n(), s(a), c(), a);
|
|
25
|
+
} catch (a) {
|
|
26
|
+
n(), i(a), c();
|
|
27
|
+
}
|
|
28
|
+
}, P = (t) => new Promise((e) => setTimeout(e, t)), x = {
|
|
29
|
+
pending: 1e3,
|
|
30
|
+
succeeded: 1500,
|
|
31
|
+
failed: 2e3
|
|
32
|
+
};
|
|
33
|
+
class q {
|
|
34
|
+
constructor(e, n, o = {}) {
|
|
35
|
+
l(this, "options");
|
|
36
|
+
l(this, "state");
|
|
37
|
+
l(this, "args");
|
|
38
|
+
l(this, "isDone", !1);
|
|
39
|
+
l(this, "error");
|
|
40
|
+
const {
|
|
41
|
+
resetAfterDone: s = !0,
|
|
42
|
+
onFeedbackDone: i = () => {
|
|
43
|
+
},
|
|
44
|
+
showFeedback: c = !1,
|
|
45
|
+
resetDelayMs: a = 0
|
|
46
|
+
} = o;
|
|
47
|
+
this.state = e, this.args = n, this.options = {
|
|
48
|
+
resetAfterDone: s,
|
|
49
|
+
onFeedbackDone: i,
|
|
50
|
+
showFeedback: c,
|
|
51
|
+
resetDelayMs: a
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
onAsyncStart() {
|
|
55
|
+
this.options.showFeedback = !0, this.state.updateState("isExecuting"), setTimeout(() => this.startPending(), x.pending);
|
|
56
|
+
}
|
|
57
|
+
onSucceeded() {
|
|
58
|
+
return this.onDone();
|
|
59
|
+
}
|
|
60
|
+
async onFailed(e) {
|
|
61
|
+
this.error = e ?? new Error("Unknown error"), console.error(e), await this.onDone();
|
|
62
|
+
}
|
|
63
|
+
setResetDelay(e) {
|
|
64
|
+
this.options.resetDelayMs = e;
|
|
65
|
+
}
|
|
66
|
+
async startFailedFeedback() {
|
|
67
|
+
this.state.updateState("isFailed"), await P(x.failed), this.resetAfterDone();
|
|
68
|
+
}
|
|
69
|
+
async startSucceededFeedback() {
|
|
70
|
+
this.state.updateState("isSucceeded"), await P(x.succeeded), this.resetAfterDone();
|
|
71
|
+
}
|
|
72
|
+
resetAfterDone() {
|
|
73
|
+
setTimeout(() => {
|
|
74
|
+
this.options.resetAfterDone && this.state.updateState("isIdle"), this.error || this.options.onFeedbackDone(...this.args);
|
|
75
|
+
}, this.options.resetDelayMs);
|
|
76
|
+
}
|
|
77
|
+
async onDone() {
|
|
78
|
+
this.isDone = !0, this.options.showFeedback ? this.error ? await this.startFailedFeedback() : await this.startSucceededFeedback() : this.resetAfterDone();
|
|
79
|
+
}
|
|
80
|
+
startPending() {
|
|
81
|
+
this.isDone || this.state.updateState("isPending");
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
const v = (t) => (...e) => {
|
|
85
|
+
const n = [...t], o = n.shift();
|
|
86
|
+
if (o) {
|
|
87
|
+
const s = o(...e), i = () => n.length === 0 ? s : v(n)(...e);
|
|
88
|
+
return s instanceof Promise ? s.then(i) : i();
|
|
89
|
+
}
|
|
90
|
+
}, z = () => {
|
|
91
|
+
}, b = () => {
|
|
92
|
+
var n;
|
|
93
|
+
const t = h(), e = t.actionProps.confirm || t.actionProps.abort ? ((n = t.parentContext) == null ? void 0 : n.state) ?? t.state : t.state;
|
|
94
|
+
return {
|
|
95
|
+
state: e,
|
|
96
|
+
execute: async (...o) => {
|
|
97
|
+
var D;
|
|
98
|
+
const {
|
|
99
|
+
actionProps: s,
|
|
100
|
+
confirmationModalController: i,
|
|
101
|
+
needsConfirmation: c,
|
|
102
|
+
parentContext: a
|
|
103
|
+
} = t;
|
|
104
|
+
if (s.abort) {
|
|
105
|
+
(D = a == null ? void 0 : a.confirmationModalController) == null || D.close();
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
108
|
+
if (c && !i.isOpen) {
|
|
109
|
+
i.open();
|
|
110
|
+
return;
|
|
111
|
+
}
|
|
112
|
+
const f = new q(e, o, s), A = [];
|
|
113
|
+
let d, p, m = t;
|
|
114
|
+
for (; m; ) {
|
|
115
|
+
const {
|
|
116
|
+
actionProps: C,
|
|
117
|
+
overlayController: B,
|
|
118
|
+
confirmationModalController: E,
|
|
119
|
+
needsConfirmation: R
|
|
120
|
+
} = m, {
|
|
121
|
+
action: S,
|
|
122
|
+
toggleOverlay: g,
|
|
123
|
+
openOverlay: F,
|
|
124
|
+
closeOverlay: w,
|
|
125
|
+
break: T
|
|
126
|
+
} = C;
|
|
127
|
+
if (T)
|
|
128
|
+
break;
|
|
129
|
+
if (R)
|
|
130
|
+
if (d) {
|
|
131
|
+
p = E;
|
|
132
|
+
break;
|
|
133
|
+
} else
|
|
134
|
+
d = E;
|
|
135
|
+
const y = (k) => typeof k == "boolean" ? B : k;
|
|
136
|
+
A.push(
|
|
137
|
+
S || (g ? y(g).toggle : F ? y(F).open : w ? y(w).close : z)
|
|
138
|
+
), m = m.parentContext;
|
|
139
|
+
}
|
|
140
|
+
const O = v(A);
|
|
141
|
+
f.setResetDelay(
|
|
142
|
+
d ? 500 : 0
|
|
143
|
+
), await j(() => O(o), {
|
|
144
|
+
onAsync: () => f.onAsyncStart(),
|
|
145
|
+
then: async () => {
|
|
146
|
+
await f.onSucceeded(), p && p.open(), d && d.close();
|
|
147
|
+
},
|
|
148
|
+
catch: (C) => f.onFailed(C)
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
};
|
|
152
|
+
}, I = (t, e) => {
|
|
153
|
+
const { actionProps: n, needsConfirmation: o } = h(), s = b(), i = s.state.useState();
|
|
154
|
+
return o ? /* @__PURE__ */ r.createElement(t, { ...e, onPress: s.execute }) : n.abort ? /* @__PURE__ */ r.createElement(
|
|
155
|
+
t,
|
|
156
|
+
{
|
|
157
|
+
...e,
|
|
158
|
+
onPress: s.execute,
|
|
159
|
+
"aria-disabled": i !== "isIdle"
|
|
160
|
+
}
|
|
161
|
+
) : /* @__PURE__ */ r.createElement(
|
|
162
|
+
t,
|
|
163
|
+
{
|
|
164
|
+
...e,
|
|
165
|
+
onPress: s.execute,
|
|
166
|
+
isPending: i === "isPending",
|
|
167
|
+
"aria-disabled": i === "isExecuting",
|
|
168
|
+
isSucceeded: i === "isSucceeded",
|
|
169
|
+
isFailed: i === "isFailed"
|
|
170
|
+
}
|
|
171
|
+
);
|
|
172
|
+
}, H = (t, e) => {
|
|
173
|
+
const { needsConfirmation: n } = h(), o = b(), s = o.state.useState();
|
|
174
|
+
return n ? /* @__PURE__ */ r.createElement(t, { ...e, onPress: o.execute }) : /* @__PURE__ */ r.createElement(
|
|
175
|
+
t,
|
|
176
|
+
{
|
|
177
|
+
...e,
|
|
178
|
+
onPress: o.execute,
|
|
179
|
+
"aria-disabled": s !== "isIdle"
|
|
180
|
+
}
|
|
181
|
+
);
|
|
182
|
+
}, J = (t, e) => {
|
|
183
|
+
const n = e.color === "secondary", o = e.color === "primary" || e.color === "danger" || e.color === "accent";
|
|
184
|
+
if (!o && !n)
|
|
185
|
+
return /* @__PURE__ */ r.createElement(t, { ...e });
|
|
186
|
+
const s = { Button: { render: I } };
|
|
187
|
+
return /* @__PURE__ */ r.createElement(M, { props: s }, /* @__PURE__ */ r.createElement(Q, { abort: n, confirm: o }, /* @__PURE__ */ r.createElement(t, { ...e })));
|
|
188
|
+
}, K = (t, e) => {
|
|
189
|
+
if (e.slot !== "actionConfirm")
|
|
190
|
+
return /* @__PURE__ */ r.createElement(t, { ...e });
|
|
191
|
+
const n = h(), o = b().state.useState();
|
|
192
|
+
W(() => (n.needsConfirmation = !0, () => {
|
|
193
|
+
n.needsConfirmation = !1;
|
|
194
|
+
}), [n]);
|
|
195
|
+
const s = o === "isIdle" ? e.isDismissable : !1;
|
|
196
|
+
return /* @__PURE__ */ r.createElement(
|
|
197
|
+
t,
|
|
198
|
+
{
|
|
199
|
+
...e,
|
|
200
|
+
controller: n.confirmationModalController,
|
|
201
|
+
isDismissable: s
|
|
202
|
+
}
|
|
203
|
+
);
|
|
204
|
+
}, Q = (t) => {
|
|
205
|
+
const { children: e, ...n } = t, o = G(n), s = !!o.parentContext && !!o.parentContext.parentContext, i = {
|
|
206
|
+
Modal: {
|
|
207
|
+
render: K,
|
|
208
|
+
ButtonGroup: {
|
|
209
|
+
Button: {
|
|
210
|
+
render: J
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
Button: {
|
|
215
|
+
render: I
|
|
216
|
+
},
|
|
217
|
+
Link: {
|
|
218
|
+
render: H
|
|
219
|
+
}
|
|
220
|
+
};
|
|
221
|
+
return /* @__PURE__ */ r.createElement(L, { value: o }, /* @__PURE__ */ r.createElement(U, { if: !s }, /* @__PURE__ */ r.createElement(
|
|
222
|
+
M,
|
|
223
|
+
{
|
|
224
|
+
props: i,
|
|
225
|
+
dependencies: [o],
|
|
226
|
+
mergeInParentContext: !0
|
|
227
|
+
},
|
|
228
|
+
e
|
|
229
|
+
)));
|
|
230
|
+
};
|
|
231
|
+
export {
|
|
232
|
+
Q as A
|
|
233
|
+
};
|
package/dist/Action.js
CHANGED
package/dist/Avatar.js
CHANGED
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
import i, { isValidElement as p } from "react";
|
|
4
4
|
import v from "clsx";
|
|
5
5
|
import { C as c } from "./ClearPropsContext-CeCMjUK9.js";
|
|
6
|
-
import { P as f } from "./PropsContextProvider-
|
|
6
|
+
import { P as f } from "./PropsContextProvider-ChpH8eF2.js";
|
|
7
7
|
import "@react-aria/utils";
|
|
8
8
|
import "./propsContext-CauylOgH.js";
|
|
9
9
|
import "remeda";
|
|
10
10
|
import { hash as w } from "object-code";
|
|
11
11
|
import { deepForEach as z } from "react-children-utilities";
|
|
12
|
-
import { f as d } from "./flowComponent-
|
|
12
|
+
import { f as d } from "./flowComponent-Cv_SURLH.js";
|
|
13
13
|
const C = "flow--avatar", h = "flow--avatar--icon", x = "flow--avatar--initials", r = {
|
|
14
14
|
avatar: C,
|
|
15
15
|
icon: h,
|
package/dist/Breadcrumb.js
CHANGED
|
@@ -4,10 +4,10 @@ import r from "react";
|
|
|
4
4
|
import * as m from "react-aria-components";
|
|
5
5
|
import a from "clsx";
|
|
6
6
|
import "@tabler/icons-react";
|
|
7
|
-
import "./Icon-
|
|
8
|
-
import { I as u } from "./IconChevronRight-
|
|
7
|
+
import "./Icon-DXq5lwp4.js";
|
|
8
|
+
import { I as u } from "./IconChevronRight-Sd5qEgz9.js";
|
|
9
9
|
import "./propsContext-CauylOgH.js";
|
|
10
|
-
import { P as p } from "./PropsContextProvider-
|
|
10
|
+
import { P as p } from "./PropsContextProvider-ChpH8eF2.js";
|
|
11
11
|
import "@react-aria/utils";
|
|
12
12
|
import "remeda";
|
|
13
13
|
const f = "flow--breadcrumb", k = "flow--breadcrumb--link", h = "flow--breadcrumb--breadcrumb-item", N = "flow--breadcrumb--icon", w = "flow--breadcrumb--dark", E = "flow--breadcrumb--light", e = {
|
|
@@ -4,17 +4,17 @@ import o, { useEffect as x } from "react";
|
|
|
4
4
|
import * as F from "react-aria-components";
|
|
5
5
|
import E from "clsx";
|
|
6
6
|
import { C as y } from "./ClearPropsContext-CeCMjUK9.js";
|
|
7
|
-
import { P as h } from "./PropsContextProvider-
|
|
7
|
+
import { P as h } from "./PropsContextProvider-ChpH8eF2.js";
|
|
8
8
|
import "@react-aria/utils";
|
|
9
9
|
import "./propsContext-CauylOgH.js";
|
|
10
10
|
import "remeda";
|
|
11
11
|
import "@tabler/icons-react";
|
|
12
|
-
import "./Icon-
|
|
13
|
-
import { I as C, a as I } from "./IconSucceeded-
|
|
12
|
+
import "./Icon-DXq5lwp4.js";
|
|
13
|
+
import { I as C, a as I } from "./IconSucceeded-B4DEKa6J.js";
|
|
14
14
|
import { W as u } from "./Wrap-DGT1h1o3.js";
|
|
15
|
-
import { T as N } from "./Text-
|
|
16
|
-
import { f as k } from "./flowComponent-
|
|
17
|
-
import { L as A } from "./LoadingSpinner-
|
|
15
|
+
import { T as N } from "./Text-DOQUStg_.js";
|
|
16
|
+
import { f as k } from "./flowComponent-Cv_SURLH.js";
|
|
17
|
+
import { L as A } from "./LoadingSpinner-smFm5pXR.js";
|
|
18
18
|
import { useLocalizedStringFormatter as D } from "react-aria";
|
|
19
19
|
import { useLiveRegion as T } from "@chakra-ui/live-region";
|
|
20
20
|
const z = "flow--button", B = "flow--button--content", L = "flow--button--state-icon", R = "flow--button--avatar", K = "flow--button--icon", U = "flow--button--text", W = "flow--button--is-succeeded", $ = "flow--button--is-failed", j = "flow--button--is-pending", q = "flow--button--plain", G = "flow--button--primary", H = "flow--button--solid", J = "flow--button--aria-disabled", M = "flow--button--accent", O = "flow--button--danger", Q = "flow--button--secondary", V = "flow--button--dark", X = "flow--button--light", Y = "flow--button--soft", t = {
|
package/dist/Button.js
CHANGED
package/dist/ButtonGroup.js
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import o from "react";
|
|
4
4
|
import { C as l } from "./ClearPropsContext-CeCMjUK9.js";
|
|
5
|
-
import { P as i } from "./PropsContextProvider-
|
|
5
|
+
import { P as i } from "./PropsContextProvider-ChpH8eF2.js";
|
|
6
6
|
import "@react-aria/utils";
|
|
7
7
|
import "./propsContext-CauylOgH.js";
|
|
8
8
|
import "remeda";
|
|
9
9
|
import { d as b } from "./dynamic-ClpUSmEt.js";
|
|
10
10
|
import r from "clsx";
|
|
11
|
-
import { f } from "./flowComponent-
|
|
11
|
+
import { f } from "./flowComponent-Cv_SURLH.js";
|
|
12
12
|
const d = "flow--button-group--button-group-container", C = "flow--button-group", G = "flow--button-group--button", y = "flow--button-group--secondary", t = {
|
|
13
13
|
buttonGroupContainer: d,
|
|
14
14
|
buttonGroup: C,
|
|
@@ -4,15 +4,15 @@ import e from "react";
|
|
|
4
4
|
import * as i from "react-aria-components";
|
|
5
5
|
import p from "clsx";
|
|
6
6
|
import "@tabler/icons-react";
|
|
7
|
-
import "./Icon-
|
|
8
|
-
import { I as x, a as f } from "./IconCheckboxEmpty-
|
|
9
|
-
import { I as h } from "./IconCheckboxIndeterminate-
|
|
7
|
+
import "./Icon-DXq5lwp4.js";
|
|
8
|
+
import { I as x, a as f } from "./IconCheckboxEmpty-CseDZ77J.js";
|
|
9
|
+
import { I as h } from "./IconCheckboxIndeterminate-BdEkNKEg.js";
|
|
10
10
|
import { C } from "./ClearPropsContext-CeCMjUK9.js";
|
|
11
11
|
import "./propsContext-CauylOgH.js";
|
|
12
12
|
import "@react-aria/utils";
|
|
13
13
|
import "remeda";
|
|
14
14
|
import "dot-prop";
|
|
15
|
-
import { f as k } from "./flowComponent-
|
|
15
|
+
import { f as k } from "./flowComponent-Cv_SURLH.js";
|
|
16
16
|
const b = "flow--checkbox", E = "flow--checkbox--icon", o = {
|
|
17
17
|
checkbox: b,
|
|
18
18
|
icon: E
|
package/dist/Checkbox.js
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
import o from "react";
|
|
4
4
|
import m from "clsx";
|
|
5
5
|
import { C as p } from "./ClearPropsContext-CeCMjUK9.js";
|
|
6
|
-
import { P as b } from "./PropsContextProvider-
|
|
6
|
+
import { P as b } from "./PropsContextProvider-ChpH8eF2.js";
|
|
7
7
|
import "@react-aria/utils";
|
|
8
8
|
import "./propsContext-CauylOgH.js";
|
|
9
9
|
import "remeda";
|
|
10
|
-
import { C as x } from "./Checkbox-
|
|
11
|
-
import { f } from "./flowComponent-
|
|
10
|
+
import { C as x } from "./Checkbox-CHueH9FZ.js";
|
|
11
|
+
import { f } from "./flowComponent-Cv_SURLH.js";
|
|
12
12
|
const C = "flow--checkbox-button", i = "flow--checkbox-button--label", h = "flow--checkbox-button--content", t = {
|
|
13
13
|
checkboxButton: C,
|
|
14
14
|
label: i,
|
package/dist/CheckboxButton.js
CHANGED
package/dist/CheckboxGroup.js
CHANGED
|
@@ -4,16 +4,16 @@ import e from "react";
|
|
|
4
4
|
import * as x from "react-aria-components";
|
|
5
5
|
import b from "clsx";
|
|
6
6
|
import "./propsContext-CauylOgH.js";
|
|
7
|
-
import { P as h } from "./PropsContextProvider-
|
|
7
|
+
import { P as h } from "./PropsContextProvider-ChpH8eF2.js";
|
|
8
8
|
import "@react-aria/utils";
|
|
9
9
|
import "remeda";
|
|
10
|
-
import { F as E } from "./FieldError-
|
|
11
|
-
import { C as k } from "./CheckboxButton-
|
|
10
|
+
import { F as E } from "./FieldError-Bl_SXH5M.js";
|
|
11
|
+
import { C as k } from "./CheckboxButton-Ch3zxviG.js";
|
|
12
12
|
import { TunnelProvider as C, TunnelExit as r } from "@mittwald/react-tunnel";
|
|
13
13
|
import { s as o } from "./FormField.module-DHK6nIcD.js";
|
|
14
14
|
import { C as N } from "./ColumnLayout-FMONjI17.js";
|
|
15
15
|
import { d as F } from "./deepFindOfType-6pG0fH7S.js";
|
|
16
|
-
import { f as G } from "./flowComponent-
|
|
16
|
+
import { f as G } from "./flowComponent-Cv_SURLH.js";
|
|
17
17
|
const P = "flow--checkbox-group", s = {
|
|
18
18
|
checkboxGroup: P
|
|
19
19
|
}, j = G("CheckboxGroup", (l) => {
|
|
@@ -6,7 +6,7 @@ import "./propsContext-CauylOgH.js";
|
|
|
6
6
|
import "@react-aria/utils";
|
|
7
7
|
import "remeda";
|
|
8
8
|
import "dot-prop";
|
|
9
|
-
import { f as l } from "./flowComponent-
|
|
9
|
+
import { f as l } from "./flowComponent-Cv_SURLH.js";
|
|
10
10
|
import { W as s } from "./Wrap-DGT1h1o3.js";
|
|
11
11
|
import { A as f } from "./Activity-CmfZpgOM.js";
|
|
12
12
|
const W = l("Content", (e) => {
|
package/dist/Content.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import * as u from "react-aria-components";
|
|
5
|
-
import { f as d } from "./flowComponent-
|
|
5
|
+
import { f as d } from "./flowComponent-Cv_SURLH.js";
|
|
6
6
|
import { P as x } from "./Popover-B6bARCOK.js";
|
|
7
7
|
import { C } from "./ClearPropsContext-CeCMjUK9.js";
|
|
8
|
-
import { P as M } from "./PropsContextProvider-
|
|
8
|
+
import { P as M } from "./PropsContextProvider-ChpH8eF2.js";
|
|
9
9
|
import "@react-aria/utils";
|
|
10
10
|
import "./propsContext-CauylOgH.js";
|
|
11
11
|
import "remeda";
|
package/dist/ContextMenu.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
|
-
import { C as r } from "./ContextMenu-
|
|
4
|
-
import { M as n } from "./MenuItem-
|
|
3
|
+
import { C as r } from "./ContextMenu-ChxMleeO.js";
|
|
4
|
+
import { M as n } from "./MenuItem-CgrBX4na.js";
|
|
5
5
|
import { MenuTrigger as m } from "react-aria-components";
|
|
6
6
|
export {
|
|
7
7
|
r as ContextMenu,
|
package/dist/CopyButton.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import o from "react";
|
|
4
4
|
import a from "copy-to-clipboard";
|
|
5
|
-
import { B as i } from "./Button-
|
|
5
|
+
import { B as i } from "./Button-tEtjVHFC.js";
|
|
6
6
|
import "@tabler/icons-react";
|
|
7
|
-
import "./Icon-
|
|
8
|
-
import { I as c } from "./IconCopy-
|
|
7
|
+
import "./Icon-DXq5lwp4.js";
|
|
8
|
+
import { I as c } from "./IconCopy-Y4GR1Z03.js";
|
|
9
9
|
import { useLocalizedStringFormatter as l } from "react-aria";
|
|
10
10
|
import { a as s, T as f } from "./TooltipTrigger-TslkLN5s.js";
|
|
11
11
|
import { onlyText as u } from "react-children-utilities";
|
|
@@ -14,8 +14,8 @@ import "./propsContext-CauylOgH.js";
|
|
|
14
14
|
import "@react-aria/utils";
|
|
15
15
|
import "remeda";
|
|
16
16
|
import "dot-prop";
|
|
17
|
-
import { f as C } from "./flowComponent-
|
|
18
|
-
import { A as E } from "./Action-
|
|
17
|
+
import { f as C } from "./flowComponent-Cv_SURLH.js";
|
|
18
|
+
import { A as E } from "./Action-BLnSsHE1.js";
|
|
19
19
|
const B = {
|
|
20
20
|
"de-DE": {
|
|
21
21
|
"copyButton.copy": "Kopieren"
|
package/dist/FieldDescription.js
CHANGED
|
@@ -7,8 +7,8 @@ import "./propsContext-CauylOgH.js";
|
|
|
7
7
|
import "@react-aria/utils";
|
|
8
8
|
import "remeda";
|
|
9
9
|
import "dot-prop";
|
|
10
|
-
import { T as p } from "./Text-
|
|
11
|
-
import { f as c } from "./flowComponent-
|
|
10
|
+
import { T as p } from "./Text-DOQUStg_.js";
|
|
11
|
+
import { f as c } from "./flowComponent-Cv_SURLH.js";
|
|
12
12
|
const a = "flow--field-description", f = {
|
|
13
13
|
fieldDescription: a
|
|
14
14
|
}, P = c("FieldDescription", (o) => {
|
|
@@ -9,9 +9,9 @@ import "@react-aria/utils";
|
|
|
9
9
|
import "remeda";
|
|
10
10
|
import "dot-prop";
|
|
11
11
|
import "@tabler/icons-react";
|
|
12
|
-
import "./Icon-
|
|
13
|
-
import { I as c } from "./IconDanger-
|
|
14
|
-
import { f } from "./flowComponent-
|
|
12
|
+
import "./Icon-DXq5lwp4.js";
|
|
13
|
+
import { I as c } from "./IconDanger-D3n1sEDX.js";
|
|
14
|
+
import { f } from "./flowComponent-Cv_SURLH.js";
|
|
15
15
|
const E = "flow--field-error", d = {
|
|
16
16
|
fieldError: E
|
|
17
17
|
}, y = f("FieldError", (o) => {
|
package/dist/FieldError.js
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
/* */
|
|
3
|
+
import a from "react";
|
|
4
|
+
import { f as c } from "./flowComponent-Cv_SURLH.js";
|
|
5
|
+
const s = c("Header", (e) => {
|
|
6
|
+
const { children: r, refProp: t, elementType: o = "header", ...n } = e, m = o;
|
|
7
|
+
return /* @__PURE__ */ a.createElement(m, { ...n, ref: t }, r);
|
|
8
|
+
});
|
|
9
|
+
export {
|
|
10
|
+
s as H
|
|
11
|
+
};
|
package/dist/Header.js
CHANGED
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
|
-
import
|
|
4
|
-
import { f } from "./flowComponent-Dha_9C4F.js";
|
|
5
|
-
const p = f("Header", (e) => {
|
|
6
|
-
const { children: r, refProp: t, elementType: o = "header", ...n } = e, a = o;
|
|
7
|
-
return /* @__PURE__ */ m.createElement(a, { ...n, ref: t }, r);
|
|
8
|
-
});
|
|
3
|
+
import { H as e } from "./Header-uOS96l33.js";
|
|
9
4
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
e as Header,
|
|
6
|
+
e as default
|
|
12
7
|
};
|
package/dist/HeaderNavigation.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import "./propsContext-CauylOgH.js";
|
|
5
|
-
import { P as d } from "./PropsContextProvider-
|
|
5
|
+
import { P as d } from "./PropsContextProvider-ChpH8eF2.js";
|
|
6
6
|
import "@react-aria/utils";
|
|
7
7
|
import "remeda";
|
|
8
8
|
import u from "clsx";
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
import e from "react";
|
|
4
4
|
import d from "clsx";
|
|
5
5
|
import { C as f } from "./ClearPropsContext-CeCMjUK9.js";
|
|
6
|
-
import { P as g } from "./PropsContextProvider-
|
|
6
|
+
import { P as g } from "./PropsContextProvider-ChpH8eF2.js";
|
|
7
7
|
import "@react-aria/utils";
|
|
8
8
|
import "./propsContext-CauylOgH.js";
|
|
9
9
|
import "remeda";
|
|
10
|
-
import { f as p } from "./flowComponent-
|
|
10
|
+
import { f as p } from "./flowComponent-Cv_SURLH.js";
|
|
11
11
|
import * as w from "react-aria-components";
|
|
12
12
|
const C = "flow--heading", x = "flow--heading--dark", P = "flow--heading--light", u = "flow--heading--icon", H = "flow--heading--h1", N = "flow--heading--h2", k = "flow--heading--h3", v = "flow--heading--h4", E = "flow--heading--h5", y = "flow--heading--h6", o = {
|
|
13
13
|
heading: C,
|
package/dist/Heading.js
CHANGED
|
@@ -8,7 +8,7 @@ import "./propsContext-CauylOgH.js";
|
|
|
8
8
|
import "@react-aria/utils";
|
|
9
9
|
import "remeda";
|
|
10
10
|
import "dot-prop";
|
|
11
|
-
import { f as z } from "./flowComponent-
|
|
11
|
+
import { f as z } from "./flowComponent-Cv_SURLH.js";
|
|
12
12
|
const b = "flow--icon", c = {
|
|
13
13
|
icon: b,
|
|
14
14
|
"size-m": "flow--icon--size-m",
|
package/dist/Icon.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import { IconCheck as c } from "@tabler/icons-react";
|
|
5
|
-
import { I as t } from "./Icon-
|
|
5
|
+
import { I as t } from "./Icon-DXq5lwp4.js";
|
|
6
6
|
const a = (o) => /* @__PURE__ */ e.createElement(t, { ...o }, /* @__PURE__ */ e.createElement(c, null));
|
|
7
7
|
export {
|
|
8
8
|
a as I
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import { IconSquareCheckFilled as t, IconSquare as n } from "@tabler/icons-react";
|
|
5
|
-
import { I as o } from "./Icon-
|
|
5
|
+
import { I as o } from "./Icon-DXq5lwp4.js";
|
|
6
6
|
const l = (c) => /* @__PURE__ */ e.createElement(o, { ...c }, /* @__PURE__ */ e.createElement(t, null)), I = (c) => /* @__PURE__ */ e.createElement(o, { ...c }, /* @__PURE__ */ e.createElement(n, null));
|
|
7
7
|
export {
|
|
8
8
|
l as I,
|
package/dist/{IconCheckboxIndeterminate-D3WAKc2y.js → IconCheckboxIndeterminate-BdEkNKEg.js}
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import { IconSquareMinusFilled as t } from "@tabler/icons-react";
|
|
5
|
-
import { I as r } from "./Icon-
|
|
5
|
+
import { I as r } from "./Icon-DXq5lwp4.js";
|
|
6
6
|
const a = (o) => /* @__PURE__ */ e.createElement(r, { ...o }, /* @__PURE__ */ e.createElement(t, null));
|
|
7
7
|
export {
|
|
8
8
|
a as I
|