@comicrelief/component-library 8.18.4 → 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/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/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
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_2432_14605)">
|
|
3
|
+
<path d="M12 0.5C5.6585 0.5 0.5 5.659 0.5 12C0.5 18.341 5.6585 23.5 12 23.5C18.3415 23.5 23.5 18.341 23.5 12C23.5 5.659 18.3415 0.5 12 0.5ZM10.5 6C10.5 5.1715 11.1715 4.5 12 4.5C12.8285 4.5 13.5 5.1715 13.5 6V13C13.5 13.8285 12.8285 14.5 12 14.5C11.1715 14.5 10.5 13.8285 10.5 13V6ZM12 19.5C10.897 19.5 10 18.603 10 17.5C10 16.397 10.897 15.5 12 15.5C13.103 15.5 14 16.397 14 17.5C14 18.603 13.103 19.5 12 19.5Z" fill="#E52630"/>
|
|
4
|
+
</g>
|
|
5
|
+
<defs>
|
|
6
|
+
<clipPath id="clip0_2432_14605">
|
|
7
|
+
<rect width="24" height="24" fill="white"/>
|
|
8
|
+
</clipPath>
|
|
9
|
+
</defs>
|
|
10
|
+
</svg>
|
|
@@ -20,12 +20,12 @@ it('renders correctly', () => {
|
|
|
20
20
|
font-size: 1rem;
|
|
21
21
|
line-height: 1rem;
|
|
22
22
|
text-transform: inherit;
|
|
23
|
-
font-weight: bold;
|
|
24
23
|
line-height: normal;
|
|
25
24
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
26
25
|
}
|
|
27
26
|
|
|
28
27
|
.c0 {
|
|
28
|
+
width: 100%;
|
|
29
29
|
position: relative;
|
|
30
30
|
display: -webkit-box;
|
|
31
31
|
display: -webkit-flex;
|
|
@@ -35,11 +35,11 @@ it('renders correctly', () => {
|
|
|
35
35
|
-ms-flex-direction: column;
|
|
36
36
|
flex-direction: column;
|
|
37
37
|
color: #5C5C5E;
|
|
38
|
-
width: 100%;
|
|
39
38
|
}
|
|
40
39
|
|
|
41
40
|
.c2 {
|
|
42
41
|
margin-bottom: 0.5rem;
|
|
42
|
+
font-weight: normal;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
.c4 {
|
|
@@ -47,7 +47,7 @@ it('renders correctly', () => {
|
|
|
47
47
|
box-sizing: border-box;
|
|
48
48
|
width: 100%;
|
|
49
49
|
height: 48px;
|
|
50
|
-
padding: 1rem 1.5rem;
|
|
50
|
+
padding: 1rem 2.4rem 1rem 1.5rem;
|
|
51
51
|
background-color: #F4F3F5;
|
|
52
52
|
border: 1px solid;
|
|
53
53
|
border-color: #E1E2E3;
|
|
@@ -72,7 +72,7 @@ it('renders correctly', () => {
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
@media (min-width:740px) {
|
|
75
|
-
.
|
|
75
|
+
.c3 {
|
|
76
76
|
max-width: 290px;
|
|
77
77
|
}
|
|
78
78
|
}
|
|
@@ -7,12 +7,12 @@ import spacing from '../../../theme/shared/spacing';
|
|
|
7
7
|
import hideVisually from '../../../theme/shared/hideVisually';
|
|
8
8
|
|
|
9
9
|
const LabelElement = styled.label`
|
|
10
|
-
|
|
10
|
+
width: 100%;
|
|
11
|
+
position: relative;
|
|
11
12
|
display: flex;
|
|
12
13
|
flex-direction: column;
|
|
13
|
-
color: ${({ theme }) => theme.color('grey_label')};
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
color: ${({ theme, errorMsg }) => (errorMsg ? theme.color('red') : theme.color('grey_label'))};
|
|
15
|
+
|
|
16
16
|
${({ optional, theme }) => optional === true && `
|
|
17
17
|
:after {
|
|
18
18
|
position: absolute;
|
|
@@ -23,9 +23,12 @@ const LabelElement = styled.label`
|
|
|
23
23
|
font-size: ${theme.fontSize('s')};
|
|
24
24
|
}`}
|
|
25
25
|
`;
|
|
26
|
-
|
|
26
|
+
|
|
27
|
+
const VisibleText = styled(Text)`
|
|
27
28
|
margin-bottom: ${spacing('sm')};
|
|
29
|
+
font-weight: normal;
|
|
28
30
|
`;
|
|
31
|
+
|
|
29
32
|
const HiddenText = styled(Text)`${hideVisually}`;
|
|
30
33
|
|
|
31
34
|
// eslint-disable-next-line react/prop-types
|
|
@@ -51,13 +54,20 @@ const Label = ({
|
|
|
51
54
|
label,
|
|
52
55
|
hideLabel = false,
|
|
53
56
|
optional = null,
|
|
57
|
+
errorMsg = '',
|
|
54
58
|
...rest
|
|
55
59
|
}) => (
|
|
56
|
-
<LabelElement
|
|
57
|
-
|
|
60
|
+
<LabelElement
|
|
61
|
+
optional={optional}
|
|
62
|
+
errorMsg={errorMsg}
|
|
63
|
+
{...rest}
|
|
64
|
+
>
|
|
65
|
+
<LabelText
|
|
66
|
+
label={label}
|
|
67
|
+
hideLabel={hideLabel}
|
|
68
|
+
/>
|
|
58
69
|
{children}
|
|
59
70
|
</LabelElement>
|
|
60
|
-
|
|
61
71
|
);
|
|
62
72
|
|
|
63
73
|
Label.propTypes = {
|
|
@@ -67,7 +77,13 @@ Label.propTypes = {
|
|
|
67
77
|
]).isRequired,
|
|
68
78
|
hideLabel: PropTypes.bool,
|
|
69
79
|
children: PropTypes.node,
|
|
70
|
-
optional: PropTypes.bool
|
|
80
|
+
optional: PropTypes.bool,
|
|
81
|
+
errorMsg: PropTypes.string
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
LabelElement.propTypes = {
|
|
85
|
+
optional: PropTypes.bool,
|
|
86
|
+
errorMsg: PropTypes.string
|
|
71
87
|
};
|
|
72
88
|
|
|
73
89
|
LabelText.propTypes = {
|
|
@@ -5,12 +5,12 @@ exports[`renders correctly 1`] = `
|
|
|
5
5
|
font-size: 1rem;
|
|
6
6
|
line-height: 1rem;
|
|
7
7
|
text-transform: inherit;
|
|
8
|
-
font-weight: bold;
|
|
9
8
|
line-height: normal;
|
|
10
9
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
11
10
|
}
|
|
12
11
|
|
|
13
12
|
.c0 {
|
|
13
|
+
width: 100%;
|
|
14
14
|
position: relative;
|
|
15
15
|
display: -webkit-box;
|
|
16
16
|
display: -webkit-flex;
|
|
@@ -20,11 +20,11 @@ exports[`renders correctly 1`] = `
|
|
|
20
20
|
-ms-flex-direction: column;
|
|
21
21
|
flex-direction: column;
|
|
22
22
|
color: #5C5C5E;
|
|
23
|
-
width: 100%;
|
|
24
23
|
}
|
|
25
24
|
|
|
26
25
|
.c2 {
|
|
27
26
|
margin-bottom: 0.5rem;
|
|
27
|
+
font-weight: normal;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
.c3 {
|
|
@@ -20,12 +20,12 @@ it('renders correctly', () => {
|
|
|
20
20
|
font-size: 1rem;
|
|
21
21
|
line-height: 1rem;
|
|
22
22
|
text-transform: inherit;
|
|
23
|
-
font-weight: bold;
|
|
24
23
|
line-height: normal;
|
|
25
24
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
26
25
|
}
|
|
27
26
|
|
|
28
27
|
.c0 {
|
|
28
|
+
width: 100%;
|
|
29
29
|
position: relative;
|
|
30
30
|
display: -webkit-box;
|
|
31
31
|
display: -webkit-flex;
|
|
@@ -35,11 +35,11 @@ it('renders correctly', () => {
|
|
|
35
35
|
-ms-flex-direction: column;
|
|
36
36
|
flex-direction: column;
|
|
37
37
|
color: #5C5C5E;
|
|
38
|
-
width: 100%;
|
|
39
38
|
}
|
|
40
39
|
|
|
41
40
|
.c2 {
|
|
42
41
|
margin-bottom: 0.5rem;
|
|
42
|
+
font-weight: normal;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
.c3 {
|
package/src/components/Atoms/TextInputWithDropdown/__snapshots__/TextInputWithDropdown.test.js.snap
CHANGED
|
@@ -5,12 +5,12 @@ exports[`renders correctly with no value and no options 1`] = `
|
|
|
5
5
|
font-size: 1rem;
|
|
6
6
|
line-height: 1rem;
|
|
7
7
|
text-transform: inherit;
|
|
8
|
-
font-weight: bold;
|
|
9
8
|
line-height: normal;
|
|
10
9
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
11
10
|
}
|
|
12
11
|
|
|
13
12
|
.c1 {
|
|
13
|
+
width: 100%;
|
|
14
14
|
position: relative;
|
|
15
15
|
display: -webkit-box;
|
|
16
16
|
display: -webkit-flex;
|
|
@@ -20,11 +20,11 @@ exports[`renders correctly with no value and no options 1`] = `
|
|
|
20
20
|
-ms-flex-direction: column;
|
|
21
21
|
flex-direction: column;
|
|
22
22
|
color: #5C5C5E;
|
|
23
|
-
width: 100%;
|
|
24
23
|
}
|
|
25
24
|
|
|
26
25
|
.c3 {
|
|
27
26
|
margin-bottom: 0.5rem;
|
|
27
|
+
font-weight: normal;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
.c5 {
|
|
@@ -32,7 +32,7 @@ exports[`renders correctly with no value and no options 1`] = `
|
|
|
32
32
|
box-sizing: border-box;
|
|
33
33
|
width: 100%;
|
|
34
34
|
height: 48px;
|
|
35
|
-
padding: 1rem 1.5rem;
|
|
35
|
+
padding: 1rem 2.4rem 1rem 1.5rem;
|
|
36
36
|
background-color: #F4F3F5;
|
|
37
37
|
border: 1px solid;
|
|
38
38
|
border-color: #E1E2E3;
|
|
@@ -61,7 +61,7 @@ exports[`renders correctly with no value and no options 1`] = `
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
@media (min-width:740px) {
|
|
64
|
-
.
|
|
64
|
+
.c4 {
|
|
65
65
|
max-width: 290px;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
@@ -111,12 +111,12 @@ exports[`renders correctly with value and no options 1`] = `
|
|
|
111
111
|
font-size: 1rem;
|
|
112
112
|
line-height: 1rem;
|
|
113
113
|
text-transform: inherit;
|
|
114
|
-
font-weight: bold;
|
|
115
114
|
line-height: normal;
|
|
116
115
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
117
116
|
}
|
|
118
117
|
|
|
119
118
|
.c1 {
|
|
119
|
+
width: 100%;
|
|
120
120
|
position: relative;
|
|
121
121
|
display: -webkit-box;
|
|
122
122
|
display: -webkit-flex;
|
|
@@ -126,11 +126,11 @@ exports[`renders correctly with value and no options 1`] = `
|
|
|
126
126
|
-ms-flex-direction: column;
|
|
127
127
|
flex-direction: column;
|
|
128
128
|
color: #5C5C5E;
|
|
129
|
-
width: 100%;
|
|
130
129
|
}
|
|
131
130
|
|
|
132
131
|
.c3 {
|
|
133
132
|
margin-bottom: 0.5rem;
|
|
133
|
+
font-weight: normal;
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
.c5 {
|
|
@@ -138,7 +138,7 @@ exports[`renders correctly with value and no options 1`] = `
|
|
|
138
138
|
box-sizing: border-box;
|
|
139
139
|
width: 100%;
|
|
140
140
|
height: 48px;
|
|
141
|
-
padding: 1rem 1.5rem;
|
|
141
|
+
padding: 1rem 2.4rem 1rem 1.5rem;
|
|
142
142
|
background-color: #F4F3F5;
|
|
143
143
|
border: 1px solid;
|
|
144
144
|
border-color: #E1E2E3;
|
|
@@ -167,7 +167,7 @@ exports[`renders correctly with value and no options 1`] = `
|
|
|
167
167
|
}
|
|
168
168
|
|
|
169
169
|
@media (min-width:740px) {
|
|
170
|
-
.
|
|
170
|
+
.c4 {
|
|
171
171
|
max-width: 290px;
|
|
172
172
|
}
|
|
173
173
|
}
|
|
@@ -214,15 +214,6 @@ exports[`renders correctly with value and no options 1`] = `
|
|
|
214
214
|
|
|
215
215
|
exports[`renders correctly with value and options 1`] = `
|
|
216
216
|
.c2 {
|
|
217
|
-
font-size: 1rem;
|
|
218
|
-
line-height: 1rem;
|
|
219
|
-
text-transform: inherit;
|
|
220
|
-
font-weight: bold;
|
|
221
|
-
line-height: normal;
|
|
222
|
-
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
.c10 {
|
|
226
217
|
font-size: 1rem;
|
|
227
218
|
line-height: 1rem;
|
|
228
219
|
text-transform: inherit;
|
|
@@ -231,6 +222,7 @@ exports[`renders correctly with value and options 1`] = `
|
|
|
231
222
|
}
|
|
232
223
|
|
|
233
224
|
.c1 {
|
|
225
|
+
width: 100%;
|
|
234
226
|
position: relative;
|
|
235
227
|
display: -webkit-box;
|
|
236
228
|
display: -webkit-flex;
|
|
@@ -240,11 +232,11 @@ exports[`renders correctly with value and options 1`] = `
|
|
|
240
232
|
-ms-flex-direction: column;
|
|
241
233
|
flex-direction: column;
|
|
242
234
|
color: #5C5C5E;
|
|
243
|
-
width: 100%;
|
|
244
235
|
}
|
|
245
236
|
|
|
246
237
|
.c3 {
|
|
247
238
|
margin-bottom: 0.5rem;
|
|
239
|
+
font-weight: normal;
|
|
248
240
|
}
|
|
249
241
|
|
|
250
242
|
.c5 {
|
|
@@ -252,7 +244,7 @@ exports[`renders correctly with value and options 1`] = `
|
|
|
252
244
|
box-sizing: border-box;
|
|
253
245
|
width: 100%;
|
|
254
246
|
height: 48px;
|
|
255
|
-
padding: 1rem 1.5rem;
|
|
247
|
+
padding: 1rem 2.4rem 1rem 1.5rem;
|
|
256
248
|
background-color: #F4F3F5;
|
|
257
249
|
border: 1px solid;
|
|
258
250
|
border-color: #E1E2E3;
|
|
@@ -314,7 +306,7 @@ exports[`renders correctly with value and options 1`] = `
|
|
|
314
306
|
}
|
|
315
307
|
|
|
316
308
|
@media (min-width:740px) {
|
|
317
|
-
.
|
|
309
|
+
.c4 {
|
|
318
310
|
max-width: 290px;
|
|
319
311
|
}
|
|
320
312
|
}
|
|
@@ -380,7 +372,7 @@ exports[`renders correctly with value and options 1`] = `
|
|
|
380
372
|
tabIndex="-1"
|
|
381
373
|
>
|
|
382
374
|
<span
|
|
383
|
-
className="
|
|
375
|
+
className="c2"
|
|
384
376
|
color="inherit"
|
|
385
377
|
size="s"
|
|
386
378
|
>
|
|
@@ -397,7 +389,7 @@ exports[`renders correctly with value and options 1`] = `
|
|
|
397
389
|
tabIndex="-1"
|
|
398
390
|
>
|
|
399
391
|
<span
|
|
400
|
-
className="
|
|
392
|
+
className="c2"
|
|
401
393
|
color="inherit"
|
|
402
394
|
size="s"
|
|
403
395
|
>
|
|
@@ -414,7 +406,7 @@ exports[`renders correctly with value and options 1`] = `
|
|
|
414
406
|
tabIndex="-1"
|
|
415
407
|
>
|
|
416
408
|
<span
|
|
417
|
-
className="
|
|
409
|
+
className="c2"
|
|
418
410
|
color="inherit"
|
|
419
411
|
size="s"
|
|
420
412
|
>
|
|
@@ -431,7 +423,7 @@ exports[`renders correctly with value and options 1`] = `
|
|
|
431
423
|
tabIndex="-1"
|
|
432
424
|
>
|
|
433
425
|
<span
|
|
434
|
-
className="
|
|
426
|
+
className="c2"
|
|
435
427
|
color="inherit"
|
|
436
428
|
size="s"
|
|
437
429
|
>
|
|
@@ -5,12 +5,12 @@ exports[`renders correctly 1`] = `
|
|
|
5
5
|
font-size: 1rem;
|
|
6
6
|
line-height: 1rem;
|
|
7
7
|
text-transform: inherit;
|
|
8
|
-
font-weight: bold;
|
|
9
8
|
line-height: normal;
|
|
10
9
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
11
10
|
}
|
|
12
11
|
|
|
13
12
|
.c1 {
|
|
13
|
+
width: 100%;
|
|
14
14
|
position: relative;
|
|
15
15
|
display: -webkit-box;
|
|
16
16
|
display: -webkit-flex;
|
|
@@ -20,11 +20,11 @@ exports[`renders correctly 1`] = `
|
|
|
20
20
|
-ms-flex-direction: column;
|
|
21
21
|
flex-direction: column;
|
|
22
22
|
color: #5C5C5E;
|
|
23
|
-
width: 100%;
|
|
24
23
|
}
|
|
25
24
|
|
|
26
25
|
.c3 {
|
|
27
26
|
margin-bottom: 0.5rem;
|
|
27
|
+
font-weight: normal;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
.c5 {
|
|
@@ -32,7 +32,7 @@ exports[`renders correctly 1`] = `
|
|
|
32
32
|
box-sizing: border-box;
|
|
33
33
|
width: 100%;
|
|
34
34
|
height: 48px;
|
|
35
|
-
padding: 1rem 1.5rem;
|
|
35
|
+
padding: 1rem 2.4rem 1rem 1.5rem;
|
|
36
36
|
background-color: #F4F3F5;
|
|
37
37
|
border: 1px solid;
|
|
38
38
|
border-color: #E1E2E3;
|
|
@@ -61,7 +61,7 @@ exports[`renders correctly 1`] = `
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
@media (min-width:740px) {
|
|
64
|
-
.
|
|
64
|
+
.c4 {
|
|
65
65
|
max-width: 290px;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
@@ -24,6 +24,7 @@ it('renders correctly', () => {
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
.c4 {
|
|
27
|
+
width: 100%;
|
|
27
28
|
position: relative;
|
|
28
29
|
display: -webkit-box;
|
|
29
30
|
display: -webkit-flex;
|
|
@@ -33,7 +34,6 @@ it('renders correctly', () => {
|
|
|
33
34
|
-ms-flex-direction: column;
|
|
34
35
|
flex-direction: column;
|
|
35
36
|
color: #5C5C5E;
|
|
36
|
-
width: 100%;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
.c7 {
|
|
@@ -56,7 +56,7 @@ it('renders correctly', () => {
|
|
|
56
56
|
box-sizing: border-box;
|
|
57
57
|
width: 100%;
|
|
58
58
|
height: 48px;
|
|
59
|
-
padding: 1rem 1.5rem;
|
|
59
|
+
padding: 1rem 2.4rem 1rem 1.5rem;
|
|
60
60
|
background-color: #F4F3F5;
|
|
61
61
|
border: 1px solid;
|
|
62
62
|
border-color: #E1E2E3;
|
|
@@ -117,7 +117,7 @@ it('renders correctly', () => {
|
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
@media (min-width:740px) {
|
|
120
|
-
.
|
|
120
|
+
.c8 {
|
|
121
121
|
max-width: 290px;
|
|
122
122
|
}
|
|
123
123
|
}
|
|
@@ -5,12 +5,12 @@ exports[`renders correctly 1`] = `
|
|
|
5
5
|
font-size: 1rem;
|
|
6
6
|
line-height: 1rem;
|
|
7
7
|
text-transform: inherit;
|
|
8
|
-
font-weight: bold;
|
|
9
8
|
line-height: normal;
|
|
10
9
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
11
10
|
}
|
|
12
11
|
|
|
13
12
|
.c1 {
|
|
13
|
+
width: 100%;
|
|
14
14
|
position: relative;
|
|
15
15
|
display: -webkit-box;
|
|
16
16
|
display: -webkit-flex;
|
|
@@ -20,11 +20,11 @@ exports[`renders correctly 1`] = `
|
|
|
20
20
|
-ms-flex-direction: column;
|
|
21
21
|
flex-direction: column;
|
|
22
22
|
color: #5C5C5E;
|
|
23
|
-
width: 100%;
|
|
24
23
|
}
|
|
25
24
|
|
|
26
25
|
.c3 {
|
|
27
26
|
margin-bottom: 0.5rem;
|
|
27
|
+
font-weight: normal;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
.c5 {
|
|
@@ -32,7 +32,7 @@ exports[`renders correctly 1`] = `
|
|
|
32
32
|
box-sizing: border-box;
|
|
33
33
|
width: 100%;
|
|
34
34
|
height: 48px;
|
|
35
|
-
padding: 1rem 1.5rem;
|
|
35
|
+
padding: 1rem 2.4rem 1rem 1.5rem;
|
|
36
36
|
background-color: #F4F3F5;
|
|
37
37
|
border: 1px solid;
|
|
38
38
|
border-color: #E1E2E3;
|
|
@@ -61,7 +61,7 @@ exports[`renders correctly 1`] = `
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
@media (min-width:740px) {
|
|
64
|
-
.
|
|
64
|
+
.c4 {
|
|
65
65
|
max-width: 290px;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
@@ -37,12 +37,12 @@ exports[`"Single Giving, No Money Buys, with overridden manual input value" rend
|
|
|
37
37
|
font-size: 1rem;
|
|
38
38
|
line-height: 1rem;
|
|
39
39
|
text-transform: inherit;
|
|
40
|
-
font-weight: bold;
|
|
41
40
|
line-height: normal;
|
|
42
41
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
43
42
|
}
|
|
44
43
|
|
|
45
44
|
.c18 {
|
|
45
|
+
width: 100%;
|
|
46
46
|
position: relative;
|
|
47
47
|
display: -webkit-box;
|
|
48
48
|
display: -webkit-flex;
|
|
@@ -52,11 +52,11 @@ exports[`"Single Giving, No Money Buys, with overridden manual input value" rend
|
|
|
52
52
|
-ms-flex-direction: column;
|
|
53
53
|
flex-direction: column;
|
|
54
54
|
color: #5C5C5E;
|
|
55
|
-
width: 100%;
|
|
56
55
|
}
|
|
57
56
|
|
|
58
57
|
.c21 {
|
|
59
58
|
margin-bottom: 0.5rem;
|
|
59
|
+
font-weight: normal;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
.c23 {
|
|
@@ -64,7 +64,7 @@ exports[`"Single Giving, No Money Buys, with overridden manual input value" rend
|
|
|
64
64
|
box-sizing: border-box;
|
|
65
65
|
width: 100%;
|
|
66
66
|
height: 48px;
|
|
67
|
-
padding: 1rem 1.5rem;
|
|
67
|
+
padding: 1rem 2.4rem 1rem 1.5rem;
|
|
68
68
|
background-color: #F4F3F5;
|
|
69
69
|
border: 1px solid;
|
|
70
70
|
border-color: #E1E2E3;
|
|
@@ -415,7 +415,7 @@ exports[`"Single Giving, No Money Buys, with overridden manual input value" rend
|
|
|
415
415
|
}
|
|
416
416
|
|
|
417
417
|
@media (min-width:740px) {
|
|
418
|
-
.
|
|
418
|
+
.c22 {
|
|
419
419
|
max-width: 290px;
|
|
420
420
|
}
|
|
421
421
|
}
|
|
@@ -713,12 +713,12 @@ exports[`Monthly donation renders correctly 1`] = `
|
|
|
713
713
|
font-size: 1rem;
|
|
714
714
|
line-height: 1rem;
|
|
715
715
|
text-transform: inherit;
|
|
716
|
-
font-weight: bold;
|
|
717
716
|
line-height: normal;
|
|
718
717
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
719
718
|
}
|
|
720
719
|
|
|
721
720
|
.c19 {
|
|
721
|
+
width: 100%;
|
|
722
722
|
position: relative;
|
|
723
723
|
display: -webkit-box;
|
|
724
724
|
display: -webkit-flex;
|
|
@@ -728,11 +728,11 @@ exports[`Monthly donation renders correctly 1`] = `
|
|
|
728
728
|
-ms-flex-direction: column;
|
|
729
729
|
flex-direction: column;
|
|
730
730
|
color: #5C5C5E;
|
|
731
|
-
width: 100%;
|
|
732
731
|
}
|
|
733
732
|
|
|
734
733
|
.c22 {
|
|
735
734
|
margin-bottom: 0.5rem;
|
|
735
|
+
font-weight: normal;
|
|
736
736
|
}
|
|
737
737
|
|
|
738
738
|
.c24 {
|
|
@@ -740,7 +740,7 @@ exports[`Monthly donation renders correctly 1`] = `
|
|
|
740
740
|
box-sizing: border-box;
|
|
741
741
|
width: 100%;
|
|
742
742
|
height: 48px;
|
|
743
|
-
padding: 1rem 1.5rem;
|
|
743
|
+
padding: 1rem 2.4rem 1rem 1.5rem;
|
|
744
744
|
background-color: #F4F3F5;
|
|
745
745
|
border: 1px solid;
|
|
746
746
|
border-color: #E1E2E3;
|
|
@@ -1056,7 +1056,7 @@ exports[`Monthly donation renders correctly 1`] = `
|
|
|
1056
1056
|
}
|
|
1057
1057
|
|
|
1058
1058
|
@media (min-width:740px) {
|
|
1059
|
-
.
|
|
1059
|
+
.c23 {
|
|
1060
1060
|
max-width: 290px;
|
|
1061
1061
|
}
|
|
1062
1062
|
}
|
|
@@ -1356,12 +1356,12 @@ exports[`Single donation renders correctly 1`] = `
|
|
|
1356
1356
|
font-size: 1rem;
|
|
1357
1357
|
line-height: 1rem;
|
|
1358
1358
|
text-transform: inherit;
|
|
1359
|
-
font-weight: bold;
|
|
1360
1359
|
line-height: normal;
|
|
1361
1360
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
1362
1361
|
}
|
|
1363
1362
|
|
|
1364
1363
|
.c12 {
|
|
1364
|
+
width: 100%;
|
|
1365
1365
|
position: relative;
|
|
1366
1366
|
display: -webkit-box;
|
|
1367
1367
|
display: -webkit-flex;
|
|
@@ -1371,11 +1371,11 @@ exports[`Single donation renders correctly 1`] = `
|
|
|
1371
1371
|
-ms-flex-direction: column;
|
|
1372
1372
|
flex-direction: column;
|
|
1373
1373
|
color: #5C5C5E;
|
|
1374
|
-
width: 100%;
|
|
1375
1374
|
}
|
|
1376
1375
|
|
|
1377
1376
|
.c15 {
|
|
1378
1377
|
margin-bottom: 0.5rem;
|
|
1378
|
+
font-weight: normal;
|
|
1379
1379
|
}
|
|
1380
1380
|
|
|
1381
1381
|
.c17 {
|
|
@@ -1383,7 +1383,7 @@ exports[`Single donation renders correctly 1`] = `
|
|
|
1383
1383
|
box-sizing: border-box;
|
|
1384
1384
|
width: 100%;
|
|
1385
1385
|
height: 48px;
|
|
1386
|
-
padding: 1rem 1.5rem;
|
|
1386
|
+
padding: 1rem 2.4rem 1rem 1.5rem;
|
|
1387
1387
|
background-color: #F4F3F5;
|
|
1388
1388
|
border: 1px solid;
|
|
1389
1389
|
border-color: #E1E2E3;
|
|
@@ -1685,7 +1685,7 @@ exports[`Single donation renders correctly 1`] = `
|
|
|
1685
1685
|
}
|
|
1686
1686
|
|
|
1687
1687
|
@media (min-width:740px) {
|
|
1688
|
-
.
|
|
1688
|
+
.c16 {
|
|
1689
1689
|
max-width: 290px;
|
|
1690
1690
|
}
|
|
1691
1691
|
}
|
|
@@ -2070,12 +2070,12 @@ exports[`Single donation with no Money Buys renders correctly 1`] = `
|
|
|
2070
2070
|
font-size: 1rem;
|
|
2071
2071
|
line-height: 1rem;
|
|
2072
2072
|
text-transform: inherit;
|
|
2073
|
-
font-weight: bold;
|
|
2074
2073
|
line-height: normal;
|
|
2075
2074
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
2076
2075
|
}
|
|
2077
2076
|
|
|
2078
2077
|
.c12 {
|
|
2078
|
+
width: 100%;
|
|
2079
2079
|
position: relative;
|
|
2080
2080
|
display: -webkit-box;
|
|
2081
2081
|
display: -webkit-flex;
|
|
@@ -2085,11 +2085,11 @@ exports[`Single donation with no Money Buys renders correctly 1`] = `
|
|
|
2085
2085
|
-ms-flex-direction: column;
|
|
2086
2086
|
flex-direction: column;
|
|
2087
2087
|
color: #5C5C5E;
|
|
2088
|
-
width: 100%;
|
|
2089
2088
|
}
|
|
2090
2089
|
|
|
2091
2090
|
.c15 {
|
|
2092
2091
|
margin-bottom: 0.5rem;
|
|
2092
|
+
font-weight: normal;
|
|
2093
2093
|
}
|
|
2094
2094
|
|
|
2095
2095
|
.c17 {
|
|
@@ -2097,7 +2097,7 @@ exports[`Single donation with no Money Buys renders correctly 1`] = `
|
|
|
2097
2097
|
box-sizing: border-box;
|
|
2098
2098
|
width: 100%;
|
|
2099
2099
|
height: 48px;
|
|
2100
|
-
padding: 1rem 1.5rem;
|
|
2100
|
+
padding: 1rem 2.4rem 1rem 1.5rem;
|
|
2101
2101
|
background-color: #F4F3F5;
|
|
2102
2102
|
border: 1px solid;
|
|
2103
2103
|
border-color: #E1E2E3;
|
|
@@ -2309,7 +2309,7 @@ exports[`Single donation with no Money Buys renders correctly 1`] = `
|
|
|
2309
2309
|
}
|
|
2310
2310
|
|
|
2311
2311
|
@media (min-width:740px) {
|
|
2312
|
-
.
|
|
2312
|
+
.c16 {
|
|
2313
2313
|
max-width: 290px;
|
|
2314
2314
|
}
|
|
2315
2315
|
}
|