@comicrelief/component-library 8.44.2 → 8.44.3
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.test.js +10 -0
- package/dist/components/Atoms/ErrorText/__snapshots__/ErrorText.test.js.snap +5 -0
- package/dist/components/Atoms/Input/input.test.js +10 -0
- package/dist/components/Atoms/RadioButton/RadioButton.test.js +10 -0
- package/dist/components/Atoms/Select/__snapshots__/Select.test.js.snap +5 -0
- package/dist/components/Atoms/Text/Text.js +1 -1
- package/dist/components/Atoms/Text/Text.md +69 -68
- package/dist/components/Atoms/Text/__snapshots__/Text.test.js.snap +25 -0
- package/dist/components/Atoms/TextArea/TextArea.test.js +5 -0
- package/dist/components/Atoms/TextInputWithDropdown/__snapshots__/TextInputWithDropdown.test.js.snap +15 -0
- package/dist/components/Molecules/Accordion/__snapshots__/Accordion.test.js.snap +10 -0
- package/dist/components/Molecules/ArticleTeaser/ArticleTeaser.test.js +20 -0
- package/dist/components/Molecules/Banner/__snapshots__/Banner.test.js.snap +5 -0
- package/dist/components/Molecules/Descriptor/Descriptor.test.js +15 -0
- package/dist/components/Molecules/InfoBanner/__snapshots__/InfoBanner.test.js.snap +10 -0
- package/dist/components/Molecules/PartnerLink/PartnerLink.test.js +5 -0
- package/dist/components/Molecules/Promo/Promo.test.js +4 -2
- package/dist/components/Molecules/Promo/__snapshots__/Promo.test.js.snap +26 -0
- package/dist/components/Molecules/SchoolLookup/__snapshots__/SchoolLookup.test.js.snap +5 -0
- package/dist/components/Molecules/SearchInput/SearchInput.test.js +5 -0
- package/dist/components/Molecules/SearchResult/__snapshots__/SearchResult.test.js.snap +45 -0
- package/dist/components/Molecules/SingleMessage/SingleMessage.test.js +4 -2
- package/dist/components/Molecules/SingleMessage/__snapshots__/SingleMessage.test.js.snap +41 -0
- package/dist/components/Molecules/SingleMessageDS/SingleMessageDs.test.js +2 -1
- package/dist/components/Molecules/SingleMessageDS/__snapshots__/SingleMessageDs.test.js.snap +16 -0
- package/dist/components/Molecules/Typeahead/__snapshots__/Typeahead.test.js.snap +5 -0
- package/dist/components/Organisms/CookieBanner/CookieBanner.test.js +5 -0
- package/dist/components/Organisms/Donate/__snapshots__/Donate.test.js.snap +90 -0
- package/dist/components/Organisms/EmailSignUp/__snapshots__/EmailSignUp.test.js.snap +10 -0
- package/dist/components/Organisms/Footer/__snapshots__/Footer.test.js.snap +20 -0
- package/dist/components/Organisms/Header2025/HeaderNav2025/HeaderNavItem2025.js +3 -1
- package/dist/components/Organisms/Membership/Membership.test.js +25 -0
- package/dist/components/Organisms/WYMDCarousel/__snapshots__/WYMDCarousel.test.js.snap +15 -0
- package/package.json +1 -1
- package/src/components/Atoms/Checkbox/Checkbox.test.js +10 -0
- package/src/components/Atoms/ErrorText/__snapshots__/ErrorText.test.js.snap +5 -0
- package/src/components/Atoms/Input/input.test.js +10 -0
- package/src/components/Atoms/RadioButton/RadioButton.test.js +10 -0
- package/src/components/Atoms/Select/__snapshots__/Select.test.js.snap +5 -0
- package/src/components/Atoms/Text/Text.js +6 -0
- package/src/components/Atoms/Text/Text.md +69 -68
- package/src/components/Atoms/Text/__snapshots__/Text.test.js.snap +25 -0
- package/src/components/Atoms/TextArea/TextArea.test.js +5 -0
- package/src/components/Atoms/TextInputWithDropdown/__snapshots__/TextInputWithDropdown.test.js.snap +15 -0
- package/src/components/Molecules/Accordion/__snapshots__/Accordion.test.js.snap +10 -0
- package/src/components/Molecules/ArticleTeaser/ArticleTeaser.test.js +20 -0
- package/src/components/Molecules/Banner/__snapshots__/Banner.test.js.snap +5 -0
- package/src/components/Molecules/Descriptor/Descriptor.test.js +15 -0
- package/src/components/Molecules/InfoBanner/__snapshots__/InfoBanner.test.js.snap +10 -0
- package/src/components/Molecules/PartnerLink/PartnerLink.test.js +5 -0
- package/src/components/Molecules/Promo/Promo.test.js +2 -2
- package/src/components/Molecules/Promo/__snapshots__/Promo.test.js.snap +26 -0
- package/src/components/Molecules/SchoolLookup/__snapshots__/SchoolLookup.test.js.snap +5 -0
- package/src/components/Molecules/SearchInput/SearchInput.test.js +5 -0
- package/src/components/Molecules/SearchResult/__snapshots__/SearchResult.test.js.snap +45 -0
- package/src/components/Molecules/SingleMessage/SingleMessage.test.js +2 -2
- package/src/components/Molecules/SingleMessage/__snapshots__/SingleMessage.test.js.snap +41 -0
- package/src/components/Molecules/SingleMessageDS/SingleMessageDs.test.js +1 -1
- package/src/components/Molecules/SingleMessageDS/__snapshots__/SingleMessageDs.test.js.snap +16 -0
- package/src/components/Molecules/Typeahead/__snapshots__/Typeahead.test.js.snap +5 -0
- package/src/components/Organisms/CookieBanner/CookieBanner.test.js +5 -0
- package/src/components/Organisms/Donate/__snapshots__/Donate.test.js.snap +90 -0
- package/src/components/Organisms/EmailSignUp/__snapshots__/EmailSignUp.test.js.snap +10 -0
- package/src/components/Organisms/Footer/__snapshots__/Footer.test.js.snap +20 -0
- package/src/components/Organisms/Header2025/HeaderNav2025/HeaderNavItem2025.js +1 -1
- package/src/components/Organisms/Membership/Membership.test.js +25 -0
- package/src/components/Organisms/WYMDCarousel/__snapshots__/WYMDCarousel.test.js.snap +15 -0
|
@@ -35,6 +35,11 @@ it('renders correctly', () => {
|
|
|
35
35
|
font-weight: bold;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
+
.c2 span {
|
|
39
|
+
font-size: inherit;
|
|
40
|
+
line-height: inherit;
|
|
41
|
+
}
|
|
42
|
+
|
|
38
43
|
.c0 {
|
|
39
44
|
display: -webkit-box;
|
|
40
45
|
display: -webkit-flex;
|
|
@@ -136,6 +141,11 @@ it('renders correctly', () => {
|
|
|
136
141
|
font-weight: bold;
|
|
137
142
|
}
|
|
138
143
|
|
|
144
|
+
.c2 span {
|
|
145
|
+
font-size: inherit;
|
|
146
|
+
line-height: inherit;
|
|
147
|
+
}
|
|
148
|
+
|
|
139
149
|
.c0 {
|
|
140
150
|
display: -webkit-box;
|
|
141
151
|
display: -webkit-flex;
|
|
@@ -27,6 +27,11 @@ it('renders correctly', () => {
|
|
|
27
27
|
line-height: 1.25rem;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
+
.c1 span {
|
|
31
|
+
font-size: inherit;
|
|
32
|
+
line-height: inherit;
|
|
33
|
+
}
|
|
34
|
+
|
|
30
35
|
.c0 {
|
|
31
36
|
width: 100%;
|
|
32
37
|
position: relative;
|
|
@@ -194,6 +199,11 @@ it('renders with responsive max widths correctly', () => {
|
|
|
194
199
|
line-height: 1.25rem;
|
|
195
200
|
}
|
|
196
201
|
|
|
202
|
+
.c1 span {
|
|
203
|
+
font-size: inherit;
|
|
204
|
+
line-height: inherit;
|
|
205
|
+
}
|
|
206
|
+
|
|
197
207
|
.c0 {
|
|
198
208
|
width: 100%;
|
|
199
209
|
position: relative;
|
|
@@ -37,6 +37,11 @@ it('renders correctly', () => {
|
|
|
37
37
|
font-weight: bold;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
+
.c2 span {
|
|
41
|
+
font-size: inherit;
|
|
42
|
+
line-height: inherit;
|
|
43
|
+
}
|
|
44
|
+
|
|
40
45
|
.c1 {
|
|
41
46
|
background-color: #FFFFFF;
|
|
42
47
|
z-index: 1;
|
|
@@ -147,6 +152,11 @@ it('renders correctly', () => {
|
|
|
147
152
|
font-weight: bold;
|
|
148
153
|
}
|
|
149
154
|
|
|
155
|
+
.c2 span {
|
|
156
|
+
font-size: inherit;
|
|
157
|
+
line-height: inherit;
|
|
158
|
+
}
|
|
159
|
+
|
|
150
160
|
.c1 {
|
|
151
161
|
background-color: #FFFFFF;
|
|
152
162
|
z-index: 1;
|
|
@@ -19,7 +19,7 @@ const BaseText = exports.BaseText = _styledComponents.default.span.withConfig({
|
|
|
19
19
|
as,
|
|
20
20
|
theme
|
|
21
21
|
} = _ref;
|
|
22
|
-
return as !== undefined && (0, _styledComponents.css)(["", " &{", ";", ";", ";", ";", ";", ";color:", ";", ";", ";", ";}"], (0, _fontHelper.default)(theme, as), _ref2 => {
|
|
22
|
+
return as !== undefined && (0, _styledComponents.css)(["", " &{", ";", ";", ";", ";", ";", ";color:", ";", ";", ";", ";span{font-size:inherit;line-height:inherit;}}"], (0, _fontHelper.default)(theme, as), _ref2 => {
|
|
23
23
|
let {
|
|
24
24
|
size
|
|
25
25
|
} = _ref2;
|
|
@@ -8,32 +8,32 @@ import fontConfig from '../../../theme/crTheme/fontConfig';
|
|
|
8
8
|
// To be phased out: tags to use the prescribed family always
|
|
9
9
|
family="Anton"
|
|
10
10
|
>
|
|
11
|
-
<
|
|
12
|
-
<Text style={{ textTransform: "none" }} tag="span" size="s">
|
|
13
|
-
<b>family:</b> {fontConfig['h1'].family} -
|
|
14
|
-
<b>mobileColor:</b> blue
|
|
15
|
-
<br/>
|
|
16
|
-
<b>font size (S / M / L breakpoints):</b> {fontConfig['h1'].small.fontSize} / {fontConfig['h1'].medium.fontSize} / {fontConfig['h1'].large.fontSize}
|
|
17
|
-
<br/>
|
|
18
|
-
<b>line height (S / M / L breakpoints):</b> {fontConfig['h1'].small.lineHeight} / {fontConfig['h1'].medium.lineHeight} / {fontConfig['h1'].large.lineHeight}
|
|
19
|
-
|
|
20
|
-
</Text>
|
|
11
|
+
<span style={{ width: "55px", display: "inline-block" }}>H1 </span>
|
|
21
12
|
</Text>
|
|
22
|
-
|
|
13
|
+
<Text style={{ textTransform: "none" }} tag="span" size="s">
|
|
14
|
+
<b>family:</b> {fontConfig['h1'].family} -
|
|
15
|
+
<b>mobileColor:</b> blue
|
|
16
|
+
<br/>
|
|
17
|
+
<b>font size (S / M / L breakpoints):</b> {fontConfig['h1'].small.fontSize} / {fontConfig['h1'].medium.fontSize} / {fontConfig['h1'].large.fontSize}
|
|
18
|
+
<br/>
|
|
19
|
+
<b>line height (S / M / L breakpoints):</b> {fontConfig['h1'].small.lineHeight} / {fontConfig['h1'].medium.lineHeight} / {fontConfig['h1'].large.lineHeight}
|
|
20
|
+
</Text>
|
|
21
|
+
|
|
22
|
+
|
|
23
23
|
<Text
|
|
24
24
|
tag="h2"
|
|
25
25
|
mobileColor="green"
|
|
26
26
|
family="Anton"
|
|
27
27
|
>
|
|
28
|
-
<
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
28
|
+
<span style={{ width: "55px", display: "inline-block" }}>H2 </span>
|
|
29
|
+
</Text>
|
|
30
|
+
<Text style={{ textTransform: "none" }} tag="span" size="s">
|
|
31
|
+
<b>family:</b> {fontConfig['h2'].family} -
|
|
32
|
+
<b>mobileColor:</b> green
|
|
33
|
+
<br/>
|
|
34
|
+
<b>font size (S / M / L breakpoints):</b> {fontConfig['h2'].small.fontSize} / {fontConfig['h2'].medium.fontSize} / {fontConfig['h2'].large.fontSize}
|
|
35
|
+
<br/>
|
|
36
|
+
<b>line height (S / M / L breakpoints):</b> {fontConfig['h2'].small.lineHeight} / {fontConfig['h2'].medium.lineHeight} / {fontConfig['h2'].large.lineHeight}
|
|
37
37
|
</Text>
|
|
38
38
|
|
|
39
39
|
<Text
|
|
@@ -41,15 +41,15 @@ import fontConfig from '../../../theme/crTheme/fontConfig';
|
|
|
41
41
|
mobileColor="red"
|
|
42
42
|
family="Montserrat"
|
|
43
43
|
>
|
|
44
|
-
<
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
44
|
+
<span style={{ width: "55px", display: "inline-block" }}>H3 </span>
|
|
45
|
+
</Text>
|
|
46
|
+
<Text style={{ textTransform: "none" }} tag="span" size="s">
|
|
47
|
+
<b>family:</b> {fontConfig['h3'].family} -
|
|
48
|
+
<b>mobileColor:</b> red
|
|
49
|
+
<br/>
|
|
50
|
+
<b>font size (S / M / L breakpoints):</b> {fontConfig['h3'].small.fontSize} / {fontConfig['h3'].medium.fontSize} / {fontConfig['h3'].large.fontSize}
|
|
51
|
+
<br/>
|
|
52
|
+
<b>line height (S / M / L breakpoints):</b> {fontConfig['h3'].small.lineHeight} / {fontConfig['h3'].medium.lineHeight} / {fontConfig['h3'].large.lineHeight}
|
|
53
53
|
</Text>
|
|
54
54
|
|
|
55
55
|
<Text
|
|
@@ -58,61 +58,62 @@ import fontConfig from '../../../theme/crTheme/fontConfig';
|
|
|
58
58
|
weight="normal"
|
|
59
59
|
// To be phased out: text to always be rendered as typed
|
|
60
60
|
uppercase>
|
|
61
|
-
<
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
61
|
+
<span style={{ width: "55px", display: "inline-block" }}>H4 </span>
|
|
62
|
+
</Text>
|
|
63
|
+
<Text style={{ textTransform: "none" }} tag="span" size="s">
|
|
64
|
+
<b>family:</b> {fontConfig['span'].family} -
|
|
65
|
+
<br/>
|
|
66
|
+
<b>font size (S / M / L breakpoints):</b> {fontConfig['h4'].small.fontSize} / {fontConfig['h4'].medium.fontSize} / {fontConfig['h4'].large.fontSize}
|
|
67
|
+
<br/>
|
|
68
|
+
<b>line height (S / M / L breakpoints):</b> {fontConfig['h4'].small.lineHeight} / {fontConfig['h4'].medium.lineHeight} / {fontConfig['h4'].large.lineHeight}
|
|
69
69
|
</Text>
|
|
70
70
|
|
|
71
|
-
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
<Text tag="p" size="m" style={{ marginTop: "2rem"}}>
|
|
72
74
|
<span style={{ width: "55px", display: "inline-block" }}>Body</span>
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
75
|
+
</Text>
|
|
76
|
+
<Text style={{ textTransform: "none" }} tag="span" size="s">
|
|
77
|
+
<b>family:</b> {fontConfig['p'].family} -
|
|
78
|
+
<br/>
|
|
79
|
+
<b>font size (S / M / L breakpoints):</b> {fontConfig['p'].small.fontSize} / {fontConfig['p'].medium.fontSize} / {fontConfig['p'].large.fontSize}
|
|
80
|
+
<br/>
|
|
81
|
+
<b>line height (S / M / L breakpoints):</b> {fontConfig['p'].small.lineHeight} / {fontConfig['p'].medium.lineHeight} / {fontConfig['p'].large.lineHeight}
|
|
82
|
+
</Text>
|
|
81
83
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
84
|
+
<Text tag="p" style={{ marginTop: "55px", fontStyle: "italic"}}>
|
|
85
|
+
Tags to be phased out:
|
|
86
|
+
</Text>
|
|
85
87
|
|
|
86
|
-
|
|
88
|
+
<Text
|
|
87
89
|
tag="h5"
|
|
88
90
|
family="Anton"
|
|
89
91
|
uppercase
|
|
90
92
|
// To be phased-out
|
|
91
93
|
weight="normal">
|
|
92
|
-
<
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
94
|
+
<span style={{ width: "55px", display: "inline-block" }}>H5 </span>
|
|
95
|
+
</Text>
|
|
96
|
+
<Text style={{ textTransform: "none" }} tag="span" size="s">
|
|
97
|
+
<b>family:</b> {fontConfig['h5'].family} -
|
|
98
|
+
<br/>
|
|
99
|
+
<b>font size (S / M / L breakpoints):</b> {fontConfig['h5'].small.fontSize} / {fontConfig['h5'].medium.fontSize} / {fontConfig['h5'].large.fontSize}
|
|
100
|
+
<br/>
|
|
101
|
+
<b>line height (S / M / L breakpoints):</b> {fontConfig['h5'].small.lineHeight} / {fontConfig['h5'].medium.lineHeight} / {fontConfig['h5'].large.lineHeight}
|
|
100
102
|
</Text>
|
|
101
|
-
|
|
102
103
|
|
|
103
104
|
<Text tag="h6"
|
|
104
105
|
family="Anton"
|
|
105
106
|
uppercase
|
|
106
107
|
weight="normal">
|
|
107
|
-
<
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
108
|
+
<span style={{ width: "55px", display: "inline-block" }}>H6</span>
|
|
109
|
+
</Text>
|
|
110
|
+
<Text style={{ textTransform: "none" }} tag="span" size="s">
|
|
111
|
+
<b>family:</b> {fontConfig['h6'].family}
|
|
112
|
+
<br/>
|
|
113
|
+
<b>font size (S / M / L breakpoints):</b> {fontConfig['h6'].small.fontSize} / {fontConfig['h6'].medium.fontSize} / {fontConfig['h6'].large.fontSize}
|
|
114
|
+
<br/>
|
|
115
|
+
<b>line height (S / M / L breakpoints):</b> {fontConfig['h6'].small.lineHeight} / {fontConfig['h6'].medium.lineHeight} / {fontConfig['h6'].large.lineHeight}
|
|
115
116
|
</Text>
|
|
116
|
-
|
|
117
|
+
|
|
117
118
|
</div>
|
|
118
119
|
```
|
|
@@ -17,6 +17,11 @@ exports[`renders heavy heading correctly 1`] = `
|
|
|
17
17
|
font-weight: 1000;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
.c0 span {
|
|
21
|
+
font-size: inherit;
|
|
22
|
+
line-height: inherit;
|
|
23
|
+
}
|
|
24
|
+
|
|
20
25
|
@media (min-width:740px) {
|
|
21
26
|
.c0 {
|
|
22
27
|
font-size: 1.25rem;
|
|
@@ -56,6 +61,11 @@ exports[`renders high heading correctly 1`] = `
|
|
|
56
61
|
line-height: 5;
|
|
57
62
|
}
|
|
58
63
|
|
|
64
|
+
.c0 span {
|
|
65
|
+
font-size: inherit;
|
|
66
|
+
line-height: inherit;
|
|
67
|
+
}
|
|
68
|
+
|
|
59
69
|
@media (min-width:740px) {
|
|
60
70
|
.c0 {
|
|
61
71
|
font-size: 1.25rem;
|
|
@@ -97,6 +107,11 @@ exports[`renders large heading correctly 1`] = `
|
|
|
97
107
|
line-height: normal;
|
|
98
108
|
}
|
|
99
109
|
|
|
110
|
+
.c0 span {
|
|
111
|
+
font-size: inherit;
|
|
112
|
+
line-height: inherit;
|
|
113
|
+
}
|
|
114
|
+
|
|
100
115
|
@media (min-width:740px) {
|
|
101
116
|
.c0 {
|
|
102
117
|
font-size: 1.25rem;
|
|
@@ -139,6 +154,11 @@ exports[`renders xl paragraph with Anton font correctly 1`] = `
|
|
|
139
154
|
font-family: 'Anton',Impact,sans-serif;
|
|
140
155
|
}
|
|
141
156
|
|
|
157
|
+
.c0 span {
|
|
158
|
+
font-size: inherit;
|
|
159
|
+
line-height: inherit;
|
|
160
|
+
}
|
|
161
|
+
|
|
142
162
|
@media (min-width:740px) {
|
|
143
163
|
.c0 {
|
|
144
164
|
font-size: 1rem;
|
|
@@ -181,6 +201,11 @@ exports[`renders xl yellow paragraph correctly 1`] = `
|
|
|
181
201
|
color: #FFE400;
|
|
182
202
|
}
|
|
183
203
|
|
|
204
|
+
.c0 span {
|
|
205
|
+
font-size: inherit;
|
|
206
|
+
line-height: inherit;
|
|
207
|
+
}
|
|
208
|
+
|
|
184
209
|
@media (min-width:740px) {
|
|
185
210
|
.c0 {
|
|
186
211
|
font-size: 1rem;
|
package/dist/components/Atoms/TextInputWithDropdown/__snapshots__/TextInputWithDropdown.test.js.snap
CHANGED
|
@@ -13,6 +13,11 @@ exports[`renders correctly with no value and no options 1`] = `
|
|
|
13
13
|
line-height: 1.25rem;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
.c2 span {
|
|
17
|
+
font-size: inherit;
|
|
18
|
+
line-height: inherit;
|
|
19
|
+
}
|
|
20
|
+
|
|
16
21
|
.c1 {
|
|
17
22
|
width: 100%;
|
|
18
23
|
position: relative;
|
|
@@ -182,6 +187,11 @@ exports[`renders correctly with value and no options 1`] = `
|
|
|
182
187
|
line-height: 1.25rem;
|
|
183
188
|
}
|
|
184
189
|
|
|
190
|
+
.c2 span {
|
|
191
|
+
font-size: inherit;
|
|
192
|
+
line-height: inherit;
|
|
193
|
+
}
|
|
194
|
+
|
|
185
195
|
.c1 {
|
|
186
196
|
width: 100%;
|
|
187
197
|
position: relative;
|
|
@@ -351,6 +361,11 @@ exports[`renders correctly with value and options 1`] = `
|
|
|
351
361
|
line-height: 1.25rem;
|
|
352
362
|
}
|
|
353
363
|
|
|
364
|
+
.c2 span {
|
|
365
|
+
font-size: inherit;
|
|
366
|
+
line-height: inherit;
|
|
367
|
+
}
|
|
368
|
+
|
|
354
369
|
.c1 {
|
|
355
370
|
width: 100%;
|
|
356
371
|
position: relative;
|
|
@@ -18,6 +18,11 @@ exports[`renders correctly 1`] = `
|
|
|
18
18
|
line-height: normal;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
+
.c2 span {
|
|
22
|
+
font-size: inherit;
|
|
23
|
+
line-height: inherit;
|
|
24
|
+
}
|
|
25
|
+
|
|
21
26
|
.c6 {
|
|
22
27
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
23
28
|
font-weight: 400;
|
|
@@ -35,6 +40,11 @@ exports[`renders correctly 1`] = `
|
|
|
35
40
|
line-height: normal;
|
|
36
41
|
}
|
|
37
42
|
|
|
43
|
+
.c6 span {
|
|
44
|
+
font-size: inherit;
|
|
45
|
+
line-height: inherit;
|
|
46
|
+
}
|
|
47
|
+
|
|
38
48
|
.c4 {
|
|
39
49
|
-webkit-transform: rotate(180deg);
|
|
40
50
|
-ms-transform: rotate(180deg);
|
|
@@ -37,6 +37,11 @@ it('renders article teaser correctly', () => {
|
|
|
37
37
|
font-weight: bold;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
+
.c8 span {
|
|
41
|
+
font-size: inherit;
|
|
42
|
+
line-height: inherit;
|
|
43
|
+
}
|
|
44
|
+
|
|
40
45
|
.c10 {
|
|
41
46
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
42
47
|
font-weight: 700;
|
|
@@ -58,6 +63,11 @@ it('renders article teaser correctly', () => {
|
|
|
58
63
|
text-transform: uppercase;
|
|
59
64
|
}
|
|
60
65
|
|
|
66
|
+
.c10 span {
|
|
67
|
+
font-size: inherit;
|
|
68
|
+
line-height: inherit;
|
|
69
|
+
}
|
|
70
|
+
|
|
61
71
|
.c4 {
|
|
62
72
|
display: block;
|
|
63
73
|
width: 100%;
|
|
@@ -330,6 +340,11 @@ it('renders press realese correctly', () => {
|
|
|
330
340
|
font-weight: bold;
|
|
331
341
|
}
|
|
332
342
|
|
|
343
|
+
.c8 span {
|
|
344
|
+
font-size: inherit;
|
|
345
|
+
line-height: inherit;
|
|
346
|
+
}
|
|
347
|
+
|
|
333
348
|
.c10 {
|
|
334
349
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
335
350
|
font-weight: 700;
|
|
@@ -351,6 +366,11 @@ it('renders press realese correctly', () => {
|
|
|
351
366
|
text-transform: uppercase;
|
|
352
367
|
}
|
|
353
368
|
|
|
369
|
+
.c10 span {
|
|
370
|
+
font-size: inherit;
|
|
371
|
+
line-height: inherit;
|
|
372
|
+
}
|
|
373
|
+
|
|
354
374
|
.c4 {
|
|
355
375
|
display: block;
|
|
356
376
|
width: 80px;
|
|
@@ -35,6 +35,11 @@ it('renders article teaser correctly', () => {
|
|
|
35
35
|
color: #222222;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
+
.c3 span {
|
|
39
|
+
font-size: inherit;
|
|
40
|
+
line-height: inherit;
|
|
41
|
+
}
|
|
42
|
+
|
|
38
43
|
.c7 {
|
|
39
44
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
40
45
|
font-weight: 700;
|
|
@@ -56,6 +61,11 @@ it('renders article teaser correctly', () => {
|
|
|
56
61
|
text-transform: uppercase;
|
|
57
62
|
}
|
|
58
63
|
|
|
64
|
+
.c7 span {
|
|
65
|
+
font-size: inherit;
|
|
66
|
+
line-height: inherit;
|
|
67
|
+
}
|
|
68
|
+
|
|
59
69
|
.c10 {
|
|
60
70
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
61
71
|
font-weight: 400;
|
|
@@ -76,6 +86,11 @@ it('renders article teaser correctly', () => {
|
|
|
76
86
|
color: #222222;
|
|
77
87
|
}
|
|
78
88
|
|
|
89
|
+
.c10 span {
|
|
90
|
+
font-size: inherit;
|
|
91
|
+
line-height: inherit;
|
|
92
|
+
}
|
|
93
|
+
|
|
79
94
|
.c0 {
|
|
80
95
|
position: relative;
|
|
81
96
|
width: 100%;
|
|
@@ -19,6 +19,11 @@ exports[`renders correctly 1`] = `
|
|
|
19
19
|
text-transform: uppercase;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
+
.c2 span {
|
|
23
|
+
font-size: inherit;
|
|
24
|
+
line-height: inherit;
|
|
25
|
+
}
|
|
26
|
+
|
|
22
27
|
.c3 {
|
|
23
28
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
24
29
|
font-weight: 400;
|
|
@@ -36,6 +41,11 @@ exports[`renders correctly 1`] = `
|
|
|
36
41
|
line-height: normal;
|
|
37
42
|
}
|
|
38
43
|
|
|
44
|
+
.c3 span {
|
|
45
|
+
font-size: inherit;
|
|
46
|
+
line-height: inherit;
|
|
47
|
+
}
|
|
48
|
+
|
|
39
49
|
.c4 {
|
|
40
50
|
position: relative;
|
|
41
51
|
display: inline;
|
|
@@ -24,7 +24,8 @@ it('renders Promo correctly', () => {
|
|
|
24
24
|
weight: "normal"
|
|
25
25
|
}, "Curabitur pretium tincidunt lacus"), /*#__PURE__*/_react.default.createElement(_Text.default, {
|
|
26
26
|
tag: "p",
|
|
27
|
-
color: "white"
|
|
27
|
+
color: "white",
|
|
28
|
+
size: "s"
|
|
28
29
|
}, "Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo, est eros bibendum elit, nec luctus magna sollicitudin."), /*#__PURE__*/_react.default.createElement("span", null, /*#__PURE__*/_react.default.createElement(_Link.default, {
|
|
29
30
|
href: "/",
|
|
30
31
|
type: "button",
|
|
@@ -49,7 +50,8 @@ it('renders Promo correctly end position', () => {
|
|
|
49
50
|
weight: "normal"
|
|
50
51
|
}, "Curabitur pretium tincidunt lacus"), /*#__PURE__*/_react.default.createElement(_Text.default, {
|
|
51
52
|
tag: "p",
|
|
52
|
-
color: "white"
|
|
53
|
+
color: "white",
|
|
54
|
+
size: "s"
|
|
53
55
|
}, "Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo, est eros bibendum elit, nec luctus magna sollicitudin."), /*#__PURE__*/_react.default.createElement("span", null, /*#__PURE__*/_react.default.createElement(_Link.default, {
|
|
54
56
|
href: "/",
|
|
55
57
|
type: "button",
|
|
@@ -24,6 +24,11 @@ exports[`renders Promo correctly 1`] = `
|
|
|
24
24
|
line-height: 3rem;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
.c7 span {
|
|
28
|
+
font-size: inherit;
|
|
29
|
+
line-height: inherit;
|
|
30
|
+
}
|
|
31
|
+
|
|
27
32
|
.c8 {
|
|
28
33
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
29
34
|
font-weight: 400;
|
|
@@ -37,9 +42,16 @@ exports[`renders Promo correctly 1`] = `
|
|
|
37
42
|
}
|
|
38
43
|
|
|
39
44
|
.c8 {
|
|
45
|
+
font-size: 1rem;
|
|
46
|
+
line-height: normal;
|
|
40
47
|
color: #FFFFFF;
|
|
41
48
|
}
|
|
42
49
|
|
|
50
|
+
.c8 span {
|
|
51
|
+
font-size: inherit;
|
|
52
|
+
line-height: inherit;
|
|
53
|
+
}
|
|
54
|
+
|
|
43
55
|
.c2 {
|
|
44
56
|
display: block;
|
|
45
57
|
width: 100%;
|
|
@@ -297,6 +309,7 @@ exports[`renders Promo correctly 1`] = `
|
|
|
297
309
|
<p
|
|
298
310
|
className="c8"
|
|
299
311
|
color="white"
|
|
312
|
+
size="s"
|
|
300
313
|
>
|
|
301
314
|
Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo, est eros bibendum elit, nec luctus magna sollicitudin.
|
|
302
315
|
</p>
|
|
@@ -341,6 +354,11 @@ exports[`renders Promo correctly end position 1`] = `
|
|
|
341
354
|
line-height: 3rem;
|
|
342
355
|
}
|
|
343
356
|
|
|
357
|
+
.c7 span {
|
|
358
|
+
font-size: inherit;
|
|
359
|
+
line-height: inherit;
|
|
360
|
+
}
|
|
361
|
+
|
|
344
362
|
.c8 {
|
|
345
363
|
font-family: 'Montserrat',Helvetica,Arial,sans-serif;
|
|
346
364
|
font-weight: 400;
|
|
@@ -354,9 +372,16 @@ exports[`renders Promo correctly end position 1`] = `
|
|
|
354
372
|
}
|
|
355
373
|
|
|
356
374
|
.c8 {
|
|
375
|
+
font-size: 1rem;
|
|
376
|
+
line-height: normal;
|
|
357
377
|
color: #FFFFFF;
|
|
358
378
|
}
|
|
359
379
|
|
|
380
|
+
.c8 span {
|
|
381
|
+
font-size: inherit;
|
|
382
|
+
line-height: inherit;
|
|
383
|
+
}
|
|
384
|
+
|
|
360
385
|
.c2 {
|
|
361
386
|
display: block;
|
|
362
387
|
width: 100%;
|
|
@@ -625,6 +650,7 @@ exports[`renders Promo correctly end position 1`] = `
|
|
|
625
650
|
<p
|
|
626
651
|
className="c8"
|
|
627
652
|
color="white"
|
|
653
|
+
size="s"
|
|
628
654
|
>
|
|
629
655
|
Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo, est eros bibendum elit, nec luctus magna sollicitudin.
|
|
630
656
|
</p>
|