@comicrelief/component-library 8.43.0 → 8.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/dist/components/Atoms/Checkbox/Checkbox.test.js +50 -10
  2. package/dist/components/Atoms/ErrorText/__snapshots__/ErrorText.test.js.snap +27 -4
  3. package/dist/components/Atoms/Input/Input.js +4 -9
  4. package/dist/components/Atoms/Input/input.test.js +92 -14
  5. package/dist/components/Atoms/Label/Label.js +14 -7
  6. package/dist/components/Atoms/RadioButton/RadioButton.test.js +50 -10
  7. package/dist/components/Atoms/Select/__snapshots__/Select.test.js.snap +45 -6
  8. package/dist/components/Atoms/Text/Text.js +60 -75
  9. package/dist/components/Atoms/Text/Text.md +84 -87
  10. package/dist/components/Atoms/Text/__snapshots__/Text.test.js.snap +130 -21
  11. package/dist/components/Atoms/TextArea/TextArea.test.js +45 -6
  12. package/dist/components/Atoms/TextInputWithDropdown/__snapshots__/TextInputWithDropdown.test.js.snap +138 -25
  13. package/dist/components/Molecules/Accordion/__snapshots__/Accordion.test.js.snap +48 -7
  14. package/dist/components/Molecules/ArticleTeaser/ArticleTeaser.test.js +110 -20
  15. package/dist/components/Molecules/Banner/__snapshots__/Banner.test.js.snap +26 -6
  16. package/dist/components/Molecules/Descriptor/Descriptor.test.js +85 -15
  17. package/dist/components/Molecules/InfoBanner/__snapshots__/InfoBanner.test.js.snap +53 -3
  18. package/dist/components/Molecules/PartnerLink/PartnerLink.test.js +27 -4
  19. package/dist/components/Molecules/Promo/__snapshots__/Promo.test.js.snap +112 -28
  20. package/dist/components/Molecules/SchoolLookup/__snapshots__/SchoolLookup.test.js.snap +46 -7
  21. package/dist/components/Molecules/SearchInput/SearchInput.test.js +23 -6
  22. package/dist/components/Molecules/SearchResult/__snapshots__/SearchResult.test.js.snap +232 -20
  23. package/dist/components/Molecules/SingleMessage/__snapshots__/SingleMessage.test.js.snap +187 -30
  24. package/dist/components/Molecules/SingleMessageDS/__snapshots__/SingleMessageDs.test.js.snap +50 -9
  25. package/dist/components/Molecules/Typeahead/__snapshots__/Typeahead.test.js.snap +46 -7
  26. package/dist/components/Organisms/CookieBanner/CookieBanner.test.js +26 -7
  27. package/dist/components/Organisms/Donate/__snapshots__/Donate.test.js.snap +544 -101
  28. package/dist/components/Organisms/EmailSignUp/__snapshots__/EmailSignUp.test.js.snap +75 -19
  29. package/dist/components/Organisms/Footer/Nav/Nav.style.js +1 -1
  30. package/dist/components/Organisms/Footer/__snapshots__/Footer.test.js.snap +100 -47
  31. package/dist/components/Organisms/Membership/Membership.test.js +122 -22
  32. package/dist/components/Organisms/Membership/MoneyBox/MoneyBox.js +1 -1
  33. package/dist/components/Organisms/WYMDCarousel/__snapshots__/WYMDCarousel.test.js.snap +75 -19
  34. package/dist/theme/crTheme/fontConfig.js +217 -0
  35. package/dist/theme/crTheme/fontHelper.js +38 -0
  36. package/dist/theme/shared/global.css +3 -1
  37. package/package.json +1 -1
  38. package/src/components/Atoms/Checkbox/Checkbox.test.js +50 -10
  39. package/src/components/Atoms/ErrorText/__snapshots__/ErrorText.test.js.snap +27 -4
  40. package/src/components/Atoms/Input/Input.js +2 -2
  41. package/src/components/Atoms/Input/input.test.js +92 -14
  42. package/src/components/Atoms/Label/Label.js +7 -3
  43. package/src/components/Atoms/RadioButton/RadioButton.test.js +50 -10
  44. package/src/components/Atoms/Select/__snapshots__/Select.test.js.snap +45 -6
  45. package/src/components/Atoms/Text/Text.js +55 -54
  46. package/src/components/Atoms/Text/Text.md +84 -87
  47. package/src/components/Atoms/Text/__snapshots__/Text.test.js.snap +130 -21
  48. package/src/components/Atoms/TextArea/TextArea.test.js +45 -6
  49. package/src/components/Atoms/TextInputWithDropdown/__snapshots__/TextInputWithDropdown.test.js.snap +138 -25
  50. package/src/components/Molecules/Accordion/__snapshots__/Accordion.test.js.snap +48 -7
  51. package/src/components/Molecules/ArticleTeaser/ArticleTeaser.test.js +110 -20
  52. package/src/components/Molecules/Banner/__snapshots__/Banner.test.js.snap +26 -6
  53. package/src/components/Molecules/Descriptor/Descriptor.test.js +85 -15
  54. package/src/components/Molecules/InfoBanner/__snapshots__/InfoBanner.test.js.snap +53 -3
  55. package/src/components/Molecules/PartnerLink/PartnerLink.test.js +27 -4
  56. package/src/components/Molecules/Promo/__snapshots__/Promo.test.js.snap +112 -28
  57. package/src/components/Molecules/SchoolLookup/__snapshots__/SchoolLookup.test.js.snap +46 -7
  58. package/src/components/Molecules/SearchInput/SearchInput.test.js +23 -6
  59. package/src/components/Molecules/SearchResult/__snapshots__/SearchResult.test.js.snap +232 -20
  60. package/src/components/Molecules/SingleMessage/__snapshots__/SingleMessage.test.js.snap +187 -30
  61. package/src/components/Molecules/SingleMessageDS/__snapshots__/SingleMessageDs.test.js.snap +50 -9
  62. package/src/components/Molecules/Typeahead/__snapshots__/Typeahead.test.js.snap +46 -7
  63. package/src/components/Organisms/CookieBanner/CookieBanner.test.js +26 -7
  64. package/src/components/Organisms/Donate/__snapshots__/Donate.test.js.snap +544 -101
  65. package/src/components/Organisms/EmailSignUp/__snapshots__/EmailSignUp.test.js.snap +75 -19
  66. package/src/components/Organisms/Footer/Nav/Nav.style.js +1 -1
  67. package/src/components/Organisms/Footer/__snapshots__/Footer.test.js.snap +100 -47
  68. package/src/components/Organisms/Membership/Membership.test.js +122 -22
  69. package/src/components/Organisms/Membership/MoneyBox/MoneyBox.js +1 -1
  70. package/src/components/Organisms/WYMDCarousel/__snapshots__/WYMDCarousel.test.js.snap +75 -19
  71. package/src/theme/crTheme/fontConfig.js +211 -0
  72. package/src/theme/crTheme/fontHelper.js +31 -0
  73. package/src/theme/shared/global.css +3 -1
@@ -16,36 +16,64 @@ it('renders article teaser correctly', () => {
16
16
  }, "Description go here...", /*#__PURE__*/_react.default.createElement("br", null), "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.")).toJSON();
17
17
  expect(tree).toMatchInlineSnapshot(`
18
18
  .c3 {
19
- color: #222222;
20
- font-size: 1rem;
21
- line-height: 1rem;
19
+ font-family: 'Montserrat',Helvetica,Arial,sans-serif;
20
+ font-weight: 400;
22
21
  text-transform: inherit;
23
- font-weight: bold;
22
+ -webkit-letter-spacing: 0;
23
+ -moz-letter-spacing: 0;
24
+ -ms-letter-spacing: 0;
25
+ letter-spacing: 0;
26
+ font-size: 1rem;
27
+ line-height: 1.25rem;
28
+ }
29
+
30
+ .c3 {
31
+ font-size: 1rem;
24
32
  line-height: normal;
25
33
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
34
+ font-weight: bold;
35
+ color: #222222;
36
+ }
37
+
38
+ .c7 {
39
+ font-family: 'Montserrat',Helvetica,Arial,sans-serif;
40
+ font-weight: 700;
41
+ text-transform: inherit;
42
+ -webkit-letter-spacing: 0;
43
+ -moz-letter-spacing: 0;
44
+ -ms-letter-spacing: 0;
45
+ letter-spacing: 0;
46
+ font-size: 1.25rem;
47
+ line-height: 1.5rem;
26
48
  }
27
49
 
28
50
  .c7 {
29
51
  font-size: 2rem;
30
- line-height: 2rem;
31
- text-transform: uppercase;
52
+ line-height: normal;
53
+ font-family: 'Anton',Impact,sans-serif;
32
54
  font-weight: normal;
33
55
  line-height: 2rem;
34
- font-family: 'Anton',Impact,sans-serif;
35
- -webkit-letter-spacing: 0.03rem;
36
- -moz-letter-spacing: 0.03rem;
37
- -ms-letter-spacing: 0.03rem;
38
- letter-spacing: 0.03rem;
56
+ text-transform: uppercase;
39
57
  }
40
58
 
41
59
  .c10 {
42
- color: #222222;
43
- font-size: 0.75rem;
44
- line-height: 0.75rem;
60
+ font-family: 'Montserrat',Helvetica,Arial,sans-serif;
61
+ font-weight: 400;
45
62
  text-transform: inherit;
46
- font-weight: normal;
63
+ -webkit-letter-spacing: 0;
64
+ -moz-letter-spacing: 0;
65
+ -ms-letter-spacing: 0;
66
+ letter-spacing: 0;
67
+ font-size: 1rem;
68
+ line-height: 1.25rem;
69
+ }
70
+
71
+ .c10 {
72
+ font-size: 0.75rem;
47
73
  line-height: normal;
48
74
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
75
+ font-weight: normal;
76
+ color: #222222;
49
77
  }
50
78
 
51
79
  .c0 {
@@ -144,6 +172,48 @@ it('renders article teaser correctly', () => {
144
172
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
145
173
  }
146
174
 
175
+ @media (min-width:740px) {
176
+ .c3 {
177
+ font-size: 1rem;
178
+ line-height: 1.25rem;
179
+ }
180
+ }
181
+
182
+ @media (min-width:1024px) {
183
+ .c3 {
184
+ font-size: 1.125rem;
185
+ line-height: 1.375rem;
186
+ }
187
+ }
188
+
189
+ @media (min-width:740px) {
190
+ .c7 {
191
+ font-size: 1.25rem;
192
+ line-height: 1.5rem;
193
+ }
194
+ }
195
+
196
+ @media (min-width:1024px) {
197
+ .c7 {
198
+ font-size: 1.375rem;
199
+ line-height: 1.625rem;
200
+ }
201
+ }
202
+
203
+ @media (min-width:740px) {
204
+ .c10 {
205
+ font-size: 1rem;
206
+ line-height: 1.25rem;
207
+ }
208
+ }
209
+
210
+ @media (min-width:1024px) {
211
+ .c10 {
212
+ font-size: 1.125rem;
213
+ line-height: 1.375rem;
214
+ }
215
+ }
216
+
147
217
  <article
148
218
  className="c0"
149
219
  >
@@ -2,16 +2,38 @@
2
2
 
3
3
  exports[`renders correctly 1`] = `
4
4
  .c2 {
5
+ font-family: 'Montserrat',Helvetica,Arial,sans-serif;
6
+ font-weight: 700;
7
+ text-transform: inherit;
8
+ -webkit-letter-spacing: 0;
9
+ -moz-letter-spacing: 0;
10
+ -ms-letter-spacing: 0;
11
+ letter-spacing: 0;
12
+ font-size: 1.25rem;
13
+ line-height: 1.5rem;
14
+ }
15
+
16
+ .c2 {
17
+ font-size: undefined;
18
+ line-height: normal;
5
19
  text-transform: uppercase;
20
+ }
21
+
22
+ .c3 {
6
23
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
24
+ font-weight: 400;
25
+ text-transform: inherit;
26
+ -webkit-letter-spacing: 0;
27
+ -moz-letter-spacing: 0;
28
+ -ms-letter-spacing: 0;
29
+ letter-spacing: 0;
30
+ font-size: 1rem;
31
+ line-height: 1.25rem;
7
32
  }
8
33
 
9
34
  .c3 {
10
35
  font-size: 1rem;
11
- line-height: 1rem;
12
- text-transform: inherit;
13
36
  line-height: normal;
14
- font-family: 'Montserrat',Helvetica,Arial,sans-serif;
15
37
  }
16
38
 
17
39
  .c4 {
@@ -58,6 +80,34 @@ exports[`renders correctly 1`] = `
58
80
  flex-direction: column;
59
81
  }
60
82
 
83
+ @media (min-width:740px) {
84
+ .c2 {
85
+ font-size: 1.25rem;
86
+ line-height: 1.5rem;
87
+ }
88
+ }
89
+
90
+ @media (min-width:1024px) {
91
+ .c2 {
92
+ font-size: 1.375rem;
93
+ line-height: 1.625rem;
94
+ }
95
+ }
96
+
97
+ @media (min-width:740px) {
98
+ .c3 {
99
+ font-size: 1rem;
100
+ line-height: 1.25rem;
101
+ }
102
+ }
103
+
104
+ @media (min-width:1024px) {
105
+ .c3 {
106
+ font-size: 1.125rem;
107
+ line-height: 1.375rem;
108
+ }
109
+ }
110
+
61
111
  @media (min-width:740px) {
62
112
  .c0 {
63
113
  -webkit-flex-direction: row;
@@ -17,12 +17,21 @@ it('renders correctly', () => {
17
17
  }))).toJSON();
18
18
  expect(tree).toMatchInlineSnapshot(`
19
19
  .c4 {
20
- color: #FFFFFF;
21
- font-size: 0.6875rem;
22
- line-height: 0.6875rem;
20
+ font-family: 'Montserrat',Helvetica,Arial,sans-serif;
21
+ font-weight: 400;
23
22
  text-transform: inherit;
23
+ -webkit-letter-spacing: 0;
24
+ -moz-letter-spacing: 0;
25
+ -ms-letter-spacing: 0;
26
+ letter-spacing: 0;
27
+ font-size: 1rem;
28
+ line-height: 1.25rem;
29
+ }
30
+
31
+ .c4 {
32
+ font-size: 0.6875rem;
24
33
  line-height: normal;
25
- font-family: 'Montserrat',Helvetica,Arial,sans-serif;
34
+ color: #FFFFFF;
26
35
  }
27
36
 
28
37
  .c2 {
@@ -113,6 +122,20 @@ it('renders correctly', () => {
113
122
  background-color: #E52630;
114
123
  }
115
124
 
125
+ @media (min-width:740px) {
126
+ .c4 {
127
+ font-size: 1rem;
128
+ line-height: 1.25rem;
129
+ }
130
+ }
131
+
132
+ @media (min-width:1024px) {
133
+ .c4 {
134
+ font-size: 1.125rem;
135
+ line-height: 1.375rem;
136
+ }
137
+ }
138
+
116
139
  @media (min-width:740px) {
117
140
  .c6 {
118
141
  font-size: 1rem;
@@ -2,27 +2,42 @@
2
2
 
3
3
  exports[`renders Promo correctly 1`] = `
4
4
  .c7 {
5
- color: #FFFFFF;
6
- font-size: 5rem;
7
- line-height: 5rem;
5
+ font-family: 'Anton',Impact,sans-serif;
6
+ font-weight: 400;
8
7
  text-transform: uppercase;
9
- font-weight: normal;
8
+ -webkit-letter-spacing: 0;
9
+ -moz-letter-spacing: 0;
10
+ -ms-letter-spacing: 0;
11
+ letter-spacing: 0;
12
+ font-size: 2rem;
13
+ line-height: 2rem;
14
+ }
15
+
16
+ .c7 {
17
+ font-size: 5rem;
18
+ line-height: normal;
10
19
  font-family: 'Anton',Impact,sans-serif;
11
- -webkit-letter-spacing: 0.03rem;
12
- -moz-letter-spacing: 0.03rem;
13
- -ms-letter-spacing: 0.03rem;
14
- letter-spacing: 0.03rem;
20
+ font-weight: normal;
21
+ text-transform: uppercase;
22
+ color: #FFFFFF;
15
23
  font-size: 3rem;
16
24
  line-height: 3rem;
17
25
  }
18
26
 
19
27
  .c8 {
20
- color: #FFFFFF;
21
- font-size: 1rem;
22
- line-height: 1rem;
23
- text-transform: inherit;
24
- line-height: normal;
25
28
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
29
+ font-weight: 400;
30
+ text-transform: inherit;
31
+ -webkit-letter-spacing: 0;
32
+ -moz-letter-spacing: 0;
33
+ -ms-letter-spacing: 0;
34
+ letter-spacing: 0;
35
+ font-size: 1rem;
36
+ line-height: 1.25rem;
37
+ }
38
+
39
+ .c8 {
40
+ color: #FFFFFF;
26
41
  }
27
42
 
28
43
  .c2 {
@@ -137,6 +152,20 @@ exports[`renders Promo correctly 1`] = `
137
152
  align-items: center;
138
153
  }
139
154
 
155
+ @media (min-width:740px) {
156
+ .c7 {
157
+ font-size: 2.5rem;
158
+ line-height: 2.5rem;
159
+ }
160
+ }
161
+
162
+ @media (min-width:1024px) {
163
+ .c7 {
164
+ font-size: 3rem;
165
+ line-height: 3rem;
166
+ }
167
+ }
168
+
140
169
  @media (min-width:740px) {
141
170
  .c7 {
142
171
  font-size: 4rem;
@@ -153,6 +182,20 @@ exports[`renders Promo correctly 1`] = `
153
182
  }
154
183
  }
155
184
 
185
+ @media (min-width:740px) {
186
+ .c8 {
187
+ font-size: 1rem;
188
+ line-height: 1.25rem;
189
+ }
190
+ }
191
+
192
+ @media (min-width:1024px) {
193
+ .c8 {
194
+ font-size: 1.125rem;
195
+ line-height: 1.375rem;
196
+ }
197
+ }
198
+
156
199
  @media (min-width:740px) {
157
200
  .c9 {
158
201
  width: auto;
@@ -254,7 +297,6 @@ exports[`renders Promo correctly 1`] = `
254
297
  <p
255
298
  className="c8"
256
299
  color="white"
257
- size="s"
258
300
  >
259
301
  Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo, est eros bibendum elit, nec luctus magna sollicitudin.
260
302
  </p>
@@ -277,27 +319,42 @@ exports[`renders Promo correctly 1`] = `
277
319
 
278
320
  exports[`renders Promo correctly end position 1`] = `
279
321
  .c7 {
280
- color: #FFFFFF;
281
- font-size: 5rem;
282
- line-height: 5rem;
322
+ font-family: 'Anton',Impact,sans-serif;
323
+ font-weight: 400;
283
324
  text-transform: uppercase;
284
- font-weight: normal;
325
+ -webkit-letter-spacing: 0;
326
+ -moz-letter-spacing: 0;
327
+ -ms-letter-spacing: 0;
328
+ letter-spacing: 0;
329
+ font-size: 2rem;
330
+ line-height: 2rem;
331
+ }
332
+
333
+ .c7 {
334
+ font-size: 5rem;
335
+ line-height: normal;
285
336
  font-family: 'Anton',Impact,sans-serif;
286
- -webkit-letter-spacing: 0.03rem;
287
- -moz-letter-spacing: 0.03rem;
288
- -ms-letter-spacing: 0.03rem;
289
- letter-spacing: 0.03rem;
337
+ font-weight: normal;
338
+ text-transform: uppercase;
339
+ color: #FFFFFF;
290
340
  font-size: 3rem;
291
341
  line-height: 3rem;
292
342
  }
293
343
 
294
344
  .c8 {
295
- color: #FFFFFF;
296
- font-size: 1rem;
297
- line-height: 1rem;
298
- text-transform: inherit;
299
- line-height: normal;
300
345
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
346
+ font-weight: 400;
347
+ text-transform: inherit;
348
+ -webkit-letter-spacing: 0;
349
+ -moz-letter-spacing: 0;
350
+ -ms-letter-spacing: 0;
351
+ letter-spacing: 0;
352
+ font-size: 1rem;
353
+ line-height: 1.25rem;
354
+ }
355
+
356
+ .c8 {
357
+ color: #FFFFFF;
301
358
  }
302
359
 
303
360
  .c2 {
@@ -415,6 +472,20 @@ exports[`renders Promo correctly end position 1`] = `
415
472
  align-items: center;
416
473
  }
417
474
 
475
+ @media (min-width:740px) {
476
+ .c7 {
477
+ font-size: 2.5rem;
478
+ line-height: 2.5rem;
479
+ }
480
+ }
481
+
482
+ @media (min-width:1024px) {
483
+ .c7 {
484
+ font-size: 3rem;
485
+ line-height: 3rem;
486
+ }
487
+ }
488
+
418
489
  @media (min-width:740px) {
419
490
  .c7 {
420
491
  font-size: 4rem;
@@ -431,6 +502,20 @@ exports[`renders Promo correctly end position 1`] = `
431
502
  }
432
503
  }
433
504
 
505
+ @media (min-width:740px) {
506
+ .c8 {
507
+ font-size: 1rem;
508
+ line-height: 1.25rem;
509
+ }
510
+ }
511
+
512
+ @media (min-width:1024px) {
513
+ .c8 {
514
+ font-size: 1.125rem;
515
+ line-height: 1.375rem;
516
+ }
517
+ }
518
+
434
519
  @media (min-width:740px) {
435
520
  .c9 {
436
521
  width: auto;
@@ -540,7 +625,6 @@ exports[`renders Promo correctly end position 1`] = `
540
625
  <p
541
626
  className="c8"
542
627
  color="white"
543
- size="s"
544
628
  >
545
629
  Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo, est eros bibendum elit, nec luctus magna sollicitudin.
546
630
  </p>
@@ -2,11 +2,15 @@
2
2
 
3
3
  exports[`renders correctly 1`] = `
4
4
  .c2 {
5
- font-size: 1rem;
6
- line-height: 1rem;
7
- text-transform: inherit;
8
- line-height: normal;
9
5
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
6
+ font-weight: 400;
7
+ text-transform: inherit;
8
+ -webkit-letter-spacing: 0;
9
+ -moz-letter-spacing: 0;
10
+ -ms-letter-spacing: 0;
11
+ letter-spacing: 0;
12
+ font-size: 1rem;
13
+ line-height: 1.25rem;
10
14
  }
11
15
 
12
16
  .c1 {
@@ -24,7 +28,15 @@ exports[`renders correctly 1`] = `
24
28
 
25
29
  .c3 {
26
30
  margin-bottom: 0.5rem;
27
- font-weight: normal;
31
+ font-family: 'Montserrat',Helvetica,Arial,sans-serif;
32
+ font-weight: 400;
33
+ text-transform: inherit;
34
+ -webkit-letter-spacing: 0;
35
+ -moz-letter-spacing: 0;
36
+ -ms-letter-spacing: 0;
37
+ letter-spacing: 0;
38
+ font-size: 1rem;
39
+ line-height: 1.25rem;
28
40
  }
29
41
 
30
42
  .c4 {
@@ -66,7 +78,7 @@ exports[`renders correctly 1`] = `
66
78
  border-radius: 0.5rem;
67
79
  font-size: inherit;
68
80
  z-index: 2;
69
- font-family: 'Montserrat',Helvetica,Arial,sans-serif;
81
+ font-family: inherit;
70
82
  }
71
83
 
72
84
  .c6:focus {
@@ -77,6 +89,34 @@ exports[`renders correctly 1`] = `
77
89
  position: relative;
78
90
  }
79
91
 
92
+ @media (min-width:740px) {
93
+ .c2 {
94
+ font-size: 1rem;
95
+ line-height: 1.25rem;
96
+ }
97
+ }
98
+
99
+ @media (min-width:1024px) {
100
+ .c2 {
101
+ font-size: 1.125rem;
102
+ line-height: 1.375rem;
103
+ }
104
+ }
105
+
106
+ @media (min-width:740px) {
107
+ .c3 {
108
+ font-size: 1rem;
109
+ line-height: 1.25rem;
110
+ }
111
+ }
112
+
113
+ @media (min-width:1024px) {
114
+ .c3 {
115
+ font-size: 1rem;
116
+ line-height: 1.25rem;
117
+ }
118
+ }
119
+
80
120
  @media (min-width:740px) {
81
121
 
82
122
  }
@@ -101,7 +141,6 @@ exports[`renders correctly 1`] = `
101
141
  "__html": "Enter the name or postcode of your school or nursery",
102
142
  }
103
143
  }
104
- size="s"
105
144
  />
106
145
  <div
107
146
  className="c4"
@@ -15,11 +15,15 @@ it('renders correctly', () => {
15
15
  })).toJSON();
16
16
  expect(tree).toMatchInlineSnapshot(`
17
17
  .c6 {
18
- font-size: 1rem;
19
- line-height: 1rem;
20
- text-transform: inherit;
21
- line-height: normal;
22
18
  font-family: 'Montserrat',Helvetica,Arial,sans-serif;
19
+ font-weight: 400;
20
+ text-transform: inherit;
21
+ -webkit-letter-spacing: 0;
22
+ -moz-letter-spacing: 0;
23
+ -ms-letter-spacing: 0;
24
+ letter-spacing: 0;
25
+ font-size: 1rem;
26
+ line-height: 1.25rem;
23
27
  }
24
28
 
25
29
  .c4 {
@@ -89,7 +93,7 @@ it('renders correctly', () => {
89
93
  border-radius: 0.5rem;
90
94
  font-size: inherit;
91
95
  z-index: 2;
92
- font-family: 'Montserrat',Helvetica,Arial,sans-serif;
96
+ font-family: inherit;
93
97
  }
94
98
 
95
99
  .c10:focus {
@@ -132,6 +136,20 @@ it('renders correctly', () => {
132
136
  border: 0;
133
137
  }
134
138
 
139
+ @media (min-width:740px) {
140
+ .c6 {
141
+ font-size: 1rem;
142
+ line-height: 1.25rem;
143
+ }
144
+ }
145
+
146
+ @media (min-width:1024px) {
147
+ .c6 {
148
+ font-size: 1.125rem;
149
+ line-height: 1.375rem;
150
+ }
151
+ }
152
+
135
153
  @media (min-width:740px) {
136
154
 
137
155
  }
@@ -172,7 +190,6 @@ it('renders correctly', () => {
172
190
  "__html": "Search",
173
191
  }
174
192
  }
175
- size="s"
176
193
  />
177
194
  <div
178
195
  className="c8"