v14.8.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 ✨
- you can now set a
crossed
list item in Ticked List by using the.item-crossed
class #883
<ul class="ticked-list">
<li class="item-crossed">...</li>
</ul>
- the Background class
.bg-primary
now sets all appropriatecss
colourvariables
to contrast againstTraditional Heritage Blue
, removing the need to manually adjust this in individual components #819- listed below are some examples taken from the Theme:
--col-text-primary
will change from--col-grey-dark-100
➡️--col-white-100
--col-link-default
will change from--col-link-100
➡️--col-white-100
- listed below are some examples taken from the Theme:
- created
bg-primary
cssmixin
. It sets all appropriatecss
colourvariables
to contrast againstTraditional Heritage Blue
. This is useful for situations where you can't add the.bg-primary
class. In all other cases use the.bg-primary
class instead #819
.class {
@mixin bg-primary;
}
- you can now preview how all pages will look like with
.bg-primary
class #819- append
?preview=primary-background
to any url - or click on the
Preview Primary Background
link in theMega Menu
- append
Bug fixes 🐛
- Icon Buttons nested inside Notices now render correctly #881
- reduced
specificity
of Ticked List so.no-li
takes precedence and hides thetick
#887 h1
-h6
, andp
elements now expand to 100% width onmobile
viewports when nested inside Accordions #885- updated default link
hover
andfocus
states to use--col-link-default-active
#819
Other changes
- updated Components to work with the
.bg-primary
background class #819 - updated Style Guide items to work with the
.bg-primary
background class #819- Button Card
- Colour Palette
Global Footer
- Enquiry Dark now uses
bg-primary
mixin as it doesn't use.bg-primary
class #819 - increased Ticked list icon size from
xs
➡️sm
#886 - Tables set their
max-width
on--bp-wide
breakpoint instead of--bp-desktop
#873 - Wide Table increases it's width on
--bp-xx-wide
breakpoint instead of--bp-desktop
#873 - updated
--col-outline-danger
to use--col-red-dark-100
#883 - updated
--col-outline-danger
to use--col-red-light-100
inassets/style-guide/colours/mixins/settings/primary.js
#883 - updated
mask
colour ine2e
snapshots from--col-bg-alt-50
➡️--col-bg-highlight
#819
Documentation updates
- removed
ticked-list
from Events with Map #886 - changed
ticket-list
to standard list #886 - updated Accordion to show nested
heading
#885 - updated Notices to show
button
withicon
#881 - added
Crossed list item
to Lists #883 - simplified Content Block #819
- removed
bg-primary
class from Form Example as it can now be previewed with the.bg-primary
class #819 - updated
eleventy/_includes/views/layout.html
to always includeuom.preview
meta tag #819