Skip to content
This repository has been archived by the owner on Aug 13, 2023. It is now read-only.

Simplifies stories #2181

Merged
merged 10 commits into from
Sep 20, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/components/psammead-story-promo/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<!-- prettier-ignore -->
| Version | Description |
| ------- | ----------- |
| 2.7.15 | [PR#2181](https://github.com/bbc/psammead/pull/2181) Remove `Timestamp` in StoryPromo story |
| 2.7.14 | [PR#2191](https://github.com/bbc/psammead/pull/2191) Talos - Bump Dependencies - @bbc/gel-foundations |
| 2.7.13 | [PR#2119](https://github.com/bbc/psammead/pull/2119) Add visuallyHiddenText for media types in storybook |
| 2.7.12 | [PR#2145](https://github.com/bbc/psammead/pull/2145) Talos - Bump Dependencies - @bbc/psammead-styles |
Expand Down
2 changes: 1 addition & 1 deletion packages/components/psammead-story-promo/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/components/psammead-story-promo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bbc/psammead-story-promo",
"version": "2.7.14",
"version": "2.7.15",
"main": "dist/index.js",
"module": "esm/index.js",
"sideEffects": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { storiesOf } from '@storybook/react';
import { withKnobs, text, boolean, select } from '@storybook/addon-knobs';
import { inputProvider } from '@bbc/psammead-storybook-helpers';
import Image from '@bbc/psammead-image';
import Timestamp from '@bbc/psammead-timestamp';
import MediaIndicator from '@bbc/psammead-media-indicator';
import VisuallyHiddenText from '@bbc/psammead-visually-hidden-text';
import StoryPromo, { Headline, Summary, Link, LiveLabel } from './index';
Expand Down Expand Up @@ -80,14 +79,6 @@ const InfoComponent = ({
<Summary script={script} topStory={topStory} service={service}>
{summaryText}
</Summary>
<Timestamp
datetime={text('Timestamp datetime', '2019-03-01T14:00+00:00')}
script={script}
padding={false}
service={service}
>
{text('Timestamp', '12 March 2019')}
</Timestamp>
{topStory && alsoItems && (
<IndexAlsosContainer
alsoItems={alsoItems}
Expand Down