@comicrelief/component-library 8.77.6 → 8.78.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.
- package/dist/index.cjs.js +656 -596
- package/dist/index.es.js +10182 -10086
- package/package.json +1 -1
- package/src/components/Atoms/Button/Button.js +48 -6
- package/src/components/Atoms/Button/Button.style.js +46 -3
- package/src/components/Atoms/Button/Button.test.js +5 -2
- package/src/components/Atoms/Button/ButtonExample.jsx +263 -0
- package/src/components/Atoms/Icons/Cross.js +10 -3
- package/src/components/Atoms/Link/Link.style.js +2 -1
- package/src/components/Atoms/Link/Link.test.js +3 -1
- package/src/components/Molecules/ArticleTeaser/ArticleTeaser.test.js +28 -28
- package/src/components/Molecules/CTA/CTAMultiCard/__snapshots__/CTAMultiCard.test.js.snap +56 -56
- package/src/components/Molecules/CTA/CTASingleCard/__snapshots__/CTASingleCard.test.js.snap +14 -14
- package/src/components/Molecules/CardDs/__snapshots__/CardDs.test.js.snap +34 -30
- package/src/components/Molecules/EmailSignUp/EmailSignUp.style.js +2 -0
- package/src/components/Molecules/HeroBanner/__snapshots__/HeroBanner.test.js.snap +56 -56
- package/src/components/Molecules/PartnerLink/PartnerLink.test.js +14 -14
- package/src/components/Molecules/Promo/__snapshots__/Promo.test.js.snap +34 -30
- package/src/components/Molecules/QuoteSlice/__snapshots__/QuoteSlice.test.js.snap +3 -1
- package/src/components/Molecules/SearchResult/__snapshots__/SearchResult.test.js.snap +56 -56
- package/src/components/Molecules/SingleMessage/__snapshots__/SingleMessage.test.js.snap +62 -58
- package/src/components/Molecules/SingleMessageDS/__snapshots__/SingleMessageDs.test.js.snap +17 -15
- package/src/components/Organisms/CookieBanner/CookieBanner.test.js +3 -1
- package/src/components/Organisms/DonateBanner/DonateBanner.style.js +4 -1
- package/src/components/Organisms/DonateBanner/__snapshots__/DonateBanner.test.js.snap +12 -4
- package/src/components/Organisms/DynamicGallery/__snapshots__/DynamicGallery.test.js.snap +12 -4
- package/src/components/Organisms/EmailBanner/EmailBanner.style.js +0 -7
- package/src/components/Organisms/EmailBanner/__snapshots__/EmailBanner.test.js.snap +20 -36
- package/src/components/Organisms/EmailSignUp/__snapshots__/EmailSignUp.test.js.snap +5 -2
- package/src/components/Organisms/FooterNew/__snapshots__/FooterNew.test.js.snap +12 -4
- package/src/components/Organisms/MarketingPreferencesDS/_DefaultCopy.js +4 -4
- package/src/components/Organisms/Membership/Membership.test.js +14 -14
- package/src/data/data.js +6 -1
- package/src/theme/crTheme/buttonColors.js +21 -4
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`renders correctly in minimalist form 1`] = `
|
|
4
|
+
.c4 {
|
|
5
|
+
display: block;
|
|
6
|
+
width: 100%;
|
|
7
|
+
height: auto;
|
|
8
|
+
position: relative;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.c5 {
|
|
12
|
+
width: 100%;
|
|
13
|
+
height: auto;
|
|
14
|
+
display: block;
|
|
15
|
+
object-fit: cover;
|
|
16
|
+
}
|
|
17
|
+
|
|
4
18
|
.c7 {
|
|
5
19
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
6
20
|
font-weight: 400;
|
|
@@ -52,20 +66,6 @@ exports[`renders correctly in minimalist form 1`] = `
|
|
|
52
66
|
text-decoration: none;
|
|
53
67
|
}
|
|
54
68
|
|
|
55
|
-
.c4 {
|
|
56
|
-
display: block;
|
|
57
|
-
width: 100%;
|
|
58
|
-
height: auto;
|
|
59
|
-
position: relative;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.c5 {
|
|
63
|
-
width: 100%;
|
|
64
|
-
height: auto;
|
|
65
|
-
display: block;
|
|
66
|
-
object-fit: cover;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
69
|
.c0 {
|
|
70
70
|
width: 100%;
|
|
71
71
|
height: 100%;
|
|
@@ -194,6 +194,20 @@ exports[`renders correctly in minimalist form 1`] = `
|
|
|
194
194
|
`;
|
|
195
195
|
|
|
196
196
|
exports[`renders correctly with copy 1`] = `
|
|
197
|
+
.c4 {
|
|
198
|
+
display: block;
|
|
199
|
+
width: 100%;
|
|
200
|
+
height: auto;
|
|
201
|
+
position: relative;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.c5 {
|
|
205
|
+
width: 100%;
|
|
206
|
+
height: auto;
|
|
207
|
+
display: block;
|
|
208
|
+
object-fit: cover;
|
|
209
|
+
}
|
|
210
|
+
|
|
197
211
|
.c7 {
|
|
198
212
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
199
213
|
font-weight: 400;
|
|
@@ -264,20 +278,6 @@ exports[`renders correctly with copy 1`] = `
|
|
|
264
278
|
text-decoration: none;
|
|
265
279
|
}
|
|
266
280
|
|
|
267
|
-
.c4 {
|
|
268
|
-
display: block;
|
|
269
|
-
width: 100%;
|
|
270
|
-
height: auto;
|
|
271
|
-
position: relative;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
.c5 {
|
|
275
|
-
width: 100%;
|
|
276
|
-
height: auto;
|
|
277
|
-
display: block;
|
|
278
|
-
object-fit: cover;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
281
|
.c0 {
|
|
282
282
|
width: 100%;
|
|
283
283
|
height: 100%;
|
|
@@ -425,6 +425,20 @@ exports[`renders correctly with copy 1`] = `
|
|
|
425
425
|
`;
|
|
426
426
|
|
|
427
427
|
exports[`renders correctly with date 1`] = `
|
|
428
|
+
.c4 {
|
|
429
|
+
display: block;
|
|
430
|
+
width: 100%;
|
|
431
|
+
height: auto;
|
|
432
|
+
position: relative;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
.c5 {
|
|
436
|
+
width: 100%;
|
|
437
|
+
height: auto;
|
|
438
|
+
display: block;
|
|
439
|
+
object-fit: cover;
|
|
440
|
+
}
|
|
441
|
+
|
|
428
442
|
.c7 {
|
|
429
443
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
430
444
|
font-weight: 400;
|
|
@@ -476,20 +490,6 @@ exports[`renders correctly with date 1`] = `
|
|
|
476
490
|
text-decoration: none;
|
|
477
491
|
}
|
|
478
492
|
|
|
479
|
-
.c4 {
|
|
480
|
-
display: block;
|
|
481
|
-
width: 100%;
|
|
482
|
-
height: auto;
|
|
483
|
-
position: relative;
|
|
484
|
-
}
|
|
485
|
-
|
|
486
|
-
.c5 {
|
|
487
|
-
width: 100%;
|
|
488
|
-
height: auto;
|
|
489
|
-
display: block;
|
|
490
|
-
object-fit: cover;
|
|
491
|
-
}
|
|
492
|
-
|
|
493
493
|
.c0 {
|
|
494
494
|
width: 100%;
|
|
495
495
|
height: 100%;
|
|
@@ -618,6 +618,20 @@ exports[`renders correctly with date 1`] = `
|
|
|
618
618
|
`;
|
|
619
619
|
|
|
620
620
|
exports[`renders correctly with date and type 1`] = `
|
|
621
|
+
.c4 {
|
|
622
|
+
display: block;
|
|
623
|
+
width: 100%;
|
|
624
|
+
height: auto;
|
|
625
|
+
position: relative;
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
.c5 {
|
|
629
|
+
width: 100%;
|
|
630
|
+
height: auto;
|
|
631
|
+
display: block;
|
|
632
|
+
object-fit: cover;
|
|
633
|
+
}
|
|
634
|
+
|
|
621
635
|
.c7 {
|
|
622
636
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
623
637
|
font-weight: 400;
|
|
@@ -669,20 +683,6 @@ exports[`renders correctly with date and type 1`] = `
|
|
|
669
683
|
text-decoration: none;
|
|
670
684
|
}
|
|
671
685
|
|
|
672
|
-
.c4 {
|
|
673
|
-
display: block;
|
|
674
|
-
width: 100%;
|
|
675
|
-
height: auto;
|
|
676
|
-
position: relative;
|
|
677
|
-
}
|
|
678
|
-
|
|
679
|
-
.c5 {
|
|
680
|
-
width: 100%;
|
|
681
|
-
height: auto;
|
|
682
|
-
display: block;
|
|
683
|
-
object-fit: cover;
|
|
684
|
-
}
|
|
685
|
-
|
|
686
686
|
.c0 {
|
|
687
687
|
width: 100%;
|
|
688
688
|
height: 100%;
|
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`renders Single Message with 100% vertical height image correctly 1`] = `
|
|
4
|
+
.c3 {
|
|
5
|
+
display: block;
|
|
6
|
+
width: 100%;
|
|
7
|
+
height: 100%;
|
|
8
|
+
position: relative;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.c4 {
|
|
12
|
+
width: 100%;
|
|
13
|
+
height: 100%;
|
|
14
|
+
display: block;
|
|
15
|
+
object-fit: cover;
|
|
16
|
+
}
|
|
17
|
+
|
|
4
18
|
.c6 {
|
|
5
19
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
6
20
|
font-weight: 400;
|
|
@@ -21,20 +35,6 @@ exports[`renders Single Message with 100% vertical height image correctly 1`] =
|
|
|
21
35
|
line-height: inherit;
|
|
22
36
|
}
|
|
23
37
|
|
|
24
|
-
.c3 {
|
|
25
|
-
display: block;
|
|
26
|
-
width: 100%;
|
|
27
|
-
height: 100%;
|
|
28
|
-
position: relative;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.c4 {
|
|
32
|
-
width: 100%;
|
|
33
|
-
height: 100%;
|
|
34
|
-
display: block;
|
|
35
|
-
object-fit: cover;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
38
|
.c0 {
|
|
39
39
|
display: flex;
|
|
40
40
|
position: relative;
|
|
@@ -173,6 +173,20 @@ exports[`renders Single Message with 100% vertical height image correctly 1`] =
|
|
|
173
173
|
`;
|
|
174
174
|
|
|
175
175
|
exports[`renders Single Message with Image correctly 1`] = `
|
|
176
|
+
.c3 {
|
|
177
|
+
display: block;
|
|
178
|
+
width: 100%;
|
|
179
|
+
height: 100%;
|
|
180
|
+
position: relative;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.c4 {
|
|
184
|
+
width: 100%;
|
|
185
|
+
height: 100%;
|
|
186
|
+
display: block;
|
|
187
|
+
object-fit: cover;
|
|
188
|
+
}
|
|
189
|
+
|
|
176
190
|
.c6 {
|
|
177
191
|
font-family: 'Anton',Impact,sans-serif;
|
|
178
192
|
font-weight: 400;
|
|
@@ -218,7 +232,8 @@ exports[`renders Single Message with Image correctly 1`] = `
|
|
|
218
232
|
position: relative;
|
|
219
233
|
text-decoration: none;
|
|
220
234
|
transition: all 0.2s;
|
|
221
|
-
height:
|
|
235
|
+
height: auto;
|
|
236
|
+
min-height: 3rem;
|
|
222
237
|
width: 100%;
|
|
223
238
|
justify-content: center;
|
|
224
239
|
align-items: center;
|
|
@@ -241,6 +256,7 @@ exports[`renders Single Message with Image correctly 1`] = `
|
|
|
241
256
|
.c8:focus-within,
|
|
242
257
|
.c8:focus-visible {
|
|
243
258
|
background-color: #E1E2E3;
|
|
259
|
+
color: #000000;
|
|
244
260
|
outline-offset: 3px;
|
|
245
261
|
}
|
|
246
262
|
|
|
@@ -249,20 +265,6 @@ exports[`renders Single Message with Image correctly 1`] = `
|
|
|
249
265
|
opacity: 0.5;
|
|
250
266
|
}
|
|
251
267
|
|
|
252
|
-
.c3 {
|
|
253
|
-
display: block;
|
|
254
|
-
width: 100%;
|
|
255
|
-
height: 100%;
|
|
256
|
-
position: relative;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
.c4 {
|
|
260
|
-
width: 100%;
|
|
261
|
-
height: 100%;
|
|
262
|
-
display: block;
|
|
263
|
-
object-fit: cover;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
268
|
.c0 {
|
|
267
269
|
display: flex;
|
|
268
270
|
position: relative;
|
|
@@ -446,6 +448,20 @@ exports[`renders Single Message with Image correctly 1`] = `
|
|
|
446
448
|
`;
|
|
447
449
|
|
|
448
450
|
exports[`renders Single Message with double image correctly 1`] = `
|
|
451
|
+
.c3 {
|
|
452
|
+
display: block;
|
|
453
|
+
width: 100%;
|
|
454
|
+
height: 100%;
|
|
455
|
+
position: relative;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
.c4 {
|
|
459
|
+
width: 100%;
|
|
460
|
+
height: 100%;
|
|
461
|
+
display: block;
|
|
462
|
+
object-fit: cover;
|
|
463
|
+
}
|
|
464
|
+
|
|
449
465
|
.c6 {
|
|
450
466
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
451
467
|
font-weight: 400;
|
|
@@ -466,20 +482,6 @@ exports[`renders Single Message with double image correctly 1`] = `
|
|
|
466
482
|
line-height: inherit;
|
|
467
483
|
}
|
|
468
484
|
|
|
469
|
-
.c3 {
|
|
470
|
-
display: block;
|
|
471
|
-
width: 100%;
|
|
472
|
-
height: 100%;
|
|
473
|
-
position: relative;
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
.c4 {
|
|
477
|
-
width: 100%;
|
|
478
|
-
height: 100%;
|
|
479
|
-
display: block;
|
|
480
|
-
object-fit: cover;
|
|
481
|
-
}
|
|
482
|
-
|
|
483
485
|
.c0 {
|
|
484
486
|
display: flex;
|
|
485
487
|
position: relative;
|
|
@@ -633,6 +635,20 @@ exports[`renders Single Message with double image correctly 1`] = `
|
|
|
633
635
|
`;
|
|
634
636
|
|
|
635
637
|
exports[`renders Single Message with full width correctly 1`] = `
|
|
638
|
+
.c3 {
|
|
639
|
+
display: block;
|
|
640
|
+
width: 100%;
|
|
641
|
+
height: 100%;
|
|
642
|
+
position: relative;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
.c4 {
|
|
646
|
+
width: 100%;
|
|
647
|
+
height: 100%;
|
|
648
|
+
display: block;
|
|
649
|
+
object-fit: cover;
|
|
650
|
+
}
|
|
651
|
+
|
|
636
652
|
.c6 {
|
|
637
653
|
font-family: 'Anton',Impact,sans-serif;
|
|
638
654
|
font-weight: 400;
|
|
@@ -678,7 +694,8 @@ exports[`renders Single Message with full width correctly 1`] = `
|
|
|
678
694
|
position: relative;
|
|
679
695
|
text-decoration: none;
|
|
680
696
|
transition: all 0.2s;
|
|
681
|
-
height:
|
|
697
|
+
height: auto;
|
|
698
|
+
min-height: 3rem;
|
|
682
699
|
width: 100%;
|
|
683
700
|
justify-content: center;
|
|
684
701
|
align-items: center;
|
|
@@ -701,6 +718,7 @@ exports[`renders Single Message with full width correctly 1`] = `
|
|
|
701
718
|
.c8:focus-within,
|
|
702
719
|
.c8:focus-visible {
|
|
703
720
|
background-color: #E1E2E3;
|
|
721
|
+
color: #000000;
|
|
704
722
|
outline-offset: 3px;
|
|
705
723
|
}
|
|
706
724
|
|
|
@@ -709,20 +727,6 @@ exports[`renders Single Message with full width correctly 1`] = `
|
|
|
709
727
|
opacity: 0.5;
|
|
710
728
|
}
|
|
711
729
|
|
|
712
|
-
.c3 {
|
|
713
|
-
display: block;
|
|
714
|
-
width: 100%;
|
|
715
|
-
height: 100%;
|
|
716
|
-
position: relative;
|
|
717
|
-
}
|
|
718
|
-
|
|
719
|
-
.c4 {
|
|
720
|
-
width: 100%;
|
|
721
|
-
height: 100%;
|
|
722
|
-
display: block;
|
|
723
|
-
object-fit: cover;
|
|
724
|
-
}
|
|
725
|
-
|
|
726
730
|
.c0 {
|
|
727
731
|
display: flex;
|
|
728
732
|
position: relative;
|
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`renders correctly 1`] = `
|
|
4
|
+
.c3 {
|
|
5
|
+
display: block;
|
|
6
|
+
width: 100%;
|
|
7
|
+
height: auto;
|
|
8
|
+
position: relative;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.c4 {
|
|
12
|
+
width: 100%;
|
|
13
|
+
height: auto;
|
|
14
|
+
display: block;
|
|
15
|
+
object-fit: cover;
|
|
16
|
+
}
|
|
17
|
+
|
|
4
18
|
.c6 {
|
|
5
19
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
6
20
|
font-weight: 400;
|
|
@@ -54,7 +68,8 @@ exports[`renders correctly 1`] = `
|
|
|
54
68
|
position: relative;
|
|
55
69
|
text-decoration: none;
|
|
56
70
|
transition: all 0.2s;
|
|
57
|
-
height:
|
|
71
|
+
height: auto;
|
|
72
|
+
min-height: 3rem;
|
|
58
73
|
width: 100%;
|
|
59
74
|
justify-content: center;
|
|
60
75
|
align-items: center;
|
|
@@ -77,6 +92,7 @@ exports[`renders correctly 1`] = `
|
|
|
77
92
|
.c11:focus-within,
|
|
78
93
|
.c11:focus-visible {
|
|
79
94
|
background-color: #274084;
|
|
95
|
+
color: #FFFFFF;
|
|
80
96
|
outline-offset: 3px;
|
|
81
97
|
}
|
|
82
98
|
|
|
@@ -85,20 +101,6 @@ exports[`renders correctly 1`] = `
|
|
|
85
101
|
opacity: 0.5;
|
|
86
102
|
}
|
|
87
103
|
|
|
88
|
-
.c3 {
|
|
89
|
-
display: block;
|
|
90
|
-
width: 100%;
|
|
91
|
-
height: auto;
|
|
92
|
-
position: relative;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.c4 {
|
|
96
|
-
width: 100%;
|
|
97
|
-
height: auto;
|
|
98
|
-
display: block;
|
|
99
|
-
object-fit: cover;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
104
|
.c13 {
|
|
103
105
|
fill: #FFFFFF;
|
|
104
106
|
}
|
|
@@ -55,7 +55,8 @@ it('renders correctly', () => {
|
|
|
55
55
|
position: relative;
|
|
56
56
|
text-decoration: none;
|
|
57
57
|
transition: all 0.2s;
|
|
58
|
-
height:
|
|
58
|
+
height: auto;
|
|
59
|
+
min-height: 3rem;
|
|
59
60
|
width: 100%;
|
|
60
61
|
justify-content: center;
|
|
61
62
|
align-items: center;
|
|
@@ -78,6 +79,7 @@ it('renders correctly', () => {
|
|
|
78
79
|
.c5:focus-within,
|
|
79
80
|
.c5:focus-visible {
|
|
80
81
|
background-color: #E1E2E3;
|
|
82
|
+
color: #000000;
|
|
81
83
|
outline-offset: 3px;
|
|
82
84
|
}
|
|
83
85
|
|
|
@@ -180,8 +180,11 @@ const Button = styled.button`
|
|
|
180
180
|
color: ${({ theme }) => theme.color('white')};
|
|
181
181
|
font-size: ${({ theme }) => theme.fontSize('s')};
|
|
182
182
|
font-weight: bold;
|
|
183
|
-
|
|
183
|
+
height: auto;
|
|
184
|
+
min-height: 3rem;
|
|
184
185
|
cursor: pointer;
|
|
186
|
+
padding: 0.6rem 1rem;
|
|
187
|
+
|
|
185
188
|
background: ${({ theme, $color }) => theme.color($color)};
|
|
186
189
|
text-decoration: none;
|
|
187
190
|
border-radius: 0.5rem;
|
|
@@ -271,8 +271,10 @@ exports[`Monthly donation renders correctly 1`] = `
|
|
|
271
271
|
color: #FFFFFF;
|
|
272
272
|
font-size: 1rem;
|
|
273
273
|
font-weight: bold;
|
|
274
|
-
|
|
274
|
+
height: auto;
|
|
275
|
+
min-height: 3rem;
|
|
275
276
|
cursor: pointer;
|
|
277
|
+
padding: 0.6rem 1rem;
|
|
276
278
|
background: #E52630;
|
|
277
279
|
text-decoration: none;
|
|
278
280
|
border-radius: 0.5rem;
|
|
@@ -1055,8 +1057,10 @@ exports[`Single donation renders correctly 1`] = `
|
|
|
1055
1057
|
color: #FFFFFF;
|
|
1056
1058
|
font-size: 1rem;
|
|
1057
1059
|
font-weight: bold;
|
|
1058
|
-
|
|
1060
|
+
height: auto;
|
|
1061
|
+
min-height: 3rem;
|
|
1059
1062
|
cursor: pointer;
|
|
1063
|
+
padding: 0.6rem 1rem;
|
|
1060
1064
|
background: #E52630;
|
|
1061
1065
|
text-decoration: none;
|
|
1062
1066
|
border-radius: 0.5rem;
|
|
@@ -1706,8 +1710,10 @@ exports[`Single donation with no Money Buys renders correctly 1`] = `
|
|
|
1706
1710
|
color: #FFFFFF;
|
|
1707
1711
|
font-size: 1rem;
|
|
1708
1712
|
font-weight: bold;
|
|
1709
|
-
|
|
1713
|
+
height: auto;
|
|
1714
|
+
min-height: 3rem;
|
|
1710
1715
|
cursor: pointer;
|
|
1716
|
+
padding: 0.6rem 1rem;
|
|
1711
1717
|
background: #E52630;
|
|
1712
1718
|
text-decoration: none;
|
|
1713
1719
|
border-radius: 0.5rem;
|
|
@@ -2218,8 +2224,10 @@ exports[`Text-only donate widget renders correctly 1`] = `
|
|
|
2218
2224
|
color: #FFFFFF;
|
|
2219
2225
|
font-size: 1rem;
|
|
2220
2226
|
font-weight: bold;
|
|
2221
|
-
|
|
2227
|
+
height: auto;
|
|
2228
|
+
min-height: 3rem;
|
|
2222
2229
|
cursor: pointer;
|
|
2230
|
+
padding: 0.6rem 1rem;
|
|
2223
2231
|
background: #E52630;
|
|
2224
2232
|
text-decoration: none;
|
|
2225
2233
|
border-radius: 0.5rem;
|
|
@@ -261,6 +261,12 @@ exports[`handle a Dynamic Gallery with mocked gallery nodes 1`] = `
|
|
|
261
261
|
}
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
+
@media (min-width: 1024px) {
|
|
265
|
+
.c23 {
|
|
266
|
+
fill: #000000;
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
|
|
264
270
|
@media (min-width: 1024px) {
|
|
265
271
|
.c11 {
|
|
266
272
|
margin-top: 84px;
|
|
@@ -582,9 +588,7 @@ exports[`handle a Dynamic Gallery with mocked gallery nodes 1`] = `
|
|
|
582
588
|
</span>
|
|
583
589
|
<svg
|
|
584
590
|
className="c23"
|
|
585
|
-
colour="black"
|
|
586
591
|
height={16}
|
|
587
|
-
mobileColour={null}
|
|
588
592
|
viewBox="0 0 96 96"
|
|
589
593
|
width={16}
|
|
590
594
|
xmlns="http://www.w3.org/2000/svg"
|
|
@@ -797,6 +801,12 @@ exports[`renders an empty Dynamic Gallery with no options set 1`] = `
|
|
|
797
801
|
}
|
|
798
802
|
}
|
|
799
803
|
|
|
804
|
+
@media (min-width: 1024px) {
|
|
805
|
+
.c17 {
|
|
806
|
+
fill: #000000;
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
|
|
800
810
|
@media (min-width: 1024px) {
|
|
801
811
|
.c5 {
|
|
802
812
|
margin-top: 84px;
|
|
@@ -1001,9 +1011,7 @@ exports[`renders an empty Dynamic Gallery with no options set 1`] = `
|
|
|
1001
1011
|
</span>
|
|
1002
1012
|
<svg
|
|
1003
1013
|
className="c17"
|
|
1004
|
-
colour="black"
|
|
1005
1014
|
height={16}
|
|
1006
|
-
mobileColour={null}
|
|
1007
1015
|
viewBox="0 0 96 96"
|
|
1008
1016
|
width={16}
|
|
1009
1017
|
xmlns="http://www.w3.org/2000/svg"
|