v14.10.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 ✨
- two Components
- Alternate Accordion - same functionality but a different theme #911
- Page Navigation - best suited for linking to other pages #916
- one Layout
- six Theme variables #912
- Outline
--col-outline-tertiary-25--col-outline-tertiary-50--col-outline-tertiary-75
- Background
--col-bg-tertiary-25--col-bg-tertiary-50--col-bg-tertiary-75
- Outline
- you can now
linkan Accordion item toanotherpage by using anaelement instead ofspan#911
<a class="accordion__title" href="...">...</a>
<ul class="accordion accordion--tight">...</ul>
- you can now choose the
backgroundclass to use when importing stories. For instancebg="primary"will add thebg-primaryclass #905
include component src="..." bg="primary"
snapshottests can nowcompareeach componentindividuallyinstead of capturing the whole page by usingcheckSnapshot()#909- it tests that there is at least
onecomponent on the page - it tests that each component has a unique name - this is derived from passing
name=""when you import the component - you can pass in a custom
selectorto use for the snapshot - this is useful for capturing snapshots of components notinjectedby the component importer #909
- it tests that there is at least
await checkSnapshot('data-test=modal');
Bug fixes 🐛
- fixed an issue where
e2etests failed to start due to more than one version existing in thedistfolder #907 svgsnested inside Stats & rankings are now restricted to65%width onmobileand85%width ondesktopviewports #913- removed
bottomborder from last Page navigation item #911
Other changes
- links that contain no
hrefproperty remain unstyled #915 - updated default Accordion design #911
- removed custom
accordionoverrides #911 - reintroduced the
versionedfolder soproductionmode can reference it when serving assets #904 - updated
netlify.tomlcorssetting to allow*#904 eleventynow correctlywatchesfor changes to thedistfolder #903- tidied up
componentimporter code #905- removed need for
containerRatioprop - removed
Example:andSource Code:text - tided up
css
- removed need for
- removed
trimOutputLeft&trimOutputRightfrom.eleventy.js#905 - split
gridandcomponentcss fromassets/docs/helpers/index.cssintoassets/docs/grid/index.css&assets/docs/component-importer/index.css#905 - reduced the height of Grid columns when
data-show-gridis used #905 - combined all
e2etests intooneworkflow job tospeedup andreducegithub actions minutes usage #898 #908 - updated
yarn test:e2eto run all tests #898 - removed
yarn test:e2e:all#898 - test
artifactsare nowavailablefordownloadwhen a test fails on theciserver #910 - removed some
sempahorerelatedCIsettings inplaywright.config.js#910 componentson allchildpages now usecheckSnapshot()#909- created new
e2esnapshot tests - migrated
jumpnavandpage-headertests to their respective component test file #909 - migrated
snapshotsfrompages➡️snapshotsfolder #909
Documentation updates
- created Nested accordion story #911
- Grid now shows column numbers on all examples #905
- removed
.altfrom Complex timeline #905 - the following pages now use the
bgprop #905 - Colours & Theme now
importtheircolourswith the component importer #906 - removed
showCode="false"from all CMS examples #905 - removed
accordionfrom Course #911 - updated
releaseanddeploymentsteps indocs/release.md#891