Releases: cds-snc/gcds-utility
Releases · cds-snc/gcds-utility
gcds-utility: v1.5.0
1.5.0
Released on 2024-12-05
🚀 New Features
🚨 Breaking changes
As part of ongoing efforts to align with the Canada.ca Specifications, we have made updates to our spacing and typography scales.
These updates were introduced with the latest release of our design tokens.
Spacing changes
- New spacing classes are now available
- The values of all previous classes have changed
margin
padding
We have updated the values of spacing classes. While some classes still remain, their underlying value in rem or pixels have changed. Check the spacing section of our tokens release for the updated pixel values.
Example: If you were previously using mt-400
for margin top 400
it will be updated to 32px
. If you want to keep its previous size of 24px
, you need to change your code to use mt-300
instead. Here is a visual mapping guide to help you identify the values you need to use.
Typography changes
- All
caption
classes have been deprecated and replaced withtext-small
including their variations for all the different viewports and states:-
Old Class New Class .font-caption
.font-text-small
.font-size-caption
.font-size-text-small
.line-caption
.line-text-small
.icon-caption
.icon-text-small
-