Skip to content

Releases: swisspost/design-system

@swisspost/[email protected]

16 Dec 16:46
e09b88e
Compare
Choose a tag to compare
Pre-release
@swisspost/[email protected]

@swisspost/[email protected]

16 Dec 16:46
e09b88e
Compare
Choose a tag to compare
Pre-release

Patch Changes

@swisspost/[email protected]

16 Dec 16:46
e09b88e
Compare
Choose a tag to compare
Pre-release
@swisspost/[email protected]

@swisspost/[email protected]

16 Dec 16:46
e09b88e
Compare
Choose a tag to compare
Pre-release

Major Changes

  • Updated the post-togglebutton component to offer greater flexibility. You can now control the visibility of elements within the post-togglebutton using the data-showwhen="toggled" and data-showwhen="untoggled" attributes. Any content without a data-showwhen attribute will always be visible, regardless of the toggle state. (by @alizedebray with #4223)

Minor Changes

  • Added composable footer component. (by @oliverschuerch with #4190)

  • Added the post-megadropdown component. (by @leagrdv with #4177)

  • Added the parts button and body in the post-accordion-item component, so one can override styles from the outside. (by @oliverschuerch with #4190)

  • Added the post-breadcrumb component to provide a standalone breadcrumb navigation solution. (by @alionazherdetska with #4065)

  • Added the css parts button and body in the post-accorddion-item component. (by @oliverschuerch with #4190)

  • Added the post-language-switch component that enables users to change the language of a page. (by @leagrdv with #4044)

Patch Changes

  • Switched mega dropdown content to one column on mobile. (by @leagrdv with #4300)

  • Fixed opening state of megadropdown trigger and expanded detection. (by @leagrdv with #4299)

  • Fix tab isolation in nested post-tabs components by scoping tab queries and interactions to the current instance. (by @alionazherdetska with #4211)

  • Added a fixed slot post-list-item on the post-list-item host element, so it is no longer necessary to add it manually. (by @oliverschuerch with #4190)

  • Fixed the used headingLevel in the post-accorddion-item component. The component now uses the value from its closest post-accorddion parent component, if this is specified and falls back to h2 if not specified. (by @oliverschuerch with #4190)

  • Updated the post-togglebutton to function like a real button, including support for keyboard navigation and proper focus styles. (by @alizedebray with #4242)

  • Fixed an issue with the post-list component where the horizontal property could not be set programmatically. Also, reduced the specificity of the component's styles to make customization easier. (by @alizedebray with #4137)

  • Updated dependencies:

@swisspost/[email protected]

16 Dec 16:46
e09b88e
Compare
Choose a tag to compare
Pre-release

Patch Changes

@swisspost/[email protected]

16 Dec 16:46
e09b88e
Compare
Choose a tag to compare
Pre-release

Patch Changes

@swisspost/[email protected]

09 Dec 15:48
8eb568d
Compare
Choose a tag to compare

Patch Changes

@swisspost/[email protected]

09 Dec 15:48
8eb568d
Compare
Choose a tag to compare

Patch Changes

@swisspost/[email protected]

09 Dec 16:00
21d0783
Compare
Choose a tag to compare

@swisspost/[email protected]

09 Dec 15:48
8eb568d
Compare
Choose a tag to compare

Patch Changes