-
Notifications
You must be signed in to change notification settings - Fork 332
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7e5ec60
commit 2101cd5
Showing
9 changed files
with
19 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,13 +4,17 @@ For advice on how to use these release notes see [our guidance on staying up to | |
|
||
## Unreleased | ||
|
||
## v5.5.0 (Feature release) | ||
|
||
To install this version with npm, run `npm install [email protected]`. You can also find more information about [how to stay up to date](https://frontend.design-system.service.gov.uk/staying-up-to-date/#updating-to-the-latest-version) in our documentation. | ||
|
||
### New features | ||
|
||
#### We've updated the list of organisations and brand colours included in Frontend | ||
|
||
We've overhauled the list of organisations and organisation brand colours that are shipped with GOV.UK Frontend. | ||
|
||
The previous list was outdated and had not kept up with changes to the machinery of government. We have updated the list to: | ||
The previous list was outdated and had not kept up with changes to the machinery of government. We’ve updated the list to: | ||
|
||
- add all current government departments and their brand colours | ||
- add variants of brand colours that meet a 4.5:1 contrast ratio against white, where required | ||
|
@@ -26,11 +30,11 @@ $govuk-new-organisation-colours: true; | |
|
||
You can also silence warnings about defunct organisations by adding `organisation-colours` to the [`$govuk-suppressed-warnings`](https://frontend.design-system.service.gov.uk/sass-api-reference/#govuk-suppressed-warnings) setting. | ||
|
||
This change was introduced in [pull request #3407: Update organisation colours](https://github.com/alphagov/govuk-frontend/pull/3407). | ||
We introduced this change in [pull request #3407: Update organisation colours](https://github.com/alphagov/govuk-frontend/pull/3407). | ||
|
||
#### Stop long words breaking out of components with `govuk-!-text-break-word` | ||
|
||
We've added a new override class to help display long or unpredictable words on narrow screens, such as an email address entered by a user. | ||
We've added a new override class to help display long words with no obvious break points when the space is too narrow to display them on one line. An example of a long word might be an email address entered by a user. | ||
|
||
Wrapping the content with the `govuk-!-text-break-word` class forces words that are too long for the parent element to break onto a new line. | ||
|
||
|
@@ -40,19 +44,19 @@ A confirmation email will be sent to <span class="govuk-!-text-break-word">arthu | |
|
||
Sass users can also use the `govuk-text-break-word` mixin. | ||
|
||
This change was introduced in [pull request #5159: Add break-word typography helper](https://github.com/alphagov/govuk-frontend/pull/5159). | ||
We introduced this change in [pull request #5159: Add break-word typography helper](https://github.com/alphagov/govuk-frontend/pull/5159). | ||
|
||
### Recommended changes | ||
|
||
#### Update the `$websafe` parameter on the `govuk-organisation-colour` function | ||
|
||
The `govuk-organisation-colour` Sass function's `$websafe` parameter on has been renamed to `$contrast-safe`. | ||
The `govuk-organisation-colour` Sass function's `$websafe` parameter has been renamed to `$contrast-safe`. | ||
|
||
This is to more accurately describe the functionality of the parameter. | ||
|
||
The old parameter name will stop working in the next major version of GOV.UK Frontend. | ||
|
||
This change was introduced in [pull request #3407: Update organisation colours](https://github.com/alphagov/govuk-frontend/pull/3407). | ||
We introduced this change in [pull request #3407: Update organisation colours](https://github.com/alphagov/govuk-frontend/pull/3407). | ||
|
||
### Fixes | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
5.4.1 | ||
5.5.0 |
This file was deleted.
Oops, something went wrong.
6 changes: 3 additions & 3 deletions
6
dist/govuk-frontend-5.4.1.min.css → dist/govuk-frontend-5.5.0.min.css
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
dist/govuk-frontend-5.4.1.min.js → dist/govuk-frontend-5.5.0.min.js
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
dist/govuk-frontend-5.4.1.min.js.map → dist/govuk-frontend-5.5.0.min.js.map
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters