Releases: swisspost/design-system
@swisspost/[email protected]
@swisspost/[email protected]
@swisspost/[email protected]
Minor Changes
- Updated the
post-footer
component to support fewer than four columns of links, allowing flexibility in the number ofgrid-*
slots used. (by @alizedebray with #5724)
Patch Changes
-
Fixed a typo in the render function of the
post-footer
to use the correctpost-accordion
component. (by @leagrdv with #5723) -
Fixed the
post-accordion-item
chevron no longer rotating. (by @alionazherdetska with #5719) -
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]
@swisspost/[email protected]
@swisspost/[email protected]
Major Changes
- Removed the file responsible for preventing fouc (flashes of unstyled content) for the web-components:
@swisspost/design-system-styles/components/not-defined.(scss|css)
. (by @oliverschuerch with #5696)
Patch Changes
-
Fixed an issue on iOS Chrome where floating labels would appear above the mobile navigation menu after users interacted with multiple form inputs, by increasing the z-index hierarchy for
post-header
components on mobile and tablet devices to ensure proper layering and maintain the navigation menu's top-level priority. (by @alionazherdetska with #5550) -
Adjusted label top position to prevent text from appearing between label and border on Windows at 125% scaling. (by @myrta2302 with #5547)
@swisspost/[email protected]
Patch Changes
- Updated dependencies:
- @swisspost/[email protected]
@swisspost/[email protected]
Patch Changes
- Updated icons:
money
(solid): 16, 24, 32, 40, 48 and 64px (by @swisspost-bot with #5564)
@swisspost/[email protected]
Major Changes
-
Improved
post-header
component responsive behavior for better mobile and desktop experience. RemovedpostUpdateDevice
event as part of internal refactoring - if you were listening to this event in your application, you'll need to remove those event listeners. Fixed a bug causing thepost-mainnavigation
to misplace after resizing from tablet to desktop and then back to tablet. (by @alionazherdetska with #5490) -
Updated the following props to be
required
:post-breadcrumbs
:homeUrl
is now required.post-collabpsible-trigger
:for
is now required.post-language-switch
:caption
anddescription
are now required.post-tab-header
:panel
is now required.post-tab-panel
:name
is now required. (by @myrta2302 with #5469)
-
Added the styles responsible for preventing fouc (flashes of unstyled content) for web-, angular- and react-components in the respective component packages:
@swisspost/design-system-components/post-components/post-components.css
@swisspost/design-system-components-angular/post-components.css
@swisspost/design-system-components-react/post-components.css
(by @oliverschuerch with #5165)
-
Fixed visual gap in the
post-header
component on iOS in Chrome browser. (by @alionazherdetska with #5621)
Patch Changes
-
Fixed
post-tooltip
text overflow by implementing proper word wrapping and updating width constraints. Tooltips now break correctly within a maximum width of 280px, preventing text from bleeding outside container boundaries. (by @alionazherdetska with #5544) -
Updated validation error messages across the component library. (by @myrta2302 with #5471)
-
Set
<post-tooltip>
todisplay: contents
to avoid affecting document layout. (by @myrta2302 with #5574) -
Replaced thrown errors with console.errors for all property checker functions. (by @myrta2302 with #5471)
-
Updated the following props to be
optional
:post-banner
:dismissLabel
,icon
post-card-control
:description
post-language-option
:active
,name
,url
,variant
post-logo
:url
post-tabs
:activePanel
post-tag
:variant
Updated prop type:
post-card-control
:validity
type changed to boolean. (by @myrta2302 with #5469)
-
Updated dependencies:
- @swisspost/[email protected]
- @swisspost/[email protected]
@swisspost/[email protected]
Major Changes
- Added the styles responsible for preventing fouc (flashes of unstyled content) for web-, angular- and react-components in the respective component packages:
@swisspost/design-system-components/post-components/post-components.css
@swisspost/design-system-components-angular/post-components.css
@swisspost/design-system-components-react/post-components.css
(by @oliverschuerch with #5165)
Patch Changes
- Updated dependencies:
- @swisspost/[email protected]