-
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 v3.6.0 #1762
Merged
Merged
Release v3.6.0 #1762
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
Changes to dist: diff --git a/dist/VERSION.txt b/dist/VERSION.txt
index ae1ac7cc..4808b3d8 100644
--- a/dist/VERSION.txt
+++ b/dist/VERSION.txt
@@ -1 +1 @@
-3.5.0
+3.6.0
diff --git a/dist/govuk-frontend-3.5.0.min.css b/dist/govuk-frontend-3.6.0.min.css
similarity index 64%
rename from dist/govuk-frontend-3.5.0.min.css
rename to dist/govuk-frontend-3.6.0.min.css
index 9c526ac3..5ff042a5 100644
--- a/dist/govuk-frontend-3.5.0.min.css
+++ b/dist/govuk-frontend-3.6.0.min.css
@@ -3906,6 +3906,51 @@ only screen and (min-resolution:192dpi) {
background-color: #626a6e
}
+.govuk-tag--grey {
+ color: #454a4d;
+ background: #eff0f1
+}
+
+.govuk-tag--purple {
+ color: #3d2375;
+ background: #dbd5e9
+}
+
+.govuk-tag--turquoise {
+ color: #10403c;
+ background: #bfe3e0
+}
+
+.govuk-tag--blue {
+ color: #144e81;
+ background: #d2e2f1
+}
+
+.govuk-tag--yellow {
+ color: #594d00;
+ background: #fff7bf
+}
+
+.govuk-tag--orange {
+ color: #6e3619;
+ background: #fcd6c3
+}
+
+.govuk-tag--red {
+ color: #942514;
+ background: #f6d7d2
+}
+
+.govuk-tag--pink {
+ color: #80224d;
+ background: #f7d7e6
+}
+
+.govuk-tag--green {
+ color: #005a30;
+ background: #cce2d8
+}
+
.govuk-phase-banner {
padding-top: 10px;
padding-bottom: 10px;
@@ -4917,6 +4962,12 @@ only screen and (min-resolution:192dpi) {
display: none !important
}
+@media print {
+ .govuk-\!-display-none-print {
+ display: none !important
+ }
+}
+
.govuk-\!-margin-0 {
margin: 0 !important
}
diff --git a/dist/govuk-frontend-3.5.0.min.js b/dist/govuk-frontend-3.6.0.min.js
similarity index 81%
rename from dist/govuk-frontend-3.5.0.min.js
rename to dist/govuk-frontend-3.6.0.min.js
index 3e39c536..6b658f0b 100644
--- a/dist/govuk-frontend-3.5.0.min.js
+++ b/dist/govuk-frontend-3.6.0.min.js
@@ -643,7 +643,7 @@
}.bind(this))
},
function(t) {
- "Element" in this && "nextElementSibling" in document.documentElement || Object.defineProperty(Element.prototype, "nextElementSibling", {
+ "document" in this && "nextElementSibling" in document.documentElement || Object.defineProperty(Element.prototype, "nextElementSibling", {
get: function() {
for (var t = this.nextSibling; t && 1 !== t.nodeType;) t = t.nextSibling;
return t
@@ -651,7 +651,7 @@
})
}.call("object" == typeof window && window || "object" == typeof self && self || "object" == typeof global && global || {}),
function(t) {
- "Element" in this && "previousElementSibling" in document.documentElement || Object.defineProperty(Element.prototype, "previousElementSibling", {
+ "document" in this && "previousElementSibling" in document.documentElement || Object.defineProperty(Element.prototype, "previousElementSibling", {
get: function() {
for (var t = this.previousSibling; t && 1 !== t.nodeType;) t = t.previousSibling;
return t
diff --git a/dist/govuk-frontend-ie8-3.5.0.min.css b/dist/govuk-frontend-ie8-3.6.0.min.css
similarity index 66%
rename from dist/govuk-frontend-ie8-3.5.0.min.css
rename to dist/govuk-frontend-ie8-3.6.0.min.css
index 98c3f748..94e8f375 100644
--- a/dist/govuk-frontend-ie8-3.5.0.min.css
+++ b/dist/govuk-frontend-ie8-3.6.0.min.css
@@ -2383,6 +2383,51 @@
background-color: #626a6e
}
+.govuk-tag--grey {
+ color: #454a4d;
+ background: #eff0f1
+}
+
+.govuk-tag--purple {
+ color: #3d2375;
+ background: #dbd5e9
+}
+
+.govuk-tag--turquoise {
+ color: #10403c;
+ background: #bfe3e0
+}
+
+.govuk-tag--blue {
+ color: #144e81;
+ background: #d2e2f1
+}
+
+.govuk-tag--yellow {
+ color: #594d00;
+ background: #fff7bf
+}
+
+.govuk-tag--orange {
+ color: #6e3619;
+ background: #fcd6c3
+}
+
+.govuk-tag--red {
+ color: #942514;
+ background: #f6d7d2
+}
+
+.govuk-tag--pink {
+ color: #80224d;
+ background: #f7d7e6
+}
+
+.govuk-tag--green {
+ color: #005a30;
+ background: #cce2d8
+}
+
.govuk-phase-banner {
padding-top: 10px;
padding-bottom: 10px; |
alex-ju
approved these changes
Mar 6, 2020
Thanks for the review @alex-ju 👍 |
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
Use colours with the tag component
You can now use colour with tags to help distinguish between different tags - or to help draw the user’s attention to a tag if it’s especially important.
This also means you should replace the
.govuk-tag--inactive
class with the.govuk-tag--grey
class..govuk-tag--inactive
is now deprecated, and it will be removed in a future release.Pull request #1711: Additional Tag modifier classes for different colours.
Hide elements when users print a page
You can now hide elements when users print a page, using the new
govuk-!-display-none-print
class.Pull request #1723: Add display override for hiding content when printing.
The
iff
Sass function is now deprecatedYou should no longer use the
iff
Sass function. The function is now deprecated, and it will be removed in a future release.Pull request #1742: Deprecate iff function.
Fixes
Closes #1755