@times-components/article 7.8.32 → 7.8.36
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 +35 -0
- package/package.json +18 -18
- package/showcase-helper.js +0 -8
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,41 @@
|
|
|
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
|
+
## [7.8.36](https://github.com/newsuk/times-components/compare/@times-components/article@7.8.35...@times-components/article@7.8.36) (2022-01-07)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **TPD-997:** Remove inline related articles flag ([#2834](https://github.com/newsuk/times-components/issues/2834)) ([ffc332a](https://github.com/newsuk/times-components/commit/ffc332a0bf096e5436427b990a495bb3caff80ff))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [7.8.35](https://github.com/newsuk/times-components/compare/@times-components/article@7.8.34...@times-components/article@7.8.35) (2022-01-04)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @times-components/article
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## [7.8.34](https://github.com/newsuk/times-components/compare/@times-components/article@7.8.33...@times-components/article@7.8.34) (2022-01-04)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @times-components/article
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
## [7.8.33](https://github.com/newsuk/times-components/compare/@times-components/article@7.8.32...@times-components/article@7.8.33) (2022-01-04)
|
|
34
|
+
|
|
35
|
+
**Note:** Version bump only for package @times-components/article
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
6
41
|
## [7.8.32](https://github.com/newsuk/times-components/compare/@times-components/article@7.8.31...@times-components/article@7.8.32) (2021-12-21)
|
|
7
42
|
|
|
8
43
|
**Note:** Version bump only for package @times-components/article
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@times-components/article",
|
|
3
|
-
"version": "7.8.
|
|
3
|
+
"version": "7.8.36",
|
|
4
4
|
"description": "The article",
|
|
5
5
|
"main": "dist/article",
|
|
6
6
|
"dev": "src/article",
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@babel/core": "7.4.4",
|
|
38
38
|
"@times-components/eslint-config-thetimes": "0.8.18",
|
|
39
|
-
"@times-components/jest-configurator": "2.
|
|
40
|
-
"@times-components/provider-test-tools": "1.21.
|
|
41
|
-
"@times-components/storybook": "4.1.
|
|
42
|
-
"@times-components/tealium-utils": "0.7.
|
|
43
|
-
"@times-components/user-state": "0.1.
|
|
39
|
+
"@times-components/jest-configurator": "2.8.0",
|
|
40
|
+
"@times-components/provider-test-tools": "1.21.1",
|
|
41
|
+
"@times-components/storybook": "4.1.70",
|
|
42
|
+
"@times-components/tealium-utils": "0.7.75",
|
|
43
|
+
"@times-components/user-state": "0.1.67",
|
|
44
44
|
"@times-components/webpack-configurator": "2.0.29",
|
|
45
45
|
"babel-jest": "24.8.0",
|
|
46
46
|
"babel-loader": "8.0.5",
|
|
@@ -60,17 +60,17 @@
|
|
|
60
60
|
"webpack-cli": "3.3.1"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@times-components/ad": "2.16.
|
|
64
|
-
"@times-components/article-in-depth": "3.36.
|
|
65
|
-
"@times-components/article-magazine-comment": "3.36.
|
|
66
|
-
"@times-components/article-magazine-standard": "3.36.
|
|
67
|
-
"@times-components/article-main-comment": "2.36.
|
|
68
|
-
"@times-components/article-main-standard": "3.41.
|
|
69
|
-
"@times-components/context": "1.2.
|
|
70
|
-
"@times-components/message-bar": "0.3.
|
|
71
|
-
"@times-components/provider": "1.28.
|
|
72
|
-
"@times-components/responsive": "0.7.
|
|
73
|
-
"@times-components/styleguide": "3.38.
|
|
63
|
+
"@times-components/ad": "2.16.4",
|
|
64
|
+
"@times-components/article-in-depth": "3.36.10",
|
|
65
|
+
"@times-components/article-magazine-comment": "3.36.10",
|
|
66
|
+
"@times-components/article-magazine-standard": "3.36.10",
|
|
67
|
+
"@times-components/article-main-comment": "2.36.10",
|
|
68
|
+
"@times-components/article-main-standard": "3.41.10",
|
|
69
|
+
"@times-components/context": "1.2.30",
|
|
70
|
+
"@times-components/message-bar": "0.3.71",
|
|
71
|
+
"@times-components/provider": "1.28.2",
|
|
72
|
+
"@times-components/responsive": "0.7.4",
|
|
73
|
+
"@times-components/styleguide": "3.38.26"
|
|
74
74
|
},
|
|
75
75
|
"resolutions": {
|
|
76
76
|
"react": "16.9.0",
|
|
@@ -85,5 +85,5 @@
|
|
|
85
85
|
"publishConfig": {
|
|
86
86
|
"access": "public"
|
|
87
87
|
},
|
|
88
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "4ccd256c62072ab9386573caa70b0cc3a167953a"
|
|
89
89
|
}
|
package/showcase-helper.js
CHANGED
|
@@ -217,7 +217,6 @@ const renderArticle = ({
|
|
|
217
217
|
isTeaser,
|
|
218
218
|
isMeteredExpired,
|
|
219
219
|
additionalRelatedArticlesFlag,
|
|
220
|
-
inlineRelatedArticlesFlag,
|
|
221
220
|
latestFromSectionFlag,
|
|
222
221
|
algoliaSearchKeys
|
|
223
222
|
}) => (
|
|
@@ -279,7 +278,6 @@ const renderArticle = ({
|
|
|
279
278
|
)}
|
|
280
279
|
refetch={refetch}
|
|
281
280
|
additionalRelatedArticlesFlag={additionalRelatedArticlesFlag}
|
|
282
|
-
inlineRelatedArticlesFlag={inlineRelatedArticlesFlag}
|
|
283
281
|
algoliaSearchKeys={algoliaSearchKeys}
|
|
284
282
|
latestFromSectionFlag={latestFromSectionFlag}
|
|
285
283
|
latestFromSection={latestFromSection.find(
|
|
@@ -347,11 +345,6 @@ const renderArticleConfig = ({
|
|
|
347
345
|
false,
|
|
348
346
|
"User State"
|
|
349
347
|
);
|
|
350
|
-
const inlineRelatedArticlesFlag = boolean(
|
|
351
|
-
"Inline Related Articles",
|
|
352
|
-
false,
|
|
353
|
-
"User State"
|
|
354
|
-
);
|
|
355
348
|
const latestFromSectionFlag = boolean(
|
|
356
349
|
"Latest from Section",
|
|
357
350
|
false,
|
|
@@ -389,7 +382,6 @@ const renderArticleConfig = ({
|
|
|
389
382
|
section,
|
|
390
383
|
template,
|
|
391
384
|
additionalRelatedArticlesFlag,
|
|
392
|
-
inlineRelatedArticlesFlag,
|
|
393
385
|
latestFromSectionFlag,
|
|
394
386
|
algoliaSearchKeys
|
|
395
387
|
})}
|