diff --git a/.circleci/config.yml b/.circleci/config.yml
index cfeadc8da80..685cde49527 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -9,9 +9,21 @@ executors:
docker:
- image: cimg/node:18.19.1
resource_class: small
+ terraform_secret:
+ docker:
+ - image: hashicorp/terraform:1.3.4
+parameters:
+ deploy_secrets:
+ type: boolean
+ default: false
+ use_secret_rotator:
+ type: boolean
+ default: true
orbs:
sonarcloud: sonarsource/sonarcloud@2.0.0
+ aws-cli: circleci/aws-cli@4.1.2
+ aws-secrets-manager: nukengprod/aws-secrets-manager@0.3.61
commands:
install-dependencies:
@@ -42,6 +54,17 @@ commands:
name: "Install Lerna"
command: yarn global add lerna@7.4.2
working_directory: ~/project/
+
+ fetch_secrets_dev:
+ description: "Fetch secrets dev using AWS Secrets Manager"
+ steps:
+ - aws-cli/setup:
+ region: "eu-west-1"
+ role_arn: arn:aws:iam::512040659177:role/circle-oidc-nuk-aws-digital-dev-tnlweb
+ - aws-secrets-manager/get-aws-secret:
+ aws-secret-name: times-components/dev/GH_TOKEN
+ key-var-name: GH_TOKEN
+
jobs:
setup:
@@ -267,6 +290,64 @@ jobs:
name: Remove npm and Yarn config files
command: |
yarn config delete registry
+ plan-secret-terraform:
+ executor: terraform_secret
+ parameters:
+ env:
+ type: string
+ role:
+ type: string
+ region:
+ type: string
+ steps:
+ - checkout
+ - add_ssh_keys:
+ fingerprints:
+ - "SHA256:DspF5XjPpSTbO6A10IllXExrPFdhKMytxVBgNEBrYAc"
+ - aws-cli/setup:
+ role_arn: << parameters.role >>
+ - run:
+ name: Init terraform
+ command: |
+ cd terraform-secret-rotator
+ terraform init -backend-config=backend_configs/<< parameters.env >>
+ - run:
+ name: Plan terraform
+ command: |
+ cd terraform-secret-rotator
+ terraform plan -var-file=variables/<< parameters.env >>.tfvars -out=<< parameters.env >>-plan
+ - persist_to_workspace:
+ root: ./
+ paths:
+ - terraform-secret-rotator/<< parameters.env >>-plan
+
+ apply-secret-terraform:
+ executor: terraform_secret
+ parameters:
+ env:
+ type: string
+ role:
+ type: string
+ region:
+ type: string
+ steps:
+ - checkout
+ - add_ssh_keys:
+ fingerprints:
+ - "SHA256:DspF5XjPpSTbO6A10IllXExrPFdhKMytxVBgNEBrYAc"
+ - aws-cli/setup:
+ role_arn: << parameters.role >>
+ - run:
+ name: Init terraform
+ command: |
+ cd terraform-secret-rotator
+ terraform init -backend-config=backend_configs/<< parameters.env >>
+ - run:
+ name: Apply terraform
+ command: |
+ cd terraform-secret-rotator
+ terraform apply -var-file=variables/<< parameters.env >>.tfvars -auto-approve
+
only_on_pr_branch: &only_on_pr_branch
filters:
@@ -279,6 +360,8 @@ only_on_master_branch: &only_on_master_branch
only:
- master
+
+
workflows:
version: 2
@@ -351,3 +434,24 @@ workflows:
<<: *only_on_master_branch
requires:
- verdaccio-test
+ secrets-rotator:
+ when:
+ and:
+ - equal: [true, << pipeline.parameters.deploy_secrets >>]
+ jobs:
+ - plan-secret-terraform:
+ name: plan-terraform-secret-rotator-dev
+ role: arn:aws:iam::512040659177:role/circle-oidc-nuk-aws-digital-dev-tnlweb
+ env: dev
+ region: eu-west-1
+ - approve-apply-terraform-secret-rotator-dev:
+ type: approval
+ requires:
+ - plan-terraform-secret-rotator-dev
+ - apply-secret-terraform:
+ name: apply-terraform-secret-rotator-dev
+ role: arn:aws:iam::512040659177:role/circle-oidc-nuk-aws-digital-dev-tnlweb
+ env: dev
+ region: eu-west-1
+ requires:
+ - approve-apply-terraform-secret-rotator-dev
\ No newline at end of file
diff --git a/.eslintrc b/.eslintrc
index f598c3e2d79..94a5d877f1c 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -12,7 +12,8 @@
"devDependencies": ["**/storybook/**"],
"optionalDependencies": false
}
- ]
+ ],
+ "@typescript-eslint/prefer-nullish-coalescing": "off"
},
"settings": {
"import/resolver": {
diff --git a/README.md b/README.md
index 94f175fbc9f..60dac767085 100644
--- a/README.md
+++ b/README.md
@@ -12,6 +12,7 @@ Home of The Times' `react` components.
We require MacOS with [Node.js](https://nodejs.org) (for specific version please check package.json restrictions),
[yarn](https://yarnpkg.com) (latest)
+
You can try without these requirements, but you'd be on your own.
## Viewing Our Components
diff --git a/packages/article-comments/CHANGELOG.md b/packages/article-comments/CHANGELOG.md
index b3605708f92..b5843a78c1f 100644
--- a/packages/article-comments/CHANGELOG.md
+++ b/packages/article-comments/CHANGELOG.md
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.44.25](https://github.com/newsuk/times-components/compare/@times-components/article-comments@0.44.24...@times-components/article-comments@0.44.25) (2024-12-03)
+
+**Note:** Version bump only for package @times-components/article-comments
+
+
+
+
+
+## [0.44.24](https://github.com/newsuk/times-components/compare/@times-components/article-comments@0.44.23...@times-components/article-comments@0.44.24) (2024-12-02)
+
+**Note:** Version bump only for package @times-components/article-comments
+
+
+
+
+
## [0.44.23](https://github.com/newsuk/times-components/compare/@times-components/article-comments@0.44.22...@times-components/article-comments@0.44.23) (2024-11-22)
**Note:** Version bump only for package @times-components/article-comments
diff --git a/packages/article-comments/package.json b/packages/article-comments/package.json
index 8d16748f67d..9c275598cb5 100644
--- a/packages/article-comments/package.json
+++ b/packages/article-comments/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-comments",
- "version": "0.44.23",
+ "version": "0.44.25",
"description": "Article Comments",
"main": "dist/article-comments",
"dev": "src/article-comments",
@@ -35,7 +35,7 @@
"dependencies": {
"@times-components/link": "3.17.34",
"@times-components/tracking": "2.22.34",
- "@times-components/ts-components": "1.111.0",
+ "@times-components/ts-components": "1.112.1",
"@times-components/ts-styleguide": "1.50.34",
"@times-components/user-state": "0.5.51",
"prop-types": "15.7.2",
diff --git a/packages/article-extras/CHANGELOG.md b/packages/article-extras/CHANGELOG.md
index fabefa9161d..97e56c5d0cc 100644
--- a/packages/article-extras/CHANGELOG.md
+++ b/packages/article-extras/CHANGELOG.md
@@ -3,6 +3,25 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.33.1](https://github.com/newsuk/times-components/compare/@times-components/article-extras@0.33.0...@times-components/article-extras@0.33.1) (2024-12-03)
+
+**Note:** Version bump only for package @times-components/article-extras
+
+
+
+
+
+# [0.33.0](https://github.com/newsuk/times-components/compare/@times-components/article-extras@0.32.24...@times-components/article-extras@0.33.0) (2024-12-02)
+
+
+### Features
+
+* **TMRS-482:** add CategorisedArticles ([#3976](https://github.com/newsuk/times-components/issues/3976)) ([164ee6a](https://github.com/newsuk/times-components/commit/164ee6ae81516489bd6d5afb8e7289104c65720a))
+
+
+
+
+
## [0.32.24](https://github.com/newsuk/times-components/compare/@times-components/article-extras@0.32.23...@times-components/article-extras@0.32.24) (2024-11-22)
**Note:** Version bump only for package @times-components/article-extras
diff --git a/packages/article-extras/__tests__/shared.js b/packages/article-extras/__tests__/shared.js
index 5516c29a471..181c26b7af2 100644
--- a/packages/article-extras/__tests__/shared.js
+++ b/packages/article-extras/__tests__/shared.js
@@ -11,7 +11,11 @@ import { iterator } from "@times-components/test-utils";
import { UserState } from "./mocks";
import ArticleExtras from "../src/article-extras";
-import { relatedArticleSlice, topics } from "../fixtures/article-extras";
+import {
+ relatedArticleSlice,
+ categorisedArticles,
+ topics
+} from "../fixtures/article-extras";
const commentingConfig = {
account: "sp_pCQgrRiN"
@@ -45,6 +49,7 @@ export default () => {
commentsEnabled
registerNode={() => {}}
relatedArticleSlice={relatedArticleSlice}
+ categorisedArticles={categorisedArticles}
relatedArticlesVisible
commentingConfig={commentingConfig}
topics={topics}
@@ -56,7 +61,7 @@ export default () => {
},
{
name:
- "no topics and comments when user not logged in, only related articles and sponsored div",
+ "no topics and comments when user not logged in, only related articles, category articles, and sponsored div",
test: () => {
UserState.mockStates = [];
const testInstance = TestRenderer.create(
@@ -66,6 +71,7 @@ export default () => {
commentsEnabled
registerNode={() => {}}
relatedArticleSlice={relatedArticleSlice}
+ categorisedArticles={categorisedArticles}
relatedArticlesVisible
commentingConfig={commentingConfig}
topics={topics}
@@ -85,6 +91,7 @@ export default () => {
commentsEnabled
registerNode={() => {}}
relatedArticleSlice={relatedArticleSlice}
+ categorisedArticles={categorisedArticles}
relatedArticlesVisible
commentingConfig={commentingConfig}
topics={topics}
@@ -104,6 +111,7 @@ export default () => {
commentsEnabled
registerNode={() => {}}
relatedArticleSlice={relatedArticleSlice}
+ categorisedArticles={categorisedArticles}
relatedArticlesVisible
commentingConfig={commentingConfig}
topics={topics}
diff --git a/packages/article-extras/__tests__/web/__snapshots__/article-extras.test.js.snap b/packages/article-extras/__tests__/web/__snapshots__/article-extras.test.js.snap
index a865225724d..fba06da1368 100644
--- a/packages/article-extras/__tests__/web/__snapshots__/article-extras.test.js.snap
+++ b/packages/article-extras/__tests__/web/__snapshots__/article-extras.test.js.snap
@@ -17,6 +17,7 @@ Array [
id="related-articles"
>
@@ -56,14 +57,107 @@ Array [
]
`;
-exports[`2. no topics and comments when user not logged in, only related articles and sponsored div 1`] = `
+exports[`2. no topics and comments when user not logged in, only related articles, category articles, and sponsored div 1`] = `
Array [
PROMOTED CONTENT
@@ -141,6 +165,7 @@ ArticleExtras.propTypes = {
commentsEnabled: PropTypes.bool.isRequired,
registerNode: PropTypes.func.isRequired,
relatedArticleSlice: PropTypes.shape({}),
+ categorisedArticles: PropTypes.shape({}),
relatedArticlesVisible: PropTypes.bool.isRequired,
commentingConfig: PropTypes.shape({
account: PropTypes.string.isRequired
@@ -158,6 +183,7 @@ ArticleExtras.propTypes = {
ArticleExtras.defaultProps = {
relatedArticleSlice: null,
+ categorisedArticles: null,
topics: null,
isSharingSavingEnabled: true,
isCommentEnabled: true,
diff --git a/packages/article-in-depth/CHANGELOG.md b/packages/article-in-depth/CHANGELOG.md
index dcffec5d587..319687e6320 100644
--- a/packages/article-in-depth/CHANGELOG.md
+++ b/packages/article-in-depth/CHANGELOG.md
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [3.92.6](https://github.com/newsuk/times-components/compare/@times-components/article-in-depth@3.92.5...@times-components/article-in-depth@3.92.6) (2024-12-03)
+
+**Note:** Version bump only for package @times-components/article-in-depth
+
+
+
+
+
+## [3.92.5](https://github.com/newsuk/times-components/compare/@times-components/article-in-depth@3.92.4...@times-components/article-in-depth@3.92.5) (2024-12-02)
+
+**Note:** Version bump only for package @times-components/article-in-depth
+
+
+
+
+
## [3.92.4](https://github.com/newsuk/times-components/compare/@times-components/article-in-depth@3.92.3...@times-components/article-in-depth@3.92.4) (2024-11-22)
**Note:** Version bump only for package @times-components/article-in-depth
diff --git a/packages/article-in-depth/package.json b/packages/article-in-depth/package.json
index 82e321580c3..5b379a75808 100644
--- a/packages/article-in-depth/package.json
+++ b/packages/article-in-depth/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-in-depth",
- "version": "3.92.4",
+ "version": "3.92.6",
"description": "In Depth Article Template",
"main": "dist/article-in-depth",
"dev": "src/article-in-depth",
@@ -57,11 +57,11 @@
"@times-components/article-byline": "3.13.56",
"@times-components/article-label": "2.18.34",
"@times-components/article-lead-asset": "1.18.46",
- "@times-components/article-skeleton": "1.140.13",
+ "@times-components/article-skeleton": "1.141.1",
"@times-components/caption": "3.8.55",
"@times-components/context": "1.24.0",
"@times-components/date-publication": "0.30.34",
- "@times-components/ts-components": "1.111.0",
+ "@times-components/ts-components": "1.112.1",
"@times-components/ts-styleguide": "1.50.34",
"@times-components/user-state": "0.5.51",
"@times-components/utils": "6.26.0",
diff --git a/packages/article-list/CHANGELOG.md b/packages/article-list/CHANGELOG.md
index 3822a7010b6..410d891b378 100644
--- a/packages/article-list/CHANGELOG.md
+++ b/packages/article-list/CHANGELOG.md
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [9.19.27](https://github.com/newsuk/times-components/compare/@times-components/article-list@9.19.26...@times-components/article-list@9.19.27) (2024-12-03)
+
+**Note:** Version bump only for package @times-components/article-list
+
+
+
+
+
+## [9.19.26](https://github.com/newsuk/times-components/compare/@times-components/article-list@9.19.25...@times-components/article-list@9.19.26) (2024-12-02)
+
+**Note:** Version bump only for package @times-components/article-list
+
+
+
+
+
## [9.19.25](https://github.com/newsuk/times-components/compare/@times-components/article-list@9.19.24...@times-components/article-list@9.19.25) (2024-11-22)
**Note:** Version bump only for package @times-components/article-list
diff --git a/packages/article-list/package.json b/packages/article-list/package.json
index 8d55c54f381..56abc4c2e45 100644
--- a/packages/article-list/package.json
+++ b/packages/article-list/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-list",
- "version": "9.19.25",
+ "version": "9.19.27",
"description": "Paginated list of articles",
"main": "dist/article-list",
"dev": "src/article-list",
@@ -61,7 +61,7 @@
},
"dependencies": {
"@times-components/ad": "2.22.23",
- "@times-components/article-summary": "3.25.21",
+ "@times-components/article-summary": "3.25.23",
"@times-components/button": "2.10.61",
"@times-components/card": "6.15.2",
"@times-components/context": "1.24.0",
diff --git a/packages/article-magazine-comment/CHANGELOG.md b/packages/article-magazine-comment/CHANGELOG.md
index 4330e69fd07..f06292771b9 100644
--- a/packages/article-magazine-comment/CHANGELOG.md
+++ b/packages/article-magazine-comment/CHANGELOG.md
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [3.87.6](https://github.com/newsuk/times-components/compare/@times-components/article-magazine-comment@3.87.5...@times-components/article-magazine-comment@3.87.6) (2024-12-03)
+
+**Note:** Version bump only for package @times-components/article-magazine-comment
+
+
+
+
+
+## [3.87.5](https://github.com/newsuk/times-components/compare/@times-components/article-magazine-comment@3.87.4...@times-components/article-magazine-comment@3.87.5) (2024-12-02)
+
+**Note:** Version bump only for package @times-components/article-magazine-comment
+
+
+
+
+
## [3.87.4](https://github.com/newsuk/times-components/compare/@times-components/article-magazine-comment@3.87.3...@times-components/article-magazine-comment@3.87.4) (2024-11-22)
**Note:** Version bump only for package @times-components/article-magazine-comment
diff --git a/packages/article-magazine-comment/package.json b/packages/article-magazine-comment/package.json
index a796a39f89c..04881cb960a 100644
--- a/packages/article-magazine-comment/package.json
+++ b/packages/article-magazine-comment/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-magazine-comment",
- "version": "3.87.4",
+ "version": "3.87.6",
"description": "Magazine Comment Article Template",
"main": "dist/article-magazine-comment",
"dev": "src/article-magazine-comment",
@@ -57,12 +57,12 @@
"@times-components/article-byline": "3.13.56",
"@times-components/article-label": "2.18.34",
"@times-components/article-lead-asset": "1.18.46",
- "@times-components/article-skeleton": "1.140.13",
+ "@times-components/article-skeleton": "1.141.1",
"@times-components/caption": "3.8.55",
"@times-components/context": "1.24.0",
"@times-components/date-publication": "0.30.34",
"@times-components/image": "6.18.2",
- "@times-components/ts-components": "1.111.0",
+ "@times-components/ts-components": "1.112.1",
"@times-components/ts-styleguide": "1.50.34",
"@times-components/user-state": "0.5.51",
"@times-components/utils": "6.26.0",
diff --git a/packages/article-magazine-standard/CHANGELOG.md b/packages/article-magazine-standard/CHANGELOG.md
index 171346651da..15dfba9fb6f 100644
--- a/packages/article-magazine-standard/CHANGELOG.md
+++ b/packages/article-magazine-standard/CHANGELOG.md
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [3.87.6](https://github.com/newsuk/times-components/compare/@times-components/article-magazine-standard@3.87.5...@times-components/article-magazine-standard@3.87.6) (2024-12-03)
+
+**Note:** Version bump only for package @times-components/article-magazine-standard
+
+
+
+
+
+## [3.87.5](https://github.com/newsuk/times-components/compare/@times-components/article-magazine-standard@3.87.4...@times-components/article-magazine-standard@3.87.5) (2024-12-02)
+
+**Note:** Version bump only for package @times-components/article-magazine-standard
+
+
+
+
+
## [3.87.4](https://github.com/newsuk/times-components/compare/@times-components/article-magazine-standard@3.87.3...@times-components/article-magazine-standard@3.87.4) (2024-11-22)
**Note:** Version bump only for package @times-components/article-magazine-standard
diff --git a/packages/article-magazine-standard/package.json b/packages/article-magazine-standard/package.json
index ae7f5062e06..0626a7413a4 100644
--- a/packages/article-magazine-standard/package.json
+++ b/packages/article-magazine-standard/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-magazine-standard",
- "version": "3.87.4",
+ "version": "3.87.6",
"description": "Magazine Standard Article Template",
"main": "dist/article-magazine-standard",
"dev": "src/article-magazine-standard",
@@ -57,11 +57,11 @@
"@times-components/article-byline": "3.13.56",
"@times-components/article-label": "2.18.34",
"@times-components/article-lead-asset": "1.18.46",
- "@times-components/article-skeleton": "1.140.13",
+ "@times-components/article-skeleton": "1.141.1",
"@times-components/caption": "3.8.55",
"@times-components/context": "1.24.0",
"@times-components/date-publication": "0.30.34",
- "@times-components/ts-components": "1.111.0",
+ "@times-components/ts-components": "1.112.1",
"@times-components/ts-styleguide": "1.50.34",
"@times-components/user-state": "0.5.51",
"@times-components/utils": "6.26.0",
diff --git a/packages/article-main-comment/CHANGELOG.md b/packages/article-main-comment/CHANGELOG.md
index fbeac9184b1..2bf044278a1 100644
--- a/packages/article-main-comment/CHANGELOG.md
+++ b/packages/article-main-comment/CHANGELOG.md
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.92.9](https://github.com/newsuk/times-components/compare/@times-components/article-main-comment@2.92.8...@times-components/article-main-comment@2.92.9) (2024-12-03)
+
+**Note:** Version bump only for package @times-components/article-main-comment
+
+
+
+
+
+## [2.92.8](https://github.com/newsuk/times-components/compare/@times-components/article-main-comment@2.92.7...@times-components/article-main-comment@2.92.8) (2024-12-02)
+
+**Note:** Version bump only for package @times-components/article-main-comment
+
+
+
+
+
## [2.92.7](https://github.com/newsuk/times-components/compare/@times-components/article-main-comment@2.92.6...@times-components/article-main-comment@2.92.7) (2024-11-22)
**Note:** Version bump only for package @times-components/article-main-comment
diff --git a/packages/article-main-comment/package.json b/packages/article-main-comment/package.json
index 91fb24e7bee..c198fdad04c 100644
--- a/packages/article-main-comment/package.json
+++ b/packages/article-main-comment/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-main-comment",
- "version": "2.92.7",
+ "version": "2.92.9",
"description": "Main Comment Article Template",
"main": "dist/article-main-comment",
"dev": "src/article-main-comment",
@@ -56,12 +56,12 @@
"@times-components/ad": "2.22.23",
"@times-components/article-byline": "3.13.56",
"@times-components/article-label": "2.18.34",
- "@times-components/article-skeleton": "1.140.13",
+ "@times-components/article-skeleton": "1.141.1",
"@times-components/context": "1.24.0",
"@times-components/date-publication": "0.30.34",
"@times-components/image": "6.18.2",
"@times-components/responsive": "0.27.0",
- "@times-components/ts-components": "1.111.0",
+ "@times-components/ts-components": "1.112.1",
"@times-components/ts-styleguide": "1.50.34",
"@times-components/user-state": "0.5.51",
"@times-components/utils": "6.26.0",
diff --git a/packages/article-main-standard/CHANGELOG.md b/packages/article-main-standard/CHANGELOG.md
index e0c39c5ee8d..f7f2a9b5ede 100644
--- a/packages/article-main-standard/CHANGELOG.md
+++ b/packages/article-main-standard/CHANGELOG.md
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [3.99.9](https://github.com/newsuk/times-components/compare/@times-components/article-main-standard@3.99.8...@times-components/article-main-standard@3.99.9) (2024-12-03)
+
+**Note:** Version bump only for package @times-components/article-main-standard
+
+
+
+
+
+## [3.99.8](https://github.com/newsuk/times-components/compare/@times-components/article-main-standard@3.99.7...@times-components/article-main-standard@3.99.8) (2024-12-02)
+
+**Note:** Version bump only for package @times-components/article-main-standard
+
+
+
+
+
## [3.99.7](https://github.com/newsuk/times-components/compare/@times-components/article-main-standard@3.99.6...@times-components/article-main-standard@3.99.7) (2024-11-22)
**Note:** Version bump only for package @times-components/article-main-standard
diff --git a/packages/article-main-standard/package.json b/packages/article-main-standard/package.json
index 585e62d64ec..bfd4834f425 100644
--- a/packages/article-main-standard/package.json
+++ b/packages/article-main-standard/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-main-standard",
- "version": "3.99.7",
+ "version": "3.99.9",
"description": "Main Standard Article Template",
"main": "dist/article-main-standard",
"dev": "src/article-main-standard",
@@ -56,13 +56,13 @@
"@times-components/article-byline": "3.13.56",
"@times-components/article-label": "2.18.34",
"@times-components/article-lead-asset": "1.18.46",
- "@times-components/article-skeleton": "1.140.13",
+ "@times-components/article-skeleton": "1.141.1",
"@times-components/article-topics": "4.11.55",
"@times-components/caption": "3.8.55",
"@times-components/context": "1.24.0",
"@times-components/date-publication": "0.30.34",
"@times-components/responsive": "0.27.0",
- "@times-components/ts-components": "1.111.0",
+ "@times-components/ts-components": "1.112.1",
"@times-components/ts-styleguide": "1.50.34",
"@times-components/user-state": "0.5.51",
"@times-components/utils": "6.26.0",
diff --git a/packages/article-paragraph/CHANGELOG.md b/packages/article-paragraph/CHANGELOG.md
index edacd554d66..1c5b9d105cc 100644
--- a/packages/article-paragraph/CHANGELOG.md
+++ b/packages/article-paragraph/CHANGELOG.md
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.9.353](https://github.com/newsuk/times-components/compare/@times-components/article-paragraph@1.9.352...@times-components/article-paragraph@1.9.353) (2024-12-03)
+
+**Note:** Version bump only for package @times-components/article-paragraph
+
+
+
+
+
+## [1.9.352](https://github.com/newsuk/times-components/compare/@times-components/article-paragraph@1.9.351...@times-components/article-paragraph@1.9.352) (2024-12-02)
+
+**Note:** Version bump only for package @times-components/article-paragraph
+
+
+
+
+
## [1.9.351](https://github.com/newsuk/times-components/compare/@times-components/article-paragraph@1.9.350...@times-components/article-paragraph@1.9.351) (2024-11-22)
**Note:** Version bump only for package @times-components/article-paragraph
diff --git a/packages/article-paragraph/package.json b/packages/article-paragraph/package.json
index 835ae6d501c..f0831df97da 100644
--- a/packages/article-paragraph/package.json
+++ b/packages/article-paragraph/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-paragraph",
- "version": "1.9.351",
+ "version": "1.9.353",
"description": "Article Paragraph",
"main": "dist/index",
"dev": "src/index",
@@ -32,7 +32,7 @@
},
"homepage": "https://github.com/newsuk/times-components#readme",
"dependencies": {
- "@times-components/article-skeleton": "1.140.13",
+ "@times-components/article-skeleton": "1.141.1",
"@times-components/context": "1.24.0",
"@times-components/markup-forest": "1.9.2",
"@times-components/ts-styleguide": "1.50.34",
diff --git a/packages/article-skeleton/CHANGELOG.md b/packages/article-skeleton/CHANGELOG.md
index ad9fbc142f3..d6807f0b406 100644
--- a/packages/article-skeleton/CHANGELOG.md
+++ b/packages/article-skeleton/CHANGELOG.md
@@ -3,6 +3,26 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.141.1](https://github.com/newsuk/times-components/compare/@times-components/article-skeleton@1.141.0...@times-components/article-skeleton@1.141.1) (2024-12-03)
+
+**Note:** Version bump only for package @times-components/article-skeleton
+
+
+
+
+
+# [1.141.0](https://github.com/newsuk/times-components/compare/@times-components/article-skeleton@1.140.13...@times-components/article-skeleton@1.141.0) (2024-12-02)
+
+
+### Features
+
+* **TMD-1082:** update to newsletter title within on click sign up component ([#3990](https://github.com/newsuk/times-components/issues/3990)) ([efddfee](https://github.com/newsuk/times-components/commit/efddfee6358e43a385924af671deedaa03e5ae36))
+* **TMRS-482:** add CategorisedArticles ([#3976](https://github.com/newsuk/times-components/issues/3976)) ([164ee6a](https://github.com/newsuk/times-components/commit/164ee6ae81516489bd6d5afb8e7289104c65720a))
+
+
+
+
+
## [1.140.13](https://github.com/newsuk/times-components/compare/@times-components/article-skeleton@1.140.12...@times-components/article-skeleton@1.140.13) (2024-11-22)
**Note:** Version bump only for package @times-components/article-skeleton
diff --git a/packages/article-skeleton/package.json b/packages/article-skeleton/package.json
index f7ae797b5b9..1cd5ff04570 100644
--- a/packages/article-skeleton/package.json
+++ b/packages/article-skeleton/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-skeleton",
- "version": "1.140.13",
+ "version": "1.141.1",
"description": "The article skeleton",
"main": "dist/article-skeleton",
"dev": "src/article-skeleton",
@@ -62,14 +62,14 @@
},
"dependencies": {
"@times-components/ad": "2.22.23",
- "@times-components/article-extras": "0.32.24",
+ "@times-components/article-extras": "0.33.1",
"@times-components/article-image": "7.18.2",
- "@times-components/article-paragraph": "1.9.351",
+ "@times-components/article-paragraph": "1.9.353",
"@times-components/article-topics": "4.11.55",
"@times-components/caption": "3.8.55",
"@times-components/context": "1.24.0",
"@times-components/interactive-wrapper": "0.9.90",
- "@times-components/key-facts": "2.12.112",
+ "@times-components/key-facts": "2.12.114",
"@times-components/lazy-load": "0.20.0",
"@times-components/link": "3.17.34",
"@times-components/markup": "3.9.0",
@@ -77,10 +77,10 @@
"@times-components/message-bar": "0.7.86",
"@times-components/provider-queries": "2.23.3",
"@times-components/pull-quote": "3.15.41",
- "@times-components/save-and-share-bar": "0.26.2",
+ "@times-components/save-and-share-bar": "0.26.4",
"@times-components/sticky": "0.5.84",
"@times-components/tracking": "2.22.34",
- "@times-components/ts-components": "1.111.0",
+ "@times-components/ts-components": "1.112.1",
"@times-components/ts-styleguide": "1.50.34",
"@times-components/typeset": "0.3.3",
"@times-components/user-state": "0.5.51",
diff --git a/packages/article-skeleton/src/article-skeleton.js b/packages/article-skeleton/src/article-skeleton.js
index d3cbc7657c0..b5ec4cc79c1 100644
--- a/packages/article-skeleton/src/article-skeleton.js
+++ b/packages/article-skeleton/src/article-skeleton.js
@@ -146,7 +146,8 @@ const ArticleSkeleton = ({
window.removeEventListener("scroll", handleScroll);
};
}, []);
- const { hostName, canonicalUrl, breadcrumbs } = articleDataFromRender || {};
+ const { hostName, canonicalUrl, breadcrumbs, categorisedArticles } =
+ articleDataFromRender || {};
const articleUrl =
hostName && canonicalUrl ? `${hostName}${canonicalUrl}` : url;
@@ -424,6 +425,7 @@ const ArticleSkeleton = ({
commentsEnabled={commentsEnabled}
registerNode={registerNode}
relatedArticleSlice={relatedArticleSlice}
+ categorisedArticles={categorisedArticles}
relatedArticlesVisible={
!!observed.get("related-articles")
}
diff --git a/packages/article-summary/CHANGELOG.md b/packages/article-summary/CHANGELOG.md
index 04f63266cfa..01d84b060e1 100644
--- a/packages/article-summary/CHANGELOG.md
+++ b/packages/article-summary/CHANGELOG.md
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [3.25.23](https://github.com/newsuk/times-components/compare/@times-components/article-summary@3.25.22...@times-components/article-summary@3.25.23) (2024-12-03)
+
+**Note:** Version bump only for package @times-components/article-summary
+
+
+
+
+
+## [3.25.22](https://github.com/newsuk/times-components/compare/@times-components/article-summary@3.25.21...@times-components/article-summary@3.25.22) (2024-12-02)
+
+**Note:** Version bump only for package @times-components/article-summary
+
+
+
+
+
## [3.25.21](https://github.com/newsuk/times-components/compare/@times-components/article-summary@3.25.20...@times-components/article-summary@3.25.21) (2024-11-22)
**Note:** Version bump only for package @times-components/article-summary
diff --git a/packages/article-summary/package.json b/packages/article-summary/package.json
index a0c619d589c..3b9cd252cf5 100644
--- a/packages/article-summary/package.json
+++ b/packages/article-summary/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article-summary",
- "version": "3.25.21",
+ "version": "3.25.23",
"main": "dist/article-summary",
"dev": "src/article-summary",
"scripts": {
@@ -55,7 +55,7 @@
"@times-components/date-publication": "0.30.34",
"@times-components/markup": "3.9.0",
"@times-components/markup-forest": "1.9.2",
- "@times-components/ts-components": "1.111.0",
+ "@times-components/ts-components": "1.112.1",
"@times-components/ts-styleguide": "1.50.34",
"@times-components/utils": "6.26.0",
"@times-components/video-label": "2.11.63",
diff --git a/packages/article/CHANGELOG.md b/packages/article/CHANGELOG.md
index 1ca68b8fd08..b4480ab74bb 100644
--- a/packages/article/CHANGELOG.md
+++ b/packages/article/CHANGELOG.md
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [7.17.45](https://github.com/newsuk/times-components/compare/@times-components/article@7.17.44...@times-components/article@7.17.45) (2024-12-03)
+
+**Note:** Version bump only for package @times-components/article
+
+
+
+
+
+## [7.17.44](https://github.com/newsuk/times-components/compare/@times-components/article@7.17.43...@times-components/article@7.17.44) (2024-12-02)
+
+**Note:** Version bump only for package @times-components/article
+
+
+
+
+
## [7.17.43](https://github.com/newsuk/times-components/compare/@times-components/article@7.17.42...@times-components/article@7.17.43) (2024-11-22)
**Note:** Version bump only for package @times-components/article
diff --git a/packages/article/package.json b/packages/article/package.json
index 9de5571da13..3b6c555f075 100644
--- a/packages/article/package.json
+++ b/packages/article/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/article",
- "version": "7.17.43",
+ "version": "7.17.45",
"description": "The article",
"main": "dist/article",
"dev": "src/article",
@@ -53,11 +53,11 @@
},
"dependencies": {
"@times-components/ad": "2.22.23",
- "@times-components/article-in-depth": "3.92.4",
- "@times-components/article-magazine-comment": "3.87.4",
- "@times-components/article-magazine-standard": "3.87.4",
- "@times-components/article-main-comment": "2.92.7",
- "@times-components/article-main-standard": "3.99.7",
+ "@times-components/article-in-depth": "3.92.6",
+ "@times-components/article-magazine-comment": "3.87.6",
+ "@times-components/article-magazine-standard": "3.87.6",
+ "@times-components/article-main-comment": "2.92.9",
+ "@times-components/article-main-standard": "3.99.9",
"@times-components/context": "1.24.0",
"@times-components/message-bar": "0.7.86",
"@times-components/provider": "1.41.4",
diff --git a/packages/author-profile/CHANGELOG.md b/packages/author-profile/CHANGELOG.md
index c9c55ecf142..3c792fbed07 100644
--- a/packages/author-profile/CHANGELOG.md
+++ b/packages/author-profile/CHANGELOG.md
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [6.19.15](https://github.com/newsuk/times-components/compare/@times-components/author-profile@6.19.14...@times-components/author-profile@6.19.15) (2024-12-03)
+
+**Note:** Version bump only for package @times-components/author-profile
+
+
+
+
+
+## [6.19.14](https://github.com/newsuk/times-components/compare/@times-components/author-profile@6.19.13...@times-components/author-profile@6.19.14) (2024-12-02)
+
+**Note:** Version bump only for package @times-components/author-profile
+
+
+
+
+
## [6.19.13](https://github.com/newsuk/times-components/compare/@times-components/author-profile@6.19.12...@times-components/author-profile@6.19.13) (2024-11-22)
**Note:** Version bump only for package @times-components/author-profile
diff --git a/packages/author-profile/package.json b/packages/author-profile/package.json
index f36f8676fb6..feba2a10d67 100644
--- a/packages/author-profile/package.json
+++ b/packages/author-profile/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/author-profile",
- "version": "6.19.13",
+ "version": "6.19.15",
"description": "Author profile information along with a list of articles they have written ",
"main": "dist/author-profile",
"dev": "src/author-profile",
@@ -59,7 +59,7 @@
"webpack": "4.30.0"
},
"dependencies": {
- "@times-components/article-list": "9.19.25",
+ "@times-components/article-list": "9.19.27",
"@times-components/gradient": "3.5.61",
"@times-components/icons": "2.23.0",
"@times-components/image": "6.18.2",
diff --git a/packages/key-facts/CHANGELOG.md b/packages/key-facts/CHANGELOG.md
index 159003f932c..8ee96cbb684 100644
--- a/packages/key-facts/CHANGELOG.md
+++ b/packages/key-facts/CHANGELOG.md
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.12.114](https://github.com/newsuk/times-components/compare/@times-components/key-facts@2.12.113...@times-components/key-facts@2.12.114) (2024-12-03)
+
+**Note:** Version bump only for package @times-components/key-facts
+
+
+
+
+
+## [2.12.113](https://github.com/newsuk/times-components/compare/@times-components/key-facts@2.12.112...@times-components/key-facts@2.12.113) (2024-12-02)
+
+**Note:** Version bump only for package @times-components/key-facts
+
+
+
+
+
## [2.12.112](https://github.com/newsuk/times-components/compare/@times-components/key-facts@2.12.111...@times-components/key-facts@2.12.112) (2024-11-22)
**Note:** Version bump only for package @times-components/key-facts
diff --git a/packages/key-facts/package.json b/packages/key-facts/package.json
index ce0253d8cc1..a27066dac8e 100644
--- a/packages/key-facts/package.json
+++ b/packages/key-facts/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/key-facts",
- "version": "2.12.112",
+ "version": "2.12.114",
"description": "Bulleted list of text data ",
"main": "dist/key-facts",
"dev": "src/key-facts",
@@ -56,7 +56,7 @@
"@times-components/markup": "3.9.0",
"@times-components/markup-forest": "1.9.2",
"@times-components/responsive": "0.27.0",
- "@times-components/ts-components": "1.111.0",
+ "@times-components/ts-components": "1.112.1",
"@times-components/ts-styleguide": "1.50.34",
"@times-components/utils": "6.26.0",
"prop-types": "15.7.2",
diff --git a/packages/related-articles/CHANGELOG.md b/packages/related-articles/CHANGELOG.md
index 63571c8b055..d000c798924 100644
--- a/packages/related-articles/CHANGELOG.md
+++ b/packages/related-articles/CHANGELOG.md
@@ -3,6 +3,25 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [6.19.1](https://github.com/newsuk/times-components/compare/@times-components/related-articles@6.19.0...@times-components/related-articles@6.19.1) (2024-12-03)
+
+**Note:** Version bump only for package @times-components/related-articles
+
+
+
+
+
+# [6.19.0](https://github.com/newsuk/times-components/compare/@times-components/related-articles@6.18.6...@times-components/related-articles@6.19.0) (2024-12-02)
+
+
+### Features
+
+* **TMRS-482:** add CategorisedArticles ([#3976](https://github.com/newsuk/times-components/issues/3976)) ([164ee6a](https://github.com/newsuk/times-components/commit/164ee6ae81516489bd6d5afb8e7289104c65720a))
+
+
+
+
+
## [6.18.6](https://github.com/newsuk/times-components/compare/@times-components/related-articles@6.18.5...@times-components/related-articles@6.18.6) (2024-11-22)
**Note:** Version bump only for package @times-components/related-articles
diff --git a/packages/related-articles/package.json b/packages/related-articles/package.json
index 89a986982f9..737cf475623 100644
--- a/packages/related-articles/package.json
+++ b/packages/related-articles/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/related-articles",
- "version": "6.18.6",
+ "version": "6.19.1",
"description": "related articles of an article",
"main": "dist/related-articles",
"dev": "src/related-articles",
@@ -55,12 +55,12 @@
"webpack": "4.30.0"
},
"dependencies": {
- "@times-components/article-summary": "3.25.21",
+ "@times-components/article-summary": "3.25.23",
"@times-components/card": "6.15.2",
"@times-components/context": "1.24.0",
"@times-components/link": "3.17.34",
"@times-components/markup-forest": "1.9.2",
- "@times-components/slice-layout": "0.51.61",
+ "@times-components/slice-layout": "0.52.0",
"@times-components/tracking": "2.22.34",
"@times-components/ts-styleguide": "1.50.34",
"@times-components/utils": "6.26.0",
diff --git a/packages/related-articles/src/related-articles.js b/packages/related-articles/src/related-articles.js
index d4568b73d31..18c751ae338 100644
--- a/packages/related-articles/src/related-articles.js
+++ b/packages/related-articles/src/related-articles.js
@@ -13,7 +13,7 @@ class RelatedArticles extends Component {
}
render() {
- const { isVisible, onPress, slice, heading } = this.props;
+ const { isVisible, onPress, slice, heading, hideBorder } = this.props;
if (!slice) return null;
const { items, sliceName } = slice;
if (
@@ -61,6 +61,7 @@ class RelatedArticles extends Component {
items.map(item =>
diff --git a/packages/save-and-share-bar/CHANGELOG.md b/packages/save-and-share-bar/CHANGELOG.md
index 46a2a22c1d3..fa74cf42a98 100644
--- a/packages/save-and-share-bar/CHANGELOG.md
+++ b/packages/save-and-share-bar/CHANGELOG.md
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.26.4](https://github.com/newsuk/times-components/compare/@times-components/save-and-share-bar@0.26.3...@times-components/save-and-share-bar@0.26.4) (2024-12-03)
+
+**Note:** Version bump only for package @times-components/save-and-share-bar
+
+
+
+
+
+## [0.26.3](https://github.com/newsuk/times-components/compare/@times-components/save-and-share-bar@0.26.2...@times-components/save-and-share-bar@0.26.3) (2024-12-02)
+
+**Note:** Version bump only for package @times-components/save-and-share-bar
+
+
+
+
+
## [0.26.2](https://github.com/newsuk/times-components/compare/@times-components/save-and-share-bar@0.26.1...@times-components/save-and-share-bar@0.26.2) (2024-11-22)
**Note:** Version bump only for package @times-components/save-and-share-bar
diff --git a/packages/save-and-share-bar/package.json b/packages/save-and-share-bar/package.json
index b77e26c5a9e..88c6e8e4d59 100644
--- a/packages/save-and-share-bar/package.json
+++ b/packages/save-and-share-bar/package.json
@@ -1,6 +1,6 @@
{
"name": "@times-components/save-and-share-bar",
- "version": "0.26.2",
+ "version": "0.26.4",
"description": "Save and Share bar ",
"main": "dist/save-and-share-bar",
"dev": "src/save-and-share-bar",
@@ -38,7 +38,7 @@
"@times-components/message-bar": "0.7.86",
"@times-components/provider-queries": "2.23.3",
"@times-components/tracking": "2.22.34",
- "@times-components/ts-components": "1.111.0",
+ "@times-components/ts-components": "1.112.1",
"@times-components/ts-styleguide": "1.50.34",
"@times-components/user-state": "0.5.51",
"@times-components/utils": "6.26.0",
diff --git a/packages/slice-layout/CHANGELOG.md b/packages/slice-layout/CHANGELOG.md
index a9c736d893c..233a36af7ff 100644
--- a/packages/slice-layout/CHANGELOG.md
+++ b/packages/slice-layout/CHANGELOG.md
@@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [0.52.0](https://github.com/newsuk/times-components/compare/@times-components/slice-layout@0.51.61...@times-components/slice-layout@0.52.0) (2024-12-02)
+
+
+### Features
+
+* **TMRS-482:** add CategorisedArticles ([#3976](https://github.com/newsuk/times-components/issues/3976)) ([164ee6a](https://github.com/newsuk/times-components/commit/164ee6ae81516489bd6d5afb8e7289104c65720a))
+
+
+
+
+
## [0.51.61](https://github.com/newsuk/times-components/compare/@times-components/slice-layout@0.51.60...@times-components/slice-layout@0.51.61) (2024-07-02)
**Note:** Version bump only for package @times-components/slice-layout
diff --git a/packages/slice-layout/__tests__/web/__snapshots__/std-with-style.web.test.js.snap b/packages/slice-layout/__tests__/web/__snapshots__/std-with-style.web.test.js.snap
index 848228f9dd8..63ed14ffbf0 100644
--- a/packages/slice-layout/__tests__/web/__snapshots__/std-with-style.web.test.js.snap
+++ b/packages/slice-layout/__tests__/web/__snapshots__/std-with-style.web.test.js.snap
@@ -215,7 +215,9 @@ exports[`2. a single child element 1`] = `
-
+
@@ -475,7 +477,9 @@ exports[`3. two child elements 1`] = `
-
+
@@ -755,7 +759,9 @@ exports[`4. three child elements 1`] = `
-
+
diff --git a/packages/slice-layout/__tests__/web/__snapshots__/std.web.test.js.snap b/packages/slice-layout/__tests__/web/__snapshots__/std.web.test.js.snap
index 5fd946d4eac..c0dca9cfee9 100644
--- a/packages/slice-layout/__tests__/web/__snapshots__/std.web.test.js.snap
+++ b/packages/slice-layout/__tests__/web/__snapshots__/std.web.test.js.snap
@@ -5,7 +5,9 @@ exports[`1. no child elements 1`] = `""`;
exports[`2. a single child element 1`] = `
-
+
@@ -29,7 +31,9 @@ exports[`2. a single child element 1`] = `
exports[`3. two child elements 1`] = `
-
+
@@ -65,7 +69,9 @@ exports[`3. two child elements 1`] = `
exports[`4. three child elements 1`] = `