From c2484403b8735dfbf1795335718d283b74613313 Mon Sep 17 00:00:00 2001 From: Peter Guntrip Date: Fri, 2 Dec 2016 11:31:11 +0000 Subject: [PATCH] Upgrade frontend toolkit to version 5.0.1 - Removed phase-banner scss file as no longer needed Full list of changes: SelectionButtons will add a class to the label with the type of the child input https://github.com/alphagov/govuk_frontend_toolkit/pull/317 Add GOVUK.ShowHideContent JavaScript to support showing and hiding content, toggled by radio buttons and checkboxes https://github.com/alphagov/govuk_frontend_toolkit/pull/315 Fix error in IE - remove trailing comma from shimLinksWithButtonRole JavaScript https://github.com/alphagov/govuk_frontend_toolkit/pull/323 Remove unnecessary print font fallback that causes regression downstream https://github.com/alphagov/govuk_frontend_toolkit/pull/328 Update tooling to use npm script rather than grunt-shell https://github.com/alphagov/govuk_frontend_toolkit/pull/327 For smaller screens (<768px) ensure that the GOVUK.StickAtTopWhenScrolling JS "unsticks" the element which was previously "stuck" (by removing both the class which sets fixed positioning and the shim). https://github.com/alphagov/govuk_frontend_toolkit/pull/329 Lint codebase using standard https://github.com/alphagov/govuk_frontend_toolkit/pull/334 Add semicolons at the start of IIFE's https://github.com/alphagov/govuk_frontend_toolkit/pull/339 Removal of external link styles and icons, if you are using the external-link-* mixins you will need to remove them from your codebase https://github.com/alphagov/govuk_frontend_toolkit/pull/293 Correct spelling of the 'accordion' icon, you will need to check for the incorrect spelling 'accordian' and update if you are using this icon https://github.com/alphagov/govuk_frontend_toolkit/pull/345 Amend GOVUK.StickAtTopWhenScrolling to resize the sticky element and shim when the .js-sticky-resize class is set https://github.com/alphagov/govuk_frontend_toolkit/pull/343 Allow custom options in GOVUK.analytics.trackPageview https://github.com/alphagov/govuk_frontend_toolkit/pull/332 Fix role="button" click shim https://github.com/alphagov/govuk_frontend_toolkit/pull/347 Make font variables lowercase https://github.com/alphagov/govuk_frontend_toolkit/pull/348 Update selection button documentation https://github.com/alphagov/govuk_frontend_toolkit/pull/350 Change colour used in phase tags to govuk-blue https://github.com/alphagov/govuk_frontend_toolkit/pull/353 --- Gemfile.lock | 4 ++-- app/assets/stylesheets/components/_phase-banner.scss | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) delete mode 100644 app/assets/stylesheets/components/_phase-banner.scss diff --git a/Gemfile.lock b/Gemfile.lock index 609675ce1..0059924e9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -120,7 +120,7 @@ GEM govuk_frontend_toolkit (>= 4.14.1) rails (>= 4.1.0) sass (>= 3.2.0) - govuk_frontend_toolkit (4.16.1) + govuk_frontend_toolkit (5.0.2) rails (>= 3.1.0) sass (>= 3.2.0) govuk_template (0.19.1) @@ -155,7 +155,7 @@ GEM method_source (0.8.2) mime-types (2.99.3) mini_portile2 (2.1.0) - minitest (5.10.0) + minitest (5.10.1) multi_json (1.11.2) multi_test (0.1.2) multipart-post (2.0.0) diff --git a/app/assets/stylesheets/components/_phase-banner.scss b/app/assets/stylesheets/components/_phase-banner.scss deleted file mode 100644 index 136603f38..000000000 --- a/app/assets/stylesheets/components/_phase-banner.scss +++ /dev/null @@ -1,4 +0,0 @@ -.phase-banner { - @include phase-banner(beta); - border-bottom: 0; -}