v14.5.0
Before you upgrade, please take note of any breaking changes and deprecation notices which may affect your site. View the Upgrade Guide to see examples of how to address breaking changes.
New features ✨
<header class="image">
<div class="blurred-50">
...
</div>
</header>
- new Grid classes to span
cellsover multiplecolumns-.grid__cell--span-2,.grid__cell--span-3, and.grid__cell--span-4#848
<div class="grid grid--cols-3">
<div class="grid__cell grid__cell--span-2"></div>
<div></div>
</div>
- new
gridmixin to enable oldercomponentsto use thegrid#848
.component {
@mixin grid;
@mixin grid-3-cols;
}
- new
grid-cell-span-2,grid-cell-span-3, andgrid-cell-span-4mixins to enable oldercomponentsto span multiplecolumns#848
.component {
@mixin grid;
@mixin grid-3-cols;
&:first-child {
@mixin grid-cell-span-2;
}
}
Bug fixes 🐛
- Styled Table now
retainsa default white background colour when it'snestedinside anelementwith the.alt, or.bg-altclass #838 - Buttons containing a
linkto anemailaddress now have the sameline-heightas otherbuttons#840 tablesnested inside Event Details now have the correctmax-widthandmarginset #841- Text helpers now ensure their
propertieshaveprecedenceover everything else #843
Deprecation notice⚠️
- removed
.blackTabs variation as it was almost identical to theAlternate tab colourvariation. It now defaults to thedefaultvariation #847 .grid--fill-firstand.grid--fill-lastclasses have beendeprecatedand will be removed in a later version..grid__cell--span-[2,3,4]can be used in its place #848.grid--rowhas been removed as the Grid still functionscorrectlywithout it #848
Other changes
- refactored Grid from
flexboxtogridto allow moreflexibilitywith the gridcolumns#848 - updated
grid-4-colsmixinbreakpointto match other mixins #848 - updated Grid, Cards,
Injected Footer, and Theme pages to use.grid__cell#848 - refactored
Injected Footerto use.grid__cell--span-[2,3,4]#848 - converted
gridmixins tojs#848 - removed Aligned title
typography-level-2override #837 - Lead paragraph now
fitsinside other components better #846 - removed custom
.leadoverrides inpathfindersandtabs#846 - created
e2etest to ensurepreview-banneradds thecorrectclass to thebodytag #826
Documentation updates
preview-bannernow allows the previewing ofbackgroundclasses byappendingaclassto thebodytag #826- updated Lead Paragraph stories #846
- added
leadto News Item Layout #846 - created Spanning Columns stories #848
- removed
Filling columnsstories from Grid #848 - updated Column Order and No gap
gridstories #848