@mittwald/flow-react-components 0.1.0-alpha.362 → 0.1.0-alpha.363

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/CHANGELOG.md CHANGED
@@ -3,6 +3,19 @@
3
3
  All notable changes to this project will be documented in this file. See
4
4
  [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [0.1.0-alpha.363](https://github.com/mittwald/flow/compare/0.1.0-alpha.362...0.1.0-alpha.363) (2024-12-04)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **Section:** fix section separator
11
+ ([#1039](https://github.com/mittwald/flow/issues/1039))
12
+ ([a94eca5](https://github.com/mittwald/flow/commit/a94eca566df23aa508691503614f8731de8adbdf))
13
+
14
+ # Change Log
15
+
16
+ All notable changes to this project will be documented in this file. See
17
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
18
+
6
19
  # [0.1.0-alpha.362](https://github.com/mittwald/flow/compare/0.1.0-alpha.361...0.1.0-alpha.362) (2024-12-04)
7
20
 
8
21
  **Note:** Version bump only for package @mittwald/flow-react-components
@@ -1 +1 @@
1
- .flow--section{display:flex;flex-direction:column;row-gap:var(--section--content-to-content-spacing);container-type:inline-size}+.flow--section:not(.flow--section--hide-separator) .flow--section{margin-block-start:var(--section--section-to-section-spacing);border-block-start-width:var(--section--border-width);border-block-start-style:var(--section--border-style);border-block-start-color:var(--section--border-color);padding-block-start:var(--section--section-to-section-spacing)}.flow--section .flow--section--heading:not(:first-child){margin-top:var(--section--sub-heading-spacing)}
1
+ .flow--section{display:flex;flex-direction:column;row-gap:var(--section--content-to-content-spacing);container-type:inline-size}.flow--section+.flow--section{margin-block-start:var(--section--section-to-section-spacing)}.flow--section:not(.flow--section--hide-separator)+.flow--section{border-block-start-width:var(--section--border-width);border-block-start-style:var(--section--border-style);border-block-start-color:var(--section--border-color);padding-block-start:var(--section--section-to-section-spacing)}.flow--section .flow--section--heading:not(:first-child){margin-top:var(--section--sub-heading-spacing)}
package/dist/js/List.js CHANGED
@@ -31,7 +31,7 @@ import "./context-BaYmTa0I.js";
31
31
  import { u as vt } from "./useOnChange-C1Quwyuz.js";
32
32
  import { S as yt } from "./SearchField-DbuaeZzD.js";
33
33
  import { H as Z } from "./Heading-B8EYcl-r.js";
34
- import { S as wt } from "./Section-MvkaA4tm.js";
34
+ import { S as wt } from "./Section-C1aEVQli.js";
35
35
  import { getProperty as Et } from "dot-prop";
36
36
  import { hash as Ie } from "object-code";
37
37
  import x from "zod";
@@ -7,9 +7,9 @@ import { PropsContextProvider as i } from "./PropsContextProvider.js";
7
7
  import "@react-aria/utils";
8
8
  import "remeda";
9
9
  import { f as c } from "./flowComponent-Bs2i5Rrn.js";
10
- import * as s from "react-aria-components";
10
+ import * as a from "react-aria-components";
11
11
  import { s as x } from "./ContextMenu.module-_LC3xtX0.js";
12
- const C = "flow--section", g = "flow--section--hide-separator", E = "flow--section--heading", a = {
12
+ const C = "flow--section", g = "flow--section--hide-separator", E = "flow--section--heading", n = {
13
13
  section: C,
14
14
  hideSeparator: g,
15
15
  heading: E
@@ -19,10 +19,10 @@ const C = "flow--section", g = "flow--section--hide-separator", E = "flow--secti
19
19
  const { children: t } = o, r = {
20
20
  Heading: {
21
21
  level: 5,
22
- wrapWith: /* @__PURE__ */ e.createElement(s.Header, null)
22
+ wrapWith: /* @__PURE__ */ e.createElement(a.Header, null)
23
23
  }
24
24
  };
25
- return /* @__PURE__ */ e.createElement(s.Section, { className: x.section }, /* @__PURE__ */ e.createElement(i, { props: r, mergeInParentContext: !0 }, t));
25
+ return /* @__PURE__ */ e.createElement(a.Section, { className: x.section }, /* @__PURE__ */ e.createElement(i, { props: r, mergeInParentContext: !0 }, t));
26
26
  }
27
27
  ), A = c("Section", (o) => {
28
28
  const {
@@ -38,20 +38,20 @@ const C = "flow--section", g = "flow--section--hide-separator", E = "flow--secti
38
38
  if (m)
39
39
  return /* @__PURE__ */ e.createElement(w, null, t);
40
40
  const f = S(
41
- a.section,
41
+ n.section,
42
42
  r,
43
- p
44
- ), n = h(), u = {
43
+ p && n.hideSeparator
44
+ ), s = h(), u = {
45
45
  Heading: {
46
46
  level: 2,
47
- id: n,
48
- className: a.heading
47
+ id: s,
48
+ className: n.heading
49
49
  },
50
50
  Header: {
51
51
  renderSectionHeader: !0
52
52
  },
53
53
  List: {
54
- "aria-labelledby": n
54
+ "aria-labelledby": s
55
55
  }
56
56
  };
57
57
  return /* @__PURE__ */ e.createElement("section", { ...d, className: f, ref: l }, /* @__PURE__ */ e.createElement(i, { props: u, mergeInParentContext: !0 }, t));
@@ -1,6 +1,6 @@
1
1
  "use client"
2
2
  /* */
3
- import { S as t } from "./Section-MvkaA4tm.js";
3
+ import { S as t } from "./Section-C1aEVQli.js";
4
4
  export {
5
5
  t as Section,
6
6
  t as default