@newskit-render/core 1.45.0 → 1.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.
Files changed (34) hide show
  1. package/CHANGELOG.md +96 -0
  2. package/__tests__/pages/__snapshots__/home.test.tsx.snap +769 -1261
  3. package/components/section/ArticleSlice.tsx +17 -43
  4. package/components/section/CollectionBlock.tsx +38 -6
  5. package/components/section/__tests__/ArticleSlice.test.tsx +37 -51
  6. package/components/section/__tests__/CollectionBlock.test.tsx +63 -13
  7. package/components/section/__tests__/pageBlock.test.tsx +8 -4
  8. package/components/section/index.tsx +17 -12
  9. package/components/section/layouts/Lead.tsx +36 -15
  10. package/components/section/layouts/Rows.tsx +67 -0
  11. package/components/section/layouts/{SectionRow.tsx → SectionTitle.tsx} +24 -52
  12. package/components/section/layouts/__tests__/Lead.test.tsx +31 -6
  13. package/components/section/layouts/__tests__/Rows.test.tsx +28 -0
  14. package/components/section/layouts/__tests__/SectionTitle.test.tsx +36 -0
  15. package/components/section/layouts/__tests__/__snapshots__/Lead.test.tsx.snap +274 -315
  16. package/components/section/layouts/__tests__/__snapshots__/SectionTitle.test.tsx.snap +942 -0
  17. package/components/section/layouts/gridUtils.ts +12 -9
  18. package/components/section/layouts/index.tsx +2 -1
  19. package/components/section/layouts/types.ts +5 -1
  20. package/components/section/{pageBlock.ts → pageBlock.tsx} +5 -2
  21. package/components/teaser/index.tsx +7 -6
  22. package/components/teaser/teaserVariants.ts +2 -0
  23. package/components/teaser/variants/horizontal.ts +14 -0
  24. package/cypress/e2e/account/account-subscription.spec.js +2 -2
  25. package/cypress/support/commands.js +2 -2
  26. package/helpers/mocks/getPageMock.ts +2 -59
  27. package/next.config.js +4 -0
  28. package/package.json +16 -10
  29. package/pages/account/cancellation/index.tsx +2 -0
  30. package/pages/api/feed.ts +19 -0
  31. package/theme/render-custom-theme.ts +1 -0
  32. package/components/section/layouts/Row.tsx +0 -28
  33. package/components/section/layouts/__tests__/SectionRow.test.tsx +0 -56
  34. package/components/section/layouts/__tests__/__snapshots__/SectionRow.test.tsx.snap +0 -4542
@@ -0,0 +1,942 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`SectionTitle SectionTitle alternative titlebar 1`] = `
4
+ <DocumentFragment>
5
+ .emotion-0 {
6
+ margin-bottom: 32px;
7
+ background: transparent;
8
+ }
9
+
10
+ .emotion-1 {
11
+ display: -webkit-box;
12
+ display: -webkit-flex;
13
+ display: -ms-flexbox;
14
+ display: flex;
15
+ height: 100%;
16
+ -webkit-align-items: center;
17
+ -webkit-box-align: center;
18
+ -ms-flex-align: center;
19
+ align-items: center;
20
+ -webkit-flex-direction: row;
21
+ -ms-flex-direction: row;
22
+ flex-direction: row;
23
+ -webkit-box-pack: justify;
24
+ -webkit-justify-content: space-between;
25
+ justify-content: space-between;
26
+ background-color: transparent;
27
+ }
28
+
29
+ @media screen and (max-width: 1023px) {
30
+ .emotion-1 {
31
+ padding: 12px 16px;
32
+ }
33
+ }
34
+
35
+ @media screen and (min-width: 1024px) {
36
+ .emotion-1 {
37
+ padding: 16px 24px;
38
+ }
39
+ }
40
+
41
+ .emotion-2 {
42
+ margin-right: 16px;
43
+ -webkit-box-flex: 1;
44
+ -webkit-flex-grow: 1;
45
+ -ms-flex-positive: 1;
46
+ flex-grow: 1;
47
+ }
48
+
49
+ @media screen and (max-width: 767px) {
50
+ .emotion-3 {
51
+ font-family: "Bitter",serif;
52
+ font-size: 28px;
53
+ line-height: 31.5px;
54
+ font-weight: 500;
55
+ letter-spacing: 0;
56
+ padding: 0.5px 0px;
57
+ }
58
+
59
+ .emotion-3::before {
60
+ content: '';
61
+ margin-bottom: -0.2055em;
62
+ display: block;
63
+ }
64
+
65
+ .emotion-3::after {
66
+ content: '';
67
+ margin-top: -0.2275em;
68
+ display: block;
69
+ }
70
+ }
71
+
72
+ @media screen and (min-width: 768px) and (max-width: 1439px) {
73
+ .emotion-3 {
74
+ font-family: "Bitter",serif;
75
+ font-size: 32px;
76
+ line-height: 36px;
77
+ font-weight: 500;
78
+ letter-spacing: 0;
79
+ padding: 0.5px 0px;
80
+ }
81
+
82
+ .emotion-3::before {
83
+ content: '';
84
+ margin-bottom: -0.2055em;
85
+ display: block;
86
+ }
87
+
88
+ .emotion-3::after {
89
+ content: '';
90
+ margin-top: -0.2275em;
91
+ display: block;
92
+ }
93
+ }
94
+
95
+ @media screen and (min-width: 1440px) {
96
+ .emotion-3 {
97
+ font-family: "Bitter",serif;
98
+ font-size: 36px;
99
+ line-height: 40.5px;
100
+ font-weight: 500;
101
+ letter-spacing: 0;
102
+ padding: 0.5px 0px;
103
+ }
104
+
105
+ .emotion-3::before {
106
+ content: '';
107
+ margin-bottom: -0.2055em;
108
+ display: block;
109
+ }
110
+
111
+ .emotion-3::after {
112
+ content: '';
113
+ margin-top: -0.2275em;
114
+ display: block;
115
+ }
116
+ }
117
+
118
+ .emotion-4 {
119
+ display: inline;
120
+ font: inherit;
121
+ margin: 0;
122
+ color: #0A0A0A;
123
+ }
124
+
125
+ .emotion-4 svg {
126
+ fill: #0A0A0A;
127
+ }
128
+
129
+ @media screen {
130
+ .emotion-5 {
131
+ display: none;
132
+ }
133
+ }
134
+
135
+ @media screen and (min-width: 480px) {
136
+ .emotion-5 {
137
+ display: block;
138
+ }
139
+ }
140
+
141
+ @media screen and (min-width: 768px) {
142
+ .emotion-5 {
143
+ display: block;
144
+ }
145
+ }
146
+
147
+ @media screen and (min-width: 1024px) {
148
+ .emotion-5 {
149
+ display: block;
150
+ }
151
+ }
152
+
153
+ @media screen and (min-width: 1440px) {
154
+ .emotion-5 {
155
+ display: block;
156
+ }
157
+ }
158
+
159
+ .emotion-6 {
160
+ display: inline-block;
161
+ transition-property: color;
162
+ transition-duration: 200ms;
163
+ transition-timing-function: cubic-bezier(0, 0, .5, 1);
164
+ color: #0A0A0A;
165
+ }
166
+
167
+ .emotion-6 svg {
168
+ fill: #0A0A0A;
169
+ }
170
+
171
+ .emotion-7 {
172
+ display: -webkit-box;
173
+ display: -webkit-flex;
174
+ display: -ms-flexbox;
175
+ display: flex;
176
+ height: 100%;
177
+ -webkit-align-items: center;
178
+ -webkit-box-align: center;
179
+ -ms-flex-align: center;
180
+ align-items: center;
181
+ -webkit-flex-direction: row;
182
+ -ms-flex-direction: row;
183
+ flex-direction: row;
184
+ -webkit-box-pack: start;
185
+ -ms-flex-pack: start;
186
+ -webkit-justify-content: flex-start;
187
+ justify-content: flex-start;
188
+ margin-left: calc(-8px/2);
189
+ margin-right: calc(-8px/2);
190
+ }
191
+
192
+ .emotion-8 {
193
+ display: -webkit-inline-box;
194
+ display: -webkit-inline-flex;
195
+ display: -ms-inline-flexbox;
196
+ display: inline-flex;
197
+ margin-left: calc(8px/2);
198
+ margin-right: calc(8px/2);
199
+ }
200
+
201
+ .emotion-9 {
202
+ margin: 0;
203
+ font-family: "Poppins",sans-serif;
204
+ font-size: 14px;
205
+ line-height: 21px;
206
+ font-weight: 500;
207
+ letter-spacing: 0;
208
+ padding: 0.5px 0px;
209
+ display: inline-block;
210
+ display: block;
211
+ }
212
+
213
+ .emotion-9::before {
214
+ content: '';
215
+ margin-bottom: -0.403em;
216
+ display: block;
217
+ }
218
+
219
+ .emotion-9::after {
220
+ content: '';
221
+ margin-top: -0.4em;
222
+ display: block;
223
+ }
224
+
225
+ .emotion-11 {
226
+ display: inline-block;
227
+ vertical-align: middle;
228
+ overflow: hidden;
229
+ fill: #2E2E2E;
230
+ vertical-align: unset;
231
+ display: inline-block;
232
+ top: 1px;
233
+ position: relative;
234
+ }
235
+
236
+ .emotion-11.emotion-11 {
237
+ width: 24px;
238
+ height: 24px;
239
+ }
240
+
241
+ <div
242
+ class="emotion-0"
243
+ data-testid="SectionTitleBar"
244
+ >
245
+ <div
246
+ class="emotion-1"
247
+ >
248
+ <div
249
+ class="emotion-2"
250
+ >
251
+ <section
252
+ class="emotion-3"
253
+ >
254
+ <h3
255
+ class="nk-headline-heading emotion-4"
256
+ >
257
+ Section 1
258
+ </h3>
259
+ </section>
260
+ </div>
261
+ <div
262
+ class="emotion-5"
263
+ >
264
+ <a
265
+ class="emotion-6"
266
+ href="/section-one"
267
+ >
268
+ <span
269
+ class="emotion-7"
270
+ >
271
+ <span
272
+ class="emotion-8"
273
+ >
274
+ <span
275
+ class="emotion-9"
276
+ >
277
+ Link
278
+ </span>
279
+ </span>
280
+ <span
281
+ class="emotion-8"
282
+ >
283
+ <svg
284
+ aria-hidden="true"
285
+ class="emotion-11 emotion-12"
286
+ fill="currentColor"
287
+ focusable="false"
288
+ viewBox="0 0 24 24"
289
+ xmlns="http://www.w3.org/2000/svg"
290
+ >
291
+ <path
292
+ d="M0 0h24v24H0z"
293
+ fill="none"
294
+ />
295
+ <path
296
+ d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
297
+ />
298
+ </svg>
299
+ </span>
300
+ </span>
301
+ </a>
302
+ </div>
303
+ </div>
304
+ </div>
305
+ </DocumentFragment>
306
+ `;
307
+
308
+ exports[`SectionTitle SectionTitle with title 1`] = `
309
+ <DocumentFragment>
310
+ .emotion-0 {
311
+ margin-bottom: 32px;
312
+ background: #3358CC;
313
+ }
314
+
315
+ .emotion-1 {
316
+ display: -webkit-box;
317
+ display: -webkit-flex;
318
+ display: -ms-flexbox;
319
+ display: flex;
320
+ height: 100%;
321
+ -webkit-align-items: center;
322
+ -webkit-box-align: center;
323
+ -ms-flex-align: center;
324
+ align-items: center;
325
+ -webkit-flex-direction: row;
326
+ -ms-flex-direction: row;
327
+ flex-direction: row;
328
+ -webkit-box-pack: justify;
329
+ -webkit-justify-content: space-between;
330
+ justify-content: space-between;
331
+ background-color: transparent;
332
+ }
333
+
334
+ @media screen and (max-width: 1023px) {
335
+ .emotion-1 {
336
+ padding: 12px 16px;
337
+ }
338
+ }
339
+
340
+ @media screen and (min-width: 1024px) {
341
+ .emotion-1 {
342
+ padding: 16px 24px;
343
+ }
344
+ }
345
+
346
+ .emotion-2 {
347
+ margin-right: 16px;
348
+ -webkit-box-flex: 1;
349
+ -webkit-flex-grow: 1;
350
+ -ms-flex-positive: 1;
351
+ flex-grow: 1;
352
+ }
353
+
354
+ @media screen and (max-width: 767px) {
355
+ .emotion-3 {
356
+ font-family: "Bitter",serif;
357
+ font-size: 28px;
358
+ line-height: 31.5px;
359
+ font-weight: 500;
360
+ letter-spacing: 0;
361
+ padding: 0.5px 0px;
362
+ }
363
+
364
+ .emotion-3::before {
365
+ content: '';
366
+ margin-bottom: -0.2055em;
367
+ display: block;
368
+ }
369
+
370
+ .emotion-3::after {
371
+ content: '';
372
+ margin-top: -0.2275em;
373
+ display: block;
374
+ }
375
+ }
376
+
377
+ @media screen and (min-width: 768px) and (max-width: 1439px) {
378
+ .emotion-3 {
379
+ font-family: "Bitter",serif;
380
+ font-size: 32px;
381
+ line-height: 36px;
382
+ font-weight: 500;
383
+ letter-spacing: 0;
384
+ padding: 0.5px 0px;
385
+ }
386
+
387
+ .emotion-3::before {
388
+ content: '';
389
+ margin-bottom: -0.2055em;
390
+ display: block;
391
+ }
392
+
393
+ .emotion-3::after {
394
+ content: '';
395
+ margin-top: -0.2275em;
396
+ display: block;
397
+ }
398
+ }
399
+
400
+ @media screen and (min-width: 1440px) {
401
+ .emotion-3 {
402
+ font-family: "Bitter",serif;
403
+ font-size: 36px;
404
+ line-height: 40.5px;
405
+ font-weight: 500;
406
+ letter-spacing: 0;
407
+ padding: 0.5px 0px;
408
+ }
409
+
410
+ .emotion-3::before {
411
+ content: '';
412
+ margin-bottom: -0.2055em;
413
+ display: block;
414
+ }
415
+
416
+ .emotion-3::after {
417
+ content: '';
418
+ margin-top: -0.2275em;
419
+ display: block;
420
+ }
421
+ }
422
+
423
+ .emotion-4 {
424
+ display: inline;
425
+ font: inherit;
426
+ margin: 0;
427
+ color: #FFFFFF;
428
+ }
429
+
430
+ .emotion-4 svg {
431
+ fill: #FFFFFF;
432
+ }
433
+
434
+ @media screen {
435
+ .emotion-5 {
436
+ display: none;
437
+ }
438
+ }
439
+
440
+ @media screen and (min-width: 480px) {
441
+ .emotion-5 {
442
+ display: block;
443
+ }
444
+ }
445
+
446
+ @media screen and (min-width: 768px) {
447
+ .emotion-5 {
448
+ display: block;
449
+ }
450
+ }
451
+
452
+ @media screen and (min-width: 1024px) {
453
+ .emotion-5 {
454
+ display: block;
455
+ }
456
+ }
457
+
458
+ @media screen and (min-width: 1440px) {
459
+ .emotion-5 {
460
+ display: block;
461
+ }
462
+ }
463
+
464
+ .emotion-6 {
465
+ display: inline-block;
466
+ transition-property: color;
467
+ transition-duration: 200ms;
468
+ transition-timing-function: cubic-bezier(0, 0, .5, 1);
469
+ color: #FFFFFF;
470
+ }
471
+
472
+ .emotion-6 svg {
473
+ fill: #FFFFFF;
474
+ }
475
+
476
+ .emotion-7 {
477
+ display: -webkit-box;
478
+ display: -webkit-flex;
479
+ display: -ms-flexbox;
480
+ display: flex;
481
+ height: 100%;
482
+ -webkit-align-items: center;
483
+ -webkit-box-align: center;
484
+ -ms-flex-align: center;
485
+ align-items: center;
486
+ -webkit-flex-direction: row;
487
+ -ms-flex-direction: row;
488
+ flex-direction: row;
489
+ -webkit-box-pack: start;
490
+ -ms-flex-pack: start;
491
+ -webkit-justify-content: flex-start;
492
+ justify-content: flex-start;
493
+ margin-left: calc(-8px/2);
494
+ margin-right: calc(-8px/2);
495
+ }
496
+
497
+ .emotion-8 {
498
+ display: -webkit-inline-box;
499
+ display: -webkit-inline-flex;
500
+ display: -ms-inline-flexbox;
501
+ display: inline-flex;
502
+ margin-left: calc(8px/2);
503
+ margin-right: calc(8px/2);
504
+ }
505
+
506
+ .emotion-9 {
507
+ margin: 0;
508
+ font-family: "Poppins",sans-serif;
509
+ font-size: 14px;
510
+ line-height: 21px;
511
+ font-weight: 500;
512
+ letter-spacing: 0;
513
+ padding: 0.5px 0px;
514
+ display: inline-block;
515
+ display: block;
516
+ }
517
+
518
+ .emotion-9::before {
519
+ content: '';
520
+ margin-bottom: -0.403em;
521
+ display: block;
522
+ }
523
+
524
+ .emotion-9::after {
525
+ content: '';
526
+ margin-top: -0.4em;
527
+ display: block;
528
+ }
529
+
530
+ .emotion-11 {
531
+ display: inline-block;
532
+ vertical-align: middle;
533
+ overflow: hidden;
534
+ fill: #2E2E2E;
535
+ vertical-align: unset;
536
+ display: inline-block;
537
+ top: 1px;
538
+ position: relative;
539
+ }
540
+
541
+ .emotion-11.emotion-11 {
542
+ width: 24px;
543
+ height: 24px;
544
+ }
545
+
546
+ <div
547
+ class="emotion-0"
548
+ data-testid="SectionTitleBar"
549
+ >
550
+ <div
551
+ class="emotion-1"
552
+ >
553
+ <div
554
+ class="emotion-2"
555
+ >
556
+ <section
557
+ class="emotion-3"
558
+ >
559
+ <h3
560
+ class="nk-headline-heading emotion-4"
561
+ >
562
+ Section 1
563
+ </h3>
564
+ </section>
565
+ </div>
566
+ <div
567
+ class="emotion-5"
568
+ >
569
+ <a
570
+ class="emotion-6"
571
+ href="/section-one"
572
+ >
573
+ <span
574
+ class="emotion-7"
575
+ >
576
+ <span
577
+ class="emotion-8"
578
+ >
579
+ <span
580
+ class="emotion-9"
581
+ >
582
+ Link
583
+ </span>
584
+ </span>
585
+ <span
586
+ class="emotion-8"
587
+ >
588
+ <svg
589
+ aria-hidden="true"
590
+ class="emotion-11 emotion-12"
591
+ fill="currentColor"
592
+ focusable="false"
593
+ viewBox="0 0 24 24"
594
+ xmlns="http://www.w3.org/2000/svg"
595
+ >
596
+ <path
597
+ d="M0 0h24v24H0z"
598
+ fill="none"
599
+ />
600
+ <path
601
+ d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
602
+ />
603
+ </svg>
604
+ </span>
605
+ </span>
606
+ </a>
607
+ </div>
608
+ </div>
609
+ </div>
610
+ </DocumentFragment>
611
+ `;
612
+
613
+ exports[`SectionTitle SectionTitle without extra space 1`] = `
614
+ <DocumentFragment>
615
+ .emotion-0 {
616
+ margin-bottom: 32px;
617
+ }
618
+
619
+ .emotion-1 {
620
+ border-style: solid;
621
+ border-color: #DEDEDE;
622
+ border-width: 1px;
623
+ border-width: 0px;
624
+ margin: 0;
625
+ border-top-width: 1px;
626
+ width: 100%;
627
+ background: transparent;
628
+ border-color: transparent;
629
+ }
630
+
631
+ <div
632
+ class="emotion-0"
633
+ data-testid="addTopSpace"
634
+ >
635
+ <hr
636
+ aria-hidden="true"
637
+ class="emotion-1"
638
+ data-testid="divider"
639
+ />
640
+ </div>
641
+ .emotion-0 {
642
+ margin-bottom: 32px;
643
+ background: #3358CC;
644
+ }
645
+
646
+ .emotion-1 {
647
+ display: -webkit-box;
648
+ display: -webkit-flex;
649
+ display: -ms-flexbox;
650
+ display: flex;
651
+ height: 100%;
652
+ -webkit-align-items: center;
653
+ -webkit-box-align: center;
654
+ -ms-flex-align: center;
655
+ align-items: center;
656
+ -webkit-flex-direction: row;
657
+ -ms-flex-direction: row;
658
+ flex-direction: row;
659
+ -webkit-box-pack: justify;
660
+ -webkit-justify-content: space-between;
661
+ justify-content: space-between;
662
+ background-color: transparent;
663
+ }
664
+
665
+ @media screen and (max-width: 1023px) {
666
+ .emotion-1 {
667
+ padding: 12px 16px;
668
+ }
669
+ }
670
+
671
+ @media screen and (min-width: 1024px) {
672
+ .emotion-1 {
673
+ padding: 16px 24px;
674
+ }
675
+ }
676
+
677
+ .emotion-2 {
678
+ margin-right: 16px;
679
+ -webkit-box-flex: 1;
680
+ -webkit-flex-grow: 1;
681
+ -ms-flex-positive: 1;
682
+ flex-grow: 1;
683
+ }
684
+
685
+ @media screen and (max-width: 767px) {
686
+ .emotion-3 {
687
+ font-family: "Bitter",serif;
688
+ font-size: 28px;
689
+ line-height: 31.5px;
690
+ font-weight: 500;
691
+ letter-spacing: 0;
692
+ padding: 0.5px 0px;
693
+ }
694
+
695
+ .emotion-3::before {
696
+ content: '';
697
+ margin-bottom: -0.2055em;
698
+ display: block;
699
+ }
700
+
701
+ .emotion-3::after {
702
+ content: '';
703
+ margin-top: -0.2275em;
704
+ display: block;
705
+ }
706
+ }
707
+
708
+ @media screen and (min-width: 768px) and (max-width: 1439px) {
709
+ .emotion-3 {
710
+ font-family: "Bitter",serif;
711
+ font-size: 32px;
712
+ line-height: 36px;
713
+ font-weight: 500;
714
+ letter-spacing: 0;
715
+ padding: 0.5px 0px;
716
+ }
717
+
718
+ .emotion-3::before {
719
+ content: '';
720
+ margin-bottom: -0.2055em;
721
+ display: block;
722
+ }
723
+
724
+ .emotion-3::after {
725
+ content: '';
726
+ margin-top: -0.2275em;
727
+ display: block;
728
+ }
729
+ }
730
+
731
+ @media screen and (min-width: 1440px) {
732
+ .emotion-3 {
733
+ font-family: "Bitter",serif;
734
+ font-size: 36px;
735
+ line-height: 40.5px;
736
+ font-weight: 500;
737
+ letter-spacing: 0;
738
+ padding: 0.5px 0px;
739
+ }
740
+
741
+ .emotion-3::before {
742
+ content: '';
743
+ margin-bottom: -0.2055em;
744
+ display: block;
745
+ }
746
+
747
+ .emotion-3::after {
748
+ content: '';
749
+ margin-top: -0.2275em;
750
+ display: block;
751
+ }
752
+ }
753
+
754
+ .emotion-4 {
755
+ display: inline;
756
+ font: inherit;
757
+ margin: 0;
758
+ color: #FFFFFF;
759
+ }
760
+
761
+ .emotion-4 svg {
762
+ fill: #FFFFFF;
763
+ }
764
+
765
+ @media screen {
766
+ .emotion-5 {
767
+ display: none;
768
+ }
769
+ }
770
+
771
+ @media screen and (min-width: 480px) {
772
+ .emotion-5 {
773
+ display: block;
774
+ }
775
+ }
776
+
777
+ @media screen and (min-width: 768px) {
778
+ .emotion-5 {
779
+ display: block;
780
+ }
781
+ }
782
+
783
+ @media screen and (min-width: 1024px) {
784
+ .emotion-5 {
785
+ display: block;
786
+ }
787
+ }
788
+
789
+ @media screen and (min-width: 1440px) {
790
+ .emotion-5 {
791
+ display: block;
792
+ }
793
+ }
794
+
795
+ .emotion-6 {
796
+ display: inline-block;
797
+ transition-property: color;
798
+ transition-duration: 200ms;
799
+ transition-timing-function: cubic-bezier(0, 0, .5, 1);
800
+ color: #FFFFFF;
801
+ }
802
+
803
+ .emotion-6 svg {
804
+ fill: #FFFFFF;
805
+ }
806
+
807
+ .emotion-7 {
808
+ display: -webkit-box;
809
+ display: -webkit-flex;
810
+ display: -ms-flexbox;
811
+ display: flex;
812
+ height: 100%;
813
+ -webkit-align-items: center;
814
+ -webkit-box-align: center;
815
+ -ms-flex-align: center;
816
+ align-items: center;
817
+ -webkit-flex-direction: row;
818
+ -ms-flex-direction: row;
819
+ flex-direction: row;
820
+ -webkit-box-pack: start;
821
+ -ms-flex-pack: start;
822
+ -webkit-justify-content: flex-start;
823
+ justify-content: flex-start;
824
+ margin-left: calc(-8px/2);
825
+ margin-right: calc(-8px/2);
826
+ }
827
+
828
+ .emotion-8 {
829
+ display: -webkit-inline-box;
830
+ display: -webkit-inline-flex;
831
+ display: -ms-inline-flexbox;
832
+ display: inline-flex;
833
+ margin-left: calc(8px/2);
834
+ margin-right: calc(8px/2);
835
+ }
836
+
837
+ .emotion-9 {
838
+ margin: 0;
839
+ font-family: "Poppins",sans-serif;
840
+ font-size: 14px;
841
+ line-height: 21px;
842
+ font-weight: 500;
843
+ letter-spacing: 0;
844
+ padding: 0.5px 0px;
845
+ display: inline-block;
846
+ display: block;
847
+ }
848
+
849
+ .emotion-9::before {
850
+ content: '';
851
+ margin-bottom: -0.403em;
852
+ display: block;
853
+ }
854
+
855
+ .emotion-9::after {
856
+ content: '';
857
+ margin-top: -0.4em;
858
+ display: block;
859
+ }
860
+
861
+ .emotion-11 {
862
+ display: inline-block;
863
+ vertical-align: middle;
864
+ overflow: hidden;
865
+ fill: #2E2E2E;
866
+ vertical-align: unset;
867
+ display: inline-block;
868
+ top: 1px;
869
+ position: relative;
870
+ }
871
+
872
+ .emotion-11.emotion-11 {
873
+ width: 24px;
874
+ height: 24px;
875
+ }
876
+
877
+ <div
878
+ class="emotion-0"
879
+ data-testid="SectionTitleBar"
880
+ >
881
+ <div
882
+ class="emotion-1"
883
+ >
884
+ <div
885
+ class="emotion-2"
886
+ >
887
+ <section
888
+ class="emotion-3"
889
+ >
890
+ <h3
891
+ class="nk-headline-heading emotion-4"
892
+ >
893
+ Section 1
894
+ </h3>
895
+ </section>
896
+ </div>
897
+ <div
898
+ class="emotion-5"
899
+ >
900
+ <a
901
+ class="emotion-6"
902
+ href="/section-one"
903
+ >
904
+ <span
905
+ class="emotion-7"
906
+ >
907
+ <span
908
+ class="emotion-8"
909
+ >
910
+ <span
911
+ class="emotion-9"
912
+ >
913
+ Link
914
+ </span>
915
+ </span>
916
+ <span
917
+ class="emotion-8"
918
+ >
919
+ <svg
920
+ aria-hidden="true"
921
+ class="emotion-11 emotion-12"
922
+ fill="currentColor"
923
+ focusable="false"
924
+ viewBox="0 0 24 24"
925
+ xmlns="http://www.w3.org/2000/svg"
926
+ >
927
+ <path
928
+ d="M0 0h24v24H0z"
929
+ fill="none"
930
+ />
931
+ <path
932
+ d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
933
+ />
934
+ </svg>
935
+ </span>
936
+ </span>
937
+ </a>
938
+ </div>
939
+ </div>
940
+ </div>
941
+ </DocumentFragment>
942
+ `;