@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
|
@@ -33,14 +33,11 @@ exports[`renders Column view correctly 1`] = `
|
|
|
33
33
|
display: -ms-inline-flexbox;
|
|
34
34
|
display: inline-flex;
|
|
35
35
|
position: relative;
|
|
36
|
-
padding: 0.5rem 1.25rem;
|
|
37
36
|
-webkit-text-decoration: none;
|
|
38
37
|
text-decoration: none;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
-
|
|
42
|
-
transition: all 0.3s;
|
|
43
|
-
height: 3.125rem;
|
|
38
|
+
-webkit-transition: all 0.2s;
|
|
39
|
+
transition: all 0.2s;
|
|
40
|
+
min-height: 2.5em;
|
|
44
41
|
width: 100%;
|
|
45
42
|
-webkit-box-pack: center;
|
|
46
43
|
-webkit-justify-content: center;
|
|
@@ -50,9 +47,14 @@ exports[`renders Column view correctly 1`] = `
|
|
|
50
47
|
-webkit-box-align: center;
|
|
51
48
|
-ms-flex-align: center;
|
|
52
49
|
align-items: center;
|
|
50
|
+
border: none;
|
|
53
51
|
cursor: pointer;
|
|
52
|
+
padding: 0.6rem 1rem;
|
|
53
|
+
border-radius: 0.5rem;
|
|
54
|
+
background-color: #E52630;
|
|
55
|
+
color: #FFFFFF;
|
|
54
56
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
55
|
-
font-weight:
|
|
57
|
+
font-weight: 700;
|
|
56
58
|
text-transform: inherit;
|
|
57
59
|
-webkit-letter-spacing: 0;
|
|
58
60
|
-moz-letter-spacing: 0;
|
|
@@ -60,14 +62,19 @@ exports[`renders Column view correctly 1`] = `
|
|
|
60
62
|
letter-spacing: 0;
|
|
61
63
|
font-size: 1rem;
|
|
62
64
|
line-height: 1.25rem;
|
|
63
|
-
font-weight: 700;
|
|
64
|
-
background-color: #E52630;
|
|
65
|
-
color: #FFFFFF;
|
|
66
65
|
}
|
|
67
66
|
|
|
68
|
-
.c7:hover
|
|
67
|
+
.c7:hover,
|
|
68
|
+
.c7:focus,
|
|
69
|
+
.c7:focus-within,
|
|
70
|
+
.c7:focus-visible {
|
|
69
71
|
background-color: #890B11;
|
|
70
|
-
|
|
72
|
+
outline-offset: 3px;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.c7:disabled {
|
|
76
|
+
cursor: not-allowed;
|
|
77
|
+
opacity: 0.5;
|
|
71
78
|
}
|
|
72
79
|
|
|
73
80
|
.c9 {
|
|
@@ -158,13 +165,7 @@ exports[`renders Column view correctly 1`] = `
|
|
|
158
165
|
|
|
159
166
|
@media (min-width:1024px) {
|
|
160
167
|
.c7 {
|
|
161
|
-
|
|
162
|
-
color: #FFFFFF;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.c7:hover {
|
|
166
|
-
background-color: #890B11;
|
|
167
|
-
color: #FFFFFF;
|
|
168
|
+
width: auto;
|
|
168
169
|
}
|
|
169
170
|
}
|
|
170
171
|
|
|
@@ -213,7 +214,7 @@ exports[`renders Column view correctly 1`] = `
|
|
|
213
214
|
<a
|
|
214
215
|
aria-hidden="true"
|
|
215
216
|
className="c1"
|
|
216
|
-
data-image-cta-copy="
|
|
217
|
+
data-image-cta-copy="Find out more"
|
|
217
218
|
href="/home"
|
|
218
219
|
tabIndex="-1"
|
|
219
220
|
target="_blank"
|
|
@@ -252,13 +253,13 @@ exports[`renders Column view correctly 1`] = `
|
|
|
252
253
|
<a
|
|
253
254
|
className="c7"
|
|
254
255
|
color="red"
|
|
255
|
-
data-button-cta-copy="
|
|
256
|
+
data-button-cta-copy="Find out more"
|
|
256
257
|
href="/home"
|
|
257
258
|
rel={null}
|
|
258
259
|
target="_self"
|
|
259
260
|
type="button"
|
|
260
261
|
>
|
|
261
|
-
|
|
262
|
+
Find out more
|
|
262
263
|
<span
|
|
263
264
|
className="c8"
|
|
264
265
|
type="button"
|
|
@@ -314,14 +315,11 @@ exports[`renders correctly 1`] = `
|
|
|
314
315
|
display: -ms-inline-flexbox;
|
|
315
316
|
display: inline-flex;
|
|
316
317
|
position: relative;
|
|
317
|
-
padding: 0.5rem 1.25rem;
|
|
318
318
|
-webkit-text-decoration: none;
|
|
319
319
|
text-decoration: none;
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
-
|
|
323
|
-
transition: all 0.3s;
|
|
324
|
-
height: 3.125rem;
|
|
320
|
+
-webkit-transition: all 0.2s;
|
|
321
|
+
transition: all 0.2s;
|
|
322
|
+
min-height: 2.5em;
|
|
325
323
|
width: 100%;
|
|
326
324
|
-webkit-box-pack: center;
|
|
327
325
|
-webkit-justify-content: center;
|
|
@@ -331,9 +329,14 @@ exports[`renders correctly 1`] = `
|
|
|
331
329
|
-webkit-box-align: center;
|
|
332
330
|
-ms-flex-align: center;
|
|
333
331
|
align-items: center;
|
|
332
|
+
border: none;
|
|
334
333
|
cursor: pointer;
|
|
334
|
+
padding: 0.6rem 1rem;
|
|
335
|
+
border-radius: 0.5rem;
|
|
336
|
+
background-color: #E52630;
|
|
337
|
+
color: #FFFFFF;
|
|
335
338
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
336
|
-
font-weight:
|
|
339
|
+
font-weight: 700;
|
|
337
340
|
text-transform: inherit;
|
|
338
341
|
-webkit-letter-spacing: 0;
|
|
339
342
|
-moz-letter-spacing: 0;
|
|
@@ -341,14 +344,19 @@ exports[`renders correctly 1`] = `
|
|
|
341
344
|
letter-spacing: 0;
|
|
342
345
|
font-size: 1rem;
|
|
343
346
|
line-height: 1.25rem;
|
|
344
|
-
font-weight: 700;
|
|
345
|
-
background-color: #E52630;
|
|
346
|
-
color: #FFFFFF;
|
|
347
347
|
}
|
|
348
348
|
|
|
349
|
-
.c7:hover
|
|
349
|
+
.c7:hover,
|
|
350
|
+
.c7:focus,
|
|
351
|
+
.c7:focus-within,
|
|
352
|
+
.c7:focus-visible {
|
|
350
353
|
background-color: #890B11;
|
|
351
|
-
|
|
354
|
+
outline-offset: 3px;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.c7:disabled {
|
|
358
|
+
cursor: not-allowed;
|
|
359
|
+
opacity: 0.5;
|
|
352
360
|
}
|
|
353
361
|
|
|
354
362
|
.c9 {
|
|
@@ -439,13 +447,7 @@ exports[`renders correctly 1`] = `
|
|
|
439
447
|
|
|
440
448
|
@media (min-width:1024px) {
|
|
441
449
|
.c7 {
|
|
442
|
-
|
|
443
|
-
color: #FFFFFF;
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
.c7:hover {
|
|
447
|
-
background-color: #890B11;
|
|
448
|
-
color: #FFFFFF;
|
|
450
|
+
width: auto;
|
|
449
451
|
}
|
|
450
452
|
}
|
|
451
453
|
|
|
@@ -1,22 +1,9 @@
|
|
|
1
1
|
import React, { useCallback, useState } from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
import styled, { css } from 'styled-components';
|
|
4
3
|
import TextInputWithDropdown from '../../Atoms/TextInputWithDropdown/TextInputWithDropdown';
|
|
5
4
|
import spacing from '../../../theme/shared/spacing';
|
|
6
5
|
import ButtonWithStates from '../../Atoms/ButtonWithStates/ButtonWithStates';
|
|
7
6
|
|
|
8
|
-
const StyledButton = styled(ButtonWithStates)`${({ theme }) => css`
|
|
9
|
-
color: ${theme.color('grey_dark')};
|
|
10
|
-
border: 2px solid ${theme.color('grey_dark')};
|
|
11
|
-
background-color: ${theme.color('white')};
|
|
12
|
-
padding-left: ${spacing('lg')};
|
|
13
|
-
padding-right: ${spacing('lg')};
|
|
14
|
-
&:hover {
|
|
15
|
-
color: ${theme.color('grey_dark')};
|
|
16
|
-
background-color: ${theme.color('white')};
|
|
17
|
-
}
|
|
18
|
-
`}`;
|
|
19
|
-
|
|
20
7
|
const KEY_CODE_ENTER = 13;
|
|
21
8
|
|
|
22
9
|
/**
|
|
@@ -114,16 +101,18 @@ const Lookup = ({
|
|
|
114
101
|
errorMsg={errorMessage}
|
|
115
102
|
dropdownInstruction={dropdownInstruction}
|
|
116
103
|
/>
|
|
117
|
-
<
|
|
104
|
+
<ButtonWithStates
|
|
118
105
|
type="button"
|
|
119
106
|
onClick={() => handler()}
|
|
120
107
|
loading={isSearching}
|
|
121
108
|
disabled={isSearching}
|
|
122
109
|
loadingText="Searching"
|
|
123
110
|
data-test="lookupButton"
|
|
111
|
+
buttonType="secondary"
|
|
112
|
+
color="black"
|
|
124
113
|
>
|
|
125
114
|
{buttonText}
|
|
126
|
-
</
|
|
115
|
+
</ButtonWithStates>
|
|
127
116
|
</div>
|
|
128
117
|
);
|
|
129
118
|
};
|
|
@@ -72,14 +72,11 @@ exports[`renders Promo correctly 1`] = `
|
|
|
72
72
|
display: -ms-inline-flexbox;
|
|
73
73
|
display: inline-flex;
|
|
74
74
|
position: relative;
|
|
75
|
-
padding: 0.5rem 1.25rem;
|
|
76
75
|
-webkit-text-decoration: none;
|
|
77
76
|
text-decoration: none;
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
-
|
|
81
|
-
transition: all 0.3s;
|
|
82
|
-
height: 3.125rem;
|
|
77
|
+
-webkit-transition: all 0.2s;
|
|
78
|
+
transition: all 0.2s;
|
|
79
|
+
min-height: 2.5em;
|
|
83
80
|
width: 100%;
|
|
84
81
|
-webkit-box-pack: center;
|
|
85
82
|
-webkit-justify-content: center;
|
|
@@ -89,9 +86,14 @@ exports[`renders Promo correctly 1`] = `
|
|
|
89
86
|
-webkit-box-align: center;
|
|
90
87
|
-ms-flex-align: center;
|
|
91
88
|
align-items: center;
|
|
89
|
+
border: none;
|
|
92
90
|
cursor: pointer;
|
|
91
|
+
padding: 0.6rem 1rem;
|
|
92
|
+
border-radius: 0.5rem;
|
|
93
|
+
background-color: #FFFFFF;
|
|
94
|
+
color: #000000;
|
|
93
95
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
94
|
-
font-weight:
|
|
96
|
+
font-weight: 700;
|
|
95
97
|
text-transform: inherit;
|
|
96
98
|
-webkit-letter-spacing: 0;
|
|
97
99
|
-moz-letter-spacing: 0;
|
|
@@ -99,14 +101,19 @@ exports[`renders Promo correctly 1`] = `
|
|
|
99
101
|
letter-spacing: 0;
|
|
100
102
|
font-size: 1rem;
|
|
101
103
|
line-height: 1.25rem;
|
|
102
|
-
font-weight: 700;
|
|
103
|
-
background-color: #FFFFFF;
|
|
104
|
-
color: #000000;
|
|
105
104
|
}
|
|
106
105
|
|
|
107
|
-
.c9:hover
|
|
108
|
-
|
|
109
|
-
|
|
106
|
+
.c9:hover,
|
|
107
|
+
.c9:focus,
|
|
108
|
+
.c9:focus-within,
|
|
109
|
+
.c9:focus-visible {
|
|
110
|
+
background-color: #E1E2E3;
|
|
111
|
+
outline-offset: 3px;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.c9:disabled {
|
|
115
|
+
cursor: not-allowed;
|
|
116
|
+
opacity: 0.5;
|
|
110
117
|
}
|
|
111
118
|
|
|
112
119
|
.c0 {
|
|
@@ -239,13 +246,7 @@ exports[`renders Promo correctly 1`] = `
|
|
|
239
246
|
|
|
240
247
|
@media (min-width:1024px) {
|
|
241
248
|
.c9 {
|
|
242
|
-
|
|
243
|
-
color: #000000;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
.c9:hover {
|
|
247
|
-
background-color: #969598;
|
|
248
|
-
color: #000000;
|
|
249
|
+
width: auto;
|
|
249
250
|
}
|
|
250
251
|
}
|
|
251
252
|
|
|
@@ -421,14 +422,11 @@ exports[`renders Promo correctly end position 1`] = `
|
|
|
421
422
|
display: -ms-inline-flexbox;
|
|
422
423
|
display: inline-flex;
|
|
423
424
|
position: relative;
|
|
424
|
-
padding: 0.5rem 1.25rem;
|
|
425
425
|
-webkit-text-decoration: none;
|
|
426
426
|
text-decoration: none;
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
-
|
|
430
|
-
transition: all 0.3s;
|
|
431
|
-
height: 3.125rem;
|
|
427
|
+
-webkit-transition: all 0.2s;
|
|
428
|
+
transition: all 0.2s;
|
|
429
|
+
min-height: 2.5em;
|
|
432
430
|
width: 100%;
|
|
433
431
|
-webkit-box-pack: center;
|
|
434
432
|
-webkit-justify-content: center;
|
|
@@ -438,9 +436,14 @@ exports[`renders Promo correctly end position 1`] = `
|
|
|
438
436
|
-webkit-box-align: center;
|
|
439
437
|
-ms-flex-align: center;
|
|
440
438
|
align-items: center;
|
|
439
|
+
border: none;
|
|
441
440
|
cursor: pointer;
|
|
441
|
+
padding: 0.6rem 1rem;
|
|
442
|
+
border-radius: 0.5rem;
|
|
443
|
+
background-color: #FFFFFF;
|
|
444
|
+
color: #000000;
|
|
442
445
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
443
|
-
font-weight:
|
|
446
|
+
font-weight: 700;
|
|
444
447
|
text-transform: inherit;
|
|
445
448
|
-webkit-letter-spacing: 0;
|
|
446
449
|
-moz-letter-spacing: 0;
|
|
@@ -448,14 +451,19 @@ exports[`renders Promo correctly end position 1`] = `
|
|
|
448
451
|
letter-spacing: 0;
|
|
449
452
|
font-size: 1rem;
|
|
450
453
|
line-height: 1.25rem;
|
|
451
|
-
font-weight: 700;
|
|
452
|
-
background-color: #FFFFFF;
|
|
453
|
-
color: #000000;
|
|
454
454
|
}
|
|
455
455
|
|
|
456
|
-
.c9:hover
|
|
457
|
-
|
|
458
|
-
|
|
456
|
+
.c9:hover,
|
|
457
|
+
.c9:focus,
|
|
458
|
+
.c9:focus-within,
|
|
459
|
+
.c9:focus-visible {
|
|
460
|
+
background-color: #E1E2E3;
|
|
461
|
+
outline-offset: 3px;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
.c9:disabled {
|
|
465
|
+
cursor: not-allowed;
|
|
466
|
+
opacity: 0.5;
|
|
459
467
|
}
|
|
460
468
|
|
|
461
469
|
.c0 {
|
|
@@ -591,13 +599,7 @@ exports[`renders Promo correctly end position 1`] = `
|
|
|
591
599
|
|
|
592
600
|
@media (min-width:1024px) {
|
|
593
601
|
.c9 {
|
|
594
|
-
|
|
595
|
-
color: #000000;
|
|
596
|
-
}
|
|
597
|
-
|
|
598
|
-
.c9:hover {
|
|
599
|
-
background-color: #969598;
|
|
600
|
-
color: #000000;
|
|
602
|
+
width: auto;
|
|
601
603
|
}
|
|
602
604
|
}
|
|
603
605
|
|
|
@@ -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
|
|
|
@@ -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
|
|
|
@@ -60,14 +60,11 @@ it('renders correctly', () => {
|
|
|
60
60
|
display: -ms-inline-flexbox;
|
|
61
61
|
display: inline-flex;
|
|
62
62
|
position: relative;
|
|
63
|
-
padding: 0.5rem 1.25rem;
|
|
64
63
|
-webkit-text-decoration: none;
|
|
65
64
|
text-decoration: none;
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
-
|
|
69
|
-
transition: all 0.3s;
|
|
70
|
-
height: 3.125rem;
|
|
65
|
+
-webkit-transition: all 0.2s;
|
|
66
|
+
transition: all 0.2s;
|
|
67
|
+
min-height: 2.5em;
|
|
71
68
|
width: 100%;
|
|
72
69
|
-webkit-box-pack: center;
|
|
73
70
|
-webkit-justify-content: center;
|
|
@@ -77,9 +74,14 @@ it('renders correctly', () => {
|
|
|
77
74
|
-webkit-box-align: center;
|
|
78
75
|
-ms-flex-align: center;
|
|
79
76
|
align-items: center;
|
|
77
|
+
border: none;
|
|
80
78
|
cursor: pointer;
|
|
79
|
+
padding: 0.6rem 1rem;
|
|
80
|
+
border-radius: 0.5rem;
|
|
81
|
+
background-color: #FFFFFF;
|
|
82
|
+
color: #000000;
|
|
81
83
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
82
|
-
font-weight:
|
|
84
|
+
font-weight: 700;
|
|
83
85
|
text-transform: inherit;
|
|
84
86
|
-webkit-letter-spacing: 0;
|
|
85
87
|
-moz-letter-spacing: 0;
|
|
@@ -87,14 +89,19 @@ it('renders correctly', () => {
|
|
|
87
89
|
letter-spacing: 0;
|
|
88
90
|
font-size: 1rem;
|
|
89
91
|
line-height: 1.25rem;
|
|
90
|
-
font-weight: 700;
|
|
91
|
-
background-color: #FFFFFF;
|
|
92
|
-
color: #000000;
|
|
93
92
|
}
|
|
94
93
|
|
|
95
|
-
.c5:hover
|
|
96
|
-
|
|
97
|
-
|
|
94
|
+
.c5:hover,
|
|
95
|
+
.c5:focus,
|
|
96
|
+
.c5:focus-within,
|
|
97
|
+
.c5:focus-visible {
|
|
98
|
+
background-color: #E1E2E3;
|
|
99
|
+
outline-offset: 3px;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.c5:disabled {
|
|
103
|
+
cursor: not-allowed;
|
|
104
|
+
opacity: 0.5;
|
|
98
105
|
}
|
|
99
106
|
|
|
100
107
|
.c0 {
|
|
@@ -168,13 +175,7 @@ it('renders correctly', () => {
|
|
|
168
175
|
|
|
169
176
|
@media (min-width:1024px) {
|
|
170
177
|
.c5 {
|
|
171
|
-
|
|
172
|
-
color: #000000;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
.c5:hover {
|
|
176
|
-
background-color: #969598;
|
|
177
|
-
color: #000000;
|
|
178
|
+
width: auto;
|
|
178
179
|
}
|
|
179
180
|
}
|
|
180
181
|
|