Releases: swisspost/design-system
@swisspost/[email protected]
@swisspost/[email protected]
@swisspost/[email protected]
Major Changes
-
Removed deprecated
valid-tooltip
andinvalid-tooltip
classes. (by @leagrdv with #4076) -
Removed the
rg
andxxl
grid breakpoints, reducing the grid to 5 breakpoints instead of the previous 7. This change affects all CSS classes tied to specific breakpoints (e.g.,col-rg-2
,m-xxl-4
).
Previous Breakpoints:xs: 0px
sm: 400px
rg: 600px
md: 780px
lg: 1024px
xl: 1280px
xxl: 1440px
New Breakpoints:
xs: 0px
sm: 600px
md: 780px
lg: 1024px
xl: 1280px
To maintain compatibility with the updated grid system, you need to update your code by replacing any
*-rg-*
classes with*-sm-*
, and any*-xxl-*
classes with*-xl-*
. For example:col-rg-2
→col-sm-2
m-xxl-4
→m-xl-4
(by @alizedebray with #3982)
-
Removed deprecated
carousel
component. (by @leagrdv with #4075)
Patch Changes
-
Updated the grid padding and gutters. (by @alizedebray with #4045)
-
Updated the styles of the form validation messages to match the new Post design. (by @myrta2302 with #3824)
@swisspost/[email protected]
Patch Changes
- Updated dependencies:
- @swisspost/[email protected]
@swisspost/[email protected]
@swisspost/[email protected]
@swisspost/[email protected]
Patch Changes
- Updated dependencies:
- @swisspost/[email protected]
@swisspost/[email protected]
Minor Changes
- Added a new set of responsive UI icons. These new icons can be used with the
post-icon
component. These new icons will change their shape based on their size: small icons will render with less flourish and are optimised for a smaller pixel grid. (by @oliverschuerch with #3969)
@swisspost/[email protected]
Minor Changes
-
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)
Patch Changes
-
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]
@swisspost/[email protected]
Patch Changes
- Updated dependencies:
- @swisspost/[email protected]
@swisspost/[email protected]
Patch Changes
- Updated dependencies:
- @swisspost/[email protected]
@swisspost/[email protected]
Patch Changes
- Updated dependencies:
- @swisspost/[email protected]