Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Pull request

on:
pull_request:
branches:
- master
push:
branches:
- master

jobs:
build:
name: Pull request
runs-on: ubuntu-latest
if: github.repository == 'nhsuk/nhsuk-prototype-kit'

steps:
- uses: actions/checkout@v2

- name: Install dependencies
run: npm install

- name: Run linting
run: npm run lint:js
41 changes: 41 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Create release

on:
push:
tags:
- 'v*'

jobs:
build:
name: Create release
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
persist-credentials: false

- uses: actions/setup-node@v1
with:
node-version: 12

- name: Install dependencies
run: npm install

- name: Running Build
run: npm run build

- name: Get package version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/}

- name: Create release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
draft: false
prerelease: false
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ jspm_packages/

# System Files
.DS_Store
Thumbs.db
Thumbs.db
26 changes: 26 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# List the start up tasks. Learn more https://www.gitpod.io/docs/config-start-tasks/
tasks:
- init: npm install # runs during prebuild
command: npm run watch

github:
prebuilds:
# enable for the default branch (defaults to true)
master: true
# enable for all branches in this repo (defaults to false)
branches: true
# enable for pull requests coming from this repo (defaults to true)
pullRequests: true
# enable for pull requests coming from forks (defaults to false)
pullRequestsFromForks: true
# add a check to pull requests (defaults to true)
addCheck: true
# add a "Review in Gitpod" button as a comment to pull requests (defaults to false)
addComment: true
# add a "Review in Gitpod" button to the pull request's description (defaults to false)
addBadge: false

# List the ports to expose. Learn more https://www.gitpod.io/docs/config-ports/
ports:
- port: 3000
onOpen: open-preview
223 changes: 220 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,222 @@
# NHS.UK prototype kit Changelog

## 4.8.3 - 5 September 2022

:arrow_up: **Version bump**

- Release issues

## 4.8.2 - 5 September 2022

:arrow_up: **Version bump**

## 4.8.1 - 31 August 2022

:pencil2: **Content**

- Removed the 'deploy to Heroku' guidance page in response to [Heroku's upcoming removal of its free tier](https://blog.heroku.com/next-chapter#focus-on-mission-critical)

## 4.8.0 - 2 February 2022

:new: **New features**

- Install NHS.UK frontend v6.1.0 which includes text align utility class

## 4.7.3 - 8 December 2021

:wrench: **Fixes**

- Install NHS.UK frontend v6.0.1
- Update Health A-Z with new Nav A-Z
- Add list-border css to `_list-border.scss`
- Add support for Node 16.x

Node 16.x recently became the long term supported version of Nodejs. The `gulp-sass` dependency had a peer dependency pinned to specific version `node-sass` that doesn't work on Node 16.x. Node 16.x support got added to `node-sass` in `6.0.0` and above

## 4.7.2 - 28 October 2021

:wrench: **Fixes**

- Install NHS.UK frontend v5.2.1
- Update package dependencies to latest versions

## 4.7.1 - 12 October 2021

:wrench: **Fixes**

- Update download link for the prototype-kit to use the latest release instead of the master branch

## 4.7.0 - 22 September 2021

:new: **New features**

- Install latest version of NHS.UK frontend (5.2.0) which includes "None of these" Checkboxes JavaScript behaviour

## 4.6.4 - 25 August 2021

:wrench: **Fixes**

- Add script to fix bug with unchecked checkboxes and separate bug when only one checkbox is selected.
- Update package dependencies to latest versions

## 4.6.3 - 24 August 2021

:wrench: **Fixes**

- Use the correct name for the NHS digital service manual Slack instance
- Fix GitHub actions/Azure DevOps release pipelines [Issue 180](https://github.com/nhsuk/nhsuk-prototype-kit/issues/180)

## 4.6.2 - 24 August 2021

:wrench: **Fixes**

- Correct slack channel links on the `About` page.

## 4.6.1 - 18 August 2021

:wrench: **Fixes**

- Swap outdated `panel` for `card` on `clear-data.html` page.

## 4.6.0 - 16 August 2021

:new: **New features**

- Allow adding of custom styles on a per template basis with `customStyles` template block.

## 4.5.1 - 29 July 2021

:new: **New features**

- Add missing coronavirus hub page example from the NHS website which should have been in the previous release

:wrench: **Fixes**

- Update CSS link colours for the NHS website page examples

## 4.5.0 - 26 July 2021

:new: **New features**

- Add NHS website (www.nhs.uk) page examples (homepage, health a-z, live well, mental health, care and support, pregnancy, NHS services, coronavirus hub) and Google homepage template ([Issue #183](https://github.com/nhsuk/nhsuk-prototype-kit/issues/183))

## 4.4.1 - 26 May 2021

:wrench: **Fixes**

- Add missing steps to 'Updating the kit' how to guide
- Update package dependencies to latest versions

## 4.4.0 - 17 May 2021

:new: **New features**

- Install NHS.UK frontend v5.1.0 which includes JavaScript for the Error summary component

:wrench: **Fixes**

- Update package dependencies to latest versions
- Use `dart-sass` instead of `node-sass` as this module is now deprecated ([NHS.UK frontend issue #731](https://github.com/nhsuk/nhsuk-frontend/pull/731))

## 4.3.0 - 16th March 2021

:new: **New features**

- Install NHS.UK frontend v5.0.0
- Update package dependencies to latest versions

## 4.2.0 - 25 February 2021

:new: **New features**

- Add `outerContent` block to page template.

Add content that needs to appear outside `<main>` element but inside the `<nhsuk-width-container>`.

For example: The back link component.

- Update page template examples

:wrench: **Fixes**

- Update package dependencies to latest versions
- Use the latest version of jQuery (3.5.1)

## 4.1.0 - 21 January 2021

:new: **New features**

- Install [NHS.UK frontend v4.1.0](https://github.com/nhsuk/nhsuk-frontend/blob/master/CHANGELOG.md#410---21-january-2021)

:wrench: **Fixes**

- Update package dependencies to latest versions

## 4.0.0 - 27th October 2020

:boom: **Breaking changes**

- Remove the custom Phase banner component
- Remove the custom Tag component and use the Tag component from the NHS.UK frontend library
- Update the class names for the Confirmation panel which now uses the Card component
- Remove the custom panel confirmation styles

:new: **New features**

- Install [NHS.UK frontend v4.0.0](https://github.com/nhsuk/nhsuk-frontend/blob/master/CHANGELOG.md#400---26-october-2020) which includes the new Tag and Card components

:wrench: **Fixes**

- Remove HTML empty whitespace in the layout file caused by the nunjucks macro includes
- Add missing button on the passing data page to page examples
- Update package dependencies to latest versions
- Update confirmation page example to use new card component

## 3.1.0 - 24th April 2020

:new: **New features**

- Install NHS.UK frontend v3.1.0 which includes conditional Checkboxes and Radios
- Update package dependencies to latest versions

## 3.0.10 - 25th March 2020

:wrench: **Fixes**

- Install latest version of NHS.UK frontend (3.0.4)
- Update package dependencies to latest versions

## 3.0.9 - 18th March 2020

- Update package dependencies to latest versions

## 3.0.8 - 17th February 2020

:wrench: **Fixes**

- Use the latest version of the NHS.UK frontend library (3.0.3)
- Update package dependencies to latest versions

## 3.0.7 - 10th February 2020

:new: **New features**

- Add phase banner and tag components

## 3.0.6 - 7th November 2019

:wrench: **Fixes**

- Update to NHS.UK frontend v3.0.0

## 3.0.5 - 29th October 2019

- Add support for Node 12.x

Node 12.x recently became the long term supported version of Nodejs. The `gulp-sass` dependency had a peer dependency pinned to specific version `node-sass` that doesn't work on Node 12.x. Node 12.x support got added to `node-sass` in `4.12.0` and above.

- Update package dependencies to latest versions

## 3.0.4 - 2nd October 2019

- Use the latest version of the NHS.UK frontend library (v2.3.2)
Expand Down Expand Up @@ -80,13 +297,13 @@

:new: **New features**

- [Installation guides update for Windows and Mac following testing with users](https://github.com/nhsuk/nhsuk-prototype-kit/pull/68)
- [Installation guides update for Windows and Mac following testing with users](https://github.com/nhsuk/nhsuk-prototype-kit/pull/68)
- The prototype kit now is properly versioned and is the version is indicated in `package.json` `version` field and also on the index page of the docs.

:wrench: **Fixes**

- [Header and footer inconsistency on the branching examples](https://github.com/nhsuk/nhsuk-prototype-kit/issues/71)
- Fix inconsistencies with page titles, should be `Page name - NHS.UK prototype kit`
- [Header and footer inconsistency on the branching examples](https://github.com/nhsuk/nhsuk-prototype-kit/issues/71)
- Fix inconsistencies with page titles, should be `Page name - NHS.UK prototype kit`

## 1.0.0 - Feb 5, 2019

Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ You must protect user privacy at all times, even when using prototypes. Prototyp

If you want to contribute to the NHS.UK prototype kit, by reporting bugs, fixing bugs, suggesting new features or writing documentation, then read our [contributing guidelines](CONTRIBUTING.md).

## Development enviroment

[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/nhsuk/nhsuk-prototype-kit)

## Support

The NHS.UK prototype kit is maintained by NHS Digital. [Email us](mailto:service-manual@nhs.net), open a [Github issue](https://github.com/nhsuk/nhsuk-prototype-kit/issues/new) or get in touch on the [NHS digital service manual Slack workspace](https://join.slack.com/t/nhs-service-manual/shared_invite/enQtNTIyOTEyNjU3NDkyLTk4NDQ3YzkwYzk1Njk5YjAxYTI5YTVkZmUxMGQ0ZjA3NjMyM2ZkNjBlMWMxODVjZjYzNzg1ZmU4MWY1NmE2YzE).
Loading