-
Notifications
You must be signed in to change notification settings - Fork 324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release v5.5.0 #5218
Merged
Merged
Release v5.5.0 #5218
Conversation
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
JavaScript changes to GitHub releasediff --git a/dist/govuk-frontend-5.4.1.min.js b/dist/govuk-frontend-5.5.0.min.js
index 6f7f6128b..894c56aa3 100644
--- a/dist/govuk-frontend-5.4.1.min.js
+++ b/dist/govuk-frontend-5.5.0.min.js
@@ -1,4 +1,4 @@
-const version = "5.4.1";
+const version = "5.5.0";
function normaliseString(e, t) {
const n = e ? e.trim() : "";
@@ -1034,15 +1034,11 @@ class Tabs extends GOVUKFrontendComponent {
onTabKeydown(e) {
switch (e.key) {
case "ArrowLeft":
- case "ArrowUp":
case "Left":
- case "Up":
this.activatePreviousTab(), e.preventDefault();
break;
case "ArrowRight":
- case "ArrowDown":
case "Right":
- case "Down":
this.activateNextTab(), e.preventDefault()
}
}
@@ -1135,4 +1131,4 @@ export {
createAll,
initAll,
version
-}; //# sourceMappingURL=govuk-frontend-5.4.1.min.js.map
\ No newline at end of file
+}; //# sourceMappingURL=govuk-frontend-5.5.0.min.js.map
\ No newline at end of file
Action run for 2101cd5 |
Stylesheets changes to GitHub releasediff --git a/dist/govuk-frontend-5.4.1.min.css b/dist/govuk-frontend-5.5.0.min.css
index 86666b7cb..f01266081 100644
--- a/dist/govuk-frontend-5.4.1.min.css
+++ b/dist/govuk-frontend-5.5.0.min.css
@@ -1,7 +1,7 @@
@charset "UTF-8";
:root {
- --govuk-frontend-version: "5.4.1";
+ --govuk-frontend-version: "5.5.0";
--govuk-frontend-breakpoint-mobile: 20rem;
--govuk-frontend-breakpoint-tablet: 40.0625rem;
--govuk-frontend-breakpoint-desktop: 48.0625rem
@@ -4495,8 +4495,7 @@ only screen and (min-resolution:2dppx) {
text-decoration: underline;
text-decoration-thickness: max(1px, .0625rem);
text-underline-offset: .1578em;
- display: inline-block;
- padding-left: 30px
+ display: inline-block
}
.govuk-pagination__icon {
@@ -4519,59 +4518,43 @@ only screen and (min-resolution:2dppx) {
display: block
}
-.govuk-pagination--block .govuk-pagination__item {
- padding: 15px;
- float: none
-}
-
.govuk-pagination--block .govuk-pagination__next,
.govuk-pagination--block .govuk-pagination__prev {
padding-left: 0;
float: none
}
-.govuk-pagination--block .govuk-pagination__next {
- padding-right: 15px
+.govuk-pagination--block .govuk-pagination__next .govuk-pagination__link,
+.govuk-pagination--block .govuk-pagination__prev .govuk-pagination__link {
+ display: inline-block
}
-.govuk-pagination--block .govuk-pagination__next .govuk-pagination__icon {
- margin-left: 0
+.govuk-pagination--block .govuk-pagination__next {
+ padding-right: 15px
}
.govuk-pagination--block .govuk-pagination__prev+.govuk-pagination__next {
border-top: 1px solid #b1b4b6
}
-.govuk-pagination--block .govuk-pagination__link,
-.govuk-pagination--block .govuk-pagination__link-title {
- display: inline
-}
-
.govuk-pagination--block .govuk-pagination__link-title:after {
content: "";
display: block
}
.govuk-pagination--block .govuk-pagination__link {
+ padding-left: 30px;
text-align: left
}
-.govuk-pagination--block .govuk-pagination__link:focus .govuk-pagination__link-label {
- outline: 3px solid transparent;
- color: #0b0c0c;
- background-color: #fd0;
- box-shadow: 0 -2px #fd0, 0 4px #0b0c0c;
- text-decoration: none;
- -webkit-box-decoration-break: clone;
- box-decoration-break: clone
-}
-
.govuk-pagination--block .govuk-pagination__link:not(:focus) {
text-decoration: none
}
.govuk-pagination--block .govuk-pagination__icon {
- margin-right: 10px
+ margin-top: .326em;
+ margin-left: -30px;
+ float: left
}
.govuk-panel {
@@ -7570,6 +7553,11 @@ screen and (-ms-high-contrast:active) {
font-variant-numeric: tabular-nums !important
}
+.govuk-\!-text-break-word {
+ word-wrap: break-word !important;
+ overflow-wrap: break-word !important
+}
+
.govuk-\!-width-full,
.govuk-\!-width-three-quarters {
width: 100% !important
@@ -7621,4 +7609,4 @@ screen and (-ms-high-contrast:active) {
}
}
-/*# sourceMappingURL=govuk-frontend-5.4.1.min.css.map */
\ No newline at end of file
+/*# sourceMappingURL=govuk-frontend-5.5.0.min.css.map */
\ No newline at end of file
Action run for 2101cd5 |
Other changes to GitHub releasediff --git a/dist/VERSION.txt b/dist/VERSION.txt
index ade65226e..d50359de1 100644
--- a/dist/VERSION.txt
+++ b/dist/VERSION.txt
@@ -1 +1 @@
-5.4.1
+5.5.0
Action run for 2101cd5 |
📋 StatsFile sizes
Modules
View stats and visualisations on the review app Action run for 2101cd5 |
querkmachine
approved these changes
Aug 9, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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’ve updated the list to:
To enable these changes, set the feature flag variable
$govuk-new-organisation-colours
totrue
before you import GOV.UK Frontend in your Sass files:You can also silence warnings about defunct organisations by adding
organisation-colours
to the$govuk-suppressed-warnings
setting.We introduced this change in pull request #3407: Update organisation colours.
Stop long words breaking out of components with
govuk-!-text-break-word
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.Sass users can also use the
govuk-text-break-word
mixin.We introduced this change in pull request #5159: Add break-word typography helper.
Recommended changes
Update the
$websafe
parameter on thegovuk-organisation-colour
functionThe
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.
We introduced this change in pull request #3407: Update organisation colours.
Fixes
We've made fixes to GOV.UK Frontend in the following pull requests:
href
andtext
for falsy values