@comicrelief/component-library 8.18.3 → 8.19.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/components/Atoms/Checkbox/Checkbox.js +1 -1
- package/dist/components/Atoms/ErrorText/ErrorText.js +3 -15
- package/dist/components/Atoms/ErrorText/__snapshots__/ErrorText.test.js.snap +1 -17
- package/dist/components/Atoms/Input/Input.js +23 -11
- package/dist/components/Atoms/Input/Input.md +1 -2
- package/dist/components/Atoms/Input/assets/error-alert-icon-red.svg +10 -0
- package/dist/components/Atoms/Input/input.test.js +1 -1
- package/dist/components/Atoms/Label/Label.js +16 -10
- package/dist/components/Atoms/Select/__snapshots__/Select.test.js.snap +2 -2
- package/dist/components/Atoms/TextArea/TextArea.test.js +1 -1
- package/dist/components/Atoms/TextInputWithDropdown/__snapshots__/TextInputWithDropdown.test.js.snap +16 -24
- package/dist/components/Molecules/SchoolLookup/__snapshots__/SchoolLookup.test.js.snap +4 -4
- package/dist/components/Molecules/SearchInput/SearchInput.test.js +1 -1
- package/dist/components/Molecules/Typeahead/__snapshots__/Typeahead.test.js.snap +4 -4
- package/dist/components/Organisms/Donate/__snapshots__/Donate.test.js.snap +16 -16
- package/dist/components/Organisms/EmailSignUp/__snapshots__/EmailSignUp.test.js.snap +31 -39
- package/dist/components/Organisms/Membership/Membership.test.js +2 -2
- package/package.json +1 -1
- package/src/components/Atoms/Checkbox/Checkbox.js +1 -1
- package/src/components/Atoms/ErrorText/ErrorText.js +1 -19
- package/src/components/Atoms/ErrorText/__snapshots__/ErrorText.test.js.snap +1 -17
- package/src/components/Atoms/Input/Input.js +34 -10
- package/src/components/Atoms/Input/Input.md +1 -2
- package/src/components/Atoms/Input/assets/error-alert-icon-red.svg +10 -0
- package/src/components/Atoms/Input/input.test.js +4 -4
- package/src/components/Atoms/Label/Label.js +25 -9
- package/src/components/Atoms/Select/__snapshots__/Select.test.js.snap +2 -2
- package/src/components/Atoms/TextArea/TextArea.test.js +2 -2
- package/src/components/Atoms/TextInputWithDropdown/__snapshots__/TextInputWithDropdown.test.js.snap +16 -24
- package/src/components/Molecules/SchoolLookup/__snapshots__/SchoolLookup.test.js.snap +4 -4
- package/src/components/Molecules/SearchInput/SearchInput.test.js +3 -3
- package/src/components/Molecules/Typeahead/__snapshots__/Typeahead.test.js.snap +4 -4
- package/src/components/Organisms/Donate/__snapshots__/Donate.test.js.snap +16 -16
- package/src/components/Organisms/EmailSignUp/__snapshots__/EmailSignUp.test.js.snap +31 -39
- package/src/components/Organisms/Membership/Membership.test.js +49 -57
- package/dist/components/Atoms/Input/assets/CR_Error--red.svg +0 -1
- package/dist/components/Atoms/Input/assets/CR_Error.svg +0 -1
- package/dist/components/Atoms/Input/assets/error-alert-icon.png +0 -0
- package/src/components/Atoms/Input/assets/CR_Error--red.svg +0 -1
- package/src/components/Atoms/Input/assets/CR_Error.svg +0 -1
- package/src/components/Atoms/Input/assets/error-alert-icon.png +0 -0
|
@@ -21,16 +21,7 @@ exports[`renders correctly 1`] = `
|
|
|
21
21
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
.
|
|
25
|
-
font-size: 1rem;
|
|
26
|
-
line-height: 1rem;
|
|
27
|
-
text-transform: inherit;
|
|
28
|
-
font-weight: bold;
|
|
29
|
-
line-height: normal;
|
|
30
|
-
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.c15 {
|
|
24
|
+
.c14 {
|
|
34
25
|
display: -webkit-inline-box;
|
|
35
26
|
display: -webkit-inline-flex;
|
|
36
27
|
display: -ms-inline-flexbox;
|
|
@@ -60,17 +51,18 @@ exports[`renders correctly 1`] = `
|
|
|
60
51
|
color: #FFFFFF;
|
|
61
52
|
}
|
|
62
53
|
|
|
63
|
-
.
|
|
54
|
+
.c14 > a {
|
|
64
55
|
-webkit-text-decoration: none;
|
|
65
56
|
text-decoration: none;
|
|
66
57
|
}
|
|
67
58
|
|
|
68
|
-
.
|
|
59
|
+
.c14:hover {
|
|
69
60
|
background-color: #890B11;
|
|
70
61
|
color: #FFFFFF;
|
|
71
62
|
}
|
|
72
63
|
|
|
73
64
|
.c8 {
|
|
65
|
+
width: 100%;
|
|
74
66
|
position: relative;
|
|
75
67
|
display: -webkit-box;
|
|
76
68
|
display: -webkit-flex;
|
|
@@ -80,19 +72,19 @@ exports[`renders correctly 1`] = `
|
|
|
80
72
|
-ms-flex-direction: column;
|
|
81
73
|
flex-direction: column;
|
|
82
74
|
color: #5C5C5E;
|
|
83
|
-
width: 100%;
|
|
84
75
|
}
|
|
85
76
|
|
|
86
|
-
.
|
|
77
|
+
.c10 {
|
|
87
78
|
margin-bottom: 0.5rem;
|
|
79
|
+
font-weight: normal;
|
|
88
80
|
}
|
|
89
81
|
|
|
90
|
-
.
|
|
82
|
+
.c12 {
|
|
91
83
|
position: relative;
|
|
92
84
|
box-sizing: border-box;
|
|
93
85
|
width: 100%;
|
|
94
86
|
height: 48px;
|
|
95
|
-
padding: 1rem 1.5rem;
|
|
87
|
+
padding: 1rem 2.4rem 1rem 1.5rem;
|
|
96
88
|
background-color: #F4F3F5;
|
|
97
89
|
border: 1px solid;
|
|
98
90
|
border-color: #E1E2E3;
|
|
@@ -107,11 +99,11 @@ exports[`renders correctly 1`] = `
|
|
|
107
99
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
108
100
|
}
|
|
109
101
|
|
|
110
|
-
.
|
|
102
|
+
.c12:focus {
|
|
111
103
|
border: 1px solid #666;
|
|
112
104
|
}
|
|
113
105
|
|
|
114
|
-
.
|
|
106
|
+
.c11 {
|
|
115
107
|
position: relative;
|
|
116
108
|
font-size: 1.25rem;
|
|
117
109
|
}
|
|
@@ -120,7 +112,7 @@ exports[`renders correctly 1`] = `
|
|
|
120
112
|
text-align: left;
|
|
121
113
|
}
|
|
122
114
|
|
|
123
|
-
.
|
|
115
|
+
.c15:disabled {
|
|
124
116
|
cursor: not-allowed;
|
|
125
117
|
opacity: 0.75;
|
|
126
118
|
}
|
|
@@ -147,15 +139,15 @@ exports[`renders correctly 1`] = `
|
|
|
147
139
|
margin-bottom: 1rem;
|
|
148
140
|
}
|
|
149
141
|
|
|
150
|
-
.
|
|
142
|
+
.c13 {
|
|
151
143
|
margin-top: 1rem;
|
|
152
144
|
}
|
|
153
145
|
|
|
154
|
-
.
|
|
146
|
+
.c13 button {
|
|
155
147
|
background-color: #E52630;
|
|
156
148
|
}
|
|
157
149
|
|
|
158
|
-
.
|
|
150
|
+
.c16 {
|
|
159
151
|
display: -webkit-box;
|
|
160
152
|
display: -webkit-flex;
|
|
161
153
|
display: -ms-flexbox;
|
|
@@ -166,12 +158,12 @@ exports[`renders correctly 1`] = `
|
|
|
166
158
|
margin-top: 1rem;
|
|
167
159
|
}
|
|
168
160
|
|
|
169
|
-
.
|
|
161
|
+
.c16 p {
|
|
170
162
|
font-size: 1rem;
|
|
171
163
|
line-height: 2rem;
|
|
172
164
|
}
|
|
173
165
|
|
|
174
|
-
.
|
|
166
|
+
.c16 p a {
|
|
175
167
|
font-size: 1rem;
|
|
176
168
|
color: #FFFFFF;
|
|
177
169
|
}
|
|
@@ -212,13 +204,13 @@ exports[`renders correctly 1`] = `
|
|
|
212
204
|
}
|
|
213
205
|
|
|
214
206
|
@media (min-width:740px) {
|
|
215
|
-
.
|
|
207
|
+
.c14 {
|
|
216
208
|
width: auto;
|
|
217
209
|
}
|
|
218
210
|
}
|
|
219
211
|
|
|
220
212
|
@media (min-width:1024px) {
|
|
221
|
-
.
|
|
213
|
+
.c14 {
|
|
222
214
|
width: auto;
|
|
223
215
|
padding: 1rem 2rem;
|
|
224
216
|
margin: 0 auto 2rem;
|
|
@@ -226,7 +218,7 @@ exports[`renders correctly 1`] = `
|
|
|
226
218
|
}
|
|
227
219
|
|
|
228
220
|
@media (min-width:740px) {
|
|
229
|
-
.
|
|
221
|
+
.c11 {
|
|
230
222
|
max-width: 290px;
|
|
231
223
|
}
|
|
232
224
|
}
|
|
@@ -293,7 +285,7 @@ exports[`renders correctly 1`] = `
|
|
|
293
285
|
htmlFor="first-name"
|
|
294
286
|
>
|
|
295
287
|
<span
|
|
296
|
-
className="c10
|
|
288
|
+
className="c4 c10"
|
|
297
289
|
color="inherit"
|
|
298
290
|
dangerouslySetInnerHTML={
|
|
299
291
|
Object {
|
|
@@ -303,13 +295,13 @@ exports[`renders correctly 1`] = `
|
|
|
303
295
|
size="s"
|
|
304
296
|
/>
|
|
305
297
|
<div
|
|
306
|
-
className="
|
|
298
|
+
className="c11"
|
|
307
299
|
>
|
|
308
300
|
|
|
309
301
|
<input
|
|
310
302
|
aria-describedby="first-name"
|
|
311
303
|
aria-required={true}
|
|
312
|
-
className="
|
|
304
|
+
className="c12"
|
|
313
305
|
id="first-name"
|
|
314
306
|
name="firstName"
|
|
315
307
|
onBlur={[Function]}
|
|
@@ -326,7 +318,7 @@ exports[`renders correctly 1`] = `
|
|
|
326
318
|
htmlFor="last-name"
|
|
327
319
|
>
|
|
328
320
|
<span
|
|
329
|
-
className="c10
|
|
321
|
+
className="c4 c10"
|
|
330
322
|
color="inherit"
|
|
331
323
|
dangerouslySetInnerHTML={
|
|
332
324
|
Object {
|
|
@@ -336,13 +328,13 @@ exports[`renders correctly 1`] = `
|
|
|
336
328
|
size="s"
|
|
337
329
|
/>
|
|
338
330
|
<div
|
|
339
|
-
className="
|
|
331
|
+
className="c11"
|
|
340
332
|
>
|
|
341
333
|
|
|
342
334
|
<input
|
|
343
335
|
aria-describedby="last-name"
|
|
344
336
|
aria-required={true}
|
|
345
|
-
className="
|
|
337
|
+
className="c12"
|
|
346
338
|
id="last-name"
|
|
347
339
|
name="lastName"
|
|
348
340
|
onBlur={[Function]}
|
|
@@ -360,7 +352,7 @@ exports[`renders correctly 1`] = `
|
|
|
360
352
|
htmlFor="email"
|
|
361
353
|
>
|
|
362
354
|
<span
|
|
363
|
-
className="c10
|
|
355
|
+
className="c4 c10"
|
|
364
356
|
color="inherit"
|
|
365
357
|
dangerouslySetInnerHTML={
|
|
366
358
|
Object {
|
|
@@ -370,13 +362,13 @@ exports[`renders correctly 1`] = `
|
|
|
370
362
|
size="s"
|
|
371
363
|
/>
|
|
372
364
|
<div
|
|
373
|
-
className="
|
|
365
|
+
className="c11"
|
|
374
366
|
>
|
|
375
367
|
|
|
376
368
|
<input
|
|
377
369
|
aria-describedby="email"
|
|
378
370
|
aria-required={true}
|
|
379
|
-
className="
|
|
371
|
+
className="c12"
|
|
380
372
|
id="email"
|
|
381
373
|
name="email"
|
|
382
374
|
onBlur={[Function]}
|
|
@@ -389,10 +381,10 @@ exports[`renders correctly 1`] = `
|
|
|
389
381
|
|
|
390
382
|
</label>
|
|
391
383
|
<div
|
|
392
|
-
className="
|
|
384
|
+
className="c13"
|
|
393
385
|
>
|
|
394
386
|
<button
|
|
395
|
-
className="c15
|
|
387
|
+
className="c14 c15"
|
|
396
388
|
data-test="subscribe-button"
|
|
397
389
|
disabled={true}
|
|
398
390
|
type="submit"
|
|
@@ -411,7 +403,7 @@ exports[`renders correctly 1`] = `
|
|
|
411
403
|
</div>
|
|
412
404
|
</div>
|
|
413
405
|
<div
|
|
414
|
-
className="
|
|
406
|
+
className="c16"
|
|
415
407
|
>
|
|
416
408
|
<span
|
|
417
409
|
className="c4"
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import 'jest-styled-components';
|
|
3
3
|
|
|
4
|
-
import renderWithTheme from
|
|
5
|
-
import Membership from
|
|
6
|
-
import { defaultData } from
|
|
7
|
-
import data from
|
|
4
|
+
import renderWithTheme from '../../../../tests/hoc/shallowWithTheme';
|
|
5
|
+
import Membership from './Membership';
|
|
6
|
+
import { defaultData } from '../../../styleguide/data/data';
|
|
7
|
+
import data from './dev-data/data';
|
|
8
8
|
|
|
9
|
-
it(
|
|
9
|
+
it('renders correctly', () => {
|
|
10
10
|
const tree = renderWithTheme(
|
|
11
11
|
<Membership
|
|
12
12
|
alt="Background image"
|
|
@@ -48,16 +48,7 @@ it("renders correctly", () => {
|
|
|
48
48
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
.
|
|
52
|
-
font-size: 1rem;
|
|
53
|
-
line-height: 1rem;
|
|
54
|
-
text-transform: inherit;
|
|
55
|
-
font-weight: bold;
|
|
56
|
-
line-height: normal;
|
|
57
|
-
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.c22 {
|
|
51
|
+
.c21 {
|
|
61
52
|
font-size: 1rem;
|
|
62
53
|
line-height: 1rem;
|
|
63
54
|
text-transform: inherit;
|
|
@@ -81,6 +72,7 @@ it("renders correctly", () => {
|
|
|
81
72
|
}
|
|
82
73
|
|
|
83
74
|
.c14 {
|
|
75
|
+
width: 100%;
|
|
84
76
|
position: relative;
|
|
85
77
|
display: -webkit-box;
|
|
86
78
|
display: -webkit-flex;
|
|
@@ -90,19 +82,19 @@ it("renders correctly", () => {
|
|
|
90
82
|
-ms-flex-direction: column;
|
|
91
83
|
flex-direction: column;
|
|
92
84
|
color: #5C5C5E;
|
|
93
|
-
width: 100%;
|
|
94
85
|
}
|
|
95
86
|
|
|
96
|
-
.
|
|
87
|
+
.c16 {
|
|
97
88
|
margin-bottom: 0.5rem;
|
|
89
|
+
font-weight: normal;
|
|
98
90
|
}
|
|
99
91
|
|
|
100
|
-
.
|
|
92
|
+
.c18 {
|
|
101
93
|
position: relative;
|
|
102
94
|
box-sizing: border-box;
|
|
103
95
|
width: 100%;
|
|
104
96
|
height: 48px;
|
|
105
|
-
padding: 1rem 1.5rem;
|
|
97
|
+
padding: 1rem 2.4rem 1rem 1.5rem;
|
|
106
98
|
background-color: #F4F3F5;
|
|
107
99
|
border: 1px solid;
|
|
108
100
|
border-color: #E1E2E3;
|
|
@@ -117,11 +109,11 @@ it("renders correctly", () => {
|
|
|
117
109
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
118
110
|
}
|
|
119
111
|
|
|
120
|
-
.
|
|
112
|
+
.c18:focus {
|
|
121
113
|
border: 1px solid #666;
|
|
122
114
|
}
|
|
123
115
|
|
|
124
|
-
.
|
|
116
|
+
.c17 {
|
|
125
117
|
position: relative;
|
|
126
118
|
font-size: 1.25rem;
|
|
127
119
|
}
|
|
@@ -141,11 +133,11 @@ it("renders correctly", () => {
|
|
|
141
133
|
height: auto;
|
|
142
134
|
}
|
|
143
135
|
|
|
144
|
-
.
|
|
136
|
+
.c19 {
|
|
145
137
|
display: block;
|
|
146
138
|
}
|
|
147
139
|
|
|
148
|
-
.
|
|
140
|
+
.c19 input {
|
|
149
141
|
border: 2px solid #E1E2E3;
|
|
150
142
|
font-size: 1.5rem;
|
|
151
143
|
font-weight: 800;
|
|
@@ -262,7 +254,7 @@ it("renders correctly", () => {
|
|
|
262
254
|
border-color: #E52630;
|
|
263
255
|
}
|
|
264
256
|
|
|
265
|
-
.
|
|
257
|
+
.c20 {
|
|
266
258
|
display: -webkit-box;
|
|
267
259
|
display: -webkit-flex;
|
|
268
260
|
display: -ms-flexbox;
|
|
@@ -273,11 +265,11 @@ it("renders correctly", () => {
|
|
|
273
265
|
align-items: center;
|
|
274
266
|
}
|
|
275
267
|
|
|
276
|
-
.
|
|
268
|
+
.c22 {
|
|
277
269
|
margin-right: auto;
|
|
278
270
|
}
|
|
279
271
|
|
|
280
|
-
.
|
|
272
|
+
.c23 {
|
|
281
273
|
position: relative;
|
|
282
274
|
-webkit-flex: 0 0 50%;
|
|
283
275
|
-ms-flex: 0 0 50%;
|
|
@@ -286,7 +278,7 @@ it("renders correctly", () => {
|
|
|
286
278
|
display: block;
|
|
287
279
|
}
|
|
288
280
|
|
|
289
|
-
.
|
|
281
|
+
.c23 span {
|
|
290
282
|
position: absolute;
|
|
291
283
|
padding: 0px 15px;
|
|
292
284
|
font-size: 20px;
|
|
@@ -298,21 +290,21 @@ it("renders correctly", () => {
|
|
|
298
290
|
font-weight: 500;
|
|
299
291
|
}
|
|
300
292
|
|
|
301
|
-
.
|
|
293
|
+
.c23 input {
|
|
302
294
|
border: 2px solid #E1E2E3;
|
|
303
295
|
background: transparent;
|
|
304
296
|
padding: 0.5rem 1rem 0.5rem 2rem;
|
|
305
297
|
}
|
|
306
298
|
|
|
307
|
-
.
|
|
299
|
+
.c23 input:focus {
|
|
308
300
|
border: 2px solid #E52630;
|
|
309
301
|
}
|
|
310
302
|
|
|
311
|
-
.
|
|
303
|
+
.c25 {
|
|
312
304
|
line-height: 1.5;
|
|
313
305
|
}
|
|
314
306
|
|
|
315
|
-
.
|
|
307
|
+
.c24 {
|
|
316
308
|
width: 100%;
|
|
317
309
|
color: #FFFFFF;
|
|
318
310
|
font-size: 1rem;
|
|
@@ -324,14 +316,14 @@ it("renders correctly", () => {
|
|
|
324
316
|
border-radius: 100px;
|
|
325
317
|
}
|
|
326
318
|
|
|
327
|
-
.
|
|
328
|
-
.
|
|
329
|
-
.
|
|
319
|
+
.c24:active,
|
|
320
|
+
.c24:focus,
|
|
321
|
+
.c24:hover {
|
|
330
322
|
background-color: #961D35;
|
|
331
323
|
}
|
|
332
324
|
|
|
333
325
|
@media (min-width:740px) {
|
|
334
|
-
.
|
|
326
|
+
.c17 {
|
|
335
327
|
max-width: 290px;
|
|
336
328
|
}
|
|
337
329
|
}
|
|
@@ -379,7 +371,7 @@ it("renders correctly", () => {
|
|
|
379
371
|
}
|
|
380
372
|
|
|
381
373
|
@media (min-width:1024px) {
|
|
382
|
-
.
|
|
374
|
+
.c23 {
|
|
383
375
|
-webkit-flex: 0 0 60%;
|
|
384
376
|
-ms-flex: 0 0 60%;
|
|
385
377
|
flex: 0 0 60%;
|
|
@@ -387,7 +379,7 @@ it("renders correctly", () => {
|
|
|
387
379
|
}
|
|
388
380
|
|
|
389
381
|
@media (min-width:1024px) {
|
|
390
|
-
.
|
|
382
|
+
.c24 {
|
|
391
383
|
width: auto;
|
|
392
384
|
padding: 1rem 2rem;
|
|
393
385
|
margin: 0 auto 2rem;
|
|
@@ -461,7 +453,7 @@ it("renders correctly", () => {
|
|
|
461
453
|
htmlFor="mship-1--moneyBuy-box1"
|
|
462
454
|
>
|
|
463
455
|
<span
|
|
464
|
-
className="c16
|
|
456
|
+
className="c7 c16"
|
|
465
457
|
color="inherit"
|
|
466
458
|
dangerouslySetInnerHTML={
|
|
467
459
|
Object {
|
|
@@ -471,13 +463,13 @@ it("renders correctly", () => {
|
|
|
471
463
|
size="s"
|
|
472
464
|
/>
|
|
473
465
|
<div
|
|
474
|
-
className="
|
|
466
|
+
className="c17"
|
|
475
467
|
>
|
|
476
468
|
|
|
477
469
|
<input
|
|
478
470
|
aria-describedby="mship-1--moneyBuy-box1"
|
|
479
471
|
aria-label="£5"
|
|
480
|
-
className="
|
|
472
|
+
className="c18"
|
|
481
473
|
id="mship-1--moneyBuy-box1"
|
|
482
474
|
name="mship-1--moneyBuy1"
|
|
483
475
|
onClick={[Function]}
|
|
@@ -490,11 +482,11 @@ it("renders correctly", () => {
|
|
|
490
482
|
|
|
491
483
|
</label>
|
|
492
484
|
<label
|
|
493
|
-
className="c14
|
|
485
|
+
className="c14 c19"
|
|
494
486
|
htmlFor="mship-1--moneyBuy-box2"
|
|
495
487
|
>
|
|
496
488
|
<span
|
|
497
|
-
className="c16
|
|
489
|
+
className="c7 c16"
|
|
498
490
|
color="inherit"
|
|
499
491
|
dangerouslySetInnerHTML={
|
|
500
492
|
Object {
|
|
@@ -504,13 +496,13 @@ it("renders correctly", () => {
|
|
|
504
496
|
size="s"
|
|
505
497
|
/>
|
|
506
498
|
<div
|
|
507
|
-
className="
|
|
499
|
+
className="c17"
|
|
508
500
|
>
|
|
509
501
|
|
|
510
502
|
<input
|
|
511
503
|
aria-describedby="mship-1--moneyBuy-box2"
|
|
512
504
|
aria-label="£10"
|
|
513
|
-
className="
|
|
505
|
+
className="c18"
|
|
514
506
|
id="mship-1--moneyBuy-box2"
|
|
515
507
|
name="mship-1--moneyBuy2"
|
|
516
508
|
onClick={[Function]}
|
|
@@ -527,7 +519,7 @@ it("renders correctly", () => {
|
|
|
527
519
|
htmlFor="mship-1--moneyBuy-box3"
|
|
528
520
|
>
|
|
529
521
|
<span
|
|
530
|
-
className="c16
|
|
522
|
+
className="c7 c16"
|
|
531
523
|
color="inherit"
|
|
532
524
|
dangerouslySetInnerHTML={
|
|
533
525
|
Object {
|
|
@@ -537,13 +529,13 @@ it("renders correctly", () => {
|
|
|
537
529
|
size="s"
|
|
538
530
|
/>
|
|
539
531
|
<div
|
|
540
|
-
className="
|
|
532
|
+
className="c17"
|
|
541
533
|
>
|
|
542
534
|
|
|
543
535
|
<input
|
|
544
536
|
aria-describedby="mship-1--moneyBuy-box3"
|
|
545
537
|
aria-label="£20"
|
|
546
|
-
className="
|
|
538
|
+
className="c18"
|
|
547
539
|
id="mship-1--moneyBuy-box3"
|
|
548
540
|
name="mship-1--moneyBuy3"
|
|
549
541
|
onClick={[Function]}
|
|
@@ -557,21 +549,21 @@ it("renders correctly", () => {
|
|
|
557
549
|
</label>
|
|
558
550
|
</div>
|
|
559
551
|
<div
|
|
560
|
-
className="
|
|
552
|
+
className="c20"
|
|
561
553
|
>
|
|
562
554
|
<span
|
|
563
|
-
className="c22
|
|
555
|
+
className="c21 c22"
|
|
564
556
|
color="inherit"
|
|
565
557
|
size="s"
|
|
566
558
|
>
|
|
567
559
|
Other amount
|
|
568
560
|
</span>
|
|
569
561
|
<label
|
|
570
|
-
className="c14
|
|
562
|
+
className="c14 c23"
|
|
571
563
|
htmlFor="mship-1--MoneyBuy-userInput"
|
|
572
564
|
>
|
|
573
565
|
<span
|
|
574
|
-
className="c16
|
|
566
|
+
className="c7 c16"
|
|
575
567
|
color="inherit"
|
|
576
568
|
dangerouslySetInnerHTML={
|
|
577
569
|
Object {
|
|
@@ -581,13 +573,13 @@ it("renders correctly", () => {
|
|
|
581
573
|
size="s"
|
|
582
574
|
/>
|
|
583
575
|
<div
|
|
584
|
-
className="
|
|
576
|
+
className="c17"
|
|
585
577
|
>
|
|
586
578
|
|
|
587
579
|
<input
|
|
588
580
|
aria-describedby="mship-1--MoneyBuy-userInput"
|
|
589
581
|
aria-label="Input a different amount"
|
|
590
|
-
className="
|
|
582
|
+
className="c18"
|
|
591
583
|
id="mship-1--MoneyBuy-userInput"
|
|
592
584
|
max="25000"
|
|
593
585
|
min="1"
|
|
@@ -607,12 +599,12 @@ it("renders correctly", () => {
|
|
|
607
599
|
</label>
|
|
608
600
|
</div>
|
|
609
601
|
<input
|
|
610
|
-
className="
|
|
602
|
+
className="c24"
|
|
611
603
|
type="submit"
|
|
612
604
|
value="Donate"
|
|
613
605
|
/>
|
|
614
606
|
<p
|
|
615
|
-
className="
|
|
607
|
+
className="c25"
|
|
616
608
|
/>
|
|
617
609
|
</fieldset>
|
|
618
610
|
</form>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg version="1.1" id="Content" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 48 48" xml:space="preserve"><style></style><path d="M24 47c12.683 0 23-10.318 23-23S36.683 1 24 1 1 11.318 1 24s10.317 23 23 23zm0-42c10.477 0 19 8.523 19 19s-8.523 19-19 19S5 34.477 5 24 13.523 5 24 5zm-4 30c0-2.206 1.794-4 4-4s4 1.794 4 4-1.794 4-4 4-4-1.794-4-4zm1-9V12a3 3 0 1 1 6 0v14a3 3 0 1 1-6 0z" fill="#e52630"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><style/><path d="M24 47c12.683 0 23-10.318 23-23S36.683 1 24 1 1 11.318 1 24s10.317 23 23 23zm0-42c10.477 0 19 8.523 19 19s-8.523 19-19 19S5 34.477 5 24 13.523 5 24 5zm-4 30c0-2.206 1.794-4 4-4s4 1.794 4 4-1.794 4-4 4-4-1.794-4-4zm1-9V12a3 3 0 1 1 6 0v14a3 3 0 1 1-6 0z"/></svg>
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg version="1.1" id="Content" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 48 48" xml:space="preserve"><style></style><path d="M24 47c12.683 0 23-10.318 23-23S36.683 1 24 1 1 11.318 1 24s10.317 23 23 23zm0-42c10.477 0 19 8.523 19 19s-8.523 19-19 19S5 34.477 5 24 13.523 5 24 5zm-4 30c0-2.206 1.794-4 4-4s4 1.794 4 4-1.794 4-4 4-4-1.794-4-4zm1-9V12a3 3 0 1 1 6 0v14a3 3 0 1 1-6 0z" fill="#e52630"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><style/><path d="M24 47c12.683 0 23-10.318 23-23S36.683 1 24 1 1 11.318 1 24s10.317 23 23 23zm0-42c10.477 0 19 8.523 19 19s-8.523 19-19 19S5 34.477 5 24 13.523 5 24 5zm-4 30c0-2.206 1.794-4 4-4s4 1.794 4 4-1.794 4-4 4-4-1.794-4-4zm1-9V12a3 3 0 1 1 6 0v14a3 3 0 1 1-6 0z"/></svg>
|
|
Binary file
|