@comicrelief/component-library 7.36.0 → 7.38.0

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.
Files changed (95) hide show
  1. package/dist/components/Atoms/Button/Button.js +1 -1
  2. package/dist/components/Atoms/Icons/Arrow.js +25 -4
  3. package/dist/components/Atoms/Icons/AtSign.js +32 -6
  4. package/dist/components/Atoms/Icons/Chevron.js +25 -3
  5. package/dist/components/Atoms/Icons/Download.js +31 -4
  6. package/dist/components/Atoms/Icons/External.js +31 -4
  7. package/dist/components/Atoms/Icons/Favourite.js +31 -4
  8. package/dist/components/Atoms/Icons/Internal.js +31 -4
  9. package/dist/components/Atoms/Input/Input.js +1 -1
  10. package/dist/components/Atoms/Link/Link.md +22 -21
  11. package/dist/components/Atoms/Link/Link.style.js +3 -3
  12. package/dist/components/Atoms/Link/Link.test.js +1 -1
  13. package/dist/components/Atoms/Logo/Logo.js +1 -1
  14. package/dist/components/Atoms/Select/Select.js +1 -1
  15. package/dist/components/Atoms/SocialIcons/SocialIcons.js +2 -2
  16. package/dist/components/Atoms/Text/Text.js +2 -2
  17. package/dist/components/Molecules/Accordion/Accordion.js +3 -3
  18. package/dist/components/Molecules/Accordion/__snapshots__/Accordion.test.js.snap +7 -0
  19. package/dist/components/Molecules/ArticleTeaser/ArticleTeaser.js +6 -6
  20. package/dist/components/Molecules/Banner/Banner.js +2 -2
  21. package/dist/components/Molecules/Box/Box.js +4 -4
  22. package/dist/components/Molecules/CardDs/CardDs.style.js +9 -9
  23. package/dist/components/Molecules/CardDs/__snapshots__/CardDs.test.js.snap +11 -0
  24. package/dist/components/Molecules/DoubleCopy/DoubleCopy.style.js +1 -1
  25. package/dist/components/Molecules/InfoBanner/InfoBanner.js +2 -2
  26. package/dist/components/Molecules/PartnerLink/PartnerLink.style.js +1 -1
  27. package/dist/components/Molecules/Promo/_PromoVideoButton.style.js +1 -1
  28. package/dist/components/Molecules/SearchResult/SearchResult.js +3 -3
  29. package/dist/components/Molecules/SingleMessage/SingleMessage.style.js +4 -4
  30. package/dist/components/Molecules/SingleMessageDS/SingleMessageDs.md +3 -3
  31. package/dist/components/Molecules/SingleMessageDS/SingleMessageDs.style.js +6 -6
  32. package/dist/components/Molecules/SingleMessageDS/__snapshots__/SingleMessageDs.test.js.snap +11 -0
  33. package/dist/components/Organisms/CookieBanner/CookieBanner.style.js +2 -2
  34. package/dist/components/Organisms/EmailSignUp/EmailSignUp.style.js +2 -2
  35. package/dist/components/Organisms/Footer/Footer.style.js +4 -4
  36. package/dist/components/Organisms/Footer/Nav/Nav.style.js +8 -8
  37. package/dist/components/Organisms/Header/Burger/BurgerMenu.style.js +1 -1
  38. package/dist/components/Organisms/Header/Header.style.js +3 -3
  39. package/dist/components/Organisms/Header/Nav/Nav.style.js +6 -6
  40. package/dist/components/Organisms/ImpactSlider/ImpactMoneybuys.style.js +6 -6
  41. package/dist/components/Organisms/ImpactSlider/ImpactSlider.style.js +7 -7
  42. package/dist/components/Organisms/MarketingPreferencesDS/MarketingPreferencesDS.style.js +4 -4
  43. package/dist/components/Organisms/Membership/Membership.style.js +2 -2
  44. package/dist/components/Organisms/WYMDCarousel/WYMDCarousel.style.js +10 -10
  45. package/dist/theme/crTheme/buttonColors.js +1 -1
  46. package/dist/theme/crTheme/theme.js +2 -0
  47. package/dist/theme/shared/allBreakpoints.js +20 -0
  48. package/package.json +1 -1
  49. package/src/components/Atoms/Button/Button.js +1 -1
  50. package/src/components/Atoms/Icons/Arrow.js +13 -2
  51. package/src/components/Atoms/Icons/AtSign.js +20 -7
  52. package/src/components/Atoms/Icons/Chevron.js +13 -1
  53. package/src/components/Atoms/Icons/Download.js +18 -4
  54. package/src/components/Atoms/Icons/External.js +18 -4
  55. package/src/components/Atoms/Icons/Favourite.js +18 -4
  56. package/src/components/Atoms/Icons/Internal.js +18 -4
  57. package/src/components/Atoms/Input/Input.js +1 -1
  58. package/src/components/Atoms/Link/Link.md +22 -21
  59. package/src/components/Atoms/Link/Link.style.js +3 -3
  60. package/src/components/Atoms/Link/Link.test.js +11 -0
  61. package/src/components/Atoms/Logo/Logo.js +1 -1
  62. package/src/components/Atoms/Select/Select.js +1 -1
  63. package/src/components/Atoms/SocialIcons/SocialIcons.js +2 -2
  64. package/src/components/Atoms/Text/Text.js +3 -3
  65. package/src/components/Molecules/Accordion/Accordion.js +6 -6
  66. package/src/components/Molecules/Accordion/__snapshots__/Accordion.test.js.snap +7 -0
  67. package/src/components/Molecules/ArticleTeaser/ArticleTeaser.js +6 -6
  68. package/src/components/Molecules/Banner/Banner.js +2 -2
  69. package/src/components/Molecules/Box/Box.js +4 -4
  70. package/src/components/Molecules/CardDs/CardDs.style.js +9 -9
  71. package/src/components/Molecules/CardDs/__snapshots__/CardDs.test.js.snap +11 -0
  72. package/src/components/Molecules/DoubleCopy/DoubleCopy.style.js +1 -1
  73. package/src/components/Molecules/InfoBanner/InfoBanner.js +2 -2
  74. package/src/components/Molecules/PartnerLink/PartnerLink.style.js +1 -1
  75. package/src/components/Molecules/Promo/_PromoVideoButton.style.js +1 -1
  76. package/src/components/Molecules/SearchResult/SearchResult.js +3 -3
  77. package/src/components/Molecules/SingleMessage/SingleMessage.style.js +6 -6
  78. package/src/components/Molecules/SingleMessageDS/SingleMessageDs.md +3 -3
  79. package/src/components/Molecules/SingleMessageDS/SingleMessageDs.style.js +6 -6
  80. package/src/components/Molecules/SingleMessageDS/__snapshots__/SingleMessageDs.test.js.snap +11 -0
  81. package/src/components/Organisms/CookieBanner/CookieBanner.style.js +2 -2
  82. package/src/components/Organisms/EmailSignUp/EmailSignUp.style.js +3 -3
  83. package/src/components/Organisms/Footer/Footer.style.js +4 -4
  84. package/src/components/Organisms/Footer/Nav/Nav.style.js +8 -8
  85. package/src/components/Organisms/Header/Burger/BurgerMenu.style.js +1 -1
  86. package/src/components/Organisms/Header/Header.style.js +3 -3
  87. package/src/components/Organisms/Header/Nav/Nav.style.js +6 -6
  88. package/src/components/Organisms/ImpactSlider/ImpactMoneybuys.style.js +7 -7
  89. package/src/components/Organisms/ImpactSlider/ImpactSlider.style.js +8 -8
  90. package/src/components/Organisms/MarketingPreferencesDS/MarketingPreferencesDS.style.js +4 -4
  91. package/src/components/Organisms/Membership/Membership.style.js +2 -2
  92. package/src/components/Organisms/WYMDCarousel/WYMDCarousel.style.js +21 -21
  93. package/src/theme/crTheme/buttonColors.js +1 -1
  94. package/src/theme/crTheme/theme.js +2 -0
  95. package/src/theme/shared/allBreakpoints.js +14 -0
@@ -67,7 +67,7 @@ const BaseText = exports.BaseText = _styledComponents.default.span.withConfig({
67
67
  size,
68
68
  theme
69
69
  } = _ref10;
70
- return size === 'super' ? (0, _styledComponents.css)(["font-size:", ";line-height:3rem;@media ", "{font-size:", ";line-height:", ";margin-bottom:2rem;}@media ", "{font-size:", ";line-height:", ";margin-bottom:2rem;}"], theme.fontSize('xxl'), theme.breakpoint('small'), theme.fontSize('big'), theme.fontSize('big'), theme.breakpoint('medium'), theme.fontSize('super'), theme.fontSize('super')) : null;
70
+ return size === 'super' ? (0, _styledComponents.css)(["font-size:", ";line-height:3rem;@media ", "{font-size:", ";line-height:", ";margin-bottom:2rem;}@media ", "{font-size:", ";line-height:", ";margin-bottom:2rem;}"], theme.fontSize('xxl'), theme.allBreakpoints('M'), theme.fontSize('big'), theme.fontSize('big'), theme.allBreakpoints('L'), theme.fontSize('super'), theme.fontSize('super')) : null;
71
71
  }, _ref11 => {
72
72
  let {
73
73
  mobileColor,
@@ -79,7 +79,7 @@ const BaseText = exports.BaseText = _styledComponents.default.span.withConfig({
79
79
  size,
80
80
  theme
81
81
  } = _ref12;
82
- return size === 'm' ? (0, _styledComponents.css)(["font-size:", ";@media ", "{font-size:", ";}"], theme.fontSize('s'), theme.breakpoint('small'), theme.fontSize('m')) : null;
82
+ return size === 'm' ? (0, _styledComponents.css)(["font-size:", ";@media ", "{font-size:", ";}"], theme.fontSize('s'), theme.allBreakpoints('M'), theme.fontSize('m')) : null;
83
83
  });
84
84
 
85
85
  /** Text renders different elements based on the `tag` prop
@@ -27,7 +27,7 @@ const Button = _styledComponents.default.button.withConfig({
27
27
  let {
28
28
  theme
29
29
  } = _ref2;
30
- return theme.breakpoint('small');
30
+ return theme.allBreakpoints('M');
31
31
  }, (0, _spacing.default)('l'), (0, _spacing.default)('lg'));
32
32
  const Icon = _styledComponents.default.div.withConfig({
33
33
  displayName: "Accordion__Icon",
@@ -40,7 +40,7 @@ const Copy = _styledComponents.default.div.withConfig({
40
40
  let {
41
41
  theme
42
42
  } = _ref3;
43
- return theme.breakpoint('small');
43
+ return theme.allBreakpoints('M');
44
44
  }, (0, _spacing.default)('lg'), _ref4 => {
45
45
  let {
46
46
  isOpen
@@ -49,7 +49,7 @@ const Copy = _styledComponents.default.div.withConfig({
49
49
  let {
50
50
  theme
51
51
  } = _ref5;
52
- return theme.breakpoint('small');
52
+ return theme.allBreakpoints('M');
53
53
  }, (0, _spacing.default)('lg'), (0, _spacing.default)('l'));
54
54
  });
55
55
  const Accordion = _ref6 => {
@@ -20,6 +20,7 @@ exports[`renders correctly 1`] = `
20
20
  -webkit-transform: rotate(180deg);
21
21
  -ms-transform: rotate(180deg);
22
22
  transform: rotate(180deg);
23
+ fill: #000000;
23
24
  }
24
25
 
25
26
  .c0 {
@@ -88,6 +89,12 @@ exports[`renders correctly 1`] = `
88
89
  padding: 0 2rem;
89
90
  }
90
91
 
92
+ @media (min-width:1024px) {
93
+ .c4 {
94
+ fill: #000000;
95
+ }
96
+ }
97
+
91
98
  @media (min-width:740px) {
92
99
  .c1 {
93
100
  padding: 2rem 3rem;
@@ -44,12 +44,12 @@ const Link = (0, _styledComponents.default)(_Link.default).withConfig({
44
44
  let {
45
45
  theme
46
46
  } = _ref4;
47
- return theme.breakpoint('small');
47
+ return theme.allBreakpoints('M');
48
48
  }, _ref5 => {
49
49
  let {
50
50
  theme
51
51
  } = _ref5;
52
- return theme.breakpoint('medium');
52
+ return theme.allBreakpoints('L');
53
53
  }, _ref6 => {
54
54
  let {
55
55
  category
@@ -72,12 +72,12 @@ const ImageWrapper = _styledComponents.default.div.withConfig({
72
72
  let {
73
73
  theme
74
74
  } = _ref9;
75
- return theme.breakpoint('small');
75
+ return theme.allBreakpoints('M');
76
76
  }, _ref10 => {
77
77
  let {
78
78
  theme
79
79
  } = _ref10;
80
- return theme.breakpoint('medium');
80
+ return theme.allBreakpoints('L');
81
81
  });
82
82
  });
83
83
  const CopyWrapper = _styledComponents.default.div.withConfig({
@@ -91,13 +91,13 @@ const CopyWrapper = _styledComponents.default.div.withConfig({
91
91
  let {
92
92
  theme
93
93
  } = _ref12;
94
- return theme.breakpoint('small');
94
+ return theme.allBreakpoints('M');
95
95
  });
96
96
  }, _ref13 => {
97
97
  let {
98
98
  theme
99
99
  } = _ref13;
100
- return theme.breakpoint('medium');
100
+ return theme.allBreakpoints('L');
101
101
  });
102
102
  const Title = (0, _styledComponents.default)(_Text.default).withConfig({
103
103
  displayName: "ArticleTeaser__Title",
@@ -26,12 +26,12 @@ const Container = _styledComponents.default.div.withConfig({
26
26
  let {
27
27
  theme
28
28
  } = _ref2;
29
- return theme.breakpoint('small');
29
+ return theme.allBreakpoints('M');
30
30
  }, (0, _spacing.default)('xl'), (0, _spacing.default)('l'), _ref3 => {
31
31
  let {
32
32
  theme
33
33
  } = _ref3;
34
- return theme.breakpoint('large');
34
+ return theme.allBreakpoints('XL');
35
35
  }, (0, _spacing.default)('xl'), (0, _spacing.default)('xl'));
36
36
  const Banner = _ref4 => {
37
37
  let {
@@ -16,12 +16,12 @@ const Container = _styledComponents.default.div.withConfig({
16
16
  let {
17
17
  theme
18
18
  } = _ref;
19
- return theme.breakpoint('small');
19
+ return theme.allBreakpoints('M');
20
20
  }, _ref2 => {
21
21
  let {
22
22
  theme
23
23
  } = _ref2;
24
- return theme.breakpoint('large');
24
+ return theme.allBreakpoints('XL');
25
25
  });
26
26
  const Image = _styledComponents.default.div.withConfig({
27
27
  displayName: "Box__Image",
@@ -34,12 +34,12 @@ const Copy = _styledComponents.default.div.withConfig({
34
34
  let {
35
35
  theme
36
36
  } = _ref3;
37
- return theme.breakpoint('small');
37
+ return theme.allBreakpoints('M');
38
38
  }, _ref4 => {
39
39
  let {
40
40
  theme
41
41
  } = _ref4;
42
- return theme.breakpoint('large');
42
+ return theme.allBreakpoints('XL');
43
43
  });
44
44
  const Box = _ref5 => {
45
45
  let {
@@ -22,12 +22,12 @@ const Container = exports.Container = _styledComponents.default.div.withConfig({
22
22
  let {
23
23
  theme
24
24
  } = _ref2;
25
- return theme.breakpoint('small');
25
+ return theme.allBreakpoints('M');
26
26
  }, _ref3 => {
27
27
  let {
28
28
  theme
29
29
  } = _ref3;
30
- return theme.breakpoint('large');
30
+ return theme.allBreakpoints('XL');
31
31
  });
32
32
  const Image = exports.Image = _styledComponents.default.div.withConfig({
33
33
  displayName: "CardDsstyle__Image",
@@ -36,7 +36,7 @@ const Image = exports.Image = _styledComponents.default.div.withConfig({
36
36
  let {
37
37
  theme
38
38
  } = _ref4;
39
- return theme.breakpoint('small');
39
+ return theme.allBreakpoints('M');
40
40
  }, (0, _spacing.default)('m'), (0, _spacing.default)('m'), (0, _spacing.default)('md'), (0, _spacing.default)('md'));
41
41
  const MediaLink = exports.MediaLink = _styledComponents.default.a.withConfig({
42
42
  displayName: "CardDsstyle__MediaLink",
@@ -45,12 +45,12 @@ const MediaLink = exports.MediaLink = _styledComponents.default.a.withConfig({
45
45
  let {
46
46
  theme
47
47
  } = _ref5;
48
- return theme.breakpoint('small');
48
+ return theme.allBreakpoints('M');
49
49
  }, _ref6 => {
50
50
  let {
51
51
  theme
52
52
  } = _ref6;
53
- return theme.breakpoint('large');
53
+ return theme.allBreakpoints('XL');
54
54
  });
55
55
  const Copy = exports.Copy = _styledComponents.default.div.withConfig({
56
56
  displayName: "CardDsstyle__Copy",
@@ -70,7 +70,7 @@ const Copy = exports.Copy = _styledComponents.default.div.withConfig({
70
70
  let {
71
71
  theme
72
72
  } = _ref9;
73
- return theme.breakpoint('large');
73
+ return theme.allBreakpoints('XL');
74
74
  }, (0, _zIndex.default)('low'), _ref10 => {
75
75
  let {
76
76
  hasImage
@@ -79,12 +79,12 @@ const Copy = exports.Copy = _styledComponents.default.div.withConfig({
79
79
  let {
80
80
  theme
81
81
  } = _ref11;
82
- return theme.breakpoint('small');
82
+ return theme.allBreakpoints('M');
83
83
  }, (0, _spacing.default)('m'), (0, _spacing.default)('m'), (0, _spacing.default)('m'), _ref12 => {
84
84
  let {
85
85
  theme
86
86
  } = _ref12;
87
- return theme.breakpoint('large');
87
+ return theme.allBreakpoints('XL');
88
88
  }, (0, _spacing.default)('m'), (0, _spacing.default)('m'));
89
89
  });
90
90
  const CTA = exports.CTA = _styledComponents.default.div.withConfig({
@@ -94,7 +94,7 @@ const CTA = exports.CTA = _styledComponents.default.div.withConfig({
94
94
  let {
95
95
  theme
96
96
  } = _ref13;
97
- return theme.breakpoint('small');
97
+ return theme.allBreakpoints('M');
98
98
  }, (0, _spacing.default)('l'), (0, _spacing.default)('md'), _ref14 => {
99
99
  let {
100
100
  hasImage
@@ -115,6 +115,10 @@ exports[`renders correctly 1`] = `
115
115
  z-index: 2;
116
116
  }
117
117
 
118
+ .c9 {
119
+ fill: #FFFFFF;
120
+ }
121
+
118
122
  @media (min-width:740px) {
119
123
  .c8 {
120
124
  width: auto;
@@ -201,6 +205,12 @@ exports[`renders correctly 1`] = `
201
205
  }
202
206
  }
203
207
 
208
+ @media (min-width:1024px) {
209
+ .c9 {
210
+ fill: #FFFFFF;
211
+ }
212
+ }
213
+
204
214
  <div
205
215
  className="c0"
206
216
  >
@@ -258,6 +268,7 @@ exports[`renders correctly 1`] = `
258
268
  type="button"
259
269
  >
260
270
  <svg
271
+ className="c9"
261
272
  fill="#FFFFFF"
262
273
  height={24}
263
274
  viewBox="0 0 96 96"
@@ -14,7 +14,7 @@ const Section = exports.Section = _styledComponents.default.section.withConfig({
14
14
  let {
15
15
  theme
16
16
  } = _ref;
17
- return theme.breakpoint('small');
17
+ return theme.allBreakpoints('M');
18
18
  });
19
19
  const CopyWrapper = exports.CopyWrapper = _styledComponents.default.div.withConfig({
20
20
  displayName: "DoubleCopystyle__CopyWrapper",
@@ -18,7 +18,7 @@ const Container = _styledComponents.default.section.withConfig({
18
18
  let {
19
19
  theme
20
20
  } = _ref;
21
- return theme.breakpoint('small');
21
+ return theme.allBreakpoints('M');
22
22
  });
23
23
  const Info = _styledComponents.default.div.withConfig({
24
24
  displayName: "InfoBanner__Info",
@@ -27,7 +27,7 @@ const Info = _styledComponents.default.div.withConfig({
27
27
  let {
28
28
  theme
29
29
  } = _ref2;
30
- return theme.breakpoint('small');
30
+ return theme.allBreakpoints('M');
31
31
  });
32
32
 
33
33
  /**
@@ -17,7 +17,7 @@ const MoreInfo = exports.MoreInfo = (0, _styledComponents.default)(_Text.default
17
17
  let {
18
18
  theme
19
19
  } = _ref;
20
- return theme.breakpoint('small');
20
+ return theme.allBreakpoints('M');
21
21
  }, _ref2 => {
22
22
  let {
23
23
  theme
@@ -42,7 +42,7 @@ const PlayButton = exports.PlayButton = _styledComponents.default.button.withCon
42
42
  let {
43
43
  theme
44
44
  } = _ref5;
45
- return theme.breakpoint('medium');
45
+ return theme.allBreakpoints('L');
46
46
  }, _ref6 => {
47
47
  let {
48
48
  copyLeft
@@ -30,7 +30,7 @@ const Item = (0, _styledComponents.default)(_Link.default).withConfig({
30
30
  let {
31
31
  theme
32
32
  } = _ref2;
33
- return theme.breakpoint('small');
33
+ return theme.allBreakpoints('M');
34
34
  });
35
35
  const ImageWrapper = _styledComponents.default.div.withConfig({
36
36
  displayName: "SearchResult__ImageWrapper",
@@ -39,7 +39,7 @@ const ImageWrapper = _styledComponents.default.div.withConfig({
39
39
  let {
40
40
  theme
41
41
  } = _ref3;
42
- return theme.breakpoint('small');
42
+ return theme.allBreakpoints('M');
43
43
  }, _ref4 => {
44
44
  let {
45
45
  smallImageWidth
@@ -49,7 +49,7 @@ const ImageWrapper = _styledComponents.default.div.withConfig({
49
49
  let {
50
50
  theme
51
51
  } = _ref5;
52
- return theme.breakpoint('large');
52
+ return theme.allBreakpoints('XL');
53
53
  }, _ref6 => {
54
54
  let {
55
55
  largeImageWidth
@@ -71,12 +71,12 @@ const Copy = exports.Copy = _styledComponents.default.div.withConfig({
71
71
  let {
72
72
  theme
73
73
  } = _ref9;
74
- return theme.breakpoint('small');
74
+ return theme.allBreakpoints('M');
75
75
  }) : (0, _styledComponents.css)(["@media ", "{width:100%;max-width ", ";padding:", ";}margin:auto;padding:", ";"], _ref10 => {
76
76
  let {
77
77
  theme
78
78
  } = _ref10;
79
- return theme.breakpoint('small');
79
+ return theme.allBreakpoints('M');
80
80
  }, _size.container.small, (0, _spacing.default)('xl'), (0, _spacing.default)('md')), (0, _size.media)('medium'), _ref11 => {
81
81
  let {
82
82
  paddingOption
@@ -95,7 +95,7 @@ const Media = exports.Media = _styledComponents.default.div.withConfig({
95
95
  let {
96
96
  theme
97
97
  } = _ref13;
98
- return theme.breakpoint('small');
98
+ return theme.allBreakpoints('M');
99
99
  }, _ref14 => {
100
100
  let {
101
101
  fullImage
@@ -160,7 +160,7 @@ const Image = exports.Image = _styledComponents.default.div.withConfig({
160
160
  let {
161
161
  theme
162
162
  } = _ref24;
163
- return theme.breakpoint('small');
163
+ return theme.allBreakpoints('M');
164
164
  }, _ref25 => {
165
165
  let {
166
166
  fullImage,
@@ -12,7 +12,7 @@ const Title = styled(Text)`
12
12
  letter-spacing: 0.03em;
13
13
  text-transform: uppercase;
14
14
  margin: ${spacing('md')} 0;
15
- @media ${({ theme }) => theme.breakpoint('small')} {
15
+ @media ${({ theme }) => theme.allBreakpoints('M')} {
16
16
  margin-bottom: ${spacing('m')};
17
17
  }
18
18
  `;
@@ -57,7 +57,7 @@ import spacing from '../../../theme/shared/spacing';
57
57
 
58
58
  const Title = styled(Text)`
59
59
  margin: ${spacing('md')} 0;
60
- @media ${({ theme }) => theme.breakpoint('small')} {
60
+ @media ${({ theme }) => theme.allBreakpoints('M')} {
61
61
  margin-bottom: ${spacing('m')};
62
62
  }
63
63
  `;
@@ -103,7 +103,7 @@ import spacing from '../../../theme/shared/spacing';
103
103
 
104
104
  const Title = styled(Text)`
105
105
  margin: ${spacing('md')} 0;
106
- @media ${({ theme }) => theme.breakpoint('small')} {
106
+ @media ${({ theme }) => theme.allBreakpoints('M')} {
107
107
  margin-bottom: ${spacing('m')};
108
108
  }
109
109
  `;
@@ -23,7 +23,7 @@ const Container = exports.Container = _styledComponents.default.div.withConfig({
23
23
  let {
24
24
  theme
25
25
  } = _ref2;
26
- return theme.breakpoint('small');
26
+ return theme.allBreakpoints('M');
27
27
  }, _ref3 => {
28
28
  let {
29
29
  imageLeft
@@ -41,7 +41,7 @@ const Image = exports.Image = _styledComponents.default.div.withConfig({
41
41
  let {
42
42
  theme
43
43
  } = _ref4;
44
- return theme.breakpoint('small');
44
+ return theme.allBreakpoints('M');
45
45
  }, boxShadow);
46
46
  const MediaLink = exports.MediaLink = _styledComponents.default.a.withConfig({
47
47
  displayName: "SingleMessageDsstyle__MediaLink",
@@ -55,7 +55,7 @@ const MediaLink = exports.MediaLink = _styledComponents.default.a.withConfig({
55
55
  let {
56
56
  theme
57
57
  } = _ref6;
58
- return theme.breakpoint('small');
58
+ return theme.allBreakpoints('M');
59
59
  });
60
60
  const PlayHolder = exports.PlayHolder = _styledComponents.default.div.withConfig({
61
61
  displayName: "SingleMessageDsstyle__PlayHolder",
@@ -81,7 +81,7 @@ const CTA = exports.CTA = _styledComponents.default.div.withConfig({
81
81
  let {
82
82
  theme
83
83
  } = _ref8;
84
- return theme.breakpoint('small');
84
+ return theme.allBreakpoints('M');
85
85
  }, _ref9 => {
86
86
  let {
87
87
  hasImage
@@ -111,7 +111,7 @@ const Copy = exports.Copy = _styledComponents.default.div.withConfig({
111
111
  let {
112
112
  theme
113
113
  } = _ref13;
114
- return theme.breakpoint('small');
114
+ return theme.allBreakpoints('M');
115
115
  }, (0, _spacing.default)('l'), _ref14 => {
116
116
  let {
117
117
  hasLink
@@ -126,7 +126,7 @@ const Copy = exports.Copy = _styledComponents.default.div.withConfig({
126
126
  let {
127
127
  theme
128
128
  } = _ref16;
129
- return theme.breakpoint('large');
129
+ return theme.allBreakpoints('XL');
130
130
  }, (0, _spacing.default)('m'), _ref17 => {
131
131
  let {
132
132
  hasLink
@@ -79,6 +79,10 @@ exports[`renders correctly 1`] = `
79
79
  color: #FFFFFF;
80
80
  }
81
81
 
82
+ .c13 {
83
+ fill: #FFFFFF;
84
+ }
85
+
82
86
  .c0 {
83
87
  display: -webkit-box;
84
88
  display: -webkit-flex;
@@ -175,6 +179,12 @@ exports[`renders correctly 1`] = `
175
179
  }
176
180
  }
177
181
 
182
+ @media (min-width:1024px) {
183
+ .c13 {
184
+ fill: #FFFFFF;
185
+ }
186
+ }
187
+
178
188
  @media (min-width:740px) {
179
189
  .c0 {
180
190
  -webkit-flex-direction: row;
@@ -310,6 +320,7 @@ exports[`renders correctly 1`] = `
310
320
  type="button"
311
321
  >
312
322
  <svg
323
+ className="c13"
313
324
  fill="#FFFFFF"
314
325
  height={24}
315
326
  viewBox="0 0 96 96"
@@ -26,7 +26,7 @@ const CookieText = exports.CookieText = (0, _styledComponents.default)(_Text.def
26
26
  let {
27
27
  theme
28
28
  } = _ref2;
29
- return theme.breakpoint('small');
29
+ return theme.allBreakpoints('M');
30
30
  }, (0, _spacing.default)('none'), (0, _spacing.default)('md'));
31
31
  const AcceptCookieBtn = exports.AcceptCookieBtn = (0, _styledComponents.default)(_Link.default).withConfig({
32
32
  displayName: "CookieBannerstyle__AcceptCookieBtn",
@@ -35,7 +35,7 @@ const AcceptCookieBtn = exports.AcceptCookieBtn = (0, _styledComponents.default)
35
35
  let {
36
36
  theme
37
37
  } = _ref3;
38
- return theme.breakpoint('small');
38
+ return theme.allBreakpoints('M');
39
39
  }, (0, _spacing.default)('xsm'));
40
40
  const LinkStyle = exports.LinkStyle = (0, _styledComponents.default)(_Link.default).withConfig({
41
41
  displayName: "CookieBannerstyle__LinkStyle",
@@ -78,7 +78,7 @@ const NameWrapper = exports.NameWrapper = _styledComponents.default.div.withConf
78
78
  let {
79
79
  theme
80
80
  } = _ref9;
81
- return theme.breakpoint('medium');
81
+ return theme.allBreakpoints('L');
82
82
  }, _ref10 => {
83
83
  let {
84
84
  columnLayout
@@ -102,7 +102,7 @@ const InputField = exports.InputField = (0, _styledComponents.default)(_TextInpu
102
102
  let {
103
103
  theme
104
104
  } = _ref13;
105
- return theme.breakpoint('medium');
105
+ return theme.allBreakpoints('L');
106
106
  });
107
107
  const Title = exports.Title = (0, _styledComponents.default)(_Text.default).withConfig({
108
108
  displayName: "EmailSignUpstyle__Title",
@@ -18,7 +18,7 @@ const FooterWrapper = exports.FooterWrapper = _styledComponents.default.footer.a
18
18
  let {
19
19
  theme
20
20
  } = _ref;
21
- return theme.breakpoint('small');
21
+ return theme.allBreakpoints('M');
22
22
  }, (0, _spacing.default)('l'));
23
23
  const Angle = exports.Angle = _styledComponents.default.div.withConfig({
24
24
  displayName: "Footerstyle__Angle",
@@ -27,7 +27,7 @@ const Angle = exports.Angle = _styledComponents.default.div.withConfig({
27
27
  let {
28
28
  theme
29
29
  } = _ref2;
30
- return theme.breakpoint('medium');
30
+ return theme.allBreakpoints('L');
31
31
  });
32
32
  const InnerWrapper = exports.InnerWrapper = _styledComponents.default.div.withConfig({
33
33
  displayName: "Footerstyle__InnerWrapper",
@@ -36,7 +36,7 @@ const InnerWrapper = exports.InnerWrapper = _styledComponents.default.div.withCo
36
36
  let {
37
37
  theme
38
38
  } = _ref3;
39
- return theme.breakpoint('medium');
39
+ return theme.allBreakpoints('L');
40
40
  }, (0, _spacing.default)('md'), (0, _spacing.default)('xl'));
41
41
  const FooterLegalLine = exports.FooterLegalLine = (0, _styledComponents.default)(_Text.default).withConfig({
42
42
  displayName: "Footerstyle__FooterLegalLine",
@@ -53,7 +53,7 @@ const FooterCopyright = exports.FooterCopyright = _styledComponents.default.div.
53
53
  let {
54
54
  theme
55
55
  } = _ref4;
56
- return theme.breakpoint('medium');
56
+ return theme.allBreakpoints('L');
57
57
  });
58
58
  const Brand = exports.Brand = (0, _styledComponents.default)(_Link.default).withConfig({
59
59
  displayName: "Footerstyle__Brand",
@@ -46,7 +46,7 @@ const SubNavMenu = exports.SubNavMenu = _styledComponents.default.ul.withConfig(
46
46
  let {
47
47
  theme
48
48
  } = _ref4;
49
- return theme.breakpoint('small');
49
+ return theme.allBreakpoints('M');
50
50
  }, _ref5 => {
51
51
  let {
52
52
  column
@@ -64,7 +64,7 @@ const SubNavItem = exports.SubNavItem = _styledComponents.default.li.withConfig(
64
64
  let {
65
65
  theme
66
66
  } = _ref6;
67
- return theme.breakpoint('small');
67
+ return theme.allBreakpoints('M');
68
68
  }, _ref7 => {
69
69
  let {
70
70
  column
@@ -74,7 +74,7 @@ const SubNavItem = exports.SubNavItem = _styledComponents.default.li.withConfig(
74
74
  let {
75
75
  theme
76
76
  } = _ref8;
77
- return theme.breakpoint('medium');
77
+ return theme.allBreakpoints('L');
78
78
  }, _ref9 => {
79
79
  let {
80
80
  column
@@ -100,7 +100,7 @@ const NavMenu = exports.NavMenu = _styledComponents.default.ul.withConfig({
100
100
  let {
101
101
  theme
102
102
  } = _ref10;
103
- return theme.breakpoint('small');
103
+ return theme.allBreakpoints('M');
104
104
  });
105
105
 
106
106
  /**
@@ -121,17 +121,17 @@ const NavItem = exports.NavItem = _styledComponents.default.li.withConfig({
121
121
  let {
122
122
  theme
123
123
  } = _ref11;
124
- return theme.breakpoint('small');
124
+ return theme.allBreakpoints('M');
125
125
  }, _ref12 => {
126
126
  let {
127
127
  theme
128
128
  } = _ref12;
129
- return theme.breakpoint('medium');
129
+ return theme.allBreakpoints('L');
130
130
  }, _ref13 => {
131
131
  let {
132
132
  theme
133
133
  } = _ref13;
134
- return theme.breakpoint('small');
134
+ return theme.allBreakpoints('M');
135
135
  }, _ref14 => {
136
136
  let {
137
137
  theme
@@ -151,5 +151,5 @@ const NavItem = exports.NavItem = _styledComponents.default.li.withConfig({
151
151
  let {
152
152
  theme
153
153
  } = _ref17;
154
- return theme.breakpoint('small');
154
+ return theme.allBreakpoints('M');
155
155
  });
@@ -73,5 +73,5 @@ const BurgerWrapper = exports.BurgerWrapper = (0, _styledComponents.default)(_Li
73
73
  let {
74
74
  theme
75
75
  } = _ref8;
76
- return theme.breakpoint('nav');
76
+ return theme.allBreakpoints('Nav');
77
77
  });
@@ -23,7 +23,7 @@ const HeaderWrapper = exports.HeaderWrapper = _styledComponents.default.header.a
23
23
  let {
24
24
  theme
25
25
  } = _ref2;
26
- return theme.breakpoint('nav');
26
+ return theme.allBreakpoints('Nav');
27
27
  });
28
28
  const InnerWrapper = exports.InnerWrapper = _styledComponents.default.div.withConfig({
29
29
  displayName: "Headerstyle__InnerWrapper",
@@ -32,7 +32,7 @@ const InnerWrapper = exports.InnerWrapper = _styledComponents.default.div.withCo
32
32
  let {
33
33
  theme
34
34
  } = _ref3;
35
- return theme.breakpoint('nav');
35
+ return theme.allBreakpoints('Nav');
36
36
  });
37
37
  const Brand = exports.Brand = _styledComponents.default.div.withConfig({
38
38
  displayName: "Headerstyle__Brand",
@@ -45,7 +45,7 @@ const MetaIcons = exports.MetaIcons = _styledComponents.default.div.withConfig({
45
45
  let {
46
46
  theme
47
47
  } = _ref4;
48
- return theme.breakpoint('nav');
48
+ return theme.allBreakpoints('Nav');
49
49
  }, _ref5 => {
50
50
  let {
51
51
  theme