Skip to content

Releases: UKHomeOffice/design-system

Next.js support and govuk-frontend v5

26 Nov 19:31
Compare
Choose a tag to compare

Adds support for Next.js to the components.

And example application can be found here: https://github.com/UKHomeOffice/design-system/tree/master/apps/next-example

govuk-frontend has also been updated to v5.

See also: govuk-frontend v5 release notes

BREAKING:

Those only using the components may not need to make many changes.

What's Changed

New Contributors

Full Changelog: v0.4.0...v0.5.0

New components and better component tests

10 Jul 17:59
Compare
Choose a tag to compare

Provides better support for component testing with react-testing-library.

Note: You should also update NotGovUK packages to ^0.7.2 (with pnpm -r up '@not-govuk/*@^0.7.2')

Also:

  • We now run on Node.js v18 by default.

BREAKING:

Potentially BREAKING changes:

  • govuk-frontend updated from v3 to v4
  • restify updated from v8 to v11
  • webpack-cli has been updated from v4 to v5.
  • webpack-dev-middleware has been updated from v5 to v6.
  • Applications now listen on IPv6 by default. See: daniel-ac-martin/NotGovUK#705

Functional testing, Readiness checks, and new logging options

26 Apr 17:28
174dd9d
Compare
Choose a tag to compare

BREAKING CHANGES:

  • Node.js v12 is no-longer officially supported. Please update to Node.js v14.

New features:

  • Functional testing support via Cypress.io
  • Readiness checks
  • Better CI/CD pipelines
  • New logging options:
    1. Set the logging destination by passing a filename in logger.destination to the engine
    2. Set the logging level by passing a string of the log level in logger.level to the engine

Note: You should also update NotGovUK packages to ^0.4.2 (with pnpm -r up '@not-govuk/*@^0.4.2')

Password protection

22 Aug 23:10
b3e7386
Compare
Choose a tag to compare

It's now possible to make prototypes private by password protecting them. To do so, you will need to set the following environment variables:

  • AUTH_METHOD = basic
  • AUTH_USERNAME (set to the username you want users to supply)
  • AUTH_PASSWORD (set to the password you want users to supply)
  • PRIVACY = true (to apply the authentication to the entire website)

Official React-based release

28 Jun 00:47
760b925
Compare
Choose a tag to compare

Version 2.0

20 Dec 13:16
Compare
Choose a tag to compare

System update

  • the design of the system has been updated to use the new Home Office design language
  • the structure of the system now matches the gov.uk design system
  • the system is now built on the new govuk-frontend

New

Style guide

Guidance on how to use the new design language added to system, with sections on typography, colour, header, footer and image use.

Updates

  • added the missing components to the Sketch file resource to bring it up to date
  • added CSS snippets to confirmation pages so they are easier to use
  • add code for conditional reveal for radios and check boxes and made guidance for using clearer

Version 1.5.0

08 May 10:23
Compare
Choose a tag to compare

New

Patterns updated

  • updated checkbox and radio guidance with examples of when and how to use both components
  • updated modal guidance to make it clearer when to use a modal (which should be rare)
  • removed crown and new transport font from header pattern

Version 1.4.0

06 Feb 08:16
Compare
Choose a tag to compare

New

Patterns updated

  • moved timeline from patterns to components
  • updated icon component with guidance on using in your own prototype

Guidelines updated

  • contribution guidelines updated to add emphasis to discussion, which is an important part of contributing to the system

Version 1.3.0

23 Nov 16:55
Compare
Choose a tag to compare

New

Patterns updated

  • tabs code improved and simplified
  • timeline styling updated
  • header phase banner guidance added to headers

Guidelines updated

  • Improved the consistency of snippets used across components. Change language, improved code and added missing snippets.
  • code fixes
  • Adjusted some patterns to follow new format for guidance

Version 1.2.0

22 Sep 15:09
Compare
Choose a tag to compare

New

Patterns updated

Guidelines updated

  • updated pattern guidance is being test