@cdssnc/gcds-components-angular
Advanced tools
Changelog
Released on 2024-12-05
We've made small adjustments to all typography and spacing sizes across the design system. GC Design System components are now closer in appearance to their counterparts on Canada.ca.
These updates were introduced with the latest release of our design tokens.
If you are using this package Upgrade your version number to this release version to receive the changes in font sizes, line heights and spacing values.
The valid variables used for the properties in the following components have been updated. While some options remain unchanged, the underlying values they contain (in pixels) have been modified. Check the spacing section of our tokens release for the updated pixel values.
Example: If you were previously using 400
for the margin
property on gcds-container
, it will be updated to 32px
. If you want to keep its previous size of 24px
, you need to change your code to use 300
instead. Here is a visual mapping guide to help you identify the values you need to use.
Only update your code if you use these properties, otherwise the new default values will be applied automatically.
margin
padding
margin-top
margin-bottom
margin-left
margin-right
margin-top
margin-bottom
Only update if you use the caption
value for the size
property in the following components.
Changelog
Released on 2024-11-21