@newskit-render/core 1.44.2 → 1.48.2
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/CHANGELOG.md +111 -0
- package/__tests__/pages/[articleSlug].test.tsx +59 -18
- package/__tests__/pages/__snapshots__/home.test.tsx.snap +769 -1261
- package/components/article/Highlights.tsx +4 -33
- package/components/article/RelatedArticles.tsx +4 -53
- package/components/article/__tests__/__snapshots__/index.test.tsx.snap +53 -43
- package/components/section/ArticleSlice.tsx +17 -43
- package/components/section/CollectionBlock.tsx +38 -6
- package/components/section/__tests__/ArticleSlice.test.tsx +37 -51
- package/components/section/__tests__/CollectionBlock.test.tsx +63 -13
- package/components/section/__tests__/pageBlock.test.tsx +8 -4
- package/components/section/index.tsx +17 -12
- package/components/section/layouts/Lead.tsx +36 -15
- package/components/section/layouts/Rows.tsx +67 -0
- package/components/section/layouts/{SectionRow.tsx → SectionTitle.tsx} +24 -52
- package/components/section/layouts/__tests__/Lead.test.tsx +31 -6
- package/components/section/layouts/__tests__/Rows.test.tsx +28 -0
- package/components/section/layouts/__tests__/SectionTitle.test.tsx +36 -0
- package/components/section/layouts/__tests__/__snapshots__/Lead.test.tsx.snap +274 -315
- package/components/section/layouts/__tests__/__snapshots__/SectionTitle.test.tsx.snap +942 -0
- package/components/section/layouts/gridUtils.ts +12 -9
- package/components/section/layouts/index.tsx +2 -1
- package/components/section/layouts/types.ts +5 -1
- package/components/section/{pageBlock.ts → pageBlock.tsx} +5 -2
- package/components/teaser/index.tsx +7 -6
- package/components/teaser/teaserVariants.ts +2 -0
- package/components/teaser/variants/horizontal.ts +14 -0
- package/cypress/e2e/account/account-page.spec.js +27 -1
- package/cypress/e2e/account/account-subscription.spec.js +2 -2
- package/cypress/e2e/account/main-api.spec.js +4 -4
- package/cypress/support/commands.js +4 -4
- package/helpers/mocks/getPageMock.ts +2 -59
- package/next.config.js +4 -0
- package/package.json +8 -7
- package/pages/[section]/[articleId]/[articleSlug].tsx +14 -3
- package/pages/api/feed.ts +19 -0
- package/pages/api/news-sitemap.ts +10 -2
- package/pages/api/sitemap.ts +10 -6
- package/components/section/layouts/Row.tsx +0 -28
- package/components/section/layouts/__tests__/SectionRow.test.tsx +0 -56
- package/components/section/layouts/__tests__/__snapshots__/SectionRow.test.tsx.snap +0 -4542
|
@@ -1,103 +1,38 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`Lead 1`] = `
|
|
3
|
+
exports[`Lead should render Lead 1`] = `
|
|
4
4
|
<DocumentFragment>
|
|
5
5
|
.emotion-0 {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.emotion-1 {
|
|
12
|
-
box-sizing: border-box;
|
|
13
|
-
-webkit-background-clip: padding-box;
|
|
14
|
-
background-clip: padding-box;
|
|
15
|
-
display: -webkit-box;
|
|
16
|
-
display: -webkit-flex;
|
|
17
|
-
display: -ms-flexbox;
|
|
18
|
-
display: flex;
|
|
19
|
-
-webkit-box-flex-wrap: wrap;
|
|
20
|
-
-webkit-flex-wrap: wrap;
|
|
21
|
-
-ms-flex-wrap: wrap;
|
|
22
|
-
flex-wrap: wrap;
|
|
23
|
-
-webkit-flex-direction: row;
|
|
24
|
-
-ms-flex-direction: row;
|
|
25
|
-
flex-direction: row;
|
|
6
|
+
display: grid;
|
|
7
|
+
-webkit-column-gap: 24px;
|
|
8
|
+
column-gap: 24px;
|
|
26
9
|
}
|
|
27
10
|
|
|
28
|
-
@media screen {
|
|
29
|
-
.emotion-
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
@media screen and (min-width: 480px) {
|
|
35
|
-
.emotion-1 {
|
|
36
|
-
margin: -40px 8px 0 8px;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
@media screen and (min-width: 768px) {
|
|
41
|
-
.emotion-1 {
|
|
42
|
-
margin: -32px 8px 0 8px;
|
|
11
|
+
@media screen and (max-width: 767px) {
|
|
12
|
+
.emotion-0 {
|
|
13
|
+
row-gap: 40px;
|
|
43
14
|
}
|
|
44
15
|
}
|
|
45
16
|
|
|
46
|
-
@media screen and (min-width:
|
|
47
|
-
.emotion-
|
|
48
|
-
|
|
17
|
+
@media screen and (min-width: 768px) and (max-width: 1439px) {
|
|
18
|
+
.emotion-0 {
|
|
19
|
+
row-gap: 32px;
|
|
49
20
|
}
|
|
50
21
|
}
|
|
51
22
|
|
|
52
23
|
@media screen and (min-width: 1440px) {
|
|
53
|
-
.emotion-
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.emotion-2 {
|
|
59
|
-
box-sizing: border-box;
|
|
60
|
-
-webkit-background-clip: padding-box;
|
|
61
|
-
background-clip: padding-box;
|
|
62
|
-
-webkit-flex: 1 0 auto;
|
|
63
|
-
-ms-flex: 1 0 auto;
|
|
64
|
-
flex: 1 0 auto;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
@media screen {
|
|
68
|
-
.emotion-2 {
|
|
69
|
-
padding: 0 8px;
|
|
70
|
-
margin-top: 40px;
|
|
71
|
-
-webkit-flex-basis: 100%;
|
|
72
|
-
-ms-flex-preferred-size: 100%;
|
|
73
|
-
flex-basis: 100%;
|
|
74
|
-
max-width: 100%;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
@media screen and (min-width: 768px) {
|
|
79
|
-
.emotion-2 {
|
|
80
|
-
margin-top: 32px;
|
|
24
|
+
.emotion-0 {
|
|
25
|
+
row-gap: 0;
|
|
81
26
|
}
|
|
82
27
|
}
|
|
83
28
|
|
|
84
29
|
@media screen and (min-width: 1024px) {
|
|
85
|
-
.emotion-
|
|
86
|
-
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
@media screen and (min-width: 1440px) {
|
|
91
|
-
.emotion-2 {
|
|
92
|
-
margin-top: 0;
|
|
93
|
-
-webkit-flex-basis: 66.66666666666667%;
|
|
94
|
-
-ms-flex-preferred-size: 66.66666666666667%;
|
|
95
|
-
flex-basis: 66.66666666666667%;
|
|
96
|
-
max-width: 66.66666666666667%;
|
|
30
|
+
.emotion-0 {
|
|
31
|
+
grid-template-columns: 2fr 1fr;
|
|
97
32
|
}
|
|
98
33
|
}
|
|
99
34
|
|
|
100
|
-
.emotion-
|
|
35
|
+
.emotion-2 {
|
|
101
36
|
box-sizing: border-box;
|
|
102
37
|
overflow: hidden;
|
|
103
38
|
color: #2E2E2E;
|
|
@@ -112,25 +47,25 @@ exports[`Lead 1`] = `
|
|
|
112
47
|
flex-direction: column;
|
|
113
48
|
}
|
|
114
49
|
|
|
115
|
-
.emotion-
|
|
50
|
+
.emotion-3 {
|
|
116
51
|
box-sizing: border-box;
|
|
117
52
|
display: block;
|
|
118
53
|
position: relative;
|
|
119
54
|
}
|
|
120
55
|
|
|
121
56
|
@media screen and (max-width: 767px) {
|
|
122
|
-
.emotion-
|
|
57
|
+
.emotion-3 {
|
|
123
58
|
margin-bottom: 20px;
|
|
124
59
|
}
|
|
125
60
|
}
|
|
126
61
|
|
|
127
62
|
@media screen and (min-width: 768px) {
|
|
128
|
-
.emotion-
|
|
63
|
+
.emotion-3 {
|
|
129
64
|
margin-bottom: 24px;
|
|
130
65
|
}
|
|
131
66
|
}
|
|
132
67
|
|
|
133
|
-
.emotion-
|
|
68
|
+
.emotion-4 {
|
|
134
69
|
position: relative;
|
|
135
70
|
width: 100%;
|
|
136
71
|
display: block;
|
|
@@ -140,7 +75,7 @@ exports[`Lead 1`] = `
|
|
|
140
75
|
border-radius: 0;
|
|
141
76
|
}
|
|
142
77
|
|
|
143
|
-
.emotion-
|
|
78
|
+
.emotion-5 {
|
|
144
79
|
opacity: 1;
|
|
145
80
|
display: block;
|
|
146
81
|
border-radius: inherit;
|
|
@@ -150,20 +85,32 @@ exports[`Lead 1`] = `
|
|
|
150
85
|
animation: fadeIn 300ms;
|
|
151
86
|
}
|
|
152
87
|
|
|
153
|
-
.emotion-
|
|
88
|
+
.emotion-6 {
|
|
154
89
|
box-sizing: border-box;
|
|
155
90
|
}
|
|
156
91
|
|
|
157
|
-
.emotion-
|
|
92
|
+
.emotion-7 {
|
|
158
93
|
box-sizing: border-box;
|
|
159
94
|
padding: 0;
|
|
160
95
|
}
|
|
161
96
|
|
|
162
|
-
.emotion-
|
|
97
|
+
.emotion-7 a:not(.nk-card-link) {
|
|
163
98
|
z-index: 2;
|
|
164
99
|
position: relative;
|
|
165
100
|
}
|
|
166
101
|
|
|
102
|
+
@media screen and (max-width: 767px) {
|
|
103
|
+
.emotion-8 {
|
|
104
|
+
margin-bottom: 20px;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
@media screen and (min-width: 768px) {
|
|
109
|
+
.emotion-8 {
|
|
110
|
+
margin-bottom: 24px;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
167
114
|
.emotion-9 {
|
|
168
115
|
-webkit-text-decoration: none;
|
|
169
116
|
text-decoration: none;
|
|
@@ -223,27 +170,6 @@ exports[`Lead 1`] = `
|
|
|
223
170
|
|
|
224
171
|
@media screen and (max-width: 767px) {
|
|
225
172
|
.emotion-10 {
|
|
226
|
-
margin-bottom: 20px;
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
@media screen and (min-width: 768px) {
|
|
231
|
-
.emotion-10 {
|
|
232
|
-
margin-bottom: 24px;
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
.emotion-11 {
|
|
237
|
-
margin: 0;
|
|
238
|
-
color: #0A0A0A;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
.emotion-11 svg {
|
|
242
|
-
fill: #0A0A0A;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
@media screen and (max-width: 767px) {
|
|
246
|
-
.emotion-11 {
|
|
247
173
|
font-family: "Bitter",serif;
|
|
248
174
|
font-size: 24px;
|
|
249
175
|
line-height: 27px;
|
|
@@ -252,13 +178,13 @@ exports[`Lead 1`] = `
|
|
|
252
178
|
padding: 0.5px 0px;
|
|
253
179
|
}
|
|
254
180
|
|
|
255
|
-
.emotion-
|
|
181
|
+
.emotion-10::before {
|
|
256
182
|
content: '';
|
|
257
183
|
margin-bottom: -0.2055em;
|
|
258
184
|
display: block;
|
|
259
185
|
}
|
|
260
186
|
|
|
261
|
-
.emotion-
|
|
187
|
+
.emotion-10::after {
|
|
262
188
|
content: '';
|
|
263
189
|
margin-top: -0.2275em;
|
|
264
190
|
display: block;
|
|
@@ -266,7 +192,7 @@ exports[`Lead 1`] = `
|
|
|
266
192
|
}
|
|
267
193
|
|
|
268
194
|
@media screen and (min-width: 768px) and (max-width: 1439px) {
|
|
269
|
-
.emotion-
|
|
195
|
+
.emotion-10 {
|
|
270
196
|
font-family: "Bitter",serif;
|
|
271
197
|
font-size: 36px;
|
|
272
198
|
line-height: 40.5px;
|
|
@@ -275,13 +201,13 @@ exports[`Lead 1`] = `
|
|
|
275
201
|
padding: 0.5px 0px;
|
|
276
202
|
}
|
|
277
203
|
|
|
278
|
-
.emotion-
|
|
204
|
+
.emotion-10::before {
|
|
279
205
|
content: '';
|
|
280
206
|
margin-bottom: -0.2055em;
|
|
281
207
|
display: block;
|
|
282
208
|
}
|
|
283
209
|
|
|
284
|
-
.emotion-
|
|
210
|
+
.emotion-10::after {
|
|
285
211
|
content: '';
|
|
286
212
|
margin-top: -0.2275em;
|
|
287
213
|
display: block;
|
|
@@ -289,7 +215,7 @@ exports[`Lead 1`] = `
|
|
|
289
215
|
}
|
|
290
216
|
|
|
291
217
|
@media screen and (min-width: 1440px) {
|
|
292
|
-
.emotion-
|
|
218
|
+
.emotion-10 {
|
|
293
219
|
font-family: "Bitter",serif;
|
|
294
220
|
font-size: 40px;
|
|
295
221
|
line-height: 45px;
|
|
@@ -298,237 +224,272 @@ exports[`Lead 1`] = `
|
|
|
298
224
|
padding: 0.5px 0px;
|
|
299
225
|
}
|
|
300
226
|
|
|
301
|
-
.emotion-
|
|
227
|
+
.emotion-10::before {
|
|
302
228
|
content: '';
|
|
303
229
|
margin-bottom: -0.2055em;
|
|
304
230
|
display: block;
|
|
305
231
|
}
|
|
306
232
|
|
|
307
|
-
.emotion-
|
|
233
|
+
.emotion-10::after {
|
|
308
234
|
content: '';
|
|
309
235
|
margin-top: -0.2275em;
|
|
310
236
|
display: block;
|
|
311
237
|
}
|
|
312
238
|
}
|
|
313
239
|
|
|
240
|
+
.emotion-11 {
|
|
241
|
+
display: inline;
|
|
242
|
+
font: inherit;
|
|
243
|
+
margin: 0;
|
|
244
|
+
color: #2E2E2E;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.emotion-11:hover:not(:disabled) {
|
|
248
|
+
color: #2B4AAB;
|
|
249
|
+
-webkit-text-decoration: underline;
|
|
250
|
+
text-decoration: underline;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.emotion-11:active:not(:disabled) {
|
|
254
|
+
color: #213A82;
|
|
255
|
+
-webkit-text-decoration: underline;
|
|
256
|
+
text-decoration: underline;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.emotion-11:visited:not(:disabled) {
|
|
260
|
+
color: #5E44E4;
|
|
261
|
+
}
|
|
262
|
+
|
|
314
263
|
.emotion-12 {
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
background-clip: padding-box;
|
|
318
|
-
-webkit-flex: 1 0 auto;
|
|
319
|
-
-ms-flex: 1 0 auto;
|
|
320
|
-
flex: 1 0 auto;
|
|
264
|
+
display: grid;
|
|
265
|
+
height: 100%;
|
|
321
266
|
}
|
|
322
267
|
|
|
323
|
-
@media screen {
|
|
268
|
+
@media screen and (max-width: 767px) {
|
|
324
269
|
.emotion-12 {
|
|
325
|
-
|
|
326
|
-
margin-top: 40px;
|
|
327
|
-
-webkit-flex-basis: 100%;
|
|
328
|
-
-ms-flex-preferred-size: 100%;
|
|
329
|
-
flex-basis: 100%;
|
|
330
|
-
max-width: 100%;
|
|
270
|
+
row-gap: 40px;
|
|
331
271
|
}
|
|
332
272
|
}
|
|
333
273
|
|
|
334
|
-
@media screen and (min-width: 768px) {
|
|
274
|
+
@media screen and (min-width: 768px) and (max-width: 1439px) {
|
|
335
275
|
.emotion-12 {
|
|
336
|
-
|
|
276
|
+
row-gap: 32px;
|
|
337
277
|
}
|
|
338
278
|
}
|
|
339
279
|
|
|
340
|
-
@media screen and (min-width:
|
|
280
|
+
@media screen and (min-width: 1440px) {
|
|
341
281
|
.emotion-12 {
|
|
342
|
-
|
|
282
|
+
row-gap: 24px;
|
|
343
283
|
}
|
|
344
284
|
}
|
|
345
285
|
|
|
346
|
-
@media screen and (min-width:
|
|
286
|
+
@media screen and (min-width: 768px) {
|
|
347
287
|
.emotion-12 {
|
|
348
|
-
|
|
349
|
-
-
|
|
350
|
-
-ms-flex-preferred-size: 33.333333333333336%;
|
|
351
|
-
flex-basis: 33.333333333333336%;
|
|
352
|
-
max-width: 33.333333333333336%;
|
|
288
|
+
-webkit-column-gap: 20px;
|
|
289
|
+
column-gap: 20px;
|
|
353
290
|
}
|
|
354
291
|
}
|
|
355
292
|
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
display: -webkit-box;
|
|
361
|
-
display: -webkit-flex;
|
|
362
|
-
display: -ms-flexbox;
|
|
363
|
-
display: flex;
|
|
364
|
-
-webkit-box-flex-wrap: wrap;
|
|
365
|
-
-webkit-flex-wrap: wrap;
|
|
366
|
-
-ms-flex-wrap: wrap;
|
|
367
|
-
flex-wrap: wrap;
|
|
368
|
-
-webkit-flex-direction: row;
|
|
369
|
-
-ms-flex-direction: row;
|
|
370
|
-
flex-direction: row;
|
|
293
|
+
@media screen and (max-width: 767px) {
|
|
294
|
+
.emotion-12 {
|
|
295
|
+
grid-template-columns: 1fr;
|
|
296
|
+
}
|
|
371
297
|
}
|
|
372
298
|
|
|
373
|
-
@media screen {
|
|
374
|
-
.emotion-
|
|
375
|
-
|
|
299
|
+
@media screen and (min-width: 768px) and (max-width: 1023px) {
|
|
300
|
+
.emotion-12 {
|
|
301
|
+
grid-template-columns: 1fr 1fr;
|
|
376
302
|
}
|
|
377
303
|
}
|
|
378
304
|
|
|
379
|
-
@media screen and (min-width:
|
|
380
|
-
.emotion-
|
|
381
|
-
|
|
305
|
+
@media screen and (min-width: 1024px) {
|
|
306
|
+
.emotion-12 {
|
|
307
|
+
grid-template-columns: 1fr;
|
|
382
308
|
}
|
|
383
309
|
}
|
|
384
310
|
|
|
385
|
-
@media screen and (min-width:
|
|
386
|
-
.emotion-
|
|
387
|
-
|
|
311
|
+
@media screen and (min-width: 1024px) {
|
|
312
|
+
.emotion-12 {
|
|
313
|
+
-webkit-box-pack: stretch;
|
|
314
|
+
-ms-flex-pack: stretch;
|
|
315
|
+
-webkit-justify-content: stretch;
|
|
316
|
+
justify-content: stretch;
|
|
388
317
|
}
|
|
389
318
|
}
|
|
390
319
|
|
|
391
320
|
@media screen and (min-width: 1024px) {
|
|
392
|
-
.emotion-
|
|
393
|
-
|
|
321
|
+
.emotion-12 {
|
|
322
|
+
-webkit-align-content: space-between;
|
|
323
|
+
-ms-flex-line-pack: space-between;
|
|
324
|
+
align-content: space-between;
|
|
394
325
|
}
|
|
395
326
|
}
|
|
396
327
|
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
328
|
+
.emotion-14 {
|
|
329
|
+
box-sizing: border-box;
|
|
330
|
+
overflow: hidden;
|
|
331
|
+
color: #2E2E2E;
|
|
332
|
+
background-color: #FFFFFF;
|
|
333
|
+
position: relative;
|
|
334
|
+
display: -webkit-box;
|
|
335
|
+
display: -webkit-flex;
|
|
336
|
+
display: -ms-flexbox;
|
|
337
|
+
display: flex;
|
|
338
|
+
-webkit-flex-direction: rowfalse;
|
|
339
|
+
-ms-flex-direction: rowfalse;
|
|
340
|
+
flex-direction: rowfalse;
|
|
401
341
|
}
|
|
402
342
|
|
|
403
343
|
.emotion-15 {
|
|
404
344
|
box-sizing: border-box;
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
-webkit-flex: 1
|
|
408
|
-
-ms-flex: 1
|
|
409
|
-
flex: 1
|
|
345
|
+
display: block;
|
|
346
|
+
position: relative;
|
|
347
|
+
-webkit-flex: 1;
|
|
348
|
+
-ms-flex: 1;
|
|
349
|
+
flex: 1;
|
|
410
350
|
}
|
|
411
351
|
|
|
412
|
-
@media screen {
|
|
352
|
+
@media screen and (max-width: 479px) {
|
|
413
353
|
.emotion-15 {
|
|
414
|
-
|
|
415
|
-
margin-top: 40px;
|
|
416
|
-
-webkit-flex-basis: 100%;
|
|
417
|
-
-ms-flex-preferred-size: 100%;
|
|
418
|
-
flex-basis: 100%;
|
|
419
|
-
max-width: 100%;
|
|
354
|
+
margin-right: 16px;
|
|
420
355
|
}
|
|
421
356
|
}
|
|
422
357
|
|
|
423
|
-
@media screen and (min-width:
|
|
358
|
+
@media screen and (min-width: 480px) and (max-width: 767px) {
|
|
424
359
|
.emotion-15 {
|
|
425
|
-
margin-
|
|
426
|
-
-webkit-flex-basis: 50%;
|
|
427
|
-
-ms-flex-preferred-size: 50%;
|
|
428
|
-
flex-basis: 50%;
|
|
429
|
-
max-width: 50%;
|
|
360
|
+
margin-right: 16px;
|
|
430
361
|
}
|
|
431
362
|
}
|
|
432
363
|
|
|
433
|
-
@media screen and (min-width:
|
|
364
|
+
@media screen and (min-width: 768px) and (max-width: 1023px) {
|
|
434
365
|
.emotion-15 {
|
|
435
|
-
|
|
366
|
+
margin-right: 24px;
|
|
436
367
|
}
|
|
437
368
|
}
|
|
438
369
|
|
|
439
|
-
@media screen and (min-width:
|
|
370
|
+
@media screen and (min-width: 1024px) {
|
|
440
371
|
.emotion-15 {
|
|
441
|
-
margin-
|
|
442
|
-
-webkit-flex-basis: 100%;
|
|
443
|
-
-ms-flex-preferred-size: 100%;
|
|
444
|
-
flex-basis: 100%;
|
|
445
|
-
max-width: 100%;
|
|
372
|
+
margin-right: 24px;
|
|
446
373
|
}
|
|
447
374
|
}
|
|
448
375
|
|
|
449
|
-
.emotion-
|
|
376
|
+
.emotion-18 {
|
|
450
377
|
box-sizing: border-box;
|
|
451
|
-
display:
|
|
452
|
-
|
|
453
|
-
|
|
378
|
+
display: -webkit-box;
|
|
379
|
+
display: -webkit-flex;
|
|
380
|
+
display: -ms-flexbox;
|
|
381
|
+
display: flex;
|
|
382
|
+
-webkit-flex-direction: column;
|
|
383
|
+
-ms-flex-direction: column;
|
|
384
|
+
flex-direction: column;
|
|
385
|
+
-webkit-flex: 1;
|
|
386
|
+
-ms-flex: 1;
|
|
387
|
+
flex: 1;
|
|
454
388
|
}
|
|
455
389
|
|
|
456
|
-
.emotion-
|
|
457
|
-
|
|
390
|
+
.emotion-19 {
|
|
391
|
+
box-sizing: border-box;
|
|
392
|
+
-webkit-flex: 1;
|
|
393
|
+
-ms-flex: 1;
|
|
394
|
+
flex: 1;
|
|
395
|
+
padding: 0;
|
|
458
396
|
}
|
|
459
397
|
|
|
460
|
-
.emotion-
|
|
461
|
-
|
|
462
|
-
|
|
398
|
+
.emotion-19 a:not(.nk-card-link) {
|
|
399
|
+
z-index: 2;
|
|
400
|
+
position: relative;
|
|
463
401
|
}
|
|
464
402
|
|
|
465
|
-
.emotion-
|
|
466
|
-
|
|
403
|
+
.emotion-20 {
|
|
404
|
+
margin-bottom: 8px;
|
|
467
405
|
}
|
|
468
406
|
|
|
469
|
-
@media screen and (max-width:
|
|
470
|
-
.emotion-
|
|
407
|
+
@media screen and (max-width: 479px) {
|
|
408
|
+
.emotion-22 {
|
|
471
409
|
font-family: "Bitter",serif;
|
|
472
|
-
font-size:
|
|
473
|
-
line-height:
|
|
410
|
+
font-size: 20px;
|
|
411
|
+
line-height: 22.5px;
|
|
474
412
|
font-weight: 500;
|
|
475
413
|
letter-spacing: 0;
|
|
476
414
|
padding: 0.5px 0px;
|
|
477
415
|
}
|
|
478
416
|
|
|
479
|
-
.emotion-
|
|
417
|
+
.emotion-22::before {
|
|
480
418
|
content: '';
|
|
481
419
|
margin-bottom: -0.2055em;
|
|
482
420
|
display: block;
|
|
483
421
|
}
|
|
484
422
|
|
|
485
|
-
.emotion-
|
|
423
|
+
.emotion-22::after {
|
|
486
424
|
content: '';
|
|
487
425
|
margin-top: -0.2275em;
|
|
488
426
|
display: block;
|
|
489
427
|
}
|
|
490
428
|
}
|
|
491
429
|
|
|
492
|
-
@media screen and (min-width:
|
|
493
|
-
.emotion-
|
|
430
|
+
@media screen and (min-width: 480px) and (max-width: 767px) {
|
|
431
|
+
.emotion-22 {
|
|
494
432
|
font-family: "Bitter",serif;
|
|
495
|
-
font-size:
|
|
496
|
-
line-height:
|
|
433
|
+
font-size: 20px;
|
|
434
|
+
line-height: 22.5px;
|
|
497
435
|
font-weight: 500;
|
|
498
436
|
letter-spacing: 0;
|
|
499
437
|
padding: 0.5px 0px;
|
|
500
438
|
}
|
|
501
439
|
|
|
502
|
-
.emotion-
|
|
440
|
+
.emotion-22::before {
|
|
503
441
|
content: '';
|
|
504
442
|
margin-bottom: -0.2055em;
|
|
505
443
|
display: block;
|
|
506
444
|
}
|
|
507
445
|
|
|
508
|
-
.emotion-
|
|
446
|
+
.emotion-22::after {
|
|
509
447
|
content: '';
|
|
510
448
|
margin-top: -0.2275em;
|
|
511
449
|
display: block;
|
|
512
450
|
}
|
|
513
451
|
}
|
|
514
452
|
|
|
515
|
-
@media screen and (min-width:
|
|
516
|
-
.emotion-
|
|
453
|
+
@media screen and (min-width: 768px) and (max-width: 1023px) {
|
|
454
|
+
.emotion-22 {
|
|
517
455
|
font-family: "Bitter",serif;
|
|
518
|
-
font-size:
|
|
519
|
-
line-height:
|
|
456
|
+
font-size: 22px;
|
|
457
|
+
line-height: 24.75px;
|
|
520
458
|
font-weight: 500;
|
|
521
459
|
letter-spacing: 0;
|
|
522
460
|
padding: 0.5px 0px;
|
|
523
461
|
}
|
|
524
462
|
|
|
525
|
-
.emotion-
|
|
463
|
+
.emotion-22::before {
|
|
526
464
|
content: '';
|
|
527
465
|
margin-bottom: -0.2055em;
|
|
528
466
|
display: block;
|
|
529
467
|
}
|
|
530
468
|
|
|
531
|
-
.emotion-
|
|
469
|
+
.emotion-22::after {
|
|
470
|
+
content: '';
|
|
471
|
+
margin-top: -0.2275em;
|
|
472
|
+
display: block;
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
@media screen and (min-width: 1024px) {
|
|
477
|
+
.emotion-22 {
|
|
478
|
+
font-family: "Bitter",serif;
|
|
479
|
+
font-size: 28px;
|
|
480
|
+
line-height: 31.5px;
|
|
481
|
+
font-weight: 500;
|
|
482
|
+
letter-spacing: 0;
|
|
483
|
+
padding: 0.5px 0px;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
.emotion-22::before {
|
|
487
|
+
content: '';
|
|
488
|
+
margin-bottom: -0.2055em;
|
|
489
|
+
display: block;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
.emotion-22::after {
|
|
532
493
|
content: '';
|
|
533
494
|
margin-top: -0.2275em;
|
|
534
495
|
display: block;
|
|
@@ -537,31 +498,31 @@ exports[`Lead 1`] = `
|
|
|
537
498
|
|
|
538
499
|
<div
|
|
539
500
|
class="emotion-0"
|
|
501
|
+
data-testid="SUPPLEMENT_LEAD_AND_4_STACK-Grid"
|
|
540
502
|
>
|
|
541
503
|
<div
|
|
542
504
|
class="emotion-1"
|
|
543
|
-
data-testid="
|
|
505
|
+
data-testid="featureVerticalCell"
|
|
544
506
|
>
|
|
545
507
|
<div
|
|
546
508
|
class="emotion-2"
|
|
547
|
-
data-testid="featureVerticalCell"
|
|
548
509
|
>
|
|
549
510
|
<div
|
|
550
511
|
class="emotion-3"
|
|
551
512
|
>
|
|
552
|
-
<
|
|
513
|
+
<picture
|
|
553
514
|
class="emotion-4"
|
|
554
515
|
>
|
|
555
|
-
<
|
|
516
|
+
<img
|
|
517
|
+
alt=""
|
|
556
518
|
class="emotion-5"
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
</div>
|
|
519
|
+
src=""
|
|
520
|
+
/>
|
|
521
|
+
</picture>
|
|
522
|
+
</div>
|
|
523
|
+
<div
|
|
524
|
+
class="emotion-6"
|
|
525
|
+
>
|
|
565
526
|
<div
|
|
566
527
|
class="emotion-7"
|
|
567
528
|
>
|
|
@@ -572,117 +533,115 @@ exports[`Lead 1`] = `
|
|
|
572
533
|
class="nk-card-link emotion-9"
|
|
573
534
|
href="catagory-one/demo-1/test-headline"
|
|
574
535
|
>
|
|
575
|
-
<
|
|
536
|
+
<section
|
|
576
537
|
class="emotion-10"
|
|
577
538
|
>
|
|
578
539
|
<h3
|
|
579
|
-
class="emotion-11"
|
|
540
|
+
class="nk-headline-heading emotion-11"
|
|
580
541
|
>
|
|
581
542
|
test headline
|
|
582
543
|
</h3>
|
|
583
|
-
</
|
|
544
|
+
</section>
|
|
584
545
|
</a>
|
|
585
546
|
</div>
|
|
586
547
|
</div>
|
|
587
548
|
</div>
|
|
588
549
|
</div>
|
|
550
|
+
</div>
|
|
551
|
+
<div
|
|
552
|
+
class="emotion-12"
|
|
553
|
+
>
|
|
589
554
|
<div
|
|
590
|
-
class="emotion-
|
|
591
|
-
data-testid="
|
|
555
|
+
class="emotion-1"
|
|
556
|
+
data-testid="titleVerticalCell-0"
|
|
592
557
|
>
|
|
593
558
|
<div
|
|
594
|
-
class="emotion-
|
|
559
|
+
class="emotion-14"
|
|
595
560
|
>
|
|
596
561
|
<div
|
|
597
|
-
class="emotion-
|
|
598
|
-
|
|
562
|
+
class="emotion-15"
|
|
563
|
+
>
|
|
564
|
+
<picture
|
|
565
|
+
class="emotion-4"
|
|
566
|
+
>
|
|
567
|
+
<img
|
|
568
|
+
alt=""
|
|
569
|
+
class="emotion-5"
|
|
570
|
+
src=""
|
|
571
|
+
/>
|
|
572
|
+
</picture>
|
|
573
|
+
</div>
|
|
574
|
+
<div
|
|
575
|
+
class="emotion-18"
|
|
599
576
|
>
|
|
600
577
|
<div
|
|
601
|
-
class="emotion-
|
|
602
|
-
data-testid="titleVerticalCell-1"
|
|
578
|
+
class="emotion-19"
|
|
603
579
|
>
|
|
604
580
|
<div
|
|
605
|
-
class="emotion-
|
|
581
|
+
class="emotion-20"
|
|
606
582
|
>
|
|
607
|
-
<
|
|
608
|
-
class="emotion-
|
|
609
|
-
|
|
610
|
-
<picture
|
|
611
|
-
class="emotion-5"
|
|
612
|
-
>
|
|
613
|
-
<img
|
|
614
|
-
alt=""
|
|
615
|
-
class="emotion-6"
|
|
616
|
-
src=""
|
|
617
|
-
/>
|
|
618
|
-
</picture>
|
|
619
|
-
</div>
|
|
620
|
-
<div
|
|
621
|
-
class="emotion-7"
|
|
583
|
+
<a
|
|
584
|
+
class="nk-card-link emotion-9"
|
|
585
|
+
href="catagory-two/demo-2/test-headline-2"
|
|
622
586
|
>
|
|
623
|
-
<
|
|
624
|
-
class="emotion-
|
|
587
|
+
<section
|
|
588
|
+
class="emotion-22"
|
|
625
589
|
>
|
|
626
|
-
<
|
|
627
|
-
class="nk-
|
|
628
|
-
href="catagory-two/demo-2/test-headline-2"
|
|
590
|
+
<h3
|
|
591
|
+
class="nk-headline-heading emotion-11"
|
|
629
592
|
>
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
class="emotion-24"
|
|
635
|
-
>
|
|
636
|
-
test headline 2
|
|
637
|
-
</h3>
|
|
638
|
-
</div>
|
|
639
|
-
</a>
|
|
640
|
-
</div>
|
|
641
|
-
</div>
|
|
593
|
+
test headline 2
|
|
594
|
+
</h3>
|
|
595
|
+
</section>
|
|
596
|
+
</a>
|
|
642
597
|
</div>
|
|
643
598
|
</div>
|
|
599
|
+
</div>
|
|
600
|
+
</div>
|
|
601
|
+
</div>
|
|
602
|
+
<div
|
|
603
|
+
class="emotion-1"
|
|
604
|
+
data-testid="titleVerticalCell-1"
|
|
605
|
+
>
|
|
606
|
+
<div
|
|
607
|
+
class="emotion-14"
|
|
608
|
+
>
|
|
609
|
+
<div
|
|
610
|
+
class="emotion-15"
|
|
611
|
+
>
|
|
612
|
+
<picture
|
|
613
|
+
class="emotion-4"
|
|
614
|
+
>
|
|
615
|
+
<img
|
|
616
|
+
alt=""
|
|
617
|
+
class="emotion-5"
|
|
618
|
+
src=""
|
|
619
|
+
/>
|
|
620
|
+
</picture>
|
|
621
|
+
</div>
|
|
622
|
+
<div
|
|
623
|
+
class="emotion-18"
|
|
624
|
+
>
|
|
644
625
|
<div
|
|
645
|
-
class="emotion-
|
|
646
|
-
data-testid="titleVerticalCell-2"
|
|
626
|
+
class="emotion-19"
|
|
647
627
|
>
|
|
648
628
|
<div
|
|
649
|
-
class="emotion-
|
|
629
|
+
class="emotion-20"
|
|
650
630
|
>
|
|
651
|
-
<
|
|
652
|
-
class="emotion-
|
|
653
|
-
|
|
654
|
-
<picture
|
|
655
|
-
class="emotion-5"
|
|
656
|
-
>
|
|
657
|
-
<img
|
|
658
|
-
alt=""
|
|
659
|
-
class="emotion-6"
|
|
660
|
-
src=""
|
|
661
|
-
/>
|
|
662
|
-
</picture>
|
|
663
|
-
</div>
|
|
664
|
-
<div
|
|
665
|
-
class="emotion-7"
|
|
631
|
+
<a
|
|
632
|
+
class="nk-card-link emotion-9"
|
|
633
|
+
href="catagory-three/demo-3/test-headline-3"
|
|
666
634
|
>
|
|
667
|
-
<
|
|
668
|
-
class="emotion-
|
|
635
|
+
<section
|
|
636
|
+
class="emotion-22"
|
|
669
637
|
>
|
|
670
|
-
<
|
|
671
|
-
class="nk-
|
|
672
|
-
href="catagory-three/demo-3/test-headline-3"
|
|
638
|
+
<h3
|
|
639
|
+
class="nk-headline-heading emotion-11"
|
|
673
640
|
>
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
class="emotion-24"
|
|
679
|
-
>
|
|
680
|
-
test headline 3
|
|
681
|
-
</h3>
|
|
682
|
-
</div>
|
|
683
|
-
</a>
|
|
684
|
-
</div>
|
|
685
|
-
</div>
|
|
641
|
+
test headline 3
|
|
642
|
+
</h3>
|
|
643
|
+
</section>
|
|
644
|
+
</a>
|
|
686
645
|
</div>
|
|
687
646
|
</div>
|
|
688
647
|
</div>
|