@times-components/article 7.12.0 → 7.13.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,17 @@
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.13.0](https://github.com/newsuk/times-components/compare/@times-components/article@7.12.0...@times-components/article@7.13.0) (2022-09-07)
7
+
8
+
9
+ ### Features
10
+
11
+ * **TDP-000:** Remove algolia related articles and various TS imports ([#3147](https://github.com/newsuk/times-components/issues/3147)) ([c5601b4](https://github.com/newsuk/times-components/commit/c5601b41933f35a7a545a6f1c5b9297d76677305))
12
+
13
+
14
+
15
+
16
+
6
17
  # [7.12.0](https://github.com/newsuk/times-components/compare/@times-components/article@7.11.7...@times-components/article@7.12.0) (2022-09-06)
7
18
 
8
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@times-components/article",
3
- "version": "7.12.0",
3
+ "version": "7.13.0",
4
4
  "description": "The article",
5
5
  "main": "dist/article",
6
6
  "dev": "src/article",
@@ -52,11 +52,11 @@
52
52
  },
53
53
  "dependencies": {
54
54
  "@times-components/ad": "2.21.0",
55
- "@times-components/article-in-depth": "3.57.0",
56
- "@times-components/article-magazine-comment": "3.56.0",
57
- "@times-components/article-magazine-standard": "3.55.0",
58
- "@times-components/article-main-comment": "2.54.0",
59
- "@times-components/article-main-standard": "3.61.0",
55
+ "@times-components/article-in-depth": "3.58.0",
56
+ "@times-components/article-magazine-comment": "3.57.0",
57
+ "@times-components/article-magazine-standard": "3.56.0",
58
+ "@times-components/article-main-comment": "2.55.0",
59
+ "@times-components/article-main-standard": "3.62.0",
60
60
  "@times-components/context": "1.10.0",
61
61
  "@times-components/message-bar": "0.7.0",
62
62
  "@times-components/provider": "1.33.0",
@@ -74,5 +74,5 @@
74
74
  "publishConfig": {
75
75
  "access": "public"
76
76
  },
77
- "gitHead": "d6ce891cb47a7bd75fb96fa21bb0f5d8b1a6e856"
77
+ "gitHead": "f1539bfcbc22266c4820bd682c47f562a1032487"
78
78
  }
@@ -223,9 +223,7 @@ const renderArticle = ({
223
223
  section,
224
224
  template,
225
225
  isTeaser,
226
- isMeteredExpired,
227
- additionalRelatedArticlesFlag,
228
- algoliaSearchKeys
226
+ isMeteredExpired
229
227
  }) => (
230
228
  <ArticleProvider debounceTimeMs={0} id={id}>
231
229
  {({ article, error, refetch }) => {
@@ -284,8 +282,6 @@ const renderArticle = ({
284
282
  "onVideoPress"
285
283
  )}
286
284
  refetch={refetch}
287
- additionalRelatedArticlesFlag={additionalRelatedArticlesFlag}
288
- algoliaSearchKeys={algoliaSearchKeys}
289
285
  commentingConfig={commentingConfig}
290
286
  />
291
287
  </ContextProviderWithDefaults>
@@ -338,18 +334,6 @@ const renderArticleConfig = ({
338
334
  const { isLoggedIn, isMeteredExpired, isShared } = user;
339
335
  const isTeaser = !isShared && (isMeteredExpired || !isLoggedIn);
340
336
 
341
- const algoliaSearchKeys = {
342
- applicationId: "",
343
- apiKey: "",
344
- indexName: ""
345
- };
346
-
347
- const additionalRelatedArticlesFlag = boolean(
348
- "Additional Featured Articles",
349
- false,
350
- "User State"
351
- );
352
-
353
337
  return (
354
338
  <Fragment>
355
339
  {link}
@@ -380,9 +364,7 @@ const renderArticleConfig = ({
380
364
  isMeteredExpired,
381
365
  scale,
382
366
  section,
383
- template,
384
- additionalRelatedArticlesFlag,
385
- algoliaSearchKeys
367
+ template
386
368
  })}
387
369
  </ArticleConfigurator>
388
370
  }