Skip to content

Commit

Permalink
Merge branch 'main' into 4250-header-hcm
Browse files Browse the repository at this point in the history
  • Loading branch information
myrta2302 authored Dec 20, 2024
2 parents 56f5ea3 + ede92e4 commit 2ef8d09
Show file tree
Hide file tree
Showing 261 changed files with 2,182 additions and 1,804 deletions.
5 changes: 5 additions & 0 deletions .changeset/big-maps-pay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-documentation': patch
---

Updated header documentation by specifying `post-logo` slot explicitly.
5 changes: 5 additions & 0 deletions .changeset/bright-insects-unite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': patch
---

Switched mega dropdown content to one column on mobile.
5 changes: 5 additions & 0 deletions .changeset/dry-trainers-stare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': patch
---

Fixed opening state of megadropdown trigger and expanded detection.
5 changes: 5 additions & 0 deletions .changeset/early-baboons-cross.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': patch
---

Added a `type="button"` attribute to the `post-close-button` to prevent it from submitting forms.
5 changes: 5 additions & 0 deletions .changeset/early-knives-own.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': patch
---

Removed auto slotting from `post-togglebutton` component to enable more flexible usage.
5 changes: 5 additions & 0 deletions .changeset/flat-badgers-fly.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-styles': patch
---

Fixed alignment of ´form-switch´ label.
5 changes: 5 additions & 0 deletions .changeset/four-beers-leave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-documentation': patch
---

Added scss file import documentation to palette.
5 changes: 5 additions & 0 deletions .changeset/four-jokes-tease.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-styles': patch
---

Added hover styles in high contrast mode for the css components `Button`, `Chip`, `Form Search` and `Button Close`.
7 changes: 7 additions & 0 deletions .changeset/fresh-files-crash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@swisspost/design-system-documentation': patch
'@swisspost/design-system-components': patch
'@swisspost/design-system-styles': patch
---

Removed all usage of deprecated utility sizing classes.
5 changes: 5 additions & 0 deletions .changeset/fresh-schools-peel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-styles': patch
---

Added styles for text links and icon-buttons for Composible Footer in HCM.
6 changes: 6 additions & 0 deletions .changeset/good-spoons-tie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@swisspost/design-system-nextjs-integration': patch
'@swisspost/design-system-documentation': patch
---

Aligned `width` and `height` percentage classes, after utility update.
5 changes: 5 additions & 0 deletions .changeset/metal-geese-swim.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-styles': patch
---

Fixed colors of validation icon in HCM on form elements.
5 changes: 5 additions & 0 deletions .changeset/nice-beans-impress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': patch
---

Removed auto slotting from `post-logo` component to enable more flexible usage.
5 changes: 5 additions & 0 deletions .changeset/olive-squids-enjoy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-styles': patch
---

Fixed card control checkboxes' text color in HCM.
7 changes: 7 additions & 0 deletions .changeset/poor-jars-call.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@swisspost/design-system-documentation': major
'@swisspost/design-system-components': major
'@swisspost/design-system-styles': major
---

Removed `.bg-` classes to define background color of elements.
21 changes: 21 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@
"blue-kings-beg",
"brave-kings-dance",
"breezy-cups-add",
"bright-insects-unite",
"brown-badgers-dream",
"calm-rabbits-pull",
"chatty-kiwis-travel",
"chatty-spoons-unite",
"chilled-owls-walk",
Expand All @@ -47,6 +49,7 @@
"dirty-mayflies-taste",
"dirty-squids-hunt",
"dry-moons-walk",
"dry-trainers-stare",
"dull-falcons-hope",
"eight-turkeys-matter",
"eleven-keys-work",
Expand All @@ -64,13 +67,18 @@
"gold-chairs-grin",
"gold-chefs-rule",
"gold-dryers-drop",
"gold-news-repair",
"gorgeous-flowers-flow",
"gorgeous-glasses-end",
"gorgeous-needles-run",
"great-humans-talk",
"grumpy-lobsters-agree",
"grumpy-parrots-wonder",
"heavy-eyes-live",
"heavy-rats-explode",
"hip-gifts-give",
"honest-numbers-end",
"hungry-penguins-turn",
"itchy-meals-drum",
"khaki-cougars-itch",
"kind-buses-trade",
Expand All @@ -87,11 +95,16 @@
"metal-rivers-look",
"nasty-ads-greet",
"neat-suits-provide",
"nervous-lizards-laugh",
"nervous-rocks-shop",
"new-cougars-count",
"new-goats-impress",
"new-pianos-mix",
"nice-cycles-provide",
"nice-ligers-attend",
"nine-baboons-rule",
"ninety-nails-float",
"old-spiders-travel",
"orange-maps-tan",
"pink-weeks-relate",
"plenty-apricots-raise",
Expand All @@ -108,6 +121,7 @@
"quick-mails-joke",
"quiet-apes-rhyme",
"rare-dryers-count",
"real-gorillas-behave",
"red-cobras-cry",
"red-lies-lick",
"red-moose-do",
Expand All @@ -128,25 +142,32 @@
"slimy-plums-sniff",
"slimy-rockets-pull",
"slow-fishes-reply",
"smooth-bugs-explode",
"soft-moles-whisper",
"soft-pugs-dream",
"strange-bottles-impress",
"strange-mice-bake",
"stupid-walls-tie",
"tame-terms-push",
"tender-laws-confess",
"thirty-cats-juggle",
"three-lies-do",
"tidy-dolls-walk",
"tidy-keys-push",
"tidy-paws-type",
"tiny-socks-count",
"tough-cheetahs-clean",
"tricky-crews-agree",
"twenty-chairs-kick",
"twenty-items-drum",
"violet-poems-attend",
"warm-drinks-prove",
"weak-falcons-study",
"weak-jars-rhyme",
"wild-bugs-work",
"wise-spies-shave",
"wise-tomatoes-brake",
"yellow-gifts-sit",
"yellow-yaks-jog"
]
}
5 changes: 5 additions & 0 deletions .changeset/quiet-dolls-lick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-styles': patch
---

Fixed icon color of banner in high contrast mode.
5 changes: 5 additions & 0 deletions .changeset/quiet-pots-tickle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-documentation': patch
---

Added hint to not use active, disabled chips.
5 changes: 5 additions & 0 deletions .changeset/real-phones-scream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': patch
---

Modified header megadropdown to close when focus is moved outside.
5 changes: 5 additions & 0 deletions .changeset/smooth-spoons-matter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-documentation': patch
---

Updated header documentation by specifying `post-togglebutton` slot explicitly.
6 changes: 6 additions & 0 deletions .changeset/soft-pugs-dream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@swisspost/design-system-documentation': minor
'@swisspost/design-system-styles': minor
---

Updated the utility classes for sizing.
5 changes: 5 additions & 0 deletions .changeset/stale-guests-love.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-styles': major
---

Removed deprecated utility sizing and line-height classes as well as `responsive-size`, `generate-utility-class` and all `bezel-*` mixins.
5 changes: 5 additions & 0 deletions .changeset/violet-geckos-shave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': patch
---

Added hover color to `post-accordion` in high contrast mode.
6 changes: 6 additions & 0 deletions .changeset/violet-poems-attend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@swisspost/design-system-documentation': minor
'@swisspost/design-system-styles': minor
---

Implemented new pixel based sizes.
5 changes: 5 additions & 0 deletions .changeset/warm-walls-stare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-styles': patch
---

Refactored icon declarations to comply with Angular 18's new build system requirements.
5 changes: 5 additions & 0 deletions .changeset/wicked-scissors-buy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': patch
---

Removed focus from collapsible when in collapsed state.
8 changes: 8 additions & 0 deletions packages/components-angular/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @swisspost/design-system-components-angular-workspace

## 1.1.10-next.9

### Patch Changes

- Updated dependencies:
- @swisspost/design-system-components@9.0.0-next.9
- @swisspost/design-system-styles@9.0.0-next.9

## 1.1.10-next.8

### 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.10-next.8",
"version": "1.1.10-next.9",
"scripts": {
"start": "ng serve --port 9210",
"build": "ng build components",
Expand All @@ -18,8 +18,8 @@
"@angular/platform-browser": "18.2.13",
"@angular/platform-browser-dynamic": "18.2.13",
"@angular/router": "18.2.13",
"@swisspost/design-system-components": "workspace:9.0.0-next.8",
"@swisspost/design-system-styles": "workspace:9.0.0-next.8",
"@swisspost/design-system-components": "workspace:9.0.0-next.9",
"@swisspost/design-system-styles": "workspace:9.0.0-next.9",
"rxjs": "7.8.1",
"tslib": "2.6.3",
"zone.js": "0.14.8"
Expand Down
7 changes: 7 additions & 0 deletions packages/components-angular/projects/components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @swisspost/design-system-components-angular

## 9.0.0-next.9

### Patch Changes

- Updated dependencies:
- @swisspost/design-system-components@9.0.0-next.9

## 9.0.0-next.8

### 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": "9.0.0-next.8",
"version": "9.0.0-next.9",
"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:9.0.0-next.8"
"@swisspost/design-system-components": "workspace:9.0.0-next.9"
},
"peerDependencies": {
"@angular/common": "^16.0.0 || ^17.0.0 || ^18.0.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<header class="bg-dark">
<header class="palette-alternate">
<nav class="container py-8">
<ul class="d-flex flex-wrap row-gap-4 column-gap-16 m-0 list-unstyled">
<li *ngFor="let route of navigationRoutes">
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
@use '@swisspost/design-system-styles';
@use '@swisspost/design-system-styles/post-external.scss';
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

## 9.0.0-next.9

### Patch Changes

- Updated dependencies:
- @swisspost/design-system-components@9.0.0-next.9

## 9.0.0-next.8

### 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": "9.0.0-next.8",
"version": "9.0.0-next.9",
"description": "Design System React Components for easy integration with the React ecosystem",
"author": "Swiss Post <[email protected]>",
"license": "Apache-2.0",
Expand Down Expand Up @@ -29,7 +29,7 @@
"lint": "eslint src/**/*.ts"
},
"dependencies": {
"@swisspost/design-system-components": "workspace:9.0.0-next.8"
"@swisspost/design-system-components": "workspace:9.0.0-next.9"
},
"devDependencies": {
"@types/node": "20.14.14",
Expand Down
39 changes: 39 additions & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,44 @@
# @swisspost/design-system-components

## 9.0.0-next.9

### Major Changes

- Updated the `post-togglebutton` component to offer greater flexibility. You can now control the visibility of elements within the `post-togglebutton` using the `data-showwhen="toggled"` and `data-showwhen="untoggled"` attributes. Any content without a `data-showwhen` attribute will always be visible, regardless of the toggle state. (by [@alizedebray](https://github.com/alizedebray) with [#4223](https://github.com/swisspost/design-system/pull/4223))

### Minor Changes

- Added composable footer component. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#4190](https://github.com/swisspost/design-system/pull/4190))

- Added the `post-megadropdown` component. (by [@leagrdv](https://github.com/leagrdv) with [#4177](https://github.com/swisspost/design-system/pull/4177))

- Added the parts `button` and `body` in the `post-accordion-item` component, so one can override styles from the outside. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#4190](https://github.com/swisspost/design-system/pull/4190))

- Added the `post-breadcrumb` component to provide a standalone breadcrumb navigation solution. (by [@alionazherdetska](https://github.com/alionazherdetska) with [#4065](https://github.com/swisspost/design-system/pull/4065))

- Added the css parts `button` and `body` in the `post-accorddion-item` component. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#4190](https://github.com/swisspost/design-system/pull/4190))

- Added the `post-language-switch` component that enables users to change the language of a page. (by [@leagrdv](https://github.com/leagrdv) with [#4044](https://github.com/swisspost/design-system/pull/4044))

### Patch Changes

- Switched mega dropdown content to one column on mobile. (by [@leagrdv](https://github.com/leagrdv) with [#4300](https://github.com/swisspost/design-system/pull/4300))

- Fixed opening state of megadropdown trigger and expanded detection. (by [@leagrdv](https://github.com/leagrdv) with [#4299](https://github.com/swisspost/design-system/pull/4299))

- Fix tab isolation in nested `post-tabs` components by scoping tab queries and interactions to the current instance. (by [@alionazherdetska](https://github.com/alionazherdetska) with [#4211](https://github.com/swisspost/design-system/pull/4211))

- Added a fixed slot `post-list-item` on the `post-list-item` host element, so it is no longer necessary to add it manually. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#4190](https://github.com/swisspost/design-system/pull/4190))

- Fixed the used `headingLevel` in the `post-accorddion-item` component. The component now uses the value from its closest `post-accorddion` parent component, if this is specified and falls back to `h2` if not specified. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#4190](https://github.com/swisspost/design-system/pull/4190))

- Updated the `post-togglebutton` to function like a real button, including support for keyboard navigation and proper focus styles. (by [@alizedebray](https://github.com/alizedebray) with [#4242](https://github.com/swisspost/design-system/pull/4242))

- Fixed an issue with the post-list component where the `horizontal` property could not be set programmatically. Also, reduced the specificity of the component's styles to make customization easier. (by [@alizedebray](https://github.com/alizedebray) with [#4137](https://github.com/swisspost/design-system/pull/4137))
- Updated dependencies:
- @swisspost/design-system-styles@9.0.0-next.9
- @swisspost/design-system-icons@9.0.0-next.9

## 9.0.0-next.8

### Minor Changes
Expand Down
Loading

0 comments on commit 2ef8d09

Please sign in to comment.