From 22b5c29f1bd71d9156e5433df73c62ce921232ab Mon Sep 17 00:00:00 2001 From: Andy Porter Date: Mon, 27 Nov 2023 11:29:00 +0000 Subject: [PATCH 1/2] instruction to install v1.1.0 of the front end components --- src/get-started/prototyping/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/get-started/prototyping/index.md b/src/get-started/prototyping/index.md index 7d9c4951ac..470a7daabe 100644 --- a/src/get-started/prototyping/index.md +++ b/src/get-started/prototyping/index.md @@ -22,7 +22,7 @@ To make prototypes use the link below to navigate to the GOV.UK setup guide. Using the latest prototype kit as a base, install the HM Land Registry frontend styles and templates: ```sh -npm install @hmlr/frontend +npm install @hmlr/frontend@v1.1.0 ``` You can now import and use the HM Land Registry components in your prototype just as you can with the GOV.UK ones. From eabb0b3ce1737ef39dc05db5de06317a513aa591 Mon Sep 17 00:00:00 2001 From: Andy Porter Date: Mon, 27 Nov 2023 12:17:19 +0000 Subject: [PATCH 2/2] information about the older version of HMLR compeonents and where to get help --- src/get-started/prototyping/index.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/get-started/prototyping/index.md b/src/get-started/prototyping/index.md index 470a7daabe..17931130a7 100644 --- a/src/get-started/prototyping/index.md +++ b/src/get-started/prototyping/index.md @@ -7,6 +7,8 @@ order: 1 description: This guide explains how to create prototypes using the GOV.UK Design System and GOV.UK Prototype Kit --- +{% from "govuk/components/inset-text/macro.njk" import govukInsetText %} + The GOV.UK guide explains how to create prototypes using the GOV.UK Design System and GOV.UK Prototype Kit. ## Before you start @@ -28,3 +30,10 @@ npm install @hmlr/frontend@v1.1.0 You can now import and use the HM Land Registry components in your prototype just as you can with the GOV.UK ones. Example code can be found in the [components](/components/) section. + +{{ govukInsetText({ + classes: "app-table--constrained", + html: 'These instructions will install an older version (v1.1.0) of the HM Land Registry components, as a bug exists when using the latest version (v1.3.0) with the latest Gov prototype kit (v13). Contact us if you need help using the components.' +}) }} + +