@comicrelief/component-library 8.44.2 → 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 (67) hide show
  1. package/dist/components/Atoms/Checkbox/Checkbox.test.js +10 -4
  2. package/dist/components/Atoms/ErrorText/__snapshots__/ErrorText.test.js.snap +5 -2
  3. package/dist/components/Atoms/Input/input.test.js +10 -2
  4. package/dist/components/Atoms/RadioButton/RadioButton.test.js +10 -4
  5. package/dist/components/Atoms/Select/__snapshots__/Select.test.js.snap +5 -1
  6. package/dist/components/Atoms/Text/Text.js +29 -29
  7. package/dist/components/Atoms/Text/Text.md +70 -69
  8. package/dist/components/Atoms/Text/__snapshots__/Text.test.js.snap +25 -9
  9. package/dist/components/Atoms/TextArea/TextArea.test.js +5 -1
  10. package/dist/components/Atoms/TextInputWithDropdown/__snapshots__/TextInputWithDropdown.test.js.snap +15 -7
  11. package/dist/components/Molecules/Accordion/__snapshots__/Accordion.test.js.snap +10 -4
  12. package/dist/components/Molecules/ArticleTeaser/ArticleTeaser.test.js +20 -10
  13. package/dist/components/Molecules/Banner/__snapshots__/Banner.test.js.snap +5 -2
  14. package/dist/components/Molecules/Descriptor/Descriptor.test.js +15 -13
  15. package/dist/components/Molecules/InfoBanner/__snapshots__/InfoBanner.test.js.snap +10 -24
  16. package/dist/components/Molecules/PartnerLink/PartnerLink.test.js +5 -2
  17. package/dist/components/Molecules/Promo/Promo.test.js +4 -2
  18. package/dist/components/Molecules/Promo/__snapshots__/Promo.test.js.snap +24 -6
  19. package/dist/components/Molecules/SchoolLookup/__snapshots__/SchoolLookup.test.js.snap +5 -1
  20. package/dist/components/Molecules/SearchInput/SearchInput.test.js +5 -1
  21. package/dist/components/Molecules/SearchResult/__snapshots__/SearchResult.test.js.snap +45 -18
  22. package/dist/components/Molecules/SingleMessage/SingleMessage.test.js +4 -2
  23. package/dist/components/Molecules/SingleMessage/__snapshots__/SingleMessage.test.js.snap +39 -12
  24. package/dist/components/Molecules/SingleMessageDS/SingleMessageDs.test.js +2 -1
  25. package/dist/components/Molecules/SingleMessageDS/__snapshots__/SingleMessageDs.test.js.snap +15 -3
  26. package/dist/components/Molecules/Typeahead/__snapshots__/Typeahead.test.js.snap +5 -1
  27. package/dist/components/Organisms/CookieBanner/CookieBanner.test.js +5 -2
  28. package/dist/components/Organisms/Donate/__snapshots__/Donate.test.js.snap +90 -35
  29. package/dist/components/Organisms/EmailSignUp/__snapshots__/EmailSignUp.test.js.snap +10 -8
  30. package/dist/components/Organisms/Footer/__snapshots__/Footer.test.js.snap +20 -58
  31. package/dist/components/Organisms/Header2025/HeaderNav2025/HeaderNavItem2025.js +3 -1
  32. package/dist/components/Organisms/Membership/Membership.test.js +25 -12
  33. package/dist/components/Organisms/WYMDCarousel/__snapshots__/WYMDCarousel.test.js.snap +15 -3
  34. package/package.json +1 -1
  35. package/src/components/Atoms/Checkbox/Checkbox.test.js +10 -4
  36. package/src/components/Atoms/ErrorText/__snapshots__/ErrorText.test.js.snap +5 -2
  37. package/src/components/Atoms/Input/input.test.js +10 -2
  38. package/src/components/Atoms/RadioButton/RadioButton.test.js +10 -4
  39. package/src/components/Atoms/Select/__snapshots__/Select.test.js.snap +5 -1
  40. package/src/components/Atoms/Text/Text.js +25 -19
  41. package/src/components/Atoms/Text/Text.md +70 -69
  42. package/src/components/Atoms/Text/__snapshots__/Text.test.js.snap +25 -9
  43. package/src/components/Atoms/TextArea/TextArea.test.js +5 -1
  44. package/src/components/Atoms/TextInputWithDropdown/__snapshots__/TextInputWithDropdown.test.js.snap +15 -7
  45. package/src/components/Molecules/Accordion/__snapshots__/Accordion.test.js.snap +10 -4
  46. package/src/components/Molecules/ArticleTeaser/ArticleTeaser.test.js +20 -10
  47. package/src/components/Molecules/Banner/__snapshots__/Banner.test.js.snap +5 -2
  48. package/src/components/Molecules/Descriptor/Descriptor.test.js +15 -13
  49. package/src/components/Molecules/InfoBanner/__snapshots__/InfoBanner.test.js.snap +10 -24
  50. package/src/components/Molecules/PartnerLink/PartnerLink.test.js +5 -2
  51. package/src/components/Molecules/Promo/Promo.test.js +2 -2
  52. package/src/components/Molecules/Promo/__snapshots__/Promo.test.js.snap +24 -6
  53. package/src/components/Molecules/SchoolLookup/__snapshots__/SchoolLookup.test.js.snap +5 -1
  54. package/src/components/Molecules/SearchInput/SearchInput.test.js +5 -1
  55. package/src/components/Molecules/SearchResult/__snapshots__/SearchResult.test.js.snap +45 -18
  56. package/src/components/Molecules/SingleMessage/SingleMessage.test.js +2 -2
  57. package/src/components/Molecules/SingleMessage/__snapshots__/SingleMessage.test.js.snap +39 -12
  58. package/src/components/Molecules/SingleMessageDS/SingleMessageDs.test.js +1 -1
  59. package/src/components/Molecules/SingleMessageDS/__snapshots__/SingleMessageDs.test.js.snap +15 -3
  60. package/src/components/Molecules/Typeahead/__snapshots__/Typeahead.test.js.snap +5 -1
  61. package/src/components/Organisms/CookieBanner/CookieBanner.test.js +5 -2
  62. package/src/components/Organisms/Donate/__snapshots__/Donate.test.js.snap +90 -35
  63. package/src/components/Organisms/EmailSignUp/__snapshots__/EmailSignUp.test.js.snap +10 -8
  64. package/src/components/Organisms/Footer/__snapshots__/Footer.test.js.snap +20 -58
  65. package/src/components/Organisms/Header2025/HeaderNav2025/HeaderNavItem2025.js +1 -1
  66. package/src/components/Organisms/Membership/Membership.test.js +25 -12
  67. package/src/components/Organisms/WYMDCarousel/__snapshots__/WYMDCarousel.test.js.snap +15 -3
@@ -44,6 +44,11 @@ it('renders article teaser correctly', () => {
44
44
  color: #222222;
45
45
  }
46
46
 
47
+ .c3 span {
48
+ font-size: inherit;
49
+ line-height: inherit;
50
+ }
51
+
47
52
  .c7 {
48
53
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
49
54
  font-weight: 700;
@@ -65,6 +70,11 @@ it('renders article teaser correctly', () => {
65
70
  text-transform: uppercase;
66
71
  }
67
72
 
73
+ .c7 span {
74
+ font-size: inherit;
75
+ line-height: inherit;
76
+ }
77
+
68
78
  .c10 {
69
79
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
70
80
  font-weight: 400;
@@ -85,6 +95,11 @@ it('renders article teaser correctly', () => {
85
95
  color: #222222;
86
96
  }
87
97
 
98
+ .c10 span {
99
+ font-size: inherit;
100
+ line-height: inherit;
101
+ }
102
+
88
103
  .c0 {
89
104
  position: relative;
90
105
  width: 100%;
@@ -234,8 +249,6 @@ it('renders article teaser correctly', () => {
234
249
  >
235
250
  <span
236
251
  className="c3 c4"
237
- color="grey_dark"
238
- size="s"
239
252
  >
240
253
  15/06/2020
241
254
  </span>
@@ -261,9 +274,6 @@ it('renders article teaser correctly', () => {
261
274
  </div>
262
275
  <h3
263
276
  className="c7 c8"
264
- color="inherit"
265
- height="2rem"
266
- size="xl"
267
277
  >
268
278
  Title
269
279
  </h3>
@@ -272,29 +282,21 @@ it('renders article teaser correctly', () => {
272
282
  >
273
283
  <span
274
284
  className="c10 c11"
275
- color="grey_dark"
276
- size="xs"
277
285
  >
278
286
  tag1
279
287
  </span>
280
288
  <span
281
289
  className="c10 c11"
282
- color="grey_dark"
283
- size="xs"
284
290
  >
285
291
  tag2
286
292
  </span>
287
293
  <span
288
294
  className="c10 c11"
289
- color="grey_dark"
290
- size="xs"
291
295
  >
292
296
  tag3
293
297
  </span>
294
298
  <span
295
299
  className="c10 c11"
296
- color="grey_dark"
297
- size="xs"
298
300
  >
299
301
  tag4
300
302
  </span>
@@ -19,6 +19,11 @@ exports[`renders correctly 1`] = `
19
19
  text-transform: uppercase;
20
20
  }
21
21
 
22
+ .c2 span {
23
+ font-size: inherit;
24
+ line-height: inherit;
25
+ }
26
+
22
27
  .c3 {
23
28
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
24
29
  font-weight: 400;
@@ -36,6 +41,11 @@ exports[`renders correctly 1`] = `
36
41
  line-height: normal;
37
42
  }
38
43
 
44
+ .c3 span {
45
+ font-size: inherit;
46
+ line-height: inherit;
47
+ }
48
+
39
49
  .c4 {
40
50
  position: relative;
41
51
  display: inline;
@@ -130,15 +140,11 @@ exports[`renders correctly 1`] = `
130
140
  >
131
141
  <h3
132
142
  className="c2"
133
- color="inherit"
134
- size="md"
135
143
  >
136
144
  Project Name
137
145
  </h3>
138
146
  <p
139
147
  className="c3"
140
- color="inherit"
141
- size="s"
142
148
  >
143
149
  Hello There
144
150
  </p>
@@ -148,15 +154,11 @@ exports[`renders correctly 1`] = `
148
154
  >
149
155
  <h3
150
156
  className="c2"
151
- color="inherit"
152
- size="md"
153
157
  >
154
158
  End Date
155
159
  </h3>
156
160
  <p
157
161
  className="c3"
158
- color="inherit"
159
- size="s"
160
162
  >
161
163
  1st June 2020
162
164
  </p>
@@ -166,15 +168,11 @@ exports[`renders correctly 1`] = `
166
168
  >
167
169
  <h3
168
170
  className="c2"
169
- color="inherit"
170
- size="md"
171
171
  >
172
172
  Funding theme
173
173
  </h3>
174
174
  <p
175
175
  className="c3"
176
- color="inherit"
177
- size="s"
178
176
  >
179
177
  <a
180
178
  className="c4"
@@ -192,15 +190,11 @@ exports[`renders correctly 1`] = `
192
190
  >
193
191
  <h3
194
192
  className="c2"
195
- color="inherit"
196
- size="md"
197
193
  >
198
194
  Amount Awarded
199
195
  </h3>
200
196
  <p
201
197
  className="c3"
202
- color="inherit"
203
- size="s"
204
198
  >
205
199
  £2,000,000
206
200
  </p>
@@ -210,15 +204,11 @@ exports[`renders correctly 1`] = `
210
204
  >
211
205
  <h3
212
206
  className="c2"
213
- color="inherit"
214
- size="md"
215
207
  >
216
208
  Start Date
217
209
  </h3>
218
210
  <p
219
211
  className="c3"
220
- color="inherit"
221
- size="s"
222
212
  >
223
213
  1st June 2010
224
214
  </p>
@@ -228,15 +218,11 @@ exports[`renders correctly 1`] = `
228
218
  >
229
219
  <h3
230
220
  className="c2"
231
- color="inherit"
232
- size="md"
233
221
  >
234
222
  Beneficiary Country
235
223
  </h3>
236
224
  <p
237
225
  className="c3"
238
- color="inherit"
239
- size="s"
240
226
  >
241
227
  Uk
242
228
  </p>
@@ -35,6 +35,11 @@ it('renders correctly', () => {
35
35
  color: #FFFFFF;
36
36
  }
37
37
 
38
+ .c4 span {
39
+ font-size: inherit;
40
+ line-height: inherit;
41
+ }
42
+
38
43
  .c2 {
39
44
  display: block;
40
45
  width: 100%;
@@ -170,8 +175,6 @@ it('renders correctly', () => {
170
175
  </div>
171
176
  <span
172
177
  className="c4 c5 c6"
173
- color="white"
174
- size="xxs"
175
178
  >
176
179
  Find out more
177
180
  </span>
@@ -25,7 +25,7 @@ it('renders Promo correctly', () => {
25
25
  >
26
26
  Curabitur pretium tincidunt lacus
27
27
  </Text>
28
- <Text tag="p" color="white">
28
+ <Text tag="p" color="white" size="s">
29
29
  Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius,
30
30
  turpis et commodo, est eros bibendum elit, nec luctus magna sollicitudin.
31
31
  </Text>
@@ -60,7 +60,7 @@ it('renders Promo correctly end position', () => {
60
60
  >
61
61
  Curabitur pretium tincidunt lacus
62
62
  </Text>
63
- <Text tag="p" color="white">
63
+ <Text tag="p" color="white" size="s">
64
64
  Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius,
65
65
  turpis et commodo, est eros bibendum elit, nec luctus magna sollicitudin.
66
66
  </Text>
@@ -24,6 +24,11 @@ exports[`renders Promo correctly 1`] = `
24
24
  line-height: 3rem;
25
25
  }
26
26
 
27
+ .c7 span {
28
+ font-size: inherit;
29
+ line-height: inherit;
30
+ }
31
+
27
32
  .c8 {
28
33
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
29
34
  font-weight: 400;
@@ -37,9 +42,16 @@ exports[`renders Promo correctly 1`] = `
37
42
  }
38
43
 
39
44
  .c8 {
45
+ font-size: 1rem;
46
+ line-height: normal;
40
47
  color: #FFFFFF;
41
48
  }
42
49
 
50
+ .c8 span {
51
+ font-size: inherit;
52
+ line-height: inherit;
53
+ }
54
+
43
55
  .c2 {
44
56
  display: block;
45
57
  width: 100%;
@@ -289,14 +301,11 @@ exports[`renders Promo correctly 1`] = `
289
301
  >
290
302
  <h1
291
303
  className="c7"
292
- color="white"
293
- size="super"
294
304
  >
295
305
  Curabitur pretium tincidunt lacus
296
306
  </h1>
297
307
  <p
298
308
  className="c8"
299
- color="white"
300
309
  >
301
310
  Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo, est eros bibendum elit, nec luctus magna sollicitudin.
302
311
  </p>
@@ -341,6 +350,11 @@ exports[`renders Promo correctly end position 1`] = `
341
350
  line-height: 3rem;
342
351
  }
343
352
 
353
+ .c7 span {
354
+ font-size: inherit;
355
+ line-height: inherit;
356
+ }
357
+
344
358
  .c8 {
345
359
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
346
360
  font-weight: 400;
@@ -354,9 +368,16 @@ exports[`renders Promo correctly end position 1`] = `
354
368
  }
355
369
 
356
370
  .c8 {
371
+ font-size: 1rem;
372
+ line-height: normal;
357
373
  color: #FFFFFF;
358
374
  }
359
375
 
376
+ .c8 span {
377
+ font-size: inherit;
378
+ line-height: inherit;
379
+ }
380
+
360
381
  .c2 {
361
382
  display: block;
362
383
  width: 100%;
@@ -617,14 +638,11 @@ exports[`renders Promo correctly end position 1`] = `
617
638
  >
618
639
  <h1
619
640
  className="c7"
620
- color="white"
621
- size="super"
622
641
  >
623
642
  Curabitur pretium tincidunt lacus
624
643
  </h1>
625
644
  <p
626
645
  className="c8"
627
- color="white"
628
646
  >
629
647
  Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo, est eros bibendum elit, nec luctus magna sollicitudin.
630
648
  </p>
@@ -13,6 +13,11 @@ exports[`renders correctly 1`] = `
13
13
  line-height: 1.25rem;
14
14
  }
15
15
 
16
+ .c2 span {
17
+ font-size: inherit;
18
+ line-height: inherit;
19
+ }
20
+
16
21
  .c1 {
17
22
  width: 100%;
18
23
  position: relative;
@@ -135,7 +140,6 @@ exports[`renders correctly 1`] = `
135
140
  >
136
141
  <span
137
142
  className="c2 c3"
138
- color="inherit"
139
143
  dangerouslySetInnerHTML={
140
144
  Object {
141
145
  "__html": "Enter the name or postcode of your school or nursery",
@@ -27,6 +27,11 @@ it('renders correctly', () => {
27
27
  line-height: 1.25rem;
28
28
  }
29
29
 
30
+ .c6 span {
31
+ font-size: inherit;
32
+ line-height: inherit;
33
+ }
34
+
30
35
  .c4 {
31
36
  width: 100%;
32
37
  position: relative;
@@ -185,7 +190,6 @@ it('renders correctly', () => {
185
190
  >
186
191
  <span
187
192
  className="c6 c7"
188
- color="inherit"
189
193
  dangerouslySetInnerHTML={
190
194
  Object {
191
195
  "__html": "Search",
@@ -19,6 +19,11 @@ exports[`renders correctly in minimalist form 1`] = `
19
19
  text-transform: uppercase;
20
20
  }
21
21
 
22
+ .c7 span {
23
+ font-size: inherit;
24
+ line-height: inherit;
25
+ }
26
+
22
27
  .c8 {
23
28
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
24
29
  font-weight: 700;
@@ -37,6 +42,11 @@ exports[`renders correctly in minimalist form 1`] = `
37
42
  text-transform: uppercase;
38
43
  }
39
44
 
45
+ .c8 span {
46
+ font-size: inherit;
47
+ line-height: inherit;
48
+ }
49
+
40
50
  .c4 {
41
51
  display: block;
42
52
  width: 100%;
@@ -196,15 +206,11 @@ exports[`renders correctly in minimalist form 1`] = `
196
206
  >
197
207
  <span
198
208
  className="c7"
199
- color="inherit"
200
- size="xs"
201
209
  >
202
210
 
203
211
  </span>
204
212
  <h3
205
213
  className="c8 c9"
206
- color="inherit"
207
- size="xl"
208
214
  >
209
215
  News article
210
216
  </h3>
@@ -233,6 +239,11 @@ exports[`renders correctly with copy 1`] = `
233
239
  text-transform: uppercase;
234
240
  }
235
241
 
242
+ .c7 span {
243
+ font-size: inherit;
244
+ line-height: inherit;
245
+ }
246
+
236
247
  .c8 {
237
248
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
238
249
  font-weight: 700;
@@ -251,6 +262,11 @@ exports[`renders correctly with copy 1`] = `
251
262
  text-transform: uppercase;
252
263
  }
253
264
 
265
+ .c8 span {
266
+ font-size: inherit;
267
+ line-height: inherit;
268
+ }
269
+
254
270
  .c10 {
255
271
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
256
272
  font-weight: 400;
@@ -268,6 +284,11 @@ exports[`renders correctly with copy 1`] = `
268
284
  line-height: normal;
269
285
  }
270
286
 
287
+ .c10 span {
288
+ font-size: inherit;
289
+ line-height: inherit;
290
+ }
291
+
271
292
  .c4 {
272
293
  display: block;
273
294
  width: 100%;
@@ -441,22 +462,16 @@ exports[`renders correctly with copy 1`] = `
441
462
  >
442
463
  <span
443
464
  className="c7"
444
- color="inherit"
445
- size="xs"
446
465
  >
447
466
 
448
467
  </span>
449
468
  <h3
450
469
  className="c8 c9"
451
- color="inherit"
452
- size="xl"
453
470
  >
454
471
  News article
455
472
  </h3>
456
473
  <p
457
474
  className="c10"
458
- color="inherit"
459
- size="m"
460
475
  >
461
476
  News article copy
462
477
  </p>
@@ -484,6 +499,11 @@ exports[`renders correctly with date 1`] = `
484
499
  text-transform: uppercase;
485
500
  }
486
501
 
502
+ .c7 span {
503
+ font-size: inherit;
504
+ line-height: inherit;
505
+ }
506
+
487
507
  .c8 {
488
508
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
489
509
  font-weight: 700;
@@ -502,6 +522,11 @@ exports[`renders correctly with date 1`] = `
502
522
  text-transform: uppercase;
503
523
  }
504
524
 
525
+ .c8 span {
526
+ font-size: inherit;
527
+ line-height: inherit;
528
+ }
529
+
505
530
  .c4 {
506
531
  display: block;
507
532
  width: 100%;
@@ -661,15 +686,11 @@ exports[`renders correctly with date 1`] = `
661
686
  >
662
687
  <span
663
688
  className="c7"
664
- color="inherit"
665
- size="xs"
666
689
  >
667
690
  01 July 2019
668
691
  </span>
669
692
  <h3
670
693
  className="c8 c9"
671
- color="inherit"
672
- size="xl"
673
694
  >
674
695
  News article
675
696
  </h3>
@@ -698,6 +719,11 @@ exports[`renders correctly with date and type 1`] = `
698
719
  text-transform: uppercase;
699
720
  }
700
721
 
722
+ .c7 span {
723
+ font-size: inherit;
724
+ line-height: inherit;
725
+ }
726
+
701
727
  .c8 {
702
728
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
703
729
  font-weight: 700;
@@ -716,6 +742,11 @@ exports[`renders correctly with date and type 1`] = `
716
742
  text-transform: uppercase;
717
743
  }
718
744
 
745
+ .c8 span {
746
+ font-size: inherit;
747
+ line-height: inherit;
748
+ }
749
+
719
750
  .c4 {
720
751
  display: block;
721
752
  width: 100%;
@@ -875,15 +906,11 @@ exports[`renders correctly with date and type 1`] = `
875
906
  >
876
907
  <span
877
908
  className="c7"
878
- color="inherit"
879
- size="xs"
880
909
  >
881
910
  article | 01 July 2019
882
911
  </span>
883
912
  <h3
884
913
  className="c8 c9"
885
- color="inherit"
886
- size="xl"
887
914
  >
888
915
  News article
889
916
  </h3>
@@ -17,7 +17,7 @@ it('renders Single Message with Image correctly', () => {
17
17
  <Text tag="h1" color="white" size="xxl">
18
18
  title
19
19
  </Text>
20
- <Text tag="p" color="white">
20
+ <Text tag="p" color="white" size="s">
21
21
  description
22
22
  </Text>
23
23
  <Link href="/" type="button" color="white">
@@ -55,7 +55,7 @@ it('renders Single Message with full width correctly', () => {
55
55
  <Text tag="h1" color="white" size="xxl">
56
56
  title
57
57
  </Text>
58
- <Text tag="p" color="white">
58
+ <Text tag="p" color="white" size="s">
59
59
  description
60
60
  </Text>
61
61
  <Link href="/" type="button" color="white">
@@ -19,6 +19,11 @@ exports[`renders Single Message with 100% vertical height image correctly 1`] =
19
19
  color: #FFFFFF;
20
20
  }
21
21
 
22
+ .c6 span {
23
+ font-size: inherit;
24
+ line-height: inherit;
25
+ }
26
+
22
27
  .c3 {
23
28
  display: block;
24
29
  width: 100%;
@@ -185,8 +190,6 @@ exports[`renders Single Message with 100% vertical height image correctly 1`] =
185
190
  >
186
191
  <p
187
192
  className="c6"
188
- color="white"
189
- size="xxl"
190
193
  >
191
194
  “The creativity that goes into helping people have a better life is extraordinary.”
192
195
  </p>
@@ -213,6 +216,11 @@ exports[`renders Single Message with Image correctly 1`] = `
213
216
  color: #FFFFFF;
214
217
  }
215
218
 
219
+ .c6 span {
220
+ font-size: inherit;
221
+ line-height: inherit;
222
+ }
223
+
216
224
  .c7 {
217
225
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
218
226
  font-weight: 400;
@@ -226,9 +234,16 @@ exports[`renders Single Message with Image correctly 1`] = `
226
234
  }
227
235
 
228
236
  .c7 {
237
+ font-size: 1rem;
238
+ line-height: normal;
229
239
  color: #FFFFFF;
230
240
  }
231
241
 
242
+ .c7 span {
243
+ font-size: inherit;
244
+ line-height: inherit;
245
+ }
246
+
232
247
  .c3 {
233
248
  display: block;
234
249
  width: 100%;
@@ -452,14 +467,11 @@ exports[`renders Single Message with Image correctly 1`] = `
452
467
  >
453
468
  <h1
454
469
  className="c6"
455
- color="white"
456
- size="xxl"
457
470
  >
458
471
  title
459
472
  </h1>
460
473
  <p
461
474
  className="c7"
462
- color="white"
463
475
  >
464
476
  description
465
477
  </p>
@@ -495,6 +507,11 @@ exports[`renders Single Message with double image correctly 1`] = `
495
507
  color: #000000;
496
508
  }
497
509
 
510
+ .c6 span {
511
+ font-size: inherit;
512
+ line-height: inherit;
513
+ }
514
+
498
515
  .c3 {
499
516
  display: block;
500
517
  width: 100%;
@@ -710,8 +727,6 @@ exports[`renders Single Message with double image correctly 1`] = `
710
727
  >
711
728
  <p
712
729
  className="c6"
713
- color="black"
714
- size="xxl"
715
730
  >
716
731
  “The creativity that goes into helping people have a better life is extraordinary.”
717
732
  </p>
@@ -738,6 +753,11 @@ exports[`renders Single Message with full width correctly 1`] = `
738
753
  color: #FFFFFF;
739
754
  }
740
755
 
756
+ .c6 span {
757
+ font-size: inherit;
758
+ line-height: inherit;
759
+ }
760
+
741
761
  .c7 {
742
762
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
743
763
  font-weight: 400;
@@ -751,9 +771,16 @@ exports[`renders Single Message with full width correctly 1`] = `
751
771
  }
752
772
 
753
773
  .c7 {
774
+ font-size: 1rem;
775
+ line-height: normal;
754
776
  color: #FFFFFF;
755
777
  }
756
778
 
779
+ .c7 span {
780
+ font-size: inherit;
781
+ line-height: inherit;
782
+ }
783
+
757
784
  .c3 {
758
785
  display: block;
759
786
  width: 100%;
@@ -1000,14 +1027,11 @@ exports[`renders Single Message with full width correctly 1`] = `
1000
1027
  >
1001
1028
  <h1
1002
1029
  className="c6"
1003
- color="white"
1004
- size="xxl"
1005
1030
  >
1006
1031
  title
1007
1032
  </h1>
1008
1033
  <p
1009
1034
  className="c7"
1010
- color="white"
1011
1035
  >
1012
1036
  description
1013
1037
  </p>
@@ -1178,6 +1202,11 @@ exports[`renders Single Message with no Image correctly 1`] = `
1178
1202
  color: #FFFFFF;
1179
1203
  }
1180
1204
 
1205
+ .c2 span {
1206
+ font-size: inherit;
1207
+ line-height: inherit;
1208
+ }
1209
+
1181
1210
  .c0 {
1182
1211
  display: -webkit-box;
1183
1212
  display: -webkit-flex;
@@ -1302,8 +1331,6 @@ exports[`renders Single Message with no Image correctly 1`] = `
1302
1331
  >
1303
1332
  <p
1304
1333
  className="c2"
1305
- color="white"
1306
- size="xxl"
1307
1334
  >
1308
1335
  “The creativity that goes into helping people have a better life is extraordinary.”
1309
1336
  </p>
@@ -23,7 +23,7 @@ it('renders correctly', () => {
23
23
  imageLeft
24
24
  linkIcon={<Download />}
25
25
  >
26
- <Text tag="p">
26
+ <Text tag="p" size="s">
27
27
  Whatever you’ve got planned, the Sport Relief shop has everything you need
28
28
  to get you looking your best while you’re raising some cash. Also
29
29
  available in Sainsbury’s stores and online and in selected Argos stores.