@mittwald/flow-react-components 0.1.0-alpha.140 → 0.1.0-alpha.142
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-rCpRbkUM.js → Accordion-QhhkJhTO.js} +1 -1
- package/dist/Accordion.js +1 -1
- package/dist/{Button-BPAhEOTg.js → Button-BS1F0zPs.js} +9 -12
- package/dist/Button.js +1 -1
- package/dist/ContextualHelp.js +5 -8
- package/dist/CopyButton.js +6 -9
- package/dist/InlineAlert.js +1 -1
- package/dist/{Label-CJi7iMmE.js → Label-5xy35UpX.js} +5 -8
- package/dist/Label.js +1 -1
- package/dist/List.js +218 -221
- package/dist/Navigation.js +1 -1
- package/dist/Notification.js +2 -2
- package/dist/NumberField.js +1 -1
- package/dist/OffCanvas.js +1 -1
- package/dist/Slider.js +8 -11
- package/dist/StatusBadge.js +1 -1
- package/dist/{StatusIcon-l795M3JX.js → StatusIcon-J28z-uQ4.js} +11 -14
- package/dist/StatusIcon.js +1 -1
- package/dist/Switch.js +1 -1
- package/dist/Tabs.js +1 -1
- package/dist/TextArea.js +1 -1
- package/dist/TextField.js +1 -1
- package/dist/TextFieldBase-Ciy6scGP.js +60 -0
- package/dist/react-hook-form.js +42 -39
- package/dist/styles.css +1 -1
- package/package.json +31 -30
- package/dist/TextFieldBase-BhdK6WXV.js +0 -60
|
@@ -7,7 +7,7 @@ import { P as N } from "./PropsContextProvider-C6Z4XGp6.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-BS1F0zPs.js";
|
|
11
11
|
import "@tabler/icons-react";
|
|
12
12
|
import "./Icon-D4bkU_pz.js";
|
|
13
13
|
import { I as y } from "./IconChevronDown-HLDPe1kj.js";
|
package/dist/Accordion.js
CHANGED
|
@@ -39,18 +39,15 @@ const T = "flow--button", z = "flow--button--content", L = "flow--button--state-
|
|
|
39
39
|
dark: X,
|
|
40
40
|
light: Y,
|
|
41
41
|
soft: Z
|
|
42
|
-
}, _ = {
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
"
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
"action.isSucceeded": "Succeeded"
|
|
52
|
-
}
|
|
53
|
-
}, ee = (e, r = {}) => {
|
|
42
|
+
}, _ = { "de-DE": {
|
|
43
|
+
"action.isFailed": "Fehlgeschlagen",
|
|
44
|
+
"action.isPending": "Ausstehend...",
|
|
45
|
+
"action.isSucceeded": "Erfolgreich"
|
|
46
|
+
}, "en-EN": {
|
|
47
|
+
"action.isFailed": "Failed",
|
|
48
|
+
"action.isPending": "Pending...",
|
|
49
|
+
"action.isSucceeded": "Succeeded"
|
|
50
|
+
} }, ee = (e, r = {}) => {
|
|
54
51
|
const i = A(_), {
|
|
55
52
|
isPendingText: s = i.format("action.isPending"),
|
|
56
53
|
isSucceededText: c = i.format("action.isSucceeded"),
|
package/dist/Button.js
CHANGED
package/dist/ContextualHelp.js
CHANGED
|
@@ -23,14 +23,11 @@ const s = "flow--contextual-help", u = {
|
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
25
|
return /* @__PURE__ */ t.createElement(l, { withTip: !0, ...o }, /* @__PURE__ */ t.createElement(n, { props: a }, /* @__PURE__ */ t.createElement("div", { className: u.contextualHelp }, r)));
|
|
26
|
-
}, f = {
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"contextualHelpButton.moreInformation": "More information"
|
|
32
|
-
}
|
|
33
|
-
}, y = (e) => {
|
|
26
|
+
}, f = { "de-DE": {
|
|
27
|
+
"contextualHelpButton.moreInformation": "Weitere Informationen"
|
|
28
|
+
}, "en-EN": {
|
|
29
|
+
"contextualHelpButton.moreInformation": "More information"
|
|
30
|
+
} }, y = (e) => {
|
|
34
31
|
const o = {
|
|
35
32
|
Button: {
|
|
36
33
|
"aria-label": p(f).format(
|
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-BS1F0zPs.js";
|
|
6
6
|
import "@tabler/icons-react";
|
|
7
7
|
import "./Icon-D4bkU_pz.js";
|
|
8
8
|
import { I as c } from "./IconCopy-DH_CNzXF.js";
|
|
@@ -16,14 +16,11 @@ import "remeda";
|
|
|
16
16
|
import "dot-prop";
|
|
17
17
|
import { f as C } from "./flowComponent-CPKCCJEg.js";
|
|
18
18
|
import { A as E } from "./Action-C4Ncwjzf.js";
|
|
19
|
-
const B = {
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"copyButton.copy": "Copy"
|
|
25
|
-
}
|
|
26
|
-
}, R = C("CopyButton", (r) => {
|
|
19
|
+
const B = { "de-DE": {
|
|
20
|
+
"copyButton.copy": "Kopieren"
|
|
21
|
+
}, "en-EN": {
|
|
22
|
+
"copyButton.copy": "Copy"
|
|
23
|
+
} }, R = C("CopyButton", (r) => {
|
|
27
24
|
const { text: e, refProp: m, ...p } = r, t = l(B).format("copyButton.copy"), n = () => {
|
|
28
25
|
a(u(e));
|
|
29
26
|
};
|
package/dist/InlineAlert.js
CHANGED
|
@@ -7,7 +7,7 @@ import "@react-aria/utils";
|
|
|
7
7
|
import "./propsContext-DzAKlmhS.js";
|
|
8
8
|
import "remeda";
|
|
9
9
|
import p from "clsx";
|
|
10
|
-
import { S as u } from "./StatusIcon-
|
|
10
|
+
import { S as u } from "./StatusIcon-J28z-uQ4.js";
|
|
11
11
|
import { f as d } from "./flowComponent-CPKCCJEg.js";
|
|
12
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,
|
|
@@ -12,14 +12,11 @@ import { useLocalizedStringFormatter as C } from "react-aria";
|
|
|
12
12
|
import { f as L } from "./flowComponent-CPKCCJEg.js";
|
|
13
13
|
const d = "flow--label", u = {
|
|
14
14
|
label: d
|
|
15
|
-
}, E = {
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"label.optional": "(optional)"
|
|
21
|
-
}
|
|
22
|
-
}, z = L("Label", (e) => {
|
|
15
|
+
}, E = { "de-DE": {
|
|
16
|
+
"label.optional": "(optional)"
|
|
17
|
+
}, "en-EN": {
|
|
18
|
+
"label.optional": "(optional)"
|
|
19
|
+
} }, z = L("Label", (e) => {
|
|
23
20
|
const {
|
|
24
21
|
children: l,
|
|
25
22
|
className: o,
|