Skip to content
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 2.13.0 #1456

Merged
merged 2 commits into from
Jun 14, 2019
Merged
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
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
See the [versioning documentation for how to update this
changelog](./docs/contributing/versioning.md#updating-changelog).

## 2.13.0

🆕 New features

- You can now override the visually hidden 'Support links' text in the footer by
Expand Down
2 changes: 1 addition & 1 deletion dist/VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.12.0
2.13.0
3 changes: 0 additions & 3 deletions dist/govuk-frontend-2.12.0.min.css

This file was deleted.

3 changes: 3 additions & 0 deletions dist/govuk-frontend-2.13.0.min.css

Large diffs are not rendered by default.

File renamed without changes.
3 changes: 0 additions & 3 deletions dist/govuk-frontend-ie8-2.12.0.min.css

This file was deleted.

3 changes: 3 additions & 0 deletions dist/govuk-frontend-ie8-2.13.0.min.css

Large diffs are not rendered by default.

96 changes: 48 additions & 48 deletions package-lock.json

Large diffs are not rendered by default.

9 changes: 8 additions & 1 deletion package/components/button/_button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@
.govuk-button[disabled="disabled"],
.govuk-button[disabled] {
opacity: (.5);
background: $govuk-button-colour;

&:hover {
background-color: $govuk-button-colour;
Expand Down Expand Up @@ -179,6 +178,10 @@
&:hover,
&:focus {
background-color: $govuk-secondary-button-hover-colour;

&[disabled] {
background-color: $govuk-secondary-button-colour;
}
}
}

Expand Down Expand Up @@ -208,6 +211,10 @@
&:hover,
&:focus {
background-color: $govuk-warning-button-hover-colour;

&[disabled] {
background-color: $govuk-warning-button-colour;
}
}
}

Expand Down
5 changes: 5 additions & 0 deletions package/components/footer/macro-options.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
"required": false,
"description": "Object containing options for the meta navigation.",
"params": [
{
"name": "visuallyHiddenTitle",
"type": "string",
"description": "Title for a meta item section, which defaults to Support links"
},
{
"name": "html",
"type": "string",
Expand Down
2 changes: 1 addition & 1 deletion package/components/footer/template.njk
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
<div class="govuk-footer__meta">
<div class="govuk-footer__meta-item govuk-footer__meta-item--grow">
{% if params.meta %}
<h2 class="govuk-visually-hidden">{{ params.meta.visuallyHiddenTitle | default("Support links") }}</h2>
{% if params.meta.items %}
<h2 class="govuk-visually-hidden">Support links</h2>
<ul class="govuk-footer__inline-list">
{% for item in params.meta.items %}
<li class="govuk-footer__inline-list-item">
Expand Down
3 changes: 1 addition & 2 deletions package/components/header/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,7 @@

// Begin adjustments for font baseline offset
// These should be removed when the font is updated with the correct baseline
.govuk-header__logotype-crown,
.govuk-header__logotype-crown-fallback-image {
.govuk-header__logotype-crown {
position: relative;
top: -4px;
}
Expand Down
2 changes: 1 addition & 1 deletion package/components/header/template.njk
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

In other browsers <image> is synonymous for the <img> tag and will be
interpreted as such, displaying the fallback image. #}
<image src="{{ params.assetsPath | default('/assets/images') }}/govuk-logotype-crown.png" xlink:href="" class="govuk-header__logotype-crown-fallback-image"></image>
<image src="{{ params.assetsPath | default('/assets/images') }}/govuk-logotype-crown.png" xlink:href="" class="govuk-header__logotype-crown-fallback-image" width="36" height="32"></image>
</svg>
<span class="govuk-header__logotype-text">
GOV.UK
Expand Down
2 changes: 1 addition & 1 deletion package/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "govuk-frontend",
"description": "GOV.UK Frontend contains the code you need to start building a user interface for government platforms and services.",
"version": "2.12.0",
"version": "2.13.0",
"main": "all.js",
"sass": "all.scss",
"engines": {
Expand Down