From f991f01372e2330d2a2d9e0c7d0cba19f05a373d Mon Sep 17 00:00:00 2001 From: Oliver Byford Date: Fri, 10 May 2024 12:03:34 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20imports=20of=20=E2=80=98core=E2=80=99=20f?= =?UTF-8?q?rom=20full=20page=20examples?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit After the changes in #4955 we need to follow the instructions in our own deprecation message to update the imports from our full-page examples: ``` Importing using 'govuk/core/all' is deprecated. Update your import statement to import 'govuk/core/index'. ``` --- .../src/stylesheets/full-page-examples/campaign-page.scss | 2 +- .../src/stylesheets/full-page-examples/search.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/govuk-frontend-review/src/stylesheets/full-page-examples/campaign-page.scss b/packages/govuk-frontend-review/src/stylesheets/full-page-examples/campaign-page.scss index d921acca0a..1cb0f60f15 100644 --- a/packages/govuk-frontend-review/src/stylesheets/full-page-examples/campaign-page.scss +++ b/packages/govuk-frontend-review/src/stylesheets/full-page-examples/campaign-page.scss @@ -1,5 +1,5 @@ @import "govuk/base"; -@import "govuk/core/all"; +@import "govuk/core"; .app-header--campaign { padding-bottom: govuk-spacing(2); diff --git a/packages/govuk-frontend-review/src/stylesheets/full-page-examples/search.scss b/packages/govuk-frontend-review/src/stylesheets/full-page-examples/search.scss index d5acb32516..1ac41e4dae 100644 --- a/packages/govuk-frontend-review/src/stylesheets/full-page-examples/search.scss +++ b/packages/govuk-frontend-review/src/stylesheets/full-page-examples/search.scss @@ -1,5 +1,5 @@ @import "govuk/base"; -@import "govuk/core/all"; +@import "govuk/core"; .app-document-list > li { padding-top: govuk-spacing(4);