Skip to content

Conversation

@swisspost-bot
Copy link
Contributor

@swisspost-bot swisspost-bot commented Nov 17, 2025

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

main is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on main.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@swisspost/[email protected]

Major Changes

  • Updated post-header to prevent unnecessary h-tags. An h-tag can now only be used for the header title in microsite or one-page variants, other elements no longer use h-tags. (by @alizedebray with #6693)

  • Renamed post-tabs parts to avoid naming confusions with other components.

    • ::part(tabs) is now ::part(post-tabs).
    • ::part(content) is now ::part(post-tabs-content). (by @alionazherdetska with #6806)
  • Updated the post-accordion and post-accordion-item styles to fully align with the design specification. As part of this cleanup, the accordion-item part has been removed from post-accordion-item. The component’s styles can now be customized directly by targeting the host or by using the exposed parts for the trigger button and body elements (e.g., ::part(post-accordion-body) { ... }). (by @oliverschuerch with #6676)

  • Added a required caption property to the post-mainnavigation component for the accessible name of the navigation landmark. (by @alionazherdetska with #6841)

  • Renamed slots in the post-header component for improved clarity and consistency. The following slots have been renamed: - target-groupaudience

    • global-controlsglobal-nav-primary
    • meta-navigationglobal-nav-secondary
    • post-language-switchlanguage-menu
    • global-loginpost-login
    • post-mainnavigationmain-nav

    All slot names must be updated in existing implementations to ensure header components render correctly. (by @alionazherdetska with #6780)

  • Renamed post-menu parts to avoid naming confusions with other components.

  • Removed local-controls and navigation-controls slots from the post-header component. Use the new local-nav slot for all application-specific controls. (by @alizedebray with #6747)

  • Renamed language components for improved semantic clarity: - post-language-switchpost-language-menu

    • post-language-optionpost-language-menu-item

    Component tags must be updated accordingly. (by @alionazherdetska with #6773)

  • Simplified the post-footer component by removing the post-list and post-list-item. The footer now only uses simple ul and li tags. (by @leagrdv with #6740)

  • Renamed post-accordion-item parts to avoid naming confusions with other components.

    • ::part(button) is now ::part(post-accordion-button).
    • ::part(body) is now ::part(post-accordion-body). (by @oliverschuerch with #6676)
  • Refactored <post-tabs> component: - Renamed post-tab-header component to post-tab-item

    • Renamed panel property to name in post-tab-item component
    • Renamed name property to for in post-tab-panel component
    • Renamed activePanel property to activeTab in post-tabs component

    BEFORE:

    <post-tabs active-panel="first">
      <post-tab-header panel="first">First tab</post-tab-header>
      <post-tab-header panel="second">Second tab</post-tab-header>
      <post-tab-header panel="third">Third tab</post-tab-header>
    
      <post-tab-panel name="first"> This is the content of the first tab. </post-tab-panel>
      <post-tab-panel name="second"> This is the content of the second tab. </post-tab-panel>
      <post-tab-panel name="third"> This is the content of the third tab. </post-tab-panel>
    </post-tabs>

    AFTER:

    <post-tabs active-tab="first">
      <post-tab-item name="first">First tab</post-tab-item>
      <post-tab-item name="second">Second tab</post-tab-item>
      <post-tab-item name="third">Third tab</post-tab-item>
    
      <post-tab-panel for="first"> This is the content of the first tab. </post-tab-panel>
      <post-tab-panel for="second"> This is the content of the second tab. </post-tab-panel>
      <post-tab-panel for="third"> This is the content of the third tab. </post-tab-panel>
    </post-tabs>
    ``` (by [@alionazherdetska](https://github.com/alionazherdetska) with
    [#6350](https://github.com/swisspost/design-system/pull/6350))

Minor Changes

  • Added navigation variant to the post-tabs component, enabling anchor-based navigation. The component now automatically detects whether post-tab-item elements contain anchor links and switches between panels and navigation variants accordingly. The aria-current="page" attribute must be manually added to the anchor element representing the current page to ensure proper styling and accessibility. (by @alionazherdetska with #6350)

Patch Changes

  • Fixed console error "Cannot read properties of undefined" appearing when using the post-stepper component. (by @alionazherdetska with #6685)

  • Updated the <post-popover-trigger> component, to provide the ability to wrap it around the <post-popover> element, instead of using the id and for attribute references. (by @myrta2302 with #6626)

  • Fixed burger menu scrolling when a navigation megadropdown is open. (by @myrta2302 with #6772)

  • Added High Contrast border around the arrow element used in tooltip and popover components. (by @myrta2302 with #6623)

  • Fixed the post-accordion-item button arrow by rotating it 180 degrees so it meets the design requirements. (by @oliverschuerch with #6676)

  • Updated dependencies:

@swisspost/[email protected]

Major Changes

  • Refactored <post-tabs> component: - Renamed post-tab-header component to post-tab-item

    • Renamed panel property to name in post-tab-item component
    • Renamed name property to for in post-tab-panel component
    • Renamed activePanel property to activeTab in post-tabs component

    BEFORE:

    <post-tabs active-panel="first">
      <post-tab-header panel="first">First tab</post-tab-header>
      <post-tab-header panel="second">Second tab</post-tab-header>
      <post-tab-header panel="third">Third tab</post-tab-header>
    
      <post-tab-panel name="first"> This is the content of the first tab. </post-tab-panel>
      <post-tab-panel name="second"> This is the content of the second tab. </post-tab-panel>
      <post-tab-panel name="third"> This is the content of the third tab. </post-tab-panel>
    </post-tabs>

    AFTER:

    <post-tabs active-tab="first">
      <post-tab-item name="first">First tab</post-tab-item>
      <post-tab-item name="second">Second tab</post-tab-item>
      <post-tab-item name="third">Third tab</post-tab-item>
    
      <post-tab-panel for="first"> This is the content of the first tab. </post-tab-panel>
      <post-tab-panel for="second"> This is the content of the second tab. </post-tab-panel>
      <post-tab-panel for="third"> This is the content of the third tab. </post-tab-panel>
    </post-tabs>
    ``` (by [@alionazherdetska](https://github.com/alionazherdetska) with
    [#6350](https://github.com/swisspost/design-system/pull/6350))

Patch Changes

@swisspost/[email protected]

Major Changes

  • Refactored <post-tabs> component: - Renamed post-tab-header component to post-tab-item

    • Renamed panel property to name in post-tab-item component
    • Renamed name property to for in post-tab-panel component
    • Renamed activePanel property to activeTab in post-tabs component

    BEFORE:

    <post-tabs active-panel="first">
      <post-tab-header panel="first">First tab</post-tab-header>
      <post-tab-header panel="second">Second tab</post-tab-header>
      <post-tab-header panel="third">Third tab</post-tab-header>
    
      <post-tab-panel name="first"> This is the content of the first tab. </post-tab-panel>
      <post-tab-panel name="second"> This is the content of the second tab. </post-tab-panel>
      <post-tab-panel name="third"> This is the content of the third tab. </post-tab-panel>
    </post-tabs>

    AFTER:

    <post-tabs active-tab="first">
      <post-tab-item name="first">First tab</post-tab-item>
      <post-tab-item name="second">Second tab</post-tab-item>
      <post-tab-item name="third">Third tab</post-tab-item>
    
      <post-tab-panel for="first"> This is the content of the first tab. </post-tab-panel>
      <post-tab-panel for="second"> This is the content of the second tab. </post-tab-panel>
      <post-tab-panel for="third"> This is the content of the third tab. </post-tab-panel>
    </post-tabs>
    ``` (by [@alionazherdetska](https://github.com/alionazherdetska) with
    [#6350](https://github.com/swisspost/design-system/pull/6350))

Patch Changes

@swisspost/[email protected]

Major Changes

  • Updated styles for elements slotted in the post-header component. Slotted lists should now omit the .list-inline class and will be automatically styled as part of the post-header.
    Keeping the .list-inline class will cause incorrect spacing between header elements. (by @alizedebray with #6661)

  • Removed the traget-group.css file, target group styles are now bundled with the post-header styles. The .traget-group class no longer exist and the component will only work when placed into a post-header. (by @alizedebray with #6661)

Patch Changes

  • Removed local-controls and navigation-controls slots from the post-header component. Use the new local-nav slot for all application-specific controls. (by @alizedebray with #6747)

  • Simplified the post-footer component by removing the post-list and post-list-item. The footer now only uses simple ul and li tags. (by @leagrdv with #6740)

  • Updated dependencies:

@swisspost/[email protected]

Minor Changes

  • Added icons: 2742, 2743 and 2744 (by @swisspost-bot with #6708)

  • Added icons:

  • Added icons: 2745, 2746, 2747 and 2748 (by @swisspost-bot with #6760)

  • Added icons:

    • adresschange (line & solid): 16, 24, 32, 40, 48 and 64px
    • alcoholicgoods (line & solid): 16, 24, 32, 40, 48 and 64px
    • anchor (line & solid): 16, 24, 32, 40, 48 and 64px
    • animals (line & solid): 16, 24, 32, 40, 48 and 64px
    • artobjects (line & solid): 16, 24, 32, 40, 48 and 64px
    • branchaccesspoint (line & solid): 16, 24, 32, 40, 48 and 64px
    • branchhandover (line & solid): 16, 24, 32, 40, 48 and 64px
    • branchselfservice (line & solid): 16, 24, 32, 40, 48 and 64px
    • busstop (line & solid): 16, 24, 32, 40, 48 and 64px
    • certificate (line & solid): 16, 24, 32, 40, 48 and 64px
    • documentcarnetata (line & solid): 16, 24, 32, 40, 48 and 64px
    • documentofficial (line & solid): 16, 24, 32, 40, 48 and 64px
    • dryice (line & solid): 16, 24, 32, 40, 48 and 64px
    • e (line & solid): 16, 24, 32, 40, 48 and 64px
    • explosives (line & solid): 16, 24, 32, 40, 48 and 64px
    • handsanitizer (line & solid): 16, 24, 32, 40, 48 and 64px
    • horseshoe (line & solid): 16, 24, 32, 40, 48 and 64px
    • lacquer (line & solid): 16, 24, 32, 40, 48 and 64px
    • layers (line & solid): 16, 24, 32, 40, 48 and 64px
    • music (line & solid): 16, 24, 32, 40, 48 and 64px
    • opensource (line & solid): 16, 24, 32, 40, 48 and 64px
    • pobox (line & solid): 16, 24, 32, 40, 48 and 64px
    • plant (line & solid): 16, 24, 32, 40, 48 and 64px
    • preciousmetals (line & solid): 16, 24, 32, 40, 48 and 64px
    • product (line & solid): 16, 24, 32, 40, 48 and 64px
    • relocation (line & solid): 16, 24, 32, 40, 48 and 64px
    • seed (line & solid): 16, 24, 32, 40, 48 and 64px
    • usb (line & solid): 16, 24, 32, 40, 48 and 64px
    • urn (line & solid): 16, 24, 32, 40, 48 and 64px (by @swisspost-bot with #6807)

Patch Changes

  • Updated icons:

  • Updated icons:

    • globemeridian (line): 16px
    • handstop (solid): 16 and 24px
    • heart (solid): 40, 48 and 64px
    • locationfavorite (line): 16px
    • plus (solid): 64px
    • searchmenu (solid): 24, 32, 40, 48 and 64px
    • send (solid): 16px
    • shipmentbroken (solid): 32px
    • tooth (solid): 64px
    • tourlist (solid): 16, 32, 40, 48 and 64px
    • wallet (solid): 16 and 24px (by @swisspost-bot with #6787)
  • Updated icons:

    • brain (line & solid): 16, 24, 32, 40, 48 and 64px
    • documentonenote (line & solid): 16, 24, 32, 40, 48 and 64px
    • linkedin (solid): 16, 24, 32, 40, 48 and 64px
    • mailcarrier (line): 16, 24, 32, 40, 48 and 64px
    • qrcode (line & solid): 16, 24, 32, 40, 48 and 64px
    • snapchat (solid): 16, 24, 32, 40, 48 and 64px
    • streetviewsatellite (line & solid): 16, 24, 32, 40, 48 and 64px
    • streetviewterrain (line & solid): 16, 24, 32, 40, 48 and 64px
    • twitterx (line & solid): 16, 24, 32, 40, 48 and 64px
    • whatsapp (solid): 16, 24, 32, 40, 48 and 64px
    • xing (line & solid): 16, 24, 32, 40, 48 and 64px
    • youtube (solid): 16, 24, 32, 40, 48 and 64px
    • kununu (solid): 16, 24, 32, 40, 48 and 64px (by @swisspost-bot with #6832)

@swisspost/[email protected]

Patch Changes

@swisspost/[email protected]

@swisspost/[email protected]

@swisspost/[email protected]

@swisspost/[email protected]

Major Changes

  • Removed the language switch from the documented components since it belongs to the post-header and should not be used independently. (by @alizedebray with #6622)

  • Renamed post-accordion-item parts to avoid naming confusions with other components.

    • ::part(button) is now ::part(post-accordion-button).
    • ::part(body) is now ::part(post-accordion-body). (by @oliverschuerch with #6676)

Minor Changes

  • Moved the base typography elements into one single Foundations > Typography page and the "Text Highlighted" and "List" elements into the Components folder to align with Figma. (by @bucknatt with #6508)

  • Added navigation variant to the post-tabs component, enabling anchor-based navigation. The component now automatically detects whether post-tab-item elements contain anchor links and switches between panels and navigation variants accordingly. The aria-current="page" attribute must be manually added to the anchor element representing the current page to ensure proper styling and accessibility. (by @alionazherdetska with #6350)

Patch Changes

  • Updated post-header to prevent unnecessary h-tags. An h-tag can now only be used for the header title in microsite or one-page variants, other elements no longer use h-tags. (by @alizedebray with #6693)

  • Improved accessibility by updating minimum font-size to 14px and converting font-size units from px to rem. (by @bucknatt with #5964)

  • Renamed post-tabs parts to avoid naming confusions with other components.

    • ::part(tabs) is now ::part(post-tabs).
    • ::part(content) is now ::part(post-tabs-content). (by @alionazherdetska with #6806)
  • Fixed post-banner becoming unstyled when changing the type control in Storybook. (by @alionazherdetska with #6756)

  • Added a required caption property to the post-mainnavigation component for the accessible name of the navigation landmark. (by @alionazherdetska with #6841)

  • Updated styles for elements slotted in the post-header component. Slotted lists should now omit the .list-inline class and will be automatically styled as part of the post-header.
    Keeping the .list-inline class will cause incorrect spacing between header elements. (by @alizedebray with #6661)

  • Prevented JSON parsing errors by safely handling legacy devModeEnabled values in local storage. (by @leagrdv with #6835)

  • Renamed slots in the post-header component for improved clarity and consistency. The following slots have been renamed: - target-groupaudience

    • global-controlsglobal-nav-primary
    • meta-navigationglobal-nav-secondary
    • post-language-switchlanguage-menu
    • global-loginpost-login
    • post-mainnavigationmain-nav

    All slot names must be updated in existing implementations to ensure header components render correctly. (by @alionazherdetska with #6780)

  • Renamed post-menu parts to avoid naming confusions with other components.

  • Removed local-controls and navigation-controls slots from the post-header component. Use the new local-nav slot for all application-specific controls. (by @alizedebray with #6747)

  • Changed hover background color of buttons in previews for better readability. (by @leagrdv with #6748)

  • Renamed language components for improved semantic clarity: - post-language-switchpost-language-menu

    • post-language-optionpost-language-menu-item

    Component tags must be updated accordingly. (by @alionazherdetska with #6773)

  • Simplified the post-footer component by removing the post-list and post-list-item. The footer now only uses simple ul and li tags. (by @leagrdv with #6740)

  • Added padding in the version selector for better readability. (by @bucknatt with #6698)

  • Updated documentation:

    • Changed the main Figma link in the Introduction page
    • Restored the list of HTML components in the Getting Started > Developer page (by @leagrdv with #6755)
  • Fixed theme in storybook not being added correctly in production mode. (by @leagrdv with #6717)

  • Updated dependencies:

@swisspost/[email protected]

Patch Changes

@swisspost/[email protected]

Patch Changes

@swisspost/[email protected]

Patch Changes

@swisspost/[email protected]

Patch Changes

@swisspost-bot swisspost-bot requested review from a team as code owners November 17, 2025 16:30
@swisspost-bot
Copy link
Contributor Author

swisspost-bot commented Nov 17, 2025

Related Previews

@alizedebray alizedebray removed their request for review November 18, 2025 09:28
@github-actions github-actions bot force-pushed the changeset-release/main branch from 3f4d915 to 0bbac84 Compare November 19, 2025 10:20
@socket-security
Copy link

socket-security bot commented Nov 19, 2025

No dependency changes detected. Learn more about Socket for GitHub.

👍 No dependency changes detected in pull request

@github-actions github-actions bot force-pushed the changeset-release/main branch 17 times, most recently from 2632415 to eb0a268 Compare November 26, 2025 15:00
@github-actions github-actions bot force-pushed the changeset-release/main branch 6 times, most recently from ea9b855 to b905494 Compare November 28, 2025 12:14
@github-actions github-actions bot force-pushed the changeset-release/main branch 16 times, most recently from 2aea75b to 7d9814f Compare December 9, 2025 08:12
@github-actions github-actions bot force-pushed the changeset-release/main branch 12 times, most recently from 323b5c1 to c33eaf4 Compare December 12, 2025 14:53
@github-actions github-actions bot force-pushed the changeset-release/main branch from c33eaf4 to abc0b48 Compare December 12, 2025 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants