From 07750fa49b11798304f8ae743af1d6b4442fe3ad Mon Sep 17 00:00:00 2001 From: Denis Hernandez Date: Tue, 11 Feb 2020 08:43:45 +0000 Subject: [PATCH 1/5] Pass dir prop to Media Indicator --- .../psammead-media-indicator/CHANGELOG.md | 1 + .../package-lock.json | 2 +- .../psammead-media-indicator/package.json | 2 +- .../src/__snapshots__/index.test.jsx.snap | 6 +++ .../psammead-media-indicator/src/index.jsx | 5 ++- .../src/index.stories.jsx | 44 +++++++++++++------ 6 files changed, 44 insertions(+), 16 deletions(-) diff --git a/packages/components/psammead-media-indicator/CHANGELOG.md b/packages/components/psammead-media-indicator/CHANGELOG.md index 8d0d13e39b..6915f56468 100644 --- a/packages/components/psammead-media-indicator/CHANGELOG.md +++ b/packages/components/psammead-media-indicator/CHANGELOG.md @@ -3,6 +3,7 @@ | Version | Description | | ------- | ----------- | +| 4.0.2 | [PR#XXX](https://github.com/bbc/psammead/pull/XXX) Pass `dir` to the `MediaIndicator`| | 4.0.1 | [PR#3075](https://github.com/bbc/psammead/pull/3075) Pass `script` to the `MediaIndicator`| | 4.0.0 | [PR#3062](https://github.com/bbc/psammead/pull/3062) Pass Time element as a child and remove spacing from the `MediaIndicatorWrapper`| | 3.0.0 | [PR#3029](https://github.com/bbc/psammead/pull/3029) Add prop `isInline` for displaying media indicator inline. Remove boolean prop `indexAlsos` since it should be replaced with `isInline` | diff --git a/packages/components/psammead-media-indicator/package-lock.json b/packages/components/psammead-media-indicator/package-lock.json index 4bd0ca2b2f..e781815779 100644 --- a/packages/components/psammead-media-indicator/package-lock.json +++ b/packages/components/psammead-media-indicator/package-lock.json @@ -1,6 +1,6 @@ { "name": "@bbc/psammead-media-indicator", - "version": "4.0.1", + "version": "4.0.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/components/psammead-media-indicator/package.json b/packages/components/psammead-media-indicator/package.json index 7352c78cac..a2f8bf90bb 100644 --- a/packages/components/psammead-media-indicator/package.json +++ b/packages/components/psammead-media-indicator/package.json @@ -1,6 +1,6 @@ { "name": "@bbc/psammead-media-indicator", - "version": "4.0.1", + "version": "4.0.2", "main": "dist/index.js", "module": "esm/index.js", "sideEffects": false, diff --git a/packages/components/psammead-media-indicator/src/__snapshots__/index.test.jsx.snap b/packages/components/psammead-media-indicator/src/__snapshots__/index.test.jsx.snap index 21d6423ff8..08204bfc86 100644 --- a/packages/components/psammead-media-indicator/src/__snapshots__/index.test.jsx.snap +++ b/packages/components/psammead-media-indicator/src/__snapshots__/index.test.jsx.snap @@ -50,6 +50,7 @@ exports[`MediaIndicator should render audio indicator correctly 1`] = `