@mittwald/flow-react-components 0.1.0-alpha.170 → 0.1.0-alpha.171
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/Section.js +7 -7
- package/package.json +4 -4
package/dist/Section.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
3
|
import e from "react";
|
|
4
|
-
import
|
|
4
|
+
import f from "clsx";
|
|
5
5
|
import "./propsContext-DzAKlmhS.js";
|
|
6
6
|
import { P as a } from "./PropsContextProvider-C6Z4XGp6.js";
|
|
7
7
|
import "@react-aria/utils";
|
|
@@ -9,9 +9,9 @@ import "remeda";
|
|
|
9
9
|
import { f as c } from "./flowComponent-TgbbWDzO.js";
|
|
10
10
|
import { A as h } from "./Activity-CmfZpgOM.js";
|
|
11
11
|
import * as r from "react-aria-components";
|
|
12
|
-
import { s as
|
|
13
|
-
const
|
|
14
|
-
section:
|
|
12
|
+
import { s as g } from "./ContextMenu.module-BfwGh62L.js";
|
|
13
|
+
const w = "flow--section", x = "flow--section--header", C = "flow--section--status-badge", o = {
|
|
14
|
+
section: w,
|
|
15
15
|
header: x,
|
|
16
16
|
switch: "flow--section--switch",
|
|
17
17
|
statusBadge: C
|
|
@@ -24,7 +24,7 @@ const g = "flow--section", x = "flow--section--header", C = "flow--section--stat
|
|
|
24
24
|
wrapWith: /* @__PURE__ */ e.createElement(r.Header, null)
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
|
-
return /* @__PURE__ */ e.createElement(r.Section, { className:
|
|
27
|
+
return /* @__PURE__ */ e.createElement(r.Section, { className: g.section }, /* @__PURE__ */ e.createElement(a, { props: n, mergeInParentContext: !0 }, t));
|
|
28
28
|
}
|
|
29
29
|
), b = c("Section", (s) => {
|
|
30
30
|
const {
|
|
@@ -39,7 +39,7 @@ const g = "flow--section", x = "flow--section--header", C = "flow--section--stat
|
|
|
39
39
|
return null;
|
|
40
40
|
if (m)
|
|
41
41
|
return /* @__PURE__ */ e.createElement(S, null, t);
|
|
42
|
-
const d =
|
|
42
|
+
const d = f(o.section, n), u = {
|
|
43
43
|
Heading: {
|
|
44
44
|
level: 2
|
|
45
45
|
},
|
|
@@ -54,7 +54,7 @@ const g = "flow--section", x = "flow--section--header", C = "flow--section--stat
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
};
|
|
57
|
-
return /* @__PURE__ */ e.createElement(h, { isActive: i }, /* @__PURE__ */ e.createElement("section", { ...p, className: d, ref: l }, /* @__PURE__ */ e.createElement(a, { props:
|
|
57
|
+
return /* @__PURE__ */ e.createElement(h, { isActive: i }, /* @__PURE__ */ e.createElement("section", { ...p, className: d, ref: l }, /* @__PURE__ */ e.createElement(a, { props: u, mergeInParentContext: !0 }, t)));
|
|
58
58
|
});
|
|
59
59
|
export {
|
|
60
60
|
b as Section,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/flow-react-components",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.171",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A React implementation of Flow, mittwald’s design system",
|
|
6
6
|
"homepage": "https://mittwald.github.io/flow",
|
|
@@ -280,7 +280,7 @@
|
|
|
280
280
|
"dependencies": {
|
|
281
281
|
"@chakra-ui/live-region": "^2.1.0",
|
|
282
282
|
"@internationalized/string-compiler": "^3.2.4",
|
|
283
|
-
"@mittwald/react-tunnel": "^0.1.0-alpha.
|
|
283
|
+
"@mittwald/react-tunnel": "^0.1.0-alpha.171",
|
|
284
284
|
"@mittwald/react-use-promise": "^2.3.13",
|
|
285
285
|
"@react-aria/utils": "^3.24.1",
|
|
286
286
|
"@react-types/shared": "^3.23.1",
|
|
@@ -307,7 +307,7 @@
|
|
|
307
307
|
},
|
|
308
308
|
"devDependencies": {
|
|
309
309
|
"@faker-js/faker": "^8.4.1",
|
|
310
|
-
"@mittwald/flow-design-tokens": "^0.1.0-alpha.
|
|
310
|
+
"@mittwald/flow-design-tokens": "^0.1.0-alpha.171",
|
|
311
311
|
"@mittwald/react-use-promise": "^2.3.13",
|
|
312
312
|
"@nx/storybook": "^19.4.0",
|
|
313
313
|
"@storybook/addon-a11y": "^8.1.11",
|
|
@@ -383,5 +383,5 @@
|
|
|
383
383
|
"optional": true
|
|
384
384
|
}
|
|
385
385
|
},
|
|
386
|
-
"gitHead": "
|
|
386
|
+
"gitHead": "ed04d61cfdbd51117dd5301104cd7806915685b7"
|
|
387
387
|
}
|