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
portraitvariation displaysmediain an aspect ratio thatfillsthe entire screen of amobiledevice when inportraitmode #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
parentelement 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-lighttheme-darktheme-alt
- new Background mixins - colour
overridesto apply when using the.bg-xclasses #1061bg-secondarybg-altbg-highlightbg-accent
Bug fixes 🐛
- fixed an issue introduced in
v15.0.0whereimagesin Staff Listing lost their squareaspect ratio#1083 - fixed an issue where
contentinside.bg-secondaryand.bg-accentfailed to passa11y#1061 - Headers now have
leftandrightspacing when used with the Left-aligned Jump Nav #1084 - removed
borderfrom thealternate tabs colourTabs variation #1071
Other changes
- Accordion
markuphas been uplifted to comply withallystandards. Please note the newmarkup, as well as the uniqueIDsthat link thebuttonandpanel#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
titleis now aparagraphusingtypography-level-5and has abottombordergapbetweencolumnschange on specificbreakpoints- uses
--sp-layoutto controltopandbottomcontainermargin
- added
hoverstate to Filtered Listings #1069 - removed
borderfrom Sidebar Tabs #1073 - Table
rowsnowinheritthebackground colourof itsparentelement #1074 - Styled Table now changes the
background colorofevenrows instead ofodd#1074 - removed the need for
bg-primarymixin in Enquiry #1061 - updated the following items to work with the
alternateBackground #1061 - migrated
assets/shared/_theme.csstotheme-light#1061 - renamed
--col-listing-xvariables to--col-listing-x-bg#1069 assets/shared/component-manager.jsnow bindstrueto mounted components instead of usingcuid#1076- removed
cuidpackage #1076
Documentation updates
- tided up Embed Aspect Ratio documentation #1075
- removed
.zebrafrom Sortable Table #1074 - added new variables to Listing Colours #1069
- you can now
previewfour more Background colours #1061- the
alternatebackground with?preview=alternate-background - the
secondarybackground with?preview=secondary-background - the
highlightbackground with?preview=highlight-background - the
accentbackground with?preview=accent-background
- the