diff --git a/.changeset/clever-bears-pay.md b/.changeset/clever-bears-pay.md new file mode 100644 index 0000000000..20067cd8a3 --- /dev/null +++ b/.changeset/clever-bears-pay.md @@ -0,0 +1,5 @@ +--- +'@swisspost/design-system-documentation': patch +--- + +Updated `post-popover` component documentation by adding missing `close-button-caption` attribute in component examples. diff --git a/packages/documentation/src/stories/components/popover/popover.stories.ts b/packages/documentation/src/stories/components/popover/popover.stories.ts index 423cd3f824..cd8fd9c830 100644 --- a/packages/documentation/src/stories/components/popover/popover.stories.ts +++ b/packages/documentation/src/stories/components/popover/popover.stories.ts @@ -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: { @@ -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 : ''}" >