@times-components/article 7.8.38 → 7.8.42

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 CHANGED
@@ -3,6 +3,38 @@
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.42](https://github.com/newsuk/times-components/compare/@times-components/article@7.8.41...@times-components/article@7.8.42) (2022-01-20)
7
+
8
+ **Note:** Version bump only for package @times-components/article
9
+
10
+
11
+
12
+
13
+
14
+ ## [7.8.41](https://github.com/newsuk/times-components/compare/@times-components/article@7.8.40...@times-components/article@7.8.41) (2022-01-14)
15
+
16
+ **Note:** Version bump only for package @times-components/article
17
+
18
+
19
+
20
+
21
+
22
+ ## [7.8.40](https://github.com/newsuk/times-components/compare/@times-components/article@7.8.39...@times-components/article@7.8.40) (2022-01-13)
23
+
24
+ **Note:** Version bump only for package @times-components/article
25
+
26
+
27
+
28
+
29
+
30
+ ## [7.8.39](https://github.com/newsuk/times-components/compare/@times-components/article@7.8.38...@times-components/article@7.8.39) (2022-01-12)
31
+
32
+ **Note:** Version bump only for package @times-components/article
33
+
34
+
35
+
36
+
37
+
6
38
  ## [7.8.38](https://github.com/newsuk/times-components/compare/@times-components/article@7.8.37...@times-components/article@7.8.38) (2022-01-10)
7
39
 
8
40
  **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.38",
3
+ "version": "7.8.42",
4
4
  "description": "The article",
5
5
  "main": "dist/article",
6
6
  "dev": "src/article",
@@ -61,11 +61,11 @@
61
61
  },
62
62
  "dependencies": {
63
63
  "@times-components/ad": "2.16.4",
64
- "@times-components/article-in-depth": "3.36.12",
65
- "@times-components/article-magazine-comment": "3.36.12",
66
- "@times-components/article-magazine-standard": "3.36.12",
67
- "@times-components/article-main-comment": "2.36.12",
68
- "@times-components/article-main-standard": "3.41.12",
64
+ "@times-components/article-in-depth": "3.36.16",
65
+ "@times-components/article-magazine-comment": "3.36.16",
66
+ "@times-components/article-magazine-standard": "3.36.16",
67
+ "@times-components/article-main-comment": "2.36.16",
68
+ "@times-components/article-main-standard": "3.41.16",
69
69
  "@times-components/context": "1.2.30",
70
70
  "@times-components/message-bar": "0.3.71",
71
71
  "@times-components/provider": "1.28.2",
@@ -85,5 +85,5 @@
85
85
  "publishConfig": {
86
86
  "access": "public"
87
87
  },
88
- "gitHead": "73d85ea2e758202d87ec85a253def320503f27d7"
88
+ "gitHead": "f4ce55623742d5fdff4f3b7f714fae63d32019b6"
89
89
  }
@@ -38,6 +38,15 @@ const STANDFIRST = 128;
38
38
  const VIDEO = 256;
39
39
  const TEASED_CONTENT = 512;
40
40
 
41
+ const commentingConfig = {
42
+ account: {
43
+ current: process.env.STORYBOOK_COMMENTING_CURRENT_ID || "sp_pCQgrRiN",
44
+ readOnly: process.env.STORYBOOK_COMMENTING_READONLY_ID || "sp_pCQgrRiN"
45
+ },
46
+ switchOver:
47
+ process.env.STORYBOOK_COMMENTING_SWITCHOVER || "2023-10-10T16:00:00.000Z"
48
+ };
49
+
41
50
  export const makeArticleConfiguration = ({
42
51
  withFlags,
43
52
  withHeadline,
@@ -283,6 +292,7 @@ const renderArticle = ({
283
292
  latestFromSection={latestFromSection.find(
284
293
  ({ section: sectionName }) => sectionName === section
285
294
  )}
295
+ commentingConfig={commentingConfig}
286
296
  />
287
297
  </ContextProviderWithDefaults>
288
298
  );