@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.
- package/dist/components/Atoms/Checkbox/Checkbox.test.js +10 -4
- package/dist/components/Atoms/ErrorText/__snapshots__/ErrorText.test.js.snap +5 -2
- package/dist/components/Atoms/Input/input.test.js +10 -2
- package/dist/components/Atoms/RadioButton/RadioButton.test.js +10 -4
- package/dist/components/Atoms/Select/__snapshots__/Select.test.js.snap +5 -1
- package/dist/components/Atoms/Text/Text.js +29 -29
- package/dist/components/Atoms/Text/Text.md +70 -69
- package/dist/components/Atoms/Text/__snapshots__/Text.test.js.snap +25 -9
- package/dist/components/Atoms/TextArea/TextArea.test.js +5 -1
- package/dist/components/Atoms/TextInputWithDropdown/__snapshots__/TextInputWithDropdown.test.js.snap +15 -7
- package/dist/components/Molecules/Accordion/__snapshots__/Accordion.test.js.snap +10 -4
- package/dist/components/Molecules/ArticleTeaser/ArticleTeaser.test.js +20 -10
- package/dist/components/Molecules/Banner/__snapshots__/Banner.test.js.snap +5 -2
- package/dist/components/Molecules/Descriptor/Descriptor.test.js +15 -13
- package/dist/components/Molecules/InfoBanner/__snapshots__/InfoBanner.test.js.snap +10 -24
- package/dist/components/Molecules/PartnerLink/PartnerLink.test.js +5 -2
- package/dist/components/Molecules/Promo/Promo.test.js +4 -2
- package/dist/components/Molecules/Promo/__snapshots__/Promo.test.js.snap +24 -6
- package/dist/components/Molecules/SchoolLookup/__snapshots__/SchoolLookup.test.js.snap +5 -1
- package/dist/components/Molecules/SearchInput/SearchInput.test.js +5 -1
- package/dist/components/Molecules/SearchResult/__snapshots__/SearchResult.test.js.snap +45 -18
- package/dist/components/Molecules/SingleMessage/SingleMessage.test.js +4 -2
- package/dist/components/Molecules/SingleMessage/__snapshots__/SingleMessage.test.js.snap +39 -12
- package/dist/components/Molecules/SingleMessageDS/SingleMessageDs.test.js +2 -1
- package/dist/components/Molecules/SingleMessageDS/__snapshots__/SingleMessageDs.test.js.snap +15 -3
- package/dist/components/Molecules/Typeahead/__snapshots__/Typeahead.test.js.snap +5 -1
- package/dist/components/Organisms/CookieBanner/CookieBanner.test.js +5 -2
- package/dist/components/Organisms/Donate/__snapshots__/Donate.test.js.snap +90 -35
- package/dist/components/Organisms/EmailSignUp/__snapshots__/EmailSignUp.test.js.snap +10 -8
- package/dist/components/Organisms/Footer/__snapshots__/Footer.test.js.snap +20 -58
- package/dist/components/Organisms/Header2025/HeaderNav2025/HeaderNavItem2025.js +3 -1
- package/dist/components/Organisms/Membership/Membership.test.js +25 -12
- package/dist/components/Organisms/WYMDCarousel/__snapshots__/WYMDCarousel.test.js.snap +15 -3
- package/package.json +1 -1
- package/src/components/Atoms/Checkbox/Checkbox.test.js +10 -4
- package/src/components/Atoms/ErrorText/__snapshots__/ErrorText.test.js.snap +5 -2
- package/src/components/Atoms/Input/input.test.js +10 -2
- package/src/components/Atoms/RadioButton/RadioButton.test.js +10 -4
- package/src/components/Atoms/Select/__snapshots__/Select.test.js.snap +5 -1
- package/src/components/Atoms/Text/Text.js +25 -19
- package/src/components/Atoms/Text/Text.md +70 -69
- package/src/components/Atoms/Text/__snapshots__/Text.test.js.snap +25 -9
- package/src/components/Atoms/TextArea/TextArea.test.js +5 -1
- package/src/components/Atoms/TextInputWithDropdown/__snapshots__/TextInputWithDropdown.test.js.snap +15 -7
- package/src/components/Molecules/Accordion/__snapshots__/Accordion.test.js.snap +10 -4
- package/src/components/Molecules/ArticleTeaser/ArticleTeaser.test.js +20 -10
- package/src/components/Molecules/Banner/__snapshots__/Banner.test.js.snap +5 -2
- package/src/components/Molecules/Descriptor/Descriptor.test.js +15 -13
- package/src/components/Molecules/InfoBanner/__snapshots__/InfoBanner.test.js.snap +10 -24
- package/src/components/Molecules/PartnerLink/PartnerLink.test.js +5 -2
- package/src/components/Molecules/Promo/Promo.test.js +2 -2
- package/src/components/Molecules/Promo/__snapshots__/Promo.test.js.snap +24 -6
- package/src/components/Molecules/SchoolLookup/__snapshots__/SchoolLookup.test.js.snap +5 -1
- package/src/components/Molecules/SearchInput/SearchInput.test.js +5 -1
- package/src/components/Molecules/SearchResult/__snapshots__/SearchResult.test.js.snap +45 -18
- package/src/components/Molecules/SingleMessage/SingleMessage.test.js +2 -2
- package/src/components/Molecules/SingleMessage/__snapshots__/SingleMessage.test.js.snap +39 -12
- package/src/components/Molecules/SingleMessageDS/SingleMessageDs.test.js +1 -1
- package/src/components/Molecules/SingleMessageDS/__snapshots__/SingleMessageDs.test.js.snap +15 -3
- package/src/components/Molecules/Typeahead/__snapshots__/Typeahead.test.js.snap +5 -1
- package/src/components/Organisms/CookieBanner/CookieBanner.test.js +5 -2
- package/src/components/Organisms/Donate/__snapshots__/Donate.test.js.snap +90 -35
- package/src/components/Organisms/EmailSignUp/__snapshots__/EmailSignUp.test.js.snap +10 -8
- package/src/components/Organisms/Footer/__snapshots__/Footer.test.js.snap +20 -58
- package/src/components/Organisms/Header2025/HeaderNav2025/HeaderNavItem2025.js +1 -1
- package/src/components/Organisms/Membership/Membership.test.js +25 -12
- package/src/components/Organisms/WYMDCarousel/__snapshots__/WYMDCarousel.test.js.snap +15 -3
|
@@ -18,6 +18,11 @@ exports[`renders correctly 1`] = `
|
|
|
18
18
|
line-height: normal;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
+
.c2 span {
|
|
22
|
+
font-size: inherit;
|
|
23
|
+
line-height: inherit;
|
|
24
|
+
}
|
|
25
|
+
|
|
21
26
|
.c6 {
|
|
22
27
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
23
28
|
font-weight: 400;
|
|
@@ -35,6 +40,11 @@ exports[`renders correctly 1`] = `
|
|
|
35
40
|
line-height: normal;
|
|
36
41
|
}
|
|
37
42
|
|
|
43
|
+
.c6 span {
|
|
44
|
+
font-size: inherit;
|
|
45
|
+
line-height: inherit;
|
|
46
|
+
}
|
|
47
|
+
|
|
38
48
|
.c4 {
|
|
39
49
|
-webkit-transform: rotate(180deg);
|
|
40
50
|
-ms-transform: rotate(180deg);
|
|
@@ -165,8 +175,6 @@ exports[`renders correctly 1`] = `
|
|
|
165
175
|
>
|
|
166
176
|
<h2
|
|
167
177
|
className="c2"
|
|
168
|
-
color="inherit"
|
|
169
|
-
size="l"
|
|
170
178
|
>
|
|
171
179
|
I am the title
|
|
172
180
|
</h2>
|
|
@@ -193,8 +201,6 @@ exports[`renders correctly 1`] = `
|
|
|
193
201
|
>
|
|
194
202
|
<p
|
|
195
203
|
className="c6"
|
|
196
|
-
color="inherit"
|
|
197
|
-
size="s"
|
|
198
204
|
>
|
|
199
205
|
Name, surname, email and billing address We need these to process your payment, create a receipt and send it to you. Establishment information We use this information to understand which institutions (e.g. schools, companies) raise money for us. Your details will be kept safe and never shared with other organisations; see our Privacy Policy for more information
|
|
200
206
|
</p>
|
|
@@ -37,6 +37,11 @@ it('renders article teaser correctly', () => {
|
|
|
37
37
|
font-weight: bold;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
+
.c8 span {
|
|
41
|
+
font-size: inherit;
|
|
42
|
+
line-height: inherit;
|
|
43
|
+
}
|
|
44
|
+
|
|
40
45
|
.c10 {
|
|
41
46
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
42
47
|
font-weight: 700;
|
|
@@ -58,6 +63,11 @@ it('renders article teaser correctly', () => {
|
|
|
58
63
|
text-transform: uppercase;
|
|
59
64
|
}
|
|
60
65
|
|
|
66
|
+
.c10 span {
|
|
67
|
+
font-size: inherit;
|
|
68
|
+
line-height: inherit;
|
|
69
|
+
}
|
|
70
|
+
|
|
61
71
|
.c4 {
|
|
62
72
|
display: block;
|
|
63
73
|
width: 100%;
|
|
@@ -284,16 +294,11 @@ it('renders article teaser correctly', () => {
|
|
|
284
294
|
>
|
|
285
295
|
<span
|
|
286
296
|
className="c8 c9"
|
|
287
|
-
color="inherit"
|
|
288
|
-
size="xs"
|
|
289
297
|
>
|
|
290
298
|
01 July 2019
|
|
291
299
|
</span>
|
|
292
300
|
<h3
|
|
293
301
|
className="c10 c11"
|
|
294
|
-
color="inherit"
|
|
295
|
-
height="2rem"
|
|
296
|
-
size="xl"
|
|
297
302
|
>
|
|
298
303
|
News article
|
|
299
304
|
</h3>
|
|
@@ -330,6 +335,11 @@ it('renders press realese correctly', () => {
|
|
|
330
335
|
font-weight: bold;
|
|
331
336
|
}
|
|
332
337
|
|
|
338
|
+
.c8 span {
|
|
339
|
+
font-size: inherit;
|
|
340
|
+
line-height: inherit;
|
|
341
|
+
}
|
|
342
|
+
|
|
333
343
|
.c10 {
|
|
334
344
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
335
345
|
font-weight: 700;
|
|
@@ -351,6 +361,11 @@ it('renders press realese correctly', () => {
|
|
|
351
361
|
text-transform: uppercase;
|
|
352
362
|
}
|
|
353
363
|
|
|
364
|
+
.c10 span {
|
|
365
|
+
font-size: inherit;
|
|
366
|
+
line-height: inherit;
|
|
367
|
+
}
|
|
368
|
+
|
|
354
369
|
.c4 {
|
|
355
370
|
display: block;
|
|
356
371
|
width: 80px;
|
|
@@ -552,16 +567,11 @@ it('renders press realese correctly', () => {
|
|
|
552
567
|
>
|
|
553
568
|
<span
|
|
554
569
|
className="c8 c9"
|
|
555
|
-
color="inherit"
|
|
556
|
-
size="xs"
|
|
557
570
|
>
|
|
558
571
|
01 July 2019
|
|
559
572
|
</span>
|
|
560
573
|
<h3
|
|
561
574
|
className="c10 c11"
|
|
562
|
-
color="inherit"
|
|
563
|
-
height="2rem"
|
|
564
|
-
size="xl"
|
|
565
575
|
>
|
|
566
576
|
Press Release
|
|
567
577
|
</h3>
|
|
@@ -19,6 +19,11 @@ exports[`renders correctly 1`] = `
|
|
|
19
19
|
color: #FFFFFF;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
+
.c2 span {
|
|
23
|
+
font-size: inherit;
|
|
24
|
+
line-height: inherit;
|
|
25
|
+
}
|
|
26
|
+
|
|
22
27
|
.c0 {
|
|
23
28
|
background: #48276E;
|
|
24
29
|
}
|
|
@@ -64,8 +69,6 @@ exports[`renders correctly 1`] = `
|
|
|
64
69
|
>
|
|
65
70
|
<p
|
|
66
71
|
className="c2"
|
|
67
|
-
color="white"
|
|
68
|
-
size="s"
|
|
69
72
|
>
|
|
70
73
|
Mental health issues affect 1 in 4 of us in the UK. Join now and with your help we can provide vital support for people like Jordan. You know what to do.
|
|
71
74
|
</p>
|
|
@@ -35,6 +35,11 @@ it('renders article teaser correctly', () => {
|
|
|
35
35
|
color: #222222;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
+
.c3 span {
|
|
39
|
+
font-size: inherit;
|
|
40
|
+
line-height: inherit;
|
|
41
|
+
}
|
|
42
|
+
|
|
38
43
|
.c7 {
|
|
39
44
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
40
45
|
font-weight: 700;
|
|
@@ -56,6 +61,11 @@ it('renders article teaser correctly', () => {
|
|
|
56
61
|
text-transform: uppercase;
|
|
57
62
|
}
|
|
58
63
|
|
|
64
|
+
.c7 span {
|
|
65
|
+
font-size: inherit;
|
|
66
|
+
line-height: inherit;
|
|
67
|
+
}
|
|
68
|
+
|
|
59
69
|
.c10 {
|
|
60
70
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
61
71
|
font-weight: 400;
|
|
@@ -76,6 +86,11 @@ it('renders article teaser correctly', () => {
|
|
|
76
86
|
color: #222222;
|
|
77
87
|
}
|
|
78
88
|
|
|
89
|
+
.c10 span {
|
|
90
|
+
font-size: inherit;
|
|
91
|
+
line-height: inherit;
|
|
92
|
+
}
|
|
93
|
+
|
|
79
94
|
.c0 {
|
|
80
95
|
position: relative;
|
|
81
96
|
width: 100%;
|
|
@@ -225,8 +240,6 @@ it('renders article teaser correctly', () => {
|
|
|
225
240
|
>
|
|
226
241
|
<span
|
|
227
242
|
className="c3 c4"
|
|
228
|
-
color="grey_dark"
|
|
229
|
-
size="s"
|
|
230
243
|
>
|
|
231
244
|
15/06/2020
|
|
232
245
|
</span>
|
|
@@ -252,9 +265,6 @@ it('renders article teaser correctly', () => {
|
|
|
252
265
|
</div>
|
|
253
266
|
<h3
|
|
254
267
|
className="c7 c8"
|
|
255
|
-
color="inherit"
|
|
256
|
-
height="2rem"
|
|
257
|
-
size="xl"
|
|
258
268
|
>
|
|
259
269
|
Title
|
|
260
270
|
</h3>
|
|
@@ -263,29 +273,21 @@ it('renders article teaser correctly', () => {
|
|
|
263
273
|
>
|
|
264
274
|
<span
|
|
265
275
|
className="c10 c11"
|
|
266
|
-
color="grey_dark"
|
|
267
|
-
size="xs"
|
|
268
276
|
>
|
|
269
277
|
tag1
|
|
270
278
|
</span>
|
|
271
279
|
<span
|
|
272
280
|
className="c10 c11"
|
|
273
|
-
color="grey_dark"
|
|
274
|
-
size="xs"
|
|
275
281
|
>
|
|
276
282
|
tag2
|
|
277
283
|
</span>
|
|
278
284
|
<span
|
|
279
285
|
className="c10 c11"
|
|
280
|
-
color="grey_dark"
|
|
281
|
-
size="xs"
|
|
282
286
|
>
|
|
283
287
|
tag3
|
|
284
288
|
</span>
|
|
285
289
|
<span
|
|
286
290
|
className="c10 c11"
|
|
287
|
-
color="grey_dark"
|
|
288
|
-
size="xs"
|
|
289
291
|
>
|
|
290
292
|
tag4
|
|
291
293
|
</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>
|
|
@@ -34,6 +34,11 @@ it('renders correctly', () => {
|
|
|
34
34
|
color: #FFFFFF;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
+
.c4 span {
|
|
38
|
+
font-size: inherit;
|
|
39
|
+
line-height: inherit;
|
|
40
|
+
}
|
|
41
|
+
|
|
37
42
|
.c2 {
|
|
38
43
|
display: block;
|
|
39
44
|
width: 100%;
|
|
@@ -169,8 +174,6 @@ it('renders correctly', () => {
|
|
|
169
174
|
</div>
|
|
170
175
|
<span
|
|
171
176
|
className="c4 c5 c6"
|
|
172
|
-
color="white"
|
|
173
|
-
size="xxs"
|
|
174
177
|
>
|
|
175
178
|
Find out more
|
|
176
179
|
</span>
|
|
@@ -24,7 +24,8 @@ it('renders Promo correctly', () => {
|
|
|
24
24
|
weight: "normal"
|
|
25
25
|
}, "Curabitur pretium tincidunt lacus"), /*#__PURE__*/_react.default.createElement(_Text.default, {
|
|
26
26
|
tag: "p",
|
|
27
|
-
color: "white"
|
|
27
|
+
color: "white",
|
|
28
|
+
size: "s"
|
|
28
29
|
}, "Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo, est eros bibendum elit, nec luctus magna sollicitudin."), /*#__PURE__*/_react.default.createElement("span", null, /*#__PURE__*/_react.default.createElement(_Link.default, {
|
|
29
30
|
href: "/",
|
|
30
31
|
type: "button",
|
|
@@ -49,7 +50,8 @@ it('renders Promo correctly end position', () => {
|
|
|
49
50
|
weight: "normal"
|
|
50
51
|
}, "Curabitur pretium tincidunt lacus"), /*#__PURE__*/_react.default.createElement(_Text.default, {
|
|
51
52
|
tag: "p",
|
|
52
|
-
color: "white"
|
|
53
|
+
color: "white",
|
|
54
|
+
size: "s"
|
|
53
55
|
}, "Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo, est eros bibendum elit, nec luctus magna sollicitudin."), /*#__PURE__*/_react.default.createElement("span", null, /*#__PURE__*/_react.default.createElement(_Link.default, {
|
|
54
56
|
href: "/",
|
|
55
57
|
type: "button",
|
|
@@ -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",
|
|
@@ -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;
|
|
@@ -184,7 +189,6 @@ it('renders correctly', () => {
|
|
|
184
189
|
>
|
|
185
190
|
<span
|
|
186
191
|
className="c6 c7"
|
|
187
|
-
color="inherit"
|
|
188
192
|
dangerouslySetInnerHTML={
|
|
189
193
|
Object {
|
|
190
194
|
"__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>
|
|
@@ -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",
|