@comicrelief/component-library 8.19.0 → 8.20.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/README.md +2 -2
- package/dist/components/Atoms/Input/Input.js +42 -30
- package/dist/components/Atoms/Input/Input.md +14 -0
- package/dist/components/Atoms/Input/input.test.js +13 -1
- package/dist/components/Atoms/TextInputWithDropdown/__snapshots__/TextInputWithDropdown.test.js.snap +145 -73
- package/dist/components/Molecules/SchoolLookup/__snapshots__/SchoolLookup.test.js.snap +44 -20
- package/dist/components/Molecules/SearchInput/SearchInput.test.js +1 -1
- package/dist/components/Molecules/Typeahead/__snapshots__/Typeahead.test.js.snap +44 -20
- package/dist/components/Organisms/Donate/__snapshots__/Donate.test.js.snap +290 -179
- package/dist/components/Organisms/EmailSignUp/__snapshots__/EmailSignUp.test.js.snap +90 -56
- package/dist/components/Organisms/Membership/Membership.test.js +1 -1
- package/package.json +1 -1
- package/src/components/Atoms/Input/Input.js +51 -34
- package/src/components/Atoms/Input/Input.md +14 -0
- package/src/components/Atoms/Input/input.test.js +173 -13
- package/src/components/Atoms/TextInputWithDropdown/__snapshots__/TextInputWithDropdown.test.js.snap +145 -73
- package/src/components/Molecules/SchoolLookup/__snapshots__/SchoolLookup.test.js.snap +44 -20
- package/src/components/Molecules/SearchInput/SearchInput.test.js +44 -20
- package/src/components/Molecules/Typeahead/__snapshots__/Typeahead.test.js.snap +44 -20
- package/src/components/Organisms/Donate/__snapshots__/Donate.test.js.snap +290 -179
- package/src/components/Organisms/EmailSignUp/__snapshots__/EmailSignUp.test.js.snap +90 -56
- package/src/components/Organisms/Membership/Membership.test.js +120 -81
|
@@ -59,7 +59,29 @@ exports[`"Single Giving, No Money Buys, with overridden manual input value" rend
|
|
|
59
59
|
font-weight: normal;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
+
.c22 {
|
|
63
|
+
position: relative;
|
|
64
|
+
font-size: 1.25rem;
|
|
65
|
+
}
|
|
66
|
+
|
|
62
67
|
.c23 {
|
|
68
|
+
position: relative;
|
|
69
|
+
width: 100%;
|
|
70
|
+
display: -webkit-box;
|
|
71
|
+
display: -webkit-flex;
|
|
72
|
+
display: -ms-flexbox;
|
|
73
|
+
display: flex;
|
|
74
|
+
-webkit-box-pack: end;
|
|
75
|
+
-webkit-justify-content: flex-end;
|
|
76
|
+
-ms-flex-pack: end;
|
|
77
|
+
justify-content: flex-end;
|
|
78
|
+
-webkit-align-items: center;
|
|
79
|
+
-webkit-box-align: center;
|
|
80
|
+
-ms-flex-align: center;
|
|
81
|
+
align-items: center;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.c24 {
|
|
63
85
|
position: relative;
|
|
64
86
|
box-sizing: border-box;
|
|
65
87
|
width: 100%;
|
|
@@ -79,15 +101,10 @@ exports[`"Single Giving, No Money Buys, with overridden manual input value" rend
|
|
|
79
101
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
80
102
|
}
|
|
81
103
|
|
|
82
|
-
.
|
|
104
|
+
.c24:focus {
|
|
83
105
|
border: 1px solid #666;
|
|
84
106
|
}
|
|
85
107
|
|
|
86
|
-
.c22 {
|
|
87
|
-
position: relative;
|
|
88
|
-
font-size: 1.25rem;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
108
|
.c0 {
|
|
92
109
|
position: relative;
|
|
93
110
|
display: -webkit-box;
|
|
@@ -238,12 +255,12 @@ exports[`"Single Giving, No Money Buys, with overridden manual input value" rend
|
|
|
238
255
|
border: 2px solid #969598;
|
|
239
256
|
}
|
|
240
257
|
|
|
241
|
-
.
|
|
258
|
+
.c25 {
|
|
242
259
|
line-height: 1.5;
|
|
243
260
|
margin-top: 2rem;
|
|
244
261
|
}
|
|
245
262
|
|
|
246
|
-
.
|
|
263
|
+
.c26 {
|
|
247
264
|
width: 100%;
|
|
248
265
|
margin: 2rem 0 2rem;
|
|
249
266
|
color: #FFFFFF;
|
|
@@ -262,9 +279,9 @@ exports[`"Single Giving, No Money Buys, with overridden manual input value" rend
|
|
|
262
279
|
appearance: none;
|
|
263
280
|
}
|
|
264
281
|
|
|
265
|
-
.
|
|
266
|
-
.
|
|
267
|
-
.
|
|
282
|
+
.c26:active,
|
|
283
|
+
.c26:focus,
|
|
284
|
+
.c26:hover {
|
|
268
285
|
outline: none;
|
|
269
286
|
background-color: #961D35;
|
|
270
287
|
}
|
|
@@ -415,9 +432,11 @@ exports[`"Single Giving, No Money Buys, with overridden manual input value" rend
|
|
|
415
432
|
}
|
|
416
433
|
|
|
417
434
|
@media (min-width:740px) {
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
435
|
+
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
@media (min-width:1024px) {
|
|
439
|
+
|
|
421
440
|
}
|
|
422
441
|
|
|
423
442
|
@media (min-width:1024px) {
|
|
@@ -497,7 +516,7 @@ exports[`"Single Giving, No Money Buys, with overridden manual input value" rend
|
|
|
497
516
|
}
|
|
498
517
|
|
|
499
518
|
@media (min-width:740px) {
|
|
500
|
-
.
|
|
519
|
+
.c26 {
|
|
501
520
|
padding: 1rem 2rem;
|
|
502
521
|
}
|
|
503
522
|
}
|
|
@@ -625,28 +644,33 @@ exports[`"Single Giving, No Money Buys, with overridden manual input value" rend
|
|
|
625
644
|
className="c22"
|
|
626
645
|
>
|
|
627
646
|
|
|
628
|
-
<
|
|
629
|
-
aria-describedby="mship-4--MoneyBuy-userInput"
|
|
630
|
-
aria-label="Input a different amount"
|
|
647
|
+
<div
|
|
631
648
|
className="c23"
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
649
|
+
>
|
|
650
|
+
<input
|
|
651
|
+
aria-describedby="mship-4--MoneyBuy-userInput"
|
|
652
|
+
aria-label="Input a different amount"
|
|
653
|
+
className="c24"
|
|
654
|
+
id="mship-4--MoneyBuy-userInput"
|
|
655
|
+
max="25000"
|
|
656
|
+
min="1"
|
|
657
|
+
name="membership_amount"
|
|
658
|
+
onChange={[Function]}
|
|
659
|
+
pattern="[^[0-9]+([,.][0-9]+)?$]"
|
|
660
|
+
placeholder="0.00"
|
|
661
|
+
required={false}
|
|
662
|
+
step="0.01"
|
|
663
|
+
type="string"
|
|
664
|
+
value={345.67}
|
|
665
|
+
/>
|
|
666
|
+
|
|
667
|
+
</div>
|
|
644
668
|
</div>
|
|
645
669
|
|
|
646
670
|
</label>
|
|
647
671
|
</div>
|
|
648
672
|
<p
|
|
649
|
-
className="
|
|
673
|
+
className="c25"
|
|
650
674
|
>
|
|
651
675
|
<strong>
|
|
652
676
|
£345.67
|
|
@@ -654,7 +678,7 @@ exports[`"Single Giving, No Money Buys, with overridden manual input value" rend
|
|
|
654
678
|
will help us fund amazing projects in the UK and around the world.
|
|
655
679
|
</p>
|
|
656
680
|
<button
|
|
657
|
-
className="
|
|
681
|
+
className="c26"
|
|
658
682
|
color="red"
|
|
659
683
|
type="submit"
|
|
660
684
|
>
|
|
@@ -735,7 +759,29 @@ exports[`Monthly donation renders correctly 1`] = `
|
|
|
735
759
|
font-weight: normal;
|
|
736
760
|
}
|
|
737
761
|
|
|
762
|
+
.c23 {
|
|
763
|
+
position: relative;
|
|
764
|
+
font-size: 1.25rem;
|
|
765
|
+
}
|
|
766
|
+
|
|
738
767
|
.c24 {
|
|
768
|
+
position: relative;
|
|
769
|
+
width: 100%;
|
|
770
|
+
display: -webkit-box;
|
|
771
|
+
display: -webkit-flex;
|
|
772
|
+
display: -ms-flexbox;
|
|
773
|
+
display: flex;
|
|
774
|
+
-webkit-box-pack: end;
|
|
775
|
+
-webkit-justify-content: flex-end;
|
|
776
|
+
-ms-flex-pack: end;
|
|
777
|
+
justify-content: flex-end;
|
|
778
|
+
-webkit-align-items: center;
|
|
779
|
+
-webkit-box-align: center;
|
|
780
|
+
-ms-flex-align: center;
|
|
781
|
+
align-items: center;
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
.c25 {
|
|
739
785
|
position: relative;
|
|
740
786
|
box-sizing: border-box;
|
|
741
787
|
width: 100%;
|
|
@@ -755,15 +801,10 @@ exports[`Monthly donation renders correctly 1`] = `
|
|
|
755
801
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
756
802
|
}
|
|
757
803
|
|
|
758
|
-
.
|
|
804
|
+
.c25:focus {
|
|
759
805
|
border: 1px solid #666;
|
|
760
806
|
}
|
|
761
807
|
|
|
762
|
-
.c23 {
|
|
763
|
-
position: relative;
|
|
764
|
-
font-size: 1.25rem;
|
|
765
|
-
}
|
|
766
|
-
|
|
767
808
|
.c0 {
|
|
768
809
|
position: relative;
|
|
769
810
|
display: -webkit-box;
|
|
@@ -918,12 +959,12 @@ exports[`Monthly donation renders correctly 1`] = `
|
|
|
918
959
|
border: 2px solid #969598;
|
|
919
960
|
}
|
|
920
961
|
|
|
921
|
-
.
|
|
962
|
+
.c26 {
|
|
922
963
|
line-height: 1.5;
|
|
923
964
|
margin-top: 2rem;
|
|
924
965
|
}
|
|
925
966
|
|
|
926
|
-
.
|
|
967
|
+
.c27 {
|
|
927
968
|
width: 100%;
|
|
928
969
|
margin: 2rem 0 2rem;
|
|
929
970
|
color: #FFFFFF;
|
|
@@ -942,9 +983,9 @@ exports[`Monthly donation renders correctly 1`] = `
|
|
|
942
983
|
appearance: none;
|
|
943
984
|
}
|
|
944
985
|
|
|
945
|
-
.
|
|
946
|
-
.
|
|
947
|
-
.
|
|
986
|
+
.c27:active,
|
|
987
|
+
.c27:focus,
|
|
988
|
+
.c27:hover {
|
|
948
989
|
outline: none;
|
|
949
990
|
background-color: #961D35;
|
|
950
991
|
}
|
|
@@ -1056,9 +1097,11 @@ exports[`Monthly donation renders correctly 1`] = `
|
|
|
1056
1097
|
}
|
|
1057
1098
|
|
|
1058
1099
|
@media (min-width:740px) {
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1100
|
+
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
@media (min-width:1024px) {
|
|
1104
|
+
|
|
1062
1105
|
}
|
|
1063
1106
|
|
|
1064
1107
|
@media (min-width:1024px) {
|
|
@@ -1134,7 +1177,7 @@ exports[`Monthly donation renders correctly 1`] = `
|
|
|
1134
1177
|
}
|
|
1135
1178
|
|
|
1136
1179
|
@media (min-width:740px) {
|
|
1137
|
-
.
|
|
1180
|
+
.c27 {
|
|
1138
1181
|
padding: 1rem 2rem;
|
|
1139
1182
|
}
|
|
1140
1183
|
}
|
|
@@ -1269,35 +1312,40 @@ exports[`Monthly donation renders correctly 1`] = `
|
|
|
1269
1312
|
className="c23"
|
|
1270
1313
|
>
|
|
1271
1314
|
|
|
1272
|
-
<
|
|
1273
|
-
aria-describedby="mship-1--MoneyBuy-userInput"
|
|
1274
|
-
aria-label="Input a different amount"
|
|
1315
|
+
<div
|
|
1275
1316
|
className="c24"
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1317
|
+
>
|
|
1318
|
+
<input
|
|
1319
|
+
aria-describedby="mship-1--MoneyBuy-userInput"
|
|
1320
|
+
aria-label="Input a different amount"
|
|
1321
|
+
className="c25"
|
|
1322
|
+
id="mship-1--MoneyBuy-userInput"
|
|
1323
|
+
max="25000"
|
|
1324
|
+
min="1"
|
|
1325
|
+
name="membership_amount"
|
|
1326
|
+
onChange={[Function]}
|
|
1327
|
+
pattern="[^[0-9]+([,.][0-9]+)?$]"
|
|
1328
|
+
placeholder="0.00"
|
|
1329
|
+
required={false}
|
|
1330
|
+
step="0.01"
|
|
1331
|
+
type="string"
|
|
1332
|
+
value={10}
|
|
1333
|
+
/>
|
|
1334
|
+
|
|
1335
|
+
</div>
|
|
1288
1336
|
</div>
|
|
1289
1337
|
|
|
1290
1338
|
</label>
|
|
1291
1339
|
</div>
|
|
1292
1340
|
<p
|
|
1293
|
-
className="
|
|
1341
|
+
className="c26"
|
|
1294
1342
|
>
|
|
1295
1343
|
<strong>
|
|
1296
1344
|
£10
|
|
1297
1345
|
</strong>
|
|
1298
1346
|
</p>
|
|
1299
1347
|
<button
|
|
1300
|
-
className="
|
|
1348
|
+
className="c27"
|
|
1301
1349
|
color="red"
|
|
1302
1350
|
type="submit"
|
|
1303
1351
|
>
|
|
@@ -1343,7 +1391,7 @@ exports[`Single donation renders correctly 1`] = `
|
|
|
1343
1391
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
1344
1392
|
}
|
|
1345
1393
|
|
|
1346
|
-
.
|
|
1394
|
+
.c21 {
|
|
1347
1395
|
font-size: 1rem;
|
|
1348
1396
|
line-height: 1rem;
|
|
1349
1397
|
text-transform: inherit;
|
|
@@ -1378,7 +1426,29 @@ exports[`Single donation renders correctly 1`] = `
|
|
|
1378
1426
|
font-weight: normal;
|
|
1379
1427
|
}
|
|
1380
1428
|
|
|
1429
|
+
.c16 {
|
|
1430
|
+
position: relative;
|
|
1431
|
+
font-size: 1.25rem;
|
|
1432
|
+
}
|
|
1433
|
+
|
|
1381
1434
|
.c17 {
|
|
1435
|
+
position: relative;
|
|
1436
|
+
width: 100%;
|
|
1437
|
+
display: -webkit-box;
|
|
1438
|
+
display: -webkit-flex;
|
|
1439
|
+
display: -ms-flexbox;
|
|
1440
|
+
display: flex;
|
|
1441
|
+
-webkit-box-pack: end;
|
|
1442
|
+
-webkit-justify-content: flex-end;
|
|
1443
|
+
-ms-flex-pack: end;
|
|
1444
|
+
justify-content: flex-end;
|
|
1445
|
+
-webkit-align-items: center;
|
|
1446
|
+
-webkit-box-align: center;
|
|
1447
|
+
-ms-flex-align: center;
|
|
1448
|
+
align-items: center;
|
|
1449
|
+
}
|
|
1450
|
+
|
|
1451
|
+
.c18 {
|
|
1382
1452
|
position: relative;
|
|
1383
1453
|
box-sizing: border-box;
|
|
1384
1454
|
width: 100%;
|
|
@@ -1398,15 +1468,10 @@ exports[`Single donation renders correctly 1`] = `
|
|
|
1398
1468
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
1399
1469
|
}
|
|
1400
1470
|
|
|
1401
|
-
.
|
|
1471
|
+
.c18:focus {
|
|
1402
1472
|
border: 1px solid #666;
|
|
1403
1473
|
}
|
|
1404
1474
|
|
|
1405
|
-
.c16 {
|
|
1406
|
-
position: relative;
|
|
1407
|
-
font-size: 1.25rem;
|
|
1408
|
-
}
|
|
1409
|
-
|
|
1410
1475
|
.c13 {
|
|
1411
1476
|
display: block;
|
|
1412
1477
|
}
|
|
@@ -1433,11 +1498,11 @@ exports[`Single donation renders correctly 1`] = `
|
|
|
1433
1498
|
box-shadow: 0px 0px 16px rgba(0,0,0,0.3);
|
|
1434
1499
|
}
|
|
1435
1500
|
|
|
1436
|
-
.
|
|
1501
|
+
.c19 {
|
|
1437
1502
|
display: block;
|
|
1438
1503
|
}
|
|
1439
1504
|
|
|
1440
|
-
.
|
|
1505
|
+
.c19 input {
|
|
1441
1506
|
border: none;
|
|
1442
1507
|
background-color: #BECCF9;
|
|
1443
1508
|
color: #000000;
|
|
@@ -1452,17 +1517,17 @@ exports[`Single donation renders correctly 1`] = `
|
|
|
1452
1517
|
color: #FFFFFF;
|
|
1453
1518
|
}
|
|
1454
1519
|
|
|
1455
|
-
.
|
|
1520
|
+
.c19 input:focus {
|
|
1456
1521
|
border: none;
|
|
1457
1522
|
outline: none;
|
|
1458
1523
|
box-shadow: inset 0 0 0 4px #2042AD;
|
|
1459
1524
|
}
|
|
1460
1525
|
|
|
1461
|
-
.
|
|
1526
|
+
.c19 input:active:focus {
|
|
1462
1527
|
box-shadow: 0px 0px 16px rgba(0,0,0,0.3);
|
|
1463
1528
|
}
|
|
1464
1529
|
|
|
1465
|
-
.
|
|
1530
|
+
.c19 input:focus {
|
|
1466
1531
|
box-shadow: 0px 0px 16px rgba(0,0,0,0.3);
|
|
1467
1532
|
}
|
|
1468
1533
|
|
|
@@ -1586,7 +1651,7 @@ exports[`Single donation renders correctly 1`] = `
|
|
|
1586
1651
|
padding: 1.5rem 0.5rem;
|
|
1587
1652
|
}
|
|
1588
1653
|
|
|
1589
|
-
.
|
|
1654
|
+
.c20 {
|
|
1590
1655
|
display: -webkit-box;
|
|
1591
1656
|
display: -webkit-flex;
|
|
1592
1657
|
display: -ms-flexbox;
|
|
@@ -1601,11 +1666,11 @@ exports[`Single donation renders correctly 1`] = `
|
|
|
1601
1666
|
justify-content: center;
|
|
1602
1667
|
}
|
|
1603
1668
|
|
|
1604
|
-
.
|
|
1669
|
+
.c22 {
|
|
1605
1670
|
margin-right: 0.5rem;
|
|
1606
1671
|
}
|
|
1607
1672
|
|
|
1608
|
-
.
|
|
1673
|
+
.c23 {
|
|
1609
1674
|
position: relative;
|
|
1610
1675
|
-webkit-flex-basis: 50%;
|
|
1611
1676
|
-ms-flex-preferred-size: 50%;
|
|
@@ -1621,7 +1686,7 @@ exports[`Single donation renders correctly 1`] = `
|
|
|
1621
1686
|
display: block;
|
|
1622
1687
|
}
|
|
1623
1688
|
|
|
1624
|
-
.
|
|
1689
|
+
.c23 span {
|
|
1625
1690
|
position: absolute;
|
|
1626
1691
|
font-size: 20px;
|
|
1627
1692
|
top: 50%;
|
|
@@ -1634,7 +1699,7 @@ exports[`Single donation renders correctly 1`] = `
|
|
|
1634
1699
|
z-index: 3;
|
|
1635
1700
|
}
|
|
1636
1701
|
|
|
1637
|
-
.
|
|
1702
|
+
.c23 input {
|
|
1638
1703
|
height: 48px;
|
|
1639
1704
|
border: 2px solid #969598;
|
|
1640
1705
|
background: #F4F3F5;
|
|
@@ -1642,17 +1707,17 @@ exports[`Single donation renders correctly 1`] = `
|
|
|
1642
1707
|
padding: 0.5rem 1rem 0.5rem 2rem;
|
|
1643
1708
|
}
|
|
1644
1709
|
|
|
1645
|
-
.
|
|
1710
|
+
.c23 input:focus {
|
|
1646
1711
|
outline: none;
|
|
1647
1712
|
border: 2px solid #969598;
|
|
1648
1713
|
}
|
|
1649
1714
|
|
|
1650
|
-
.
|
|
1715
|
+
.c24 {
|
|
1651
1716
|
line-height: 1.5;
|
|
1652
1717
|
margin-top: 2rem;
|
|
1653
1718
|
}
|
|
1654
1719
|
|
|
1655
|
-
.
|
|
1720
|
+
.c25 {
|
|
1656
1721
|
width: 100%;
|
|
1657
1722
|
margin: 2rem 0 2rem;
|
|
1658
1723
|
color: #FFFFFF;
|
|
@@ -1671,9 +1736,9 @@ exports[`Single donation renders correctly 1`] = `
|
|
|
1671
1736
|
appearance: none;
|
|
1672
1737
|
}
|
|
1673
1738
|
|
|
1674
|
-
.
|
|
1675
|
-
.
|
|
1676
|
-
.
|
|
1739
|
+
.c25:active,
|
|
1740
|
+
.c25:focus,
|
|
1741
|
+
.c25:hover {
|
|
1677
1742
|
outline: none;
|
|
1678
1743
|
background-color: #961D35;
|
|
1679
1744
|
}
|
|
@@ -1685,9 +1750,11 @@ exports[`Single donation renders correctly 1`] = `
|
|
|
1685
1750
|
}
|
|
1686
1751
|
|
|
1687
1752
|
@media (min-width:740px) {
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1753
|
+
|
|
1754
|
+
}
|
|
1755
|
+
|
|
1756
|
+
@media (min-width:1024px) {
|
|
1757
|
+
|
|
1691
1758
|
}
|
|
1692
1759
|
|
|
1693
1760
|
@media (min-width:740px) {
|
|
@@ -1698,7 +1765,7 @@ exports[`Single donation renders correctly 1`] = `
|
|
|
1698
1765
|
}
|
|
1699
1766
|
|
|
1700
1767
|
@media (min-width:740px) {
|
|
1701
|
-
.
|
|
1768
|
+
.c19 input {
|
|
1702
1769
|
font-size: 2rem;
|
|
1703
1770
|
padding: 1.5rem;
|
|
1704
1771
|
}
|
|
@@ -1791,7 +1858,7 @@ exports[`Single donation renders correctly 1`] = `
|
|
|
1791
1858
|
}
|
|
1792
1859
|
|
|
1793
1860
|
@media (min-width:740px) {
|
|
1794
|
-
.
|
|
1861
|
+
.c23 {
|
|
1795
1862
|
-webkit-flex-basis: 60%;
|
|
1796
1863
|
-ms-flex-preferred-size: 60%;
|
|
1797
1864
|
flex-basis: 60%;
|
|
@@ -1799,7 +1866,7 @@ exports[`Single donation renders correctly 1`] = `
|
|
|
1799
1866
|
}
|
|
1800
1867
|
|
|
1801
1868
|
@media (min-width:740px) {
|
|
1802
|
-
.
|
|
1869
|
+
.c25 {
|
|
1803
1870
|
padding: 1rem 2rem;
|
|
1804
1871
|
}
|
|
1805
1872
|
}
|
|
@@ -1881,23 +1948,28 @@ exports[`Single donation renders correctly 1`] = `
|
|
|
1881
1948
|
className="c16"
|
|
1882
1949
|
>
|
|
1883
1950
|
|
|
1884
|
-
<
|
|
1885
|
-
aria-describedby="mship-1--moneyBuy-box1"
|
|
1886
|
-
aria-label="£10"
|
|
1951
|
+
<div
|
|
1887
1952
|
className="c17"
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1953
|
+
>
|
|
1954
|
+
<input
|
|
1955
|
+
aria-describedby="mship-1--moneyBuy-box1"
|
|
1956
|
+
aria-label="£10"
|
|
1957
|
+
className="c18"
|
|
1958
|
+
id="mship-1--moneyBuy-box1"
|
|
1959
|
+
name="mship-1--moneyBuy1"
|
|
1960
|
+
onClick={[Function]}
|
|
1961
|
+
placeholder=""
|
|
1962
|
+
required={false}
|
|
1963
|
+
type="button"
|
|
1964
|
+
value="£ 10"
|
|
1965
|
+
/>
|
|
1966
|
+
|
|
1967
|
+
</div>
|
|
1896
1968
|
</div>
|
|
1897
1969
|
|
|
1898
1970
|
</label>
|
|
1899
1971
|
<label
|
|
1900
|
-
className="c12
|
|
1972
|
+
className="c12 c19"
|
|
1901
1973
|
htmlFor="mship-1--moneyBuy-box2"
|
|
1902
1974
|
>
|
|
1903
1975
|
<span
|
|
@@ -1914,18 +1986,23 @@ exports[`Single donation renders correctly 1`] = `
|
|
|
1914
1986
|
className="c16"
|
|
1915
1987
|
>
|
|
1916
1988
|
|
|
1917
|
-
<
|
|
1918
|
-
aria-describedby="mship-1--moneyBuy-box2"
|
|
1919
|
-
aria-label="£20"
|
|
1989
|
+
<div
|
|
1920
1990
|
className="c17"
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1991
|
+
>
|
|
1992
|
+
<input
|
|
1993
|
+
aria-describedby="mship-1--moneyBuy-box2"
|
|
1994
|
+
aria-label="£20"
|
|
1995
|
+
className="c18"
|
|
1996
|
+
id="mship-1--moneyBuy-box2"
|
|
1997
|
+
name="mship-1--moneyBuy2"
|
|
1998
|
+
onClick={[Function]}
|
|
1999
|
+
placeholder=""
|
|
2000
|
+
required={false}
|
|
2001
|
+
type="button"
|
|
2002
|
+
value="£ 20"
|
|
2003
|
+
/>
|
|
2004
|
+
|
|
2005
|
+
</div>
|
|
1929
2006
|
</div>
|
|
1930
2007
|
|
|
1931
2008
|
</label>
|
|
@@ -1947,34 +2024,39 @@ exports[`Single donation renders correctly 1`] = `
|
|
|
1947
2024
|
className="c16"
|
|
1948
2025
|
>
|
|
1949
2026
|
|
|
1950
|
-
<
|
|
1951
|
-
aria-describedby="mship-1--moneyBuy-box3"
|
|
1952
|
-
aria-label="£30"
|
|
2027
|
+
<div
|
|
1953
2028
|
className="c17"
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
2029
|
+
>
|
|
2030
|
+
<input
|
|
2031
|
+
aria-describedby="mship-1--moneyBuy-box3"
|
|
2032
|
+
aria-label="£30"
|
|
2033
|
+
className="c18"
|
|
2034
|
+
id="mship-1--moneyBuy-box3"
|
|
2035
|
+
name="mship-1--moneyBuy3"
|
|
2036
|
+
onClick={[Function]}
|
|
2037
|
+
placeholder=""
|
|
2038
|
+
required={false}
|
|
2039
|
+
type="button"
|
|
2040
|
+
value="£ 30"
|
|
2041
|
+
/>
|
|
2042
|
+
|
|
2043
|
+
</div>
|
|
1962
2044
|
</div>
|
|
1963
2045
|
|
|
1964
2046
|
</label>
|
|
1965
2047
|
</div>
|
|
1966
2048
|
<div
|
|
1967
|
-
className="
|
|
2049
|
+
className="c20"
|
|
1968
2050
|
>
|
|
1969
2051
|
<span
|
|
1970
|
-
className="
|
|
2052
|
+
className="c21 c22"
|
|
1971
2053
|
color="inherit"
|
|
1972
2054
|
size="s"
|
|
1973
2055
|
>
|
|
1974
2056
|
Other amount
|
|
1975
2057
|
</span>
|
|
1976
2058
|
<label
|
|
1977
|
-
className="c12
|
|
2059
|
+
className="c12 c23"
|
|
1978
2060
|
htmlFor="mship-1--MoneyBuy-userInput"
|
|
1979
2061
|
>
|
|
1980
2062
|
<span
|
|
@@ -1991,28 +2073,33 @@ exports[`Single donation renders correctly 1`] = `
|
|
|
1991
2073
|
className="c16"
|
|
1992
2074
|
>
|
|
1993
2075
|
|
|
1994
|
-
<
|
|
1995
|
-
aria-describedby="mship-1--MoneyBuy-userInput"
|
|
1996
|
-
aria-label="Input a different amount"
|
|
2076
|
+
<div
|
|
1997
2077
|
className="c17"
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2078
|
+
>
|
|
2079
|
+
<input
|
|
2080
|
+
aria-describedby="mship-1--MoneyBuy-userInput"
|
|
2081
|
+
aria-label="Input a different amount"
|
|
2082
|
+
className="c18"
|
|
2083
|
+
id="mship-1--MoneyBuy-userInput"
|
|
2084
|
+
max="25000"
|
|
2085
|
+
min="1"
|
|
2086
|
+
name="membership_amount"
|
|
2087
|
+
onChange={[Function]}
|
|
2088
|
+
pattern="[^[0-9]+([,.][0-9]+)?$]"
|
|
2089
|
+
placeholder="0.00"
|
|
2090
|
+
required={false}
|
|
2091
|
+
step="0.01"
|
|
2092
|
+
type="string"
|
|
2093
|
+
value={20}
|
|
2094
|
+
/>
|
|
2095
|
+
|
|
2096
|
+
</div>
|
|
2010
2097
|
</div>
|
|
2011
2098
|
|
|
2012
2099
|
</label>
|
|
2013
2100
|
</div>
|
|
2014
2101
|
<p
|
|
2015
|
-
className="
|
|
2102
|
+
className="c24"
|
|
2016
2103
|
>
|
|
2017
2104
|
<strong>
|
|
2018
2105
|
£20
|
|
@@ -2020,7 +2107,7 @@ exports[`Single donation renders correctly 1`] = `
|
|
|
2020
2107
|
a support worker to visit 10 isolated young mums with postnatal depression in the UK.
|
|
2021
2108
|
</p>
|
|
2022
2109
|
<button
|
|
2023
|
-
className="
|
|
2110
|
+
className="c25"
|
|
2024
2111
|
color="red"
|
|
2025
2112
|
type="submit"
|
|
2026
2113
|
>
|
|
@@ -2092,7 +2179,29 @@ exports[`Single donation with no Money Buys renders correctly 1`] = `
|
|
|
2092
2179
|
font-weight: normal;
|
|
2093
2180
|
}
|
|
2094
2181
|
|
|
2182
|
+
.c16 {
|
|
2183
|
+
position: relative;
|
|
2184
|
+
font-size: 1.25rem;
|
|
2185
|
+
}
|
|
2186
|
+
|
|
2095
2187
|
.c17 {
|
|
2188
|
+
position: relative;
|
|
2189
|
+
width: 100%;
|
|
2190
|
+
display: -webkit-box;
|
|
2191
|
+
display: -webkit-flex;
|
|
2192
|
+
display: -ms-flexbox;
|
|
2193
|
+
display: flex;
|
|
2194
|
+
-webkit-box-pack: end;
|
|
2195
|
+
-webkit-justify-content: flex-end;
|
|
2196
|
+
-ms-flex-pack: end;
|
|
2197
|
+
justify-content: flex-end;
|
|
2198
|
+
-webkit-align-items: center;
|
|
2199
|
+
-webkit-box-align: center;
|
|
2200
|
+
-ms-flex-align: center;
|
|
2201
|
+
align-items: center;
|
|
2202
|
+
}
|
|
2203
|
+
|
|
2204
|
+
.c18 {
|
|
2096
2205
|
position: relative;
|
|
2097
2206
|
box-sizing: border-box;
|
|
2098
2207
|
width: 100%;
|
|
@@ -2112,15 +2221,10 @@ exports[`Single donation with no Money Buys renders correctly 1`] = `
|
|
|
2112
2221
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
2113
2222
|
}
|
|
2114
2223
|
|
|
2115
|
-
.
|
|
2224
|
+
.c18:focus {
|
|
2116
2225
|
border: 1px solid #666;
|
|
2117
2226
|
}
|
|
2118
2227
|
|
|
2119
|
-
.c16 {
|
|
2120
|
-
position: relative;
|
|
2121
|
-
font-size: 1.25rem;
|
|
2122
|
-
}
|
|
2123
|
-
|
|
2124
2228
|
.c0 {
|
|
2125
2229
|
position: relative;
|
|
2126
2230
|
display: -webkit-box;
|
|
@@ -2271,12 +2375,12 @@ exports[`Single donation with no Money Buys renders correctly 1`] = `
|
|
|
2271
2375
|
border: 2px solid #969598;
|
|
2272
2376
|
}
|
|
2273
2377
|
|
|
2274
|
-
.
|
|
2378
|
+
.c19 {
|
|
2275
2379
|
line-height: 1.5;
|
|
2276
2380
|
margin-top: 2rem;
|
|
2277
2381
|
}
|
|
2278
2382
|
|
|
2279
|
-
.
|
|
2383
|
+
.c20 {
|
|
2280
2384
|
width: 100%;
|
|
2281
2385
|
margin: 2rem 0 2rem;
|
|
2282
2386
|
color: #FFFFFF;
|
|
@@ -2295,9 +2399,9 @@ exports[`Single donation with no Money Buys renders correctly 1`] = `
|
|
|
2295
2399
|
appearance: none;
|
|
2296
2400
|
}
|
|
2297
2401
|
|
|
2298
|
-
.
|
|
2299
|
-
.
|
|
2300
|
-
.
|
|
2402
|
+
.c20:active,
|
|
2403
|
+
.c20:focus,
|
|
2404
|
+
.c20:hover {
|
|
2301
2405
|
outline: none;
|
|
2302
2406
|
background-color: #961D35;
|
|
2303
2407
|
}
|
|
@@ -2309,9 +2413,11 @@ exports[`Single donation with no Money Buys renders correctly 1`] = `
|
|
|
2309
2413
|
}
|
|
2310
2414
|
|
|
2311
2415
|
@media (min-width:740px) {
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2416
|
+
|
|
2417
|
+
}
|
|
2418
|
+
|
|
2419
|
+
@media (min-width:1024px) {
|
|
2420
|
+
|
|
2315
2421
|
}
|
|
2316
2422
|
|
|
2317
2423
|
@media (min-width:1024px) {
|
|
@@ -2387,7 +2493,7 @@ exports[`Single donation with no Money Buys renders correctly 1`] = `
|
|
|
2387
2493
|
}
|
|
2388
2494
|
|
|
2389
2495
|
@media (min-width:740px) {
|
|
2390
|
-
.
|
|
2496
|
+
.c20 {
|
|
2391
2497
|
padding: 1rem 2rem;
|
|
2392
2498
|
}
|
|
2393
2499
|
}
|
|
@@ -2465,35 +2571,40 @@ exports[`Single donation with no Money Buys renders correctly 1`] = `
|
|
|
2465
2571
|
className="c16"
|
|
2466
2572
|
>
|
|
2467
2573
|
|
|
2468
|
-
<
|
|
2469
|
-
aria-describedby="mship-1--MoneyBuy-userInput"
|
|
2470
|
-
aria-label="Input a different amount"
|
|
2574
|
+
<div
|
|
2471
2575
|
className="c17"
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2576
|
+
>
|
|
2577
|
+
<input
|
|
2578
|
+
aria-describedby="mship-1--MoneyBuy-userInput"
|
|
2579
|
+
aria-label="Input a different amount"
|
|
2580
|
+
className="c18"
|
|
2581
|
+
id="mship-1--MoneyBuy-userInput"
|
|
2582
|
+
max="25000"
|
|
2583
|
+
min="1"
|
|
2584
|
+
name="membership_amount"
|
|
2585
|
+
onChange={[Function]}
|
|
2586
|
+
pattern="[^[0-9]+([,.][0-9]+)?$]"
|
|
2587
|
+
placeholder="0.00"
|
|
2588
|
+
required={false}
|
|
2589
|
+
step="0.01"
|
|
2590
|
+
type="string"
|
|
2591
|
+
value={10}
|
|
2592
|
+
/>
|
|
2593
|
+
|
|
2594
|
+
</div>
|
|
2484
2595
|
</div>
|
|
2485
2596
|
|
|
2486
2597
|
</label>
|
|
2487
2598
|
</div>
|
|
2488
2599
|
<p
|
|
2489
|
-
className="
|
|
2600
|
+
className="c19"
|
|
2490
2601
|
>
|
|
2491
2602
|
<strong>
|
|
2492
2603
|
£10
|
|
2493
2604
|
</strong>
|
|
2494
2605
|
</p>
|
|
2495
2606
|
<button
|
|
2496
|
-
className="
|
|
2607
|
+
className="c20"
|
|
2497
2608
|
color="red"
|
|
2498
2609
|
type="submit"
|
|
2499
2610
|
>
|