Skip to content
5 changes: 5 additions & 0 deletions .changeset/clever-bears-pay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-documentation': patch
---

Updated `post-popover` component documentation by adding missing `close-button-caption` attribute in component examples.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const meta: MetaComponent = {
'Value can either be in `vw`, `px` or `%`. If no max-width is defined, the popover will extend to the width of its content.',
table: {
category: 'General',
defaultValue: { summary: '280px' }
defaultValue: { summary: '280px' },
},
},
palette: {
Expand Down Expand Up @@ -104,6 +104,7 @@ function render(args: Args) {
class="${args.palette}"
id="${args.id}"
placement="${args.placement}"
close-button-caption="${args.closeButtonCaption}"
?arrow="${args.arrow}"
style="${args.maxWidth ? '--post-popover-max-width: ' + args.maxWidth : ''}"
>
Expand Down