@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.
@@ -1877,11 +1877,11 @@ const ToplineResult = forwardRef(({
1877
1877
  })]
1878
1878
  });
1879
1879
  });
1880
- const borderTop = "_borderTop_gph7y_9";
1881
- const section = "_section_gph7y_13";
1882
- const fullWidth = "_fullWidth_gph7y_19";
1883
- const header = "_header_gph7y_95";
1884
- const content = "_content_gph7y_132";
1880
+ const borderTop = "_borderTop_1xpz0_9";
1881
+ const section = "_section_1xpz0_39";
1882
+ const fullWidth = "_fullWidth_1xpz0_39";
1883
+ const header = "_header_1xpz0_150";
1884
+ const content = "_content_1xpz0_187";
1885
1885
  const defaultStyles$9 = {
1886
1886
  borderTop,
1887
1887
  section,
@@ -1894,6 +1894,7 @@ const SectionLayout = {
1894
1894
  fullWidth: "fullWidth"
1895
1895
  };
1896
1896
  const PageSection = forwardRef(({
1897
+ id: id2,
1897
1898
  children,
1898
1899
  layout = SectionLayout.default,
1899
1900
  styles: styles2,
@@ -1910,13 +1911,16 @@ const PageSection = forwardRef(({
1910
1911
  setMinHeight(headerElement.offsetHeight);
1911
1912
  }, [children]);
1912
1913
  return jsxs("section", {
1914
+ id: id2,
1913
1915
  ref,
1914
- className: [styles2.section, styles2[layout], borderTop2 && styles2.borderTop].join(" "),
1916
+ className: [styles2.section, styles2[layout]].join(" "),
1915
1917
  style: {
1916
1918
  "--background-color": backgroundColor,
1917
1919
  minHeight
1918
1920
  },
1919
- children: [jsx("div", {
1921
+ children: [borderTop2 && jsx("div", {
1922
+ className: styles2.borderTop
1923
+ }), jsx("div", {
1920
1924
  className: [styles2.header, styles2[layout]].join(" "),
1921
1925
  ref: headerRef,
1922
1926
  children: children.header