@mittwald/flow-react-components 0.1.0-alpha.77 → 0.1.0-alpha.78
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/Breadcrumb.js +18 -19
- package/dist/{Button-BPCYuj3x.js → Button-D5_aNpTg.js} +7 -7
- package/dist/Button.js +1 -1
- package/dist/ButtonGroup.js +19 -15
- package/dist/{CheckboxButton-BjHq5R2V.js → CheckboxButton-CPgQad5Z.js} +3 -3
- package/dist/CheckboxButton.js +1 -1
- package/dist/CheckboxGroup.js +1 -1
- package/dist/CopyButton.js +1 -1
- package/dist/HeaderNavigation.js +3 -3
- package/dist/IllustratedMessage.js +4 -8
- package/dist/InlineAlert.js +4 -4
- package/dist/List.js +1 -1
- package/dist/Modal.js +5 -5
- package/dist/NumberField.js +1 -1
- package/dist/ProgressBar.js +1 -1
- package/dist/Tabs.js +1 -1
- package/dist/styles.css +1 -1
- package/package.json +4 -4
package/dist/Breadcrumb.js
CHANGED
|
@@ -1,35 +1,34 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
3
|
import r from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as m from "react-aria-components";
|
|
5
5
|
import a from "clsx";
|
|
6
6
|
import "@tabler/icons-react";
|
|
7
7
|
import "./Icon-DdQwrIup.js";
|
|
8
|
-
import { I as
|
|
8
|
+
import { I as i } from "./IconChevronRight-Bsu-sUej.js";
|
|
9
9
|
import "./propsContext-CauylOgH.js";
|
|
10
|
-
import { P as
|
|
10
|
+
import { P as u } from "./PropsContextProvider-DZvwqHLP.js";
|
|
11
11
|
import "@react-aria/utils";
|
|
12
12
|
import "remeda";
|
|
13
|
-
const p = "flow--breadcrumb", f = "flow--breadcrumb--
|
|
14
|
-
breadcrumb:
|
|
15
|
-
link:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
},
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
},
|
|
23
|
-
const { children: t, className: o, ...n } = e, l = a(c.breadcrumb, o), b = {
|
|
13
|
+
const d = "flow--breadcrumb", p = "flow--breadcrumb--link", f = "flow--breadcrumb--breadcrumb-item", N = "flow--breadcrumb--icon", e = {
|
|
14
|
+
breadcrumb: d,
|
|
15
|
+
link: p,
|
|
16
|
+
breadcrumbItem: f,
|
|
17
|
+
icon: N
|
|
18
|
+
}, I = (t) => {
|
|
19
|
+
const { children: o } = t, c = a(e.breadcrumbItem);
|
|
20
|
+
return /* @__PURE__ */ r.createElement(m.Breadcrumb, { className: c }, o, /* @__PURE__ */ r.createElement(i, { size: "s", className: e.icon }));
|
|
21
|
+
}, y = (t) => {
|
|
22
|
+
const { children: o, className: c, ...s } = t, n = a(e.breadcrumb, c), l = {
|
|
24
23
|
Link: {
|
|
25
24
|
unstyled: !0,
|
|
26
|
-
className:
|
|
27
|
-
hoc: (
|
|
25
|
+
className: e.link,
|
|
26
|
+
hoc: (b) => /* @__PURE__ */ r.createElement(I, null, b)
|
|
28
27
|
}
|
|
29
28
|
};
|
|
30
|
-
return /* @__PURE__ */ r.createElement(
|
|
29
|
+
return /* @__PURE__ */ r.createElement(m.Breadcrumbs, { ...s, className: n }, /* @__PURE__ */ r.createElement(u, { props: l }, o));
|
|
31
30
|
};
|
|
32
31
|
export {
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
y as Breadcrumb,
|
|
33
|
+
y as default
|
|
35
34
|
};
|
|
@@ -17,18 +17,18 @@ import { f as h } from "./flowComponent-BuF0s2uG.js";
|
|
|
17
17
|
import { L as A } from "./LoadingSpinner-DqsZ7IDL.js";
|
|
18
18
|
import { useLocalizedStringFormatter as D } from "react-aria";
|
|
19
19
|
import { useLiveRegion as T } from "@chakra-ui/live-region";
|
|
20
|
-
const z = "flow--button", B = "flow--button--
|
|
20
|
+
const z = "flow--button", B = "flow--button--content", L = "flow--button--state-icon", k = "flow--button--avatar", R = "flow--button--icon", K = "flow--button--text", U = "flow--button--is-succeeded", W = "flow--button--is-failed", $ = "flow--button--is-pending", j = "flow--button--plain", q = "flow--button--primary", G = "flow--button--solid", H = "flow--button--aria-disabled", J = "flow--button--accent", M = "flow--button--danger", O = "flow--button--secondary", Q = "flow--button--soft", t = {
|
|
21
21
|
button: z,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"size-s": "flow--button--size-s",
|
|
22
|
+
content: B,
|
|
23
|
+
stateIcon: L,
|
|
24
|
+
avatar: k,
|
|
25
|
+
icon: R,
|
|
26
|
+
text: K,
|
|
28
27
|
isSucceeded: U,
|
|
29
28
|
isFailed: W,
|
|
30
29
|
isPending: $,
|
|
31
30
|
plain: j,
|
|
31
|
+
"size-s": "flow--button--size-s",
|
|
32
32
|
primary: q,
|
|
33
33
|
solid: G,
|
|
34
34
|
ariaDisabled: H,
|
package/dist/Button.js
CHANGED
package/dist/ButtonGroup.js
CHANGED
|
@@ -1,27 +1,31 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
3
|
import o from "react";
|
|
4
|
-
import { C as
|
|
5
|
-
import { P as
|
|
6
|
-
import { u as
|
|
7
|
-
import { d as
|
|
8
|
-
import
|
|
4
|
+
import { C as m } from "./ClearPropsContext-CeCMjUK9.js";
|
|
5
|
+
import { P as l } from "./PropsContextProvider-DZvwqHLP.js";
|
|
6
|
+
import { u as i } from "./useProps-Dx3m8kCJ.js";
|
|
7
|
+
import { d as b } from "./dynamic-ClpUSmEt.js";
|
|
8
|
+
import r from "clsx";
|
|
9
9
|
import { f } from "./flowComponent-BuF0s2uG.js";
|
|
10
|
-
const
|
|
11
|
-
buttonGroupContainer:
|
|
10
|
+
const d = "flow--button-group--button-group-container", C = "flow--button-group", G = "flow--button-group--button", y = "flow--button-group--secondary", t = {
|
|
11
|
+
buttonGroupContainer: d,
|
|
12
12
|
buttonGroup: C,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
button: G,
|
|
14
|
+
secondary: y
|
|
15
|
+
}, E = f("ButtonGroup", (n) => {
|
|
16
|
+
const { children: e, className: s, ...u } = i("ButtonGroup", n), a = r(t.buttonGroupContainer, s), p = {
|
|
16
17
|
Button: {
|
|
17
|
-
className:
|
|
18
|
-
(
|
|
18
|
+
className: b(
|
|
19
|
+
(c) => r(
|
|
20
|
+
t.button,
|
|
21
|
+
c.variant === "secondary" ? t.secondary : void 0
|
|
22
|
+
)
|
|
19
23
|
)
|
|
20
24
|
}
|
|
21
25
|
};
|
|
22
|
-
return /* @__PURE__ */ o.createElement(
|
|
26
|
+
return /* @__PURE__ */ o.createElement(m, null, /* @__PURE__ */ o.createElement("div", { ...u, className: a }, /* @__PURE__ */ o.createElement("div", { className: t.buttonGroup, role: "group" }, /* @__PURE__ */ o.createElement(l, { props: p }, e))));
|
|
23
27
|
});
|
|
24
28
|
export {
|
|
25
|
-
|
|
26
|
-
|
|
29
|
+
E as ButtonGroup,
|
|
30
|
+
E as default
|
|
27
31
|
};
|
|
@@ -9,10 +9,10 @@ import "./propsContext-CauylOgH.js";
|
|
|
9
9
|
import "remeda";
|
|
10
10
|
import { C as b } from "./Checkbox-BoIUZoUj.js";
|
|
11
11
|
import { f as x } from "./flowComponent-BuF0s2uG.js";
|
|
12
|
-
const C = "flow--checkbox-button", f = "flow--checkbox-button--
|
|
12
|
+
const C = "flow--checkbox-button", f = "flow--checkbox-button--label", i = "flow--checkbox-button--content", o = {
|
|
13
13
|
checkboxButton: C,
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
label: f,
|
|
15
|
+
content: i
|
|
16
16
|
}, v = x("CheckboxButton", (e) => {
|
|
17
17
|
const { children: c, className: n, ...r } = e, s = a(o.checkboxButton, n), l = {
|
|
18
18
|
Text: {
|
package/dist/CheckboxButton.js
CHANGED
package/dist/CheckboxGroup.js
CHANGED
|
@@ -8,7 +8,7 @@ import { P as b } from "./PropsContextProvider-DZvwqHLP.js";
|
|
|
8
8
|
import "@react-aria/utils";
|
|
9
9
|
import "remeda";
|
|
10
10
|
import { F as h } from "./FieldError-De8_olcs.js";
|
|
11
|
-
import { C as E } from "./CheckboxButton-
|
|
11
|
+
import { C as E } from "./CheckboxButton-CPgQad5Z.js";
|
|
12
12
|
import { TunnelProvider as k, TunnelExit as r } from "@mittwald/react-tunnel";
|
|
13
13
|
import { s as o } from "./FormField.module-DHK6nIcD.js";
|
|
14
14
|
import { C } from "./ColumnLayout-FMONjI17.js";
|
package/dist/CopyButton.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
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-D5_aNpTg.js";
|
|
6
6
|
import "@tabler/icons-react";
|
|
7
7
|
import "./Icon-DdQwrIup.js";
|
|
8
8
|
import { I as c } from "./IconCopy-D40P_nc1.js";
|
package/dist/HeaderNavigation.js
CHANGED
|
@@ -8,10 +8,10 @@ import "remeda";
|
|
|
8
8
|
import { d } from "./dynamic-ClpUSmEt.js";
|
|
9
9
|
import v from "clsx";
|
|
10
10
|
import { E as p } from "./EmulatedBoldText-Dtox8Wd1.js";
|
|
11
|
-
const u = "flow--header-navigation", h = "flow--header-navigation--
|
|
11
|
+
const u = "flow--header-navigation", h = "flow--header-navigation--link", f = "flow--header-navigation--button", g = "flow--header-navigation--inverse", n = {
|
|
12
12
|
headerNavigation: u,
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
link: h,
|
|
14
|
+
button: f,
|
|
15
15
|
inverse: g
|
|
16
16
|
}, P = (o) => {
|
|
17
17
|
const { children: a, className: r, inverse: i, ...l } = o, s = v(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
3
|
import t from "react";
|
|
4
|
-
import
|
|
4
|
+
import s from "clsx";
|
|
5
5
|
import "./propsContext-CauylOgH.js";
|
|
6
6
|
import { P as m } from "./PropsContextProvider-DZvwqHLP.js";
|
|
7
7
|
import "@react-aria/utils";
|
|
@@ -14,12 +14,8 @@ const d = "flow--illustrated-message--illustrated-message-container", g = "flow-
|
|
|
14
14
|
text: p,
|
|
15
15
|
button: x,
|
|
16
16
|
negative: v
|
|
17
|
-
}, E = (
|
|
18
|
-
const { className:
|
|
19
|
-
e.illustratedMessageContainer,
|
|
20
|
-
e[o],
|
|
21
|
-
a
|
|
22
|
-
), r = {
|
|
17
|
+
}, E = (a) => {
|
|
18
|
+
const { className: l, children: o, variant: n = "info", ...i } = a, r = s(e.illustratedMessageContainer, l), c = {
|
|
23
19
|
Icon: {
|
|
24
20
|
className: e.icon,
|
|
25
21
|
size: "l"
|
|
@@ -35,7 +31,7 @@ const d = "flow--illustrated-message--illustrated-message-container", g = "flow-
|
|
|
35
31
|
variant: "accent"
|
|
36
32
|
}
|
|
37
33
|
};
|
|
38
|
-
return /* @__PURE__ */ t.createElement("div", { ...
|
|
34
|
+
return /* @__PURE__ */ t.createElement("div", { ...i, className: r }, /* @__PURE__ */ t.createElement("div", { className: s(e.illustratedMessage, e[n]) }, /* @__PURE__ */ t.createElement(m, { props: c }, o)));
|
|
39
35
|
};
|
|
40
36
|
export {
|
|
41
37
|
E as IllustratedMessage,
|
package/dist/InlineAlert.js
CHANGED
|
@@ -9,11 +9,11 @@ import "remeda";
|
|
|
9
9
|
import p from "clsx";
|
|
10
10
|
import { S as u } from "./StatusIcon-BTL-kqaV.js";
|
|
11
11
|
import { f as d } from "./flowComponent-BuF0s2uG.js";
|
|
12
|
-
const w = "flow--inline-alert", g = "flow--inline-alert--
|
|
12
|
+
const w = "flow--inline-alert", g = "flow--inline-alert--status-icon", C = "flow--inline-alert--heading", I = "flow--inline-alert--content", 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
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
statusIcon: g,
|
|
15
|
+
heading: C,
|
|
16
|
+
content: I,
|
|
17
17
|
info: N,
|
|
18
18
|
warning: h,
|
|
19
19
|
danger: x,
|
package/dist/List.js
CHANGED
|
@@ -12,7 +12,7 @@ import { T as b } from "./Text-CBzyk1oM.js";
|
|
|
12
12
|
import "@tabler/icons-react";
|
|
13
13
|
import "./Icon-DdQwrIup.js";
|
|
14
14
|
import { I as $ } from "./IconChevronDown-a_vSoTxH.js";
|
|
15
|
-
import { B as h } from "./Button-
|
|
15
|
+
import { B as h } from "./Button-D5_aNpTg.js";
|
|
16
16
|
import { useMessageFormatter as H, useLocalizedStringFormatter as q } from "react-aria";
|
|
17
17
|
import K from "clsx";
|
|
18
18
|
import { I as rt } from "./IconClose-BcM-VKmn.js";
|
package/dist/Modal.js
CHANGED
|
@@ -10,12 +10,12 @@ import "@react-aria/utils";
|
|
|
10
10
|
import "remeda";
|
|
11
11
|
import { TunnelProvider as y, TunnelExit as x } from "@mittwald/react-tunnel";
|
|
12
12
|
import { u as z, a as E } from "./index-ViVxK7d1.js";
|
|
13
|
-
const b = "flow--modal", T = "flow--modal
|
|
14
|
-
|
|
15
|
-
"modal-zoom": "flow--modal--modal-zoom",
|
|
16
|
-
dialog: T,
|
|
17
|
-
overlay: N,
|
|
13
|
+
const b = "flow--modal--overlay", T = "flow--modal", N = "flow--modal--dialog", P = "flow--modal--button-group", G = "flow--modal--content", I = "flow--modal--off-canvas", t = {
|
|
14
|
+
overlay: b,
|
|
18
15
|
"modal-fade": "flow--modal--modal-fade",
|
|
16
|
+
modal: T,
|
|
17
|
+
"modal-zoom": "flow--modal--modal-zoom",
|
|
18
|
+
dialog: N,
|
|
19
19
|
buttonGroup: P,
|
|
20
20
|
content: G,
|
|
21
21
|
"size-s": "flow--modal--size-s",
|
package/dist/NumberField.js
CHANGED
|
@@ -10,7 +10,7 @@ import "@react-aria/utils";
|
|
|
10
10
|
import "./propsContext-CauylOgH.js";
|
|
11
11
|
import "remeda";
|
|
12
12
|
import { F as I } from "./FieldError-De8_olcs.js";
|
|
13
|
-
import { B as a } from "./Button-
|
|
13
|
+
import { B as a } from "./Button-D5_aNpTg.js";
|
|
14
14
|
import "@tabler/icons-react";
|
|
15
15
|
import "./Icon-DdQwrIup.js";
|
|
16
16
|
import { I as C } from "./IconChevronDown-a_vSoTxH.js";
|
package/dist/ProgressBar.js
CHANGED
package/dist/Tabs.js
CHANGED
|
@@ -9,7 +9,7 @@ import { f as S } from "./flowComponent-BuF0s2uG.js";
|
|
|
9
9
|
import { useCallbackRef as B } from "use-callback-ref";
|
|
10
10
|
import { C as K } from "./ContextMenu-DJ4VRDCG.js";
|
|
11
11
|
import { M as L } from "./MenuItem-DbXZNJo6.js";
|
|
12
|
-
import { B as F } from "./Button-
|
|
12
|
+
import { B as F } from "./Button-D5_aNpTg.js";
|
|
13
13
|
import "@tabler/icons-react";
|
|
14
14
|
import "./Icon-DdQwrIup.js";
|
|
15
15
|
import { I as A } from "./IconContextMenu-bD7n5nvt.js";
|