Skip to content

Commit

Permalink
Merge branch 'main' into feat/1381-components-release-web-components-…
Browse files Browse the repository at this point in the history
…as-angular-components

# Conflicts:
#	packages/components/package.json
#	pnpm-lock.yaml
  • Loading branch information
oliverschuerch committed Jan 26, 2024
2 parents db3d6bd + 807f3af commit ec2cc23
Show file tree
Hide file tree
Showing 67 changed files with 1,131 additions and 564 deletions.
6 changes: 0 additions & 6 deletions .changeset/2024-01-14-update-icons.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/angry-islands-shout.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/blue-bottles-sing.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/brave-dodos-know.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/brown-dragons-fetch.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/clean-olives-stare.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/eleven-ghosts-arrive.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/five-rules-dream.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/flat-parents-refuse.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/gorgeous-ties-help.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/itchy-singers-admire.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/lemon-grapes-greet.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/many-seals-confess.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/nice-items-deny.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/perfect-lamps-listen.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/poor-hounds-invent.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/silent-frogs-rush.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/strange-coins-hammer.md

This file was deleted.

25 changes: 0 additions & 25 deletions .changeset/swift-humans-kneel.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/swift-tips-kiss.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tasty-planes-dance.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ten-garlics-relate.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/unlucky-parrots-remain.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/witty-ways-leave.md

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
run: pnpm e2e:ci

- name: Upload screenshots
uses: actions/upload-artifact@v4.1.0
uses: actions/upload-artifact@v4.3.0
if: failure()
with:
name: cypress-snapshots
Expand Down
4 changes: 3 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# Added for storybook peer dependencies to react
strict-peer-dependencies=false
strict-peer-dependencies=false
# Install new dependencies with exact version to let renovate handle the update
save-exact=true
2 changes: 1 addition & 1 deletion packages/changelog-github/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"dependencies": {
"@changesets/get-github-info": "0.6.0",
"@changesets/types": "6.0.0",
"dotenv": "16.3.1"
"dotenv": "16.4.0"
},
"devDependencies": {
"@changesets/parse": "*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"@angular/platform-browser": "16.2.12",
"@angular/platform-browser-dynamic": "16.2.12",
"@angular/router": "16.2.12",
"@swisspost/design-system-styles": "workspace:6.5.1",
"@swisspost/design-system-components": "workspace:1.7.1",
"@swisspost/design-system-styles": "workspace:6.6.0",
"@swisspost/design-system-components": "workspace:2.0.0",
"rxjs": "7.8.0",
"tslib": "2.3.0",
"zone.js": "0.13.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"peerDependencies": {
"@angular/common": "^16.0.0",
"@angular/core": "^16.0.0",
"@swisspost/design-system-components": "workspace:1.7.1"
"@swisspost/design-system-components": "workspace:2.0.0"
},
"sideEffects": false
}
7 changes: 7 additions & 0 deletions packages/components-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @swisspost/design-system-components-react

## 1.0.26

### Patch Changes

- Updated dependencies:
- @swisspost/design-system-components@2.0.0

## 1.0.25

### Patch Changes
Expand Down
8 changes: 4 additions & 4 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": "1.0.25",
"version": "1.0.26",
"license": "Apache-2.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand All @@ -19,16 +19,16 @@
"tsc": "tsc -p ."
},
"dependencies": {
"@swisspost/design-system-components": "workspace:1.7.1"
"@swisspost/design-system-components": "workspace:2.0.0"
},
"devDependencies": {
"@types/node": "18.19.7",
"@types/node": "18.19.9",
"@types/react": "18.2.48",
"@types/react-dom": "18.2.18",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"eslint": "8.56.0",
"eslint-config-standard-with-typescript": "43.0.0",
"eslint-config-standard-with-typescript": "43.0.1",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-n": "16.6.2",
"eslint-plugin-promise": "6.1.1",
Expand Down
38 changes: 38 additions & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,43 @@
# @swisspost/design-system-components

## 2.0.0

### Major Changes

- Restricted `post-collapsible` to collapse behaviour only. The component remains unchanged when used with external controls, however, it no longer has a `header` slot.

Before:

```html
<post-collapsible collapsed="" headingLevel="6">
<span slot="header">Titulum</span>
<p>Contentus momentus vero siteos et accusam iretea et justo.</p>
</post-collapsible>
```

After:

```html
<post-accordion-item collapsed="" headingLevel="6">
<span slot="header">Titulum</span>
<p>Contentus momentus vero siteos et accusam iretea et justo.</p>
</post-accordion-item>
```

To get the same look and feel as in the previous version, use the `post-accordion-item` component instead. (by [@alizedebray](https://github.com/alizedebray) with [#2379](https://github.com/swisspost/design-system/pull/2379))

### Minor Changes

- Updated the tooltip `min-height` and `max-width` and added a new property arrow to the tooltip, that defines wheter or not the pointer arrow is displayed. (by [@b1aserlu](https://github.com/b1aserlu) with [#2394](https://github.com/swisspost/design-system/pull/2394))

### Patch Changes

- Update the background color of accordion to be white on any background color other than white. The accordion background remains gray on white backgrounds. (by [@alizedebray](https://github.com/alizedebray) with [#2379](https://github.com/swisspost/design-system/pull/2379))

- Added a payload to the `collapseChange` event of the `post-collapsible` component. This payload is a boolean: `true` if the collapsible was opened, `false` if it was closed. (by [@alizedebray](https://github.com/alizedebray) with [#2379](https://github.com/swisspost/design-system/pull/2379))
- Updated dependencies:
- @swisspost/design-system-styles@6.6.0

## 1.7.1

### Patch Changes
Expand Down
11 changes: 6 additions & 5 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": "1.7.1",
"version": "2.0.0",
"description": "A collection of web components built with Stencil JS for the Swiss Post Design System.",
"license": "Apache-2.0",
"main": "loader/index.cjs.js",
Expand Down Expand Up @@ -39,7 +39,7 @@
"dependencies": {
"@floating-ui/dom": "1.5.4",
"@oddbird/popover-polyfill": "0.3.7",
"@swisspost/design-system-styles": "workspace:6.5.1",
"@swisspost/design-system-styles": "workspace:6.6.0",
"ally.js": "1.4.1",
"long-press-event": "2.4.6"
},
Expand All @@ -48,21 +48,22 @@
"@percy/cypress": "3.1.2",
"@stencil-community/eslint-plugin": "0.7.1",
"@stencil/angular-output-target": "0.8.2",
"@stencil/core": "4.10.0",
"@stencil/core": "4.11.0",
"@stencil/react-output-target": "0.5.3",
"@stencil/sass": "3.0.8",
"@types/jest": "29.5.11",
"@types/node": "20.10.5",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"bootstrap": "5.3.2",
"cypress": "13.6.2",
"cypress": "13.6.3",
"cypress-storybook": "0.5.1",
"eslint": "8.56.0",
"eslint-plugin-react": "7.33.2",
"npm-run-all": "4.1.5",
"rimraf": "5.0.5",
"sass": "1.69.7",
"sass": "1.70.0",
"ts-jest": "29.1.2",
"typescript": "4.9.5"
},
"keywords": [
Expand Down
15 changes: 15 additions & 0 deletions packages/demo/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# @swisspost/design-system-demo

## 7.2.0

### Minor Changes

- Added internationalization guidelines for the following ng-bootstrap components: alert, carousel, datepicker, pagination, and timepicker. (by [@alizedebray](https://github.com/alizedebray) with [#2517](https://github.com/swisspost/design-system/pull/2517))

### Patch Changes

- Updated copyright year to 2024 in the footer of all documentation. (by [@imagoiq](https://github.com/imagoiq) with [#2491](https://github.com/swisspost/design-system/pull/2491))

- Fixed links to new icons documentation. (by [@imagoiq](https://github.com/imagoiq) with [#2402](https://github.com/swisspost/design-system/pull/2402))
- Updated dependencies:
- @swisspost/design-system-styles@6.6.0
- @swisspost/design-system-intranet-header@5.0.7

## 7.1.2

### Patch Changes
Expand Down
Loading

0 comments on commit ec2cc23

Please sign in to comment.