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 System
and replaces thedeprecated
Section #710 - CMS
documentation
page with examples ofoutdated
orlegacy
markup that still exists in theCMS
#710
Bug fixes 🐛
- Tables now have some
margin-bottom
added to them #716 - Headers and Flash Messages now have some
spacing
between them #689 - Left-aligned In-page Navigation now displays on top of Headers #707
- Fixed an issue introduced in
v13.1.0
where thelogo
wasn't loading when thee2e
tests were run locally using a fresh build #685
Deprecation Notice⚠️
- The Section component has been
deprecated
and 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-bottom
on Tables #716 - Added some extra margin to Notices and Flash Messages #689
- Migrated some
cms
overrides back into theDesign System
#711 #712 #718 - Tided up the Footer component #714
- Combined
cta-footer
andfooter
components - Migrated
css
fromassets\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-active
colours around #714 postcss-mixins
now automaticallyimports
anycss mixins
#693- Split
css mixins
into separate files #693 - Installed npm packages
- Updated
e2e
tests #715 #717- Updated
playwright
tov1.33.0
- Custom test-case
css
is now injected usingaddStyleTag
- Updated
postcss
now automatically imports_vars.css
globally #695- Improvements to
package.json
scripts #692 #715webpack
now defaults todevelopment
mode- Created
build:lib
to better describe what is beingbuilt
- Created
start:prod
to test inproduction
mode - Created
docs:build
&docs:serve
to test building of documentation site locally - Simplified and improved the
test
scripts
Documentation updates
- Updated Cards and Test Component to use
Content Block
component #710 - Added Layouts, Examples, and CMS to the Homepage #710 #682
- It is hidden in
production
- It is visible on local
dev
machines andnetlify
previews
- It is hidden in
- Improvements to documentation pages #714
- Added
Alternate Footer
to Footer - Added
Social Links
to Footer(CMS)
- Added
- Updated
links
to avoid loading ofnon-existent
pages #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
radio
andcheckbox
to Example form #713