@guardian/interactive-component-library 0.1.0-alpha.41 → 0.1.0-alpha.42

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.
@@ -1873,11 +1873,11 @@
1873
1873
  })]
1874
1874
  });
1875
1875
  });
1876
- const borderTop = "_borderTop_gph7y_9";
1877
- const section = "_section_gph7y_13";
1878
- const fullWidth = "_fullWidth_gph7y_19";
1879
- const header = "_header_gph7y_95";
1880
- const content = "_content_gph7y_132";
1876
+ const borderTop = "_borderTop_1xpz0_9";
1877
+ const section = "_section_1xpz0_39";
1878
+ const fullWidth = "_fullWidth_1xpz0_39";
1879
+ const header = "_header_1xpz0_150";
1880
+ const content = "_content_1xpz0_187";
1881
1881
  const defaultStyles$9 = {
1882
1882
  borderTop,
1883
1883
  section,
@@ -1890,6 +1890,7 @@
1890
1890
  fullWidth: "fullWidth"
1891
1891
  };
1892
1892
  const PageSection = compat.forwardRef(({
1893
+ id: id2,
1893
1894
  children,
1894
1895
  layout = SectionLayout.default,
1895
1896
  styles: styles2,
@@ -1906,13 +1907,16 @@
1906
1907
  setMinHeight(headerElement.offsetHeight);
1907
1908
  }, [children]);
1908
1909
  return jsxRuntime.jsxs("section", {
1910
+ id: id2,
1909
1911
  ref,
1910
- className: [styles2.section, styles2[layout], borderTop2 && styles2.borderTop].join(" "),
1912
+ className: [styles2.section, styles2[layout]].join(" "),
1911
1913
  style: {
1912
1914
  "--background-color": backgroundColor,
1913
1915
  minHeight
1914
1916
  },
1915
- children: [jsxRuntime.jsx("div", {
1917
+ children: [borderTop2 && jsxRuntime.jsx("div", {
1918
+ className: styles2.borderTop
1919
+ }), jsxRuntime.jsx("div", {
1916
1920
  className: [styles2.header, styles2[layout]].join(" "),
1917
1921
  ref: headerRef,
1918
1922
  children: children.header