Releases: swisspost/design-system
@swisspost/[email protected]
@swisspost/[email protected]
@swisspost/[email protected]
Patch Changes
- Updated dependencies:
- @swisspost/[email protected]
@swisspost/[email protected]
@swisspost/[email protected]
@swisspost/[email protected]
Major Changes
- Updated the
post-togglebutton
component to offer greater flexibility. You can now control the visibility of elements within thepost-togglebutton
using thedata-showwhen="toggled"
anddata-showwhen="untoggled"
attributes. Any content without adata-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
andbody
in thepost-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
andbody
in thepost-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 thepost-list-item
host element, so it is no longer necessary to add it manually. (by @oliverschuerch with #4190) -
Fixed the used
headingLevel
in thepost-accorddion-item
component. The component now uses the value from its closestpost-accorddion
parent component, if this is specified and falls back toh2
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]
- @swisspost/[email protected]
@swisspost/[email protected]
Patch Changes
- Updated dependencies:
- @swisspost/[email protected]
@swisspost/[email protected]
Patch Changes
- Updated dependencies:
- @swisspost/[email protected]
@swisspost/[email protected]
Patch Changes
- Updated dependencies:
- @swisspost/[email protected]
@swisspost/[email protected]
Patch Changes
- Fixed visibility issue with checkbox icon. (by @schaertim with #4149)
@swisspost/[email protected]
@swisspost/[email protected]
@swisspost/[email protected]
Patch Changes
- Updated dependencies:
- @swisspost/[email protected]