@times-components/article 7.15.3 → 7.16.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,25 @@
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.16.0](https://github.com/newsuk/times-components/compare/@times-components/article@7.15.4...@times-components/article@7.16.0) (2023-07-20)
7
+
8
+
9
+ ### Features
10
+
11
+ * **TMRX-1250:** remove update button feature flag ([#3435](https://github.com/newsuk/times-components/issues/3435)) ([b32914a](https://github.com/newsuk/times-components/commit/b32914a4dab11cdecc3b36f8579f679429208227))
12
+
13
+
14
+
15
+
16
+
17
+ ## [7.15.4](https://github.com/newsuk/times-components/compare/@times-components/article@7.15.3...@times-components/article@7.15.4) (2023-07-19)
18
+
19
+ **Note:** Version bump only for package @times-components/article
20
+
21
+
22
+
23
+
24
+
6
25
  ## [7.15.3](https://github.com/newsuk/times-components/compare/@times-components/article@7.15.2...@times-components/article@7.15.3) (2023-07-18)
7
26
 
8
27
  **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.15.3",
3
+ "version": "7.16.0",
4
4
  "description": "The article",
5
5
  "main": "dist/article",
6
6
  "dev": "src/article",
@@ -53,11 +53,11 @@
53
53
  },
54
54
  "dependencies": {
55
55
  "@times-components/ad": "2.21.29",
56
- "@times-components/article-in-depth": "3.74.3",
57
- "@times-components/article-magazine-comment": "3.71.13",
58
- "@times-components/article-magazine-standard": "3.71.13",
59
- "@times-components/article-main-comment": "2.67.34",
60
- "@times-components/article-main-standard": "3.78.3",
56
+ "@times-components/article-in-depth": "3.75.0",
57
+ "@times-components/article-magazine-comment": "3.71.15",
58
+ "@times-components/article-magazine-standard": "3.71.15",
59
+ "@times-components/article-main-comment": "2.67.36",
60
+ "@times-components/article-main-standard": "3.79.0",
61
61
  "@times-components/context": "1.10.26",
62
62
  "@times-components/message-bar": "0.7.30",
63
63
  "@times-components/provider": "1.38.0",
@@ -75,5 +75,5 @@
75
75
  "publishConfig": {
76
76
  "access": "public"
77
77
  },
78
- "gitHead": "5d52acb47460934c05285a075e369fbf49d746f0"
78
+ "gitHead": "89615132e582dffda050bf7c0c622eed38e48388"
79
79
  }
@@ -218,8 +218,7 @@ const renderArticle = ({
218
218
  section,
219
219
  template,
220
220
  isTeaser,
221
- isMeteredExpired,
222
- showUpdate
221
+ isMeteredExpired
223
222
  }) => (
224
223
  <ArticleProvider debounceTimeMs={0} id={id}>
225
224
  {({ article, error, refetch }) => {
@@ -279,7 +278,6 @@ const renderArticle = ({
279
278
  )}
280
279
  refetch={refetch}
281
280
  commentingConfig={commentingConfig}
282
- showUpdate={showUpdate}
283
281
  />
284
282
  </ContextProviderWithDefaults>
285
283
  );
@@ -329,7 +327,6 @@ const renderArticleConfig = ({
329
327
  const user = (global.nuk && global.nuk.user) || {};
330
328
  const { isLoggedIn, isMeteredExpired, isShared } = user;
331
329
  const isTeaser = !isShared && (isMeteredExpired || !isLoggedIn);
332
- const showUpdate = boolean("Show Update", true);
333
330
 
334
331
  return (
335
332
  <Fragment>
@@ -346,8 +343,7 @@ const renderArticleConfig = ({
346
343
  withPullQuote,
347
344
  withStandfirst,
348
345
  withVideo,
349
- withTeasedContent: isTeaser,
350
- showUpdate
346
+ withTeasedContent: isTeaser
351
347
  })}
352
348
  id={id}
353
349
  >
@@ -362,8 +358,7 @@ const renderArticleConfig = ({
362
358
  isMeteredExpired,
363
359
  scale,
364
360
  section,
365
- template,
366
- showUpdate
361
+ template
367
362
  })}
368
363
  </ArticleConfigurator>
369
364
  }