- Removed the
transform
property from the scroll-lockedpost-header
parent, to avoid side effects. Updated the mobile menu of thepost-header
, so it works as before. (by @oliverschuerch with #4957) - Updated dependencies:
- @swisspost/[email protected]
- @swisspost/[email protected]
-
Added a max-height to the
post-megadropdown
on desktop to add scrolling in case its content is bigger than the space available. (by @leagrdv with #4906) -
Replaced usages of
color: inherit
with tokens to improve high contrast mode compatability. (by @schaertim with #4933) -
Adapted the trigger of the
post-popover
component to be able to handle nested elements. (by @schaertim with #4910) -
Improved header accessibility by ensuring that elements which are hidden on scroll get visible again if they receive focus. (by @leagrdv with #4767)
-
Added the CSS variable
--post-popover-max-width
that enables configuring the max-width of thepost-popover
component. (by @leagrdv with #4898) -
Resolved accessibility violations in the
post-language-switch
component by adding the role="menu" to thepost-menu
component. (by @alionazherdetska with #4951) -
Updated dependencies:
- @swisspost/[email protected]
- @swisspost/[email protected]
-
Fixed the gap that appeared between the header and the main navigation when scrolling up. (by @alizedebray with #4810)
-
Fixed text-alignment for
post-language-switch
component to match the design. (by @alionazherdetska with #4759) -
Updated the keydown event handling for
post-megadropdown
component to move focus to the first dropdown element when activated via Space, ensuring consistency with the Enter key behavior. (by @alionazherdetska with #4799) -
Fixed the mobile menu height in the
post-header
component when the scrollable parent is not the document's body. (by @oliverschuerch with #4829) -
Switched the outermost scrollable parent of the
post-header
component from thehtml
to thebody
element. (by @oliverschuerch with #4823) -
Fixed the mobile menu behavior in the
post-header
andpost-megadropdown
components, so the second navigation level is always showing at the correct location in design, no matter if the user has scrolled on the first navigation level. (by @oliverschuerch with #4829) -
Fixed the clipped focus ring on
post-mainnavigation
items ensuring a fully visible and accessible focus state. (by @alionazherdetska with #4808) -
Adjusted
post-tooltip
andpost-popover
positioning by adding a top margin to ensure they do not overlap thepost-header
upon opening. (by @alionazherdetska with #4589) -
Improved the consistency of styles for buttons and links in HCM. (by @leagrdv with #4864)
-
Updated dependencies:
- @swisspost/[email protected]
- @swisspost/[email protected]
-
Removed console.logs out of the post-header component. (by @oliverschuerch with #4817)
-
Fixed post-header component lifecycle hooks and event bindings. (by @oliverschuerch with #4817)
-
Updated dependencies:
- @swisspost/[email protected]
- @swisspost/[email protected]
- Fixed post-header component scrollParent state reset. (by @oliverschuerch with #4815)
- Updated dependencies:
- @swisspost/[email protected]
- @swisspost/[email protected]
- Fixed post-header disconnectCallback, by removing the eventListeners first and reset internal states and the scrollParent element afterwards. (by @oliverschuerch with #4813)
- Updated dependencies:
- @swisspost/[email protected]
- @swisspost/[email protected]
-
Fixed post-header component scrollParent getter function. (by @oliverschuerch with #4811)
-
Fixed calculation of
post-mainnavigation
mobile placement and put back the header border on HCM. (by @leagrdv with #4806) -
Applied styles to the slot title selector rather than
h1
on thepost-header
to have consistent styles whether or noth1
is used. (by @leagrdv with #4782) -
Updated dependencies:
- @swisspost/[email protected]
- @swisspost/[email protected]
-
Fixed wrong implementation of the relative scroll parent of the
post-header
component.` (by @oliverschuerch with #4786) -
Fixed wrong implemented and added missing eventListener removals in the
post-header
component. (by @oliverschuerch with #4786) -
Fixed timeing issue in the calculation of the custom property
--local-header-height
, so it's defined from the very beginning. (by @oliverschuerch with #4786) -
Updated dependencies:
- @swisspost/[email protected]
- @swisspost/[email protected]
-
Updated the icon sizes in the
post-header
and thepost-language-switch
components, to match the design specs. (by @oliverschuerch with #4783) -
Added an initial event to language switch options to get the initially active language option (by @gfellerph with #4788)
-
Updated dependencies:
- @swisspost/[email protected]
- @swisspost/[email protected]
-
Fixed the bug with shifting the
post-language-switch
dropdown to the right on language selection. (by @alionazherdetska with #4751) -
Fixed navigation scrolling in
post-mainnavigation
to ensure scroll buttons persist until the last item is fully visible. (by @schaertim with #4777) -
Prevented slide-down animation for already open
post-megadropdown
component when resizing from mobile/tablet to desktop. (by @alionazherdetska with #4704) -
Disabled body scrolling when mobile navigation is open. (by @myrta2302 with #4775)
-
Updated the
post-megadropdown
to make the list links wrap to the next line when texts are too long. (by @leagrdv with #4778) -
Adjusted the composable header height to match the design specifications. (by @alionazherdetska with #4650)
-
Implemented auto-closing behavior for
post-megadropdown
andpost-mainnavigation
when clicking a link inside them, to prevent navigation elements from remaining open after user interaction. (by @alionazherdetska with #4765) -
Fixed an issue with the language switch active state not highlighting only the active language option. The selector now only targets active options. (by @gfellerph with #4776)
-
Enabled header navigation to scroll when content exceeds available height on mobile & tablet. (by @myrta2302 with #4712)
-
Updated dependencies:
- @swisspost/[email protected]
- @swisspost/[email protected]
-
Fixed an issue with the main navigation where the scroll arrows were always displayed, even when there were no elements to scroll to. (by @alizedebray with #4766)
-
Fixed mobile navigation position and scrolling issues within storybook. (by @myrta2302 with #4738)
-
Updated dependencies:
- @swisspost/[email protected]
- @swisspost/[email protected]
- Updated hover styles for
post-language-switch
andpost-language-option
components. (by @alionazherdetska with #4665) - Updated dependencies:
- @swisspost/[email protected]
- @swisspost/[email protected]
-
Increased gap between header title and local controls in
post-header
. (by @leagrdv with #4739) -
Fixed misaligned second level navigation in the
post-megadropdown
component on desktop. (by @alionazherdetska with #4757) -
Fixed breakpoint utility, by normalizing the read custom-properties. (by @oliverschuerch with #4764)
-
Changed from
vh
to dynamic viewport height (dvh
) unit on post-header to take into account the mobile devices height change. (by @leagrdv with #4747) -
Aligned prop validation throughout the component library. (by @myrta2302 with #4638)
-
Fixed the scroll to top that occurs when opening the
post-megadropdown
on desktop. (by @leagrdv with #4761) -
Updated dependencies:
- @swisspost/[email protected]
- @swisspost/[email protected]
-
Changed list version of
post-language-switch
to always keep the same order ofpost-language-options
. (by @schaertim with #4706) -
Added optional safe triangle and trapezoid to
post-popovercontainer
to improve accessability. (by @schaertim with #4436) -
Enhanced the
post-linkarea
component so that modifier keys (ctrl
,shift
,alt
,meta
) are passed along when clicking the component. (by @alizedebray with #4696) -
Updated the
post-icon
component to make it SSR conform. (by @oliverschuerch with #4697)
-
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. (by @schaertim with #4625) -
Fixed the correct assignment of the expanded attribute in the
post-menu
component, ensuring proper aria-expanded handling in components utilizingpost-menu
, such aspost-language-switch
andpost-breadcrumb
. (by @alionazherdetska with #4661) -
Tokenized the back to top button's shadow. (by @leagrdv with #4641)
-
Cleaned up possible side effects on
post-header
by adding adisconnectedCallback()
function. (by @leagrdv with #4736) -
Duplicated
post-mainnavigation
links' content to avoid layout shift on active elements. (by @leagrdv with #4694) -
Added documentation for the
design-system-components-react
package. (by @leagrdv with #4669) -
Fixed the
post-language-switch
component to support any boolean notation for theactive
attribute onpost-language-option
. (by @alizedebray with #4701) -
Fixed focus order on desktop for
post-megadropdown
component. (by @alionazherdetska with #4379) -
Added high contrast mode styles for header. (by @myrta2302 with #4262)
-
Fixed the animation glitch when switching between megadropdowns. (by @leagrdv with #4723)
-
Fixed the
post-header
component to correctly set the--local-header-height
property. (by @alizedebray with #4746) -
Switched from thrown error to logged errors when
post-list
title is missing. (by @leagrdv with #4725) -
Fixed overflow handling in the main navigation to ensure all navigation items can be accessed. (by @alizedebray with #4666)
-
Added a line separator between the header and the page content. (by @leagrdv with #4637)
-
Removed the custom properties from the
post-header
component styles and moved them to the styles package. This change allows these properties to be accessed before the component is loaded. (by @leagrdv with #4663) -
Updated the post-linkarea component so that it no longer uses the
Window
object. (by @alizedebray with #4696) -
Updated dependencies:
- @swisspost/[email protected]
- @swisspost/[email protected]
- Made it possible to use multiple
post-language-switch
components in thepost-header
component. Fixed language switch options being wrapped to multiple lines on mobile. (by @oliverschuerch with #4674)
- Updated styles for the header main navigation and mega dropdown elements. (by @leagrdv with #4621)
- Updated dependencies:
- @swisspost/[email protected]
- @swisspost/[email protected]
- 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. (by @alizedebray with #4645)
- Updated dependencies:
- @swisspost/[email protected]
- @swisspost/[email protected]
- Updated language switch behavior. (by @myrta2302 with #4376)
-
Updated the URL check on the post-logo component. It now also accepts relative URLs as valid props. (by @gfellerph with #4616)
-
Removed megadropdown animation when another one is already opened. (by @leagrdv with #4627)
-
Fixed
post-logo
from disappearing onpost-header
scroll. (by @alionazherdetska with #4606) -
Fixed the
--main-header-height
custom property forpost-header
component, which was previously undefined on initial load. (by @alionazherdetska with #4614) -
Updated dependencies:
- @swisspost/[email protected]
- @swisspost/[email protected]
- Fixed an occurence of
aria-role
which should be declared asrole
on the<post-language-switch>
(by @gfellerph with #4598) - Updated dependencies:
- @swisspost/[email protected]
- @swisspost/[email protected]
-
Improved main navigation overflow display. (by @alizedebray with #4273)
-
Removed
post-popovercontainer
from thepost-megadropdown
component and added desktop animations with new slide-down and slide-up effects. (by @alionazherdetska with #4421) -
Added the
post-linkarea
component. (by @veyaromain with #4030)
-
Removed nav for
post-header
component causing blank space on scroll for screens <1025px. (by @alionazherdetska with #4532) -
Added z-index to the
post-header
component to display it on top of other contents. (by @leagrdv with #4367) -
Fixed header mobile menu behavior by trapping the focus within it when opened as well as making it scrollable. (by @leagrdv with #4395)
-
Updated dependencies:
- @swisspost/[email protected]
- @swisspost/[email protected]
-
Replaced previously deleted CSS variables with SASS variables. (by @leagrdv with #4446)
-
Added shadow to an optional tooltip arrow for
post-popover
component. (by @alionazherdetska with #4441) -
Fixed
post-icon
calculated base href. (by @leagrdv with #4491) -
Fixed display of
post-megadropdown
in header. (by @leagrdv with #4350) -
Fixed the way the icon url gets generated in the
post-icon
component. (by @oliverschuerch with #4351) -
Updated dependencies:
- @swisspost/[email protected]
- @swisspost/[email protected]
- Positioned the
post-collapsible
host relative so every not static positioned element within uses it as its base render context and therefore gets clipped as it should. (by @oliverschuerch with #4478) - Updated dependencies:
- @swisspost/[email protected]
- @swisspost/[email protected]
-
Fixed a typo in the
post-accordion-item
component. (by @schaertim with #4391) -
Added focus styles for the
post-logo
component, which contains a link, to improve accessibility. (by @alionazherdetska with #4462) -
Updated dependencies:
- @swisspost/[email protected]
- @swisspost/[email protected]
-
Renamed the "dropdown" variant to "menu" for the
post-language-switch
andpost-language-option
components. (by @leagrdv with #4260) -
Removed
.bg-
classes to define background color of elements. (by @leagrdv with #4201)
-
Removed the dependency on utility classes in
post-header
component. The header can now be used without importing CSS utility classes. (by @leagrdv with #4358) -
Updated the documentation of the Post header. (by @leagrdv with #4408)
-
Added a
type="button"
attribute to thepost-close-button
to prevent it from submitting forms. (by @schaertim with #4332) -
Removed auto slotting from
post-togglebutton
component to enable more flexible usage. (by @schaertim with #4346) -
Removed all usage of deprecated utility sizing classes. (by @leagrdv with #4343)
-
Reduced the length of random IDs generated in the components; they are now generated using the nanoid library instead of the Web Crypto API. (by @leagrdv with #4369)
-
Updated style and keyboard navigation of
post-language-switch
. (by @leagrdv with #4260) -
Removed auto slotting from
post-logo
component to enable more flexible usage. (by @schaertim with #4345) -
Modified header megadropdown to close when focus is moved outside. (by @myrta2302 with #4324)
-
Updated header overflow in tablet and mobile for long application titles. (by @leagrdv with #4364)
-
Added hover color to
post-accordion
in high contrast mode. (by @schaertim with #4316) -
Removed focus from collapsible when in collapsed state. (by @myrta2302 with #4309)
-
Updated dependencies:
- @swisspost/[email protected]
- @swisspost/[email protected]
- Updated the
post-togglebutton
component to offer greater flexibility. You can now control the visibility of elements within thepost-togglebutton
using thedata-showwhen="toggled"
anddata-showwhen="untoggled"
attributes. Any content without adata-showwhen
attribute will always be visible, regardless of the toggle state. (by @alizedebray with #4223)
-
Added composable footer component. (by @oliverschuerch with #4190)
-
Added the
post-megadropdown
component. (by @leagrdv with #4177) -
Added the parts
button
andbody
in thepost-accordion-item
component, so one can override styles from the outside. (by @oliverschuerch with #4190) -
Added the
post-breadcrumb
component to provide a standalone breadcrumb navigation solution. (by @alionazherdetska with #4065) -
Added the css parts
button
andbody
in thepost-accorddion-item
component. (by @oliverschuerch with #4190) -
Added the
post-language-switch
component that enables users to change the language of a page. (by @leagrdv with #4044)
-
Switched mega dropdown content to one column on mobile. (by @leagrdv with #4300)
-
Fixed opening state of megadropdown trigger and expanded detection. (by @leagrdv with #4299)
-
Fix tab isolation in nested
post-tabs
components by scoping tab queries and interactions to the current instance. (by @alionazherdetska with #4211) -
Added a fixed slot
post-list-item
on thepost-list-item
host element, so it is no longer necessary to add it manually. (by @oliverschuerch with #4190) -
Fixed the used
headingLevel
in thepost-accorddion-item
component. The component now uses the value from its closestpost-accorddion
parent component, if this is specified and falls back toh2
if not specified. (by @oliverschuerch with #4190) -
Updated the
post-togglebutton
to function like a real button, including support for keyboard navigation and proper focus styles. (by @alizedebray with #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 with #4137) -
Updated dependencies:
- @swisspost/[email protected]
- @swisspost/[email protected]
-
Ιmplemented the back-to-top button component. (by @myrta2302 with #3991)
-
Added the capability to use a slotted img as a logo inside ´accordion-items´. (by @leagrdv with #4166)
- Updated dependencies:
- @swisspost/[email protected]
- @swisspost/[email protected]
-
Added the
post-togglebutton
component. (by @veyaromain with #3889) -
Refactored
post-icon
component to use the<use>
tag to load and show icons under the hood. This enables responsive icons, enables better caching and improves render performance slightly. There is no further action required. (by @oliverschuerch with #3969)
-
Fixed bug that showed delayed tooltip even after blur event. (by @leagrdv with #4053)
-
Made
post-icon
component use base tag href to define location of icons folder. (by @leagrdv with #4069) -
Updated dependencies:
- @swisspost/[email protected]
-
Renamed the alert component to banner and updated the styles of banner and toast components. The class
.alert
is still supported for now but is deprecated and will be removed in v10. Changed web component<post-alert>
to<post-banner>
. Additionally, the classes.{toast|alert}-primary
,.{toast|alert}-gray
and.toast-notification
have been deprecated. (by @leagrdv with #3862) -
Removed the
alert-fixed-bottom
variant of the alert. (by @leagrdv with #3862)
- Updated dependencies:
- @swisspost/[email protected]
-
Added a provisional post-header component with some basic functionality in place. This component is not finished in this state. (by @gfellerph with #3837)
-
Added new Menu Button components (post-menu-button, post-menu-trigger, and post-menu-item) for creating accessible dropdown menus. (by @alionazherdetska with #3795)
- Updated dependencies:
- @swisspost/[email protected]
- Removed the
.breadcrumb-item
class, which previously handled styling for breadcrumb items. Introduced a newpost-breadcrumb-item
that should be used in place of the.breadcrumb-item
class. (by @alionazherdetska with #3659)
-
Created the
post-list
andpost-list-item
components. (by @myrta2302 with #3812)
- Fixed an issue with the post-collapsible throwing an invalid selector error. (by @alizedebray with #3726)
- Updated dependencies:
- @swisspost/[email protected]
- Switched stencil hydrated flag from class (
hydrated
) to attribute (data-hydrated
). This flag indicates when a component finished rendering on the page. If your tests relied on the class being present, please rewrite the selector to use the new attribute selector. (by @oliverschuerch with #3783)
-
Added the post-language-option component, a header component made to enable users to select their preferred language. (by @alizedebray with #3802)
-
Added component
post-avatar
to show an avatar, based on different possible input data (gravatar by email, initials by first- and/or lastname, fallback). (by @oliverschuerch with #3352)
-
Made the ´´ visually hidden for tooltips to fix accessability issue. (by @schaertim with #3619)
-
Fixed the
post-card-control
label read twice by screen readers. (by @myrta2302 with #3625) -
Fixed an issue with property validation where some checks were run before the framework had the chance to add computed properties (for example Angular bindings like
[for]="$id"
). The checks are now delayed to work around this issue. (by @gfellerph with #3775) -
Updated dependencies:
- @swisspost/[email protected]
- Updated dependencies:
- @swisspost/[email protected]
- Made the heading-level property required for the accordion and removed it from the accordion-item docs. (by @schaertim with #3383)
-
Fixed a bug in nested accordions where closing a child item unintentionally closed all parent accordion elements. (by @schaertim with #3427)
-
Fixed an issue related to conflicting pointer and focus events hiding the tooltip unexpectedly in some situations. The tooltip now behaves as expected in this situation. (by @alionazherdetska with #3592)
-
Updated dependencies:
- @swisspost/[email protected]
- Updated dependencies:
- @swisspost/[email protected]
- Added the post-logo component, which enables displaying the Post's logo either as a clickable link or as a simple image. (by @oliverschuerch with #3477)
-
Fixed the
post-card-control
component to use the correct color scheme when placed on nested colored backgrounds. (by @oliverschuerch with #3477) -
Simplified individual web component imports. (by @oliverschuerch with #3477)
-
Fixed the post-tabs component throwing an error when imported individually. (by @oliverschuerch with #3477)
-
Updated dependencies:
- @swisspost/[email protected]
- Updated dependencies:
- @swisspost/[email protected]
- Updated dependencies:
- @swisspost/[email protected]
- Added the slot="tabs" attribute on the post-tab-header per default. (by @davidritter-dotcom with #3282)
- Fixed a bug with the post-collapsible-trigger imports (by @oliverschuerch with #3302)
- Updated dependencies:
- @swisspost/[email protected]
- Updated dependencies:
- @swisspost/[email protected]
-
Added an invalid message for the card-control component and an icon in the invalid message of the checkbox and radio button (by @davidritter-dotcom with #2978)
-
Added a
delayed
property to thepost-tooltip
component to allow delaying its display for a few milliseconds after it is triggered. (by @alizedebray with #3245) -
Added a
post-collapsible-trigger
component to properly handle the role, ARIA attributes, and event listeners for elements that toggle apost-collapsible
. (by @alizedebray with #3209)
-
Fixed an issue with popovers on Firefox ESR that unexpectedly closed popovers when clicking on content. (by @gfellerph with #3211)
-
Prevent the
post-tabs
component from triggering apost Change
event before it is loaded. (by @alizedebray with #3247) -
Updated dependencies:
- @swisspost/[email protected]
- Updated dependencies:
- @swisspost/[email protected]
- Fixed a warning on the tooltip when the id was bound using Angular, the ID check now runs at a later stage in the component lifecycle, giving Angular enough time to set the attribute. (by @gfellerph with #3155)
- Updated dependencies:
- @swisspost/[email protected]
- Added a
heading-level
property on thepost-accordion
component to set the heading level of allpost-accordion-item
children at once. (by @alizedebray with #3104)
-
Fixed grid-area behaviour in card-control component, if used without any icon. (by @oliverschuerch with #3099)
-
Merged the card-control, checkbox-card and radio button card docs pages and updated the choice-card-control styles. (by @alizedebray with #3104)
-
Fixed high-contrast-mode for card-control component. (by @alizedebray with #3104)
-
Fixed the
post-accordion-item
chevron no longer rotating. (by @alizedebray with #3104) -
Updated dependencies:
- @swisspost/[email protected]
-
Synchronized the versions of the following packages:
- @swisspost/design-system-styles
- @swisspost/design-system-components
- @swisspost/design-system-components-react
- @swisspost/design-system-components-angular
- @swisspost/design-system-migrations
- @swisspost/design-system-icons
- @swisspost/design-system-intranet-header
This will help understanding the dependencies between these packages at a glance but also means that for the individual pacakges, semver is no longer being used. This enables us also to talk about and document Design System versions as a whole instead of documenting the fragmented versions in a complex lookup table. (by @gfellerph with #2856)
-
Updated the package entry properties in the package.json to the by stencil recommended files:
- Updated the
main
property fromloader/index.cjs.js
todist/index.cjs.js
- Updated the
module
property fromloader/index.js
todist/loader.js
- Updated the
types
property fromloader/index.d.ts
todist/types/index.d.ts
- Removed the
es2017
property
The usage of the
@swisspost/design-system-components/loader
entry files are still available and should be used to get the lazy-loaded components. (by @oliverschuerch with #2886) - Updated the
-
Prefixed all web-component custom-events with the keyword
post
.- Changed
post-alert
componentdismissed
event topostDismissed
. - Changed
post-card-control
componentinput
andchange
events topostInput
andpostChange
. - Changed
post-collapsible
componentcollapseChange
event topostToggle
. - Changed
post-rating
componentinput
andchange
events topostInput
andpostChange
. - Changed
post-tabs
componenttabChange
event topostChange
. (by @oliverschuerch with #2874)
- Changed
-
Added a new
tag
component. This component is available in standard HTML or as webcomponent. (by @b1aserlu with #2552) -
Added a new web-component
post-card-control
, which works like a nativeinput[type="checkbox"]
orinput[type="radio"]
but with a custom visual design. (by @oliverschuerch with #2260) -
Added the new default slot, to allow the integration of custom HTML in the card-control component. (by @oliverschuerch with #2844)
-
Fixed accessibility of aria controls through post-tabs components. (by @imagoiq with #2777)
-
Fixed post-tooltip that doesn't show up when the pointer is on a child element (like an icon). (by @imagoiq with #2814)
-
Fixed Collapsible and Accordion element's content which is displayed when hidden on Webkit/Safari. (by @imagoiq with #2963)
-
Added new black and white alpha colors. Replaced hardcoded alpha colors with the new color definitions in
card-control
component. (by @oliverschuerch with #2861) -
Updated Sass color variables: - Removed variables
$success-green
,$error-red
,$warning-orange
,$success-text
,$error-text
,$danger
as well as the Sass map$contextual-colors
. Instead use the variables$success
,$error
,$warning
and the Sass map$signal-colors
.- Updated the Sass map
$signal-colors
keys and added a new Sass map$signal-background-colors
. - Updated the Sass map
$background-colors
and all the dependant packages accordingly.
With the exception of the components
notification
,toast
andtag
, there is no component providing adanger
variant anymore. Instead use theerror
variant. (by @oliverschuerch with #2861) - Updated the Sass map
-
Updated dependencies:
- @swisspost/[email protected]
- Added a new rating web-component. (by @davidritter-dotcom with #2411)
- Updated dependencies:
- @swisspost/[email protected]
-
Improved display of tooltip arrow in high contrast mode. (by @imagoiq with #2697)
-
Fixes an issue with the post-popover component that stopped working once trigger buttons were removed from the page or new trigger buttons were added to the page asynchronously. (by @gfellerph with #2695)
-
Updated dependencies:
- @swisspost/[email protected]
-
Fixed double lines between accordion items on chrome/safari. (by @imagoiq with #2615)
-
Fixed two issues with tooltips and Angular integration. Tooltips are now being displayed on buttons that are added to the DOM asynchronously and tooltip elements are no longer duplicated on route change. (by @gfellerph with #2621)
-
Updated dependencies:
- @swisspost/[email protected]
- Updated dependencies:
- @swisspost/[email protected]
-
Restricted
post-collapsible
to collapse behaviour only. The component remains unchanged when used with external controls, however, it no longer has aheader
slot.Before:
<post-collapsible collapsed="" headingLevel="6"> <span slot="header">Titulum</span> <p>Contentus momentus vero siteos et accusam iretea et justo.</p> </post-collapsible>
After:
<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 with #2379)
- Updated the tooltip
min-height
andmax-width
and added a new property arrow to the tooltip, that defines wheter or not the pointer arrow is displayed. (by @b1aserlu with #2394)
-
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 with #2379)
-
Added a payload to the
collapseChange
event of thepost-collapsible
component. This payload is a boolean:true
if the collapsible was opened,false
if it was closed. (by @alizedebray with #2379) -
Updated dependencies:
- @swisspost/[email protected]
- Enabled import injection for components. This fixes an issue with importing dynamically loaded web components with the vite compiler for storybook. (by @gfellerph with #2448)
- Added the
post-popover
component. This component can display text and interactive elements in a popover in front of the page content. (by @gfellerph with #2109)
- Updated dependencies:
- @swisspost/[email protected]
- Defined @stencil/core and @stencil/store as a devDependency to avoid compatibilities issues. (by @imagoiq with #2313)
- Updated dependencies:
- @swisspost/[email protected]
- Updated dependencies:
- @swisspost/[email protected]
- Reverted #2152 because of an issue with importing the internet headers
defineCustomElements
. (by @gfellerph with #2208) - Updated dependencies:
- @swisspost/[email protected]
-
Added component exports to the src/index.ts files, to include them in the dist/index.js and dist/index.esm.js output files and therefore fix our stencil setup. (by @oliverschuerch with
f74c9662
) -
Added a
post-collapsible
event emitted when the collapse element is shown or hidden. (by @alizedebray with #2079) -
Added the
post-accordion
component. (by @alizedebray with #2079)
- Upgraded builder Stenciljs from version 3 to 4. No user visible changes are expected. (by @imagoiq with #2116)
- Updated dependencies:
- @swisspost/[email protected]
-
Fixed misplaced custom icons in “post-alert” elements with actions. (by @alizedebray with #2094)
-
Updated the keyboard navigation on the
post-tabs
component. (by @alizedebray with #2093) -
Fixed tabs count announcement with VoiceOver. (by @imagoiq with #2047)
-
Updated dependencies:
- @swisspost/[email protected]
-
Added the
post-tooltip
component. (by @gfellerph with #1879) -
Created the web component variant for the alert component. (by @alizedebray with #1085)
- Updated dependencies:
- @swisspost/[email protected]
- Added a new post-tabs component. (by @alizedebray with #1181)
- Updated dependencies:
- @swisspost/[email protected]
- Fixed collapsible/accordion styles that broke after Bootstrap removed several CSS custom properties. (by @alizedebray with #1324)
- Updated dependencies:
- @swisspost/[email protected]
- Fixed broken and outdated output structure of stencil build. (by @oliverschuerch with #1611)
- Updated dependencies:
- @swisspost/[email protected]
- Updated dependencies:
- @swisspost/[email protected]
- Updated dependencies:
- @swisspost/[email protected]
-
Fixed broken links to the storybook documentation. (by @alizedebray with #1514)
-
Reintegrated mistakenly removed inline-styles into the
post-icon
component. Animations and scale modifiers now work as expected again. (by @oliverschuerch with #1531) -
Implemented a workaround for the crossorigin problem in the
post-icon
component. Icons can now be loaded from cross-origin if the correctimg-src
is set in your CORS policy. (by @oliverschuerch with #1531) -
Updated dependencies:
- @swisspost/[email protected]
- Refactored the
post-icon
icon loading mechanism. The same icon will no longer be loaded multiple times. (by @oliverschuerch with #1485) - Updated dependencies:
- @swisspost/[email protected]
- Updated the flip-v/flip-h properties of the
<post-icon>
component to corectly work with boolean inputs. (by @oliverschuerch with #1312)
-
Fixed package dependencies. Moved dependencies that are not being used in production to devDependencies in order to simplify and speed up the package install process. (by @gfellerph with #1289)
-
Fixed the
post-icon
component to ensure that the icon is properly updated every time the value of the "name" property changes at runtime. (by @oliverschuerch with #1310)
- Updated dependencies:
- @swisspost/[email protected]
- Reverted the update to Bootstrap 5.2 and Angular 15. This update should have been a major release and will be re-released as such as soon as possible. (by @gfellerph with #1207)
- Updated dependencies:
- @swisspost/[email protected]
- Major dependency update. The following versions are now supported:
- Angular 15
- Bootstrap 5.2.3
- ng-bootstrap 14 (by @oliverschuerch with #1146)
- Updated dependencies:
- @swisspost/[email protected]
- Added an icon component that works together with @swisspost/design-system-icons for rendering any Post icon as an SVG. (by @gfellerph with #933)
- Updated dependencies:
- @swisspost/[email protected]
- Created a collapsible component. (by @alizedebray with #683)
- Updated dependencies:
- @swisspost/[email protected]
- Updated dependencies:
- @swisspost/[email protected]
- Updated dependencies:
- @swisspost/[email protected]
- Updated dependencies:
- @swisspost/[email protected]
- Updated dependencies:
- @swisspost/[email protected]
- Updated dependencies:
- @swisspost/[email protected]
- Updated dependencies:
- @swisspost/[email protected]
- Updated dependencies:
- @swisspost/[email protected]