Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(styles): deprecate topic teaser #4352

Open
wants to merge 1 commit into
base: release/v8
Choose a base branch
from
Open
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
5 changes: 5 additions & 0 deletions .changeset/metal-rice-eat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-styles': patch
---

Deprecated the topic teaser css component.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ import './topic-teaser.styles.scss';
</nav>
</div>

<div className="alert alert-warning">
The topic teaser is deprecated and will be removed in a future version.
</div>

<div className="lead">
Topic Teaser provides a flexible and responsive content container with options to align the image,
adding topic content and links as well as contextual background colors.
Expand All @@ -24,7 +28,11 @@ If you use multiple topic teasers on one page, each topic teaser must have a dif

</div>

<Canvas className="topic-teaser-full-width-storybook" sourceState="shown" of={TopicTeaserStories.Default} />
<Canvas
className="topic-teaser-full-width-storybook"
sourceState="shown"
of={TopicTeaserStories.Default}
/>

<div className="hide-col-default container">
<Controls of={TopicTeaserStories.Default} />
Expand Down
Loading