From 60b1a7084e138efa18694a5ddf961855622a00f1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 17 Apr 2024 07:26:00 +0000 Subject: [PATCH] chore(changesets): publish packages --- .changeset/2024-03-10-update-icons.md | 6 -- .changeset/beige-pans-kiss.md | 5 - .changeset/brave-gifts-talk.md | 7 -- .changeset/bright-melons-cover.md | 5 - .changeset/calm-spoons-bake.md | 5 - .changeset/dirty-forks-shake.md | 5 - .changeset/dry-wasps-film.md | 10 -- .changeset/eight-elephants-sniff.md | 10 -- .changeset/eighty-stingrays-exist.md | 5 - .changeset/empty-beers-refuse.md | 5 - .changeset/fair-singers-return.md | 5 - .changeset/famous-cameras-kiss.md | 5 - .changeset/fifty-rabbits-flow.md | 21 ---- .changeset/forty-knives-love.md | 5 - .changeset/fresh-bikes-rush.md | 5 - .changeset/giant-glasses-sniff.md | 12 --- .changeset/great-jobs-attend.md | 5 - .changeset/happy-socks-leave.md | 5 - .changeset/large-jokes-scream.md | 5 - .changeset/light-pandas-wonder.md | 5 - .changeset/loud-pumpkins-impress.md | 5 - .changeset/many-donuts-fry.md | 12 --- .changeset/mean-terms-camp.md | 5 - .changeset/nice-schools-perform.md | 8 -- .changeset/ninety-moons-cover.md | 5 - .changeset/odd-rabbits-boil.md | 5 - .changeset/old-carpets-think.md | 5 - .changeset/old-pumas-sit.md | 5 - .changeset/orange-tigers-punch.md | 5 - .changeset/polite-eggs-sell.md | 6 -- .changeset/polite-starfishes-vanish.md | 8 -- .changeset/purple-ants-remember.md | 5 - .changeset/purple-clocks-call.md | 6 -- .changeset/quiet-mugs-design.md | 5 - .changeset/rude-apricots-joke.md | 5 - .changeset/selfish-lions-tap.md | 5 - .changeset/seven-toes-call.md | 7 -- .changeset/shaggy-files-protect.md | 7 -- .changeset/shiny-books-refuse.md | 5 - .changeset/shiny-zoos-accept.md | 14 --- .changeset/shy-melons-kiss.md | 5 - .changeset/shy-peas-count-2.md | 5 - .changeset/shy-peas-count.md | 5 - .changeset/silver-items-press.md | 5 - .changeset/silver-jars-sparkle.md | 5 - .changeset/smart-spoons-type.md | 6 -- .changeset/strange-poems-occur.md | 5 - .changeset/sweet-clouds-scream.md | 5 - .changeset/sweet-spies-love.md | 5 - .changeset/swift-dragons-add.md | 6 -- .changeset/tall-ravens-ring.md | 7 -- .changeset/three-pandas-push.md | 5 - .changeset/tiny-hornets-pretend.md | 5 - .changeset/two-shrimps-argue.md | 6 -- .changeset/witty-beans-dream.md | 5 - .changeset/yellow-pigs-double.md | 5 - packages/components-angular/CHANGELOG.md | 13 +++ packages/components-angular/package.json | 6 +- .../projects/components/CHANGELOG.md | 23 ++++ .../projects/components/package.json | 4 +- packages/components-react/CHANGELOG.md | 21 ++++ packages/components-react/package.json | 4 +- packages/components/CHANGELOG.md | 61 +++++++++++ packages/components/package.json | 4 +- packages/demo/CHANGELOG.md | 31 ++++++ packages/demo/package.json | 8 +- packages/documentation/CHANGELOG.md | 78 ++++++++++++++ packages/documentation/package.json | 16 +-- packages/icons/CHANGELOG.md | 20 ++++ packages/icons/package.json | 2 +- packages/internet-header/CHANGELOG.md | 19 ++++ packages/internet-header/package.json | 4 +- .../intranet-header-workspace/CHANGELOG.md | 9 ++ .../intranet-header-workspace/package.json | 6 +- .../projects/intranet-header/CHANGELOG.md | 25 +++++ .../projects/intranet-header/package.json | 6 +- packages/migrations/CHANGELOG.md | 24 +++++ packages/migrations/package.json | 2 +- packages/nextjs-integration/CHANGELOG.md | 9 ++ packages/nextjs-integration/package.json | 8 +- packages/styles/CHANGELOG.md | 84 +++++++++++++++ packages/styles/package.json | 4 +- pnpm-lock.yaml | 100 ++++++------------ 83 files changed, 485 insertions(+), 455 deletions(-) delete mode 100644 .changeset/2024-03-10-update-icons.md delete mode 100644 .changeset/beige-pans-kiss.md delete mode 100644 .changeset/brave-gifts-talk.md delete mode 100644 .changeset/bright-melons-cover.md delete mode 100644 .changeset/calm-spoons-bake.md delete mode 100644 .changeset/dirty-forks-shake.md delete mode 100644 .changeset/dry-wasps-film.md delete mode 100644 .changeset/eight-elephants-sniff.md delete mode 100644 .changeset/eighty-stingrays-exist.md delete mode 100644 .changeset/empty-beers-refuse.md delete mode 100644 .changeset/fair-singers-return.md delete mode 100644 .changeset/famous-cameras-kiss.md delete mode 100644 .changeset/fifty-rabbits-flow.md delete mode 100644 .changeset/forty-knives-love.md delete mode 100644 .changeset/fresh-bikes-rush.md delete mode 100644 .changeset/giant-glasses-sniff.md delete mode 100644 .changeset/great-jobs-attend.md delete mode 100644 .changeset/happy-socks-leave.md delete mode 100644 .changeset/large-jokes-scream.md delete mode 100644 .changeset/light-pandas-wonder.md delete mode 100644 .changeset/loud-pumpkins-impress.md delete mode 100644 .changeset/many-donuts-fry.md delete mode 100644 .changeset/mean-terms-camp.md delete mode 100644 .changeset/nice-schools-perform.md delete mode 100644 .changeset/ninety-moons-cover.md delete mode 100644 .changeset/odd-rabbits-boil.md delete mode 100644 .changeset/old-carpets-think.md delete mode 100644 .changeset/old-pumas-sit.md delete mode 100644 .changeset/orange-tigers-punch.md delete mode 100644 .changeset/polite-eggs-sell.md delete mode 100644 .changeset/polite-starfishes-vanish.md delete mode 100644 .changeset/purple-ants-remember.md delete mode 100644 .changeset/purple-clocks-call.md delete mode 100644 .changeset/quiet-mugs-design.md delete mode 100644 .changeset/rude-apricots-joke.md delete mode 100644 .changeset/selfish-lions-tap.md delete mode 100644 .changeset/seven-toes-call.md delete mode 100644 .changeset/shaggy-files-protect.md delete mode 100644 .changeset/shiny-books-refuse.md delete mode 100644 .changeset/shiny-zoos-accept.md delete mode 100644 .changeset/shy-melons-kiss.md delete mode 100644 .changeset/shy-peas-count-2.md delete mode 100644 .changeset/shy-peas-count.md delete mode 100644 .changeset/silver-items-press.md delete mode 100644 .changeset/silver-jars-sparkle.md delete mode 100644 .changeset/smart-spoons-type.md delete mode 100644 .changeset/strange-poems-occur.md delete mode 100644 .changeset/sweet-clouds-scream.md delete mode 100644 .changeset/sweet-spies-love.md delete mode 100644 .changeset/swift-dragons-add.md delete mode 100644 .changeset/tall-ravens-ring.md delete mode 100644 .changeset/three-pandas-push.md delete mode 100644 .changeset/tiny-hornets-pretend.md delete mode 100644 .changeset/two-shrimps-argue.md delete mode 100644 .changeset/witty-beans-dream.md delete mode 100644 .changeset/yellow-pigs-double.md diff --git a/.changeset/2024-03-10-update-icons.md b/.changeset/2024-03-10-update-icons.md deleted file mode 100644 index bcd9fdf411..0000000000 --- a/.changeset/2024-03-10-update-icons.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@swisspost/design-system-icons': minor ---- - -Added icons number 2579, 2580, 2581, 2582, 2583 and 2584. - diff --git a/.changeset/beige-pans-kiss.md b/.changeset/beige-pans-kiss.md deleted file mode 100644 index 5cc3ebe7c2..0000000000 --- a/.changeset/beige-pans-kiss.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-styles': patch ---- - -Adjusted focus styles with new color for button, checkbox, radio, switch, rating elements. diff --git a/.changeset/brave-gifts-talk.md b/.changeset/brave-gifts-talk.md deleted file mode 100644 index 64183488f9..0000000000 --- a/.changeset/brave-gifts-talk.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@swisspost/design-system-documentation': patch -'@swisspost/design-system-migrations': patch -'@swisspost/design-system-demo': patch ---- - -Updated instructions to run the automated migrations from the migration package. diff --git a/.changeset/bright-melons-cover.md b/.changeset/bright-melons-cover.md deleted file mode 100644 index ca3178b7fc..0000000000 --- a/.changeset/bright-melons-cover.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-demo': patch ---- - -Fixed display of version switcher with new versions.json file. diff --git a/.changeset/calm-spoons-bake.md b/.changeset/calm-spoons-bake.md deleted file mode 100644 index 8868dad1fe..0000000000 --- a/.changeset/calm-spoons-bake.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-components': patch ---- - -Fixed accessibility of aria controls through post-tabs components. diff --git a/.changeset/dirty-forks-shake.md b/.changeset/dirty-forks-shake.md deleted file mode 100644 index 72f06fd297..0000000000 --- a/.changeset/dirty-forks-shake.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-documentation': patch ---- - -Moved the style package changelog and migration guide to the "Getting Started" section of the documentation. diff --git a/.changeset/dry-wasps-film.md b/.changeset/dry-wasps-film.md deleted file mode 100644 index 64445ef2ee..0000000000 --- a/.changeset/dry-wasps-film.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -'@swisspost/design-system-styles': major -'@swisspost/design-system-documentation': patch ---- - -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. \ No newline at end of file diff --git a/.changeset/eight-elephants-sniff.md b/.changeset/eight-elephants-sniff.md deleted file mode 100644 index 42d9bdaa31..0000000000 --- a/.changeset/eight-elephants-sniff.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -'@swisspost/design-system-styles': major -'@swisspost/internet-header': patch -'@swisspost/design-system-documentation': patch -'@swisspost/design-system-demo': patch ---- - -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. diff --git a/.changeset/eighty-stingrays-exist.md b/.changeset/eighty-stingrays-exist.md deleted file mode 100644 index a4b6a0847e..0000000000 --- a/.changeset/eighty-stingrays-exist.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/internet-header': patch ---- - -Fixed logo not scaled properly for header with no meta navigation. diff --git a/.changeset/empty-beers-refuse.md b/.changeset/empty-beers-refuse.md deleted file mode 100644 index e3aa595446..0000000000 --- a/.changeset/empty-beers-refuse.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-styles': patch ---- - -Updated size of radio button to match design. diff --git a/.changeset/fair-singers-return.md b/.changeset/fair-singers-return.md deleted file mode 100644 index 96e937a631..0000000000 --- a/.changeset/fair-singers-return.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-styles': patch ---- - -Fixed the `.form-check-input` background-color, by setting it to white on none or light backgrounds. diff --git a/.changeset/famous-cameras-kiss.md b/.changeset/famous-cameras-kiss.md deleted file mode 100644 index eb48b02f2a..0000000000 --- a/.changeset/famous-cameras-kiss.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/internet-header': patch ---- - -Sanitized hours fields in footer against XSS "Incomplete multi-character sanitization" issue. diff --git a/.changeset/fifty-rabbits-flow.md b/.changeset/fifty-rabbits-flow.md deleted file mode 100644 index 6ef5ba792e..0000000000 --- a/.changeset/fifty-rabbits-flow.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -'@swisspost/design-system-components': major -'@swisspost/design-system-components-angular': major -'@swisspost/design-system-components-react': major -'@swisspost/design-system-styles': major -'@swisspost/design-system-migrations': major -'@swisspost/design-system-icons': major -'@swisspost/design-system-intranet-header': major ---- - -Synchronized the versions of the following packages: - -- @swisspost/design-system-styles -- @swisspost/design-system-components -- @swisspost/design-system-components-react -- @swisspost/design-system-components-angular -- @swisspost/design-system-migrations -- @swisspost/design-system-icons -- @swisspost/design-system-intranet-header - -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. diff --git a/.changeset/forty-knives-love.md b/.changeset/forty-knives-love.md deleted file mode 100644 index f7b7e0188d..0000000000 --- a/.changeset/forty-knives-love.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-styles': patch ---- - -Added a workaround to display progress bar on input range and on webkit browsers without JavaScript. diff --git a/.changeset/fresh-bikes-rush.md b/.changeset/fresh-bikes-rush.md deleted file mode 100644 index 2ae8190d52..0000000000 --- a/.changeset/fresh-bikes-rush.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-components': patch ---- - -Fixed post-tooltip that doesn't show up when the pointer is on a child element (like an icon). diff --git a/.changeset/giant-glasses-sniff.md b/.changeset/giant-glasses-sniff.md deleted file mode 100644 index d6e5725039..0000000000 --- a/.changeset/giant-glasses-sniff.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -'@swisspost/design-system-components': major ---- - -Updated the package entry properties in the package.json to the by stencil recommended files: - -- Updated the `main` property from `loader/index.cjs.js` to `dist/index.cjs.js` -- Updated the `module` property from `loader/index.js` to `dist/loader.js` -- Updated the `types` property from `loader/index.d.ts` to `dist/types/index.d.ts` -- Removed the `es2017` property - -The usage of the `@swisspost/design-system-components/loader` entry files are still available and should be used to get the lazy-loaded components. diff --git a/.changeset/great-jobs-attend.md b/.changeset/great-jobs-attend.md deleted file mode 100644 index 65632a57b4..0000000000 --- a/.changeset/great-jobs-attend.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-styles': major ---- - -Added support for Angular 17 and ng-bootstrap 16. diff --git a/.changeset/happy-socks-leave.md b/.changeset/happy-socks-leave.md deleted file mode 100644 index 93950aa738..0000000000 --- a/.changeset/happy-socks-leave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-documentation': minor ---- - -Added changelogs for all packages. diff --git a/.changeset/large-jokes-scream.md b/.changeset/large-jokes-scream.md deleted file mode 100644 index 503415e092..0000000000 --- a/.changeset/large-jokes-scream.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-styles': patch ---- - -Fixed color and border-color on hover for checkbox and radio form element. diff --git a/.changeset/light-pandas-wonder.md b/.changeset/light-pandas-wonder.md deleted file mode 100644 index 254dcbdaf8..0000000000 --- a/.changeset/light-pandas-wonder.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-documentation': patch ---- - -Fixed missing LinkTo element on post-rating docs page and removed all remaining LinkTo elements. diff --git a/.changeset/loud-pumpkins-impress.md b/.changeset/loud-pumpkins-impress.md deleted file mode 100644 index 7f336c18ce..0000000000 --- a/.changeset/loud-pumpkins-impress.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-documentation': patch ---- - -Merged toast live region section with accessibility page. diff --git a/.changeset/many-donuts-fry.md b/.changeset/many-donuts-fry.md deleted file mode 100644 index 2d88f7071a..0000000000 --- a/.changeset/many-donuts-fry.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -'@swisspost/design-system-components': major -'@swisspost/design-system-documentation': patch ---- - -Prefixed all web-component custom-events with the keyword `post`. - -- Changed `post-alert` component `dismissed` event to `postDismissed`. -- Changed `post-card-control` component `input` and `change` events to `postInput` and `postChange`. -- Changed `post-collapsible` component `collapseChange` event to `postToggle`. -- Changed `post-rating` component `input` and `change` events to `postInput` and `postChange`. -- Changed `post-tabs` component `tabChange` event to `postChange`. diff --git a/.changeset/mean-terms-camp.md b/.changeset/mean-terms-camp.md deleted file mode 100644 index d44719fd6d..0000000000 --- a/.changeset/mean-terms-camp.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-components': patch ---- - -Fixed Collapsible and Accordion element's content which is displayed when hidden on Webkit/Safari. diff --git a/.changeset/nice-schools-perform.md b/.changeset/nice-schools-perform.md deleted file mode 100644 index 43d2207fbf..0000000000 --- a/.changeset/nice-schools-perform.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@swisspost/design-system-styles': minor -'@swisspost/design-system-documentation': minor -'@swisspost/design-system-components': patch ---- - -Added new black and white alpha colors. -Replaced hardcoded alpha colors with the new color definitions in `card-control` component. diff --git a/.changeset/ninety-moons-cover.md b/.changeset/ninety-moons-cover.md deleted file mode 100644 index 97614b07f3..0000000000 --- a/.changeset/ninety-moons-cover.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-documentation': patch ---- - -Added link to figma for all components. diff --git a/.changeset/odd-rabbits-boil.md b/.changeset/odd-rabbits-boil.md deleted file mode 100644 index e9a824d526..0000000000 --- a/.changeset/odd-rabbits-boil.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-styles': patch ---- - -Added new disabled styles for radio and checkbox, fixed color contrast on this state and fixed cursor style. diff --git a/.changeset/old-carpets-think.md b/.changeset/old-carpets-think.md deleted file mode 100644 index 72a478285e..0000000000 --- a/.changeset/old-carpets-think.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-styles': patch ---- - -Fixed layout on post-alert with medium (md) breakpoint. diff --git a/.changeset/old-pumas-sit.md b/.changeset/old-pumas-sit.md deleted file mode 100644 index 70474d5cc4..0000000000 --- a/.changeset/old-pumas-sit.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-documentation': patch ---- - -Reworked the getting-started section to better understand the different packages and add more info about Angular. diff --git a/.changeset/orange-tigers-punch.md b/.changeset/orange-tigers-punch.md deleted file mode 100644 index 173727e2a3..0000000000 --- a/.changeset/orange-tigers-punch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-components-angular': major ---- - -Added support for Angular 17. diff --git a/.changeset/polite-eggs-sell.md b/.changeset/polite-eggs-sell.md deleted file mode 100644 index 18527e8724..0000000000 --- a/.changeset/polite-eggs-sell.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@swisspost/design-system-documentation': patch -'@swisspost/design-system-demo': patch ---- - -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 diff --git a/.changeset/polite-starfishes-vanish.md b/.changeset/polite-starfishes-vanish.md deleted file mode 100644 index 90bfb850bf..0000000000 --- a/.changeset/polite-starfishes-vanish.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@swisspost/design-system-intranet-header': minor -'@swisspost/design-system-documentation': minor -'@swisspost/design-system-styles': minor -'@swisspost/design-system-demo': minor ---- - -Changed mobile navigation trigger to make it more accessible by default using a button element. diff --git a/.changeset/purple-ants-remember.md b/.changeset/purple-ants-remember.md deleted file mode 100644 index f939034e1d..0000000000 --- a/.changeset/purple-ants-remember.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-styles': patch ---- - -Fixed wrongly escaped Sass variables in the form-switch hcm styles, which caused problems in the styles of the card-control component. diff --git a/.changeset/purple-clocks-call.md b/.changeset/purple-clocks-call.md deleted file mode 100644 index b6c74594ad..0000000000 --- a/.changeset/purple-clocks-call.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@swisspost/internet-header': patch -'@swisspost/design-system-styles': patch ---- - -Replaced `system-ui` fallback font with a list of fallbacks to avoid rendering issues with specific writing system (chinese, arabic…). diff --git a/.changeset/quiet-mugs-design.md b/.changeset/quiet-mugs-design.md deleted file mode 100644 index 77f0f40af0..0000000000 --- a/.changeset/quiet-mugs-design.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-migrations': minor ---- - -Added migrations to turn badges into chips. diff --git a/.changeset/rude-apricots-joke.md b/.changeset/rude-apricots-joke.md deleted file mode 100644 index 478a958f33..0000000000 --- a/.changeset/rude-apricots-joke.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-styles': patch ---- - -Fixed active button color-contrast on dark background diff --git a/.changeset/selfish-lions-tap.md b/.changeset/selfish-lions-tap.md deleted file mode 100644 index e09f6a5ab2..0000000000 --- a/.changeset/selfish-lions-tap.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-documentation': major ---- - -Renamed badge into "chip" and improved related examples. diff --git a/.changeset/seven-toes-call.md b/.changeset/seven-toes-call.md deleted file mode 100644 index a13965e641..0000000000 --- a/.changeset/seven-toes-call.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@swisspost/design-system-documentation': minor -'@swisspost/design-system-components': minor -'@swisspost/design-system-styles': minor ---- - -Added a new `tag` component. This component is available in standard HTML or as webcomponent. diff --git a/.changeset/shaggy-files-protect.md b/.changeset/shaggy-files-protect.md deleted file mode 100644 index 4e3c6e9382..0000000000 --- a/.changeset/shaggy-files-protect.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@swisspost/design-system-components-angular-workspace': minor -'@swisspost/design-system-documentation': minor -'@swisspost/design-system-components': minor ---- - -Added a new web-component `post-card-control`, which works like a native `input[type="checkbox"]` or `input[type="radio"]` but with a custom visual design. diff --git a/.changeset/shiny-books-refuse.md b/.changeset/shiny-books-refuse.md deleted file mode 100644 index dd44d77553..0000000000 --- a/.changeset/shiny-books-refuse.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-styles': patch ---- - -Replace all parts that used the old success color with the new success-green color. diff --git a/.changeset/shiny-zoos-accept.md b/.changeset/shiny-zoos-accept.md deleted file mode 100644 index d3b9e259bb..0000000000 --- a/.changeset/shiny-zoos-accept.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -'@swisspost/design-system-styles': major -'@swisspost/design-system-documentation': patch -'@swisspost/design-system-components': patch -'@swisspost/design-system-demo': patch ---- - -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`. -- Updated the Sass map `$signal-colors` keys and added a new Sass map `$signal-background-colors`. -- Updated the Sass map `$background-colors` and all the dependant packages accordingly. - -With the exception of the components `notification`, `toast` and `tag`, there is no component providing a `danger` variant anymore. Instead use the `error` variant. diff --git a/.changeset/shy-melons-kiss.md b/.changeset/shy-melons-kiss.md deleted file mode 100644 index 0b09a75308..0000000000 --- a/.changeset/shy-melons-kiss.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-styles': patch ---- - -Fixed usage of background color on checkbox which make the checkmark invisible on dark background. diff --git a/.changeset/shy-peas-count-2.md b/.changeset/shy-peas-count-2.md deleted file mode 100644 index f304ff3515..0000000000 --- a/.changeset/shy-peas-count-2.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-styles': minor ---- - -Introduced new focus style for text input and select, and added new wrapper element `.focus-control-wrapper`, `.form-range-wrapper`, `.form-select-wrapper`. diff --git a/.changeset/shy-peas-count.md b/.changeset/shy-peas-count.md deleted file mode 100644 index 0c17785184..0000000000 --- a/.changeset/shy-peas-count.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-styles': patch ---- - -Made styling more coherent for forms elements with High contrast mode and focus/hover state. diff --git a/.changeset/silver-items-press.md b/.changeset/silver-items-press.md deleted file mode 100644 index b78410c2a2..0000000000 --- a/.changeset/silver-items-press.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-styles': patch ---- - -Refactored the new focus style to only be visible when using keyboard for form elements. diff --git a/.changeset/silver-jars-sparkle.md b/.changeset/silver-jars-sparkle.md deleted file mode 100644 index c4d1017665..0000000000 --- a/.changeset/silver-jars-sparkle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-documentation': patch ---- - -Renamed input range to slider. diff --git a/.changeset/smart-spoons-type.md b/.changeset/smart-spoons-type.md deleted file mode 100644 index a87b76ab17..0000000000 --- a/.changeset/smart-spoons-type.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@swisspost/design-system-documentation': minor -'@swisspost/design-system-styles': minor ---- - -Added new focus color variables. diff --git a/.changeset/strange-poems-occur.md b/.changeset/strange-poems-occur.md deleted file mode 100644 index 6e8aa009c5..0000000000 --- a/.changeset/strange-poems-occur.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-styles': patch ---- - -Fixed color contrast of alert component on success background color. diff --git a/.changeset/sweet-clouds-scream.md b/.changeset/sweet-clouds-scream.md deleted file mode 100644 index 7eab6f60de..0000000000 --- a/.changeset/sweet-clouds-scream.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-styles': major ---- - -Renamed the badge into "chip", added a disable state and updated its styles. diff --git a/.changeset/sweet-spies-love.md b/.changeset/sweet-spies-love.md deleted file mode 100644 index 49cb7123fd..0000000000 --- a/.changeset/sweet-spies-love.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/internet-header': patch ---- - -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. diff --git a/.changeset/swift-dragons-add.md b/.changeset/swift-dragons-add.md deleted file mode 100644 index d237d12e75..0000000000 --- a/.changeset/swift-dragons-add.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@swisspost/design-system-documentation': minor -'@swisspost/design-system-styles': minor ---- - -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. diff --git a/.changeset/tall-ravens-ring.md b/.changeset/tall-ravens-ring.md deleted file mode 100644 index caeb1f490b..0000000000 --- a/.changeset/tall-ravens-ring.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@swisspost/design-system-demo': patch -'@swisspost/design-system-components-angular-workspace': patch -'@swisspost/design-system-intranet-header-workspace': patch ---- - -Updated Angular to version 17. diff --git a/.changeset/three-pandas-push.md b/.changeset/three-pandas-push.md deleted file mode 100644 index 42eb75fe4b..0000000000 --- a/.changeset/three-pandas-push.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-styles': patch ---- - -Fixed form validation feedback color and indicators in high contrast mode. diff --git a/.changeset/tiny-hornets-pretend.md b/.changeset/tiny-hornets-pretend.md deleted file mode 100644 index 07f6528aff..0000000000 --- a/.changeset/tiny-hornets-pretend.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-documentation': minor ---- - -Added migration guide for updating the @swisspost/design-system-styles from v.6 to v7. diff --git a/.changeset/two-shrimps-argue.md b/.changeset/two-shrimps-argue.md deleted file mode 100644 index 46c20b0b0e..0000000000 --- a/.changeset/two-shrimps-argue.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@swisspost/design-system-documentation': minor -'@swisspost/design-system-components': minor ---- - -Added the new default slot, to allow the integration of custom HTML in the card-control component. diff --git a/.changeset/witty-beans-dream.md b/.changeset/witty-beans-dream.md deleted file mode 100644 index 5c7955d9d5..0000000000 --- a/.changeset/witty-beans-dream.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-documentation': patch ---- - -Fixed table span on Safari for the Introduction page. diff --git a/.changeset/yellow-pigs-double.md b/.changeset/yellow-pigs-double.md deleted file mode 100644 index 5f679d01c7..0000000000 --- a/.changeset/yellow-pigs-double.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/internet-header': patch ---- - -Hide the main navigation custom content when empty. diff --git a/packages/components-angular/CHANGELOG.md b/packages/components-angular/CHANGELOG.md index 8db3d6ee4c..76875a224a 100644 --- a/packages/components-angular/CHANGELOG.md +++ b/packages/components-angular/CHANGELOG.md @@ -1,5 +1,18 @@ # @swisspost/design-system-components-angular-workspace +## 1.1.0 + +### Minor Changes + +- Added a new web-component `post-card-control`, which works like a native `input[type="checkbox"]` or `input[type="radio"]` but with a custom visual design. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#2260](https://github.com/swisspost/design-system/pull/2260)) + +### Patch Changes + +- Updated Angular to version 17. (by [@alizedebray](https://github.com/alizedebray) with [#2760](https://github.com/swisspost/design-system/pull/2760)) +- Updated dependencies: + - @swisspost/design-system-styles@7.0.0 + - @swisspost/design-system-components@7.0.0 + ## 1.0.4 ### Patch Changes diff --git a/packages/components-angular/package.json b/packages/components-angular/package.json index 2fb4498c7e..8ea33f37c6 100644 --- a/packages/components-angular/package.json +++ b/packages/components-angular/package.json @@ -1,6 +1,6 @@ { "name": "@swisspost/design-system-components-angular-workspace", - "version": "1.0.4", + "version": "1.1.0", "scripts": { "start": "ng serve --port 9210", "build": "ng build components", @@ -18,8 +18,8 @@ "@angular/platform-browser": "17.3.3", "@angular/platform-browser-dynamic": "17.3.3", "@angular/router": "17.3.3", - "@swisspost/design-system-components": "workspace:2.1.0", - "@swisspost/design-system-styles": "workspace:6.6.4", + "@swisspost/design-system-components": "workspace:7.0.0", + "@swisspost/design-system-styles": "workspace:7.0.0", "rxjs": "7.8.1", "tslib": "2.6.2", "zone.js": "0.14.4" diff --git a/packages/components-angular/projects/components/CHANGELOG.md b/packages/components-angular/projects/components/CHANGELOG.md index 670fc54673..9cbad6256a 100644 --- a/packages/components-angular/projects/components/CHANGELOG.md +++ b/packages/components-angular/projects/components/CHANGELOG.md @@ -1,5 +1,28 @@ # @swisspost/design-system-components-angular +## 7.0.0 + +### Major Changes + +- Synchronized the versions of the following packages: + + - @swisspost/design-system-styles + - @swisspost/design-system-components + - @swisspost/design-system-components-react + - @swisspost/design-system-components-angular + - @swisspost/design-system-migrations + - @swisspost/design-system-icons + - @swisspost/design-system-intranet-header + + 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](https://github.com/gfellerph) with [#2856](https://github.com/swisspost/design-system/pull/2856)) + +- Added support for Angular 17. (by [@alizedebray](https://github.com/alizedebray) with [#2760](https://github.com/swisspost/design-system/pull/2760)) + +### Patch Changes + +- Updated dependencies: + - @swisspost/design-system-components@7.0.0 + ## 2.0.0 ### Patch Changes diff --git a/packages/components-angular/projects/components/package.json b/packages/components-angular/projects/components/package.json index 9f90dc1e32..9b8dae38e3 100644 --- a/packages/components-angular/projects/components/package.json +++ b/packages/components-angular/projects/components/package.json @@ -1,6 +1,6 @@ { "name": "@swisspost/design-system-components-angular", - "version": "2.0.0", + "version": "7.0.0", "description": "Swiss Post Design System - Angular Wrapper Components", "author": "Swiss Post ", "license": "Apache-2.0", @@ -23,7 +23,7 @@ "peerDependencies": { "@angular/common": "^16.0.0 || ^17.0.0", "@angular/core": "^16.0.0 || ^17.0.0", - "@swisspost/design-system-components": "workspace:2.1.0" + "@swisspost/design-system-components": "workspace:7.0.0" }, "sideEffects": false } diff --git a/packages/components-react/CHANGELOG.md b/packages/components-react/CHANGELOG.md index d5a3759e44..0a1c2bc0ab 100644 --- a/packages/components-react/CHANGELOG.md +++ b/packages/components-react/CHANGELOG.md @@ -1,5 +1,26 @@ # @swisspost/design-system-components-react +## 7.0.0 + +### Major Changes + +- Synchronized the versions of the following packages: + + - @swisspost/design-system-styles + - @swisspost/design-system-components + - @swisspost/design-system-components-react + - @swisspost/design-system-components-angular + - @swisspost/design-system-migrations + - @swisspost/design-system-icons + - @swisspost/design-system-intranet-header + + 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](https://github.com/gfellerph) with [#2856](https://github.com/swisspost/design-system/pull/2856)) + +### Patch Changes + +- Updated dependencies: + - @swisspost/design-system-components@7.0.0 + ## 1.0.30 ### Patch Changes diff --git a/packages/components-react/package.json b/packages/components-react/package.json index f0f0d932bc..bfca1fae73 100644 --- a/packages/components-react/package.json +++ b/packages/components-react/package.json @@ -1,6 +1,6 @@ { "name": "@swisspost/design-system-components-react", - "version": "1.0.30", + "version": "7.0.0", "license": "Apache-2.0", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -19,7 +19,7 @@ "tsc": "tsc -p ." }, "dependencies": { - "@swisspost/design-system-components": "workspace:2.1.0" + "@swisspost/design-system-components": "workspace:7.0.0" }, "devDependencies": { "@types/node": "18.19.28", diff --git a/packages/components/CHANGELOG.md b/packages/components/CHANGELOG.md index 850f7aab28..2415fe030b 100644 --- a/packages/components/CHANGELOG.md +++ b/packages/components/CHANGELOG.md @@ -1,5 +1,66 @@ # @swisspost/design-system-components +## 7.0.0 + +### Major Changes + +- Synchronized the versions of the following packages: + + - @swisspost/design-system-styles + - @swisspost/design-system-components + - @swisspost/design-system-components-react + - @swisspost/design-system-components-angular + - @swisspost/design-system-migrations + - @swisspost/design-system-icons + - @swisspost/design-system-intranet-header + + 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](https://github.com/gfellerph) with [#2856](https://github.com/swisspost/design-system/pull/2856)) + +- Updated the package entry properties in the package.json to the by stencil recommended files: + + - Updated the `main` property from `loader/index.cjs.js` to `dist/index.cjs.js` + - Updated the `module` property from `loader/index.js` to `dist/loader.js` + - Updated the `types` property from `loader/index.d.ts` to `dist/types/index.d.ts` + - Removed the `es2017` property + + The 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](https://github.com/oliverschuerch) with [#2886](https://github.com/swisspost/design-system/pull/2886)) + +- Prefixed all web-component custom-events with the keyword `post`. + - Changed `post-alert` component `dismissed` event to `postDismissed`. + - Changed `post-card-control` component `input` and `change` events to `postInput` and `postChange`. + - Changed `post-collapsible` component `collapseChange` event to `postToggle`. + - Changed `post-rating` component `input` and `change` events to `postInput` and `postChange`. + - Changed `post-tabs` component `tabChange` event to `postChange`. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#2874](https://github.com/swisspost/design-system/pull/2874)) + +### Minor Changes + +- Added a new `tag` component. This component is available in standard HTML or as webcomponent. (by [@b1aserlu](https://github.com/b1aserlu) with [#2552](https://github.com/swisspost/design-system/pull/2552)) + +- Added a new web-component `post-card-control`, which works like a native `input[type="checkbox"]` or `input[type="radio"]` but with a custom visual design. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#2260](https://github.com/swisspost/design-system/pull/2260)) + +- Added the new default slot, to allow the integration of custom HTML in the card-control component. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#2844](https://github.com/swisspost/design-system/pull/2844)) + +### Patch Changes + +- Fixed accessibility of aria controls through post-tabs components. (by [@imagoiq](https://github.com/imagoiq) with [#2777](https://github.com/swisspost/design-system/pull/2777)) + +- Fixed post-tooltip that doesn't show up when the pointer is on a child element (like an icon). (by [@imagoiq](https://github.com/imagoiq) with [#2814](https://github.com/swisspost/design-system/pull/2814)) + +- Fixed Collapsible and Accordion element's content which is displayed when hidden on Webkit/Safari. (by [@imagoiq](https://github.com/imagoiq) with [#2963](https://github.com/swisspost/design-system/pull/2963)) + +- Added new black and white alpha colors. Replaced hardcoded alpha colors with the new color definitions in `card-control` component. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#2861](https://github.com/swisspost/design-system/pull/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`. + + - Updated the Sass map `$signal-colors` keys and added a new Sass map `$signal-background-colors`. + - Updated the Sass map `$background-colors` and all the dependant packages accordingly. + + With the exception of the components `notification`, `toast` and `tag`, there is no component providing a `danger` variant anymore. Instead use the `error` variant. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#2861](https://github.com/swisspost/design-system/pull/2861)) + +- Updated dependencies: + - @swisspost/design-system-styles@7.0.0 + ## 2.1.0 ### Minor Changes diff --git a/packages/components/package.json b/packages/components/package.json index 0ae98f9f3d..c1dff56df9 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@swisspost/design-system-components", - "version": "2.1.0", + "version": "7.0.0", "description": "A collection of web components built with Stencil JS for the Swiss Post Design System.", "license": "Apache-2.0", "main": "dist/index.cjs.js", @@ -39,7 +39,7 @@ "dependencies": { "@floating-ui/dom": "1.6.3", "@oddbird/popover-polyfill": "0.3.7", - "@swisspost/design-system-styles": "workspace:6.6.4", + "@swisspost/design-system-styles": "workspace:7.0.0", "ally.js": "1.4.1", "long-press-event": "2.4.6" }, diff --git a/packages/demo/CHANGELOG.md b/packages/demo/CHANGELOG.md index ee87c1b2f4..ffa7ea660f 100644 --- a/packages/demo/CHANGELOG.md +++ b/packages/demo/CHANGELOG.md @@ -1,5 +1,36 @@ # @swisspost/design-system-demo +## 7.3.0 + +### Minor Changes + +- Changed mobile navigation trigger to make it more accessible by default using a button element. (by [@imagoiq](https://github.com/imagoiq) with [#2834](https://github.com/swisspost/design-system/pull/2834)) + +### Patch Changes + +- Updated instructions to run the automated migrations from the migration package. (by [@alizedebray](https://github.com/alizedebray) with [#2783](https://github.com/swisspost/design-system/pull/2783)) + +- Fixed display of version switcher with new versions.json file. (by [@imagoiq](https://github.com/imagoiq) with [#2838](https://github.com/swisspost/design-system/pull/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](https://github.com/oliverschuerch) with [#2861](https://github.com/swisspost/design-system/pull/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](https://github.com/gfellerph) with [#2802](https://github.com/swisspost/design-system/pull/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`. + + - Updated the Sass map `$signal-colors` keys and added a new Sass map `$signal-background-colors`. + - Updated the Sass map `$background-colors` and all the dependant packages accordingly. + + With the exception of the components `notification`, `toast` and `tag`, there is no component providing a `danger` variant anymore. Instead use the `error` variant. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#2861](https://github.com/swisspost/design-system/pull/2861)) + +- Updated Angular to version 17. (by [@alizedebray](https://github.com/alizedebray) with [#2760](https://github.com/swisspost/design-system/pull/2760)) +- Updated dependencies: + - @swisspost/design-system-styles@7.0.0 + - @swisspost/design-system-migrations@7.0.0 + - @swisspost/design-system-intranet-header@7.0.0 + ## 7.2.4 ### Patch Changes diff --git a/packages/demo/package.json b/packages/demo/package.json index a2fb7b8022..b15e6ee508 100644 --- a/packages/demo/package.json +++ b/packages/demo/package.json @@ -1,6 +1,6 @@ { "name": "@swisspost/design-system-demo", - "version": "7.2.4", + "version": "7.3.0", "description": "Pattern documentation, code snippets and implementation guidelines for the Design System Styles.", "author": "Swiss Post ", "license": "Apache-2.0", @@ -25,9 +25,9 @@ "@ng-bootstrap/ng-bootstrap": "16.0.0", "@popperjs/core": "2.11.8", "@swimlane/ngx-datatable": "20.1.0", - "@swisspost/design-system-intranet-header": "workspace:5.0.11", - "@swisspost/design-system-migrations": "workspace:1.0.2", - "@swisspost/design-system-styles": "workspace:6.6.4", + "@swisspost/design-system-intranet-header": "workspace:7.0.0", + "@swisspost/design-system-migrations": "workspace:7.0.0", + "@swisspost/design-system-styles": "workspace:7.0.0", "bootstrap": "5.3.2", "core-js": "3.36.1", "highlight.js": "11.9.0", diff --git a/packages/documentation/CHANGELOG.md b/packages/documentation/CHANGELOG.md index 351bb2969c..a65d154cd3 100644 --- a/packages/documentation/CHANGELOG.md +++ b/packages/documentation/CHANGELOG.md @@ -1,5 +1,83 @@ # @swisspost/design-system-documentation +## 5.0.0 + +### Major Changes + +- Renamed badge into "chip" and improved related examples. (by [@alizedebray](https://github.com/alizedebray) with [#2855](https://github.com/swisspost/design-system/pull/2855)) + +### Minor Changes + +- Added changelogs for all packages. (by [@alizedebray](https://github.com/alizedebray) with [#2877](https://github.com/swisspost/design-system/pull/2877)) + +- Added new black and white alpha colors. Replaced hardcoded alpha colors with the new color definitions in `card-control` component. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#2861](https://github.com/swisspost/design-system/pull/2861)) + +- Changed mobile navigation trigger to make it more accessible by default using a button element. (by [@imagoiq](https://github.com/imagoiq) with [#2834](https://github.com/swisspost/design-system/pull/2834)) + +- Added a new `tag` component. This component is available in standard HTML or as webcomponent. (by [@b1aserlu](https://github.com/b1aserlu) with [#2552](https://github.com/swisspost/design-system/pull/2552)) + +- Added a new web-component `post-card-control`, which works like a native `input[type="checkbox"]` or `input[type="radio"]` but with a custom visual design. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#2260](https://github.com/swisspost/design-system/pull/2260)) + +- Added new focus color variables. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#2861](https://github.com/swisspost/design-system/pull/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](https://github.com/gfellerph) with [#2676](https://github.com/swisspost/design-system/pull/2676)) + +- Added migration guide for updating the @swisspost/design-system-styles from v.6 to v7. (by [@alizedebray](https://github.com/alizedebray) with [#2877](https://github.com/swisspost/design-system/pull/2877)) + +- Added the new default slot, to allow the integration of custom HTML in the card-control component. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#2844](https://github.com/swisspost/design-system/pull/2844)) + +### Patch Changes + +- Updated instructions to run the automated migrations from the migration package. (by [@alizedebray](https://github.com/alizedebray) with [#2783](https://github.com/swisspost/design-system/pull/2783)) + +- Moved the style package changelog and migration guide to the "Getting Started" section of the documentation. (by [@alizedebray](https://github.com/alizedebray) with [#2877](https://github.com/swisspost/design-system/pull/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](https://github.com/alizedebray) with [#2860](https://github.com/swisspost/design-system/pull/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](https://github.com/oliverschuerch) with [#2861](https://github.com/swisspost/design-system/pull/2861)) + +- Fixed missing LinkTo element on post-rating docs page and removed all remaining LinkTo elements. (by [@imagoiq](https://github.com/imagoiq) with [#2962](https://github.com/swisspost/design-system/pull/2962)) + +- Merged toast live region section with accessibility page. (by [@imagoiq](https://github.com/imagoiq) with [#2731](https://github.com/swisspost/design-system/pull/2731)) + +- Prefixed all web-component custom-events with the keyword `post`. + + - Changed `post-alert` component `dismissed` event to `postDismissed`. + - Changed `post-card-control` component `input` and `change` events to `postInput` and `postChange`. + - Changed `post-collapsible` component `collapseChange` event to `postToggle`. + - Changed `post-rating` component `input` and `change` events to `postInput` and `postChange`. + - Changed `post-tabs` component `tabChange` event to `postChange`. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#2874](https://github.com/swisspost/design-system/pull/2874)) + +- Added link to figma for all components. (by [@imagoiq](https://github.com/imagoiq) with [#2875](https://github.com/swisspost/design-system/pull/2875)) + +- Reworked the getting-started section to better understand the different packages and add more info about Angular. (by [@imagoiq](https://github.com/imagoiq) with [#2722](https://github.com/swisspost/design-system/pull/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](https://github.com/gfellerph) with [#2802](https://github.com/swisspost/design-system/pull/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`. + + - Updated the Sass map `$signal-colors` keys and added a new Sass map `$signal-background-colors`. + - Updated the Sass map `$background-colors` and all the dependant packages accordingly. + + With the exception of the components `notification`, `toast` and `tag`, there is no component providing a `danger` variant anymore. Instead use the `error` variant. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#2861](https://github.com/swisspost/design-system/pull/2861)) + +- Renamed input range to slider. (by [@imagoiq](https://github.com/imagoiq) with [#2792](https://github.com/swisspost/design-system/pull/2792)) + +- Fixed table span on Safari for the Introduction page. (by [@imagoiq](https://github.com/imagoiq) with [#2964](https://github.com/swisspost/design-system/pull/2964)) +- Updated dependencies: + - @swisspost/design-system-icons@7.0.0 + - @swisspost/design-system-styles@7.0.0 + - @swisspost/design-system-components@7.0.0 + - @swisspost/internet-header@1.13.9 + - @swisspost/design-system-components-angular@7.0.0 + - @swisspost/design-system-components-react@7.0.0 + - @swisspost/design-system-intranet-header@7.0.0 + ## 4.0.0 ### Patch Changes diff --git a/packages/documentation/package.json b/packages/documentation/package.json index 2f494978df..f058739a3c 100644 --- a/packages/documentation/package.json +++ b/packages/documentation/package.json @@ -1,6 +1,6 @@ { "name": "@swisspost/design-system-documentation", - "version": "4.0.0", + "version": "5.0.0", "description": "Swiss Post Design System Documentation.", "author": "Swiss Post ", "license": "Apache-2.0", @@ -26,11 +26,11 @@ "snapshots": "percy exec -- cypress run --config-file ./cypress.snapshot.config.js --record --key 0995e768-43ec-42bd-a127-ff944a2ad8c9" }, "dependencies": { - "@swisspost/design-system-components": "workspace:2.1.0", - "@swisspost/design-system-components-react": "workspace:1.0.30", - "@swisspost/design-system-icons": "workspace:1.4.0", - "@swisspost/design-system-styles": "workspace:6.6.4", - "@swisspost/internet-header": "workspace:1.13.8", + "@swisspost/design-system-components": "workspace:7.0.0", + "@swisspost/design-system-components-react": "workspace:7.0.0", + "@swisspost/design-system-icons": "workspace:7.0.0", + "@swisspost/design-system-styles": "workspace:7.0.0", + "@swisspost/internet-header": "workspace:1.13.9", "bootstrap": "5.3.2" }, "devDependencies": { @@ -75,8 +75,8 @@ "typescript": "5.3.3" }, "peerDependencies": { - "@swisspost/design-system-components-angular": "workspace:2.0.0", - "@swisspost/design-system-intranet-header": "workspace:5.0.11" + "@swisspost/design-system-components-angular": "workspace:7.0.0", + "@swisspost/design-system-intranet-header": "workspace:7.0.0" }, "peerDependenciesMeta": { "@swisspost/design-system-components-angular": { diff --git a/packages/icons/CHANGELOG.md b/packages/icons/CHANGELOG.md index 85cc12c5f4..58f21e346d 100644 --- a/packages/icons/CHANGELOG.md +++ b/packages/icons/CHANGELOG.md @@ -1,5 +1,25 @@ # @swisspost/design-system-icons +## 7.0.0 + +### Major Changes + +- Synchronized the versions of the following packages: + + - @swisspost/design-system-styles + - @swisspost/design-system-components + - @swisspost/design-system-components-react + - @swisspost/design-system-components-angular + - @swisspost/design-system-migrations + - @swisspost/design-system-icons + - @swisspost/design-system-intranet-header + + 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](https://github.com/gfellerph) with [#2856](https://github.com/swisspost/design-system/pull/2856)) + +### Minor Changes + +- Added icons number 2579, 2580, 2581, 2582, 2583 and 2584. (by [@swisspost-bot](https://github.com/swisspost-bot) with [#2773](https://github.com/swisspost/design-system/pull/2773)) + ## 1.4.0 ### Minor Changes diff --git a/packages/icons/package.json b/packages/icons/package.json index d16e6cbfc9..f76edab29c 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -1,6 +1,6 @@ { "name": "@swisspost/design-system-icons", - "version": "1.4.0", + "version": "7.0.0", "description": "A collection of Swiss Post icons intended for use with the Design System.", "author": "Swiss Post ", "license": "Apache-2.0", diff --git a/packages/internet-header/CHANGELOG.md b/packages/internet-header/CHANGELOG.md index d93b863484..8bb3834789 100644 --- a/packages/internet-header/CHANGELOG.md +++ b/packages/internet-header/CHANGELOG.md @@ -1,5 +1,24 @@ # @swisspost/internet-header +## 1.13.9 + +### 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](https://github.com/oliverschuerch) with [#2861](https://github.com/swisspost/design-system/pull/2861)) + +- Fixed logo not scaled properly for header with no meta navigation. (by [@alizedebray](https://github.com/alizedebray) with [#2787](https://github.com/swisspost/design-system/pull/2787)) + +- Sanitized hours fields in footer against XSS "Incomplete multi-character sanitization" issue. (by [@imagoiq](https://github.com/imagoiq) with [#2807](https://github.com/swisspost/design-system/pull/2807)) + +- Replaced `system-ui` fallback font with a list of fallbacks to avoid rendering issues with specific writing system (chinese, arabic…). (by [@imagoiq](https://github.com/imagoiq) with [#2735](https://github.com/swisspost/design-system/pull/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](https://github.com/gfellerph) with [#2793](https://github.com/swisspost/design-system/pull/2793)) + +- Hide the main navigation custom content when empty. (by [@alizedebray](https://github.com/alizedebray) with [#2786](https://github.com/swisspost/design-system/pull/2786)) +- Updated dependencies: + - @swisspost/design-system-styles@7.0.0 + ## 1.13.8 ### Patch Changes diff --git a/packages/internet-header/package.json b/packages/internet-header/package.json index 91900777b2..4ae60b29ac 100644 --- a/packages/internet-header/package.json +++ b/packages/internet-header/package.json @@ -1,6 +1,6 @@ { "name": "@swisspost/internet-header", - "version": "1.13.8", + "version": "1.13.9", "description": "The header for client facing applications.", "author": "Swiss Post ", "license": "Apache-2.0", @@ -42,7 +42,7 @@ "generate": "stencil generate" }, "dependencies": { - "@swisspost/design-system-styles": "workspace:6.6.4", + "@swisspost/design-system-styles": "workspace:7.0.0", "body-scroll-lock": "4.0.0-beta.0", "iframe-resizer": "4.3.9", "jquery": "3.7.1", diff --git a/packages/intranet-header-workspace/CHANGELOG.md b/packages/intranet-header-workspace/CHANGELOG.md index 87d9092594..cc647c8132 100644 --- a/packages/intranet-header-workspace/CHANGELOG.md +++ b/packages/intranet-header-workspace/CHANGELOG.md @@ -1,5 +1,14 @@ # @swisspost/design-system-intranet-header-workspace +## 3.0.12 + +### Patch Changes + +- Updated Angular to version 17. (by [@alizedebray](https://github.com/alizedebray) with [#2760](https://github.com/swisspost/design-system/pull/2760)) +- Updated dependencies: + - @swisspost/design-system-styles@7.0.0 + - @swisspost/design-system-intranet-header@7.0.0 + ## 3.0.11 ### Patch Changes diff --git a/packages/intranet-header-workspace/package.json b/packages/intranet-header-workspace/package.json index c0effbd9f7..1a27188aa2 100644 --- a/packages/intranet-header-workspace/package.json +++ b/packages/intranet-header-workspace/package.json @@ -1,6 +1,6 @@ { "name": "@swisspost/design-system-intranet-header-workspace", - "version": "3.0.11", + "version": "3.0.12", "license": "Apache-2.0", "private": true, "scripts": { @@ -21,8 +21,8 @@ "@angular/router": "17.3.3", "@ng-bootstrap/ng-bootstrap": "16.0.0", "@popperjs/core": "2.11.8", - "@swisspost/design-system-intranet-header": "workspace:5.0.11", - "@swisspost/design-system-styles": "workspace:6.6.4", + "@swisspost/design-system-intranet-header": "workspace:7.0.0", + "@swisspost/design-system-styles": "workspace:7.0.0", "rxjs": "7.8.1", "tslib": "2.6.2", "watch": "1.0.2", diff --git a/packages/intranet-header-workspace/projects/intranet-header/CHANGELOG.md b/packages/intranet-header-workspace/projects/intranet-header/CHANGELOG.md index c8ee6abdcc..9956a18d0f 100644 --- a/packages/intranet-header-workspace/projects/intranet-header/CHANGELOG.md +++ b/packages/intranet-header-workspace/projects/intranet-header/CHANGELOG.md @@ -1,5 +1,30 @@ # @swisspost/design-system-intranet-header +## 7.0.0 + +### Major Changes + +- Synchronized the versions of the following packages: + + - @swisspost/design-system-styles + - @swisspost/design-system-components + - @swisspost/design-system-components-react + - @swisspost/design-system-components-angular + - @swisspost/design-system-migrations + - @swisspost/design-system-icons + - @swisspost/design-system-intranet-header + + 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](https://github.com/gfellerph) with [#2856](https://github.com/swisspost/design-system/pull/2856)) + +### Minor Changes + +- Changed mobile navigation trigger to make it more accessible by default using a button element. (by [@imagoiq](https://github.com/imagoiq) with [#2834](https://github.com/swisspost/design-system/pull/2834)) + +### Patch Changes + +- Updated dependencies: + - @swisspost/design-system-styles@7.0.0 + ## 5.0.11 ### Patch Changes diff --git a/packages/intranet-header-workspace/projects/intranet-header/package.json b/packages/intranet-header-workspace/projects/intranet-header/package.json index 422ad6d754..6ef2aa8cb5 100644 --- a/packages/intranet-header-workspace/projects/intranet-header/package.json +++ b/packages/intranet-header-workspace/projects/intranet-header/package.json @@ -1,6 +1,6 @@ { "name": "@swisspost/design-system-intranet-header", - "version": "5.0.11", + "version": "7.0.0", "description": "Intranet header for internal Swiss Post applications as an Angular component.", "author": "Swiss Post ", "license": "Apache-2.0", @@ -18,10 +18,10 @@ "linkDirectory": true }, "dependencies": { - "@swisspost/design-system-styles": "workspace:6.6.4", + "@swisspost/design-system-styles": "workspace:7.0.0", "tslib": "2.6.2" }, "devDependencies": { - "@swisspost/design-system-intranet-header-workspace": "workspace:3.0.11" + "@swisspost/design-system-intranet-header-workspace": "workspace:3.0.12" } } diff --git a/packages/migrations/CHANGELOG.md b/packages/migrations/CHANGELOG.md index 7c0866fc43..09463e3c9a 100644 --- a/packages/migrations/CHANGELOG.md +++ b/packages/migrations/CHANGELOG.md @@ -1,5 +1,29 @@ # @swisspost/design-system-migrations +## 7.0.0 + +### Major Changes + +- Synchronized the versions of the following packages: + + - @swisspost/design-system-styles + - @swisspost/design-system-components + - @swisspost/design-system-components-react + - @swisspost/design-system-components-angular + - @swisspost/design-system-migrations + - @swisspost/design-system-icons + - @swisspost/design-system-intranet-header + + 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](https://github.com/gfellerph) with [#2856](https://github.com/swisspost/design-system/pull/2856)) + +### Minor Changes + +- Added migrations to turn badges into chips. (by [@alizedebray](https://github.com/alizedebray) with [#2855](https://github.com/swisspost/design-system/pull/2855)) + +### Patch Changes + +- Updated instructions to run the automated migrations from the migration package. (by [@alizedebray](https://github.com/alizedebray) with [#2783](https://github.com/swisspost/design-system/pull/2783)) + ## 1.0.2 ### Patch Changes diff --git a/packages/migrations/package.json b/packages/migrations/package.json index e986b6632a..71f6e1bc31 100644 --- a/packages/migrations/package.json +++ b/packages/migrations/package.json @@ -1,6 +1,6 @@ { "name": "@swisspost/design-system-migrations", - "version": "1.0.2", + "version": "7.0.0", "description": "Scripts to migrate an Angular application from one Design System version to another.", "author": "Swiss Post ", "license": "Apache-2.0", diff --git a/packages/nextjs-integration/CHANGELOG.md b/packages/nextjs-integration/CHANGELOG.md index 00f86d2191..6ab93b7c8a 100644 --- a/packages/nextjs-integration/CHANGELOG.md +++ b/packages/nextjs-integration/CHANGELOG.md @@ -1,5 +1,14 @@ # @swisspost/design-system-nextjs-integration +## 0.1.4 + +### Patch Changes + +- Updated dependencies: + - @swisspost/design-system-styles@7.0.0 + - @swisspost/internet-header@1.13.9 + - @swisspost/design-system-components-react@7.0.0 + ## 0.1.3 ### Patch Changes diff --git a/packages/nextjs-integration/package.json b/packages/nextjs-integration/package.json index ae20d83570..89bf1e4286 100644 --- a/packages/nextjs-integration/package.json +++ b/packages/nextjs-integration/package.json @@ -1,6 +1,6 @@ { "name": "@swisspost/design-system-nextjs-integration", - "version": "0.1.3", + "version": "0.1.4", "private": true, "scripts": { "dev": "next dev", @@ -9,9 +9,9 @@ "lint": "next lint" }, "dependencies": { - "@swisspost/design-system-components-react": "workspace:1.0.30", - "@swisspost/design-system-styles": "workspace:6.6.4", - "@swisspost/internet-header": "workspace:1.13.8", + "@swisspost/design-system-components-react": "workspace:7.0.0", + "@swisspost/design-system-styles": "workspace:7.0.0", + "@swisspost/internet-header": "workspace:1.13.9", "next": "14.1.4", "react": "^18", "react-dom": "^18" diff --git a/packages/styles/CHANGELOG.md b/packages/styles/CHANGELOG.md index f1b959e2aa..0a7ad20e2f 100644 --- a/packages/styles/CHANGELOG.md +++ b/packages/styles/CHANGELOG.md @@ -1,5 +1,89 @@ # @swisspost/design-system-styles +## 7.0.0 + +### 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](https://github.com/alizedebray) with [#2860](https://github.com/swisspost/design-system/pull/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](https://github.com/oliverschuerch) with [#2861](https://github.com/swisspost/design-system/pull/2861)) + +- Synchronized the versions of the following packages: + + - @swisspost/design-system-styles + - @swisspost/design-system-components + - @swisspost/design-system-components-react + - @swisspost/design-system-components-angular + - @swisspost/design-system-migrations + - @swisspost/design-system-icons + - @swisspost/design-system-intranet-header + + 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](https://github.com/gfellerph) with [#2856](https://github.com/swisspost/design-system/pull/2856)) + +- Added support for Angular 17 and ng-bootstrap 16. (by [@alizedebray](https://github.com/alizedebray) with [#2760](https://github.com/swisspost/design-system/pull/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`. + + - Updated the Sass map `$signal-colors` keys and added a new Sass map `$signal-background-colors`. + - Updated the Sass map `$background-colors` and all the dependant packages accordingly. + + With the exception of the components `notification`, `toast` and `tag`, there is no component providing a `danger` variant anymore. Instead use the `error` variant. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#2861](https://github.com/swisspost/design-system/pull/2861)) + +- Renamed the badge into "chip", added a disable state and updated its styles. (by [@alizedebray](https://github.com/alizedebray) with [#2855](https://github.com/swisspost/design-system/pull/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](https://github.com/oliverschuerch) with [#2861](https://github.com/swisspost/design-system/pull/2861)) + +- Changed mobile navigation trigger to make it more accessible by default using a button element. (by [@imagoiq](https://github.com/imagoiq) with [#2834](https://github.com/swisspost/design-system/pull/2834)) + +- Added a new `tag` component. This component is available in standard HTML or as webcomponent. (by [@b1aserlu](https://github.com/b1aserlu) with [#2552](https://github.com/swisspost/design-system/pull/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](https://github.com/imagoiq) with [#2774](https://github.com/swisspost/design-system/pull/2774)) + +- Added new focus color variables. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#2861](https://github.com/swisspost/design-system/pull/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](https://github.com/gfellerph) with [#2676](https://github.com/swisspost/design-system/pull/2676)) + +### Patch Changes + +- Adjusted focus styles with new color for button, checkbox, radio, switch, rating elements. (by [@imagoiq](https://github.com/imagoiq) with [#2780](https://github.com/swisspost/design-system/pull/2780)) + +- Updated size of radio button to match design. (by [@imagoiq](https://github.com/imagoiq) with [#2737](https://github.com/swisspost/design-system/pull/2737)) + +- Fixed the `.form-check-input` background-color, by setting it to white on none or light backgrounds. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#2260](https://github.com/swisspost/design-system/pull/2260)) + +- Added a workaround to display progress bar on input range and on webkit browsers without JavaScript. (by [@imagoiq](https://github.com/imagoiq) with [#2781](https://github.com/swisspost/design-system/pull/2781)) + +- Fixed color and border-color on hover for checkbox and radio form element. (by [@imagoiq](https://github.com/imagoiq) with [#2961](https://github.com/swisspost/design-system/pull/2961)) + +- Added new disabled styles for radio and checkbox, fixed color contrast on this state and fixed cursor style. (by [@imagoiq](https://github.com/imagoiq) with [#2813](https://github.com/swisspost/design-system/pull/2813)) + +- Fixed layout on post-alert with medium (md) breakpoint. (by [@imagoiq](https://github.com/imagoiq) with [#2775](https://github.com/swisspost/design-system/pull/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](https://github.com/oliverschuerch) with [#2965](https://github.com/swisspost/design-system/pull/2965)) + +- Replaced `system-ui` fallback font with a list of fallbacks to avoid rendering issues with specific writing system (chinese, arabic…). (by [@imagoiq](https://github.com/imagoiq) with [#2735](https://github.com/swisspost/design-system/pull/2735)) + +- Fixed active button color-contrast on dark background (by [@imagoiq](https://github.com/imagoiq) with [#2823](https://github.com/swisspost/design-system/pull/2823)) + +- Replace all parts that used the old success color with the new success-green color. (by [@imagoiq](https://github.com/imagoiq) with [#2808](https://github.com/swisspost/design-system/pull/2808)) + +- Fixed usage of background color on checkbox which make the checkmark invisible on dark background. (by [@imagoiq](https://github.com/imagoiq) with [#2953](https://github.com/swisspost/design-system/pull/2953)) + +- Made styling more coherent for forms elements with High contrast mode and focus/hover state. (by [@imagoiq](https://github.com/imagoiq) with [#2774](https://github.com/swisspost/design-system/pull/2774)) + +- Refactored the new focus style to only be visible when using keyboard for form elements. (by [@imagoiq](https://github.com/imagoiq) with [#2810](https://github.com/swisspost/design-system/pull/2810)) + +- Fixed color contrast of alert component on success background color. (by [@imagoiq](https://github.com/imagoiq) with [#2845](https://github.com/swisspost/design-system/pull/2845)) + +- Fixed form validation feedback color and indicators in high contrast mode. (by [@imagoiq](https://github.com/imagoiq) with [#2766](https://github.com/swisspost/design-system/pull/2766)) + ## 6.6.4 ### Patch Changes diff --git a/packages/styles/package.json b/packages/styles/package.json index 0cd4df6249..8959896681 100644 --- a/packages/styles/package.json +++ b/packages/styles/package.json @@ -1,6 +1,6 @@ { "name": "@swisspost/design-system-styles", - "version": "6.6.4", + "version": "7.0.0", "description": "Design System Styles for the Swiss Post web platform.", "author": "Swiss Post ", "license": "Apache-2.0", @@ -43,7 +43,7 @@ "bootstrap": "5.3.2" }, "devDependencies": { - "@swisspost/design-system-icons": "workspace:1.4.0", + "@swisspost/design-system-icons": "workspace:7.0.0", "@types/node": "18.19.28", "autoprefixer": "10.4.19", "copyfiles": "2.4.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 04350f057a..92404dd94e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -56,7 +56,7 @@ importers: specifier: 0.3.7 version: 0.3.7 '@swisspost/design-system-styles': - specifier: workspace:6.6.4 + specifier: workspace:7.0.0 version: link:../styles/dist ally.js: specifier: 1.4.1 @@ -159,10 +159,10 @@ importers: specifier: 17.3.3 version: 17.3.3(@angular/common@17.3.3)(@angular/core@17.3.3)(@angular/platform-browser@17.3.3)(rxjs@7.8.1) '@swisspost/design-system-components': - specifier: workspace:2.1.0 + specifier: workspace:7.0.0 version: link:../components '@swisspost/design-system-styles': - specifier: workspace:6.6.4 + specifier: workspace:7.0.0 version: link:../styles/dist rxjs: specifier: 7.8.1 @@ -241,7 +241,7 @@ importers: specifier: ^16.0.0 || ^17.0.0 version: 17.2.3(rxjs@7.8.1)(zone.js@0.14.4) '@swisspost/design-system-components': - specifier: workspace:2.1.0 + specifier: workspace:7.0.0 version: link:../../../components tslib: specifier: 2.6.2 @@ -251,7 +251,7 @@ importers: packages/components-react: dependencies: '@swisspost/design-system-components': - specifier: workspace:2.1.0 + specifier: workspace:7.0.0 version: link:../components devDependencies: '@types/node': @@ -342,13 +342,13 @@ importers: specifier: 20.1.0 version: 20.1.0(@angular/common@17.3.3)(@angular/core@17.3.3)(@angular/platform-browser@17.3.3)(rxjs@7.8.1) '@swisspost/design-system-intranet-header': - specifier: workspace:5.0.11 + specifier: workspace:7.0.0 version: link:../intranet-header-workspace/dist/intranet-header '@swisspost/design-system-migrations': - specifier: workspace:1.0.2 + specifier: workspace:7.0.0 version: link:../migrations '@swisspost/design-system-styles': - specifier: workspace:6.6.4 + specifier: workspace:7.0.0 version: link:../styles/dist bootstrap: specifier: 5.3.2 @@ -475,25 +475,25 @@ importers: packages/documentation: dependencies: '@swisspost/design-system-components': - specifier: workspace:2.1.0 + specifier: workspace:7.0.0 version: link:../components '@swisspost/design-system-components-angular': - specifier: workspace:2.0.0 + specifier: workspace:7.0.0 version: link:../components-angular/dist/components '@swisspost/design-system-components-react': - specifier: workspace:1.0.30 + specifier: workspace:7.0.0 version: link:../components-react '@swisspost/design-system-icons': - specifier: workspace:1.4.0 + specifier: workspace:7.0.0 version: link:../icons '@swisspost/design-system-intranet-header': - specifier: workspace:5.0.11 + specifier: workspace:7.0.0 version: link:../intranet-header-workspace/dist/intranet-header '@swisspost/design-system-styles': - specifier: workspace:6.6.4 + specifier: workspace:7.0.0 version: link:../styles/dist '@swisspost/internet-header': - specifier: workspace:1.13.8 + specifier: workspace:1.13.9 version: link:../internet-header bootstrap: specifier: 5.3.2 @@ -561,7 +561,7 @@ importers: version: 7.6.17(lit@3.1.2)(react-dom@18.2.0)(react@18.2.0) '@storybook/web-components-vite': specifier: 7.6.17 - version: 7.6.17(lit@3.1.2)(react-dom@18.2.0)(react@18.2.0)(typescript@5.3.3)(vite@5.0.12) + version: 7.6.17(lit@3.1.2)(react-dom@18.2.0)(react@18.2.0)(typescript@5.3.3)(vite@5.1.5) '@types/css-modules': specifier: 1.0.5 version: 1.0.5 @@ -668,7 +668,7 @@ importers: packages/internet-header: dependencies: '@swisspost/design-system-styles': - specifier: workspace:6.6.4 + specifier: workspace:7.0.0 version: link:../styles/dist body-scroll-lock: specifier: 4.0.0-beta.0 @@ -816,10 +816,10 @@ importers: specifier: 2.11.8 version: 2.11.8 '@swisspost/design-system-intranet-header': - specifier: workspace:5.0.11 + specifier: workspace:7.0.0 version: link:dist/intranet-header '@swisspost/design-system-styles': - specifier: workspace:6.6.4 + specifier: workspace:7.0.0 version: link:../styles/dist rxjs: specifier: 7.8.1 @@ -901,14 +901,14 @@ importers: packages/intranet-header-workspace/projects/intranet-header: dependencies: '@swisspost/design-system-styles': - specifier: workspace:6.6.4 + specifier: workspace:7.0.0 version: link:../../../styles/dist tslib: specifier: 2.6.2 version: 2.6.2 devDependencies: '@swisspost/design-system-intranet-header-workspace': - specifier: workspace:3.0.11 + specifier: workspace:3.0.12 version: link:../.. publishDirectory: ../../dist/intranet-header @@ -946,13 +946,13 @@ importers: packages/nextjs-integration: dependencies: '@swisspost/design-system-components-react': - specifier: workspace:1.0.30 + specifier: workspace:7.0.0 version: link:../components-react '@swisspost/design-system-styles': - specifier: workspace:6.6.4 + specifier: workspace:7.0.0 version: link:../styles/dist '@swisspost/internet-header': - specifier: workspace:1.13.8 + specifier: workspace:1.13.9 version: link:../internet-header next: specifier: 14.1.4 @@ -1008,7 +1008,7 @@ importers: version: 5.3.2(@popperjs/core@2.11.8) devDependencies: '@swisspost/design-system-icons': - specifier: workspace:1.4.0 + specifier: workspace:7.0.0 version: link:../icons '@types/node': specifier: 18.19.28 @@ -2935,7 +2935,7 @@ packages: '@babel/helper-compilation-targets': 7.23.6 '@babel/helper-environment-visitor': 7.22.20 '@babel/helper-function-name': 7.23.0 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-plugin-utils': 7.24.0 '@babel/helper-replace-supers': 7.22.20(@babel/core@7.24.4) '@babel/helper-split-export-declaration': 7.22.6 globals: 11.12.0 @@ -7452,7 +7452,7 @@ packages: - supports-color dev: true - /@storybook/builder-vite@7.6.17(typescript@5.3.3)(vite@5.0.12): + /@storybook/builder-vite@7.6.17(typescript@5.3.3)(vite@5.1.5): resolution: {integrity: sha512-2Q32qalI401EsKKr9Hkk8TAOcHEerqwsjCpQgTNJnCu6GgCVKoVUcb99oRbR9Vyg0xh+jb19XiWqqQujFtLYlQ==} peerDependencies: '@preact/preset-vite': '*' @@ -7484,7 +7484,7 @@ packages: magic-string: 0.30.7 rollup: 3.29.4 typescript: 5.3.3 - vite: 5.0.12(sass@1.74.1) + vite: 5.1.5(@types/node@18.17.19)(less@4.2.0)(sass@1.74.1) transitivePeerDependencies: - encoding - supports-color @@ -7972,11 +7972,11 @@ packages: file-system-cache: 2.3.0 dev: true - /@storybook/web-components-vite@7.6.17(lit@3.1.2)(react-dom@18.2.0)(react@18.2.0)(typescript@5.3.3)(vite@5.0.12): + /@storybook/web-components-vite@7.6.17(lit@3.1.2)(react-dom@18.2.0)(react@18.2.0)(typescript@5.3.3)(vite@5.1.5): resolution: {integrity: sha512-luBXrRP1OS9QfB+Sw7hcP0cktqQmbF41+m2R/3C56DjBckoh8ojw0CUIpNIktkN4rS9cB/NUGHvaeZSWuDtuFw==} engines: {node: ^14.18 || >=16} dependencies: - '@storybook/builder-vite': 7.6.17(typescript@5.3.3)(vite@5.0.12) + '@storybook/builder-vite': 7.6.17(typescript@5.3.3)(vite@5.1.5) '@storybook/core-server': 7.6.17 '@storybook/node-logger': 7.6.17 '@storybook/web-components': 7.6.17(lit@3.1.2)(react-dom@18.2.0)(react@18.2.0) @@ -17139,8 +17139,6 @@ packages: peerDependenciesMeta: webpack: optional: true - webpack-sources: - optional: true dependencies: webpack: 5.90.3(esbuild@0.20.1) webpack-sources: 3.2.3 @@ -22094,7 +22092,7 @@ packages: jest-worker: 27.5.1 schema-utils: 3.3.0 serialize-javascript: 6.0.1 - terser: 5.29.1 + terser: 5.27.0 webpack: 5.90.3(esbuild@0.20.1) dev: true @@ -23317,42 +23315,6 @@ packages: replace-ext: 1.0.1 dev: true - /vite@5.0.12(sass@1.74.1): - resolution: {integrity: sha512-4hsnEkG3q0N4Tzf1+t6NdN9dg/L3BM+q8SWgbSPnJvrgH2kgdyzfVJwbR1ic69/4uMJJ/3dqDZZE5/WwqW8U1w==} - engines: {node: ^18.0.0 || >=20.0.0} - hasBin: true - peerDependencies: - '@types/node': ^18.0.0 || >=20.0.0 - less: '*' - lightningcss: ^1.21.0 - sass: '*' - stylus: '*' - sugarss: '*' - terser: ^5.4.0 - peerDependenciesMeta: - '@types/node': - optional: true - less: - optional: true - lightningcss: - optional: true - sass: - optional: true - stylus: - optional: true - sugarss: - optional: true - terser: - optional: true - dependencies: - esbuild: 0.19.12 - postcss: 8.4.38 - rollup: 4.13.0 - sass: 1.74.1 - optionalDependencies: - fsevents: 2.3.3 - dev: true - /vite@5.1.5(@types/node@18.17.19)(less@4.2.0)(sass@1.74.1): resolution: {integrity: sha512-BdN1xh0Of/oQafhU+FvopafUp6WaYenLU/NFoL5WyJL++GxkNfieKzBhM24H3HVsPQrlAqB7iJYTHabzaRed5Q==} engines: {node: ^18.0.0 || >=20.0.0}