From 736e420f396a58a6aa9e050a36d68bb399e2d69d Mon Sep 17 00:00:00 2001 From: igloosi Date: Thu, 11 Oct 2018 10:32:41 +0100 Subject: [PATCH 1/3] Update GOV.UK Frontend dependency Update to v2.2.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 172b3ba939..a6f9f5926e 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "express-session": "^1.13.0", "express-writer": "0.0.4", "govuk-elements-sass": "^3.1.3", - "govuk-frontend": "^2.1.0", + "govuk-frontend": "^2.2.0", "govuk_frontend_toolkit": "^7.5.0", "govuk_template_jinja": "^0.24.1", "gulp": "^3.9.1", From ed4b6a5816e646d8381e13427c8632f4c91a133a Mon Sep 17 00:00:00 2001 From: igloosi Date: Thu, 11 Oct 2018 10:36:43 +0100 Subject: [PATCH 2/3] Import character-count component Make it available in the app views --- app/views/layout.html | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/layout.html b/app/views/layout.html index f04a84127b..59b25cca85 100644 --- a/app/views/layout.html +++ b/app/views/layout.html @@ -3,6 +3,7 @@ {% from "back-link/macro.njk" import govukBackLink %} {% from "breadcrumbs/macro.njk" import govukBreadcrumbs %} {% from "button/macro.njk" import govukButton %} +{% from "character-count/macro.njk" import govukCharacterCount %} {% from "checkboxes/macro.njk" import govukCheckboxes %} {% from "date-input/macro.njk" import govukDateInput %} {% from "details/macro.njk" import govukDetails %} From 4362c7e701f3982586037f20097a2cf3376fdb76 Mon Sep 17 00:00:00 2001 From: igloosi Date: Thu, 11 Oct 2018 10:41:20 +0100 Subject: [PATCH 3/3] Document in CHANGELOG --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f3dca20df8..c187211c92 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,15 @@ # Unreleased +New Features: + +- [#609 Update GOV.UK Frontend to v2.2.0](https://github.com/alphagov/govuk-prototype-kit/pull/609) + +Also includes a new character-count component + Bug fixes: - [#605 Set stylesheet media to "all" to allow print styles](https://github.com/alphagov/govuk-prototype-kit/pull/605) + - [#608 Clearing session data now uses a POST request rather than a destructive GET request](https://github.com/alphagov/govuk-prototype-kit/pull/608) # 8.1.0