@comicrelief/component-library 8.48.2 → 8.49.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/Button/Button.js +15 -42
- package/dist/components/Atoms/Button/Button.md +91 -1
- package/dist/components/Atoms/Button/Button.style.js +47 -0
- package/dist/components/Atoms/Button/Button.test.js +40 -12
- package/dist/components/Atoms/ButtonWithStates/ButtonWithStates.js +1 -1
- package/dist/components/Atoms/Link/Link.js +8 -5
- package/dist/components/Atoms/Link/Link.md +81 -78
- package/dist/components/Atoms/Link/Link.style.js +22 -18
- package/dist/components/Atoms/Link/Link.test.js +20 -19
- package/dist/components/Molecules/CardDs/CardDs.md +3 -3
- package/dist/components/Molecules/CardDs/CardDs.test.js +1 -1
- package/dist/components/Molecules/CardDs/__snapshots__/CardDs.test.js.snap +43 -41
- package/dist/components/Molecules/Lookup/Lookup.js +9 -16
- package/dist/components/Molecules/Promo/__snapshots__/Promo.test.js.snap +42 -40
- package/dist/components/Molecules/SingleMessage/__snapshots__/SingleMessage.test.js.snap +42 -40
- package/dist/components/Molecules/SingleMessageDS/__snapshots__/SingleMessageDs.test.js.snap +20 -19
- package/dist/components/Organisms/CookieBanner/CookieBanner.test.js +21 -20
- package/dist/components/Organisms/EmailSignUp/_EmailSignUp.js +1 -1
- package/dist/components/Organisms/EmailSignUp/__snapshots__/EmailSignUp.test.js.snap +41 -17
- package/dist/components/Organisms/FooterNew/__snapshots__/FooterNew.test.js.snap +39 -12
- package/dist/components/Organisms/Header2025/Header2025.style.js +1 -1
- package/dist/components/Organisms/Header2025/HeaderNav2025/HeaderNav2025.style.js +1 -1
- package/dist/theme/crTheme/buttonColors.js +84 -72
- package/dist/theme/crTheme/buttonTypes.js +12 -0
- package/dist/theme/crTheme/colors.js +13 -1
- package/dist/theme/crTheme/fontConfig.js +3 -4
- package/dist/theme/crTheme/theme.js +2 -0
- package/package.json +1 -1
- package/playwright/components/organisms/emailSignUpForm.spec.js +1 -1
- package/src/components/Atoms/Button/Button.js +18 -36
- package/src/components/Atoms/Button/Button.md +91 -1
- package/src/components/Atoms/Button/Button.style.js +37 -0
- package/src/components/Atoms/Button/Button.test.js +44 -16
- package/src/components/Atoms/ButtonWithStates/ButtonWithStates.js +1 -1
- package/src/components/Atoms/Link/Link.js +15 -5
- package/src/components/Atoms/Link/Link.md +81 -78
- package/src/components/Atoms/Link/Link.style.js +32 -27
- package/src/components/Atoms/Link/Link.test.js +20 -19
- package/src/components/Molecules/CardDs/CardDs.md +3 -3
- package/src/components/Molecules/CardDs/CardDs.test.js +1 -1
- package/src/components/Molecules/CardDs/__snapshots__/CardDs.test.js.snap +43 -41
- package/src/components/Molecules/Lookup/Lookup.js +4 -15
- package/src/components/Molecules/Promo/__snapshots__/Promo.test.js.snap +42 -40
- package/src/components/Molecules/SingleMessage/__snapshots__/SingleMessage.test.js.snap +42 -40
- package/src/components/Molecules/SingleMessageDS/__snapshots__/SingleMessageDs.test.js.snap +20 -19
- package/src/components/Organisms/CookieBanner/CookieBanner.test.js +21 -20
- package/src/components/Organisms/EmailSignUp/_EmailSignUp.js +1 -1
- package/src/components/Organisms/EmailSignUp/__snapshots__/EmailSignUp.test.js.snap +41 -17
- package/src/components/Organisms/FooterNew/__snapshots__/FooterNew.test.js.snap +39 -12
- package/src/components/Organisms/Header2025/Header2025.style.js +2 -1
- package/src/components/Organisms/Header2025/HeaderNav2025/HeaderNav2025.style.js +1 -1
- package/src/theme/crTheme/buttonColors.js +116 -76
- package/src/theme/crTheme/buttonTypes.js +7 -0
- package/src/theme/crTheme/colors.js +14 -1
- package/src/theme/crTheme/fontConfig.js +3 -4
- package/src/theme/crTheme/theme.js +3 -0
|
@@ -264,14 +264,11 @@ exports[`renders Single Message with Image correctly 1`] = `
|
|
|
264
264
|
display: -ms-inline-flexbox;
|
|
265
265
|
display: inline-flex;
|
|
266
266
|
position: relative;
|
|
267
|
-
padding: 0.5rem 1.25rem;
|
|
268
267
|
-webkit-text-decoration: none;
|
|
269
268
|
text-decoration: none;
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
-
|
|
273
|
-
transition: all 0.3s;
|
|
274
|
-
height: 3.125rem;
|
|
269
|
+
-webkit-transition: all 0.2s;
|
|
270
|
+
transition: all 0.2s;
|
|
271
|
+
min-height: 2.5em;
|
|
275
272
|
width: 100%;
|
|
276
273
|
-webkit-box-pack: center;
|
|
277
274
|
-webkit-justify-content: center;
|
|
@@ -281,9 +278,14 @@ exports[`renders Single Message with Image correctly 1`] = `
|
|
|
281
278
|
-webkit-box-align: center;
|
|
282
279
|
-ms-flex-align: center;
|
|
283
280
|
align-items: center;
|
|
281
|
+
border: none;
|
|
284
282
|
cursor: pointer;
|
|
283
|
+
padding: 0.6rem 1rem;
|
|
284
|
+
border-radius: 0.5rem;
|
|
285
|
+
background-color: #FFFFFF;
|
|
286
|
+
color: #000000;
|
|
285
287
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
286
|
-
font-weight:
|
|
288
|
+
font-weight: 700;
|
|
287
289
|
text-transform: inherit;
|
|
288
290
|
-webkit-letter-spacing: 0;
|
|
289
291
|
-moz-letter-spacing: 0;
|
|
@@ -291,14 +293,19 @@ exports[`renders Single Message with Image correctly 1`] = `
|
|
|
291
293
|
letter-spacing: 0;
|
|
292
294
|
font-size: 1rem;
|
|
293
295
|
line-height: 1.25rem;
|
|
294
|
-
font-weight: 700;
|
|
295
|
-
background-color: #FFFFFF;
|
|
296
|
-
color: #000000;
|
|
297
296
|
}
|
|
298
297
|
|
|
299
|
-
.c8:hover
|
|
300
|
-
|
|
301
|
-
|
|
298
|
+
.c8:hover,
|
|
299
|
+
.c8:focus,
|
|
300
|
+
.c8:focus-within,
|
|
301
|
+
.c8:focus-visible {
|
|
302
|
+
background-color: #E1E2E3;
|
|
303
|
+
outline-offset: 3px;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.c8:disabled {
|
|
307
|
+
cursor: not-allowed;
|
|
308
|
+
opacity: 0.5;
|
|
302
309
|
}
|
|
303
310
|
|
|
304
311
|
.c0 {
|
|
@@ -392,13 +399,7 @@ exports[`renders Single Message with Image correctly 1`] = `
|
|
|
392
399
|
|
|
393
400
|
@media (min-width:1024px) {
|
|
394
401
|
.c8 {
|
|
395
|
-
|
|
396
|
-
color: #000000;
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
.c8:hover {
|
|
400
|
-
background-color: #969598;
|
|
401
|
-
color: #000000;
|
|
402
|
+
width: auto;
|
|
402
403
|
}
|
|
403
404
|
}
|
|
404
405
|
|
|
@@ -824,14 +825,11 @@ exports[`renders Single Message with full width correctly 1`] = `
|
|
|
824
825
|
display: -ms-inline-flexbox;
|
|
825
826
|
display: inline-flex;
|
|
826
827
|
position: relative;
|
|
827
|
-
padding: 0.5rem 1.25rem;
|
|
828
828
|
-webkit-text-decoration: none;
|
|
829
829
|
text-decoration: none;
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
-
|
|
833
|
-
transition: all 0.3s;
|
|
834
|
-
height: 3.125rem;
|
|
830
|
+
-webkit-transition: all 0.2s;
|
|
831
|
+
transition: all 0.2s;
|
|
832
|
+
min-height: 2.5em;
|
|
835
833
|
width: 100%;
|
|
836
834
|
-webkit-box-pack: center;
|
|
837
835
|
-webkit-justify-content: center;
|
|
@@ -841,9 +839,14 @@ exports[`renders Single Message with full width correctly 1`] = `
|
|
|
841
839
|
-webkit-box-align: center;
|
|
842
840
|
-ms-flex-align: center;
|
|
843
841
|
align-items: center;
|
|
842
|
+
border: none;
|
|
844
843
|
cursor: pointer;
|
|
844
|
+
padding: 0.6rem 1rem;
|
|
845
|
+
border-radius: 0.5rem;
|
|
846
|
+
background-color: #FFFFFF;
|
|
847
|
+
color: #000000;
|
|
845
848
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
846
|
-
font-weight:
|
|
849
|
+
font-weight: 700;
|
|
847
850
|
text-transform: inherit;
|
|
848
851
|
-webkit-letter-spacing: 0;
|
|
849
852
|
-moz-letter-spacing: 0;
|
|
@@ -851,14 +854,19 @@ exports[`renders Single Message with full width correctly 1`] = `
|
|
|
851
854
|
letter-spacing: 0;
|
|
852
855
|
font-size: 1rem;
|
|
853
856
|
line-height: 1.25rem;
|
|
854
|
-
font-weight: 700;
|
|
855
|
-
background-color: #FFFFFF;
|
|
856
|
-
color: #000000;
|
|
857
857
|
}
|
|
858
858
|
|
|
859
|
-
.c8:hover
|
|
860
|
-
|
|
861
|
-
|
|
859
|
+
.c8:hover,
|
|
860
|
+
.c8:focus,
|
|
861
|
+
.c8:focus-within,
|
|
862
|
+
.c8:focus-visible {
|
|
863
|
+
background-color: #E1E2E3;
|
|
864
|
+
outline-offset: 3px;
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
.c8:disabled {
|
|
868
|
+
cursor: not-allowed;
|
|
869
|
+
opacity: 0.5;
|
|
862
870
|
}
|
|
863
871
|
|
|
864
872
|
.c0 {
|
|
@@ -952,13 +960,7 @@ exports[`renders Single Message with full width correctly 1`] = `
|
|
|
952
960
|
|
|
953
961
|
@media (min-width:1024px) {
|
|
954
962
|
.c8 {
|
|
955
|
-
|
|
956
|
-
color: #000000;
|
|
957
|
-
}
|
|
958
|
-
|
|
959
|
-
.c8:hover {
|
|
960
|
-
background-color: #969598;
|
|
961
|
-
color: #000000;
|
|
963
|
+
width: auto;
|
|
962
964
|
}
|
|
963
965
|
}
|
|
964
966
|
|
package/dist/components/Molecules/SingleMessageDS/__snapshots__/SingleMessageDs.test.js.snap
CHANGED
|
@@ -80,14 +80,11 @@ exports[`renders correctly 1`] = `
|
|
|
80
80
|
display: -ms-inline-flexbox;
|
|
81
81
|
display: inline-flex;
|
|
82
82
|
position: relative;
|
|
83
|
-
padding: 0.5rem 1.25rem;
|
|
84
83
|
-webkit-text-decoration: none;
|
|
85
84
|
text-decoration: none;
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
-
|
|
89
|
-
transition: all 0.3s;
|
|
90
|
-
height: 3.125rem;
|
|
85
|
+
-webkit-transition: all 0.2s;
|
|
86
|
+
transition: all 0.2s;
|
|
87
|
+
min-height: 2.5em;
|
|
91
88
|
width: 100%;
|
|
92
89
|
-webkit-box-pack: center;
|
|
93
90
|
-webkit-justify-content: center;
|
|
@@ -97,9 +94,14 @@ exports[`renders correctly 1`] = `
|
|
|
97
94
|
-webkit-box-align: center;
|
|
98
95
|
-ms-flex-align: center;
|
|
99
96
|
align-items: center;
|
|
97
|
+
border: none;
|
|
100
98
|
cursor: pointer;
|
|
99
|
+
padding: 0.6rem 1rem;
|
|
100
|
+
border-radius: 0.5rem;
|
|
101
|
+
background-color: #2042AD;
|
|
102
|
+
color: #FFFFFF;
|
|
101
103
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
102
|
-
font-weight:
|
|
104
|
+
font-weight: 700;
|
|
103
105
|
text-transform: inherit;
|
|
104
106
|
-webkit-letter-spacing: 0;
|
|
105
107
|
-moz-letter-spacing: 0;
|
|
@@ -107,14 +109,19 @@ exports[`renders correctly 1`] = `
|
|
|
107
109
|
letter-spacing: 0;
|
|
108
110
|
font-size: 1rem;
|
|
109
111
|
line-height: 1.25rem;
|
|
110
|
-
font-weight: 700;
|
|
111
|
-
background-color: #2042AD;
|
|
112
|
-
color: #FFFFFF;
|
|
113
112
|
}
|
|
114
113
|
|
|
115
|
-
.c11:hover
|
|
114
|
+
.c11:hover,
|
|
115
|
+
.c11:focus,
|
|
116
|
+
.c11:focus-within,
|
|
117
|
+
.c11:focus-visible {
|
|
116
118
|
background-color: #274084;
|
|
117
|
-
|
|
119
|
+
outline-offset: 3px;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.c11:disabled {
|
|
123
|
+
cursor: not-allowed;
|
|
124
|
+
opacity: 0.5;
|
|
118
125
|
}
|
|
119
126
|
|
|
120
127
|
.c13 {
|
|
@@ -249,13 +256,7 @@ exports[`renders correctly 1`] = `
|
|
|
249
256
|
|
|
250
257
|
@media (min-width:1024px) {
|
|
251
258
|
.c11 {
|
|
252
|
-
|
|
253
|
-
color: #FFFFFF;
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
.c11:hover {
|
|
257
|
-
background-color: #274084;
|
|
258
|
-
color: #FFFFFF;
|
|
259
|
+
width: auto;
|
|
259
260
|
}
|
|
260
261
|
}
|
|
261
262
|
|
|
@@ -59,14 +59,11 @@ it('renders correctly', () => {
|
|
|
59
59
|
display: -ms-inline-flexbox;
|
|
60
60
|
display: inline-flex;
|
|
61
61
|
position: relative;
|
|
62
|
-
padding: 0.5rem 1.25rem;
|
|
63
62
|
-webkit-text-decoration: none;
|
|
64
63
|
text-decoration: none;
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
-
|
|
68
|
-
transition: all 0.3s;
|
|
69
|
-
height: 3.125rem;
|
|
64
|
+
-webkit-transition: all 0.2s;
|
|
65
|
+
transition: all 0.2s;
|
|
66
|
+
min-height: 2.5em;
|
|
70
67
|
width: 100%;
|
|
71
68
|
-webkit-box-pack: center;
|
|
72
69
|
-webkit-justify-content: center;
|
|
@@ -76,9 +73,14 @@ it('renders correctly', () => {
|
|
|
76
73
|
-webkit-box-align: center;
|
|
77
74
|
-ms-flex-align: center;
|
|
78
75
|
align-items: center;
|
|
76
|
+
border: none;
|
|
79
77
|
cursor: pointer;
|
|
78
|
+
padding: 0.6rem 1rem;
|
|
79
|
+
border-radius: 0.5rem;
|
|
80
|
+
background-color: #FFFFFF;
|
|
81
|
+
color: #000000;
|
|
80
82
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
81
|
-
font-weight:
|
|
83
|
+
font-weight: 700;
|
|
82
84
|
text-transform: inherit;
|
|
83
85
|
-webkit-letter-spacing: 0;
|
|
84
86
|
-moz-letter-spacing: 0;
|
|
@@ -86,14 +88,19 @@ it('renders correctly', () => {
|
|
|
86
88
|
letter-spacing: 0;
|
|
87
89
|
font-size: 1rem;
|
|
88
90
|
line-height: 1.25rem;
|
|
89
|
-
font-weight: 700;
|
|
90
|
-
background-color: #FFFFFF;
|
|
91
|
-
color: #000000;
|
|
92
91
|
}
|
|
93
92
|
|
|
94
|
-
.c5:hover
|
|
95
|
-
|
|
96
|
-
|
|
93
|
+
.c5:hover,
|
|
94
|
+
.c5:focus,
|
|
95
|
+
.c5:focus-within,
|
|
96
|
+
.c5:focus-visible {
|
|
97
|
+
background-color: #E1E2E3;
|
|
98
|
+
outline-offset: 3px;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.c5:disabled {
|
|
102
|
+
cursor: not-allowed;
|
|
103
|
+
opacity: 0.5;
|
|
97
104
|
}
|
|
98
105
|
|
|
99
106
|
.c0 {
|
|
@@ -167,13 +174,7 @@ it('renders correctly', () => {
|
|
|
167
174
|
|
|
168
175
|
@media (min-width:1024px) {
|
|
169
176
|
.c5 {
|
|
170
|
-
|
|
171
|
-
color: #000000;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
.c5:hover {
|
|
175
|
-
background-color: #969598;
|
|
176
|
-
color: #000000;
|
|
177
|
+
width: auto;
|
|
177
178
|
}
|
|
178
179
|
}
|
|
179
180
|
|
|
@@ -95,7 +95,7 @@ const EmailSignUp = _ref => {
|
|
|
95
95
|
loading: isSubmitting,
|
|
96
96
|
loadingText: "Submitting...",
|
|
97
97
|
"data-test": "subscribe-button"
|
|
98
|
-
},
|
|
98
|
+
}, normalisedButtonText))), isSubmitted && !isSubmitSuccessful && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, errors.formError !== undefined && /*#__PURE__*/_react.default.createElement(_ErrorText.default, {
|
|
99
99
|
size: "error"
|
|
100
100
|
}, errors.formError.message)), /*#__PURE__*/_react.default.createElement(_EmailSignUp.PrivacyCopyWrapper, {
|
|
101
101
|
textColour: textColour
|
|
@@ -49,15 +49,11 @@ exports[`renders correctly 1`] = `
|
|
|
49
49
|
display: -ms-inline-flexbox;
|
|
50
50
|
display: inline-flex;
|
|
51
51
|
position: relative;
|
|
52
|
-
padding: 0.5rem 1.25rem;
|
|
53
52
|
-webkit-text-decoration: none;
|
|
54
53
|
text-decoration: none;
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
-webkit-transition: all 0.3s;
|
|
59
|
-
transition: all 0.3s;
|
|
60
|
-
height: 3.125rem;
|
|
54
|
+
-webkit-transition: all 0.2s;
|
|
55
|
+
transition: all 0.2s;
|
|
56
|
+
min-height: 2.5rem;
|
|
61
57
|
width: 100%;
|
|
62
58
|
-webkit-box-pack: center;
|
|
63
59
|
-webkit-justify-content: center;
|
|
@@ -69,8 +65,19 @@ exports[`renders correctly 1`] = `
|
|
|
69
65
|
align-items: center;
|
|
70
66
|
border: none;
|
|
71
67
|
cursor: pointer;
|
|
68
|
+
padding: 0.6rem 1rem;
|
|
69
|
+
border-radius: 0.5rem;
|
|
72
70
|
background-color: #E52630;
|
|
73
71
|
color: #FFFFFF;
|
|
72
|
+
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
73
|
+
font-weight: 700;
|
|
74
|
+
text-transform: inherit;
|
|
75
|
+
-webkit-letter-spacing: 0;
|
|
76
|
+
-moz-letter-spacing: 0;
|
|
77
|
+
-ms-letter-spacing: 0;
|
|
78
|
+
letter-spacing: 0;
|
|
79
|
+
font-size: 1rem;
|
|
80
|
+
line-height: 1.25rem;
|
|
74
81
|
}
|
|
75
82
|
|
|
76
83
|
.c15 > a {
|
|
@@ -78,9 +85,17 @@ exports[`renders correctly 1`] = `
|
|
|
78
85
|
text-decoration: none;
|
|
79
86
|
}
|
|
80
87
|
|
|
81
|
-
.c15:hover
|
|
88
|
+
.c15:hover,
|
|
89
|
+
.c15:focus,
|
|
90
|
+
.c15:focus-within,
|
|
91
|
+
.c15:focus-visible {
|
|
82
92
|
background-color: #890B11;
|
|
83
|
-
|
|
93
|
+
outline-offset: 3px;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.c15:disabled {
|
|
97
|
+
cursor: not-allowed;
|
|
98
|
+
opacity: 0.5;
|
|
84
99
|
}
|
|
85
100
|
|
|
86
101
|
.c8 {
|
|
@@ -161,7 +176,7 @@ exports[`renders correctly 1`] = `
|
|
|
161
176
|
|
|
162
177
|
.c16:disabled {
|
|
163
178
|
cursor: not-allowed;
|
|
164
|
-
opacity: 0.
|
|
179
|
+
opacity: 0.5;
|
|
165
180
|
}
|
|
166
181
|
|
|
167
182
|
.c0 {
|
|
@@ -278,6 +293,20 @@ exports[`renders correctly 1`] = `
|
|
|
278
293
|
}
|
|
279
294
|
}
|
|
280
295
|
|
|
296
|
+
@media (min-width:740px) {
|
|
297
|
+
.c15 {
|
|
298
|
+
font-size: 1rem;
|
|
299
|
+
line-height: 1.25rem;
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
@media (min-width:1024px) {
|
|
304
|
+
.c15 {
|
|
305
|
+
font-size: 1.125rem;
|
|
306
|
+
line-height: 1.375rem;
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
|
|
281
310
|
@media (min-width:740px) {
|
|
282
311
|
.c15 {
|
|
283
312
|
width: auto;
|
|
@@ -287,8 +316,6 @@ exports[`renders correctly 1`] = `
|
|
|
287
316
|
@media (min-width:1024px) {
|
|
288
317
|
.c15 {
|
|
289
318
|
width: auto;
|
|
290
|
-
padding: 1rem 2rem;
|
|
291
|
-
margin: 0 auto 2rem;
|
|
292
319
|
}
|
|
293
320
|
}
|
|
294
321
|
|
|
@@ -478,15 +505,12 @@ exports[`renders correctly 1`] = `
|
|
|
478
505
|
>
|
|
479
506
|
<button
|
|
480
507
|
className="c15 c16"
|
|
508
|
+
color="red"
|
|
481
509
|
data-test="subscribe-button"
|
|
482
510
|
disabled={true}
|
|
483
511
|
type="submit"
|
|
484
512
|
>
|
|
485
|
-
|
|
486
|
-
className="c4"
|
|
487
|
-
>
|
|
488
|
-
Subscribe
|
|
489
|
-
</span>
|
|
513
|
+
Subscribe
|
|
490
514
|
<div
|
|
491
515
|
className=""
|
|
492
516
|
/>
|
|
@@ -66,15 +66,11 @@ exports[`renders correctly 1`] = `
|
|
|
66
66
|
display: -ms-inline-flexbox;
|
|
67
67
|
display: inline-flex;
|
|
68
68
|
position: relative;
|
|
69
|
-
padding: 0.5rem 1.25rem;
|
|
70
69
|
-webkit-text-decoration: none;
|
|
71
70
|
text-decoration: none;
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
-webkit-transition: all 0.3s;
|
|
76
|
-
transition: all 0.3s;
|
|
77
|
-
height: 3.125rem;
|
|
71
|
+
-webkit-transition: all 0.2s;
|
|
72
|
+
transition: all 0.2s;
|
|
73
|
+
min-height: 2.5rem;
|
|
78
74
|
width: 100%;
|
|
79
75
|
-webkit-box-pack: center;
|
|
80
76
|
-webkit-justify-content: center;
|
|
@@ -86,8 +82,19 @@ exports[`renders correctly 1`] = `
|
|
|
86
82
|
align-items: center;
|
|
87
83
|
border: none;
|
|
88
84
|
cursor: pointer;
|
|
85
|
+
padding: 0.6rem 1rem;
|
|
86
|
+
border-radius: 0.5rem;
|
|
89
87
|
background-color: #FFFFFF;
|
|
90
88
|
color: #000000;
|
|
89
|
+
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
90
|
+
font-weight: 700;
|
|
91
|
+
text-transform: inherit;
|
|
92
|
+
-webkit-letter-spacing: 0;
|
|
93
|
+
-moz-letter-spacing: 0;
|
|
94
|
+
-ms-letter-spacing: 0;
|
|
95
|
+
letter-spacing: 0;
|
|
96
|
+
font-size: 1rem;
|
|
97
|
+
line-height: 1.25rem;
|
|
91
98
|
}
|
|
92
99
|
|
|
93
100
|
.c23 > a {
|
|
@@ -95,9 +102,17 @@ exports[`renders correctly 1`] = `
|
|
|
95
102
|
text-decoration: none;
|
|
96
103
|
}
|
|
97
104
|
|
|
98
|
-
.c23:hover
|
|
99
|
-
|
|
100
|
-
|
|
105
|
+
.c23:hover,
|
|
106
|
+
.c23:focus,
|
|
107
|
+
.c23:focus-within,
|
|
108
|
+
.c23:focus-visible {
|
|
109
|
+
background-color: #E1E2E3;
|
|
110
|
+
outline-offset: 3px;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.c23:disabled {
|
|
114
|
+
cursor: not-allowed;
|
|
115
|
+
opacity: 0.5;
|
|
101
116
|
}
|
|
102
117
|
|
|
103
118
|
.c15 {
|
|
@@ -788,6 +803,20 @@ exports[`renders correctly 1`] = `
|
|
|
788
803
|
}
|
|
789
804
|
}
|
|
790
805
|
|
|
806
|
+
@media (min-width:740px) {
|
|
807
|
+
.c23 {
|
|
808
|
+
font-size: 1rem;
|
|
809
|
+
line-height: 1.25rem;
|
|
810
|
+
}
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
@media (min-width:1024px) {
|
|
814
|
+
.c23 {
|
|
815
|
+
font-size: 1.125rem;
|
|
816
|
+
line-height: 1.375rem;
|
|
817
|
+
}
|
|
818
|
+
}
|
|
819
|
+
|
|
791
820
|
@media (min-width:740px) {
|
|
792
821
|
.c23 {
|
|
793
822
|
width: auto;
|
|
@@ -797,8 +826,6 @@ exports[`renders correctly 1`] = `
|
|
|
797
826
|
@media (min-width:1024px) {
|
|
798
827
|
.c23 {
|
|
799
828
|
width: auto;
|
|
800
|
-
padding: 1rem 2rem;
|
|
801
|
-
margin: 0 auto 2rem;
|
|
802
829
|
}
|
|
803
830
|
}
|
|
804
831
|
|
|
@@ -51,7 +51,7 @@ const Brand = exports.Brand = _styledComponents.default.div.withConfig({
|
|
|
51
51
|
const DonateButtonWrapperTop = exports.DonateButtonWrapperTop = _styledComponents.default.div.withConfig({
|
|
52
52
|
displayName: "Header2025style__DonateButtonWrapperTop",
|
|
53
53
|
componentId: "sc-7gs40r-3"
|
|
54
|
-
})(["width:100px;display:flex;justify-content:center;margin-left:5px;height:2.8rem;a{width:100%;height:inherit;transition:
|
|
54
|
+
})(["width:100px;display:flex;justify-content:center;margin-left:5px;height:2.8rem;a{width:100%;height:inherit;transition:all 0.3s cubic-bezier(0.5,1.5,0.5,0.80);&:hover,&:focus{width:100%;box-shadow:rgba(0,0,0,0.1) 0 0 20px 0;}}"]);
|
|
55
55
|
const Header2025MetaIcons = exports.Header2025MetaIcons = _styledComponents.default.div.withConfig({
|
|
56
56
|
displayName: "Header2025style__Header2025MetaIcons",
|
|
57
57
|
componentId: "sc-7gs40r-4"
|
|
@@ -305,7 +305,7 @@ const StyledText = exports.StyledText = (0, _styledComponents.default)(_Text.def
|
|
|
305
305
|
const DonateButtonWrapperBottom = exports.DonateButtonWrapperBottom = _styledComponents.default.div.withConfig({
|
|
306
306
|
displayName: "HeaderNav2025style__DonateButtonWrapperBottom",
|
|
307
307
|
componentId: "sc-xflhtq-12"
|
|
308
|
-
})(["display:flex;justify-content:center;padding:35px 20px;background-color:inherit;a{width:calc(100% - 10px);transition:
|
|
308
|
+
})(["display:flex;justify-content:center;padding:35px 20px;background-color:inherit;a{width:calc(100% - 10px);transition:all 0.3s cubic-bezier(0.5,1.5,0.5,0.9);&:hover,&:focus{width:100%;box-shadow:rgba(0,0,0,0.1) 0 0 20px 0;}}@media ", "{display:none;}"], _ref43 => {
|
|
309
309
|
let {
|
|
310
310
|
theme
|
|
311
311
|
} = _ref43;
|