diff --git a/.changeset/brave-beds-punch.md b/.changeset/brave-beds-punch.md deleted file mode 100644 index e7b1358ac8..0000000000 --- a/.changeset/brave-beds-punch.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -'@swisspost/design-system-intranet-header': patch -'@swisspost/design-system-documentation': patch -'@swisspost/design-system-demo': patch ---- - -Updated the avatar url, used to load a users profile picture form the intranet backend. - -! The required input value has recently changed ! -Due to the technical conversion of the intranet backend from Sitecore to Sharepoint, the value required for the property to display a user image has changed. Previously the user ID was required, now this property expects the user-specific e-mail address. diff --git a/.changeset/chilly-seals-serve.md b/.changeset/chilly-seals-serve.md deleted file mode 100644 index 9c01e11266..0000000000 --- a/.changeset/chilly-seals-serve.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-components': patch ---- - -Fixed bug in console upon exiting tooltip. diff --git a/.changeset/clean-windows-think.md b/.changeset/clean-windows-think.md deleted file mode 100644 index 074a9b499d..0000000000 --- a/.changeset/clean-windows-think.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-components': patch ---- - -Fixed bug that showed delayed tooltip even after blur event. diff --git a/.changeset/olive-kiwis-arrive.md b/.changeset/olive-kiwis-arrive.md deleted file mode 100644 index 246f4e6e8d..0000000000 --- a/.changeset/olive-kiwis-arrive.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-documentation': patch ---- - -Marked the background utilities (`.bg-*` classes) as deprecated (will be removed in a future version). diff --git a/.changeset/poor-beers-retire.md b/.changeset/poor-beers-retire.md deleted file mode 100644 index 52906354b3..0000000000 --- a/.changeset/poor-beers-retire.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-documentation': patch ---- - -Marked the `card-control` standard HTML as deprecated (will be removed in a future version). diff --git a/.changeset/rude-needles-matter.md b/.changeset/rude-needles-matter.md deleted file mode 100644 index 3a89619dff..0000000000 --- a/.changeset/rude-needles-matter.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-styles': patch ---- - -Fixed display of stepper to break words when text is too long to fit in one line. diff --git a/.changeset/strong-rabbits-ring.md b/.changeset/strong-rabbits-ring.md deleted file mode 100644 index 4acecdb5f2..0000000000 --- a/.changeset/strong-rabbits-ring.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@swisspost/design-system-documentation': patch ---- - -Changed hint text wrapper from `div` to `p` to improve accessibility across components. \ No newline at end of file diff --git a/packages/components-angular/CHANGELOG.md b/packages/components-angular/CHANGELOG.md index da222b76a5..c4721287cf 100644 --- a/packages/components-angular/CHANGELOG.md +++ b/packages/components-angular/CHANGELOG.md @@ -1,5 +1,21 @@ # @swisspost/design-system-components-angular-workspace +## 1.1.17 + +### Patch Changes + +- Updated dependencies: + - @swisspost/design-system-styles@8.6.2 + - @swisspost/design-system-components@8.6.2 + +## 1.1.16 + +### Patch Changes + +- Updated dependencies: + - @swisspost/design-system-components@8.6.1 + - @swisspost/design-system-styles@8.6.1 + ## 1.1.15 ### Patch Changes diff --git a/packages/components-angular/package.json b/packages/components-angular/package.json index 231b86fed2..bcff8dd9d4 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.1.15", + "version": "1.1.17", "scripts": { "start": "ng serve --port 9210", "build": "ng build components", @@ -18,8 +18,8 @@ "@angular/platform-browser": "18.1.3", "@angular/platform-browser-dynamic": "18.1.3", "@angular/router": "18.1.3", - "@swisspost/design-system-components": "workspace:8.6.0", - "@swisspost/design-system-styles": "workspace:8.6.0", + "@swisspost/design-system-components": "workspace:8.6.2", + "@swisspost/design-system-styles": "workspace:8.6.2", "rxjs": "7.8.1", "tslib": "2.6.3", "zone.js": "0.14.8" diff --git a/packages/components-angular/projects/components/CHANGELOG.md b/packages/components-angular/projects/components/CHANGELOG.md index 2f107c9125..38ae80a876 100644 --- a/packages/components-angular/projects/components/CHANGELOG.md +++ b/packages/components-angular/projects/components/CHANGELOG.md @@ -1,5 +1,19 @@ # @swisspost/design-system-components-angular +## 8.6.2 + +### Patch Changes + +- Updated dependencies: + - @swisspost/design-system-components@8.6.2 + +## 8.6.1 + +### Patch Changes + +- Updated dependencies: + - @swisspost/design-system-components@8.6.1 + ## 8.6.0 ### Patch Changes diff --git a/packages/components-angular/projects/components/package.json b/packages/components-angular/projects/components/package.json index 4c83ded4dc..f5d797994b 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": "8.6.0", + "version": "8.6.2", "description": "Swiss Post Design System - Angular Wrapper Components", "author": "Swiss Post ", "license": "Apache-2.0", @@ -19,7 +19,7 @@ }, "dependencies": { "tslib": "2.6.3", - "@swisspost/design-system-components": "workspace:8.6.0" + "@swisspost/design-system-components": "workspace:8.6.2" }, "peerDependencies": { "@angular/common": "^16.0.0 || ^17.0.0 || ^18.0.0", diff --git a/packages/components-react/CHANGELOG.md b/packages/components-react/CHANGELOG.md index e188651f3d..fc37eb4c76 100644 --- a/packages/components-react/CHANGELOG.md +++ b/packages/components-react/CHANGELOG.md @@ -1,5 +1,19 @@ # @swisspost/design-system-components-react +## 8.6.2 + +### Patch Changes + +- Updated dependencies: + - @swisspost/design-system-components@8.6.2 + +## 8.6.1 + +### Patch Changes + +- Updated dependencies: + - @swisspost/design-system-components@8.6.1 + ## 8.6.0 ### Patch Changes diff --git a/packages/components-react/package.json b/packages/components-react/package.json index 56b414cbb2..dbbc278904 100644 --- a/packages/components-react/package.json +++ b/packages/components-react/package.json @@ -1,6 +1,6 @@ { "name": "@swisspost/design-system-components-react", - "version": "8.6.0", + "version": "8.6.2", "license": "Apache-2.0", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -20,7 +20,7 @@ "lint": "eslint src/**/*.ts" }, "dependencies": { - "@swisspost/design-system-components": "workspace:8.6.0" + "@swisspost/design-system-components": "workspace:8.6.2" }, "devDependencies": { "@types/node": "20.14.14", diff --git a/packages/components/CHANGELOG.md b/packages/components/CHANGELOG.md index f0b4ad2b07..d175fe0a9e 100644 --- a/packages/components/CHANGELOG.md +++ b/packages/components/CHANGELOG.md @@ -1,5 +1,25 @@ # @swisspost/design-system-components +## 8.6.2 + +### Patch Changes + +- Made `post-icon` component use base tag href to define location of icons folder. (by [@leagrdv](https://github.com/leagrdv) with [#4128](https://github.com/swisspost/design-system/pull/4128)) +- Updated dependencies: + - @swisspost/design-system-styles@8.6.2 + +## 8.6.1 + +### Patch Changes + +- Fixed bug in console upon exiting tooltip. (by [@leagrdv](https://github.com/leagrdv) with [#4014](https://github.com/swisspost/design-system/pull/4014)) + +- Fixed bug that showed delayed tooltip even after blur event. (by [@leagrdv](https://github.com/leagrdv) with [#4103](https://github.com/swisspost/design-system/pull/4103)) + +- Removed strikethrough style on disabled elements. (by [@leagrdv](https://github.com/leagrdv) with [#4095](https://github.com/swisspost/design-system/pull/4095)) +- Updated dependencies: + - @swisspost/design-system-styles@8.6.1 + ## 8.6.0 ### Patch Changes diff --git a/packages/components/package.json b/packages/components/package.json index b8e058cd76..fdb3231c12 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@swisspost/design-system-components", - "version": "8.6.0", + "version": "8.6.2", "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", @@ -26,7 +26,7 @@ "scripts": { "dev": "stencil build --dev --port 9200 --serve --watch --docs --docs-readme", "start": "stencil build --dev --watch --docs --docs-readme", - "build": "stencil build --docs-readme", + "build": "pnpm clean && stencil build --docs-readme", "clean": "rimraf www dist loader loaders", "test": "pnpm run unit", "unit": "stencil test --spec", @@ -40,7 +40,7 @@ "dependencies": { "@floating-ui/dom": "1.6.8", "@oddbird/popover-polyfill": "0.3.7", - "@swisspost/design-system-styles": "workspace:8.6.0", + "@swisspost/design-system-styles": "workspace:8.6.2", "ally.js": "1.4.1", "long-press-event": "2.5.0" }, diff --git a/packages/components/src/components/post-card-control/post-card-control.scss b/packages/components/src/components/post-card-control/post-card-control.scss index 9633f47f09..f4731a4839 100644 --- a/packages/components/src/components/post-card-control/post-card-control.scss +++ b/packages/components/src/components/post-card-control/post-card-control.scss @@ -9,7 +9,6 @@ */ :host { - // remove as soon as all browser support :host-context() // https://caniuse.com/?search=%3Ahost-context() --post-card-control-bg-context: #{post.$backgrounds}; @@ -170,7 +169,6 @@ --post-card-control-input-bg: transparent; border-style: dashed; - text-decoration: line-through; cursor: default; .card-control--input { diff --git a/packages/components/src/components/post-icon/post-icon.tsx b/packages/components/src/components/post-icon/post-icon.tsx index 6a48db0aba..d9a36e8d19 100644 --- a/packages/components/src/components/post-icon/post-icon.tsx +++ b/packages/components/src/components/post-icon/post-icon.tsx @@ -131,7 +131,8 @@ export class PostIcon { .querySelector('meta[name="design-system-settings"][data-post-icon-base]') ?.getAttribute('data-post-icon-base') ?? null; - const fileBase = `${this.base ?? metaBase ?? CDN_URL}/`.replace(/\/\/$/, '/'); + const baseHref = document.getElementsByTagName('base')[0]?.href; + const fileBase = `${this.base ?? metaBase ?? baseHref ?? CDN_URL}/`.replace(/\/\/$/, '/'); const fileName = `${this.name}.svg`; const filePath = `${fileBase}${fileName}`; diff --git a/packages/demo/CHANGELOG.md b/packages/demo/CHANGELOG.md index ea33b3d7ea..91f5430ae8 100644 --- a/packages/demo/CHANGELOG.md +++ b/packages/demo/CHANGELOG.md @@ -1,5 +1,26 @@ # @swisspost/design-system-demo +## 8.0.10 + +### Patch Changes + +- Updated dependencies: + - @swisspost/design-system-styles@8.6.2 + - @swisspost/design-system-intranet-header@8.6.2 + - @swisspost/design-system-migrations@8.6.2 + +## 8.0.9 + +### Patch Changes + +- Updated the avatar url, used to load a users profile picture form the intranet backend. + ! The required input value has recently changed ! + Due to the technical conversion of the intranet backend from Sitecore to Sharepoint, the value required for the property to display a user image has changed. Previously the user ID was required, now this property expects the user-specific e-mail address. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#4117](https://github.com/swisspost/design-system/pull/4117)) +- Updated dependencies: + - @swisspost/design-system-intranet-header@8.6.1 + - @swisspost/design-system-styles@8.6.1 + - @swisspost/design-system-migrations@8.6.1 + ## 8.0.8 ### Patch Changes diff --git a/packages/demo/package.json b/packages/demo/package.json index 17d830312d..431395ee1a 100644 --- a/packages/demo/package.json +++ b/packages/demo/package.json @@ -1,6 +1,6 @@ { "name": "@swisspost/design-system-demo", - "version": "8.0.8", + "version": "8.0.10", "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": "17.0.0", "@popperjs/core": "2.11.8", "@swimlane/ngx-datatable": "20.1.0", - "@swisspost/design-system-intranet-header": "workspace:8.6.0", - "@swisspost/design-system-migrations": "workspace:8.6.0", - "@swisspost/design-system-styles": "workspace:8.6.0", + "@swisspost/design-system-intranet-header": "workspace:8.6.2", + "@swisspost/design-system-migrations": "workspace:8.6.2", + "@swisspost/design-system-styles": "workspace:8.6.2", "bootstrap": "5.3.3", "core-js": "3.37.1", "highlight.js": "11.10.0", diff --git a/packages/documentation/CHANGELOG.md b/packages/documentation/CHANGELOG.md index 3bdbf1ff4f..eb468a3cb8 100644 --- a/packages/documentation/CHANGELOG.md +++ b/packages/documentation/CHANGELOG.md @@ -1,5 +1,36 @@ # @swisspost/design-system-documentation +## 5.5.5 + +### Patch Changes + +- Updated dependencies: + - @swisspost/design-system-styles@8.6.2 + - @swisspost/design-system-components@8.6.2 + - @swisspost/internet-header@1.15.3 + - @swisspost/design-system-components-react@8.6.2 + - @swisspost/design-system-icons@8.6.2 + +## 5.5.4 + +### Patch Changes + +- Updated the avatar url, used to load a users profile picture form the intranet backend. + ! The required input value has recently changed ! + Due to the technical conversion of the intranet backend from Sitecore to Sharepoint, the value required for the property to display a user image has changed. Previously the user ID was required, now this property expects the user-specific e-mail address. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#4117](https://github.com/swisspost/design-system/pull/4117)) + +- Marked the background utilities (`.bg-*` classes) as deprecated (will be removed in a future version). (by [@leagrdv](https://github.com/leagrdv) with [#4100](https://github.com/swisspost/design-system/pull/4100)) + +- Marked the `card-control` standard HTML as deprecated (will be removed in a future version). (by [@leagrdv](https://github.com/leagrdv) with [#4057](https://github.com/swisspost/design-system/pull/4057)) + +- Changed hint text wrapper from `div` to `p` to improve accessibility across components. (by [@alionazherdetska](https://github.com/alionazherdetska) with [#3902](https://github.com/swisspost/design-system/pull/3902)) +- Updated dependencies: + - @swisspost/design-system-components@8.6.1 + - @swisspost/design-system-styles@8.6.1 + - @swisspost/design-system-components-react@8.6.1 + - @swisspost/internet-header@1.15.2 + - @swisspost/design-system-icons@8.6.1 + ## 5.5.3 ### Patch Changes diff --git a/packages/documentation/package.json b/packages/documentation/package.json index e1a050ac0d..bd14f7d331 100644 --- a/packages/documentation/package.json +++ b/packages/documentation/package.json @@ -1,6 +1,6 @@ { "name": "@swisspost/design-system-documentation", - "version": "5.5.3", + "version": "5.5.5", "description": "Swiss Post Design System Documentation.", "author": "Swiss Post ", "license": "Apache-2.0", @@ -28,11 +28,11 @@ "lint": "eslint **/*.{ts,tsx,mdx}" }, "dependencies": { - "@swisspost/design-system-components": "workspace:8.6.0", - "@swisspost/design-system-components-react": "workspace:8.6.0", - "@swisspost/design-system-icons": "workspace:8.6.0", - "@swisspost/design-system-styles": "workspace:8.6.0", - "@swisspost/internet-header": "workspace:1.15.1", + "@swisspost/design-system-components": "workspace:8.6.2", + "@swisspost/design-system-components-react": "workspace:8.6.2", + "@swisspost/design-system-icons": "workspace:8.6.2", + "@swisspost/design-system-styles": "workspace:8.6.2", + "@swisspost/internet-header": "workspace:1.15.3", "bootstrap": "5.3.3" }, "devDependencies": { @@ -53,8 +53,8 @@ "@storybook/types": "8.2.7", "@storybook/web-components": "8.2.7", "@storybook/web-components-vite": "8.2.7", - "@swisspost/design-system-components-angular": "workspace:8.6.0", - "@swisspost/design-system-intranet-header": "workspace:8.6.0", + "@swisspost/design-system-components-angular": "workspace:8.6.2", + "@swisspost/design-system-intranet-header": "workspace:8.6.2", "@types/css-modules": "1.0.5", "@types/mdx": "2.0.13", "@types/react": "18.3.3", diff --git a/packages/icons/CHANGELOG.md b/packages/icons/CHANGELOG.md index b638cb03de..cc0a90064f 100644 --- a/packages/icons/CHANGELOG.md +++ b/packages/icons/CHANGELOG.md @@ -1,5 +1,9 @@ # @swisspost/design-system-icons +## 8.6.2 + +## 8.6.1 + ## 8.6.0 ### Minor Changes diff --git a/packages/icons/package.json b/packages/icons/package.json index f6a55b3903..d5b2390dc9 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -1,6 +1,6 @@ { "name": "@swisspost/design-system-icons", - "version": "8.6.0", + "version": "8.6.2", "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 2824998525..3f7da3844c 100644 --- a/packages/internet-header/CHANGELOG.md +++ b/packages/internet-header/CHANGELOG.md @@ -1,5 +1,19 @@ # @swisspost/internet-header +## 1.15.3 + +### Patch Changes + +- Updated dependencies: + - @swisspost/design-system-styles@8.6.2 + +## 1.15.2 + +### Patch Changes + +- Updated dependencies: + - @swisspost/design-system-styles@8.6.1 + ## 1.15.1 ### Patch Changes diff --git a/packages/internet-header/package.json b/packages/internet-header/package.json index 309163cb7d..760ff01c8a 100644 --- a/packages/internet-header/package.json +++ b/packages/internet-header/package.json @@ -1,6 +1,6 @@ { "name": "@swisspost/internet-header", - "version": "1.15.1", + "version": "1.15.3", "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:8.6.0", + "@swisspost/design-system-styles": "workspace:8.6.2", "body-scroll-lock": "4.0.0-beta.0", "iframe-resizer": "4.4.5", "jquery": "3.7.1", diff --git a/packages/intranet-header-workspace/CHANGELOG.md b/packages/intranet-header-workspace/CHANGELOG.md index 04dcf0193d..b6bdce7789 100644 --- a/packages/intranet-header-workspace/CHANGELOG.md +++ b/packages/intranet-header-workspace/CHANGELOG.md @@ -1,5 +1,19 @@ # @swisspost/design-system-intranet-header-workspace +## 3.0.29 + +### Patch Changes + +- Updated dependencies: + - @swisspost/design-system-styles@8.6.2 + +## 3.0.28 + +### Patch Changes + +- Updated dependencies: + - @swisspost/design-system-styles@8.6.1 + ## 3.0.27 ### Patch Changes diff --git a/packages/intranet-header-workspace/package.json b/packages/intranet-header-workspace/package.json index 69529ca695..e7f4aa385d 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.27", + "version": "3.0.29", "license": "Apache-2.0", "private": true, "scripts": { @@ -21,7 +21,7 @@ "@angular/router": "18.1.3", "@ng-bootstrap/ng-bootstrap": "17.0.0", "@popperjs/core": "2.11.8", - "@swisspost/design-system-styles": "workspace:8.6.0", + "@swisspost/design-system-styles": "workspace:8.6.2", "rxjs": "7.8.1", "tslib": "2.6.3", "watch": "1.0.2", diff --git a/packages/intranet-header-workspace/projects/intranet-header-showcase/CHANGELOG.md b/packages/intranet-header-workspace/projects/intranet-header-showcase/CHANGELOG.md index d07c3b0493..a4eb1c1d75 100644 --- a/packages/intranet-header-workspace/projects/intranet-header-showcase/CHANGELOG.md +++ b/packages/intranet-header-workspace/projects/intranet-header-showcase/CHANGELOG.md @@ -1,5 +1,19 @@ # @swisspost/design-system-intranet-header-showcase +## 1.0.17 + +### Patch Changes + +- Updated dependencies: + - @swisspost/design-system-intranet-header@8.6.2 + +## 1.0.16 + +### Patch Changes + +- Updated dependencies: + - @swisspost/design-system-intranet-header@8.6.1 + ## 1.0.15 ### Patch Changes diff --git a/packages/intranet-header-workspace/projects/intranet-header-showcase/package.json b/packages/intranet-header-workspace/projects/intranet-header-showcase/package.json index 210b0c938b..798d6fad3c 100644 --- a/packages/intranet-header-workspace/projects/intranet-header-showcase/package.json +++ b/packages/intranet-header-workspace/projects/intranet-header-showcase/package.json @@ -1,9 +1,9 @@ { "name": "@swisspost/design-system-intranet-header-showcase", - "version": "1.0.15", + "version": "1.0.17", "license": "Apache-2.0", "private": true, "dependencies": { - "@swisspost/design-system-intranet-header": "workspace:8.6.0" + "@swisspost/design-system-intranet-header": "workspace:8.6.2" } } diff --git a/packages/intranet-header-workspace/projects/intranet-header/CHANGELOG.md b/packages/intranet-header-workspace/projects/intranet-header/CHANGELOG.md index 353b1dbced..75b3ffdb30 100644 --- a/packages/intranet-header-workspace/projects/intranet-header/CHANGELOG.md +++ b/packages/intranet-header-workspace/projects/intranet-header/CHANGELOG.md @@ -1,5 +1,22 @@ # @swisspost/design-system-intranet-header +## 8.6.2 + +### Patch Changes + +- Updated dependencies: + - @swisspost/design-system-styles@8.6.2 + +## 8.6.1 + +### Patch Changes + +- Updated the avatar url, used to load a users profile picture form the intranet backend. + ! The required input value has recently changed ! + Due to the technical conversion of the intranet backend from Sitecore to Sharepoint, the value required for the property to display a user image has changed. Previously the user ID was required, now this property expects the user-specific e-mail address. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#4117](https://github.com/swisspost/design-system/pull/4117)) +- Updated dependencies: + - @swisspost/design-system-styles@8.6.1 + ## 8.6.0 ### 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 18c05006c4..6568312567 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": "8.6.0", + "version": "8.6.2", "description": "Intranet header for internal Swiss Post applications as an Angular component.", "author": "Swiss Post ", "license": "Apache-2.0", @@ -18,11 +18,11 @@ "linkDirectory": true }, "dependencies": { - "@swisspost/design-system-styles": "workspace:8.6.0", + "@swisspost/design-system-styles": "workspace:8.6.2", "tslib": "2.6.3" }, "devDependencies": { - "@swisspost/design-system-intranet-header-workspace": "workspace:3.0.27" + "@swisspost/design-system-intranet-header-workspace": "workspace:3.0.29" }, "peerDependencies": { "@angular/common": "^16.0.0 || ^17.0.0 || ^18.0.0", diff --git a/packages/migrations/CHANGELOG.md b/packages/migrations/CHANGELOG.md index 4955a8bbb1..38a99d9565 100644 --- a/packages/migrations/CHANGELOG.md +++ b/packages/migrations/CHANGELOG.md @@ -1,5 +1,9 @@ # @swisspost/design-system-migrations +## 8.6.2 + +## 8.6.1 + ## 8.6.0 ## 8.5.0 diff --git a/packages/migrations/package.json b/packages/migrations/package.json index e809494fef..a4086dfb72 100644 --- a/packages/migrations/package.json +++ b/packages/migrations/package.json @@ -1,6 +1,6 @@ { "name": "@swisspost/design-system-migrations", - "version": "8.6.0", + "version": "8.6.2", "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 82a113d257..8d0b72e2f0 100644 --- a/packages/nextjs-integration/CHANGELOG.md +++ b/packages/nextjs-integration/CHANGELOG.md @@ -1,5 +1,23 @@ # @swisspost/design-system-nextjs-integration +## 0.1.21 + +### Patch Changes + +- Updated dependencies: + - @swisspost/design-system-styles@8.6.2 + - @swisspost/internet-header@1.15.3 + - @swisspost/design-system-components-react@8.6.2 + +## 0.1.20 + +### Patch Changes + +- Updated dependencies: + - @swisspost/design-system-styles@8.6.1 + - @swisspost/design-system-components-react@8.6.1 + - @swisspost/internet-header@1.15.2 + ## 0.1.19 ### Patch Changes diff --git a/packages/nextjs-integration/package.json b/packages/nextjs-integration/package.json index a1af151727..60299e81b6 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.19", + "version": "0.1.21", "private": true, "scripts": { "dev": "next dev", @@ -9,9 +9,9 @@ "lint": "next lint" }, "dependencies": { - "@swisspost/design-system-components-react": "workspace:8.6.0", - "@swisspost/design-system-styles": "workspace:8.6.0", - "@swisspost/internet-header": "workspace:1.15.1", + "@swisspost/design-system-components-react": "workspace:8.6.2", + "@swisspost/design-system-styles": "workspace:8.6.2", + "@swisspost/internet-header": "workspace:1.15.3", "next": "14.2.5", "react": "^18", "react-dom": "^18" diff --git a/packages/styles-primeng-workspace/CHANGELOG.md b/packages/styles-primeng-workspace/CHANGELOG.md index 8e564a1ac9..2d6dab3346 100644 --- a/packages/styles-primeng-workspace/CHANGELOG.md +++ b/packages/styles-primeng-workspace/CHANGELOG.md @@ -1,5 +1,19 @@ # @swisspost/design-system-styles-primeng-workspace +## 1.0.13 + +### Patch Changes + +- Updated dependencies: + - @swisspost/design-system-styles@8.6.2 + +## 1.0.12 + +### Patch Changes + +- Updated dependencies: + - @swisspost/design-system-styles@8.6.1 + ## 1.0.11 ### Patch Changes diff --git a/packages/styles-primeng-workspace/package.json b/packages/styles-primeng-workspace/package.json index 84dbe3c310..c375518a97 100644 --- a/packages/styles-primeng-workspace/package.json +++ b/packages/styles-primeng-workspace/package.json @@ -1,7 +1,7 @@ { "name": "@swisspost/design-system-styles-primeng-workspace", "description": "Showcase for a Post like custom prime-ng theme", - "version": "1.0.11", + "version": "1.0.13", "license": "Apache-2.0", "private": true, "scripts": { @@ -22,7 +22,7 @@ "@angular/platform-browser": "18.1.3", "@angular/platform-browser-dynamic": "18.1.3", "@angular/router": "18.1.3", - "@swisspost/design-system-styles": "workspace:8.6.0", + "@swisspost/design-system-styles": "workspace:8.6.2", "primeng": "17.18.7", "rxjs": "7.8.1", "tslib": "2.6.3", diff --git a/packages/styles-primeng-workspace/projects/styles-primeng/CHANGELOG.md b/packages/styles-primeng-workspace/projects/styles-primeng/CHANGELOG.md index 5ec0069532..ffb9345a04 100644 --- a/packages/styles-primeng-workspace/projects/styles-primeng/CHANGELOG.md +++ b/packages/styles-primeng-workspace/projects/styles-primeng/CHANGELOG.md @@ -1,5 +1,19 @@ # @swisspost/design-system-styles-primeng +## 8.6.2 + +### Patch Changes + +- Updated dependencies: + - @swisspost/design-system-styles@8.6.2 + +## 8.6.1 + +### Patch Changes + +- Updated dependencies: + - @swisspost/design-system-styles@8.6.1 + ## 8.6.0 ### Patch Changes diff --git a/packages/styles-primeng-workspace/projects/styles-primeng/package.json b/packages/styles-primeng-workspace/projects/styles-primeng/package.json index 68de64bbf0..eb25a685dd 100644 --- a/packages/styles-primeng-workspace/projects/styles-primeng/package.json +++ b/packages/styles-primeng-workspace/projects/styles-primeng/package.json @@ -1,6 +1,6 @@ { "name": "@swisspost/design-system-styles-primeng", - "version": "8.6.0", + "version": "8.6.2", "description": "Swiss Post styles for PrimeNg datatable.", "author": "Swiss Post ", "license": "Apache-2.0", @@ -23,7 +23,7 @@ "primeng": "^17.18.0" }, "dependencies": { - "@swisspost/design-system-styles": "workspace:8.6.0", + "@swisspost/design-system-styles": "workspace:8.6.2", "tslib": "2.6.3" }, "sideEffects": false, diff --git a/packages/styles/CHANGELOG.md b/packages/styles/CHANGELOG.md index 57d9a77b0b..16f77c804d 100644 --- a/packages/styles/CHANGELOG.md +++ b/packages/styles/CHANGELOG.md @@ -1,5 +1,19 @@ # @swisspost/design-system-styles +## 8.6.2 + +### Patch Changes + +- Fixed visibility issue with checkbox icon. (by [@schaertim](https://github.com/schaertim) with [#4149](https://github.com/swisspost/design-system/pull/4149)) + +## 8.6.1 + +### Patch Changes + +- Removed strikethrough style on disabled elements. (by [@leagrdv](https://github.com/leagrdv) with [#4095](https://github.com/swisspost/design-system/pull/4095)) + +- Fixed display of stepper to break words when text is too long to fit in one line. (by [@leagrdv](https://github.com/leagrdv) with [#4055](https://github.com/swisspost/design-system/pull/4055)) + ## 8.6.0 ### Patch Changes diff --git a/packages/styles/package.json b/packages/styles/package.json index 2f46c8ce2f..4c44578ed8 100644 --- a/packages/styles/package.json +++ b/packages/styles/package.json @@ -1,6 +1,6 @@ { "name": "@swisspost/design-system-styles", - "version": "8.6.0", + "version": "8.6.2", "description": "Design System Styles for the Swiss Post web platform.", "author": "Swiss Post ", "license": "Apache-2.0", @@ -47,8 +47,8 @@ "bootstrap": "5.3.3" }, "devDependencies": { - "@swisspost/design-system-tokens": "workspace:8.6.0", - "@swisspost/design-system-icons": "workspace:8.6.0", + "@swisspost/design-system-tokens": "workspace:8.6.2", + "@swisspost/design-system-icons": "workspace:8.6.2", "@types/node": "20.14.14", "autoprefixer": "10.4.19", "copyfiles": "2.4.1", diff --git a/packages/styles/src/components/button.scss b/packages/styles/src/components/button.scss index 425a25309a..411651685a 100644 --- a/packages/styles/src/components/button.scss +++ b/packages/styles/src/components/button.scss @@ -39,9 +39,7 @@ text-decoration: none !important; // For tags, !important for hover white-space: nowrap; // Long content should never break in buttons - @include utilities.disabled-style() { - text-decoration: line-through !important; - } + @include utilities.disabled-style(); @include utilities.not-disabled-hover() { color: var(--post-contrast-color-inverted); // Override color diff --git a/packages/styles/src/components/card-control.scss b/packages/styles/src/components/card-control.scss index 9ab6ae8af5..421d8bb325 100644 --- a/packages/styles/src/components/card-control.scss +++ b/packages/styles/src/components/card-control.scss @@ -131,7 +131,6 @@ fieldset { --post-card-control-input-bg: transparent; border-style: dashed; - text-decoration: line-through; cursor: default; input.form-check-input[type] { diff --git a/packages/styles/src/components/form-check.scss b/packages/styles/src/components/form-check.scss index 896170a421..533657b957 100644 --- a/packages/styles/src/components/form-check.scss +++ b/packages/styles/src/components/form-check.scss @@ -76,7 +76,7 @@ &[type='checkbox'] { &:checked::after { - @include icons-mx.icon(3035); + @include icons-mx.icon(2105); } &:indeterminate::after { @@ -173,7 +173,6 @@ &[disabled], &[disabled] ~ .form-check-label { - text-decoration: line-through; color: color.$black-alpha-60; @include color-mx.on-dark-background() { diff --git a/packages/styles/src/layouts/portal/_grid.scss b/packages/styles/src/layouts/portal/_grid.scss index 08cec5b241..412d74bc65 100644 --- a/packages/styles/src/layouts/portal/_grid.scss +++ b/packages/styles/src/layouts/portal/_grid.scss @@ -31,35 +31,6 @@ } } -// Overwrites gutter on rg-sized screens and bigger -@include media-breakpoint-up(rg) { - .col, - [class*='col-'] { - padding-right: portal-variables.$grid-gutter-width-rg * 0.5; - padding-left: portal-variables.$grid-gutter-width-rg * 0.5; - } - - .row { - margin-right: -(portal-variables.$grid-gutter-width-rg * 0.5); - margin-left: -(portal-variables.$grid-gutter-width-rg * 0.5); - - &.no-gutters { - margin-right: 0; - margin-left: 0; - } - } - - //deprecated - .vertical-gutters { - margin-bottom: -(portal-variables.$grid-gutter-width-rg); - - > .col, - > [class*='col-'] { - padding-bottom: portal-variables.$grid-gutter-width-rg; - } - } -} - //deprecated @each $breakpoint in grid.$grid-breakpoints-list { .container-fluid-#{$breakpoint} { diff --git a/packages/styles/src/mixins/_utilities.scss b/packages/styles/src/mixins/_utilities.scss index c84992cd65..f82329b167 100644 --- a/packages/styles/src/mixins/_utilities.scss +++ b/packages/styles/src/mixins/_utilities.scss @@ -160,7 +160,6 @@ border-color: var(--post-gray-40); border-style: dashed; background-clip: padding-box; - text-decoration: line-through; // In case rules need to be slightly adjusted @content; diff --git a/packages/tokens/CHANGELOG.md b/packages/tokens/CHANGELOG.md index e39827e067..500e0c5f17 100644 --- a/packages/tokens/CHANGELOG.md +++ b/packages/tokens/CHANGELOG.md @@ -1,5 +1,9 @@ # @swisspost/design-system-tokens +## 8.6.2 + +## 8.6.1 + ## 8.6.0 ## 8.5.0 diff --git a/packages/tokens/package.json b/packages/tokens/package.json index 435e9b34e1..7a87f57c45 100644 --- a/packages/tokens/package.json +++ b/packages/tokens/package.json @@ -1,6 +1,6 @@ { "name": "@swisspost/design-system-tokens", - "version": "8.6.0", + "version": "8.6.2", "private": true, "description": "Design Tokens for the Swiss Post.", "author": "Swiss Post ", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 09ee9c0f4c..9a0747caab 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -47,7 +47,7 @@ importers: specifier: 0.3.7 version: 0.3.7 '@swisspost/design-system-styles': - specifier: workspace:8.6.0 + specifier: workspace:8.6.2 version: link:../styles/dist ally.js: specifier: 1.4.1 @@ -150,10 +150,10 @@ importers: specifier: 18.1.3 version: 18.1.3(@angular/common@18.1.3(@angular/core@18.1.3(rxjs@7.8.1)(zone.js@0.14.8))(rxjs@7.8.1))(@angular/core@18.1.3(rxjs@7.8.1)(zone.js@0.14.8))(@angular/platform-browser@18.1.3(@angular/animations@18.1.3(@angular/core@18.1.3(rxjs@7.8.1)(zone.js@0.14.8)))(@angular/common@18.1.3(@angular/core@18.1.3(rxjs@7.8.1)(zone.js@0.14.8))(rxjs@7.8.1))(@angular/core@18.1.3(rxjs@7.8.1)(zone.js@0.14.8)))(rxjs@7.8.1) '@swisspost/design-system-components': - specifier: workspace:8.6.0 + specifier: workspace:8.6.2 version: link:../components '@swisspost/design-system-styles': - specifier: workspace:8.6.0 + specifier: workspace:8.6.2 version: link:../styles/dist rxjs: specifier: 7.8.1 @@ -232,7 +232,7 @@ importers: specifier: ^16.0.0 || ^17.0.0 || ^18.0.0 version: 18.1.1(rxjs@7.8.1)(zone.js@0.14.8) '@swisspost/design-system-components': - specifier: workspace:8.6.0 + specifier: workspace:8.6.2 version: link:../../../components tslib: specifier: 2.6.3 @@ -242,7 +242,7 @@ importers: packages/components-react: dependencies: '@swisspost/design-system-components': - specifier: workspace:8.6.0 + specifier: workspace:8.6.2 version: link:../components devDependencies: '@types/node': @@ -333,13 +333,13 @@ importers: specifier: 20.1.0 version: 20.1.0(@angular/common@18.1.3(@angular/core@18.1.3(rxjs@7.8.1)(zone.js@0.14.8))(rxjs@7.8.1))(@angular/core@18.1.3(rxjs@7.8.1)(zone.js@0.14.8))(@angular/platform-browser@18.1.3(@angular/animations@18.1.3(@angular/core@18.1.3(rxjs@7.8.1)(zone.js@0.14.8)))(@angular/common@18.1.3(@angular/core@18.1.3(rxjs@7.8.1)(zone.js@0.14.8))(rxjs@7.8.1))(@angular/core@18.1.3(rxjs@7.8.1)(zone.js@0.14.8)))(rxjs@7.8.1) '@swisspost/design-system-intranet-header': - specifier: workspace:8.6.0 + specifier: workspace:8.6.2 version: link:../intranet-header-workspace/dist/intranet-header '@swisspost/design-system-migrations': - specifier: workspace:8.6.0 + specifier: workspace:8.6.2 version: link:../migrations '@swisspost/design-system-styles': - specifier: workspace:8.6.0 + specifier: workspace:8.6.2 version: link:../styles/dist bootstrap: specifier: 5.3.3 @@ -469,19 +469,19 @@ importers: packages/documentation: dependencies: '@swisspost/design-system-components': - specifier: workspace:8.6.0 + specifier: workspace:8.6.2 version: link:../components '@swisspost/design-system-components-react': - specifier: workspace:8.6.0 + specifier: workspace:8.6.2 version: link:../components-react '@swisspost/design-system-icons': - specifier: workspace:8.6.0 + specifier: workspace:8.6.2 version: link:../icons '@swisspost/design-system-styles': - specifier: workspace:8.6.0 + specifier: workspace:8.6.2 version: link:../styles/dist '@swisspost/internet-header': - specifier: workspace:1.15.1 + specifier: workspace:1.15.3 version: link:../internet-header bootstrap: specifier: 5.3.3 @@ -539,10 +539,10 @@ importers: specifier: 8.2.7 version: 8.2.7(lit@3.1.4)(storybook@8.2.7(@babel/preset-env@7.25.3(@babel/core@7.25.2)))(typescript@5.5.4)(vite@5.4.6(@types/node@22.10.0)(less@4.2.0)(sass@1.77.8)(terser@5.31.6)) '@swisspost/design-system-components-angular': - specifier: workspace:8.6.0 + specifier: workspace:8.6.2 version: link:../components-angular/dist/components '@swisspost/design-system-intranet-header': - specifier: workspace:8.6.0 + specifier: workspace:8.6.2 version: link:../intranet-header-workspace/dist/intranet-header '@types/css-modules': specifier: 1.0.5 @@ -677,7 +677,7 @@ importers: packages/internet-header: dependencies: '@swisspost/design-system-styles': - specifier: workspace:8.6.0 + specifier: workspace:8.6.2 version: link:../styles/dist body-scroll-lock: specifier: 4.0.0-beta.0 @@ -828,7 +828,7 @@ importers: specifier: 2.11.8 version: 2.11.8 '@swisspost/design-system-styles': - specifier: workspace:8.6.0 + specifier: workspace:8.6.2 version: link:../styles/dist rxjs: specifier: 7.8.1 @@ -916,21 +916,21 @@ importers: specifier: ^16.0.0 || ^17.0.0 || ^18.0.0 version: 18.1.1(rxjs@7.8.1)(zone.js@0.14.8) '@swisspost/design-system-styles': - specifier: workspace:8.6.0 + specifier: workspace:8.6.2 version: link:../../../styles/dist tslib: specifier: 2.6.3 version: 2.6.3 devDependencies: '@swisspost/design-system-intranet-header-workspace': - specifier: workspace:3.0.27 + specifier: workspace:3.0.29 version: link:../.. publishDirectory: ../../dist/intranet-header packages/intranet-header-workspace/projects/intranet-header-showcase: dependencies: '@swisspost/design-system-intranet-header': - specifier: workspace:8.6.0 + specifier: workspace:8.6.2 version: link:../../dist/intranet-header packages/migrations: @@ -976,13 +976,13 @@ importers: packages/nextjs-integration: dependencies: '@swisspost/design-system-components-react': - specifier: workspace:8.6.0 + specifier: workspace:8.6.2 version: link:../components-react '@swisspost/design-system-styles': - specifier: workspace:8.6.0 + specifier: workspace:8.6.2 version: link:../styles/dist '@swisspost/internet-header': - specifier: workspace:1.15.1 + specifier: workspace:1.15.3 version: link:../internet-header next: specifier: 14.2.5 @@ -1041,10 +1041,10 @@ importers: version: 5.3.3(@popperjs/core@2.11.8) devDependencies: '@swisspost/design-system-icons': - specifier: workspace:8.6.0 + specifier: workspace:8.6.2 version: link:../icons '@swisspost/design-system-tokens': - specifier: workspace:8.6.0 + specifier: workspace:8.6.2 version: link:../tokens/dist '@types/node': specifier: 20.14.14 @@ -1132,7 +1132,7 @@ importers: specifier: 18.1.3 version: 18.1.3(@angular/common@18.1.3(@angular/core@18.1.3(rxjs@7.8.1)(zone.js@0.14.8))(rxjs@7.8.1))(@angular/core@18.1.3(rxjs@7.8.1)(zone.js@0.14.8))(@angular/platform-browser@18.1.3(@angular/animations@18.1.3(@angular/core@18.1.3(rxjs@7.8.1)(zone.js@0.14.8)))(@angular/common@18.1.3(@angular/core@18.1.3(rxjs@7.8.1)(zone.js@0.14.8))(rxjs@7.8.1))(@angular/core@18.1.3(rxjs@7.8.1)(zone.js@0.14.8)))(rxjs@7.8.1) '@swisspost/design-system-styles': - specifier: workspace:8.6.0 + specifier: workspace:8.6.2 version: link:../styles/dist primeng: specifier: 17.18.7 @@ -1188,7 +1188,7 @@ importers: version: 16.8.1(typescript@5.5.4) stylelint-config-sass-guidelines: specifier: 11.1.0 - version: 11.1.0(postcss@8.4.49)(stylelint@16.8.1(typescript@5.5.4)) + version: 11.1.0(postcss@8.4.40)(stylelint@16.8.1(typescript@5.5.4)) stylelint-prettier: specifier: 5.0.2 version: 5.0.2(prettier@3.3.3)(stylelint@16.8.1(typescript@5.5.4)) @@ -1208,7 +1208,7 @@ importers: specifier: ^18.0.0 version: 18.1.1(rxjs@7.8.1)(zone.js@0.14.8) '@swisspost/design-system-styles': - specifier: workspace:8.6.0 + specifier: workspace:8.6.2 version: link:../../../styles/dist primeng: specifier: ^17.18.0 @@ -22345,10 +22345,6 @@ snapshots: dependencies: postcss: 8.4.40 - postcss-scss@4.0.9(postcss@8.4.49): - dependencies: - postcss: 8.4.49 - postcss-selector-parser@6.1.0: dependencies: cssesc: 3.0.0 @@ -23622,13 +23618,6 @@ snapshots: stylelint: 16.8.1(typescript@5.5.4) stylelint-scss: 6.4.1(stylelint@16.8.1(typescript@5.5.4)) - stylelint-config-sass-guidelines@11.1.0(postcss@8.4.49)(stylelint@16.8.1(typescript@5.5.4)): - dependencies: - postcss: 8.4.49 - postcss-scss: 4.0.9(postcss@8.4.49) - stylelint: 16.8.1(typescript@5.5.4) - stylelint-scss: 6.4.1(stylelint@16.8.1(typescript@5.5.4)) - stylelint-prettier@5.0.2(prettier@3.3.3)(stylelint@16.8.1(typescript@5.5.4)): dependencies: prettier: 3.3.3