@guardian/interactive-component-library 0.1.0-alpha.26 → 0.1.0-alpha.27

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.
@@ -1497,19 +1497,21 @@ function HeaderCell({
1497
1497
  })]
1498
1498
  });
1499
1499
  }
1500
- const slopeChartContainer = "_slopeChartContainer_gj7pr_1";
1501
- const svg$2 = "_svg_gj7pr_5";
1502
- const line$1 = "_line_gj7pr_9";
1503
- const circle = "_circle_gj7pr_14";
1504
- const label = "_label_gj7pr_18";
1505
- const y1Label = "_y1Label_gj7pr_24";
1506
- const y2Label = "_y2Label_gj7pr_28";
1507
- const axis$1 = "_axis_gj7pr_32";
1508
- const axisLabel = "_axisLabel_gj7pr_37";
1500
+ const slopeChartContainer = "_slopeChartContainer_nmjjj_1";
1501
+ const svg$2 = "_svg_nmjjj_5";
1502
+ const line$1 = "_line_nmjjj_9";
1503
+ const lineWhite = "_lineWhite_nmjjj_14";
1504
+ const circle = "_circle_nmjjj_19";
1505
+ const label = "_label_nmjjj_23";
1506
+ const y1Label = "_y1Label_nmjjj_29";
1507
+ const y2Label = "_y2Label_nmjjj_33";
1508
+ const axis$1 = "_axis_nmjjj_37";
1509
+ const axisLabel = "_axisLabel_nmjjj_42";
1509
1510
  const defaultStyles$d = {
1510
1511
  slopeChartContainer,
1511
1512
  svg: svg$2,
1512
1513
  line: line$1,
1514
+ lineWhite,
1513
1515
  circle,
1514
1516
  label,
1515
1517
  y1Label,
@@ -1590,6 +1592,12 @@ const SlopeChart = ({
1590
1592
  }, line2.styles);
1591
1593
  return jsxs("g", {
1592
1594
  children: [jsx("line", {
1595
+ x1: 0,
1596
+ y1: yScale(line2.y1),
1597
+ x2: contentWidth,
1598
+ y2: yScale(line2.y2),
1599
+ className: `${itemStyles.lineWhite}`
1600
+ }), jsx("line", {
1593
1601
  x1: 0,
1594
1602
  y1: yScale(line2.y1),
1595
1603
  x2: contentWidth,
@@ -1950,10 +1958,10 @@ const ToplineResult = forwardRef(({
1950
1958
  })]
1951
1959
  });
1952
1960
  });
1953
- const section = "_section_12aiu_9";
1954
- const borderTop = "_borderTop_12aiu_52";
1955
- const header = "_header_12aiu_56";
1956
- const content = "_content_12aiu_76";
1961
+ const section = "_section_4s2t4_9";
1962
+ const borderTop = "_borderTop_4s2t4_52";
1963
+ const header = "_header_4s2t4_56";
1964
+ const content = "_content_4s2t4_77";
1957
1965
  const defaultStyles$8 = {
1958
1966
  section,
1959
1967
  borderTop,
@@ -2046,13 +2054,13 @@ const ColumnChart = ({
2046
2054
  })]
2047
2055
  });
2048
2056
  };
2049
- const container$3 = "_container_1snyq_1";
2050
- const img = "_img_1snyq_7";
2051
- const title$2 = "_title_1snyq_15";
2052
- const subtitle = "_subtitle_1snyq_31";
2053
- const small = "_small_1snyq_41";
2054
- const blurb = "_blurb_1snyq_51";
2055
- const footnote = "_footnote_1snyq_59";
2057
+ const container$3 = "_container_hbk39_1";
2058
+ const img = "_img_hbk39_5";
2059
+ const title$2 = "_title_hbk39_13";
2060
+ const subtitle = "_subtitle_hbk39_29";
2061
+ const small = "_small_hbk39_39";
2062
+ const blurb = "_blurb_hbk39_49";
2063
+ const footnote = "_footnote_hbk39_57";
2056
2064
  const defaultStyles$6 = {
2057
2065
  container: container$3,
2058
2066
  img,
@@ -2073,6 +2081,7 @@ const PartyProfile = ({
2073
2081
  blurb: blurb2,
2074
2082
  footnote: footnote2,
2075
2083
  imgSrc,
2084
+ imgAltText,
2076
2085
  styles: styles2
2077
2086
  }) => {
2078
2087
  styles2 = mergeStyles({
@@ -2082,7 +2091,8 @@ const PartyProfile = ({
2082
2091
  class: styles2.container,
2083
2092
  children: [jsx("img", {
2084
2093
  src: imgSrc,
2085
- className: styles2.img
2094
+ className: styles2.img,
2095
+ alt: imgAltText
2086
2096
  }), jsx("h3", {
2087
2097
  className: styles2.title,
2088
2098
  children: title2
@@ -3239,7 +3249,7 @@ function OptionGroup({
3239
3249
  onOptionClick
3240
3250
  }) {
3241
3251
  return jsxs(Fragment, {
3242
- children: [title2 && jsx("p", {
3252
+ children: [title2 && jsx("span", {
3243
3253
  className: styles$2.groupHeader,
3244
3254
  children: title2
3245
3255
  }), options.map((option2) => {