Skip to content

Commit

Permalink
Merge branch 'main' into fix/2254-intranet-header-lang-parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
imagoiq authored Nov 22, 2023
2 parents baed24f + 098ada5 commit ea5b25a
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/mean-meals-train.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-demo': minor
---

Deprecated standard HTML alerts with a close button in favor of the `post-alert` component designed to correctly handle the dismissal animation.
1 change: 1 addition & 0 deletions .github/workflows/release-documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
name: Release Documentation to Netlify

on:
workflow_dispatch:
push:
branches:
- main
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,19 @@ <h1 id="alerts" class="bold font-curve-large">Alerts / Notifications</h1>

<section class="continous-text">
<h3>Usage</h3>

<div class="alert alert-warning mb-bigger-big">
<h5>Dismissible alerts are deprecated</h5>
<p>
There already exists a
<a href="https://next.design-system.post.ch/?path=/docs/components-alert--docs">
web component
</a>
<code>post-alert</code>
that will handle dissmissible alerts. HTML alerts should only be used for static alerts.
</p>
</div>

<div class="alert-container mt-5">
<div class="alert alert-info">
<p class="alert-heading">
Expand Down

0 comments on commit ea5b25a

Please sign in to comment.