@comicrelief/component-library 8.44.1 → 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.
- package/dist/components/Atoms/Checkbox/Checkbox.js +2 -1
- package/dist/components/Atoms/Checkbox/Checkbox.md +2 -2
- package/dist/components/Atoms/Checkbox/Checkbox.test.js +16 -0
- package/dist/components/Atoms/ErrorText/__snapshots__/ErrorText.test.js.snap +5 -0
- package/dist/components/Atoms/Input/input.test.js +10 -0
- package/dist/components/Atoms/RadioButton/RadioButton.js +2 -1
- package/dist/components/Atoms/RadioButton/RadioButton.test.js +16 -0
- package/dist/components/Atoms/Select/__snapshots__/Select.test.js.snap +5 -0
- package/dist/components/Atoms/Text/Text.js +1 -1
- package/dist/components/Atoms/Text/Text.md +69 -68
- package/dist/components/Atoms/Text/__snapshots__/Text.test.js.snap +25 -0
- package/dist/components/Atoms/TextArea/TextArea.test.js +5 -0
- package/dist/components/Atoms/TextInputWithDropdown/__snapshots__/TextInputWithDropdown.test.js.snap +15 -0
- package/dist/components/Molecules/Accordion/Accordion.md +3 -3
- package/dist/components/Molecules/Accordion/Accordion.test.js +2 -1
- package/dist/components/Molecules/Accordion/__snapshots__/Accordion.test.js.snap +16 -0
- package/dist/components/Molecules/ArticleTeaser/ArticleTeaser.test.js +20 -0
- package/dist/components/Molecules/Banner/Banner.test.js +2 -1
- package/dist/components/Molecules/Banner/__snapshots__/Banner.test.js.snap +8 -0
- package/dist/components/Molecules/Descriptor/Descriptor.test.js +15 -0
- package/dist/components/Molecules/InfoBanner/__snapshots__/InfoBanner.test.js.snap +10 -0
- package/dist/components/Molecules/PartnerLink/PartnerLink.test.js +5 -0
- package/dist/components/Molecules/Promo/Promo.test.js +4 -2
- package/dist/components/Molecules/Promo/__snapshots__/Promo.test.js.snap +26 -0
- package/dist/components/Molecules/SchoolLookup/__snapshots__/SchoolLookup.test.js.snap +5 -0
- package/dist/components/Molecules/SearchInput/SearchInput.test.js +5 -0
- package/dist/components/Molecules/SearchResult/__snapshots__/SearchResult.test.js.snap +45 -0
- package/dist/components/Molecules/SingleMessage/SingleMessage.test.js +4 -2
- package/dist/components/Molecules/SingleMessage/__snapshots__/SingleMessage.test.js.snap +41 -0
- package/dist/components/Molecules/SingleMessageDS/SingleMessageDs.test.js +2 -1
- package/dist/components/Molecules/SingleMessageDS/__snapshots__/SingleMessageDs.test.js.snap +16 -0
- package/dist/components/Molecules/Typeahead/__snapshots__/Typeahead.test.js.snap +5 -0
- package/dist/components/Organisms/CookieBanner/CookieBanner.test.js +5 -0
- package/dist/components/Organisms/Donate/__snapshots__/Donate.test.js.snap +90 -0
- package/dist/components/Organisms/EmailSignUp/__snapshots__/EmailSignUp.test.js.snap +10 -0
- package/dist/components/Organisms/Footer/Footer.js +2 -1
- package/dist/components/Organisms/Footer/Nav/Nav.js +8 -4
- package/dist/components/Organisms/Footer/__snapshots__/Footer.test.js.snap +60 -0
- package/dist/components/Organisms/Header/HeaderNav/HeaderNav.js +2 -1
- package/dist/components/Organisms/Header/Nav/Nav.js +2 -1
- package/dist/components/Organisms/Header2025/HeaderNav2025/HeaderNav2025.js +2 -1
- package/dist/components/Organisms/Header2025/HeaderNav2025/HeaderNav2025.style.js +1 -1
- package/dist/components/Organisms/Header2025/HeaderNav2025/HeaderNavItem2025.js +3 -1
- package/dist/components/Organisms/MarketingPreferencesDS/MarketingPreferencesDSForm.js +4 -2
- package/dist/components/Organisms/Membership/Form/Form.js +2 -1
- package/dist/components/Organisms/Membership/Membership.js +2 -1
- package/dist/components/Organisms/Membership/Membership.test.js +111 -48
- package/dist/components/Organisms/WYMDCarousel/WYMDCarousel.js +4 -2
- package/dist/components/Organisms/WYMDCarousel/__snapshots__/WYMDCarousel.test.js.snap +15 -0
- package/package.json +1 -1
- package/src/components/Atoms/Checkbox/Checkbox.js +1 -1
- package/src/components/Atoms/Checkbox/Checkbox.md +2 -2
- package/src/components/Atoms/Checkbox/Checkbox.test.js +16 -0
- package/src/components/Atoms/ErrorText/__snapshots__/ErrorText.test.js.snap +5 -0
- package/src/components/Atoms/Input/input.test.js +10 -0
- package/src/components/Atoms/RadioButton/RadioButton.js +1 -1
- package/src/components/Atoms/RadioButton/RadioButton.test.js +16 -0
- package/src/components/Atoms/Select/__snapshots__/Select.test.js.snap +5 -0
- package/src/components/Atoms/Text/Text.js +6 -0
- package/src/components/Atoms/Text/Text.md +69 -68
- package/src/components/Atoms/Text/__snapshots__/Text.test.js.snap +25 -0
- package/src/components/Atoms/TextArea/TextArea.test.js +5 -0
- package/src/components/Atoms/TextInputWithDropdown/__snapshots__/TextInputWithDropdown.test.js.snap +15 -0
- package/src/components/Molecules/Accordion/Accordion.md +3 -3
- package/src/components/Molecules/Accordion/Accordion.test.js +1 -1
- package/src/components/Molecules/Accordion/__snapshots__/Accordion.test.js.snap +16 -0
- package/src/components/Molecules/ArticleTeaser/ArticleTeaser.test.js +20 -0
- package/src/components/Molecules/Banner/Banner.test.js +1 -1
- package/src/components/Molecules/Banner/__snapshots__/Banner.test.js.snap +8 -0
- package/src/components/Molecules/Descriptor/Descriptor.test.js +15 -0
- package/src/components/Molecules/InfoBanner/__snapshots__/InfoBanner.test.js.snap +10 -0
- package/src/components/Molecules/PartnerLink/PartnerLink.test.js +5 -0
- package/src/components/Molecules/Promo/Promo.test.js +2 -2
- package/src/components/Molecules/Promo/__snapshots__/Promo.test.js.snap +26 -0
- package/src/components/Molecules/SchoolLookup/__snapshots__/SchoolLookup.test.js.snap +5 -0
- package/src/components/Molecules/SearchInput/SearchInput.test.js +5 -0
- package/src/components/Molecules/SearchResult/__snapshots__/SearchResult.test.js.snap +45 -0
- package/src/components/Molecules/SingleMessage/SingleMessage.test.js +2 -2
- package/src/components/Molecules/SingleMessage/__snapshots__/SingleMessage.test.js.snap +41 -0
- package/src/components/Molecules/SingleMessageDS/SingleMessageDs.test.js +1 -1
- package/src/components/Molecules/SingleMessageDS/__snapshots__/SingleMessageDs.test.js.snap +16 -0
- package/src/components/Molecules/Typeahead/__snapshots__/Typeahead.test.js.snap +5 -0
- package/src/components/Organisms/CookieBanner/CookieBanner.test.js +5 -0
- package/src/components/Organisms/Donate/__snapshots__/Donate.test.js.snap +90 -0
- package/src/components/Organisms/EmailSignUp/__snapshots__/EmailSignUp.test.js.snap +10 -0
- package/src/components/Organisms/Footer/Footer.js +1 -1
- package/src/components/Organisms/Footer/Nav/Nav.js +4 -4
- package/src/components/Organisms/Footer/__snapshots__/Footer.test.js.snap +60 -0
- package/src/components/Organisms/Header/HeaderNav/HeaderNav.js +1 -1
- package/src/components/Organisms/Header/Nav/Nav.js +1 -1
- package/src/components/Organisms/Header2025/HeaderNav2025/HeaderNav2025.js +1 -1
- package/src/components/Organisms/Header2025/HeaderNav2025/HeaderNav2025.style.js +1 -1
- package/src/components/Organisms/Header2025/HeaderNav2025/HeaderNavItem2025.js +1 -1
- package/src/components/Organisms/MarketingPreferencesDS/MarketingPreferencesDSForm.js +2 -2
- package/src/components/Organisms/Membership/Form/Form.js +1 -1
- package/src/components/Organisms/Membership/Membership.js +1 -1
- package/src/components/Organisms/Membership/Membership.test.js +111 -48
- package/src/components/Organisms/WYMDCarousel/WYMDCarousel.js +2 -2
- package/src/components/Organisms/WYMDCarousel/__snapshots__/WYMDCarousel.test.js.snap +15 -0
|
@@ -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;
|
|
@@ -53,6 +58,16 @@ it('renders correctly', () => {
|
|
|
53
58
|
line-height: 1.25rem;
|
|
54
59
|
}
|
|
55
60
|
|
|
61
|
+
.c7 {
|
|
62
|
+
font-size: 1rem;
|
|
63
|
+
line-height: normal;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.c7 span {
|
|
67
|
+
font-size: inherit;
|
|
68
|
+
line-height: inherit;
|
|
69
|
+
}
|
|
70
|
+
|
|
56
71
|
.c12 {
|
|
57
72
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
58
73
|
font-weight: 700;
|
|
@@ -65,7 +80,17 @@ it('renders correctly', () => {
|
|
|
65
80
|
line-height: 1.5rem;
|
|
66
81
|
}
|
|
67
82
|
|
|
68
|
-
.
|
|
83
|
+
.c12 {
|
|
84
|
+
font-size: 1rem;
|
|
85
|
+
line-height: normal;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.c12 span {
|
|
89
|
+
font-size: inherit;
|
|
90
|
+
line-height: inherit;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.c16 {
|
|
69
94
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
70
95
|
font-weight: 400;
|
|
71
96
|
text-transform: inherit;
|
|
@@ -77,12 +102,34 @@ it('renders correctly', () => {
|
|
|
77
102
|
line-height: 1.25rem;
|
|
78
103
|
}
|
|
79
104
|
|
|
80
|
-
.
|
|
105
|
+
.c16 span {
|
|
106
|
+
font-size: inherit;
|
|
107
|
+
line-height: inherit;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.c23 {
|
|
111
|
+
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
112
|
+
font-weight: 400;
|
|
113
|
+
text-transform: inherit;
|
|
114
|
+
-webkit-letter-spacing: 0;
|
|
115
|
+
-moz-letter-spacing: 0;
|
|
116
|
+
-ms-letter-spacing: 0;
|
|
117
|
+
letter-spacing: 0;
|
|
118
|
+
font-size: 1rem;
|
|
119
|
+
line-height: 1.25rem;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.c23 {
|
|
81
123
|
font-size: 1rem;
|
|
82
124
|
line-height: normal;
|
|
83
125
|
font-weight: 500;
|
|
84
126
|
}
|
|
85
127
|
|
|
128
|
+
.c23 span {
|
|
129
|
+
font-size: inherit;
|
|
130
|
+
line-height: inherit;
|
|
131
|
+
}
|
|
132
|
+
|
|
86
133
|
.c1 {
|
|
87
134
|
display: block;
|
|
88
135
|
width: 100%;
|
|
@@ -110,7 +157,7 @@ it('renders correctly', () => {
|
|
|
110
157
|
color: #000000;
|
|
111
158
|
}
|
|
112
159
|
|
|
113
|
-
.
|
|
160
|
+
.c17 {
|
|
114
161
|
margin-bottom: 0.5rem;
|
|
115
162
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
116
163
|
font-weight: 400;
|
|
@@ -123,12 +170,12 @@ it('renders correctly', () => {
|
|
|
123
170
|
line-height: 1.25rem;
|
|
124
171
|
}
|
|
125
172
|
|
|
126
|
-
.
|
|
173
|
+
.c18 {
|
|
127
174
|
position: relative;
|
|
128
175
|
font-size: 1.25rem;
|
|
129
176
|
}
|
|
130
177
|
|
|
131
|
-
.
|
|
178
|
+
.c19 {
|
|
132
179
|
position: relative;
|
|
133
180
|
width: 100%;
|
|
134
181
|
display: -webkit-box;
|
|
@@ -145,7 +192,7 @@ it('renders correctly', () => {
|
|
|
145
192
|
align-items: center;
|
|
146
193
|
}
|
|
147
194
|
|
|
148
|
-
.
|
|
195
|
+
.c20 {
|
|
149
196
|
position: relative;
|
|
150
197
|
box-sizing: border-box;
|
|
151
198
|
width: 100%;
|
|
@@ -165,7 +212,7 @@ it('renders correctly', () => {
|
|
|
165
212
|
font-family: inherit;
|
|
166
213
|
}
|
|
167
214
|
|
|
168
|
-
.
|
|
215
|
+
.c20:focus {
|
|
169
216
|
border: 1px solid #666;
|
|
170
217
|
}
|
|
171
218
|
|
|
@@ -184,11 +231,11 @@ it('renders correctly', () => {
|
|
|
184
231
|
height: auto;
|
|
185
232
|
}
|
|
186
233
|
|
|
187
|
-
.
|
|
234
|
+
.c21 {
|
|
188
235
|
display: block;
|
|
189
236
|
}
|
|
190
237
|
|
|
191
|
-
.
|
|
238
|
+
.c21 input {
|
|
192
239
|
border: 2px solid #E1E2E3;
|
|
193
240
|
font-size: 1.5rem;
|
|
194
241
|
font-weight: 700;
|
|
@@ -305,7 +352,7 @@ it('renders correctly', () => {
|
|
|
305
352
|
border-color: #E52630;
|
|
306
353
|
}
|
|
307
354
|
|
|
308
|
-
.
|
|
355
|
+
.c22 {
|
|
309
356
|
display: -webkit-box;
|
|
310
357
|
display: -webkit-flex;
|
|
311
358
|
display: -ms-flexbox;
|
|
@@ -316,11 +363,11 @@ it('renders correctly', () => {
|
|
|
316
363
|
align-items: center;
|
|
317
364
|
}
|
|
318
365
|
|
|
319
|
-
.
|
|
366
|
+
.c24 {
|
|
320
367
|
margin-right: auto;
|
|
321
368
|
}
|
|
322
369
|
|
|
323
|
-
.
|
|
370
|
+
.c25 {
|
|
324
371
|
position: relative;
|
|
325
372
|
-webkit-flex: 0 0 50%;
|
|
326
373
|
-ms-flex: 0 0 50%;
|
|
@@ -329,7 +376,7 @@ it('renders correctly', () => {
|
|
|
329
376
|
display: block;
|
|
330
377
|
}
|
|
331
378
|
|
|
332
|
-
.
|
|
379
|
+
.c25 span {
|
|
333
380
|
position: absolute;
|
|
334
381
|
padding: 0px 15px;
|
|
335
382
|
font-size: 20px;
|
|
@@ -341,21 +388,21 @@ it('renders correctly', () => {
|
|
|
341
388
|
font-weight: 500;
|
|
342
389
|
}
|
|
343
390
|
|
|
344
|
-
.
|
|
391
|
+
.c25 input {
|
|
345
392
|
border: 2px solid #E1E2E3;
|
|
346
393
|
background: transparent;
|
|
347
394
|
padding: 0.5rem 1rem 0.5rem 2rem;
|
|
348
395
|
}
|
|
349
396
|
|
|
350
|
-
.
|
|
397
|
+
.c25 input:focus {
|
|
351
398
|
border: 2px solid #E52630;
|
|
352
399
|
}
|
|
353
400
|
|
|
354
|
-
.
|
|
401
|
+
.c27 {
|
|
355
402
|
line-height: 1.5;
|
|
356
403
|
}
|
|
357
404
|
|
|
358
|
-
.
|
|
405
|
+
.c26 {
|
|
359
406
|
width: 100%;
|
|
360
407
|
color: #FFFFFF;
|
|
361
408
|
font-size: 1rem;
|
|
@@ -367,9 +414,9 @@ it('renders correctly', () => {
|
|
|
367
414
|
border-radius: 100px;
|
|
368
415
|
}
|
|
369
416
|
|
|
370
|
-
.
|
|
371
|
-
.
|
|
372
|
-
.
|
|
417
|
+
.c26:active,
|
|
418
|
+
.c26:focus,
|
|
419
|
+
.c26:hover {
|
|
373
420
|
background-color: #961D35;
|
|
374
421
|
}
|
|
375
422
|
|
|
@@ -416,28 +463,42 @@ it('renders correctly', () => {
|
|
|
416
463
|
}
|
|
417
464
|
|
|
418
465
|
@media (min-width:740px) {
|
|
419
|
-
.
|
|
466
|
+
.c16 {
|
|
467
|
+
font-size: 1rem;
|
|
468
|
+
line-height: 1.25rem;
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
@media (min-width:1024px) {
|
|
473
|
+
.c16 {
|
|
474
|
+
font-size: 1.125rem;
|
|
475
|
+
line-height: 1.375rem;
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
@media (min-width:740px) {
|
|
480
|
+
.c23 {
|
|
420
481
|
font-size: 1rem;
|
|
421
482
|
line-height: 1.25rem;
|
|
422
483
|
}
|
|
423
484
|
}
|
|
424
485
|
|
|
425
486
|
@media (min-width:1024px) {
|
|
426
|
-
.
|
|
487
|
+
.c23 {
|
|
427
488
|
font-size: 1.125rem;
|
|
428
489
|
line-height: 1.375rem;
|
|
429
490
|
}
|
|
430
491
|
}
|
|
431
492
|
|
|
432
493
|
@media (min-width:740px) {
|
|
433
|
-
.
|
|
494
|
+
.c17 {
|
|
434
495
|
font-size: 1rem;
|
|
435
496
|
line-height: 1.25rem;
|
|
436
497
|
}
|
|
437
498
|
}
|
|
438
499
|
|
|
439
500
|
@media (min-width:1024px) {
|
|
440
|
-
.
|
|
501
|
+
.c17 {
|
|
441
502
|
font-size: 1rem;
|
|
442
503
|
line-height: 1.25rem;
|
|
443
504
|
}
|
|
@@ -494,7 +555,7 @@ it('renders correctly', () => {
|
|
|
494
555
|
}
|
|
495
556
|
|
|
496
557
|
@media (min-width:1024px) {
|
|
497
|
-
.
|
|
558
|
+
.c25 {
|
|
498
559
|
-webkit-flex: 0 0 60%;
|
|
499
560
|
-ms-flex: 0 0 60%;
|
|
500
561
|
flex: 0 0 60%;
|
|
@@ -502,7 +563,7 @@ it('renders correctly', () => {
|
|
|
502
563
|
}
|
|
503
564
|
|
|
504
565
|
@media (min-width:1024px) {
|
|
505
|
-
.
|
|
566
|
+
.c26 {
|
|
506
567
|
width: auto;
|
|
507
568
|
padding: 1rem 2rem;
|
|
508
569
|
margin: 0 auto 2rem;
|
|
@@ -542,6 +603,7 @@ it('renders correctly', () => {
|
|
|
542
603
|
<p
|
|
543
604
|
className="c7"
|
|
544
605
|
color="inherit"
|
|
606
|
+
size="s"
|
|
545
607
|
>
|
|
546
608
|
Jordan was close to suicide - which is now the biggest killer of men under 45 in the UK. Join now and help save lives.
|
|
547
609
|
</p>
|
|
@@ -562,6 +624,7 @@ it('renders correctly', () => {
|
|
|
562
624
|
<h3
|
|
563
625
|
className="c12"
|
|
564
626
|
color="inherit"
|
|
627
|
+
size="s"
|
|
565
628
|
>
|
|
566
629
|
Choose your monthly donation
|
|
567
630
|
</h3>
|
|
@@ -574,7 +637,7 @@ it('renders correctly', () => {
|
|
|
574
637
|
htmlFor="mship-1--moneyBuy-box1"
|
|
575
638
|
>
|
|
576
639
|
<span
|
|
577
|
-
className="
|
|
640
|
+
className="c16 c17"
|
|
578
641
|
color="inherit"
|
|
579
642
|
dangerouslySetInnerHTML={
|
|
580
643
|
Object {
|
|
@@ -583,16 +646,16 @@ it('renders correctly', () => {
|
|
|
583
646
|
}
|
|
584
647
|
/>
|
|
585
648
|
<div
|
|
586
|
-
className="
|
|
649
|
+
className="c18"
|
|
587
650
|
>
|
|
588
651
|
|
|
589
652
|
<div
|
|
590
|
-
className="
|
|
653
|
+
className="c19"
|
|
591
654
|
>
|
|
592
655
|
<input
|
|
593
656
|
aria-label="£5"
|
|
594
657
|
aria-required={false}
|
|
595
|
-
className="
|
|
658
|
+
className="c20"
|
|
596
659
|
id="mship-1--moneyBuy-box1"
|
|
597
660
|
name="mship-1--moneyBuy1"
|
|
598
661
|
onClick={[Function]}
|
|
@@ -607,11 +670,11 @@ it('renders correctly', () => {
|
|
|
607
670
|
|
|
608
671
|
</label>
|
|
609
672
|
<label
|
|
610
|
-
className="c14
|
|
673
|
+
className="c14 c21"
|
|
611
674
|
htmlFor="mship-1--moneyBuy-box2"
|
|
612
675
|
>
|
|
613
676
|
<span
|
|
614
|
-
className="
|
|
677
|
+
className="c16 c17"
|
|
615
678
|
color="inherit"
|
|
616
679
|
dangerouslySetInnerHTML={
|
|
617
680
|
Object {
|
|
@@ -620,16 +683,16 @@ it('renders correctly', () => {
|
|
|
620
683
|
}
|
|
621
684
|
/>
|
|
622
685
|
<div
|
|
623
|
-
className="
|
|
686
|
+
className="c18"
|
|
624
687
|
>
|
|
625
688
|
|
|
626
689
|
<div
|
|
627
|
-
className="
|
|
690
|
+
className="c19"
|
|
628
691
|
>
|
|
629
692
|
<input
|
|
630
693
|
aria-label="£10"
|
|
631
694
|
aria-required={false}
|
|
632
|
-
className="
|
|
695
|
+
className="c20"
|
|
633
696
|
id="mship-1--moneyBuy-box2"
|
|
634
697
|
name="mship-1--moneyBuy2"
|
|
635
698
|
onClick={[Function]}
|
|
@@ -648,7 +711,7 @@ it('renders correctly', () => {
|
|
|
648
711
|
htmlFor="mship-1--moneyBuy-box3"
|
|
649
712
|
>
|
|
650
713
|
<span
|
|
651
|
-
className="
|
|
714
|
+
className="c16 c17"
|
|
652
715
|
color="inherit"
|
|
653
716
|
dangerouslySetInnerHTML={
|
|
654
717
|
Object {
|
|
@@ -657,16 +720,16 @@ it('renders correctly', () => {
|
|
|
657
720
|
}
|
|
658
721
|
/>
|
|
659
722
|
<div
|
|
660
|
-
className="
|
|
723
|
+
className="c18"
|
|
661
724
|
>
|
|
662
725
|
|
|
663
726
|
<div
|
|
664
|
-
className="
|
|
727
|
+
className="c19"
|
|
665
728
|
>
|
|
666
729
|
<input
|
|
667
730
|
aria-label="£20"
|
|
668
731
|
aria-required={false}
|
|
669
|
-
className="
|
|
732
|
+
className="c20"
|
|
670
733
|
id="mship-1--moneyBuy-box3"
|
|
671
734
|
name="mship-1--moneyBuy3"
|
|
672
735
|
onClick={[Function]}
|
|
@@ -682,21 +745,21 @@ it('renders correctly', () => {
|
|
|
682
745
|
</label>
|
|
683
746
|
</div>
|
|
684
747
|
<div
|
|
685
|
-
className="
|
|
748
|
+
className="c22"
|
|
686
749
|
>
|
|
687
750
|
<span
|
|
688
|
-
className="
|
|
751
|
+
className="c23 c24"
|
|
689
752
|
color="inherit"
|
|
690
753
|
size="s"
|
|
691
754
|
>
|
|
692
755
|
Other amount
|
|
693
756
|
</span>
|
|
694
757
|
<label
|
|
695
|
-
className="c14
|
|
758
|
+
className="c14 c25"
|
|
696
759
|
htmlFor="mship-1--MoneyBuy-userInput"
|
|
697
760
|
>
|
|
698
761
|
<span
|
|
699
|
-
className="
|
|
762
|
+
className="c16 c17"
|
|
700
763
|
color="inherit"
|
|
701
764
|
dangerouslySetInnerHTML={
|
|
702
765
|
Object {
|
|
@@ -705,16 +768,16 @@ it('renders correctly', () => {
|
|
|
705
768
|
}
|
|
706
769
|
/>
|
|
707
770
|
<div
|
|
708
|
-
className="
|
|
771
|
+
className="c18"
|
|
709
772
|
>
|
|
710
773
|
|
|
711
774
|
<div
|
|
712
|
-
className="
|
|
775
|
+
className="c19"
|
|
713
776
|
>
|
|
714
777
|
<input
|
|
715
778
|
aria-label="Input a different amount"
|
|
716
779
|
aria-required={false}
|
|
717
|
-
className="
|
|
780
|
+
className="c20"
|
|
718
781
|
id="mship-1--MoneyBuy-userInput"
|
|
719
782
|
max="25000"
|
|
720
783
|
min="1"
|
|
@@ -736,12 +799,12 @@ it('renders correctly', () => {
|
|
|
736
799
|
</label>
|
|
737
800
|
</div>
|
|
738
801
|
<input
|
|
739
|
-
className="
|
|
802
|
+
className="c26"
|
|
740
803
|
type="submit"
|
|
741
804
|
value="Donate"
|
|
742
805
|
/>
|
|
743
806
|
<p
|
|
744
|
-
className="
|
|
807
|
+
className="c27"
|
|
745
808
|
/>
|
|
746
809
|
</fieldset>
|
|
747
810
|
</form>
|
|
@@ -109,9 +109,11 @@ const WYMDCarousel = _ref => {
|
|
|
109
109
|
tag: "h1",
|
|
110
110
|
family: "Anton",
|
|
111
111
|
uppercase: true,
|
|
112
|
-
weight: "normal"
|
|
112
|
+
weight: "normal",
|
|
113
|
+
size: "s"
|
|
113
114
|
}, theseItems[key].amount)), /*#__PURE__*/_react.default.createElement(_WYMDCarousel.CopyWrapper, null, /*#__PURE__*/_react.default.createElement(_Text.default, {
|
|
114
|
-
tag: "p"
|
|
115
|
+
tag: "p",
|
|
116
|
+
size: "s"
|
|
115
117
|
}, theseItems[key].copy))))
|
|
116
118
|
);
|
|
117
119
|
}), isMobile === false && /*#__PURE__*/_react.default.createElement(_pureReactCarousel.Slide, {
|
|
@@ -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
|
@@ -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>
|
|
@@ -26,9 +26,16 @@ it('renders correctly', () => {
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
.c2 {
|
|
29
|
+
font-size: 1rem;
|
|
30
|
+
line-height: normal;
|
|
29
31
|
font-weight: bold;
|
|
30
32
|
}
|
|
31
33
|
|
|
34
|
+
.c2 span {
|
|
35
|
+
font-size: inherit;
|
|
36
|
+
line-height: inherit;
|
|
37
|
+
}
|
|
38
|
+
|
|
32
39
|
.c0 {
|
|
33
40
|
display: -webkit-box;
|
|
34
41
|
display: -webkit-flex;
|
|
@@ -107,6 +114,7 @@ it('renders correctly', () => {
|
|
|
107
114
|
<span
|
|
108
115
|
className="c2"
|
|
109
116
|
color="inherit"
|
|
117
|
+
size="s"
|
|
110
118
|
>
|
|
111
119
|
Tennis
|
|
112
120
|
</span>
|
|
@@ -124,9 +132,16 @@ it('renders correctly', () => {
|
|
|
124
132
|
}
|
|
125
133
|
|
|
126
134
|
.c2 {
|
|
135
|
+
font-size: 1rem;
|
|
136
|
+
line-height: normal;
|
|
127
137
|
font-weight: bold;
|
|
128
138
|
}
|
|
129
139
|
|
|
140
|
+
.c2 span {
|
|
141
|
+
font-size: inherit;
|
|
142
|
+
line-height: inherit;
|
|
143
|
+
}
|
|
144
|
+
|
|
130
145
|
.c0 {
|
|
131
146
|
display: -webkit-box;
|
|
132
147
|
display: -webkit-flex;
|
|
@@ -205,6 +220,7 @@ it('renders correctly', () => {
|
|
|
205
220
|
<span
|
|
206
221
|
className="c2"
|
|
207
222
|
color="inherit"
|
|
223
|
+
size="s"
|
|
208
224
|
>
|
|
209
225
|
Handball
|
|
210
226
|
</span>
|
|
@@ -28,6 +28,11 @@ it('renders correctly', () => {
|
|
|
28
28
|
line-height: 1.25rem;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
+
.c1 span {
|
|
32
|
+
font-size: inherit;
|
|
33
|
+
line-height: inherit;
|
|
34
|
+
}
|
|
35
|
+
|
|
31
36
|
.c0 {
|
|
32
37
|
width: 100%;
|
|
33
38
|
position: relative;
|
|
@@ -199,6 +204,11 @@ it('renders with responsive max widths correctly', () => {
|
|
|
199
204
|
line-height: 1.25rem;
|
|
200
205
|
}
|
|
201
206
|
|
|
207
|
+
.c1 span {
|
|
208
|
+
font-size: inherit;
|
|
209
|
+
line-height: inherit;
|
|
210
|
+
}
|
|
211
|
+
|
|
202
212
|
.c0 {
|
|
203
213
|
width: 100%;
|
|
204
214
|
position: relative;
|
|
@@ -26,9 +26,16 @@ it('renders correctly', () => {
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
.c2 {
|
|
29
|
+
font-size: 1rem;
|
|
30
|
+
line-height: normal;
|
|
29
31
|
font-weight: bold;
|
|
30
32
|
}
|
|
31
33
|
|
|
34
|
+
.c2 span {
|
|
35
|
+
font-size: inherit;
|
|
36
|
+
line-height: inherit;
|
|
37
|
+
}
|
|
38
|
+
|
|
32
39
|
.c1 {
|
|
33
40
|
background-color: #FFFFFF;
|
|
34
41
|
z-index: 1;
|
|
@@ -116,6 +123,7 @@ it('renders correctly', () => {
|
|
|
116
123
|
<span
|
|
117
124
|
className="c2"
|
|
118
125
|
color="inherit"
|
|
126
|
+
size="s"
|
|
119
127
|
>
|
|
120
128
|
Male
|
|
121
129
|
</span>
|
|
@@ -133,9 +141,16 @@ it('renders correctly', () => {
|
|
|
133
141
|
}
|
|
134
142
|
|
|
135
143
|
.c2 {
|
|
144
|
+
font-size: 1rem;
|
|
145
|
+
line-height: normal;
|
|
136
146
|
font-weight: bold;
|
|
137
147
|
}
|
|
138
148
|
|
|
149
|
+
.c2 span {
|
|
150
|
+
font-size: inherit;
|
|
151
|
+
line-height: inherit;
|
|
152
|
+
}
|
|
153
|
+
|
|
139
154
|
.c1 {
|
|
140
155
|
background-color: #FFFFFF;
|
|
141
156
|
z-index: 1;
|
|
@@ -223,6 +238,7 @@ it('renders correctly', () => {
|
|
|
223
238
|
<span
|
|
224
239
|
className="c2"
|
|
225
240
|
color="inherit"
|
|
241
|
+
size="s"
|
|
226
242
|
>
|
|
227
243
|
Female
|
|
228
244
|
</span>
|