v15.1.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 ✨
- new Embed Aspect Ratio - the
portrait
variation displaysmedia
in an aspect ratio thatfills
the entire screen of amobile
device when inportrait
mode #1075
<div class="embed embed--portrait">...</div>
<div class="tags">
<ul class="tags__list">
<li class="tags__item tags__item--active">...</li>
</ul>
</div>
- new Theme vars - Tags now change their colour depending on what Backgroud class its
parent
element uses #1081--col-tags-bg
--col-tags-bg-active
--col-tags-bg-hover
--col-tags-text
--col-tags-text-hover
- new Theme mixins - handle different colour palettes #1061
theme-light
theme-dark
theme-alt
- new Background mixins - colour
overrides
to apply when using the.bg-x
classes #1061bg-secondary
bg-alt
bg-highlight
bg-accent
Bug fixes 🐛
- fixed an issue introduced in
v15.0.0
whereimages
in Staff Listing lost their squareaspect ratio
#1083 - fixed an issue where
content
inside.bg-secondary
and.bg-accent
failed to passa11y
#1061 - Headers now have
left
andright
spacing when used with the Left-aligned Jump Nav #1084 - removed
border
from thealternate tabs colour
Tabs variation #1071
Other changes
- Accordion
markup
has been uplifted to comply withally
standards. Please note the newmarkup
, as well as the uniqueIDs
that link thebutton
andpanel
#1065 #1077
<ul class="accordion">
<li class="accordion__item">
<h3 class="accordion__item-heading">
<button aria-controls="accordion-panel-1" aria-expanded="false" class="accordion__button" id="accordion-button-1">
<span class="accordion__title">...</span>
</button>
</h3>
<div aria-labelledby="accordion-button-1" role="region" id="accordion-panel-1" class="accordion__panel">...</div>
</li>
</ul>
- tidied up Tags component #1078 #1081
- updated Jump Nav and Left-aligned Jump Nav #1082
title
is now aparagraph
usingtypography-level-5
and has abottom
bordergap
betweencolumns
change on specificbreakpoints
- uses
--sp-layout
to controltop
andbottom
containermargin
- added
hover
state to Filtered Listings #1069 - removed
border
from Sidebar Tabs #1073 - Table
rows
nowinherit
thebackground colour
of itsparent
element #1074 - Styled Table now changes the
background color
ofeven
rows instead ofodd
#1074 - removed the need for
bg-primary
mixin in Enquiry #1061 - updated the following items to work with the
alternate
Background #1061 - migrated
assets/shared/_theme.css
totheme-light
#1061 - renamed
--col-listing-x
variables to--col-listing-x-bg
#1069 assets/shared/component-manager.js
now bindstrue
to mounted components instead of usingcuid
#1076- removed
cuid
package #1076
Documentation updates
- tided up Embed Aspect Ratio documentation #1075
- removed
.zebra
from Sortable Table #1074 - added new variables to Listing Colours #1069
- you can now
preview
four more Background colours #1061- the
alternate
background with?preview=alternate-background
- the
secondary
background with?preview=secondary-background
- the
highlight
background with?preview=highlight-background
- the
accent
background with?preview=accent-background
- the