@mittwald/flow-react-components 0.1.0-alpha.129 → 0.1.0-alpha.130
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-ws4Zm_8c.js → Accordion-DCF5pndY.js} +3 -3
- package/dist/Accordion.js +1 -1
- package/dist/{Action-BPEu-X47.js → Action-BEj0DaMW.js} +12 -13
- package/dist/Action.js +1 -1
- package/dist/{ActionStateContext-B4ZIqu_K.js → ActionStateContext-DgYU9Rnp.js} +6 -6
- package/dist/Avatar.js +1 -1
- package/dist/Breadcrumb.js +2 -2
- package/dist/{Button-54Eoq_9o.js → Button-ugpFrd4i.js} +5 -5
- package/dist/Button.js +1 -1
- package/dist/ButtonGroup.js +1 -1
- package/dist/{Checkbox-DKGPBvfB.js → Checkbox-CNXEDjTP.js} +4 -4
- package/dist/Checkbox.js +1 -1
- package/dist/{CheckboxButton-Dq2LZ-cZ.js → CheckboxButton-DbL1oHMJ.js} +2 -2
- package/dist/CheckboxButton.js +1 -1
- package/dist/CheckboxGroup.js +3 -3
- package/dist/{Content-CqXiq55k.js → Content-DLTJiHxq.js} +1 -1
- package/dist/Content.js +1 -1
- package/dist/ContextMenu.js +6 -6
- package/dist/ContextMenuTrigger-XhsauPpO.js +53 -0
- package/dist/CopyButton.js +5 -5
- package/dist/CounterLabel.js +1 -1
- package/dist/FieldDescription.js +2 -2
- package/dist/{FieldError-B-DZZKmM.js → FieldError-CWapn667.js} +3 -3
- package/dist/FieldError.js +1 -1
- package/dist/{Header-CNcwT0A-.js → Header-Z2hdgqM8.js} +1 -1
- package/dist/Header.js +1 -1
- package/dist/{Heading-BoOpj4Y4.js → Heading-D5RPXOtd.js} +1 -1
- package/dist/Heading.js +1 -1
- package/dist/{Icon-BwDd2GzD.js → Icon-Ci5H-KV6.js} +1 -1
- package/dist/Icon.js +1 -1
- package/dist/{IconCheck-B3-gj5Z4.js → IconCheck-CdIR25HV.js} +1 -1
- package/dist/{IconCheckboxEmpty-DL20lMih.js → IconCheckboxEmpty-DRE2wDH8.js} +1 -1
- package/dist/{IconCheckboxIndeterminate-DEX0y_6i.js → IconCheckboxIndeterminate-DYTHmZFh.js} +1 -1
- package/dist/{IconChevronDown-xHLf7Pku.js → IconChevronDown-BP41wlBT.js} +1 -1
- package/dist/{IconChevronRight-D4wPdDfY.js → IconChevronRight-l6sW9wTt.js} +1 -1
- package/dist/{IconClose-D5lPIOIs.js → IconClose-DVP_Qv8m.js} +1 -1
- package/dist/{IconContextMenu-Bf-D1luy.js → IconContextMenu-BUgHqW4W.js} +1 -1
- package/dist/{IconCopy-B_1cohk1.js → IconCopy-ClDyyDhZ.js} +1 -1
- package/dist/{IconDanger-9AHctjFi.js → IconDanger-DQIxRASm.js} +1 -1
- package/dist/{IconPending-DDMMJh8P.js → IconPending-J_m_dK-r.js} +1 -1
- package/dist/{IconPlus-DIghO9AS.js → IconPlus-Cn3XtbZt.js} +1 -1
- package/dist/{IconRadioOn-CQ6Wifij.js → IconRadioOn-DbtcS_u-.js} +1 -1
- package/dist/{IconSearch-DB2-YIVR.js → IconSearch-BIeg2srW.js} +1 -1
- package/dist/{IconSucceeded-14t0usjT.js → IconSucceeded-Bp1dZJsK.js} +1 -1
- package/dist/{IconWarning-Cxwzhq8-.js → IconWarning-CtOquJNo.js} +1 -1
- package/dist/Icons.js +16 -16
- package/dist/Image.js +1 -1
- package/dist/Initials.js +1 -1
- package/dist/InlineAlert.js +2 -2
- package/dist/{Label-BuZlD5RR.js → Label-DK2NrCvH.js} +1 -1
- package/dist/Label.js +1 -1
- package/dist/LayoutCard.js +1 -1
- package/dist/{Link-CUdps5_K.js → Link-D3Rqb37I.js} +1 -1
- package/dist/Link.js +1 -1
- package/dist/List.js +50 -50
- package/dist/{LoadingSpinner-qv2jHNni.js → LoadingSpinner-zDn2j40q.js} +2 -2
- package/dist/LoadingSpinner.js +1 -1
- package/dist/{MenuItem-BJwqcaQl.js → MenuItem-ctUBEtsb.js} +5 -5
- package/dist/MenuItem.js +1 -1
- package/dist/Modal.js +24 -25
- package/dist/{Overlay-BWA78Wvu.js → ModalOverlay-avQVl0sO.js} +11 -11
- package/dist/Navigation.js +2 -2
- package/dist/NumberField.js +6 -6
- package/dist/OffCanvas.js +19 -18
- package/dist/{OverlayTrigger.js → OverlayTrigger-CLH4ywV9.js} +4 -5
- package/dist/Popover-9mCGBlbH.js +41 -0
- package/dist/RadioGroup.js +5 -5
- package/dist/Render-BdlTa7Qb.js +7 -0
- package/dist/Render.js +6 -0
- package/dist/Section.js +1 -1
- package/dist/Select.js +27 -22
- package/dist/StatusBadge.js +3 -3
- package/dist/{StatusIcon-CvKvGN7C.js → StatusIcon-ONng__8h.js} +3 -3
- package/dist/StatusIcon.js +1 -1
- package/dist/Switch.js +5 -5
- package/dist/Tabs.js +21 -22
- package/dist/{Text-cmKqNaYE.js → Text-XD87outZ.js} +1 -1
- package/dist/Text.js +1 -1
- package/dist/TextArea.js +2 -2
- package/dist/TextField.js +2 -2
- package/dist/{TextFieldBase-CVi18EEt.js → TextFieldBase-CPkNBe7W.js} +1 -1
- package/dist/controller.js +1 -1
- package/dist/{flowComponent-DHBRxUvd.js → flowComponent-bouya_QZ.js} +33 -33
- package/dist/hooks.js +1 -1
- package/dist/react-hook-form.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/types/components/ContextMenu/components/ContextMenuTrigger/ContextMenuTrigger.d.ts +5 -0
- package/dist/types/components/ContextMenu/components/ContextMenuTrigger/index.d.ts +4 -0
- package/dist/types/components/ContextMenu/index.d.ts +1 -1
- package/dist/types/components/Modal/components/ModalTrigger/ModalTrigger.d.ts +5 -0
- package/dist/types/components/Modal/components/ModalTrigger/index.d.ts +4 -0
- package/dist/types/components/Modal/index.d.ts +1 -0
- package/dist/types/components/{Overlay/Overlay.d.ts → ModalOverlay/ModalOverlay.d.ts} +3 -3
- package/dist/types/components/ModalOverlay/index.d.ts +4 -0
- package/dist/types/components/OffCanvas/components/OffCanvasTrigger/OffCanvasTrigger.d.ts +5 -0
- package/dist/types/components/OffCanvas/components/OffCanvasTrigger/index.d.ts +4 -0
- package/dist/types/components/OffCanvas/index.d.ts +1 -0
- package/dist/types/components/Popover/Popover.d.ts +4 -2
- package/dist/types/components/Popover/components/PopoverTrigger/PopoverTrigger.d.ts +5 -0
- package/dist/types/components/Popover/components/PopoverTrigger/index.d.ts +4 -0
- package/dist/types/components/Popover/index.d.ts +1 -0
- package/dist/useOverlayController-CwlTOKoP.js +55 -0
- package/package.json +8 -8
- package/dist/ContextMenu-C0R1LgPo.js +0 -47
- package/dist/Popover-B6bARCOK.js +0 -17
- package/dist/types/components/Overlay/index.d.ts +0 -5
- package/dist/useOverlayController-CGKumeGL.js +0 -49
- package/dist/useSelector-DpU7_HMO.js +0 -13
- /package/dist/types/components/{Overlay/components/OverlayTrigger → OverlayTrigger}/OverlayTrigger.d.ts +0 -0
- /package/dist/types/components/{Overlay/components/OverlayTrigger → OverlayTrigger}/index.d.ts +0 -0
|
@@ -7,10 +7,10 @@ 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-ugpFrd4i.js";
|
|
11
11
|
import "@tabler/icons-react";
|
|
12
|
-
import "./Icon-
|
|
13
|
-
import { I as y } from "./IconChevronDown-
|
|
12
|
+
import "./Icon-Ci5H-KV6.js";
|
|
13
|
+
import { I as y } from "./IconChevronDown-BP41wlBT.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
|
@@ -5,16 +5,15 @@ var P = (o, t, e) => t in o ? F(o, t, { enumerable: !0, configurable: !0, writab
|
|
|
5
5
|
var a = (o, t, e) => (P(o, typeof t != "symbol" ? t + "" : t, e), e);
|
|
6
6
|
import r, { useRef as S, useContext as p } from "react";
|
|
7
7
|
import { makeObservable as k, observable as O, action as I, computed as M } from "mobx";
|
|
8
|
-
import {
|
|
8
|
+
import { b as C, u as A } from "./useOverlayController-CwlTOKoP.js";
|
|
9
9
|
import D from "invariant";
|
|
10
|
-
import { A as T, a as
|
|
11
|
-
import { u as y } from "./useSelector-DpU7_HMO.js";
|
|
10
|
+
import { A as T, a as y, u as N, b as w, c as R } from "./ActionStateContext-DgYU9Rnp.js";
|
|
12
11
|
import "./propsContext-CauylOgH.js";
|
|
13
12
|
import { P as h } from "./PropsContextProvider-ChpH8eF2.js";
|
|
14
13
|
import "@react-aria/utils";
|
|
15
14
|
import "remeda";
|
|
16
15
|
import { W as v } from "./Wrap-DGT1h1o3.js";
|
|
17
|
-
const
|
|
16
|
+
const b = (o) => new Promise((t) => setTimeout(t, o)), m = {
|
|
18
17
|
pending: 1e3,
|
|
19
18
|
succeeded: 1500,
|
|
20
19
|
failed: 2e3
|
|
@@ -40,10 +39,10 @@ class f {
|
|
|
40
39
|
this.state = t;
|
|
41
40
|
}
|
|
42
41
|
useValue() {
|
|
43
|
-
return
|
|
42
|
+
return C(() => this.state, [this]);
|
|
44
43
|
}
|
|
45
44
|
useIsBusy() {
|
|
46
|
-
return
|
|
45
|
+
return C(() => this.isBusy, [this]);
|
|
47
46
|
}
|
|
48
47
|
get isBusy() {
|
|
49
48
|
return this.state === "isExecuting" || this.state === "isPending";
|
|
@@ -64,10 +63,10 @@ class f {
|
|
|
64
63
|
return this.showFeedback = t, this;
|
|
65
64
|
}
|
|
66
65
|
async startFailedFeedback() {
|
|
67
|
-
this.updateState("isFailed"), await
|
|
66
|
+
this.updateState("isFailed"), await b(m.failed), this.resetAfterDone();
|
|
68
67
|
}
|
|
69
68
|
async startSucceededFeedback() {
|
|
70
|
-
this.updateState("isSucceeded"), await
|
|
69
|
+
this.updateState("isSucceeded"), await b(m.succeeded), this.resetAfterDone();
|
|
71
70
|
}
|
|
72
71
|
resetAfterDone() {
|
|
73
72
|
this.updateState("isIdle"), this.isAsync = !1, this.error = void 0;
|
|
@@ -113,7 +112,7 @@ function $(o) {
|
|
|
113
112
|
} = o.actionProps;
|
|
114
113
|
return e || (i && t ? t.open : s && t || n && t ? t.close : V);
|
|
115
114
|
}
|
|
116
|
-
class
|
|
115
|
+
class x {
|
|
117
116
|
constructor(t) {
|
|
118
117
|
a(this, "actions", []);
|
|
119
118
|
a(this, "baseAction");
|
|
@@ -152,7 +151,7 @@ class W {
|
|
|
152
151
|
a(this, "getBatchedActions", () => {
|
|
153
152
|
let t = this.action;
|
|
154
153
|
const e = [];
|
|
155
|
-
let n = new
|
|
154
|
+
let n = new x(
|
|
156
155
|
this.action
|
|
157
156
|
), s = 0;
|
|
158
157
|
for (; t; ) {
|
|
@@ -171,7 +170,7 @@ class W {
|
|
|
171
170
|
}
|
|
172
171
|
if (l)
|
|
173
172
|
break;
|
|
174
|
-
i || (e.push(n), n = new
|
|
173
|
+
i || (e.push(n), n = new x(this.action)), n.addAction(t), t = t.parentAction;
|
|
175
174
|
}
|
|
176
175
|
return e.push(n), e;
|
|
177
176
|
});
|
|
@@ -200,7 +199,7 @@ class u {
|
|
|
200
199
|
this.actionProps = e, this.parentAction = s, this.confirmationModalController = l, this.needsConfirmation = n, this.overlayController = i, this.state = c;
|
|
201
200
|
}
|
|
202
201
|
static useNew(t, e = {}) {
|
|
203
|
-
const n = p(
|
|
202
|
+
const n = p(y), s = A(), i = A(), l = f.useNew();
|
|
204
203
|
return new u({
|
|
205
204
|
parentAction: n,
|
|
206
205
|
overlayController: s,
|
|
@@ -212,7 +211,7 @@ class u {
|
|
|
212
211
|
});
|
|
213
212
|
}
|
|
214
213
|
static use() {
|
|
215
|
-
const t = p(
|
|
214
|
+
const t = p(y);
|
|
216
215
|
return D(!!t, "Action context is not defined"), t;
|
|
217
216
|
}
|
|
218
217
|
static useConfirmationAction() {
|
package/dist/Action.js
CHANGED
|
@@ -5,8 +5,8 @@ var u = (s, t, e) => t in s ? i(s, t, { enumerable: !0, configurable: !0, writab
|
|
|
5
5
|
var r = (s, t, e) => (u(s, typeof t != "symbol" ? t + "" : t, e), e);
|
|
6
6
|
import d, { createContext as n, useRef as m, useEffect as v, useContext as S } from "react";
|
|
7
7
|
import { makeObservable as f, observable as x, action as a, computed as l } from "mobx";
|
|
8
|
-
import {
|
|
9
|
-
const
|
|
8
|
+
import { b as h } from "./useOverlayController-CwlTOKoP.js";
|
|
9
|
+
const b = n(void 0), A = b.Provider;
|
|
10
10
|
class o {
|
|
11
11
|
constructor() {
|
|
12
12
|
r(this, "states", /* @__PURE__ */ new Set());
|
|
@@ -21,7 +21,7 @@ class o {
|
|
|
21
21
|
return m(new o()).current;
|
|
22
22
|
}
|
|
23
23
|
static useRegisterState(t) {
|
|
24
|
-
const e =
|
|
24
|
+
const e = C();
|
|
25
25
|
v(() => (e.addState(t), () => {
|
|
26
26
|
e.removeState(t);
|
|
27
27
|
}), [e, t]);
|
|
@@ -45,11 +45,11 @@ class o {
|
|
|
45
45
|
const c = n(new o()), P = (s) => {
|
|
46
46
|
const { children: t } = s, e = o.useNew();
|
|
47
47
|
return /* @__PURE__ */ d.createElement(c.Provider, { value: e }, t);
|
|
48
|
-
},
|
|
48
|
+
}, C = () => S(c);
|
|
49
49
|
export {
|
|
50
50
|
o as A,
|
|
51
|
-
|
|
51
|
+
b as a,
|
|
52
52
|
A as b,
|
|
53
53
|
P as c,
|
|
54
|
-
|
|
54
|
+
C as u
|
|
55
55
|
};
|
package/dist/Avatar.js
CHANGED
|
@@ -9,7 +9,7 @@ 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-bouya_QZ.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,8 +4,8 @@ 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-Ci5H-KV6.js";
|
|
8
|
+
import { I as u } from "./IconChevronRight-l6sW9wTt.js";
|
|
9
9
|
import "./propsContext-CauylOgH.js";
|
|
10
10
|
import { P as p } from "./PropsContextProvider-ChpH8eF2.js";
|
|
11
11
|
import "@react-aria/utils";
|
|
@@ -9,12 +9,12 @@ 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 h, a as I } from "./IconSucceeded-
|
|
12
|
+
import "./Icon-Ci5H-KV6.js";
|
|
13
|
+
import { I as h, a as I } from "./IconSucceeded-Bp1dZJsK.js";
|
|
14
14
|
import { W as f } from "./Wrap-DGT1h1o3.js";
|
|
15
|
-
import { T as N } from "./Text-
|
|
16
|
-
import { f as L } from "./flowComponent-
|
|
17
|
-
import { L as k } from "./LoadingSpinner-
|
|
15
|
+
import { T as N } from "./Text-XD87outZ.js";
|
|
16
|
+
import { f as L } from "./flowComponent-bouya_QZ.js";
|
|
17
|
+
import { L as k } from "./LoadingSpinner-zDn2j40q.js";
|
|
18
18
|
import { useLocalizedStringFormatter as A } from "react-aria";
|
|
19
19
|
import { useLiveRegion as D } from "@chakra-ui/live-region";
|
|
20
20
|
const T = "flow--button", z = "flow--button--content", B = "flow--button--state-icon", R = "flow--button--avatar", K = "flow--button--icon", U = "flow--button--text", W = "flow--button--counter-label", $ = "flow--button--is-succeeded", j = "flow--button--is-failed", q = "flow--button--is-pending", G = "flow--button--plain", H = "flow--button--primary", J = "flow--button--solid", M = "flow--button--aria-disabled", O = "flow--button--accent", Q = "flow--button--danger", V = "flow--button--secondary", X = "flow--button--dark", Y = "flow--button--light", Z = "flow--button--soft", t = {
|
package/dist/Button.js
CHANGED
package/dist/ButtonGroup.js
CHANGED
|
@@ -8,7 +8,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-bouya_QZ.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-Ci5H-KV6.js";
|
|
8
|
+
import { I as x, a as f } from "./IconCheckboxEmpty-DRE2wDH8.js";
|
|
9
|
+
import { I as h } from "./IconCheckboxIndeterminate-DYTHmZFh.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-bouya_QZ.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
|
@@ -7,8 +7,8 @@ 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-CNXEDjTP.js";
|
|
11
|
+
import { f } from "./flowComponent-bouya_QZ.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
|
@@ -7,13 +7,13 @@ import "./propsContext-CauylOgH.js";
|
|
|
7
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-CWapn667.js";
|
|
11
|
+
import { C as k } from "./CheckboxButton-DbL1oHMJ.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-bouya_QZ.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-bouya_QZ.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
package/dist/ContextMenu.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
|
-
import { C as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { C as t } from "./ContextMenuTrigger-XhsauPpO.js";
|
|
4
|
+
import { a } from "./ContextMenuTrigger-XhsauPpO.js";
|
|
5
|
+
import { M as n } from "./MenuItem-ctUBEtsb.js";
|
|
6
6
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
t as ContextMenu,
|
|
8
|
+
a as ContextMenuTrigger,
|
|
9
9
|
n as MenuItem,
|
|
10
|
-
|
|
10
|
+
t as default
|
|
11
11
|
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
/* */
|
|
3
|
+
import e from "react";
|
|
4
|
+
import * as n from "react-aria-components";
|
|
5
|
+
import { f as M } from "./flowComponent-bouya_QZ.js";
|
|
6
|
+
import { P as d } from "./Popover-9mCGBlbH.js";
|
|
7
|
+
import "mobx";
|
|
8
|
+
import "./useOverlayController-CwlTOKoP.js";
|
|
9
|
+
import "invariant";
|
|
10
|
+
import "./ActionStateContext-DgYU9Rnp.js";
|
|
11
|
+
import { C as g } from "./ClearPropsContext-CeCMjUK9.js";
|
|
12
|
+
import { P as x } from "./PropsContextProvider-ChpH8eF2.js";
|
|
13
|
+
import "@react-aria/utils";
|
|
14
|
+
import "./propsContext-CauylOgH.js";
|
|
15
|
+
import "remeda";
|
|
16
|
+
import { O as C } from "./OverlayTrigger-CLH4ywV9.js";
|
|
17
|
+
const P = "flow--context-menu", v = {
|
|
18
|
+
contextMenu: P
|
|
19
|
+
}, V = M("ContextMenu", (t) => {
|
|
20
|
+
const {
|
|
21
|
+
children: r,
|
|
22
|
+
onAction: i,
|
|
23
|
+
selectionMode: o,
|
|
24
|
+
selectedKeys: a,
|
|
25
|
+
defaultSelectedKeys: s,
|
|
26
|
+
disabledKeys: l,
|
|
27
|
+
onSelectionChange: m,
|
|
28
|
+
refProp: c,
|
|
29
|
+
...p
|
|
30
|
+
} = t, u = o === "navigation" ? "single" : o, f = {
|
|
31
|
+
MenuItem: {
|
|
32
|
+
selectionVariant: o === "navigation" ? "navigation" : "control"
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
return /* @__PURE__ */ e.createElement(g, null, /* @__PURE__ */ e.createElement(d, { ...p }, /* @__PURE__ */ e.createElement(
|
|
36
|
+
n.Menu,
|
|
37
|
+
{
|
|
38
|
+
className: v.contextMenu,
|
|
39
|
+
onAction: i,
|
|
40
|
+
selectionMode: u,
|
|
41
|
+
selectedKeys: a,
|
|
42
|
+
defaultSelectedKeys: s,
|
|
43
|
+
disabledKeys: l,
|
|
44
|
+
onSelectionChange: m,
|
|
45
|
+
ref: c
|
|
46
|
+
},
|
|
47
|
+
/* @__PURE__ */ e.createElement(x, { props: f }, r)
|
|
48
|
+
)));
|
|
49
|
+
}), j = (t) => /* @__PURE__ */ e.createElement(C, null, /* @__PURE__ */ e.createElement(n.MenuTrigger, null, t.children));
|
|
50
|
+
export {
|
|
51
|
+
V as C,
|
|
52
|
+
j as a
|
|
53
|
+
};
|
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-ugpFrd4i.js";
|
|
6
6
|
import "@tabler/icons-react";
|
|
7
|
-
import "./Icon-
|
|
8
|
-
import { I as c } from "./IconCopy-
|
|
7
|
+
import "./Icon-Ci5H-KV6.js";
|
|
8
|
+
import { I as c } from "./IconCopy-ClDyyDhZ.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-bouya_QZ.js";
|
|
18
|
+
import { A as E } from "./Action-BEj0DaMW.js";
|
|
19
19
|
const B = {
|
|
20
20
|
"de-DE": {
|
|
21
21
|
"copyButton.copy": "Kopieren"
|
package/dist/CounterLabel.js
CHANGED
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-XD87outZ.js";
|
|
11
|
+
import { f as c } from "./flowComponent-bouya_QZ.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-Ci5H-KV6.js";
|
|
13
|
+
import { I as c } from "./IconDanger-DQIxRASm.js";
|
|
14
|
+
import { f } from "./flowComponent-bouya_QZ.js";
|
|
15
15
|
const E = "flow--field-error", d = {
|
|
16
16
|
fieldError: E
|
|
17
17
|
}, y = f("FieldError", (o) => {
|
package/dist/FieldError.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
3
|
import a from "react";
|
|
4
|
-
import { f as c } from "./flowComponent-
|
|
4
|
+
import { f as c } from "./flowComponent-bouya_QZ.js";
|
|
5
5
|
const s = c("Header", (e) => {
|
|
6
6
|
const { children: r, refProp: t, elementType: o = "header", ...n } = e, m = o;
|
|
7
7
|
return /* @__PURE__ */ a.createElement(m, { ...n, ref: t }, r);
|
package/dist/Header.js
CHANGED
|
@@ -7,7 +7,7 @@ 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-bouya_QZ.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-bouya_QZ.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-Ci5H-KV6.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-Ci5H-KV6.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-DEX0y_6i.js → IconCheckboxIndeterminate-DYTHmZFh.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-Ci5H-KV6.js";
|
|
6
6
|
const a = (o) => /* @__PURE__ */ e.createElement(r, { ...o }, /* @__PURE__ */ e.createElement(t, null));
|
|
7
7
|
export {
|
|
8
8
|
a as I
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import o from "react";
|
|
4
4
|
import { IconChevronDown as e } from "@tabler/icons-react";
|
|
5
|
-
import { I as r } from "./Icon-
|
|
5
|
+
import { I as r } from "./Icon-Ci5H-KV6.js";
|
|
6
6
|
const a = (n) => /* @__PURE__ */ o.createElement(r, { ...n }, /* @__PURE__ */ o.createElement(e, null));
|
|
7
7
|
export {
|
|
8
8
|
a as I
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import o from "react";
|
|
4
4
|
import { IconChevronRight as t } from "@tabler/icons-react";
|
|
5
|
-
import { I as r } from "./Icon-
|
|
5
|
+
import { I as r } from "./Icon-Ci5H-KV6.js";
|
|
6
6
|
const a = (e) => /* @__PURE__ */ o.createElement(r, { ...e }, /* @__PURE__ */ o.createElement(t, null));
|
|
7
7
|
export {
|
|
8
8
|
a as I
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import o from "react";
|
|
4
4
|
import { IconX as t } from "@tabler/icons-react";
|
|
5
|
-
import { I as r } from "./Icon-
|
|
5
|
+
import { I as r } from "./Icon-Ci5H-KV6.js";
|
|
6
6
|
const a = (e) => /* @__PURE__ */ o.createElement(r, { ...e }, /* @__PURE__ */ o.createElement(t, null));
|
|
7
7
|
export {
|
|
8
8
|
a as I
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import o from "react";
|
|
4
4
|
import { IconDots as e } from "@tabler/icons-react";
|
|
5
|
-
import { I as n } from "./Icon-
|
|
5
|
+
import { I as n } from "./Icon-Ci5H-KV6.js";
|
|
6
6
|
const a = (t) => /* @__PURE__ */ o.createElement(n, { ...t }, /* @__PURE__ */ o.createElement(e, null));
|
|
7
7
|
export {
|
|
8
8
|
a as I
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import o from "react";
|
|
4
4
|
import { IconCopy as t } from "@tabler/icons-react";
|
|
5
|
-
import { I as r } from "./Icon-
|
|
5
|
+
import { I as r } from "./Icon-Ci5H-KV6.js";
|
|
6
6
|
const p = (e) => /* @__PURE__ */ o.createElement(r, { ...e }, /* @__PURE__ */ o.createElement(t, null));
|
|
7
7
|
export {
|
|
8
8
|
p as I
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import { IconAlertTriangle as o } from "@tabler/icons-react";
|
|
5
|
-
import { I as t } from "./Icon-
|
|
5
|
+
import { I as t } from "./Icon-Ci5H-KV6.js";
|
|
6
6
|
const c = (r) => /* @__PURE__ */ e.createElement(t, { ...r }, /* @__PURE__ */ e.createElement(o, null));
|
|
7
7
|
export {
|
|
8
8
|
c as I
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import { IconLoader2 as r } from "@tabler/icons-react";
|
|
5
|
-
import { I as t } from "./Icon-
|
|
5
|
+
import { I as t } from "./Icon-Ci5H-KV6.js";
|
|
6
6
|
const a = (o) => /* @__PURE__ */ e.createElement(t, { ...o }, /* @__PURE__ */ e.createElement(r, null));
|
|
7
7
|
export {
|
|
8
8
|
a as I
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
4
|
import { IconChevronUp as c, IconMinus as t, IconPlus as r } from "@tabler/icons-react";
|
|
5
|
-
import { I as o } from "./Icon-
|
|
5
|
+
import { I as o } from "./Icon-Ci5H-KV6.js";
|
|
6
6
|
const m = (n) => /* @__PURE__ */ e.createElement(o, { ...n }, /* @__PURE__ */ e.createElement(c, null)), I = (n) => /* @__PURE__ */ e.createElement(o, { ...n }, /* @__PURE__ */ e.createElement(t, null)), u = (n) => /* @__PURE__ */ e.createElement(o, { ...n }, /* @__PURE__ */ e.createElement(r, null));
|
|
7
7
|
export {
|
|
8
8
|
I,
|
|
@@ -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-Ci5H-KV6.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,
|