# Changelog

All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.

## [4.1.0](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/compare/4.0.4...4.1.0) (2026-05-20)

### Features

- allow selected navigation items to be selected by id ([377aff8](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/commit/377aff816425c82eda1d76d918cdc2dc0c9aab78))

## [4.0.4](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/compare/4.0.3...4.0.4) (2026-05-08)

### Bug Fixes

- assert exact aria-current value to guard against nunjucks autoescaping ([27c2606](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/commit/27c2606596ade8a1802a3295c0733e432e1ff257))
- move aria-current attribute to if block for header navigation item ([6c86768](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/commit/6c86768024cf7b4f7c1d113e3199c9206ff6aac2))

## [4.0.3](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/compare/4.0.2...4.0.3) (2026-04-24)

### Bug Fixes

- add `@use sass:color` to action-card partial and strip duplicate `@use` declarations in gulp
  Sass build ([58713b1](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/commit/58713b1f169a22eb599d0a371b2f621e737f2e20))

## [4.0.2](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/compare/4.0.1...4.0.2) (2026-04-24)

### Bug Fixes

- fix mobile navigation toggle and sign-out visibility broken by govuk-frontend v6 removing Header JS component ([1892b09](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/commit/1892b09))
- replace deprecated `.js-enabled` with `.govuk-frontend-supported` in side-navigation ([d0047f9](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/commit/d0047f9))
- remove redundant `@use sass:color` from action-card partial ([952db67](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/commit/952db67))

## [4.0.1](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/compare/4.0.0...4.0.1) (2026-04-17)

### Bug Fixes

- add missing empty line before rule in action-card scss ([29b1d99](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/commit/29b1d995f41e6313644f91c8d64d6c7e666d1473))
- replace deprecated darken() with sass:color module in uc action card ([60524f4](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/commit/60524f480a08cbb08dd14c02f8e9634a09d8bcd2))

## [4.0.0](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/compare/3.4.0...4.0.0) (2026-04-15)

### ⚠ BREAKING CHANGES

- upgrade govuk-frontend to v6.1.0
- remove uc agent header and claimant header components

### Features

- upgrade govuk-frontend to v6.1.0 and maintain compatibility with breaking changes
- remove uc agent header and claimant header components

## [3.4.0](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/compare/3.3.0...3.4.0) (2025-10-09)

### Features

- isolate DWP components from GOV.UK rebrand styling and add conditional rebrand (visual) testing ([1ddee8b](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/commit/1ddee8bfd8b1b3ae8d0ecd879da121eb55547b6c))

## [3.3.0](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/compare/3.2.0...3.3.0) (2024-12-19)

### Features

- add UC claimant navigation components ([54167aa](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/commit/54167aa0e9cfa1b648c1206b0ef22be23aa92bfd))
- expose macros for prototype kit ([5d9a4b9](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/commit/5d9a4b94b4547192b5247e4e303ef5b01974f259))

## [3.2.0](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/compare/3.1.0...3.2.0) (2024-11-19)

### Features

- add prototype UC components - claimant header and agent header ([bbf3234](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/commit/bbf3234559d1d2f0b47692e62f1e18f9f1bae2d2))
- switch to v5 of the functions ([1494bcb](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/commit/1494bcbd348d5e903a421b52d3f52f54e0ab8c22))

## [3.1.0](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/compare/3.0.0...3.1.0) (2024-10-10)

### Features

- add horizontal navigation component ([03759c8](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/commit/03759c83b690d0a7e08dad664ee7af3c2e7467c9))
- update sub navigation component aria current to be selected item not selected page ([c7fd8db](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/commit/c7fd8db9ecef84a639f112251687c2204f6c8972))

## [3.0.0](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/compare/2.8.0...3.0.0) (2024-09-09)

### ⚠ BREAKING CHANGES

- update timeline component with new spec and styles

### Features

- update timeline component with new spec and styles ([197e006](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/commit/197e006d20230645dd260f5b6070a4210d67d04e))

## [2.8.0](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/compare/2.7.0...2.8.0) (2024-08-01)

### Features

- add javascript build command to gulp task ([06c0d7c](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/commit/06c0d7c38cb3244ceb6b355296f0ea274a0e3af3))
- adding audit and outdated ci steps ([12e487c](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/commit/12e487ca9d56987f73a09a1ad55227b0b639d04d))
- adding quick reference component ([c7c3cad](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/commit/c7c3cadfd77f5a8d88d53db3a1fdc75b0c864533))
- switch to eslint 9 and update config ([8acaf45](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/commit/8acaf45ee703b10eb7f9c8739036c0f3af85bb36))

## [2.7.0](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/compare/2.6.0...2.7.0) (2024-05-01)

### Features

- adding docs view and cleaning up style ([5f8245b](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/commit/5f8245b3087649aad7d1036e05a1cc2ef66da767))
- adding language toggle component ([201676e](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/commit/201676e33ab601202a914fc19c504deb08e82aef))
- adding navigation to internal header ([27c33ab](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/commit/27c33abce0eb50eee630a97e07b742668e13fa50))
- enable deployments to heroku ([af663cb](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/commit/af663cbf75b94343d5dd7eaeead4e63b180369bc))
- open up sass lint and add to gitlab ci ([9195191](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/commit/91951912b19153f907d50fd0a2b0d3aaca8bf172))

## [2.6.0](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/compare/2.5.0...2.6.0) (2024-02-14)

### Features

- [internal header refactor](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/merge_requests/389/diffs)
- [internal header macro "name" deprecation](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/merge_requests/389/diffs)
- adding attributes to footer meta links ([ec63de5](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/commit/ec63de5fcbb4d56d766cfc3c32b2002dadee4612))
- adding route for scoped components example ([2f8ed56](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/commit/2f8ed563b65d43152047d42be4b23b58890f4239))

## [2.5.0](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/compare/2.4.0...2.5.0) (2023-12-15)

### Features

- adding side navigation component ([a720b9e](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/commit/a720b9e13ae4868a141b92ee7a8225029b44533d))
- enable the ability to release from a branch ([3331ffa](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/commit/3331ffada72327bf74689aca545d987fc0052e3e))
- switch to jest ([634c0dd](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/commit/634c0ddaac8ee42943a559382fa216afa0e25592))
- updating release scripts ([bca794f](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/commit/bca794feec097d87851055dd1d1d597163992021))

### Bug Fixes

- cleaning up test output folder ([814c7fa](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/commit/814c7fa02c51a8b646cd272fa06a97edb834527f))
- move aria-label to prevent spacing issue ([eac7d54](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/commit/eac7d5441e950d640824ccec45221fc1518f497d))
- **package.json:** adds node v12-16 support ([b164959](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/commit/b164959db9df556f5605f3f810dce8a27afe74b0))
- remove script that deletes public folder ([b1f53ee](https://gitlab.com/dwp/dwp-design-system/dwp-frontend/-/commit/b1f53ee0ecc16a3b77e722acd88d74b1ba9bd1e4))

## [2.4.0](https://gitlab.com/dwp/dwp-design-system/frontend/compare/2.3.6...2.4.0) (2023-02-23)

### Features

- DWP Header: supports `containerClasses` parameter within the dwpHeader component, whilst still allowing for the `.govuk-width-container` class itself to be set by the container parameter ([cdda2fc](https://gitlab.com/dwp/dwp-design-system/frontend/-/merge_requests/330/diffs?commit_id=1cdda2fc8d44aa93caf3fc6dad298fcf90c95b97)).

- DWP Key Details: supports `max-width property` of the `.dwp-key-details-bar__key-details` class to be set with a sass variable (e.g. `$dwp-key-details-max-width: 1100px`) rather than writing a dedicated class selector ([65d776d](https://gitlab.com/dwp/dwp-design-system/frontend/-/merge_requests/329/diffs?commit_id=65d776db71a10efc6663ed78e9b528ea1d9bfce0)).

### Bug Fixes

- DWP Key Details: adding back in margin middle view for name/nino ([28f8837](https://gitlab.com/dwp/dwp-design-system/frontend/commit/28f88374884a0f0272527329695abdaea2fdbb4d))

## [2.3.6](https://gitlab.com/dwp/dwp-design-system/frontend/compare/2.3.5...2.3.6) (2022-10-24)

### Bug Fixes

- **kdetails:** regression font sizes ([0858cf8](https://gitlab.com/dwp/dwp-design-system/frontend/commit/0858cf8f1c8631548520cc7ec6e6dc429e99495f))

## [2.3.5](https://gitlab.com/dwp/dwp-design-system/frontend/compare/2.3.4-alpha.0...2.3.5) (2022-10-19)

### Bug Fixes

- adds font-scaling on browser settings ([073c003](https://gitlab.com/dwp/dwp-design-system/frontend/commit/073c003c25b9405c7f7399a3e933c911eaac121f))
- **header:** removes unnecessary padding ([1d883a9](https://gitlab.com/dwp/dwp-design-system/frontend/commit/1d883a9f6dc0cabb1b59ba0b829c7856b826f57a))

## [2.3.4-alpha.0](https://gitlab.com/dwp/dwp-design-system/frontend/compare/2.3.3...2.3.4-alpha.0) (2022-08-04)

## [2.3.3](https://gitlab.com/dwp/dwp-design-system/frontend/compare/2.3.2...2.3.3) (2022-08-03)

### Bug Fixes

- refactors header to have consisten alignment ([3300a42](https://gitlab.com/dwp/dwp-design-system/frontend/commit/3300a42bf111b7977218cab8cf5105e7064ae477))

## [2.3.2](https://gitlab.com/dwp/dwp-design-system/frontend/compare/2.3.1...2.3.2) (2022-07-29)

### Bug Fixes

- consistent govuk/components imports ([bbc8796](https://gitlab.com/dwp/dwp-design-system/frontend/commit/bbc8796f5c770e0a2d0e5ccad4cc226941940126))

## [2.3.1](https://gitlab.com/dwp/dwp-design-system/frontend/compare/2.3.0...2.3.1) (2022-07-28)

### Bug Fixes

- removes non-existent scss file for footer ([04612a7](https://gitlab.com/dwp/dwp-design-system/frontend/commit/04612a7a17ccb35de76650a5f26e98c3cd127ee6))

## [2.3.0](https://gitlab.com/dwp/dwp-design-system/frontend/compare/2.2.2...2.3.0) (2022-07-25)

### Features

- adds govuk tag to key details ([7a6d6df](https://gitlab.com/dwp/dwp-design-system/frontend/commit/7a6d6df8dec509884c4741b96b3e96bbdadbe7d1))

## [2.2.2](https://gitlab.com/dwp/dwp-design-system/frontend/compare/2.2.1...2.2.2) (2022-07-18)

### Bug Fixes

- rename footer and header components ([e327c3b](https://gitlab.com/dwp/dwp-design-system/frontend/commit/e327c3b9e792d0dfc2530affcb0f22667f21514a))

## [2.2.1](https://gitlab.com/dwp/dwp-design-system/frontend/compare/2.2.0...2.2.1) (2022-06-14)

### Bug Fixes

- remove custom sass, use govuk styles ([3f83327](https://gitlab.com/dwp/dwp-design-system/frontend/commit/3f83327a945cc1a0338f863296502003f162a608))

## [2.2.0](https://gitlab.com/dwp/dwp-design-system/frontend/compare/2.1.1...2.2.0) (2022-06-09)

### Features

- allows no-link service name in header ([9d3821a](https://gitlab.com/dwp/dwp-design-system/frontend/commit/9d3821aef1f491cca88c5a4b8d212a96aa189c7f))

## [2.1.1](https://gitlab.com/dwp/dwp-design-system/frontend/compare/2.1.0...2.1.1) (2022-05-26)

### Bug Fixes

- key details html structure ([ce39527](https://gitlab.com/dwp/dwp-design-system/frontend/commit/ce3952722b67dce926e67c973148b772d9cca691))

## [2.1.0] - 2022-05-12

### Added

- Internal services footer component

## [2.0.11](https://gitlab.com/dwp/dwp-design-system/frontend/compare/2.0.10...2.0.11) (2022-05-10)

## [2.0.10](https://gitlab.com/dwp/dwp-design-system/frontend/compare/2.0.9...2.0.10) (2022-04-11)

## [2.0.9](https://gitlab.com/dwp/dwp-design-system/frontend/compare/2.0.8...2.0.9) (2022-03-15)

## [2.0.8](https://gitlab.com/dwp/dwp-design-system/frontend/compare/2.0.7...2.0.8) (2022-03-08)

## [2.0.7](https://gitlab.com/dwp/dwp-design-system/frontend/compare/2.0.6...2.0.7) (2022-03-08)

## [2.0.6](https://gitlab.com/dwp/dwp-design-system/frontend/compare/2.0.5...2.0.6) (2022-03-07)

## [2.0.5](https://gitlab.com/dwp/dwp-design-system/frontend/compare/2.0.4...2.0.5) (2022-02-15)

### Bug Fixes

- merge main fixing conflicts ([56ac6c9](https://gitlab.com/dwp/dwp-design-system/frontend/commit/56ac6c94408027d93e924ea551cf53b77b60e7e8))

## [2.0.4](https://gitlab.com/dwp/dwp-design-system/frontend/compare/2.0.3...2.0.4) (2022-02-09)

## [2.0.3](https://gitlab.com/dwp/dwp-design-system/frontend/compare/2.0.2...2.0.3) (2022-02-09)

### Bug Fixes

- add npx to husky install ([ea0bf5e](https://gitlab.com/dwp/dwp-design-system/frontend/commit/ea0bf5e2101442918282522a99030d823c271a29))

## [2.0.2](https://gitlab.com/dwp/dwp-design-system/frontend/compare/2.0.1...2.0.2) (2022-02-09)

### Bug Fixes

- allow tagging on main ([5dee498](https://gitlab.com/dwp/dwp-design-system/frontend/commit/5dee498468ae44f00d810f64004dc429ead99afd))
- component documentation, correct yaml format ([2554de6](https://gitlab.com/dwp/dwp-design-system/frontend/commit/2554de660f8b4044039cdd7924ade8c2c68c4064))

## [2.0.1](https://gitlab.com/dwp/dwp-design-system/frontend/compare/2.0.0...2.0.1) (2022-02-03)

### Bug Fixes

- add prepare script, after I removed it, sorry ([38e1dc2](https://gitlab.com/dwp/dwp-design-system/frontend/commit/38e1dc202c083a4f8b01793320bd4a888bfff675))

## [2.0.0](https://gitlab.com/dwp/dwp-design-system/frontend/compare/1.0.12...2.0.0) (2022-02-03)

### ⚠ BREAKING CHANGES

- nunjucks api composition

### Bug Fixes

- a more sophisticated nunjucks api composition ([ddc0fa5](https://gitlab.com/dwp/dwp-design-system/frontend/commit/ddc0fa5835ced6209787c9d0ad04ef348b6dcd37))
- correct padding for internal header ([c135804](https://gitlab.com/dwp/dwp-design-system/frontend/commit/c135804776d61cf55cf6bf828633104ff30f8f97))

- add additional notes to readme to support releases ([514ff2d](https://gitlab.com/dwp/dwp-design-system/frontend/commit/514ff2d28a62fc1186a0f4142d5ac802e5ae07ab))

## [1.0.12](https://gitlab.com/dwp/dwp-design-system/frontend/compare/1.0.11...1.0.12) (2022-01-06)

### Bug Fixes

- node at stable releasr ([2fa91ce](https://gitlab.com/dwp/dwp-design-system/frontend/commit/2fa91ce031e4c2eb70a70f161658487d77c66f94))
- outdated dependencies ([db0e306](https://gitlab.com/dwp/dwp-design-system/frontend/commit/db0e306ea6acd7f5d6f9b2b1083a9f7231222b0f))
- resolve conflicts ([0dd07fd](https://gitlab.com/dwp/dwp-design-system/frontend/commit/0dd07fd1cd489431dd1ebd9a94469396e9d279f4))
- resolve conflicts ([89cf2ff](https://gitlab.com/dwp/dwp-design-system/frontend/commit/89cf2ffd9992da233090ba968074898bb2454117))
- revert node version in nvmrc from v16 back to v14 ([0d6505a](https://gitlab.com/dwp/dwp-design-system/frontend/commit/0d6505ae1db4ada52d01a362f4dd3f8d9679e624))
- revert to eslint 7.32 ([c6b2158](https://gitlab.com/dwp/dwp-design-system/frontend/commit/c6b21588b0d814184aa7b96d2f7e1d557212a708))

## [1.0.11](https://gitlab.com/dwp/dwp-design-system/frontend/compare/1.0.10...1.0.11) (2021-11-18)

## [1.0.10](https://gitlab.com/dwp/dwp-design-system/frontend/compare/v1.0.9...v1.0.10) (2021-11-17)

### Bug Fixes

- code formatting ([1fa1750](https://gitlab.com/dwp/dwp-design-system/frontend/commit/1fa175046d79cf4d85e74aff9539dd1c01f0fc74))
- include package directory in excludes array ([985ede5](https://gitlab.com/dwp/dwp-design-system/frontend/commit/985ede519e664f8d2ff8f10735dde721f27fb34e))
- pass componentName to renderExample, exclude unnecessary files from coverage, fix broken a11y tests ([136c69a](https://gitlab.com/dwp/dwp-design-system/frontend/commit/136c69a1d28d14b53e00a8f3c1268faef61b21a1))

## [1.0.9] - 2021-10-11

### Changed

- fixed internal heade
- fixed timeline yaml

## [1.0.7] - 2021-10-01

### Added

- Key details bar component
- Add href options to internal header
- Started using Changelog properly :)

### Changed

- fix some tests and paths
- Local host port
