@comicrelief/component-library 8.44.2 → 8.44.3

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 -0
  2. package/dist/components/Atoms/ErrorText/__snapshots__/ErrorText.test.js.snap +5 -0
  3. package/dist/components/Atoms/Input/input.test.js +10 -0
  4. package/dist/components/Atoms/RadioButton/RadioButton.test.js +10 -0
  5. package/dist/components/Atoms/Select/__snapshots__/Select.test.js.snap +5 -0
  6. package/dist/components/Atoms/Text/Text.js +1 -1
  7. package/dist/components/Atoms/Text/Text.md +69 -68
  8. package/dist/components/Atoms/Text/__snapshots__/Text.test.js.snap +25 -0
  9. package/dist/components/Atoms/TextArea/TextArea.test.js +5 -0
  10. package/dist/components/Atoms/TextInputWithDropdown/__snapshots__/TextInputWithDropdown.test.js.snap +15 -0
  11. package/dist/components/Molecules/Accordion/__snapshots__/Accordion.test.js.snap +10 -0
  12. package/dist/components/Molecules/ArticleTeaser/ArticleTeaser.test.js +20 -0
  13. package/dist/components/Molecules/Banner/__snapshots__/Banner.test.js.snap +5 -0
  14. package/dist/components/Molecules/Descriptor/Descriptor.test.js +15 -0
  15. package/dist/components/Molecules/InfoBanner/__snapshots__/InfoBanner.test.js.snap +10 -0
  16. package/dist/components/Molecules/PartnerLink/PartnerLink.test.js +5 -0
  17. package/dist/components/Molecules/Promo/Promo.test.js +4 -2
  18. package/dist/components/Molecules/Promo/__snapshots__/Promo.test.js.snap +26 -0
  19. package/dist/components/Molecules/SchoolLookup/__snapshots__/SchoolLookup.test.js.snap +5 -0
  20. package/dist/components/Molecules/SearchInput/SearchInput.test.js +5 -0
  21. package/dist/components/Molecules/SearchResult/__snapshots__/SearchResult.test.js.snap +45 -0
  22. package/dist/components/Molecules/SingleMessage/SingleMessage.test.js +4 -2
  23. package/dist/components/Molecules/SingleMessage/__snapshots__/SingleMessage.test.js.snap +41 -0
  24. package/dist/components/Molecules/SingleMessageDS/SingleMessageDs.test.js +2 -1
  25. package/dist/components/Molecules/SingleMessageDS/__snapshots__/SingleMessageDs.test.js.snap +16 -0
  26. package/dist/components/Molecules/Typeahead/__snapshots__/Typeahead.test.js.snap +5 -0
  27. package/dist/components/Organisms/CookieBanner/CookieBanner.test.js +5 -0
  28. package/dist/components/Organisms/Donate/__snapshots__/Donate.test.js.snap +90 -0
  29. package/dist/components/Organisms/EmailSignUp/__snapshots__/EmailSignUp.test.js.snap +10 -0
  30. package/dist/components/Organisms/Footer/__snapshots__/Footer.test.js.snap +20 -0
  31. package/dist/components/Organisms/Header2025/HeaderNav2025/HeaderNavItem2025.js +3 -1
  32. package/dist/components/Organisms/Membership/Membership.test.js +25 -0
  33. package/dist/components/Organisms/WYMDCarousel/__snapshots__/WYMDCarousel.test.js.snap +15 -0
  34. package/package.json +1 -1
  35. package/src/components/Atoms/Checkbox/Checkbox.test.js +10 -0
  36. package/src/components/Atoms/ErrorText/__snapshots__/ErrorText.test.js.snap +5 -0
  37. package/src/components/Atoms/Input/input.test.js +10 -0
  38. package/src/components/Atoms/RadioButton/RadioButton.test.js +10 -0
  39. package/src/components/Atoms/Select/__snapshots__/Select.test.js.snap +5 -0
  40. package/src/components/Atoms/Text/Text.js +6 -0
  41. package/src/components/Atoms/Text/Text.md +69 -68
  42. package/src/components/Atoms/Text/__snapshots__/Text.test.js.snap +25 -0
  43. package/src/components/Atoms/TextArea/TextArea.test.js +5 -0
  44. package/src/components/Atoms/TextInputWithDropdown/__snapshots__/TextInputWithDropdown.test.js.snap +15 -0
  45. package/src/components/Molecules/Accordion/__snapshots__/Accordion.test.js.snap +10 -0
  46. package/src/components/Molecules/ArticleTeaser/ArticleTeaser.test.js +20 -0
  47. package/src/components/Molecules/Banner/__snapshots__/Banner.test.js.snap +5 -0
  48. package/src/components/Molecules/Descriptor/Descriptor.test.js +15 -0
  49. package/src/components/Molecules/InfoBanner/__snapshots__/InfoBanner.test.js.snap +10 -0
  50. package/src/components/Molecules/PartnerLink/PartnerLink.test.js +5 -0
  51. package/src/components/Molecules/Promo/Promo.test.js +2 -2
  52. package/src/components/Molecules/Promo/__snapshots__/Promo.test.js.snap +26 -0
  53. package/src/components/Molecules/SchoolLookup/__snapshots__/SchoolLookup.test.js.snap +5 -0
  54. package/src/components/Molecules/SearchInput/SearchInput.test.js +5 -0
  55. package/src/components/Molecules/SearchResult/__snapshots__/SearchResult.test.js.snap +45 -0
  56. package/src/components/Molecules/SingleMessage/SingleMessage.test.js +2 -2
  57. package/src/components/Molecules/SingleMessage/__snapshots__/SingleMessage.test.js.snap +41 -0
  58. package/src/components/Molecules/SingleMessageDS/SingleMessageDs.test.js +1 -1
  59. package/src/components/Molecules/SingleMessageDS/__snapshots__/SingleMessageDs.test.js.snap +16 -0
  60. package/src/components/Molecules/Typeahead/__snapshots__/Typeahead.test.js.snap +5 -0
  61. package/src/components/Organisms/CookieBanner/CookieBanner.test.js +5 -0
  62. package/src/components/Organisms/Donate/__snapshots__/Donate.test.js.snap +90 -0
  63. package/src/components/Organisms/EmailSignUp/__snapshots__/EmailSignUp.test.js.snap +10 -0
  64. package/src/components/Organisms/Footer/__snapshots__/Footer.test.js.snap +20 -0
  65. package/src/components/Organisms/Header2025/HeaderNav2025/HeaderNavItem2025.js +1 -1
  66. package/src/components/Organisms/Membership/Membership.test.js +25 -0
  67. package/src/components/Organisms/WYMDCarousel/__snapshots__/WYMDCarousel.test.js.snap +15 -0
@@ -26,6 +26,11 @@ it('renders correctly', () => {
26
26
  line-height: 1.25rem;
27
27
  }
28
28
 
29
+ .c6 span {
30
+ font-size: inherit;
31
+ line-height: inherit;
32
+ }
33
+
29
34
  .c4 {
30
35
  width: 100%;
31
36
  position: relative;
@@ -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%;
@@ -233,6 +243,11 @@ exports[`renders correctly with copy 1`] = `
233
243
  text-transform: uppercase;
234
244
  }
235
245
 
246
+ .c7 span {
247
+ font-size: inherit;
248
+ line-height: inherit;
249
+ }
250
+
236
251
  .c8 {
237
252
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
238
253
  font-weight: 700;
@@ -251,6 +266,11 @@ exports[`renders correctly with copy 1`] = `
251
266
  text-transform: uppercase;
252
267
  }
253
268
 
269
+ .c8 span {
270
+ font-size: inherit;
271
+ line-height: inherit;
272
+ }
273
+
254
274
  .c10 {
255
275
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
256
276
  font-weight: 400;
@@ -268,6 +288,11 @@ exports[`renders correctly with copy 1`] = `
268
288
  line-height: normal;
269
289
  }
270
290
 
291
+ .c10 span {
292
+ font-size: inherit;
293
+ line-height: inherit;
294
+ }
295
+
271
296
  .c4 {
272
297
  display: block;
273
298
  width: 100%;
@@ -484,6 +509,11 @@ exports[`renders correctly with date 1`] = `
484
509
  text-transform: uppercase;
485
510
  }
486
511
 
512
+ .c7 span {
513
+ font-size: inherit;
514
+ line-height: inherit;
515
+ }
516
+
487
517
  .c8 {
488
518
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
489
519
  font-weight: 700;
@@ -502,6 +532,11 @@ exports[`renders correctly with date 1`] = `
502
532
  text-transform: uppercase;
503
533
  }
504
534
 
535
+ .c8 span {
536
+ font-size: inherit;
537
+ line-height: inherit;
538
+ }
539
+
505
540
  .c4 {
506
541
  display: block;
507
542
  width: 100%;
@@ -698,6 +733,11 @@ exports[`renders correctly with date and type 1`] = `
698
733
  text-transform: uppercase;
699
734
  }
700
735
 
736
+ .c7 span {
737
+ font-size: inherit;
738
+ line-height: inherit;
739
+ }
740
+
701
741
  .c8 {
702
742
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
703
743
  font-weight: 700;
@@ -716,6 +756,11 @@ exports[`renders correctly with date and type 1`] = `
716
756
  text-transform: uppercase;
717
757
  }
718
758
 
759
+ .c8 span {
760
+ font-size: inherit;
761
+ line-height: inherit;
762
+ }
763
+
719
764
  .c4 {
720
765
  display: block;
721
766
  width: 100%;
@@ -21,7 +21,8 @@ it('renders Single Message with Image correctly', () => {
21
21
  size: "xxl"
22
22
  }, "title"), /*#__PURE__*/_react.default.createElement(_Text.default, {
23
23
  tag: "p",
24
- color: "white"
24
+ color: "white",
25
+ size: "s"
25
26
  }, "description"), /*#__PURE__*/_react.default.createElement(_Link.default, {
26
27
  href: "/",
27
28
  type: "button",
@@ -54,7 +55,8 @@ it('renders Single Message with full width correctly', () => {
54
55
  size: "xxl"
55
56
  }, "title"), /*#__PURE__*/_react.default.createElement(_Text.default, {
56
57
  tag: "p",
57
- color: "white"
58
+ color: "white",
59
+ size: "s"
58
60
  }, "description"), /*#__PURE__*/_react.default.createElement(_Link.default, {
59
61
  href: "/",
60
62
  type: "button",
@@ -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%;
@@ -213,6 +218,11 @@ exports[`renders Single Message with Image correctly 1`] = `
213
218
  color: #FFFFFF;
214
219
  }
215
220
 
221
+ .c6 span {
222
+ font-size: inherit;
223
+ line-height: inherit;
224
+ }
225
+
216
226
  .c7 {
217
227
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
218
228
  font-weight: 400;
@@ -226,9 +236,16 @@ exports[`renders Single Message with Image correctly 1`] = `
226
236
  }
227
237
 
228
238
  .c7 {
239
+ font-size: 1rem;
240
+ line-height: normal;
229
241
  color: #FFFFFF;
230
242
  }
231
243
 
244
+ .c7 span {
245
+ font-size: inherit;
246
+ line-height: inherit;
247
+ }
248
+
232
249
  .c3 {
233
250
  display: block;
234
251
  width: 100%;
@@ -460,6 +477,7 @@ exports[`renders Single Message with Image correctly 1`] = `
460
477
  <p
461
478
  className="c7"
462
479
  color="white"
480
+ size="s"
463
481
  >
464
482
  description
465
483
  </p>
@@ -495,6 +513,11 @@ exports[`renders Single Message with double image correctly 1`] = `
495
513
  color: #000000;
496
514
  }
497
515
 
516
+ .c6 span {
517
+ font-size: inherit;
518
+ line-height: inherit;
519
+ }
520
+
498
521
  .c3 {
499
522
  display: block;
500
523
  width: 100%;
@@ -738,6 +761,11 @@ exports[`renders Single Message with full width correctly 1`] = `
738
761
  color: #FFFFFF;
739
762
  }
740
763
 
764
+ .c6 span {
765
+ font-size: inherit;
766
+ line-height: inherit;
767
+ }
768
+
741
769
  .c7 {
742
770
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
743
771
  font-weight: 400;
@@ -751,9 +779,16 @@ exports[`renders Single Message with full width correctly 1`] = `
751
779
  }
752
780
 
753
781
  .c7 {
782
+ font-size: 1rem;
783
+ line-height: normal;
754
784
  color: #FFFFFF;
755
785
  }
756
786
 
787
+ .c7 span {
788
+ font-size: inherit;
789
+ line-height: inherit;
790
+ }
791
+
757
792
  .c3 {
758
793
  display: block;
759
794
  width: 100%;
@@ -1008,6 +1043,7 @@ exports[`renders Single Message with full width correctly 1`] = `
1008
1043
  <p
1009
1044
  className="c7"
1010
1045
  color="white"
1046
+ size="s"
1011
1047
  >
1012
1048
  description
1013
1049
  </p>
@@ -1178,6 +1214,11 @@ exports[`renders Single Message with no Image correctly 1`] = `
1178
1214
  color: #FFFFFF;
1179
1215
  }
1180
1216
 
1217
+ .c2 span {
1218
+ font-size: inherit;
1219
+ line-height: inherit;
1220
+ }
1221
+
1181
1222
  .c0 {
1182
1223
  display: -webkit-box;
1183
1224
  display: -webkit-flex;
@@ -25,7 +25,8 @@ it('renders correctly', () => {
25
25
  imageLeft: true,
26
26
  linkIcon: /*#__PURE__*/_react.default.createElement(_Download.default, null)
27
27
  }, /*#__PURE__*/_react.default.createElement(_Text.default, {
28
- tag: "p"
28
+ tag: "p",
29
+ size: "s"
29
30
  }, "Whatever you\u2019ve got planned, the Sport Relief shop has everything you need to get you looking your best while you\u2019re raising some cash. Also available in Sainsbury\u2019s stores and online and in selected Argos stores."))).toJSON();
30
31
  expect(tree).toMatchSnapshot();
31
32
  });
@@ -21,6 +21,11 @@ exports[`renders correctly 1`] = `
21
21
  color: #274084;
22
22
  }
23
23
 
24
+ .c6 span {
25
+ font-size: inherit;
26
+ line-height: inherit;
27
+ }
28
+
24
29
  .c8 {
25
30
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
26
31
  font-weight: 400;
@@ -33,6 +38,16 @@ exports[`renders correctly 1`] = `
33
38
  line-height: 1.25rem;
34
39
  }
35
40
 
41
+ .c8 {
42
+ font-size: 1rem;
43
+ line-height: normal;
44
+ }
45
+
46
+ .c8 span {
47
+ font-size: inherit;
48
+ line-height: inherit;
49
+ }
50
+
36
51
  .c3 {
37
52
  display: block;
38
53
  width: 100%;
@@ -340,6 +355,7 @@ exports[`renders correctly 1`] = `
340
355
  <p
341
356
  className="c8"
342
357
  color="inherit"
358
+ size="s"
343
359
  >
344
360
  Whatever you’ve got planned, the Sport Relief shop has everything you need to get you looking your best while you’re raising some cash. Also available in Sainsbury’s stores and online and in selected Argos stores.
345
361
  </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;
@@ -34,6 +34,11 @@ it('renders correctly', () => {
34
34
  color: #FFFFFF;
35
35
  }
36
36
 
37
+ .c1 span {
38
+ font-size: inherit;
39
+ line-height: inherit;
40
+ }
41
+
37
42
  .c3 {
38
43
  position: relative;
39
44
  display: inline;
@@ -22,6 +22,11 @@ exports[`"Single Giving, No Money Buys, with overridden manual input value" rend
22
22
  color: #FFFFFF;
23
23
  }
24
24
 
25
+ .c4 span {
26
+ font-size: inherit;
27
+ line-height: inherit;
28
+ }
29
+
25
30
  .c5 {
26
31
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
27
32
  font-weight: 400;
@@ -40,6 +45,11 @@ exports[`"Single Giving, No Money Buys, with overridden manual input value" rend
40
45
  color: #FFFFFF;
41
46
  }
42
47
 
48
+ .c5 span {
49
+ font-size: inherit;
50
+ line-height: inherit;
51
+ }
52
+
43
53
  .c16 {
44
54
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
45
55
  font-weight: 400;
@@ -58,6 +68,11 @@ exports[`"Single Giving, No Money Buys, with overridden manual input value" rend
58
68
  font-weight: bold;
59
69
  }
60
70
 
71
+ .c16 span {
72
+ font-size: inherit;
73
+ line-height: inherit;
74
+ }
75
+
61
76
  .c20 {
62
77
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
63
78
  font-weight: 400;
@@ -70,6 +85,11 @@ exports[`"Single Giving, No Money Buys, with overridden manual input value" rend
70
85
  line-height: 1.25rem;
71
86
  }
72
87
 
88
+ .c20 span {
89
+ font-size: inherit;
90
+ line-height: inherit;
91
+ }
92
+
73
93
  .c18 {
74
94
  width: 100%;
75
95
  position: relative;
@@ -812,6 +832,11 @@ exports[`Monthly donation renders correctly 1`] = `
812
832
  color: #FFFFFF;
813
833
  }
814
834
 
835
+ .c4 span {
836
+ font-size: inherit;
837
+ line-height: inherit;
838
+ }
839
+
815
840
  .c5 {
816
841
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
817
842
  font-weight: 400;
@@ -830,6 +855,11 @@ exports[`Monthly donation renders correctly 1`] = `
830
855
  color: #FFFFFF;
831
856
  }
832
857
 
858
+ .c5 span {
859
+ font-size: inherit;
860
+ line-height: inherit;
861
+ }
862
+
833
863
  .c15 {
834
864
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
835
865
  font-weight: 400;
@@ -848,6 +878,11 @@ exports[`Monthly donation renders correctly 1`] = `
848
878
  font-weight: bold;
849
879
  }
850
880
 
881
+ .c15 span {
882
+ font-size: inherit;
883
+ line-height: inherit;
884
+ }
885
+
851
886
  .c17 {
852
887
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
853
888
  font-weight: 400;
@@ -866,6 +901,11 @@ exports[`Monthly donation renders correctly 1`] = `
866
901
  font-weight: 500;
867
902
  }
868
903
 
904
+ .c17 span {
905
+ font-size: inherit;
906
+ line-height: inherit;
907
+ }
908
+
869
909
  .c21 {
870
910
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
871
911
  font-weight: 400;
@@ -878,6 +918,11 @@ exports[`Monthly donation renders correctly 1`] = `
878
918
  line-height: 1.25rem;
879
919
  }
880
920
 
921
+ .c21 span {
922
+ font-size: inherit;
923
+ line-height: inherit;
924
+ }
925
+
881
926
  .c19 {
882
927
  width: 100%;
883
928
  position: relative;
@@ -1601,6 +1646,11 @@ exports[`Single donation renders correctly 1`] = `
1601
1646
  color: #FFFFFF;
1602
1647
  }
1603
1648
 
1649
+ .c4 span {
1650
+ font-size: inherit;
1651
+ line-height: inherit;
1652
+ }
1653
+
1604
1654
  .c5 {
1605
1655
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
1606
1656
  font-weight: 400;
@@ -1619,6 +1669,11 @@ exports[`Single donation renders correctly 1`] = `
1619
1669
  color: #FFFFFF;
1620
1670
  }
1621
1671
 
1672
+ .c5 span {
1673
+ font-size: inherit;
1674
+ line-height: inherit;
1675
+ }
1676
+
1622
1677
  .c10 {
1623
1678
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
1624
1679
  font-weight: 400;
@@ -1637,6 +1692,11 @@ exports[`Single donation renders correctly 1`] = `
1637
1692
  font-weight: bold;
1638
1693
  }
1639
1694
 
1695
+ .c10 span {
1696
+ font-size: inherit;
1697
+ line-height: inherit;
1698
+ }
1699
+
1640
1700
  .c21 {
1641
1701
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
1642
1702
  font-weight: 400;
@@ -1655,6 +1715,11 @@ exports[`Single donation renders correctly 1`] = `
1655
1715
  font-weight: 500;
1656
1716
  }
1657
1717
 
1718
+ .c21 span {
1719
+ font-size: inherit;
1720
+ line-height: inherit;
1721
+ }
1722
+
1658
1723
  .c14 {
1659
1724
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
1660
1725
  font-weight: 400;
@@ -1667,6 +1732,11 @@ exports[`Single donation renders correctly 1`] = `
1667
1732
  line-height: 1.25rem;
1668
1733
  }
1669
1734
 
1735
+ .c14 span {
1736
+ font-size: inherit;
1737
+ line-height: inherit;
1738
+ }
1739
+
1670
1740
  .c12 {
1671
1741
  width: 100%;
1672
1742
  position: relative;
@@ -2482,6 +2552,11 @@ exports[`Single donation with no Money Buys renders correctly 1`] = `
2482
2552
  color: #FFFFFF;
2483
2553
  }
2484
2554
 
2555
+ .c4 span {
2556
+ font-size: inherit;
2557
+ line-height: inherit;
2558
+ }
2559
+
2485
2560
  .c5 {
2486
2561
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
2487
2562
  font-weight: 400;
@@ -2500,6 +2575,11 @@ exports[`Single donation with no Money Buys renders correctly 1`] = `
2500
2575
  color: #FFFFFF;
2501
2576
  }
2502
2577
 
2578
+ .c5 span {
2579
+ font-size: inherit;
2580
+ line-height: inherit;
2581
+ }
2582
+
2503
2583
  .c10 {
2504
2584
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
2505
2585
  font-weight: 400;
@@ -2518,6 +2598,11 @@ exports[`Single donation with no Money Buys renders correctly 1`] = `
2518
2598
  font-weight: bold;
2519
2599
  }
2520
2600
 
2601
+ .c10 span {
2602
+ font-size: inherit;
2603
+ line-height: inherit;
2604
+ }
2605
+
2521
2606
  .c14 {
2522
2607
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
2523
2608
  font-weight: 400;
@@ -2530,6 +2615,11 @@ exports[`Single donation with no Money Buys renders correctly 1`] = `
2530
2615
  line-height: 1.25rem;
2531
2616
  }
2532
2617
 
2618
+ .c14 span {
2619
+ font-size: inherit;
2620
+ line-height: inherit;
2621
+ }
2622
+
2533
2623
  .c12 {
2534
2624
  width: 100%;
2535
2625
  position: relative;
@@ -21,6 +21,11 @@ exports[`renders correctly 1`] = `
21
21
  text-transform: uppercase;
22
22
  }
23
23
 
24
+ .c1 span {
25
+ font-size: inherit;
26
+ line-height: inherit;
27
+ }
28
+
24
29
  .c4 {
25
30
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
26
31
  font-weight: 400;
@@ -33,6 +38,11 @@ exports[`renders correctly 1`] = `
33
38
  line-height: 1.25rem;
34
39
  }
35
40
 
41
+ .c4 span {
42
+ font-size: inherit;
43
+ line-height: inherit;
44
+ }
45
+
36
46
  .c15 {
37
47
  display: -webkit-inline-box;
38
48
  display: -webkit-inline-flex;
@@ -18,6 +18,11 @@ exports[`renders correctly 1`] = `
18
18
  line-height: normal;
19
19
  }
20
20
 
21
+ .c12 span {
22
+ font-size: inherit;
23
+ line-height: inherit;
24
+ }
25
+
21
26
  .c15 {
22
27
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
23
28
  font-weight: 400;
@@ -37,6 +42,11 @@ exports[`renders correctly 1`] = `
37
42
  color: #FFFFFF;
38
43
  }
39
44
 
45
+ .c15 span {
46
+ font-size: inherit;
47
+ line-height: inherit;
48
+ }
49
+
40
50
  .c20 {
41
51
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
42
52
  font-weight: 400;
@@ -55,6 +65,11 @@ exports[`renders correctly 1`] = `
55
65
  color: #FFFFFF;
56
66
  }
57
67
 
68
+ .c20 span {
69
+ font-size: inherit;
70
+ line-height: inherit;
71
+ }
72
+
58
73
  .c25 {
59
74
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
60
75
  font-weight: 400;
@@ -73,6 +88,11 @@ exports[`renders correctly 1`] = `
73
88
  color: #969598;
74
89
  }
75
90
 
91
+ .c25 span {
92
+ font-size: inherit;
93
+ line-height: inherit;
94
+ }
95
+
76
96
  .c10 {
77
97
  object-fit: cover;
78
98
  width: 100%;
@@ -73,7 +73,9 @@ const HeaderNavItem2025 = _ref => {
73
73
  href: thisSubUrl,
74
74
  inline: true,
75
75
  role: "menuitem"
76
- }, /*#__PURE__*/_react.default.createElement(_Text.default, null, child.title)));
76
+ }, /*#__PURE__*/_react.default.createElement(_Text.default, {
77
+ size: "s"
78
+ }, child.title)));
77
79
  })));
78
80
  };
79
81
  var _default = exports.default = HeaderNavItem2025;
@@ -41,6 +41,11 @@ it('renders correctly', () => {
41
41
  font-weight: 800;
42
42
  }
43
43
 
44
+ .c6 span {
45
+ font-size: inherit;
46
+ line-height: inherit;
47
+ }
48
+
44
49
  .c7 {
45
50
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
46
51
  font-weight: 400;
@@ -58,6 +63,11 @@ it('renders correctly', () => {
58
63
  line-height: normal;
59
64
  }
60
65
 
66
+ .c7 span {
67
+ font-size: inherit;
68
+ line-height: inherit;
69
+ }
70
+
61
71
  .c12 {
62
72
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
63
73
  font-weight: 700;
@@ -75,6 +85,11 @@ it('renders correctly', () => {
75
85
  line-height: normal;
76
86
  }
77
87
 
88
+ .c12 span {
89
+ font-size: inherit;
90
+ line-height: inherit;
91
+ }
92
+
78
93
  .c16 {
79
94
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
80
95
  font-weight: 400;
@@ -87,6 +102,11 @@ it('renders correctly', () => {
87
102
  line-height: 1.25rem;
88
103
  }
89
104
 
105
+ .c16 span {
106
+ font-size: inherit;
107
+ line-height: inherit;
108
+ }
109
+
90
110
  .c23 {
91
111
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
92
112
  font-weight: 400;
@@ -105,6 +125,11 @@ it('renders correctly', () => {
105
125
  font-weight: 500;
106
126
  }
107
127
 
128
+ .c23 span {
129
+ font-size: inherit;
130
+ line-height: inherit;
131
+ }
132
+
108
133
  .c1 {
109
134
  display: block;
110
135
  width: 100%;
@@ -357,6 +357,11 @@ exports[`renders correctly:
357
357
  font-weight: bold;
358
358
  }
359
359
 
360
+ .c1 span {
361
+ font-size: inherit;
362
+ line-height: inherit;
363
+ }
364
+
360
365
  .c3 {
361
366
  font-family: 'Anton',Impact,sans-serif;
362
367
  font-weight: 400;
@@ -376,6 +381,11 @@ exports[`renders correctly:
376
381
  color: #E52630;
377
382
  }
378
383
 
384
+ .c3 span {
385
+ font-size: inherit;
386
+ line-height: inherit;
387
+ }
388
+
379
389
  .c5 {
380
390
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
381
391
  font-weight: 400;
@@ -388,6 +398,11 @@ exports[`renders correctly:
388
398
  line-height: 1.25rem;
389
399
  }
390
400
 
401
+ .c5 span {
402
+ font-size: inherit;
403
+ line-height: inherit;
404
+ }
405
+
391
406
  .c2 {
392
407
  width: 75%;
393
408
  margin: 0 auto;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@comicrelief/component-library",
3
3
  "author": "Comic Relief Engineering Team",
4
- "version": "8.44.2",
4
+ "version": "8.44.3",
5
5
  "main": "dist/index.js",
6
6
  "license": "ISC",
7
7
  "jest": {