v13.2.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 ✨
- Content Block is now part of the
Design Systemand replaces thedeprecatedSection #710 - CMS
documentationpage with examples ofoutdatedorlegacymarkup that still exists in theCMS#710
Bug fixes 🐛
- Tables now have some
margin-bottomadded to them #716 - Headers and Flash Messages now have some
spacingbetween them #689 - Left-aligned In-page Navigation now displays on top of Headers #707
- Fixed an issue introduced in
v13.1.0where thelogowasn't loading when thee2etests were run locally using a fresh build #685
Deprecation Notice⚠️
- The Section component has been
deprecatedand will be removed in a later version. It has been replaced with the Content Block #710
Before:
<section class="section">
<div class="section__inner">...</div>
</section>
After:
<section class="content-block">
<div class="content-block__inner">...</div>
</section>
Other changes
- Updated Figure and People components to account for the addition of the
margin-bottomon Tables #716 - Added some extra margin to Notices and Flash Messages #689
- Migrated some
cmsoverrides back into theDesign System#711 #712 #718 - Tided up the Footer component #714
- Combined
cta-footerandfootercomponents - Migrated
cssfromassets\style-guide\typography\_layout.css➡️assets\components\footer\_footer.css
- Combined
- Tided up the Quicklinks component #714
- Tidied up the Index Navigation component #705
- Swapped
--col-reversed-link&--col-reversed-link-activecolours around #714 postcss-mixinsnow automaticallyimportsanycss mixins#693- Split
css mixinsinto separate files #693 - Installed npm packages
- Updated
e2etests #715 #717- Updated
playwrighttov1.33.0 - Custom test-case
cssis now injected usingaddStyleTag
- Updated
postcssnow automatically imports_vars.cssglobally #695- Improvements to
package.jsonscripts #692 #715webpacknow defaults todevelopmentmode- Created
build:libto better describe what is beingbuilt - Created
start:prodto test inproductionmode - Created
docs:build&docs:serveto test building of documentation site locally - Simplified and improved the
testscripts
Documentation updates
- Updated Cards and Test Component to use
Content Blockcomponent #710 - Added Layouts, Examples, and CMS to the Homepage #710 #682
- It is hidden in
production - It is visible on local
devmachines andnetlifypreviews
- It is hidden in
- Improvements to documentation pages #714
- Added
Alternate Footerto Footer - Added
Social Linksto Footer(CMS)
- Added
- Updated
linksto avoid loading ofnon-existentpages #719href=""➡️href="#"- Any external links ➡️
href="#" tel➡️href="tel:#"mailto➡️href="mailto:#"
- Removed unnecessary
target="_blank"from links #719 - Added error message to Radio buttons #713
- Added
radioandcheckboxto Example form #713