chore(changesets): 🦋📦 publish packages #2761
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@swisspost/[email protected]
Major Changes
Synchronized the versions of the following packages:
This will help understanding the dependencies between these packages at a glance but also means that for the individual pacakges, semver is no longer being used. This enables us also to talk about and document Design System versions as a whole instead of documenting the fragmented versions in a complex lookup table. (by @gfellerph with #2856)
Updated the package entry properties in the package.json to the by stencil recommended files:
main
property fromloader/index.cjs.js
todist/index.cjs.js
module
property fromloader/index.js
todist/loader.js
types
property fromloader/index.d.ts
todist/types/index.d.ts
es2017
propertyThe usage of the
@swisspost/design-system-components/loader
entry files are still available and should be used to get the lazy-loaded components. (by @oliverschuerch with #2886)Prefixed all web-component custom-events with the keyword
post
.post-alert
componentdismissed
event topostDismissed
.post-card-control
componentinput
andchange
events topostInput
andpostChange
.post-collapsible
componentcollapseChange
event topostToggle
.post-rating
componentinput
andchange
events topostInput
andpostChange
.post-tabs
componenttabChange
event topostChange
. (by @oliverschuerch with #2874)Minor Changes
Added a new
tag
component. This component is available in standard HTML or as webcomponent. (by @b1aserlu with #2552)Added a new web-component
post-card-control
, which works like a nativeinput[type="checkbox"]
orinput[type="radio"]
but with a custom visual design. (by @oliverschuerch with #2260)Added the new default slot, to allow the integration of custom HTML in the card-control component. (by @oliverschuerch with #2844)
Patch Changes
Fixed accessibility of aria controls through post-tabs components. (by @imagoiq with #2777)
Fixed post-tooltip that doesn't show up when the pointer is on a child element (like an icon). (by @imagoiq with #2814)
Fixed Collapsible and Accordion element's content which is displayed when hidden on Webkit/Safari. (by @imagoiq with #2963)
Added new black and white alpha colors. Replaced hardcoded alpha colors with the new color definitions in
card-control
component. (by @oliverschuerch with #2861)Updated Sass color variables: - Removed variables
$success-green
,$error-red
,$warning-orange
,$success-text
,$error-text
,$danger
as well as the Sass map$contextual-colors
.Instead use the variables
$success
,$error
,$warning
and the Sass map$signal-colors
.$signal-colors
keys and added a new Sass map$signal-background-colors
.$background-colors
and all the dependant packages accordingly.With the exception of the components
notification
,toast
andtag
, there is no component providing adanger
variant anymore. Instead use theerror
variant. (by @oliverschuerch with #2861)Updated dependencies:
@swisspost/[email protected]
Major Changes
Synchronized the versions of the following packages:
This will help understanding the dependencies between these packages at a glance but also means that for the individual pacakges, semver is no longer being used. This enables us also to talk about and document Design System versions as a whole instead of documenting the fragmented versions in a complex lookup table. (by @gfellerph with #2856)
Added support for Angular 17. (by @alizedebray with #2760)
Patch Changes
@swisspost/[email protected]
Major Changes
Synchronized the versions of the following packages:
This will help understanding the dependencies between these packages at a glance but also means that for the individual pacakges, semver is no longer being used. This enables us also to talk about and document Design System versions as a whole instead of documenting the fragmented versions in a complex lookup table. (by @gfellerph with #2856)
Minor Changes
Patch Changes
@swisspost/[email protected]
Major Changes
Synchronized the versions of the following packages:
This will help understanding the dependencies between these packages at a glance but also means that for the individual pacakges, semver is no longer being used. This enables us also to talk about and document Design System versions as a whole instead of documenting the fragmented versions in a complex lookup table. (by @gfellerph with #2856)
Minor Changes
Patch Changes
@swisspost/[email protected]
Major Changes
Synchronized the versions of the following packages:
This will help understanding the dependencies between these packages at a glance but also means that for the individual pacakges, semver is no longer being used. This enables us also to talk about and document Design System versions as a whole instead of documenting the fragmented versions in a complex lookup table. (by @gfellerph with #2856)
Minor Changes
Patch Changes
@swisspost/[email protected]
Major Changes
Restricted badges to showcase counts exclusively and set their color to red by default.
Use tags to display states, properties, or other metadata. Opt for chips when presenting dismissible or selectable information.
Use the background utility classes to change the badge color as needed. (by @alizedebray with #2860)
Refactored brand colors. Renamed
$gray-background
SCSS variable to$gray
and removed$gray-background-light
variable because it is a duplication of the already existing variable$light
.Updated the usage of said variables in dependant packages accordingly. (by @oliverschuerch with #2861)
Synchronized the versions of the following packages:
This will help understanding the dependencies between these packages at a glance but also means that for the individual pacakges, semver is no longer being used. This enables us also to talk about and document Design System versions as a whole instead of documenting the fragmented versions in a complex lookup table. (by @gfellerph with #2856)
Added support for Angular 17 and ng-bootstrap 16. (by @alizedebray with #2760)
Updated Sass color variables: - Removed variables
$success-green
,$error-red
,$warning-orange
,$success-text
,$error-text
,$danger
as well as the Sass map$contextual-colors
.Instead use the variables
$success
,$error
,$warning
and the Sass map$signal-colors
.$signal-colors
keys and added a new Sass map$signal-background-colors
.$background-colors
and all the dependant packages accordingly.With the exception of the components
notification
,toast
andtag
, there is no component providing adanger
variant anymore. Instead use theerror
variant. (by @oliverschuerch with #2861)Renamed the badge into "chip", added a disable state and updated its styles. (by @alizedebray with #2855)
Minor Changes
Added new black and white alpha colors. Replaced hardcoded alpha colors with the new color definitions in
card-control
component. (by @oliverschuerch with #2861)Changed mobile navigation trigger to make it more accessible by default using a button element. (by @imagoiq with #2834)
Added a new
tag
component. This component is available in standard HTML or as webcomponent. (by @b1aserlu with #2552)Introduced new focus style for text input and select, and added new wrapper element
.focus-control-wrapper
,.form-range-wrapper
,.form-select-wrapper
. (by @imagoiq with #2774)Added new focus color variables. (by @oliverschuerch with #2861)
Added a pattern for error pages with an image. Currently available is a graphic for "404 not found" errors. More error types may be supported in the future. (by @gfellerph with #2676)
Patch Changes
Adjusted focus styles with new color for button, checkbox, radio, switch, rating elements. (by @imagoiq with #2780)
Updated size of radio button to match design. (by @imagoiq with #2737)
Fixed the
.form-check-input
background-color, by setting it to white on none or light backgrounds. (by @oliverschuerch with #2260)Added a workaround to display progress bar on input range and on webkit browsers without JavaScript. (by @imagoiq with #2781)
Fixed color and border-color on hover for checkbox and radio form element. (by @imagoiq with #2961)
Added new disabled styles for radio and checkbox, fixed color contrast on this state and fixed cursor style. (by @imagoiq with #2813)
Fixed layout on post-alert with medium (md) breakpoint. (by @imagoiq with #2775)
Fixed wrongly escaped Sass variables in the form-switch hcm styles, which caused problems in the styles of the card-control component. (by @oliverschuerch with #2965)
Replaced
system-ui
fallback font with a list of fallbacks to avoid rendering issues with specific writing system (chinese, arabic…). (by @imagoiq with #2735)Fixed active button color-contrast on dark background (by @imagoiq with #2823)
Replace all parts that used the old success color with the new success-green color. (by @imagoiq with #2808)
Fixed usage of background color on checkbox which make the checkmark invisible on dark background. (by @imagoiq with #2953)
Made styling more coherent for forms elements with High contrast mode and focus/hover state. (by @imagoiq with #2774)
Refactored the new focus style to only be visible when using keyboard for form elements. (by @imagoiq with #2810)
Fixed color contrast of alert component on success background color. (by @imagoiq with #2845)
Fixed form validation feedback color and indicators in high contrast mode. (by @imagoiq with #2766)
@swisspost/[email protected]
Patch Changes
Refactored brand colors. Renamed
$gray-background
SCSS variable to$gray
and removed$gray-background-light
variable because it is a duplication of the already existing variable$light
.Updated the usage of said variables in dependant packages accordingly. (by @oliverschuerch with #2861)
Fixed logo not scaled properly for header with no meta navigation. (by @alizedebray with #2787)
Sanitized hours fields in footer against XSS "Incomplete multi-character sanitization" issue. (by @imagoiq with #2807)
Replaced
system-ui
fallback font with a list of fallbacks to avoid rendering issues with specific writing system (chinese, arabic…). (by @imagoiq with #2735)Fixed an issue with invisible focus rings when not using the Design System Styles along with the Swisspost Internet Header. Focus rings are now displayed as expected. (by @gfellerph with #2793)
Hide the main navigation custom content when empty. (by @alizedebray with #2786)
Updated dependencies:
@swisspost/[email protected]
Major Changes
Synchronized the versions of the following packages:
This will help understanding the dependencies between these packages at a glance but also means that for the individual pacakges, semver is no longer being used. This enables us also to talk about and document Design System versions as a whole instead of documenting the fragmented versions in a complex lookup table. (by @gfellerph with #2856)
Patch Changes
@swisspost/[email protected]
Major Changes
Minor Changes
Added changelogs for all packages. (by @alizedebray with #2877)
Added new black and white alpha colors. Replaced hardcoded alpha colors with the new color definitions in
card-control
component. (by @oliverschuerch with #2861)Changed mobile navigation trigger to make it more accessible by default using a button element. (by @imagoiq with #2834)
Added a new
tag
component. This component is available in standard HTML or as webcomponent. (by @b1aserlu with #2552)Added a new web-component
post-card-control
, which works like a nativeinput[type="checkbox"]
orinput[type="radio"]
but with a custom visual design. (by @oliverschuerch with #2260)Added new focus color variables. (by @oliverschuerch with #2861)
Added a pattern for error pages with an image. Currently available is a graphic for "404 not found" errors. More error types may be supported in the future. (by @gfellerph with #2676)
Added migration guide for updating the @swisspost/design-system-styles from v.6 to v7. (by @alizedebray with #2877)
Added the new default slot, to allow the integration of custom HTML in the card-control component. (by @oliverschuerch with #2844)
Patch Changes
Updated instructions to run the automated migrations from the migration package. (by @alizedebray with #2783)
Moved the style package changelog and migration guide to the "Getting Started" section of the documentation. (by @alizedebray with #2877)
Restricted badges to showcase counts exclusively and set their color to red by default.
Use tags to display states, properties, or other metadata. Opt for chips when presenting dismissible or selectable information.
Use the background utility classes to change the badge color as needed. (by @alizedebray with #2860)
Refactored brand colors. Renamed
$gray-background
SCSS variable to$gray
and removed$gray-background-light
variable because it is a duplication of the already existing variable$light
.Updated the usage of said variables in dependant packages accordingly. (by @oliverschuerch with #2861)
Fixed missing LinkTo element on post-rating docs page and removed all remaining LinkTo elements. (by @imagoiq with #2962)
Merged toast live region section with accessibility page. (by @imagoiq with #2731)
Prefixed all web-component custom-events with the keyword
post
.post-alert
componentdismissed
event topostDismissed
.post-card-control
componentinput
andchange
events topostInput
andpostChange
.post-collapsible
componentcollapseChange
event topostToggle
.post-rating
componentinput
andchange
events topostInput
andpostChange
.post-tabs
componenttabChange
event topostChange
. (by @oliverschuerch with #2874)Added link to figma for all components. (by @imagoiq with #2875)
Reworked the getting-started section to better understand the different packages and add more info about Angular. (by @imagoiq with #2722)
Changed references from https://next.design-system.post.ch to https://design-system.post.ch after the migration of Storybook, which is now our main documentation (by @gfellerph with #2802)
Updated Sass color variables: - Removed variables
$success-green
,$error-red
,$warning-orange
,$success-text
,$error-text
,$danger
as well as the Sass map$contextual-colors
.Instead use the variables
$success
,$error
,$warning
and the Sass map$signal-colors
.$signal-colors
keys and added a new Sass map$signal-background-colors
.$background-colors
and all the dependant packages accordingly.With the exception of the components
notification
,toast
andtag
, there is no component providing adanger
variant anymore. Instead use theerror
variant. (by @oliverschuerch with #2861)Renamed input range to slider. (by @imagoiq with #2792)
Fixed table span on Safari for the Introduction page. (by @imagoiq with #2964)
Updated dependencies:
@swisspost/[email protected]
Minor Changes
post-card-control
, which works like a nativeinput[type="checkbox"]
orinput[type="radio"]
but with a custom visual design. (by @oliverschuerch with #2260)Patch Changes
@swisspost/[email protected]
Minor Changes
Patch Changes
Updated instructions to run the automated migrations from the migration package. (by @alizedebray with #2783)
Fixed display of version switcher with new versions.json file. (by @imagoiq with #2838)
Refactored brand colors. Renamed
$gray-background
SCSS variable to$gray
and removed$gray-background-light
variable because it is a duplication of the already existing variable$light
.Updated the usage of said variables in dependant packages accordingly. (by @oliverschuerch with #2861)
Changed references from https://next.design-system.post.ch to https://design-system.post.ch after the migration of Storybook, which is now our main documentation (by @gfellerph with #2802)
Updated Sass color variables: - Removed variables
$success-green
,$error-red
,$warning-orange
,$success-text
,$error-text
,$danger
as well as the Sass map$contextual-colors
.Instead use the variables
$success
,$error
,$warning
and the Sass map$signal-colors
.$signal-colors
keys and added a new Sass map$signal-background-colors
.$background-colors
and all the dependant packages accordingly.With the exception of the components
notification
,toast
andtag
, there is no component providing adanger
variant anymore. Instead use theerror
variant. (by @oliverschuerch with #2861)Updated Angular to version 17. (by @alizedebray with #2760)
Updated dependencies:
@swisspost/[email protected]
Patch Changes
@swisspost/[email protected]
Patch Changes