@comicrelief/component-library 8.44.3 → 8.44.4

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 (59) hide show
  1. package/dist/components/Atoms/Checkbox/Checkbox.test.js +0 -4
  2. package/dist/components/Atoms/ErrorText/__snapshots__/ErrorText.test.js.snap +0 -2
  3. package/dist/components/Atoms/Input/input.test.js +0 -2
  4. package/dist/components/Atoms/RadioButton/RadioButton.test.js +0 -4
  5. package/dist/components/Atoms/Select/__snapshots__/Select.test.js.snap +0 -1
  6. package/dist/components/Atoms/Text/Text.js +28 -28
  7. package/dist/components/Atoms/Text/Text.md +8 -8
  8. package/dist/components/Atoms/Text/__snapshots__/Text.test.js.snap +0 -9
  9. package/dist/components/Atoms/TextArea/TextArea.test.js +0 -1
  10. package/dist/components/Atoms/TextInputWithDropdown/__snapshots__/TextInputWithDropdown.test.js.snap +0 -7
  11. package/dist/components/Molecules/Accordion/__snapshots__/Accordion.test.js.snap +0 -4
  12. package/dist/components/Molecules/ArticleTeaser/ArticleTeaser.test.js +0 -10
  13. package/dist/components/Molecules/Banner/__snapshots__/Banner.test.js.snap +0 -2
  14. package/dist/components/Molecules/Descriptor/Descriptor.test.js +0 -13
  15. package/dist/components/Molecules/InfoBanner/__snapshots__/InfoBanner.test.js.snap +0 -24
  16. package/dist/components/Molecules/PartnerLink/PartnerLink.test.js +0 -2
  17. package/dist/components/Molecules/Promo/__snapshots__/Promo.test.js.snap +0 -8
  18. package/dist/components/Molecules/SchoolLookup/__snapshots__/SchoolLookup.test.js.snap +0 -1
  19. package/dist/components/Molecules/SearchInput/SearchInput.test.js +0 -1
  20. package/dist/components/Molecules/SearchResult/__snapshots__/SearchResult.test.js.snap +0 -18
  21. package/dist/components/Molecules/SingleMessage/__snapshots__/SingleMessage.test.js.snap +0 -14
  22. package/dist/components/Molecules/SingleMessageDS/__snapshots__/SingleMessageDs.test.js.snap +0 -4
  23. package/dist/components/Molecules/Typeahead/__snapshots__/Typeahead.test.js.snap +0 -1
  24. package/dist/components/Organisms/CookieBanner/CookieBanner.test.js +0 -2
  25. package/dist/components/Organisms/Donate/__snapshots__/Donate.test.js.snap +0 -35
  26. package/dist/components/Organisms/EmailSignUp/__snapshots__/EmailSignUp.test.js.snap +0 -8
  27. package/dist/components/Organisms/Footer/__snapshots__/Footer.test.js.snap +0 -58
  28. package/dist/components/Organisms/Membership/Membership.test.js +0 -12
  29. package/dist/components/Organisms/WYMDCarousel/__snapshots__/WYMDCarousel.test.js.snap +0 -3
  30. package/package.json +1 -1
  31. package/src/components/Atoms/Checkbox/Checkbox.test.js +0 -4
  32. package/src/components/Atoms/ErrorText/__snapshots__/ErrorText.test.js.snap +0 -2
  33. package/src/components/Atoms/Input/input.test.js +0 -2
  34. package/src/components/Atoms/RadioButton/RadioButton.test.js +0 -4
  35. package/src/components/Atoms/Select/__snapshots__/Select.test.js.snap +0 -1
  36. package/src/components/Atoms/Text/Text.js +19 -19
  37. package/src/components/Atoms/Text/Text.md +8 -8
  38. package/src/components/Atoms/Text/__snapshots__/Text.test.js.snap +0 -9
  39. package/src/components/Atoms/TextArea/TextArea.test.js +0 -1
  40. package/src/components/Atoms/TextInputWithDropdown/__snapshots__/TextInputWithDropdown.test.js.snap +0 -7
  41. package/src/components/Molecules/Accordion/__snapshots__/Accordion.test.js.snap +0 -4
  42. package/src/components/Molecules/ArticleTeaser/ArticleTeaser.test.js +0 -10
  43. package/src/components/Molecules/Banner/__snapshots__/Banner.test.js.snap +0 -2
  44. package/src/components/Molecules/Descriptor/Descriptor.test.js +0 -13
  45. package/src/components/Molecules/InfoBanner/__snapshots__/InfoBanner.test.js.snap +0 -24
  46. package/src/components/Molecules/PartnerLink/PartnerLink.test.js +0 -2
  47. package/src/components/Molecules/Promo/__snapshots__/Promo.test.js.snap +0 -8
  48. package/src/components/Molecules/SchoolLookup/__snapshots__/SchoolLookup.test.js.snap +0 -1
  49. package/src/components/Molecules/SearchInput/SearchInput.test.js +0 -1
  50. package/src/components/Molecules/SearchResult/__snapshots__/SearchResult.test.js.snap +0 -18
  51. package/src/components/Molecules/SingleMessage/__snapshots__/SingleMessage.test.js.snap +0 -14
  52. package/src/components/Molecules/SingleMessageDS/__snapshots__/SingleMessageDs.test.js.snap +0 -4
  53. package/src/components/Molecules/Typeahead/__snapshots__/Typeahead.test.js.snap +0 -1
  54. package/src/components/Organisms/CookieBanner/CookieBanner.test.js +0 -2
  55. package/src/components/Organisms/Donate/__snapshots__/Donate.test.js.snap +0 -35
  56. package/src/components/Organisms/EmailSignUp/__snapshots__/EmailSignUp.test.js.snap +0 -8
  57. package/src/components/Organisms/Footer/__snapshots__/Footer.test.js.snap +0 -58
  58. package/src/components/Organisms/Membership/Membership.test.js +0 -12
  59. package/src/components/Organisms/WYMDCarousel/__snapshots__/WYMDCarousel.test.js.snap +0 -3
@@ -117,8 +117,6 @@ it('renders correctly', () => {
117
117
  <span />
118
118
  <span
119
119
  className="c2"
120
- color="inherit"
121
- size="s"
122
120
  >
123
121
  Tennis
124
122
  </span>
@@ -223,8 +221,6 @@ it('renders correctly', () => {
223
221
  <span />
224
222
  <span
225
223
  className="c2"
226
- color="inherit"
227
- size="s"
228
224
  >
229
225
  Handball
230
226
  </span>
@@ -48,8 +48,6 @@ exports[`renders correctly 1`] = `
48
48
 
49
49
  <span
50
50
  className="c0"
51
- color="red"
52
- size="error"
53
51
  >
54
52
  <span
55
53
  className="c1"
@@ -146,7 +146,6 @@ it('renders correctly', () => {
146
146
  >
147
147
  <span
148
148
  className="c1 c2"
149
- color="inherit"
150
149
  dangerouslySetInnerHTML={
151
150
  Object {
152
151
  "__html": "Label",
@@ -322,7 +321,6 @@ it('renders with responsive max widths correctly', () => {
322
321
  >
323
322
  <span
324
323
  className="c1 c2"
325
- color="inherit"
326
324
  dangerouslySetInnerHTML={
327
325
  Object {
328
326
  "__html": "Responsive Width Input",
@@ -128,8 +128,6 @@ it('renders correctly', () => {
128
128
  <span />
129
129
  <span
130
130
  className="c2"
131
- color="inherit"
132
- size="s"
133
131
  >
134
132
  Male
135
133
  </span>
@@ -243,8 +241,6 @@ it('renders correctly', () => {
243
241
  <span />
244
242
  <span
245
243
  className="c2"
246
- color="inherit"
247
- size="s"
248
244
  >
249
245
  Female
250
246
  </span>
@@ -111,7 +111,6 @@ exports[`renders correctly 1`] = `
111
111
  >
112
112
  <span
113
113
  className="c1 c2"
114
- color="inherit"
115
114
  dangerouslySetInnerHTML={
116
115
  Object {
117
116
  "__html": "Label",
@@ -21,54 +21,54 @@ const BaseText = exports.BaseText = _styledComponents.default.span.withConfig({
21
21
  } = _ref;
22
22
  return as !== undefined && (0, _styledComponents.css)(["", " &{", ";", ";", ";", ";", ";", ";color:", ";", ";", ";", ";span{font-size:inherit;line-height:inherit;}}"], (0, _fontHelper.default)(theme, as), _ref2 => {
23
23
  let {
24
- size
24
+ $size
25
25
  } = _ref2;
26
- return size && `font-size: ${theme.fontSize(size)}`;
26
+ return $size && `font-size: ${theme.fontSize($size)}`;
27
27
  }, _ref3 => {
28
28
  let {
29
- size
29
+ $size
30
30
  } = _ref3;
31
- return size && 'line-height: normal';
31
+ return $size && 'line-height: normal';
32
32
  }, _ref4 => {
33
33
  let {
34
- family
34
+ $family
35
35
  } = _ref4;
36
- return family && `font-family: ${theme.fontFamilies(family)}`;
36
+ return $family && `font-family: ${theme.fontFamilies($family)}`;
37
37
  }, _ref5 => {
38
38
  let {
39
- weight
39
+ $weight
40
40
  } = _ref5;
41
- return weight && `font-weight: ${weight}`;
41
+ return $weight && `font-weight: ${$weight}`;
42
42
  }, _ref6 => {
43
43
  let {
44
- height
44
+ $height
45
45
  } = _ref6;
46
- return height && `line-height: ${height}`;
46
+ return $height && `line-height: ${$height}`;
47
47
  }, _ref7 => {
48
48
  let {
49
- uppercase
49
+ $uppercase
50
50
  } = _ref7;
51
- return uppercase && 'text-transform: uppercase';
51
+ return $uppercase && 'text-transform: uppercase';
52
52
  }, _ref8 => {
53
53
  let {
54
- color
54
+ $color
55
55
  } = _ref8;
56
- return color ? theme.color(color) : 'inherit';
56
+ return $color ? theme.color($color) : 'inherit';
57
57
  }, _ref9 => {
58
58
  let {
59
- textAlign
59
+ $textAlign
60
60
  } = _ref9;
61
- return textAlign && `text-align: ${textAlign}`;
61
+ return $textAlign && `text-align: ${$textAlign}`;
62
62
  }, _ref10 => {
63
63
  let {
64
- size
64
+ $size
65
65
  } = _ref10;
66
- 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.breakpoints2026('M'), theme.fontSize('big'), theme.fontSize('big'), theme.breakpoints2026('L'), theme.fontSize('super'), theme.fontSize('super'));
66
+ 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.breakpoints2026('M'), theme.fontSize('big'), theme.fontSize('big'), theme.breakpoints2026('L'), theme.fontSize('super'), theme.fontSize('super'));
67
67
  }, _ref11 => {
68
68
  let {
69
- mobileColor
69
+ $mobileColor
70
70
  } = _ref11;
71
- return mobileColor && (0, _styledComponents.css)(["@media (max-width:", "px){color:", ";}"], _breakpoints.breakpointValues2026.L - 1, theme.color(mobileColor));
71
+ return $mobileColor && (0, _styledComponents.css)(["@media (max-width:", "px){color:", ";}"], _breakpoints.breakpointValues2026.L - 1, theme.color($mobileColor));
72
72
  });
73
73
  });
74
74
 
@@ -91,14 +91,14 @@ const Text = _ref12 => {
91
91
  } = _ref12;
92
92
  return /*#__PURE__*/_react.default.createElement(BaseText, Object.assign({}, rest, {
93
93
  as: tag,
94
- color: color,
95
- size: size,
96
- uppercase: uppercase,
97
- height: height,
98
- weight: weight,
99
- family: family,
100
- mobileColor: mobileColor,
101
- textAlign: textAlign
94
+ $color: color,
95
+ $size: size,
96
+ $uppercase: uppercase,
97
+ $height: height,
98
+ $weight: weight,
99
+ $family: family,
100
+ $mobileColor: mobileColor,
101
+ $textAlign: textAlign
102
102
  }), children);
103
103
  };
104
104
  var _default = exports.default = Text;
@@ -8,7 +8,7 @@ import fontConfig from '../../../theme/crTheme/fontConfig';
8
8
  // To be phased out: tags to use the prescribed family always
9
9
  family="Anton"
10
10
  >
11
- <span style={{ width: "55px", display: "inline-block" }}>H1 </span>
11
+ <span style={{ width: "55px"}}>H1 </span>
12
12
  </Text>
13
13
  <Text style={{ textTransform: "none" }} tag="span" size="s">
14
14
  <b>family:</b> {fontConfig['h1'].family} -
@@ -25,7 +25,7 @@ import fontConfig from '../../../theme/crTheme/fontConfig';
25
25
  mobileColor="green"
26
26
  family="Anton"
27
27
  >
28
- <span style={{ width: "55px", display: "inline-block" }}>H2 </span>
28
+ <span style={{ width: "55px"}}>H2 </span>
29
29
  </Text>
30
30
  <Text style={{ textTransform: "none" }} tag="span" size="s">
31
31
  <b>family:</b> {fontConfig['h2'].family} -
@@ -41,7 +41,7 @@ import fontConfig from '../../../theme/crTheme/fontConfig';
41
41
  mobileColor="red"
42
42
  family="Montserrat"
43
43
  >
44
- <span style={{ width: "55px", display: "inline-block" }}>H3 </span>
44
+ <span style={{ width: "55px"}}>H3 </span>
45
45
  </Text>
46
46
  <Text style={{ textTransform: "none" }} tag="span" size="s">
47
47
  <b>family:</b> {fontConfig['h3'].family} -
@@ -58,7 +58,7 @@ import fontConfig from '../../../theme/crTheme/fontConfig';
58
58
  weight="normal"
59
59
  // To be phased out: text to always be rendered as typed
60
60
  uppercase>
61
- <span style={{ width: "55px", display: "inline-block" }}>H4 </span>
61
+ <span style={{ width: "55px"}}>H4 </span>
62
62
  </Text>
63
63
  <Text style={{ textTransform: "none" }} tag="span" size="s">
64
64
  <b>family:</b> {fontConfig['span'].family} -
@@ -70,8 +70,8 @@ import fontConfig from '../../../theme/crTheme/fontConfig';
70
70
 
71
71
 
72
72
 
73
- <Text tag="p" size="m" style={{ marginTop: "2rem"}}>
74
- <span style={{ width: "55px", display: "inline-block" }}>Body</span>
73
+ <Text tag="p" size="m" style={{ marginTop: "2rem"}} height="100px" weight="500">
74
+ <span style={{ width: "55px"}}>P (body)</span>
75
75
  </Text>
76
76
  <Text style={{ textTransform: "none" }} tag="span" size="s">
77
77
  <b>family:</b> {fontConfig['p'].family} -
@@ -91,7 +91,7 @@ import fontConfig from '../../../theme/crTheme/fontConfig';
91
91
  uppercase
92
92
  // To be phased-out
93
93
  weight="normal">
94
- <span style={{ width: "55px", display: "inline-block" }}>H5 </span>
94
+ <span style={{ width: "55px"}}>H5 </span>
95
95
  </Text>
96
96
  <Text style={{ textTransform: "none" }} tag="span" size="s">
97
97
  <b>family:</b> {fontConfig['h5'].family} -
@@ -105,7 +105,7 @@ import fontConfig from '../../../theme/crTheme/fontConfig';
105
105
  family="Anton"
106
106
  uppercase
107
107
  weight="normal">
108
- <span style={{ width: "55px", display: "inline-block" }}>H6</span>
108
+ <span style={{ width: "55px"}}>H6</span>
109
109
  </Text>
110
110
  <Text style={{ textTransform: "none" }} tag="span" size="s">
111
111
  <b>family:</b> {fontConfig['h6'].family}
@@ -38,7 +38,6 @@ exports[`renders heavy heading correctly 1`] = `
38
38
 
39
39
  <h3
40
40
  className="c0"
41
- color="inherit"
42
41
  >
43
42
  Heading 3 heavy
44
43
  </h3>
@@ -82,8 +81,6 @@ exports[`renders high heading correctly 1`] = `
82
81
 
83
82
  <h3
84
83
  className="c0"
85
- color="inherit"
86
- height="5"
87
84
  >
88
85
  Heading 3 high
89
86
  </h3>
@@ -128,8 +125,6 @@ exports[`renders large heading correctly 1`] = `
128
125
 
129
126
  <h3
130
127
  className="c0"
131
- color="inherit"
132
- size="l"
133
128
  >
134
129
  Heading 3 large
135
130
  </h3>
@@ -175,8 +170,6 @@ exports[`renders xl paragraph with Anton font correctly 1`] = `
175
170
 
176
171
  <p
177
172
  className="c0"
178
- color="inherit"
179
- size="xl"
180
173
  >
181
174
  My paragraph xl and font Anton
182
175
  </p>
@@ -222,8 +215,6 @@ exports[`renders xl yellow paragraph correctly 1`] = `
222
215
 
223
216
  <p
224
217
  className="c0"
225
- color="yellow"
226
- size="xl"
227
218
  >
228
219
  My paragraph xl and yellow
229
220
  </p>
@@ -131,7 +131,6 @@ it('renders correctly', () => {
131
131
  >
132
132
  <span
133
133
  className="c1 c2"
134
- color="inherit"
135
134
  dangerouslySetInnerHTML={
136
135
  Object {
137
136
  "__html": "Label",
@@ -140,7 +140,6 @@ exports[`renders correctly with no value and no options 1`] = `
140
140
  >
141
141
  <span
142
142
  className="c2 c3"
143
- color="inherit"
144
143
  dangerouslySetInnerHTML={
145
144
  Object {
146
145
  "__html": "Search for bikes",
@@ -314,7 +313,6 @@ exports[`renders correctly with value and no options 1`] = `
314
313
  >
315
314
  <span
316
315
  className="c2 c3"
317
- color="inherit"
318
316
  dangerouslySetInnerHTML={
319
317
  Object {
320
318
  "__html": "Search for bikes",
@@ -527,7 +525,6 @@ exports[`renders correctly with value and options 1`] = `
527
525
  >
528
526
  <span
529
527
  className="c2 c3"
530
- color="inherit"
531
528
  dangerouslySetInnerHTML={
532
529
  Object {
533
530
  "__html": "Search for bikes",
@@ -577,7 +574,6 @@ exports[`renders correctly with value and options 1`] = `
577
574
  >
578
575
  <span
579
576
  className="c2"
580
- color="inherit"
581
577
  >
582
578
  Canyon
583
579
  </span>
@@ -593,7 +589,6 @@ exports[`renders correctly with value and options 1`] = `
593
589
  >
594
590
  <span
595
591
  className="c2"
596
- color="inherit"
597
592
  >
598
593
  Cannondale
599
594
  </span>
@@ -609,7 +604,6 @@ exports[`renders correctly with value and options 1`] = `
609
604
  >
610
605
  <span
611
606
  className="c2"
612
- color="inherit"
613
607
  >
614
608
  Condor
615
609
  </span>
@@ -625,7 +619,6 @@ exports[`renders correctly with value and options 1`] = `
625
619
  >
626
620
  <span
627
621
  className="c2"
628
- color="inherit"
629
622
  >
630
623
  Cube
631
624
  </span>
@@ -175,8 +175,6 @@ exports[`renders correctly 1`] = `
175
175
  >
176
176
  <h2
177
177
  className="c2"
178
- color="inherit"
179
- size="l"
180
178
  >
181
179
  I am the title
182
180
  </h2>
@@ -203,8 +201,6 @@ exports[`renders correctly 1`] = `
203
201
  >
204
202
  <p
205
203
  className="c6"
206
- color="inherit"
207
- size="s"
208
204
  >
209
205
  Name, surname, email and billing address We need these to process your payment, create a receipt and send it to you. Establishment information We use this information to understand which institutions (e.g. schools, companies) raise money for us. Your details will be kept safe and never shared with other organisations; see our Privacy Policy for more information
210
206
  </p>
@@ -294,16 +294,11 @@ it('renders article teaser correctly', () => {
294
294
  >
295
295
  <span
296
296
  className="c8 c9"
297
- color="inherit"
298
- size="xs"
299
297
  >
300
298
  01 July 2019
301
299
  </span>
302
300
  <h3
303
301
  className="c10 c11"
304
- color="inherit"
305
- height="2rem"
306
- size="xl"
307
302
  >
308
303
  News article
309
304
  </h3>
@@ -572,16 +567,11 @@ it('renders press realese correctly', () => {
572
567
  >
573
568
  <span
574
569
  className="c8 c9"
575
- color="inherit"
576
- size="xs"
577
570
  >
578
571
  01 July 2019
579
572
  </span>
580
573
  <h3
581
574
  className="c10 c11"
582
- color="inherit"
583
- height="2rem"
584
- size="xl"
585
575
  >
586
576
  Press Release
587
577
  </h3>
@@ -69,8 +69,6 @@ exports[`renders correctly 1`] = `
69
69
  >
70
70
  <p
71
71
  className="c2"
72
- color="white"
73
- size="s"
74
72
  >
75
73
  Mental health issues affect 1 in 4 of us in the UK. Join now and with your help we can provide vital support for people like Jordan. You know what to do.
76
74
  </p>
@@ -240,8 +240,6 @@ it('renders article teaser correctly', () => {
240
240
  >
241
241
  <span
242
242
  className="c3 c4"
243
- color="grey_dark"
244
- size="s"
245
243
  >
246
244
  15/06/2020
247
245
  </span>
@@ -267,9 +265,6 @@ it('renders article teaser correctly', () => {
267
265
  </div>
268
266
  <h3
269
267
  className="c7 c8"
270
- color="inherit"
271
- height="2rem"
272
- size="xl"
273
268
  >
274
269
  Title
275
270
  </h3>
@@ -278,29 +273,21 @@ it('renders article teaser correctly', () => {
278
273
  >
279
274
  <span
280
275
  className="c10 c11"
281
- color="grey_dark"
282
- size="xs"
283
276
  >
284
277
  tag1
285
278
  </span>
286
279
  <span
287
280
  className="c10 c11"
288
- color="grey_dark"
289
- size="xs"
290
281
  >
291
282
  tag2
292
283
  </span>
293
284
  <span
294
285
  className="c10 c11"
295
- color="grey_dark"
296
- size="xs"
297
286
  >
298
287
  tag3
299
288
  </span>
300
289
  <span
301
290
  className="c10 c11"
302
- color="grey_dark"
303
- size="xs"
304
291
  >
305
292
  tag4
306
293
  </span>
@@ -140,15 +140,11 @@ exports[`renders correctly 1`] = `
140
140
  >
141
141
  <h3
142
142
  className="c2"
143
- color="inherit"
144
- size="md"
145
143
  >
146
144
  Project Name
147
145
  </h3>
148
146
  <p
149
147
  className="c3"
150
- color="inherit"
151
- size="s"
152
148
  >
153
149
  Hello There
154
150
  </p>
@@ -158,15 +154,11 @@ exports[`renders correctly 1`] = `
158
154
  >
159
155
  <h3
160
156
  className="c2"
161
- color="inherit"
162
- size="md"
163
157
  >
164
158
  End Date
165
159
  </h3>
166
160
  <p
167
161
  className="c3"
168
- color="inherit"
169
- size="s"
170
162
  >
171
163
  1st June 2020
172
164
  </p>
@@ -176,15 +168,11 @@ exports[`renders correctly 1`] = `
176
168
  >
177
169
  <h3
178
170
  className="c2"
179
- color="inherit"
180
- size="md"
181
171
  >
182
172
  Funding theme
183
173
  </h3>
184
174
  <p
185
175
  className="c3"
186
- color="inherit"
187
- size="s"
188
176
  >
189
177
  <a
190
178
  className="c4"
@@ -202,15 +190,11 @@ exports[`renders correctly 1`] = `
202
190
  >
203
191
  <h3
204
192
  className="c2"
205
- color="inherit"
206
- size="md"
207
193
  >
208
194
  Amount Awarded
209
195
  </h3>
210
196
  <p
211
197
  className="c3"
212
- color="inherit"
213
- size="s"
214
198
  >
215
199
  £2,000,000
216
200
  </p>
@@ -220,15 +204,11 @@ exports[`renders correctly 1`] = `
220
204
  >
221
205
  <h3
222
206
  className="c2"
223
- color="inherit"
224
- size="md"
225
207
  >
226
208
  Start Date
227
209
  </h3>
228
210
  <p
229
211
  className="c3"
230
- color="inherit"
231
- size="s"
232
212
  >
233
213
  1st June 2010
234
214
  </p>
@@ -238,15 +218,11 @@ exports[`renders correctly 1`] = `
238
218
  >
239
219
  <h3
240
220
  className="c2"
241
- color="inherit"
242
- size="md"
243
221
  >
244
222
  Beneficiary Country
245
223
  </h3>
246
224
  <p
247
225
  className="c3"
248
- color="inherit"
249
- size="s"
250
226
  >
251
227
  Uk
252
228
  </p>
@@ -174,8 +174,6 @@ it('renders correctly', () => {
174
174
  </div>
175
175
  <span
176
176
  className="c4 c5 c6"
177
- color="white"
178
- size="xxs"
179
177
  >
180
178
  Find out more
181
179
  </span>
@@ -301,15 +301,11 @@ exports[`renders Promo correctly 1`] = `
301
301
  >
302
302
  <h1
303
303
  className="c7"
304
- color="white"
305
- size="super"
306
304
  >
307
305
  Curabitur pretium tincidunt lacus
308
306
  </h1>
309
307
  <p
310
308
  className="c8"
311
- color="white"
312
- size="s"
313
309
  >
314
310
  Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo, est eros bibendum elit, nec luctus magna sollicitudin.
315
311
  </p>
@@ -642,15 +638,11 @@ exports[`renders Promo correctly end position 1`] = `
642
638
  >
643
639
  <h1
644
640
  className="c7"
645
- color="white"
646
- size="super"
647
641
  >
648
642
  Curabitur pretium tincidunt lacus
649
643
  </h1>
650
644
  <p
651
645
  className="c8"
652
- color="white"
653
- size="s"
654
646
  >
655
647
  Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo, est eros bibendum elit, nec luctus magna sollicitudin.
656
648
  </p>
@@ -140,7 +140,6 @@ exports[`renders correctly 1`] = `
140
140
  >
141
141
  <span
142
142
  className="c2 c3"
143
- color="inherit"
144
143
  dangerouslySetInnerHTML={
145
144
  Object {
146
145
  "__html": "Enter the name or postcode of your school or nursery",
@@ -189,7 +189,6 @@ it('renders correctly', () => {
189
189
  >
190
190
  <span
191
191
  className="c6 c7"
192
- color="inherit"
193
192
  dangerouslySetInnerHTML={
194
193
  Object {
195
194
  "__html": "Search",
@@ -206,15 +206,11 @@ exports[`renders correctly in minimalist form 1`] = `
206
206
  >
207
207
  <span
208
208
  className="c7"
209
- color="inherit"
210
- size="xs"
211
209
  >
212
210
 
213
211
  </span>
214
212
  <h3
215
213
  className="c8 c9"
216
- color="inherit"
217
- size="xl"
218
214
  >
219
215
  News article
220
216
  </h3>
@@ -466,22 +462,16 @@ exports[`renders correctly with copy 1`] = `
466
462
  >
467
463
  <span
468
464
  className="c7"
469
- color="inherit"
470
- size="xs"
471
465
  >
472
466
 
473
467
  </span>
474
468
  <h3
475
469
  className="c8 c9"
476
- color="inherit"
477
- size="xl"
478
470
  >
479
471
  News article
480
472
  </h3>
481
473
  <p
482
474
  className="c10"
483
- color="inherit"
484
- size="m"
485
475
  >
486
476
  News article copy
487
477
  </p>
@@ -696,15 +686,11 @@ exports[`renders correctly with date 1`] = `
696
686
  >
697
687
  <span
698
688
  className="c7"
699
- color="inherit"
700
- size="xs"
701
689
  >
702
690
  01 July 2019
703
691
  </span>
704
692
  <h3
705
693
  className="c8 c9"
706
- color="inherit"
707
- size="xl"
708
694
  >
709
695
  News article
710
696
  </h3>
@@ -920,15 +906,11 @@ exports[`renders correctly with date and type 1`] = `
920
906
  >
921
907
  <span
922
908
  className="c7"
923
- color="inherit"
924
- size="xs"
925
909
  >
926
910
  article | 01 July 2019
927
911
  </span>
928
912
  <h3
929
913
  className="c8 c9"
930
- color="inherit"
931
- size="xl"
932
914
  >
933
915
  News article
934
916
  </h3>