@comicrelief/component-library 8.44.1 → 8.44.2

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 (45) hide show
  1. package/dist/components/Atoms/Checkbox/Checkbox.js +2 -1
  2. package/dist/components/Atoms/Checkbox/Checkbox.md +2 -2
  3. package/dist/components/Atoms/Checkbox/Checkbox.test.js +6 -0
  4. package/dist/components/Atoms/RadioButton/RadioButton.js +2 -1
  5. package/dist/components/Atoms/RadioButton/RadioButton.test.js +6 -0
  6. package/dist/components/Molecules/Accordion/Accordion.md +3 -3
  7. package/dist/components/Molecules/Accordion/Accordion.test.js +2 -1
  8. package/dist/components/Molecules/Accordion/__snapshots__/Accordion.test.js.snap +6 -0
  9. package/dist/components/Molecules/Banner/Banner.test.js +2 -1
  10. package/dist/components/Molecules/Banner/__snapshots__/Banner.test.js.snap +3 -0
  11. package/dist/components/Organisms/Footer/Footer.js +2 -1
  12. package/dist/components/Organisms/Footer/Nav/Nav.js +8 -4
  13. package/dist/components/Organisms/Footer/__snapshots__/Footer.test.js.snap +40 -0
  14. package/dist/components/Organisms/Header/HeaderNav/HeaderNav.js +2 -1
  15. package/dist/components/Organisms/Header/Nav/Nav.js +2 -1
  16. package/dist/components/Organisms/Header2025/HeaderNav2025/HeaderNav2025.js +2 -1
  17. package/dist/components/Organisms/Header2025/HeaderNav2025/HeaderNav2025.style.js +1 -1
  18. package/dist/components/Organisms/MarketingPreferencesDS/MarketingPreferencesDSForm.js +4 -2
  19. package/dist/components/Organisms/Membership/Form/Form.js +2 -1
  20. package/dist/components/Organisms/Membership/Membership.js +2 -1
  21. package/dist/components/Organisms/Membership/Membership.test.js +86 -48
  22. package/dist/components/Organisms/WYMDCarousel/WYMDCarousel.js +4 -2
  23. package/package.json +1 -1
  24. package/src/components/Atoms/Checkbox/Checkbox.js +1 -1
  25. package/src/components/Atoms/Checkbox/Checkbox.md +2 -2
  26. package/src/components/Atoms/Checkbox/Checkbox.test.js +6 -0
  27. package/src/components/Atoms/RadioButton/RadioButton.js +1 -1
  28. package/src/components/Atoms/RadioButton/RadioButton.test.js +6 -0
  29. package/src/components/Molecules/Accordion/Accordion.md +3 -3
  30. package/src/components/Molecules/Accordion/Accordion.test.js +1 -1
  31. package/src/components/Molecules/Accordion/__snapshots__/Accordion.test.js.snap +6 -0
  32. package/src/components/Molecules/Banner/Banner.test.js +1 -1
  33. package/src/components/Molecules/Banner/__snapshots__/Banner.test.js.snap +3 -0
  34. package/src/components/Organisms/Footer/Footer.js +1 -1
  35. package/src/components/Organisms/Footer/Nav/Nav.js +4 -4
  36. package/src/components/Organisms/Footer/__snapshots__/Footer.test.js.snap +40 -0
  37. package/src/components/Organisms/Header/HeaderNav/HeaderNav.js +1 -1
  38. package/src/components/Organisms/Header/Nav/Nav.js +1 -1
  39. package/src/components/Organisms/Header2025/HeaderNav2025/HeaderNav2025.js +1 -1
  40. package/src/components/Organisms/Header2025/HeaderNav2025/HeaderNav2025.style.js +1 -1
  41. package/src/components/Organisms/MarketingPreferencesDS/MarketingPreferencesDSForm.js +2 -2
  42. package/src/components/Organisms/Membership/Form/Form.js +1 -1
  43. package/src/components/Organisms/Membership/Membership.js +1 -1
  44. package/src/components/Organisms/Membership/Membership.test.js +86 -48
  45. package/src/components/Organisms/WYMDCarousel/WYMDCarousel.js +2 -2
@@ -91,7 +91,8 @@ const Checkbox = /*#__PURE__*/_react.default.forwardRef((_ref8, ref) => {
91
91
  checkboxBorderChecked: checkboxBorderChecked,
92
92
  checkboxBorderFocus: checkboxBorderFocus
93
93
  })), /*#__PURE__*/_react.default.createElement("span", null), label ? /*#__PURE__*/_react.default.createElement(_Text.default, {
94
- weight: "bold"
94
+ weight: "bold",
95
+ size: "s"
95
96
  }, label) : children);
96
97
  });
97
98
  Checkbox.propTypes = {
@@ -6,7 +6,7 @@ import Link from '../../Atoms/Link/Link';
6
6
 
7
7
  const LongLabel = () => (
8
8
  <div>
9
- <Text tag="p">
9
+ <Text tag="p" size="s">
10
10
  I agree to the
11
11
  {' '}
12
12
  <Link target="blank" href="https://comicrelief.com/terms-of-use/">terms and conditions</Link>
@@ -15,7 +15,7 @@ const LongLabel = () => (
15
15
  {' '}
16
16
  <Link target="blank" href="https://comicrelief.com/privacy-notice/">privacy policy.</Link>
17
17
  </Text>
18
- <Text tag="p">
18
+ <Text tag="p" size="s">
19
19
  For more information, please view our fundraising
20
20
  <Link target="blank" href="https://comicrelief.com/code-of-conduct/">code of conduct.</Link>
21
21
  </Text>
@@ -30,6 +30,8 @@ it('renders correctly', () => {
30
30
  }
31
31
 
32
32
  .c2 {
33
+ font-size: 1rem;
34
+ line-height: normal;
33
35
  font-weight: bold;
34
36
  }
35
37
 
@@ -111,6 +113,7 @@ it('renders correctly', () => {
111
113
  <span
112
114
  className="c2"
113
115
  color="inherit"
116
+ size="s"
114
117
  >
115
118
  Tennis
116
119
  </span>
@@ -128,6 +131,8 @@ it('renders correctly', () => {
128
131
  }
129
132
 
130
133
  .c2 {
134
+ font-size: 1rem;
135
+ line-height: normal;
131
136
  font-weight: bold;
132
137
  }
133
138
 
@@ -209,6 +214,7 @@ it('renders correctly', () => {
209
214
  <span
210
215
  className="c2"
211
216
  color="inherit"
217
+ size="s"
212
218
  >
213
219
  Handball
214
220
  </span>
@@ -72,7 +72,8 @@ const RadioButton = /*#__PURE__*/_react.default.forwardRef((_ref7, ref) => {
72
72
  id: value,
73
73
  ref: ref
74
74
  })), /*#__PURE__*/_react.default.createElement("span", null), /*#__PURE__*/_react.default.createElement(_Text.default, {
75
- weight: "bold"
75
+ weight: "bold",
76
+ size: "s"
76
77
  }, label));
77
78
  });
78
79
  RadioButton.propTypes = {
@@ -32,6 +32,8 @@ it('renders correctly', () => {
32
32
  }
33
33
 
34
34
  .c2 {
35
+ font-size: 1rem;
36
+ line-height: normal;
35
37
  font-weight: bold;
36
38
  }
37
39
 
@@ -122,6 +124,7 @@ it('renders correctly', () => {
122
124
  <span
123
125
  className="c2"
124
126
  color="inherit"
127
+ size="s"
125
128
  >
126
129
  Male
127
130
  </span>
@@ -139,6 +142,8 @@ it('renders correctly', () => {
139
142
  }
140
143
 
141
144
  .c2 {
145
+ font-size: 1rem;
146
+ line-height: normal;
142
147
  font-weight: bold;
143
148
  }
144
149
 
@@ -229,6 +234,7 @@ it('renders correctly', () => {
229
234
  <span
230
235
  className="c2"
231
236
  color="inherit"
237
+ size="s"
232
238
  >
233
239
  Female
234
240
  </span>
@@ -10,7 +10,7 @@ import Text from '../../Atoms/Text/Text';
10
10
  </Text>
11
11
  }
12
12
  >
13
- <Text tag="p">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</Text>
13
+ <Text tag="p" size="s">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</Text>
14
14
  </Accordion>
15
15
  ```
16
16
 
@@ -26,9 +26,9 @@ import Text from '../../Atoms/Text/Text';
26
26
  }
27
27
  >
28
28
 
29
- <Text tag="p">Customised bottom padding here!</Text>
29
+ <Text tag="p" size="s">Customised bottom padding here!</Text>
30
30
 
31
- <Text tag="p">
31
+ <Text tag="p" size="s">
32
32
  <a href="https://www.google.com">A plain anchor link, made to resemble a Link component</a>.
33
33
  </Text>
34
34
  </Accordion>
@@ -14,7 +14,8 @@ it('renders correctly', () => {
14
14
  size: "l"
15
15
  }, "I am the title")
16
16
  }, /*#__PURE__*/_react.default.createElement(_Text.default, {
17
- tag: "p"
17
+ tag: "p",
18
+ size: "s"
18
19
  }, "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"))).toJSON();
19
20
  expect(tree).toMatchSnapshot();
20
21
  });
@@ -30,6 +30,11 @@ exports[`renders correctly 1`] = `
30
30
  line-height: 1.25rem;
31
31
  }
32
32
 
33
+ .c6 {
34
+ font-size: 1rem;
35
+ line-height: normal;
36
+ }
37
+
33
38
  .c4 {
34
39
  -webkit-transform: rotate(180deg);
35
40
  -ms-transform: rotate(180deg);
@@ -189,6 +194,7 @@ exports[`renders correctly 1`] = `
189
194
  <p
190
195
  className="c6"
191
196
  color="inherit"
197
+ size="s"
192
198
  >
193
199
  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
194
200
  </p>
@@ -11,7 +11,8 @@ it('renders correctly', () => {
11
11
  backgroundColor: "purple_dark"
12
12
  }, /*#__PURE__*/_react.default.createElement(_Text.default, {
13
13
  tag: "p",
14
- color: "white"
14
+ color: "white",
15
+ size: "s"
15
16
  }, "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."))).toJSON();
16
17
  expect(tree).toMatchSnapshot();
17
18
  });
@@ -14,6 +14,8 @@ exports[`renders correctly 1`] = `
14
14
  }
15
15
 
16
16
  .c2 {
17
+ font-size: 1rem;
18
+ line-height: normal;
17
19
  color: #FFFFFF;
18
20
  }
19
21
 
@@ -63,6 +65,7 @@ exports[`renders correctly 1`] = `
63
65
  <p
64
66
  className="c2"
65
67
  color="white"
68
+ size="s"
66
69
  >
67
70
  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.
68
71
  </p>
@@ -44,7 +44,8 @@ const Footer = _ref => {
44
44
  overrideallowList: overrideallowList
45
45
  }, rest)), showFundraisingRegulatorLogo && /*#__PURE__*/_react.default.createElement(_FundraisingRegulatorLogo.default, null), /*#__PURE__*/_react.default.createElement(_Footer.FooterCopyright, null, /*#__PURE__*/_react.default.createElement(_Text.default, {
46
46
  tag: "p",
47
- color: "grey"
47
+ color: "grey",
48
+ size: "s"
48
49
  }, footerCopy)))));
49
50
  };
50
51
  var _default = exports.default = Footer;
@@ -58,7 +58,8 @@ const FooterNav = _ref => {
58
58
  role: "navigation"
59
59
  }, /*#__PURE__*/_react.default.createElement(_Text.default, {
60
60
  id: "footer-menu",
61
- tag: "h2"
61
+ tag: "h2",
62
+ size: "s"
62
63
  }, "Footer navigation"), /*#__PURE__*/_react.default.createElement(_Nav.NavMenu, {
63
64
  role: "menubar"
64
65
  }, menuGroups.map((group, index) => /*#__PURE__*/_react.default.createElement(_Nav.NavItem, {
@@ -68,7 +69,8 @@ const FooterNav = _ref => {
68
69
  isSubMenuOpen: !!isSubMenuOpen[group.id]
69
70
  }, !isSmallBreakpoint ? /*#__PURE__*/_react.default.createElement(_Text.default, {
70
71
  color: "white",
71
- weight: "bold"
72
+ weight: "bold",
73
+ size: "s"
72
74
  }, group.title) : /*#__PURE__*/_react.default.createElement(_Nav.NavLink, Object.assign({
73
75
  href: "#",
74
76
  inline: true,
@@ -77,7 +79,8 @@ const FooterNav = _ref => {
77
79
  role: "button",
78
80
  onClick: toggleSubMenu(group.id)
79
81
  }, rest), /*#__PURE__*/_react.default.createElement(_Text.default, {
80
- color: "white"
82
+ color: "white",
83
+ size: "s"
81
84
  }, group.title)), group.links && group.links.length > 0 && /*#__PURE__*/_react.default.createElement(_Nav.SubNavMenu, {
82
85
  role: "list",
83
86
  "aria-label": group.title,
@@ -95,7 +98,8 @@ const FooterNav = _ref => {
95
98
  inline: true,
96
99
  role: "menuitem"
97
100
  }, rest), /*#__PURE__*/_react.default.createElement(_Text.default, {
98
- color: "white"
101
+ color: "white",
102
+ size: "s"
99
103
  }, child.title)));
100
104
  }))))));
101
105
  };
@@ -13,6 +13,11 @@ exports[`renders correctly 1`] = `
13
13
  line-height: 1.5rem;
14
14
  }
15
15
 
16
+ .c12 {
17
+ font-size: 1rem;
18
+ line-height: normal;
19
+ }
20
+
16
21
  .c15 {
17
22
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
18
23
  font-weight: 400;
@@ -26,6 +31,8 @@ exports[`renders correctly 1`] = `
26
31
  }
27
32
 
28
33
  .c15 {
34
+ font-size: 1rem;
35
+ line-height: normal;
29
36
  font-weight: bold;
30
37
  color: #FFFFFF;
31
38
  }
@@ -43,6 +50,8 @@ exports[`renders correctly 1`] = `
43
50
  }
44
51
 
45
52
  .c20 {
53
+ font-size: 1rem;
54
+ line-height: normal;
46
55
  color: #FFFFFF;
47
56
  }
48
57
 
@@ -59,6 +68,8 @@ exports[`renders correctly 1`] = `
59
68
  }
60
69
 
61
70
  .c25 {
71
+ font-size: 1rem;
72
+ line-height: normal;
62
73
  color: #969598;
63
74
  }
64
75
 
@@ -739,6 +750,7 @@ exports[`renders correctly 1`] = `
739
750
  className="c12"
740
751
  color="inherit"
741
752
  id="footer-menu"
753
+ size="s"
742
754
  >
743
755
  Footer navigation
744
756
  </h2>
@@ -753,6 +765,7 @@ exports[`renders correctly 1`] = `
753
765
  <span
754
766
  className="c15"
755
767
  color="white"
768
+ size="s"
756
769
  >
757
770
  Hear from us
758
771
  </span>
@@ -775,6 +788,7 @@ exports[`renders correctly 1`] = `
775
788
  <span
776
789
  className="c20"
777
790
  color="white"
791
+ size="s"
778
792
  >
779
793
  Get the newsletter
780
794
  </span>
@@ -794,6 +808,7 @@ exports[`renders correctly 1`] = `
794
808
  <span
795
809
  className="c20"
796
810
  color="white"
811
+ size="s"
797
812
  >
798
813
  How we contact you
799
814
  </span>
@@ -808,6 +823,7 @@ exports[`renders correctly 1`] = `
808
823
  <span
809
824
  className="c15"
810
825
  color="white"
826
+ size="s"
811
827
  >
812
828
  Get in touch
813
829
  </span>
@@ -830,6 +846,7 @@ exports[`renders correctly 1`] = `
830
846
  <span
831
847
  className="c20"
832
848
  color="white"
849
+ size="s"
833
850
  >
834
851
  Contact us
835
852
  </span>
@@ -849,6 +866,7 @@ exports[`renders correctly 1`] = `
849
866
  <span
850
867
  className="c20"
851
868
  color="white"
869
+ size="s"
852
870
  >
853
871
  Your Gift Aid
854
872
  </span>
@@ -868,6 +886,7 @@ exports[`renders correctly 1`] = `
868
886
  <span
869
887
  className="c20"
870
888
  color="white"
889
+ size="s"
871
890
  >
872
891
  FAQs
873
892
  </span>
@@ -887,6 +906,7 @@ exports[`renders correctly 1`] = `
887
906
  <span
888
907
  className="c20"
889
908
  color="white"
909
+ size="s"
890
910
  >
891
911
  Red Nose Day 2019 FAQs
892
912
  </span>
@@ -901,6 +921,7 @@ exports[`renders correctly 1`] = `
901
921
  <span
902
922
  className="c15"
903
923
  color="white"
924
+ size="s"
904
925
  >
905
926
  About us
906
927
  </span>
@@ -923,6 +944,7 @@ exports[`renders correctly 1`] = `
923
944
  <span
924
945
  className="c20"
925
946
  color="white"
947
+ size="s"
926
948
  >
927
949
  Mission
928
950
  </span>
@@ -942,6 +964,7 @@ exports[`renders correctly 1`] = `
942
964
  <span
943
965
  className="c20"
944
966
  color="white"
967
+ size="s"
945
968
  >
946
969
  Our history
947
970
  </span>
@@ -961,6 +984,7 @@ exports[`renders correctly 1`] = `
961
984
  <span
962
985
  className="c20"
963
986
  color="white"
987
+ size="s"
964
988
  >
965
989
  Finances
966
990
  </span>
@@ -980,6 +1004,7 @@ exports[`renders correctly 1`] = `
980
1004
  <span
981
1005
  className="c20"
982
1006
  color="white"
1007
+ size="s"
983
1008
  >
984
1009
  Partners
985
1010
  </span>
@@ -999,6 +1024,7 @@ exports[`renders correctly 1`] = `
999
1024
  <span
1000
1025
  className="c20"
1001
1026
  color="white"
1027
+ size="s"
1002
1028
  >
1003
1029
  Meet the team
1004
1030
  </span>
@@ -1018,6 +1044,7 @@ exports[`renders correctly 1`] = `
1018
1044
  <span
1019
1045
  className="c20"
1020
1046
  color="white"
1047
+ size="s"
1021
1048
  >
1022
1049
  Sport Relief
1023
1050
  </span>
@@ -1032,6 +1059,7 @@ exports[`renders correctly 1`] = `
1032
1059
  <span
1033
1060
  className="c15"
1034
1061
  color="white"
1062
+ size="s"
1035
1063
  >
1036
1064
  Careers
1037
1065
  </span>
@@ -1054,6 +1082,7 @@ exports[`renders correctly 1`] = `
1054
1082
  <span
1055
1083
  className="c20"
1056
1084
  color="white"
1085
+ size="s"
1057
1086
  >
1058
1087
  Working at Comic Relief
1059
1088
  </span>
@@ -1073,6 +1102,7 @@ exports[`renders correctly 1`] = `
1073
1102
  <span
1074
1103
  className="c20"
1075
1104
  color="white"
1105
+ size="s"
1076
1106
  >
1077
1107
  Open roles
1078
1108
  </span>
@@ -1087,6 +1117,7 @@ exports[`renders correctly 1`] = `
1087
1117
  <span
1088
1118
  className="c15"
1089
1119
  color="white"
1120
+ size="s"
1090
1121
  >
1091
1122
  News
1092
1123
  </span>
@@ -1109,6 +1140,7 @@ exports[`renders correctly 1`] = `
1109
1140
  <span
1110
1141
  className="c20"
1111
1142
  color="white"
1143
+ size="s"
1112
1144
  >
1113
1145
  News
1114
1146
  </span>
@@ -1128,6 +1160,7 @@ exports[`renders correctly 1`] = `
1128
1160
  <span
1129
1161
  className="c20"
1130
1162
  color="white"
1163
+ size="s"
1131
1164
  >
1132
1165
  Press area
1133
1166
  </span>
@@ -1142,6 +1175,7 @@ exports[`renders correctly 1`] = `
1142
1175
  <span
1143
1176
  className="c15"
1144
1177
  color="white"
1178
+ size="s"
1145
1179
  >
1146
1180
  Legal
1147
1181
  </span>
@@ -1164,6 +1198,7 @@ exports[`renders correctly 1`] = `
1164
1198
  <span
1165
1199
  className="c20"
1166
1200
  color="white"
1201
+ size="s"
1167
1202
  >
1168
1203
  Link comp with both URL and Ref
1169
1204
  </span>
@@ -1183,6 +1218,7 @@ exports[`renders correctly 1`] = `
1183
1218
  <span
1184
1219
  className="c20"
1185
1220
  color="white"
1221
+ size="s"
1186
1222
  >
1187
1223
  Link comp with only Ref
1188
1224
  </span>
@@ -1202,6 +1238,7 @@ exports[`renders correctly 1`] = `
1202
1238
  <span
1203
1239
  className="c20"
1204
1240
  color="white"
1241
+ size="s"
1205
1242
  >
1206
1243
  Link comp with only URL
1207
1244
  </span>
@@ -1226,6 +1263,7 @@ exports[`renders correctly 1`] = `
1226
1263
  <span
1227
1264
  className="c20"
1228
1265
  color="white"
1266
+ size="s"
1229
1267
  >
1230
1268
  Test allowListed external link
1231
1269
  </span>
@@ -1245,6 +1283,7 @@ exports[`renders correctly 1`] = `
1245
1283
  <span
1246
1284
  className="c20"
1247
1285
  color="white"
1286
+ size="s"
1248
1287
  >
1249
1288
  Test non-allowListed external link
1250
1289
  </span>
@@ -1265,6 +1304,7 @@ exports[`renders correctly 1`] = `
1265
1304
  <p
1266
1305
  className="c25"
1267
1306
  color="grey"
1307
+ size="s"
1268
1308
  >
1269
1309
  Comic Relief is the trading name of Charity Projects, a registered charity in England and Wales (326568) and Scotland (SC039730), which is a company limited by guarantee registered in England and Wales (01806414). Registered address: 6th Floor, The White Chapel Building, 10 Whitechapel High Street, London, E1 8QS.
1270
1310
  </p>
@@ -83,7 +83,8 @@ const HeaderNav = _ref => {
83
83
  role: "navigation"
84
84
  }, /*#__PURE__*/_react.default.createElement(_Text.default, {
85
85
  id: "main-menu",
86
- tag: "h2"
86
+ tag: "h2",
87
+ size: "s"
87
88
  }, "Main navigation"), /*#__PURE__*/_react.default.createElement(_HeaderNav.NavMenu, {
88
89
  role: "menubar"
89
90
  }, theseGroups.map((group, index) => {
@@ -63,7 +63,8 @@ const MainNav = _ref => {
63
63
  role: "navigation"
64
64
  }, /*#__PURE__*/_react.default.createElement(_Text.default, {
65
65
  id: "main-menu",
66
- tag: "h2"
66
+ tag: "h2",
67
+ size: "s"
67
68
  }, "Main navigation"), /*#__PURE__*/_react.default.createElement(_Nav.NavMenu, {
68
69
  role: "menubar"
69
70
  }, menuGroups.map((group, index) => {
@@ -123,7 +123,8 @@ const HeaderNav2025 = _ref => {
123
123
  id: "main-nav"
124
124
  }, /*#__PURE__*/_react.default.createElement(_Text.default, {
125
125
  id: "main-menu",
126
- tag: "h2"
126
+ tag: "h2",
127
+ size: "s"
127
128
  }, "Main navigation"), processedItems &&
128
129
  /*#__PURE__*/
129
130
  // First level of the navigation (ul tag): Parent
@@ -16,7 +16,7 @@ const transitionDuration = 0.2;
16
16
  const NavLinkClass = (0, _styledComponents.default)(_Link.default).withConfig({
17
17
  displayName: "HeaderNav2025style__NavLinkClass",
18
18
  componentId: "sc-xflhtq-0"
19
- })(["display:inline-block;border:0;padding:25px;line-height:1rem;height:auto;font-weight:700;width:100%;color:", ";transition:color ", "s ease;text-decoration:none;:hover,:focus,:focus-within{border:0;}@media ", "{:hover,:focus{color:", ";background-color:", ";font-weight:inherit;}:focus-within{background-color:", ";&:hover{background-color:", ";}}}> div{height:auto;transition:transform 0.35s cubic-bezier(0.41,1.64,0.41,0.8);", "}"], _ref => {
19
+ })(["display:inline-block;border:0;padding:25px;line-height:1rem;height:auto;font-weight:700;width:100%;color:", ";transition:color ", "s ease;text-decoration:none;:hover,:focus,:focus-within{border:0;}@media ", "{:hover,:focus{color:", ";background-color:", ";font-weight:700;}:focus-within{background-color:", ";&:hover{background-color:", ";}}}> div{height:auto;transition:transform 0.35s cubic-bezier(0.41,1.64,0.41,0.8);", "}"], _ref => {
20
20
  let {
21
21
  theme
22
22
  } = _ref;
@@ -76,7 +76,8 @@ const MarketingPreferencesDSForm = () => {
76
76
  } = formMethodsCustom;
77
77
  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_Text.default, {
78
78
  tag: "p",
79
- weight: "bold"
79
+ weight: "bold",
80
+ size: "s"
80
81
  }, "Our default instance:"), /*#__PURE__*/_react.default.createElement(_reactHookForm.FormProvider, formMethods, /*#__PURE__*/_react.default.createElement("form", {
81
82
  onSubmit: handleSubmit(customSubmitHandler),
82
83
  noValidate: true
@@ -91,7 +92,8 @@ const MarketingPreferencesDSForm = () => {
91
92
  size: "xl"
92
93
  }, "- - - - - - - - - - - - - "), /*#__PURE__*/_react.default.createElement(_Text.default, {
93
94
  tag: "p",
94
- weight: "bold"
95
+ weight: "bold",
96
+ size: "s"
95
97
  }, "Our customised instance:"), /*#__PURE__*/_react.default.createElement(_reactHookForm.FormProvider, formMethodsCustom, /*#__PURE__*/_react.default.createElement("form", {
96
98
  onSubmit: handleSubmitCustom(customSubmitHandler),
97
99
  noValidate: true
@@ -122,7 +122,8 @@ const Signup = _ref => {
122
122
  return /*#__PURE__*/_react.default.createElement(_Membership2.FormWrapper, null, /*#__PURE__*/_react.default.createElement(_Membership2.Form, {
123
123
  onSubmit: e => submitDonation(e, amountDonate, clientID, cartID, mbshipID, donateLink)
124
124
  }, /*#__PURE__*/_react.default.createElement(_Membership2.OuterFieldset, null, /*#__PURE__*/_react.default.createElement(_Membership2.Legend, null, /*#__PURE__*/_react.default.createElement(_Text.default, {
125
- tag: "h3"
125
+ tag: "h3",
126
+ size: "s"
126
127
  }, "Choose your monthly donation")), /*#__PURE__*/_react.default.createElement(_Membership2.MoneyBuys, null, MoneyBoxes), /*#__PURE__*/_react.default.createElement(_Membership2.FormFieldset, null, /*#__PURE__*/_react.default.createElement(_Membership2.Label, {
127
128
  size: "s",
128
129
  weight: "500"
@@ -43,7 +43,8 @@ const Membership = _ref => {
43
43
  size: "l",
44
44
  weight: "800"
45
45
  }, title), /*#__PURE__*/_react.default.createElement(_Text.default, {
46
- tag: "p"
46
+ tag: "p",
47
+ size: "s"
47
48
  }, subtitle)), /*#__PURE__*/_react.default.createElement(_Form.default, {
48
49
  data: data,
49
50
  otherDescription: otherDescription,