diff --git a/.changeset/early-knives-own.md b/.changeset/early-knives-own.md new file mode 100644 index 0000000000..a9957352a8 --- /dev/null +++ b/.changeset/early-knives-own.md @@ -0,0 +1,5 @@ +--- +'@swisspost/design-system-components': patch +--- + +Removed auto slotting from `post-togglebutton` component to enable more flexible usage. diff --git a/.changeset/smooth-spoons-matter.md b/.changeset/smooth-spoons-matter.md new file mode 100644 index 0000000000..81dd15621a --- /dev/null +++ b/.changeset/smooth-spoons-matter.md @@ -0,0 +1,5 @@ +--- +'@swisspost/design-system-documentation': patch +--- + +Updated header documentation by specifying `post-togglebutton` slot explicitly. diff --git a/packages/components/src/components/post-togglebutton/post-togglebutton.tsx b/packages/components/src/components/post-togglebutton/post-togglebutton.tsx index b0eb329d9d..ac8d98375b 100644 --- a/packages/components/src/components/post-togglebutton/post-togglebutton.tsx +++ b/packages/components/src/components/post-togglebutton/post-togglebutton.tsx @@ -51,7 +51,6 @@ export class PostTogglebutton { render() { return ( - + Menu diff --git a/packages/documentation/src/stories/modules/header/components/header.markup.ts b/packages/documentation/src/stories/modules/header/components/header.markup.ts index a20010f968..e914b78eac 100644 --- a/packages/documentation/src/stories/modules/header/components/header.markup.ts +++ b/packages/documentation/src/stories/modules/header/components/header.markup.ts @@ -11,7 +11,7 @@ export default html` - + Menu