diff --git a/packages/utilities/psammead-assets/CHANGELOG.md b/packages/utilities/psammead-assets/CHANGELOG.md index e6a6740a2a..5d6305ae80 100644 --- a/packages/utilities/psammead-assets/CHANGELOG.md +++ b/packages/utilities/psammead-assets/CHANGELOG.md @@ -3,6 +3,7 @@ | Version | Description | |---------|-------------| +| 2.4.0 | [PR#2192](https://github.com/bbc/psammead/pull/2192) Add SVG for BBC Scotland | | 2.3.0 | [PR#2115](https://github.com/bbc/psammead/pull/2115) Added media icons SVGs | | 2.2.4 | [PR#1942](https://github.com/bbc/psammead/pull/1942) Talos - Bump React to 16.9.0 | | 2.2.3 | [PR#1847](https://github.com/bbc/psammead/pull/1847) Fixed Telugu typos | diff --git a/packages/utilities/psammead-assets/README.md b/packages/utilities/psammead-assets/README.md index 8dedb1fd08..1c7fb93d58 100644 --- a/packages/utilities/psammead-assets/README.md +++ b/packages/utilities/psammead-assets/README.md @@ -15,7 +15,7 @@ npm install @bbc/psammead-assets --save ## Usage ```jsx -import { BBC_BLOCKS, news} from '@bbc/psammead-assets/svgs'; +import { BBC_BLOCKS, news } from '@bbc/psammead-assets/svgs'; import { AMP_SCRIPT } from '@bbc/psammead-assets/amp-boilerplate'; ``` @@ -24,7 +24,7 @@ import { AMP_SCRIPT } from '@bbc/psammead-assets/amp-boilerplate'; Service brand SVGs, like `news`, are objects that contains an svg group, viewbox, ratio and height; -This package currently has brand SVGs for the BBC services `igbo`, `news`, `persian`, `pidgin`, `thai` and `yoruba`. +This package currently has brand SVGs for the BBC News World Services as well as for BBC News, BBC Scotland. | Property | Type | Required | Default | Example | diff --git a/packages/utilities/psammead-assets/index.test.jsx b/packages/utilities/psammead-assets/index.test.jsx index ca1a614323..4ebaed433b 100644 --- a/packages/utilities/psammead-assets/index.test.jsx +++ b/packages/utilities/psammead-assets/index.test.jsx @@ -34,6 +34,7 @@ const svgsExpectedExports = { portuguese: 'object', punjabi: 'object', russian: 'object', + scotland: 'object', serbian: 'object', sinhala: 'object', somali: 'object', diff --git a/packages/utilities/psammead-assets/package-lock.json b/packages/utilities/psammead-assets/package-lock.json index 2e167b7d27..399cd2f403 100644 --- a/packages/utilities/psammead-assets/package-lock.json +++ b/packages/utilities/psammead-assets/package-lock.json @@ -1,5 +1,5 @@ { "name": "@bbc/psammead-assets", - "version": "2.3.0", + "version": "2.4.0", "lockfileVersion": 1 } diff --git a/packages/utilities/psammead-assets/package.json b/packages/utilities/psammead-assets/package.json index af3915b1fa..6b8016ef03 100644 --- a/packages/utilities/psammead-assets/package.json +++ b/packages/utilities/psammead-assets/package.json @@ -1,6 +1,6 @@ { "name": "@bbc/psammead-assets", - "version": "2.3.0", + "version": "2.4.0", "sideEffects": false, "description": "A collection of common assets that are likely to be required by many Psammead components or users, such as SVGs or small scripts.", "repository": { diff --git a/packages/utilities/psammead-assets/src/__snapshots__/svgs.test.jsx.snap b/packages/utilities/psammead-assets/src/__snapshots__/svgs.test.jsx.snap index 02bf143814..e0c0ecffa2 100644 --- a/packages/utilities/psammead-assets/src/__snapshots__/svgs.test.jsx.snap +++ b/packages/utilities/psammead-assets/src/__snapshots__/svgs.test.jsx.snap @@ -806,6 +806,29 @@ exports[`russian SVG should render correctly 1`] = ` `; +exports[`scotland SVG should render correctly 1`] = ` + + + + + + + +`; + exports[`serbian SVG should render correctly 1`] = ` + + + + + ), + ratio: 7.3396, + viewbox: { + height: 24, + width: 176.15, + }, +}; + +export default scotland;