Skip to content

Commit

Permalink
Merge branch 'main' into 4283-hcm-missing-hover-color-in-high-contras…
Browse files Browse the repository at this point in the history
…t-mode-for-post-accordion-component
  • Loading branch information
schaertim authored Dec 18, 2024
2 parents 36b3f35 + 53bcc26 commit efb8378
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/quiet-pots-tickle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-documentation': patch
---

Added hint to not use active, disabled chips.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ const meta: MetaComponent = {
},
active: {
name: 'Active',
description: 'If `true`, the chip is active.',
description:
'If `true`, the chip is active.<div className="mt-8 banner banner-info banner-sm">Disabling active chips can result in confusing or unexpected behavior and should be avoided.<br/>Please read our <a href="/?path=/docs/46da78e8-e83b-4ca1-aaf6-bbc662efef14--docs#disabled-state">disabled state accessibility guide</a>.</div>',
if: {
arg: 'type',
eq: 'filter',
Expand Down

0 comments on commit efb8378

Please sign in to comment.