Skip to content

Releases: swisspost/design-system

@swisspost/[email protected]

30 Jun 10:23
d42cfbf
Compare
Choose a tag to compare
Pre-release
@swisspost/[email protected]

@swisspost/[email protected]

30 Jun 10:23
d42cfbf
Compare
Choose a tag to compare
Pre-release

Minor Changes

  • Updated the post-footer component to support fewer than four columns of links, allowing flexibility in the number of grid-* slots used. (by @alizedebray with #5724)

Patch Changes

@swisspost/[email protected]

30 Jun 10:23
d42cfbf
Compare
Choose a tag to compare
Pre-release

Patch Changes

@swisspost/[email protected]

30 Jun 10:23
d42cfbf
Compare
Choose a tag to compare
Pre-release

Patch Changes

@swisspost/[email protected]

24 Jun 06:56
e913149
Compare
Choose a tag to compare
Pre-release
@swisspost/[email protected]

@swisspost/[email protected]

24 Jun 06:57
e913149
Compare
Choose a tag to compare
Pre-release

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]

24 Jun 06:56
e913149
Compare
Choose a tag to compare
Pre-release

Patch Changes

@swisspost/[email protected]

24 Jun 06:56
e913149
Compare
Choose a tag to compare
Pre-release

Patch Changes

@swisspost/[email protected]

24 Jun 06:56
e913149
Compare
Choose a tag to compare
Pre-release

Major Changes

  • Improved post-header component responsive behavior for better mobile and desktop experience. Removed postUpdateDevice 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 the post-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 and description 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> to display: 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]

24 Jun 06:56
e913149
Compare
Choose a tag to compare
Pre-release

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