@newskit-render/core 4.6.1 → 4.6.2-alpha.1
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 +8 -0
- package/__tests__/pages/__snapshots__/[articleSlug].test.tsx.snap +12 -10
- package/__tests__/pages/__snapshots__/home.test.tsx.snap +21 -21
- package/components/article/__tests__/__snapshots__/index.test.tsx.snap +20 -18
- package/components/section/layouts/__tests__/__snapshots__/Lead.test.tsx.snap +6 -6
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [4.6.1](https://github.com/newscorp-ghfb/ncu-newskit-render/compare/@newskit-render/core@4.6.1-alpha.1...@newskit-render/core@4.6.1) (2023-05-05)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @newskit-render/core
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [4.6.0](https://github.com/newscorp-ghfb/ncu-newskit-render/compare/@newskit-render/core@4.6.0-alpha.3...@newskit-render/core@4.6.0) (2023-05-04)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @newskit-render/core
|
|
@@ -309,15 +309,16 @@ exports[`Recommendation render related article page when data is null page 1`] =
|
|
|
309
309
|
<div
|
|
310
310
|
class="css-13byt3y"
|
|
311
311
|
>
|
|
312
|
-
<
|
|
313
|
-
class="css-
|
|
312
|
+
<span
|
|
313
|
+
class="css-7zhfhb"
|
|
314
314
|
>
|
|
315
|
-
<
|
|
315
|
+
<time
|
|
316
316
|
class="css-2pl38e"
|
|
317
|
+
datetime="2019-02-14 12:37:17+00"
|
|
317
318
|
>
|
|
318
319
|
Thu February 14 2019, 12:37am
|
|
319
|
-
</
|
|
320
|
-
</
|
|
320
|
+
</time>
|
|
321
|
+
</span>
|
|
321
322
|
</div>
|
|
322
323
|
</div>
|
|
323
324
|
</div>
|
|
@@ -439,15 +440,16 @@ exports[`Recommendation render related article page when data is null page 1`] =
|
|
|
439
440
|
<div
|
|
440
441
|
class="css-13byt3y"
|
|
441
442
|
>
|
|
442
|
-
<
|
|
443
|
-
class="css-
|
|
443
|
+
<span
|
|
444
|
+
class="css-7zhfhb"
|
|
444
445
|
>
|
|
445
|
-
<
|
|
446
|
+
<time
|
|
446
447
|
class="css-2pl38e"
|
|
448
|
+
datetime="2019-02-14 12:37:17+00"
|
|
447
449
|
>
|
|
448
450
|
Thu February 14 2019, 12:37am
|
|
449
|
-
</
|
|
450
|
-
</
|
|
451
|
+
</time>
|
|
452
|
+
</span>
|
|
451
453
|
</div>
|
|
452
454
|
</div>
|
|
453
455
|
<div
|
|
@@ -238,11 +238,11 @@ exports[`getServerSideProps Homepage 1`] = `
|
|
|
238
238
|
class="css-8oi1su"
|
|
239
239
|
>
|
|
240
240
|
<a
|
|
241
|
-
class="nk-card-link css-
|
|
241
|
+
class="nk-card-link css-c1j6lb"
|
|
242
242
|
href="catagory-one/demo-1/test-headline"
|
|
243
243
|
>
|
|
244
244
|
<section
|
|
245
|
-
class="css-1jxtwhc"
|
|
245
|
+
class="nk-card-headline css-1jxtwhc"
|
|
246
246
|
>
|
|
247
247
|
<h3
|
|
248
248
|
class="nk-headline-heading css-oeq8ks"
|
|
@@ -296,11 +296,11 @@ exports[`getServerSideProps Homepage 1`] = `
|
|
|
296
296
|
class="css-6vc2ul"
|
|
297
297
|
>
|
|
298
298
|
<a
|
|
299
|
-
class="nk-card-link css-
|
|
299
|
+
class="nk-card-link css-c1j6lb"
|
|
300
300
|
href="catagory-two/demo-2/test-headline-2"
|
|
301
301
|
>
|
|
302
302
|
<section
|
|
303
|
-
class="css-4kc5mr"
|
|
303
|
+
class="nk-card-headline css-4kc5mr"
|
|
304
304
|
>
|
|
305
305
|
<h3
|
|
306
306
|
class="nk-headline-heading css-oeq8ks"
|
|
@@ -351,11 +351,11 @@ exports[`getServerSideProps Homepage 1`] = `
|
|
|
351
351
|
class="css-6vc2ul"
|
|
352
352
|
>
|
|
353
353
|
<a
|
|
354
|
-
class="nk-card-link css-
|
|
354
|
+
class="nk-card-link css-c1j6lb"
|
|
355
355
|
href="catagory-three/demo-3/test-headline-3"
|
|
356
356
|
>
|
|
357
357
|
<section
|
|
358
|
-
class="css-4kc5mr"
|
|
358
|
+
class="nk-card-headline css-4kc5mr"
|
|
359
359
|
>
|
|
360
360
|
<h3
|
|
361
361
|
class="nk-headline-heading css-oeq8ks"
|
|
@@ -415,11 +415,11 @@ exports[`getServerSideProps Homepage 1`] = `
|
|
|
415
415
|
class="css-6vc2ul"
|
|
416
416
|
>
|
|
417
417
|
<a
|
|
418
|
-
class="nk-card-link css-
|
|
418
|
+
class="nk-card-link css-c1j6lb"
|
|
419
419
|
href="catagory-one/demo-1/test-headline"
|
|
420
420
|
>
|
|
421
421
|
<section
|
|
422
|
-
class="css-4kc5mr"
|
|
422
|
+
class="nk-card-headline css-4kc5mr"
|
|
423
423
|
>
|
|
424
424
|
<h3
|
|
425
425
|
class="nk-headline-heading css-oeq8ks"
|
|
@@ -470,11 +470,11 @@ exports[`getServerSideProps Homepage 1`] = `
|
|
|
470
470
|
class="css-6vc2ul"
|
|
471
471
|
>
|
|
472
472
|
<a
|
|
473
|
-
class="nk-card-link css-
|
|
473
|
+
class="nk-card-link css-c1j6lb"
|
|
474
474
|
href="catagory-two/demo-2/test-headline-2"
|
|
475
475
|
>
|
|
476
476
|
<section
|
|
477
|
-
class="css-4kc5mr"
|
|
477
|
+
class="nk-card-headline css-4kc5mr"
|
|
478
478
|
>
|
|
479
479
|
<h3
|
|
480
480
|
class="nk-headline-heading css-oeq8ks"
|
|
@@ -525,11 +525,11 @@ exports[`getServerSideProps Homepage 1`] = `
|
|
|
525
525
|
class="css-6vc2ul"
|
|
526
526
|
>
|
|
527
527
|
<a
|
|
528
|
-
class="nk-card-link css-
|
|
528
|
+
class="nk-card-link css-c1j6lb"
|
|
529
529
|
href="catagory-three/demo-3/test-headline-3"
|
|
530
530
|
>
|
|
531
531
|
<section
|
|
532
|
-
class="css-4kc5mr"
|
|
532
|
+
class="nk-card-headline css-4kc5mr"
|
|
533
533
|
>
|
|
534
534
|
<h3
|
|
535
535
|
class="nk-headline-heading css-oeq8ks"
|
|
@@ -580,11 +580,11 @@ exports[`getServerSideProps Homepage 1`] = `
|
|
|
580
580
|
class="css-6vc2ul"
|
|
581
581
|
>
|
|
582
582
|
<a
|
|
583
|
-
class="nk-card-link css-
|
|
583
|
+
class="nk-card-link css-c1j6lb"
|
|
584
584
|
href="catagory-four/demo-4/test-headline-4"
|
|
585
585
|
>
|
|
586
586
|
<section
|
|
587
|
-
class="css-4kc5mr"
|
|
587
|
+
class="nk-card-headline css-4kc5mr"
|
|
588
588
|
>
|
|
589
589
|
<h3
|
|
590
590
|
class="nk-headline-heading css-oeq8ks"
|
|
@@ -742,7 +742,7 @@ exports[`getServerSideProps Homepage 1`] = `
|
|
|
742
742
|
class="css-8oi1su"
|
|
743
743
|
>
|
|
744
744
|
<section
|
|
745
|
-
class="css-1jxtwhc"
|
|
745
|
+
class="nk-card-headline css-1jxtwhc"
|
|
746
746
|
>
|
|
747
747
|
<h3
|
|
748
748
|
class="nk-headline-heading css-b3iww6"
|
|
@@ -794,7 +794,7 @@ exports[`getServerSideProps Homepage 1`] = `
|
|
|
794
794
|
class="css-6vc2ul"
|
|
795
795
|
>
|
|
796
796
|
<section
|
|
797
|
-
class="css-4kc5mr"
|
|
797
|
+
class="nk-card-headline css-4kc5mr"
|
|
798
798
|
>
|
|
799
799
|
<h3
|
|
800
800
|
class="nk-headline-heading css-b3iww6"
|
|
@@ -843,7 +843,7 @@ exports[`getServerSideProps Homepage 1`] = `
|
|
|
843
843
|
class="css-6vc2ul"
|
|
844
844
|
>
|
|
845
845
|
<section
|
|
846
|
-
class="css-4kc5mr"
|
|
846
|
+
class="nk-card-headline css-4kc5mr"
|
|
847
847
|
>
|
|
848
848
|
<h3
|
|
849
849
|
class="nk-headline-heading css-b3iww6"
|
|
@@ -902,11 +902,11 @@ exports[`getServerSideProps Homepage 1`] = `
|
|
|
902
902
|
class="css-e1v6d5"
|
|
903
903
|
>
|
|
904
904
|
<a
|
|
905
|
-
class="nk-card-link css-
|
|
905
|
+
class="nk-card-link css-c1j6lb"
|
|
906
906
|
href="catagory-one/demo-1/test-headline"
|
|
907
907
|
>
|
|
908
908
|
<section
|
|
909
|
-
class="css-jdch7u"
|
|
909
|
+
class="nk-card-headline css-jdch7u"
|
|
910
910
|
>
|
|
911
911
|
<h3
|
|
912
912
|
class="nk-headline-heading css-oeq8ks"
|
|
@@ -966,11 +966,11 @@ exports[`getServerSideProps Homepage 1`] = `
|
|
|
966
966
|
class="css-e1v6d5"
|
|
967
967
|
>
|
|
968
968
|
<a
|
|
969
|
-
class="nk-card-link css-
|
|
969
|
+
class="nk-card-link css-c1j6lb"
|
|
970
970
|
href="catagory-one/demo-2/test-headline-2"
|
|
971
971
|
>
|
|
972
972
|
<section
|
|
973
|
-
class="css-jdch7u"
|
|
973
|
+
class="nk-card-headline css-jdch7u"
|
|
974
974
|
>
|
|
975
975
|
<h3
|
|
976
976
|
class="nk-headline-heading css-oeq8ks"
|
|
@@ -309,15 +309,16 @@ exports[`Article should render tile and sub title 1`] = `
|
|
|
309
309
|
<div
|
|
310
310
|
class="css-13byt3y"
|
|
311
311
|
>
|
|
312
|
-
<
|
|
313
|
-
class="css-
|
|
312
|
+
<span
|
|
313
|
+
class="css-7zhfhb"
|
|
314
314
|
>
|
|
315
|
-
<
|
|
315
|
+
<time
|
|
316
316
|
class="css-2pl38e"
|
|
317
|
+
datetime="2019-02-14 12:37:17+00"
|
|
317
318
|
>
|
|
318
319
|
Thu February 14 2019, 12:37am
|
|
319
|
-
</
|
|
320
|
-
</
|
|
320
|
+
</time>
|
|
321
|
+
</span>
|
|
321
322
|
</div>
|
|
322
323
|
</div>
|
|
323
324
|
</div>
|
|
@@ -439,15 +440,16 @@ exports[`Article should render tile and sub title 1`] = `
|
|
|
439
440
|
<div
|
|
440
441
|
class="css-13byt3y"
|
|
441
442
|
>
|
|
442
|
-
<
|
|
443
|
-
class="css-
|
|
443
|
+
<span
|
|
444
|
+
class="css-7zhfhb"
|
|
444
445
|
>
|
|
445
|
-
<
|
|
446
|
+
<time
|
|
446
447
|
class="css-2pl38e"
|
|
448
|
+
datetime="2019-02-14 12:37:17+00"
|
|
447
449
|
>
|
|
448
450
|
Thu February 14 2019, 12:37am
|
|
449
|
-
</
|
|
450
|
-
</
|
|
451
|
+
</time>
|
|
452
|
+
</span>
|
|
451
453
|
</div>
|
|
452
454
|
</div>
|
|
453
455
|
<div
|
|
@@ -986,11 +988,11 @@ exports[`Article should render tile and sub title 1`] = `
|
|
|
986
988
|
class="css-13pp6jk"
|
|
987
989
|
>
|
|
988
990
|
<a
|
|
989
|
-
class="nk-card-link css-
|
|
991
|
+
class="nk-card-link css-c1j6lb"
|
|
990
992
|
href="http://localhost"
|
|
991
993
|
>
|
|
992
994
|
<section
|
|
993
|
-
class="css-v6h0se"
|
|
995
|
+
class="nk-card-headline css-v6h0se"
|
|
994
996
|
>
|
|
995
997
|
<h4
|
|
996
998
|
class="nk-headline-heading css-oeq8ks"
|
|
@@ -1035,11 +1037,11 @@ exports[`Article should render tile and sub title 1`] = `
|
|
|
1035
1037
|
class="css-13pp6jk"
|
|
1036
1038
|
>
|
|
1037
1039
|
<a
|
|
1038
|
-
class="nk-card-link css-
|
|
1040
|
+
class="nk-card-link css-c1j6lb"
|
|
1039
1041
|
href="http://localhost"
|
|
1040
1042
|
>
|
|
1041
1043
|
<section
|
|
1042
|
-
class="css-v6h0se"
|
|
1044
|
+
class="nk-card-headline css-v6h0se"
|
|
1043
1045
|
>
|
|
1044
1046
|
<h4
|
|
1045
1047
|
class="nk-headline-heading css-oeq8ks"
|
|
@@ -1214,11 +1216,11 @@ exports[`Article should render tile and sub title 1`] = `
|
|
|
1214
1216
|
class="css-1u9vlr9"
|
|
1215
1217
|
>
|
|
1216
1218
|
<a
|
|
1217
|
-
class="nk-card-link css-
|
|
1219
|
+
class="nk-card-link css-c1j6lb"
|
|
1218
1220
|
href="http://localhost"
|
|
1219
1221
|
>
|
|
1220
1222
|
<section
|
|
1221
|
-
class="css-jdch7u"
|
|
1223
|
+
class="nk-card-headline css-jdch7u"
|
|
1222
1224
|
>
|
|
1223
1225
|
<h6
|
|
1224
1226
|
class="nk-headline-heading css-oeq8ks"
|
|
@@ -1280,11 +1282,11 @@ exports[`Article should render tile and sub title 1`] = `
|
|
|
1280
1282
|
class="css-1u9vlr9"
|
|
1281
1283
|
>
|
|
1282
1284
|
<a
|
|
1283
|
-
class="nk-card-link css-
|
|
1285
|
+
class="nk-card-link css-c1j6lb"
|
|
1284
1286
|
href="http://localhost"
|
|
1285
1287
|
>
|
|
1286
1288
|
<section
|
|
1287
|
-
class="css-jdch7u"
|
|
1289
|
+
class="nk-card-headline css-jdch7u"
|
|
1288
1290
|
>
|
|
1289
1291
|
<h6
|
|
1290
1292
|
class="nk-headline-heading css-oeq8ks"
|
|
@@ -43,11 +43,11 @@ exports[`Lead should render Lead 1`] = `
|
|
|
43
43
|
class="css-8oi1su"
|
|
44
44
|
>
|
|
45
45
|
<a
|
|
46
|
-
class="nk-card-link css-
|
|
46
|
+
class="nk-card-link css-c1j6lb"
|
|
47
47
|
href="catagory-one/demo-1/test-headline"
|
|
48
48
|
>
|
|
49
49
|
<section
|
|
50
|
-
class="css-1jxtwhc"
|
|
50
|
+
class="nk-card-headline css-1jxtwhc"
|
|
51
51
|
>
|
|
52
52
|
<h3
|
|
53
53
|
class="nk-headline-heading css-oeq8ks"
|
|
@@ -101,11 +101,11 @@ exports[`Lead should render Lead 1`] = `
|
|
|
101
101
|
class="css-6vc2ul"
|
|
102
102
|
>
|
|
103
103
|
<a
|
|
104
|
-
class="nk-card-link css-
|
|
104
|
+
class="nk-card-link css-c1j6lb"
|
|
105
105
|
href="catagory-two/demo-2/test-headline-2"
|
|
106
106
|
>
|
|
107
107
|
<section
|
|
108
|
-
class="css-4kc5mr"
|
|
108
|
+
class="nk-card-headline css-4kc5mr"
|
|
109
109
|
>
|
|
110
110
|
<h3
|
|
111
111
|
class="nk-headline-heading css-oeq8ks"
|
|
@@ -156,11 +156,11 @@ exports[`Lead should render Lead 1`] = `
|
|
|
156
156
|
class="css-6vc2ul"
|
|
157
157
|
>
|
|
158
158
|
<a
|
|
159
|
-
class="nk-card-link css-
|
|
159
|
+
class="nk-card-link css-c1j6lb"
|
|
160
160
|
href="catagory-three/demo-3/test-headline-3"
|
|
161
161
|
>
|
|
162
162
|
<section
|
|
163
|
-
class="css-4kc5mr"
|
|
163
|
+
class="nk-card-headline css-4kc5mr"
|
|
164
164
|
>
|
|
165
165
|
<h3
|
|
166
166
|
class="nk-headline-heading css-oeq8ks"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@newskit-render/core",
|
|
3
|
-
"version": "4.6.1",
|
|
3
|
+
"version": "4.6.2-alpha.1",
|
|
4
4
|
"description": "Newskit Render - Core package",
|
|
5
5
|
"author": "",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -40,21 +40,21 @@
|
|
|
40
40
|
"@emotion/react": "11.9.3",
|
|
41
41
|
"@emotion/styled": "11.9.3",
|
|
42
42
|
"@newskit-render/api": "^1.6.8",
|
|
43
|
-
"@newskit-render/auth": "^1.3.
|
|
44
|
-
"@newskit-render/checkout": "^3.2.
|
|
43
|
+
"@newskit-render/auth": "^1.3.12-alpha.1",
|
|
44
|
+
"@newskit-render/checkout": "^3.2.3-alpha.1",
|
|
45
45
|
"@newskit-render/feature-flags": "^1.4.11",
|
|
46
|
-
"@newskit-render/feed": "^1.4.
|
|
47
|
-
"@newskit-render/my-account": "^6.7.1",
|
|
48
|
-
"@newskit-render/shared-components": "^3.9.
|
|
49
|
-
"@newskit-render/standalone-components": "^3.8.1",
|
|
50
|
-
"@newskit-render/validation": "^1.7.
|
|
46
|
+
"@newskit-render/feed": "^1.4.19-alpha.1",
|
|
47
|
+
"@newskit-render/my-account": "^6.7.2-alpha.1",
|
|
48
|
+
"@newskit-render/shared-components": "^3.9.1-alpha.1",
|
|
49
|
+
"@newskit-render/standalone-components": "^3.8.2-alpha.1",
|
|
50
|
+
"@newskit-render/validation": "^1.7.1-alpha.1",
|
|
51
51
|
"@next/font": "13.1.6",
|
|
52
52
|
"cross-fetch": "3.1.5",
|
|
53
53
|
"graphql": "16.6.0",
|
|
54
54
|
"lodash.get": "4.4.2",
|
|
55
55
|
"newrelic": "7.1.0",
|
|
56
|
-
"newskit": "7.
|
|
57
|
-
"next": "13.1
|
|
56
|
+
"newskit": "7.3.0",
|
|
57
|
+
"next": "13.4.1",
|
|
58
58
|
"react": "18.2.0",
|
|
59
59
|
"react-dom": "18.2.0",
|
|
60
60
|
"react-helmet": "6.1.0",
|