Skip to content

Commit

Permalink
Merge branch 'release/v8' into intranet-header-condensed
Browse files Browse the repository at this point in the history
# Conflicts:
#	pnpm-lock.yaml
  • Loading branch information
oliverschuerch committed Dec 12, 2024
2 parents 10a3bbb + 8eb568d commit 70ee445
Show file tree
Hide file tree
Showing 49 changed files with 324 additions and 163 deletions.
10 changes: 0 additions & 10 deletions .changeset/brave-beds-punch.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/chilly-seals-serve.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/clean-windows-think.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/olive-kiwis-arrive.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/poor-beers-retire.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/rude-needles-matter.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/strong-rabbits-ring.md

This file was deleted.

16 changes: 16 additions & 0 deletions packages/components-angular/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions packages/components-angular/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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"
Expand Down
14 changes: 14 additions & 0 deletions packages/components-angular/projects/components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/components-angular/projects/components/package.json
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>",
"license": "Apache-2.0",
Expand All @@ -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",
Expand Down
14 changes: 14 additions & 0 deletions packages/components-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/components-react/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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",
Expand Down
20 changes: 20 additions & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions packages/components/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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",
Expand All @@ -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"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down Expand Up @@ -170,7 +169,6 @@
--post-card-control-input-bg: transparent;

border-style: dashed;
text-decoration: line-through;
cursor: default;

.card-control--input {
Expand Down
3 changes: 2 additions & 1 deletion packages/components/src/components/post-icon/post-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}`;

Expand Down
21 changes: 21 additions & 0 deletions packages/demo/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions packages/demo/package.json
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>",
"license": "Apache-2.0",
Expand All @@ -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",
Expand Down
31 changes: 31 additions & 0 deletions packages/documentation/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
16 changes: 8 additions & 8 deletions packages/documentation/package.json
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>",
"license": "Apache-2.0",
Expand Down Expand Up @@ -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": {
Expand All @@ -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",
Expand Down
4 changes: 4 additions & 0 deletions packages/icons/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# @swisspost/design-system-icons

## 8.6.2

## 8.6.1

## 8.6.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/icons/package.json
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>",
"license": "Apache-2.0",
Expand Down
14 changes: 14 additions & 0 deletions packages/internet-header/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Loading

0 comments on commit 70ee445

Please sign in to comment.