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
cells
over 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
grid
mixin to enable oldercomponents
to use thegrid
#848
.component {
@mixin grid;
@mixin grid-3-cols;
}
- new
grid-cell-span-2
,grid-cell-span-3
, andgrid-cell-span-4
mixins to enable oldercomponents
to span multiplecolumns
#848
.component {
@mixin grid;
@mixin grid-3-cols;
&:first-child {
@mixin grid-cell-span-2;
}
}
Bug fixes 🐛
- Styled Table now
retains
a default white background colour when it'snested
inside anelement
with the.alt
, or.bg-alt
class #838 - Buttons containing a
link
to anemail
address now have the sameline-height
as otherbuttons
#840 tables
nested inside Event Details now have the correctmax-width
andmargin
set #841- Text helpers now ensure their
properties
haveprecedence
over everything else #843
Deprecation notice⚠️
- removed
.black
Tabs variation as it was almost identical to theAlternate tab colour
variation. It now defaults to thedefault
variation #847 .grid--fill-first
and.grid--fill-last
classes have beendeprecated
and will be removed in a later version..grid__cell--span-[2,3,4]
can be used in its place #848.grid--row
has been removed as the Grid still functionscorrectly
without it #848
Other changes
- refactored Grid from
flexbox
togrid
to allow moreflexibility
with the gridcolumns
#848 - updated
grid-4-cols
mixinbreakpoint
to match other mixins #848 - updated Grid, Cards,
Injected Footer
, and Theme pages to use.grid__cell
#848 - refactored
Injected Footer
to use.grid__cell--span-[2,3,4]
#848 - converted
grid
mixins tojs
#848 - removed Aligned title
typography-level-2
override #837 - Lead paragraph now
fits
inside other components better #846 - removed custom
.lead
overrides inpathfinders
andtabs
#846 - created
e2e
test to ensurepreview-banner
adds thecorrect
class to thebody
tag #826
Documentation updates
preview-banner
now allows the previewing ofbackground
classes byappending
aclass
to thebody
tag #826- updated Lead Paragraph stories #846
- added
lead
to News Item Layout #846 - created Spanning Columns stories #848
- removed
Filling columns
stories from Grid #848 - updated Column Order and No gap
grid
stories #848