Skip to content

Commit

Permalink
Merge branch 'main' into tokens/v2-2025-02
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverschuerch committed Mar 3, 2025
2 parents 5bbdb47 + 7f891ca commit 67df1ec
Show file tree
Hide file tree
Showing 428 changed files with 8,057 additions and 4,524 deletions.
5 changes: 5 additions & 0 deletions .changeset/big-peaches-matter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-documentation': minor
---

Added docs page for the new `.section` css component.
5 changes: 5 additions & 0 deletions .changeset/blue-eyes-sip.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': patch
---

Improved keyboard navigation for the `post-megadropdown` by focusing on the first element when it is opened with the Enter key and returning the focus to the trigger when it is closed.
5 changes: 5 additions & 0 deletions .changeset/brave-oranges-check.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-documentation': patch
---

Updated the migrations documentation for v9.
5 changes: 5 additions & 0 deletions .changeset/chatty-cats-swim.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-styles': patch
---

Included the `post-linkarea` component in the `not-defined.scss` file.
6 changes: 6 additions & 0 deletions .changeset/chatty-toes-shop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@swisspost/design-system-components': patch
'@swisspost/design-system-styles': patch
---

Increased gap between header title and local controls in `post-header`.
5 changes: 5 additions & 0 deletions .changeset/chatty-waves-repeat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': patch
---

Fixed misaligned second level navigation in the `post-megadropdown` component on desktop.
7 changes: 7 additions & 0 deletions .changeset/chilled-penguins-breathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@swisspost/internet-header': major
'@swisspost/design-system-documentation': major
'@swisspost/design-system-styles': major
---

Removed deprecated legacy utility classes.
5 changes: 5 additions & 0 deletions .changeset/chilly-onions-compare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': patch
---

Fixed post-header component scrollParent getter function.
5 changes: 5 additions & 0 deletions .changeset/clean-cherries-tickle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': patch
---

Fixed the bug with shifting the `post-language-switch` dropdown to the right on language selection.
5 changes: 5 additions & 0 deletions .changeset/clever-cups-search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': patch
---

Fixed the correct assignment of the expanded attribute in the `post-menu` component, ensuring proper aria-expanded handling in components utilizing `post-menu`, such as `post-language-switch` and `post-breadcrumb`.
5 changes: 5 additions & 0 deletions .changeset/clever-years-sparkle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-tokens': minor
---

Added a new output that includes utility tokens as Sass maps, enabling direct iteration to generate utility classes.
1 change: 0 additions & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"@swisspost/design-system-components-react",
"@swisspost/design-system-intranet-header",
"@swisspost/design-system-icons",
"@swisspost/design-system-migrations",
"@swisspost/design-system-styles-primeng"
]
],
Expand Down
5 changes: 5 additions & 0 deletions .changeset/cool-queens-bake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': patch
---

Tokenized the back to top button's shadow.
6 changes: 6 additions & 0 deletions .changeset/curly-pets-jam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@swisspost/design-system-components': patch
'@swisspost/design-system-styles': patch
---

Fixed breakpoint utility, by normalizing the read custom-properties.
6 changes: 6 additions & 0 deletions .changeset/dry-pears-fry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@swisspost/design-system-documentation': minor
'@swisspost/design-system-styles': patch
---

Internalized Bootstrap `.text-truncate` class into the Design System.
5 changes: 5 additions & 0 deletions .changeset/eight-ants-warn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': patch
---

Fixed an issue with the main navigation where the scroll arrows were always displayed, even when there were no elements to scroll to.
5 changes: 5 additions & 0 deletions .changeset/fast-humans-jog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': minor
---

Changed list version of `post-language-switch` to always keep the same order of `post-language-options`.
5 changes: 5 additions & 0 deletions .changeset/flat-candles-bathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-styles': major
---

Removed z-index scss variables that were no longer necessary as they had been replaced with popover elements.
5 changes: 5 additions & 0 deletions .changeset/fresh-hats-do.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': patch
---

Cleaned up possible side effects on `post-header` by adding a `disconnectedCallback()` function.
5 changes: 5 additions & 0 deletions .changeset/funny-goats-walk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': patch
---

Fixed navigation scrolling in `post-mainnavigation` to ensure scroll buttons persist until the last item is fully visible.
5 changes: 5 additions & 0 deletions .changeset/gentle-ads-end.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': patch
---

Duplicated `post-mainnavigation` links' content to avoid layout shift on active elements.
5 changes: 5 additions & 0 deletions .changeset/gentle-jeans-raise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': patch
---

Updated the URL check on the post-logo component. It now also accepts relative URLs as valid props.
6 changes: 6 additions & 0 deletions .changeset/gentle-seahorses-whisper.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@swisspost/design-system-components': patch
'@swisspost/design-system-styles': patch
---

Fixed calculation of `post-mainnavigation` mobile placement and put back the header border on HCM.
6 changes: 6 additions & 0 deletions .changeset/giant-donkeys-look.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@swisspost/design-system-components': patch
'@swisspost/design-system-styles': patch
---

Updated styles for the header main navigation and mega dropdown elements.
5 changes: 5 additions & 0 deletions .changeset/gold-beans-scream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': minor
---

Added optional safe triangle and trapezoid to `post-popovercontainer` to improve accessability.
5 changes: 5 additions & 0 deletions .changeset/gorgeous-mugs-train.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': patch
---

Updated hover styles for `post-language-switch` and `post-language-option` components.
5 changes: 5 additions & 0 deletions .changeset/grumpy-bears-fail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': patch
---

Moved the border styles for the post-accordion-item from the host to an inner element within the shadow DOM to prevent conflicts with external document styles.
5 changes: 5 additions & 0 deletions .changeset/grumpy-rats-attend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-documentation': patch
---

Moved `Heading` documentation from components to typography section.
5 changes: 5 additions & 0 deletions .changeset/heavy-candles-flash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': minor
---

Enhanced the `post-linkarea` component so that modifier keys (`ctrl`, `shift`, `alt`, `meta`) are passed along when clicking the component.
5 changes: 5 additions & 0 deletions .changeset/heavy-tips-share.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': patch
---

Removed megadropdown animation when another one is already opened.
5 changes: 5 additions & 0 deletions .changeset/khaki-cars-smell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-styles': patch
---

Updated `post-header` styles to hide horizontal overflow on desktop only.
5 changes: 5 additions & 0 deletions .changeset/large-apples-clap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-documentation': patch
---

Fixed tabs in documentation pages.
5 changes: 5 additions & 0 deletions .changeset/large-poems-dream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': patch
---

Prevented slide-down animation for already open `post-megadropdown` component when resizing from mobile/tablet to desktop.
5 changes: 5 additions & 0 deletions .changeset/lemon-walls-do.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': patch
---

Disabled body scrolling when mobile navigation is open.
5 changes: 5 additions & 0 deletions .changeset/little-cars-unite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-styles': patch
---

Updated validation styles to be applied to all input types.
6 changes: 6 additions & 0 deletions .changeset/metal-points-shave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@swisspost/design-system-components': patch
'@swisspost/design-system-styles': patch
---

Updated the icon sizes in the `post-header` and the `post-language-switch` components, to match the design specs.
5 changes: 5 additions & 0 deletions .changeset/moody-papayas-brush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': patch
---

Updated the `post-megadropdown` to make the list links wrap to the next line when texts are too long.
5 changes: 5 additions & 0 deletions .changeset/nasty-plants-shop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': patch
---

Added documentation for the `design-system-components-react` package.
5 changes: 5 additions & 0 deletions .changeset/neat-planets-return.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': patch
---

Adjusted the composable header height to match the design specifications.
5 changes: 5 additions & 0 deletions .changeset/nervous-months-smash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': patch
---

Implemented auto-closing behavior for `post-megadropdown` and `post-mainnavigation` when clicking a link inside them, to prevent navigation elements from remaining open after user interaction.
5 changes: 5 additions & 0 deletions .changeset/nervous-rice-fly.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': patch
---

Changed from `vh` to dynamic viewport height (`dvh`) unit on post-header to take into account the mobile devices height change.
5 changes: 5 additions & 0 deletions .changeset/new-chicken-look.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': patch
---

Aligned prop validation throughout the component library.
5 changes: 5 additions & 0 deletions .changeset/nine-cougars-listen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': patch
---

Fixed post-header component scrollParent state reset.
5 changes: 5 additions & 0 deletions .changeset/odd-llamas-rescue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': patch
---

Fixed the `post-language-switch` component to support any boolean notation for the `active` attribute on `post-language-option`.
5 changes: 5 additions & 0 deletions .changeset/old-fireants-arrive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': minor
---

Updated the `post-icon` component to make it SSR conform.
6 changes: 6 additions & 0 deletions .changeset/plenty-melons-brake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@swisspost/design-system-documentation': patch
'@swisspost/design-system-components': patch
---

Fixed mobile navigation position and scrolling issues within storybook.
5 changes: 5 additions & 0 deletions .changeset/plenty-paws-run.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-documentation': patch
---

Removed `form-check.scss` import suggestions from documentation.
Loading

0 comments on commit 67df1ec

Please sign in to comment.