hmrc-frontend 5.62.0 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/govuk-prototype-kit.config.json +1 -1
- package/hmrc/VERSION.txt +1 -1
- package/hmrc/{accessible-autocomplete-5.62.0.css → accessible-autocomplete-6.0.0.css} +2 -2
- package/hmrc/{accessible-autocomplete-5.62.0.js → accessible-autocomplete-6.0.0.js} +1 -16
- package/hmrc/accessible-autocomplete.js +1 -2
- package/hmrc/accessible-autocomplete.scss +3 -3
- package/hmrc/all-govuk-and-hmrc.js +2 -5
- package/hmrc/all-govuk-and-hmrc.scss +1 -1
- package/hmrc/all.js +81 -546
- package/hmrc/all.scss +0 -1
- package/hmrc/components/accessible-autocomplete/template.njk +3 -3
- package/hmrc/components/account-menu/_account-menu.scss +4 -24
- package/hmrc/components/account-menu/account-menu.js +0 -1
- package/hmrc/components/add-to-a-list/_add-to-a-list.scss +4 -4
- package/hmrc/components/add-to-a-list/template.njk +2 -2
- package/hmrc/components/back-link-helper/_back-link-helper.scss +4 -0
- package/hmrc/components/banner/template.njk +0 -5
- package/hmrc/components/character-count/template.njk +1 -1
- package/hmrc/components/currency-input/_currency-input.scss +4 -4
- package/hmrc/components/currency-input/template.njk +3 -3
- package/hmrc/components/header/template.njk +19 -34
- package/hmrc/components/internal-header/README.md +1 -1
- package/hmrc/components/internal-header/template.njk +14 -18
- package/hmrc/components/list-with-actions/_list-with-actions.scss +3 -3
- package/hmrc/components/timeline/_timeline.scss +1 -1
- package/hmrc/components/timeout-dialog/_timeout-dialog.scss +4 -9
- package/hmrc/components/timeout-dialog/dialog.js +1 -2
- package/hmrc/components/timeout-dialog/timeout-dialog.js +0 -5
- package/hmrc/components/timeout-dialog/utils.js +3 -4
- package/hmrc/components/timeout-dialog/validate-input.js +0 -2
- package/hmrc/components/user-research-banner/_user-research-banner.scss +3 -3
- package/hmrc/govuk/images/favicon.svg +4 -0
- package/hmrc/govuk/images/govuk-icon-180.png +0 -0
- package/hmrc/govuk/images/govuk-icon-192.png +0 -0
- package/hmrc/govuk/images/govuk-icon-512.png +0 -0
- package/hmrc/govuk/images/govuk-icon-mask.svg +3 -0
- package/hmrc/hmrc-frontend-6.0.0.min.css +4 -0
- package/hmrc/hmrc-frontend-6.0.0.min.js +3 -0
- package/hmrc/maps/accessible-autocomplete-6.0.0.css.map +1 -0
- package/hmrc/maps/hmrc-frontend-6.0.0.min.css.map +1 -0
- package/hmrc/maps/hmrc-frontend-6.0.0.min.js.map +1 -0
- package/package.json +2 -2
- package/hmrc/all-govuk-and-hmrc-ie8.scss +0 -3
- package/hmrc/all-ie8.scss +0 -6
- package/hmrc/common.js +0 -17
- package/hmrc/govuk/images/govuk-apple-touch-icon-152x152.png +0 -0
- package/hmrc/govuk/images/govuk-apple-touch-icon-167x167.png +0 -0
- package/hmrc/govuk/images/govuk-apple-touch-icon-180x180.png +0 -0
- package/hmrc/govuk/images/govuk-apple-touch-icon.png +0 -0
- package/hmrc/govuk/images/govuk-logotype-crown.png +0 -0
- package/hmrc/govuk/images/govuk-mask-icon.svg +0 -7
- package/hmrc/hmrc-frontend-5.62.0.min.css +0 -4
- package/hmrc/hmrc-frontend-5.62.0.min.js +0 -3
- package/hmrc/hmrc-frontend-ie8-5.62.0.min.css +0 -2
- package/hmrc/maps/accessible-autocomplete-5.62.0.css.map +0 -1
- package/hmrc/maps/hmrc-frontend-5.62.0.min.css.map +0 -1
- package/hmrc/maps/hmrc-frontend-5.62.0.min.js.map +0 -1
- package/hmrc/maps/hmrc-frontend-ie8-5.62.0.min.css.map +0 -1
package/hmrc/all.scss
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
{% from "govuk/components/error-message/macro.njk" import govukErrorMessage -%}
|
|
2
|
-
{% from "govuk/components/hint/macro.njk" import govukHint %}
|
|
3
|
-
{% from "govuk/components/label/macro.njk" import govukLabel %}
|
|
1
|
+
{% from "dist/govuk/components/error-message/macro.njk" import govukErrorMessage -%}
|
|
2
|
+
{% from "dist/govuk/components/hint/macro.njk" import govukHint %}
|
|
3
|
+
{% from "dist/govuk/components/label/macro.njk" import govukLabel %}
|
|
4
4
|
|
|
5
5
|
{% set describedBy = params.describedBy if params.describedBy else "" %}
|
|
6
6
|
<div class="govuk-form-group {%- if params.errorMessage %} govuk-form-group--error{% endif %} {%- if params.formGroup.classes %} {{ params.formGroup.classes }}{% endif %}">
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
@import "../../../../govuk-frontend/govuk/settings/all";
|
|
2
|
-
@import "../../../../govuk-frontend/govuk/tools/all";
|
|
3
|
-
@import "../../../../govuk-frontend/govuk/helpers/all";
|
|
4
|
-
@import "../../../../govuk-frontend/govuk/vendor/sass-mq";
|
|
1
|
+
@import "../../../../govuk-frontend/dist/govuk/settings/all";
|
|
2
|
+
@import "../../../../govuk-frontend/dist/govuk/tools/all";
|
|
3
|
+
@import "../../../../govuk-frontend/dist/govuk/helpers/all";
|
|
4
|
+
@import "../../../../govuk-frontend/dist/govuk/vendor/sass-mq";
|
|
5
5
|
|
|
6
6
|
// previously provided by govuk-template, no equivalent in govuk-frontend
|
|
7
7
|
.hidden {
|
|
@@ -33,10 +33,6 @@ $hmrc-transition-type: "all";
|
|
|
33
33
|
background-image: url("data:image/svg+xml;base64,PHN2ZyBkYXRhLW5hbWU9IkxheWVyIDEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDI0IDI0IiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaW5ZTWlkIj48dGl0bGU+aWNvbi1ob21lPC90aXRsZT48cGF0aCBkPSJNMTIgMkwxIDEyLjVoMy4xOXY5LjM4aDUuNDR2LTcuMTNoNC41djcuMTNoNS40NFYxMi41SDIzTDEyIDJ6Ii8+PC9zdmc+");
|
|
34
34
|
background-position: left -1px;
|
|
35
35
|
background-size: 19px;
|
|
36
|
-
|
|
37
|
-
@include govuk-if-ie8 {
|
|
38
|
-
background-image: url("#{$hmrc-assets-path}components/account-menu/images/icon-home.png");
|
|
39
|
-
}
|
|
40
36
|
}
|
|
41
37
|
|
|
42
38
|
.hmrc-account-menu {
|
|
@@ -222,10 +218,6 @@ body:not(.js-enabled) {
|
|
|
222
218
|
background-position: 10px;
|
|
223
219
|
background-size: 12px;
|
|
224
220
|
|
|
225
|
-
@include govuk-if-ie8 {
|
|
226
|
-
background-image: url("#{$hmrc-assets-path}components/account-menu/images/icon-chevron-left.png");
|
|
227
|
-
}
|
|
228
|
-
|
|
229
221
|
.hmrc-account-menu__link {
|
|
230
222
|
padding: 12px 8px 8px;
|
|
231
223
|
|
|
@@ -242,10 +234,6 @@ body:not(.js-enabled) {
|
|
|
242
234
|
background-repeat: no-repeat;
|
|
243
235
|
background-position: right 4px center;
|
|
244
236
|
background-size: 12px;
|
|
245
|
-
|
|
246
|
-
@include govuk-if-ie8 {
|
|
247
|
-
background-image: url("#{$hmrc-assets-path}components/account-menu/images/icon-chevron-right.png");
|
|
248
|
-
}
|
|
249
237
|
}
|
|
250
238
|
|
|
251
239
|
.js-enabled .hmrc-account-home--account--is-open,
|
|
@@ -254,10 +242,6 @@ body:not(.js-enabled) {
|
|
|
254
242
|
background-image: url("#{$hmrc-assets-path}components/account-menu/images/icon-chevron-down.svg");
|
|
255
243
|
background-position: right 4px center;
|
|
256
244
|
background-size: 12px;
|
|
257
|
-
|
|
258
|
-
@include govuk-if-ie8 {
|
|
259
|
-
background-image: url("#{$hmrc-assets-path}components/account-menu/images/icon-chevron-down.png");
|
|
260
|
-
}
|
|
261
245
|
}
|
|
262
246
|
|
|
263
247
|
.js-enabled .hmrc-account-menu__link--more {
|
|
@@ -267,10 +251,6 @@ body:not(.js-enabled) {
|
|
|
267
251
|
background-position: right 14px center;
|
|
268
252
|
background-size: 12px;
|
|
269
253
|
|
|
270
|
-
@include govuk-if-ie8 {
|
|
271
|
-
background-image: url("#{$hmrc-assets-path}components/account-menu/images/icon-chevron-down.png");
|
|
272
|
-
}
|
|
273
|
-
|
|
274
254
|
&::before,
|
|
275
255
|
&::after {
|
|
276
256
|
content: none;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
@import "../../../../govuk-frontend/govuk/settings/all";
|
|
2
|
-
@import "../../../../govuk-frontend/govuk/tools/all";
|
|
3
|
-
@import "../../../../govuk-frontend/govuk/helpers/all";
|
|
4
|
-
@import "../../../../govuk-frontend/govuk/vendor/sass-mq";
|
|
1
|
+
@import "../../../../govuk-frontend/dist/govuk/settings/all";
|
|
2
|
+
@import "../../../../govuk-frontend/dist/govuk/tools/all";
|
|
3
|
+
@import "../../../../govuk-frontend/dist/govuk/helpers/all";
|
|
4
|
+
@import "../../../../govuk-frontend/dist/govuk/vendor/sass-mq";
|
|
5
5
|
|
|
6
6
|
.hmrc-add-to-a-list {
|
|
7
7
|
padding-left: 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
{% from "govuk/components/button/macro.njk" import govukButton with context %}
|
|
2
|
-
{% from "govuk/components/radios/macro.njk" import govukRadios with context %}
|
|
1
|
+
{% from "dist/govuk/components/button/macro.njk" import govukButton with context %}
|
|
2
|
+
{% from "dist/govuk/components/radios/macro.njk" import govukRadios with context %}
|
|
3
3
|
{% from "../list-with-actions/macro.njk" import hmrcListWithActions with context %}
|
|
4
4
|
|
|
5
5
|
{% if params.language == 'cy' %}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
<div class="hmrc-banner">
|
|
2
2
|
<div class="hmrc-organisation-logo">
|
|
3
|
-
<!--[if gt IE 8]><!-->
|
|
4
3
|
<svg data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="26px" height="26px" viewBox="0 0 134.94 134.94" focusable="false" aria-hidden="true">
|
|
5
4
|
<path d="M104.32,73.72,101,73.29c.94-2,1.51-3.22,1.51-3.22,0-.38,1.11-2.22,1.53-3.73a19.94,19.94,0,0,0,.61-3.89,15.05,15.05,0,0,0-3.68-10.06,12.21,12.21,0,0,0-9.18-4.18,17.46,17.46,0,0,0-3.68.44c-2.09.52-3.08.81-4.93,1.29a51.13,51.13,0,0,0-8.85,3.61,1.37,1.37,0,0,0-.73.91,2,2,0,0,0-.07.53L73.31,71.6H70.53V53.46a4.05,4.05,0,0,1,.18-1.14,3.37,3.37,0,0,1,1.43-1.71c.6-.39,1.21-.75,1.82-1.08a2.49,2.49,0,1,1,3.87-2.07c0,.12,0,.25,0,.37l.16-.06c.55-.19,1.16-.37,1.75-.55a2.49,2.49,0,1,1,3.71-2.16,2.66,2.66,0,0,1-.3,1.16l2.06-.56.36-.08a2.49,2.49,0,1,1,3.87-2.07A2.42,2.42,0,0,1,89,44.82h.06a16.43,16.43,0,0,1,2.72-.18,2.45,2.45,0,0,1-.48-1.45,2.49,2.49,0,1,1,5,0,2.46,2.46,0,0,1-.89,1.89A16.46,16.46,0,0,1,98.1,46a2.41,2.41,0,0,1-.12-.72,2.5,2.5,0,1,1,3,2.44,16.7,16.7,0,0,1,2.12,1.91v-.08a2.49,2.49,0,1,1,2.49,2.49,2.15,2.15,0,0,1-.68-.11,18.34,18.34,0,0,1,1.25,2.26,2.49,2.49,0,0,1,4.55,1.4,2.5,2.5,0,0,1-2.49,2.5,2.64,2.64,0,0,1-.8-.15,20.9,20.9,0,0,1,.35,2.1,2.52,2.52,0,0,1,1-.19,2.49,2.49,0,1,1,0,5,2.59,2.59,0,0,1-1.07-.25c0,.26-.08.54-.11.82s-.14.55-.21.78a2.49,2.49,0,0,1-.32,5,2.39,2.39,0,0,1-1.39-.43c-.34.8-.78,1.83-1.27,3" />
|
|
6
5
|
<path d="M67.45,71.79a2.39,2.39,0,1,1,0-4.78h0a2.39,2.39,0,0,1,0,4.78Z" />
|
|
@@ -14,10 +13,6 @@
|
|
|
14
13
|
<path d="M91.11,94.65A1.45,1.45,0,0,1,89.58,96l-7.89-.42a1.47,1.47,0,0,1-1.39-1.53L80.37,93a1.44,1.44,0,0,1,1.53-1.38l7.89.42a1.45,1.45,0,0,1,1.39,1.52Zm-20.47-1-2.81,2.81a.57.57,0,0,1-.36.16h0a.57.57,0,0,1-.36-.16l-2.82-2.81a.56.56,0,0,1,0-.81L67.09,90a.57.57,0,0,1,.36-.16h0a.57.57,0,0,1,.36.16l2.81,2.81a.55.55,0,0,1,0,.81m-17.41,2L45.34,96a1.45,1.45,0,0,1-1.53-1.37l-.07-1.13A1.46,1.46,0,0,1,45.13,92L53,91.58A1.45,1.45,0,0,1,54.55,93l.07,1.11a1.47,1.47,0,0,1-1.39,1.53m53.32-19.89a1.65,1.65,0,0,0-1.14-.66L100,74.32a.43.43,0,0,0-.43.39.45.45,0,0,0,.28.54h0a7,7,0,0,1,4,6.41c-3.92-.81-4.9-2.82-5.15-5.6,0-.12-.11-.33-.44-.36a.46.46,0,0,0-.49.25v0L96.24,88v0a.48.48,0,0,0,.91.16A7,7,0,0,1,103.5,84a8,8,0,0,1-5.59,5.74h0c-2-.22-4.09-.41-6.18-.59a5.1,5.1,0,0,1-4-4.14,3.86,3.86,0,0,1,.21-1c.51-1.36,1.49-2.25,2.58-1.85s1.26,1.72.76,3.07a3.58,3.58,0,0,1-.89,1.37A3.58,3.58,0,0,0,93.51,85c1.39-2,1.23-5-.94-6.27-1.42-.83-3.38.13-4.87,2,.45-2.93,2.23-5.52,2.43-7.78.29-3.19-.94-6.74-2.69-7.71-1.82.67-3.48,4-3.64,7.13-.1,2.27,1.43,5.26,1.51,8.25-1.23-2.13-3.1-3.4-4.63-2.76-2.32.94-2.91,3.94-1.8,6.09a3.67,3.67,0,0,0,2.85,2,3.45,3.45,0,0,1-.7-1.48c-.31-1.42,0-2.67,1.17-2.94s2,.76,2.3,2.18a3.64,3.64,0,0,1,0,1.31h0C83.65,87.2,82,87.94,80,88.44q-3.09-.14-6.23-.2h0l-.22,0c-2.94-.48-4.43-2.35-4.73-5.87a6.85,6.85,0,0,1,5.53,4.22.56.56,0,0,0,.55.35.48.48,0,0,0,.54-.44V75.35a.51.51,0,0,0-.5-.36.56.56,0,0,0-.51.33h0v0c-.52,2-1.58,4-5.61,4.3.33-3.93,2.12-5.13,4.74-5.7a.43.43,0,0,0,.3-.14.48.48,0,0,0,.13-.32v0a.52.52,0,0,0-.16-.35.5.5,0,0,0-.3-.11H61.41a.5.5,0,0,0-.3.11.57.57,0,0,0-.17.35v0a.48.48,0,0,0,.13.32.46.46,0,0,0,.31.14c2.61.57,4.41,1.77,4.74,5.7-4-.33-5.1-2.26-5.61-4.3v0h0A.56.56,0,0,0,60,75a.5.5,0,0,0-.5.36v11.1a.48.48,0,0,0,.54.44.53.53,0,0,0,.54-.35,6.87,6.87,0,0,1,5.54-4.22c-.3,3.52-1.79,5.39-4.73,5.87l-.23,0h0c-2.08,0-4.16.11-6.22.2-2-.5-3.66-1.24-4.56-3.37h0a3.43,3.43,0,0,1,.05-1.31c.31-1.42,1.16-2.42,2.3-2.18s1.47,1.52,1.17,2.94A3.69,3.69,0,0,1,53.2,86,3.67,3.67,0,0,0,56,84c1.1-2.15.52-5.15-1.8-6.09-1.54-.64-3.41.63-4.63,2.76.08-3,1.61-6,1.51-8.25-.16-3.18-1.82-6.46-3.64-7.13-1.75,1-3,4.52-2.69,7.71.2,2.26,2,4.85,2.43,7.78-1.49-1.86-3.46-2.82-4.87-2C40.18,80,40,83.07,41.41,85a3.58,3.58,0,0,0,3.08,1.63,3.58,3.58,0,0,1-.89-1.37c-.51-1.35-.39-2.64.76-3.07s2.07.49,2.58,1.85a3.86,3.86,0,0,1,.21,1,5.11,5.11,0,0,1-4,4.14c-2.07.18-4.13.37-6.17.59h0A8,8,0,0,1,31.42,84a7,7,0,0,1,6.35,4.12.45.45,0,0,0,.53.27.45.45,0,0,0,.38-.43v0L37.19,76v0a.47.47,0,0,0-.5-.25c-.32,0-.44.24-.44.36C36,78.83,35,80.84,31.1,81.65a7,7,0,0,1,4-6.41h0a.45.45,0,0,0,.28-.54.43.43,0,0,0-.43-.39l-5.46.73a1.65,1.65,0,0,0-1.14.66,1.84,1.84,0,0,0-.26,1.44c.14.81,1.79,12.39,1.94,13.45,0,.1.15,1.18.19,1.5a1.36,1.36,0,0,0,.48.67s2.42,1.64,2.84,2a.74.74,0,0,1,.18.86l-2.15,3.14a2,2,0,0,0-.26.42,1.19,1.19,0,0,0,.39,1.34H103.2a1.19,1.19,0,0,0,.39-1.34,2,2,0,0,0-.26-.42l-2.15-3.14a.75.75,0,0,1,.17-.86c.43-.33,2.85-2,2.85-2a1.36,1.36,0,0,0,.48-.67c0-.32.17-1.4.18-1.5.16-1.06,1.81-12.64,2-13.45a1.84,1.84,0,0,0-.26-1.44" />
|
|
15
14
|
<path d="M67.47,7.72a59.76,59.76,0,1,0,59.75,59.75A59.75,59.75,0,0,0,67.47,7.72m67.47,59.75A67.47,67.47,0,1,1,67.47,0a67.47,67.47,0,0,1,67.47,67.47" />
|
|
16
15
|
</svg>
|
|
17
|
-
<!--<![endif]-->
|
|
18
|
-
<!--[if IE 8]>
|
|
19
|
-
<img src="{{ params.assetsPath | default('/assets') }}/components/banner/images/hmrc_crest_18px.png">
|
|
20
|
-
<![endif]-->
|
|
21
16
|
<p class="govuk-body-s">{% if params.language == 'cy' %}
|
|
22
17
|
Cyllid a Thollau EF
|
|
23
18
|
{% else %}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{% set language = params.language | default('en') %}
|
|
2
|
-
{% from "govuk/components/character-count/macro.njk" import govukCharacterCount %}
|
|
2
|
+
{% from "dist/govuk/components/character-count/macro.njk" import govukCharacterCount %}
|
|
3
3
|
|
|
4
4
|
{% if language === 'cy' %}
|
|
5
5
|
{{ govukCharacterCount({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
@import "../../../../govuk-frontend/govuk/settings/all";
|
|
2
|
-
@import "../../../../govuk-frontend/govuk/tools/all";
|
|
3
|
-
@import "../../../../govuk-frontend/govuk/helpers/all";
|
|
4
|
-
@import "../../../../govuk-frontend/govuk/vendor/sass-mq";
|
|
1
|
+
@import "../../../../govuk-frontend/dist/govuk/settings/all";
|
|
2
|
+
@import "../../../../govuk-frontend/dist/govuk/tools/all";
|
|
3
|
+
@import "../../../../govuk-frontend/dist/govuk/helpers/all";
|
|
4
|
+
@import "../../../../govuk-frontend/dist/govuk/vendor/sass-mq";
|
|
5
5
|
|
|
6
6
|
.hmrc-currency-input__wrapper {
|
|
7
7
|
position: relative;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
{% from "govuk/components/error-message/macro.njk" import govukErrorMessage -%}
|
|
2
|
-
{% from "govuk/components/hint/macro.njk" import govukHint %}
|
|
3
|
-
{% from "govuk/components/label/macro.njk" import govukLabel %}
|
|
1
|
+
{% from "dist/govuk/components/error-message/macro.njk" import govukErrorMessage -%}
|
|
2
|
+
{% from "dist/govuk/components/hint/macro.njk" import govukHint %}
|
|
3
|
+
{% from "dist/govuk/components/label/macro.njk" import govukLabel %}
|
|
4
4
|
|
|
5
5
|
{#- a record of other elements that we need to associate with the input using
|
|
6
6
|
aria-describedby – for example hints or error messages -#}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{% set language = params.language | default('en') %}
|
|
2
2
|
{% from "../banner/macro.njk" import hmrcBanner %}
|
|
3
3
|
{% from "../user-research-banner/macro.njk" import hmrcUserResearchBanner %}
|
|
4
|
-
{% from "govuk/components/phase-banner/macro.njk" import govukPhaseBanner %}
|
|
4
|
+
{% from "dist/govuk/components/phase-banner/macro.njk" import govukPhaseBanner %}
|
|
5
5
|
|
|
6
6
|
<header role="banner">
|
|
7
7
|
<div class="govuk-header hmrc-header {{ params.classes if params.classes }} {{ 'hmrc-header--with-additional-navigation' if params.signOutHref or params.languageToggle }}" data-module="govuk-header"
|
|
@@ -9,40 +9,25 @@
|
|
|
9
9
|
<div class="govuk-header__container {{ params.containerClasses | default('govuk-width-container') }}">
|
|
10
10
|
<div class="govuk-header__logo">
|
|
11
11
|
<a href="{{ params.homepageUrl | default('/') }}" class="govuk-header__link govuk-header__link--homepage">
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
which do not support external SVGs without a Javascript polyfill. This
|
|
16
|
-
adds approximately 1kb to every page load.
|
|
12
|
+
{#- The SVG needs `focusable="false"` so that Internet Explorer does
|
|
13
|
+
not treat it as an interactive element - without this it will be
|
|
14
|
+
'focusable' when using the keyboard to navigate.
|
|
17
15
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
>
|
|
34
|
-
<path
|
|
35
|
-
fill="currentColor" fill-rule="evenodd"
|
|
36
|
-
d="M25 30.2c3.5 1.5 7.7-.2 9.1-3.7 1.5-3.6-.2-7.8-3.9-9.2-3.6-1.4-7.6.3-9.1 3.9-1.4 3.5.3 7.5 3.9 9zM9 39.5c3.6 1.5 7.8-.2 9.2-3.7 1.5-3.6-.2-7.8-3.9-9.1-3.6-1.5-7.6.2-9.1 3.8-1.4 3.5.3 7.5 3.8 9zM4.4 57.2c3.5 1.5 7.7-.2 9.1-3.8 1.5-3.6-.2-7.7-3.9-9.1-3.5-1.5-7.6.3-9.1 3.8-1.4 3.5.3 7.6 3.9 9.1zm38.3-21.4c3.5 1.5 7.7-.2 9.1-3.8 1.5-3.6-.2-7.7-3.9-9.1-3.6-1.5-7.6.3-9.1 3.8-1.3 3.6.4 7.7 3.9 9.1zm64.4-5.6c-3.6 1.5-7.8-.2-9.1-3.7-1.5-3.6.2-7.8 3.8-9.2 3.6-1.4 7.7.3 9.2 3.9 1.3 3.5-.4 7.5-3.9 9zm15.9 9.3c-3.6 1.5-7.7-.2-9.1-3.7-1.5-3.6.2-7.8 3.7-9.1 3.6-1.5 7.7.2 9.2 3.8 1.5 3.5-.3 7.5-3.8 9zm4.7 17.7c-3.6 1.5-7.8-.2-9.2-3.8-1.5-3.6.2-7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20.8-5.8 7.6-5 13.9 2.2 21.1-4.7-2.6-11.9.1-7.7 8.8 2.3-5.5 7.1-4.2 8.1.5.7 3.3-1.3 7.1-5.7 7.9-3.5.7-9-1.8-13.5-11.2 2.5.1 4.7 1.3 7.5 3.3l-4.7-15.4c-1.2 4.4-2.7 7.2-4.3 8.7-1.1-3-.9-5.3 0-10.2l-9.5 3.4c5 6.9 9.9 16.7 14 33.5 14.8-2.1 30.8-3.2 47.7-3.2z"
|
|
37
|
-
></path>
|
|
38
|
-
</svg>
|
|
39
|
-
<!--[if IE 8]>
|
|
40
|
-
<img src="{{ params.assetsPath | default('/assets/images') }}/govuk-logotype-crown.png" class="govuk-header__logotype-crown-fallback-image" width="36" height="32" alt="">
|
|
41
|
-
<![endif]-->
|
|
42
|
-
<span class="govuk-header__logotype-text">
|
|
43
|
-
GOV.UK
|
|
44
|
-
</span>
|
|
45
|
-
</span>
|
|
16
|
+
We use a single compound path for the logo to prevent subpixel rounding
|
|
17
|
+
shifting different elements unevenly relative to one another. #}
|
|
18
|
+
<svg
|
|
19
|
+
focusable="false"
|
|
20
|
+
role="img"
|
|
21
|
+
class="govuk-header__logotype"
|
|
22
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
23
|
+
viewBox="0 0 152 30"
|
|
24
|
+
height="30"
|
|
25
|
+
width="152"
|
|
26
|
+
aria-label="GOV.UK"
|
|
27
|
+
>
|
|
28
|
+
<title>GOV.UK</title>
|
|
29
|
+
<path d="M6.7 12.2c1 .4 2.1-.1 2.5-1s-.1-2.1-1-2.5c-1-.4-2.1.1-2.5 1-.4 1 0 2.1 1 2.5m-4.3 2.5c1 .4 2.1-.1 2.5-1s-.1-2.1-1-2.5c-1-.4-2.1.1-2.5 1-.5 1 0 2.1 1 2.5m-1.3 4.8c1 .4 2.1-.1 2.5-1 .4-1-.1-2.1-1-2.5-1-.4-2.1.1-2.5 1-.4 1 0 2.1 1 2.5m10.4-5.8c1 .4 2.1-.1 2.5-1s-.1-2.1-1-2.5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2-2.7-2.7-2.7z"></path>
|
|
30
|
+
</svg>
|
|
46
31
|
{% if (params.productName) %}
|
|
47
32
|
<span class="govuk-header__product-name">
|
|
48
33
|
{{ params.productName }}
|
|
@@ -13,4 +13,4 @@ Find out when to use the HMRC Internal header component in your service in [Desi
|
|
|
13
13
|
Use options to customise the appearance, content and behaviour of a component when using a macro, for example, changing the text.
|
|
14
14
|
|
|
15
15
|
### Decision Log
|
|
16
|
-
No support for IE8 -
|
|
16
|
+
No support for IE8 - This component is intended for internal HMRC services, there's no reason to support legacy browsers.
|
|
@@ -2,24 +2,20 @@
|
|
|
2
2
|
<div class="govuk-width-container">
|
|
3
3
|
<div class="hmrc-internal-header__logo">
|
|
4
4
|
<a href="{{ params.homepageUrl | default('/') }}" class="hmrc-internal-header__logo-link">
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
<!--<![endif]-->
|
|
20
|
-
<!--[if IE 8]>
|
|
21
|
-
<img src="{{ params.assetsPath | default('/assets') }}/components/banner/images/hmrc_crest_18px_x2.png">
|
|
22
|
-
<![endif]--><span class="hmrc-internal-header__logo-text">{% if params.language == 'cy' %}
|
|
5
|
+
<svg data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="52px" height="32px" viewBox="0 0 134.94 134.94" focusable="false" aria-hidden="true">
|
|
6
|
+
<path d="M104.32,73.72,101,73.29c.94-2,1.51-3.22,1.51-3.22,0-.38,1.11-2.22,1.53-3.73a19.94,19.94,0,0,0,.61-3.89,15.05,15.05,0,0,0-3.68-10.06,12.21,12.21,0,0,0-9.18-4.18,17.46,17.46,0,0,0-3.68.44c-2.09.52-3.08.81-4.93,1.29a51.13,51.13,0,0,0-8.85,3.61,1.37,1.37,0,0,0-.73.91,2,2,0,0,0-.07.53L73.31,71.6H70.53V53.46a4.05,4.05,0,0,1,.18-1.14,3.37,3.37,0,0,1,1.43-1.71c.6-.39,1.21-.75,1.82-1.08a2.49,2.49,0,1,1,3.87-2.07c0,.12,0,.25,0,.37l.16-.06c.55-.19,1.16-.37,1.75-.55a2.49,2.49,0,1,1,3.71-2.16,2.66,2.66,0,0,1-.3,1.16l2.06-.56.36-.08a2.49,2.49,0,1,1,3.87-2.07A2.42,2.42,0,0,1,89,44.82h.06a16.43,16.43,0,0,1,2.72-.18,2.45,2.45,0,0,1-.48-1.45,2.49,2.49,0,1,1,5,0,2.46,2.46,0,0,1-.89,1.89A16.46,16.46,0,0,1,98.1,46a2.41,2.41,0,0,1-.12-.72,2.5,2.5,0,1,1,3,2.44,16.7,16.7,0,0,1,2.12,1.91v-.08a2.49,2.49,0,1,1,2.49,2.49,2.15,2.15,0,0,1-.68-.11,18.34,18.34,0,0,1,1.25,2.26,2.49,2.49,0,0,1,4.55,1.4,2.5,2.5,0,0,1-2.49,2.5,2.64,2.64,0,0,1-.8-.15,20.9,20.9,0,0,1,.35,2.1,2.52,2.52,0,0,1,1-.19,2.49,2.49,0,1,1,0,5,2.59,2.59,0,0,1-1.07-.25c0,.26-.08.54-.11.82s-.14.55-.21.78a2.49,2.49,0,0,1-.32,5,2.39,2.39,0,0,1-1.39-.43c-.34.8-.78,1.83-1.27,3" />
|
|
7
|
+
<path d="M67.45,71.79a2.39,2.39,0,1,1,0-4.78h0a2.39,2.39,0,0,1,0,4.78Z" />
|
|
8
|
+
<path d="M67.47,66a2.28,2.28,0,1,0,0-4.56h0a2.28,2.28,0,0,0,0,4.56Z" />
|
|
9
|
+
<path d="M67.45,60.39a2.18,2.18,0,0,1,0-4.35h0a2.18,2.18,0,0,1,0,4.35Z" />
|
|
10
|
+
<path d="M67.47,50.17a2,2,0,0,0,0-4.09h0a2,2,0,1,0,0,4.09Z" />
|
|
11
|
+
<path d="M67.45,55.13a2.08,2.08,0,0,1,0-4.15h0a2.08,2.08,0,0,1,0,4.15Z" />
|
|
12
|
+
<path d="M74.67,22.23a.47.47,0,0,0-.46-.34.49.49,0,0,0-.49.34c-.47,1.83-1.41,3.55-5,3.86A6.43,6.43,0,0,1,70,22.5,5.37,5.37,0,0,1,73,21a.45.45,0,0,0,.3-.13.42.42,0,0,0,.1-.33.44.44,0,0,0-.14-.33.44.44,0,0,0-.29-.1H62a.44.44,0,0,0-.29.1.41.41,0,0,0-.14.33.46.46,0,0,0,.1.33A.47.47,0,0,0,62,21a5.37,5.37,0,0,1,3,1.51,6.43,6.43,0,0,1,1.28,3.59c-3.59-.31-4.53-2-5-3.86a.5.5,0,0,0-.49-.34.47.47,0,0,0-.46.34v10a.45.45,0,0,0,.51.42.46.46,0,0,0,.49-.29l0-.05a6.1,6.1,0,0,1,5-3.77,6.37,6.37,0,0,1-1.31,3.73A5.13,5.13,0,0,1,62,33.78h0a.64.64,0,0,0-.26.13.49.49,0,0,0-.1.35.37.37,0,0,0,.14.31.6.6,0,0,0,.32.12H72.89a.6.6,0,0,0,.32-.12.39.39,0,0,0,.14-.31.44.44,0,0,0-.1-.35.64.64,0,0,0-.26-.13h0A5.1,5.1,0,0,1,70,32.29a6.37,6.37,0,0,1-1.31-3.73,6.1,6.1,0,0,1,5,3.77v.05a.49.49,0,0,0,.5.29.45.45,0,0,0,.51-.42v-10Z" />
|
|
13
|
+
<path d="M67.47,45.72a5.29,5.29,0,1,0,0-10.57h0a5.29,5.29,0,1,0,0,10.57Z" />
|
|
14
|
+
<path d="M29.33,70.72a2.39,2.39,0,0,1-1.39.43,2.49,2.49,0,0,1-.32-5c-.07-.23-.13-.49-.21-.78s-.08-.56-.12-.82a2.51,2.51,0,0,1-1.07.25,2.49,2.49,0,0,1,0-5,2.35,2.35,0,0,1,1,.19c.08-.72.2-1.41.34-2.1a2.31,2.31,0,0,1-.79.15,2.5,2.5,0,1,1,2.06-3.9A18.34,18.34,0,0,1,30,51.94a2.15,2.15,0,0,1-.68.11,2.49,2.49,0,1,1,2.49-2.49v.08A16.12,16.12,0,0,1,34,47.73a2.49,2.49,0,1,1,3-2.43,2.23,2.23,0,0,1-.13.72,14.4,14.4,0,0,1,2.7-.94,2.49,2.49,0,1,1,4.09-1.9,2.45,2.45,0,0,1-.48,1.45,16.43,16.43,0,0,1,2.72.18h0a2.53,2.53,0,0,1-.37-1.31,2.49,2.49,0,1,1,3.87,2.07l.36.09,2.06.55a2.53,2.53,0,0,1-.3-1.16,2.49,2.49,0,1,1,5,0,2.46,2.46,0,0,1-1.27,2.15c.59.19,1.2.37,1.76.56l.15.06c0-.12,0-.25,0-.37A2.5,2.5,0,1,1,61,49.53c.61.33,1.22.69,1.82,1.08a3.37,3.37,0,0,1,1.43,1.71,3.66,3.66,0,0,1,.18,1.14V71.6H61.6L61.42,55a1.56,1.56,0,0,0-.07-.53,1.4,1.4,0,0,0-.73-.91,51.17,51.17,0,0,0-8.86-3.61c-1.84-.48-2.84-.77-4.93-1.29a17.33,17.33,0,0,0-3.67-.44A12.21,12.21,0,0,0,34,52.39,15.05,15.05,0,0,0,30.3,62.45a19.75,19.75,0,0,0,.61,3.88c.42,1.52,1.48,3.36,1.53,3.74,0,0,.57,1.18,1.51,3.22l-3.35.43c-.49-1.17-.93-2.2-1.27-3" />
|
|
15
|
+
<path d="M91.11,94.65A1.45,1.45,0,0,1,89.58,96l-7.89-.42a1.47,1.47,0,0,1-1.39-1.53L80.37,93a1.44,1.44,0,0,1,1.53-1.38l7.89.42a1.45,1.45,0,0,1,1.39,1.52Zm-20.47-1-2.81,2.81a.57.57,0,0,1-.36.16h0a.57.57,0,0,1-.36-.16l-2.82-2.81a.56.56,0,0,1,0-.81L67.09,90a.57.57,0,0,1,.36-.16h0a.57.57,0,0,1,.36.16l2.81,2.81a.55.55,0,0,1,0,.81m-17.41,2L45.34,96a1.45,1.45,0,0,1-1.53-1.37l-.07-1.13A1.46,1.46,0,0,1,45.13,92L53,91.58A1.45,1.45,0,0,1,54.55,93l.07,1.11a1.47,1.47,0,0,1-1.39,1.53m53.32-19.89a1.65,1.65,0,0,0-1.14-.66L100,74.32a.43.43,0,0,0-.43.39.45.45,0,0,0,.28.54h0a7,7,0,0,1,4,6.41c-3.92-.81-4.9-2.82-5.15-5.6,0-.12-.11-.33-.44-.36a.46.46,0,0,0-.49.25v0L96.24,88v0a.48.48,0,0,0,.91.16A7,7,0,0,1,103.5,84a8,8,0,0,1-5.59,5.74h0c-2-.22-4.09-.41-6.18-.59a5.1,5.1,0,0,1-4-4.14,3.86,3.86,0,0,1,.21-1c.51-1.36,1.49-2.25,2.58-1.85s1.26,1.72.76,3.07a3.58,3.58,0,0,1-.89,1.37A3.58,3.58,0,0,0,93.51,85c1.39-2,1.23-5-.94-6.27-1.42-.83-3.38.13-4.87,2,.45-2.93,2.23-5.52,2.43-7.78.29-3.19-.94-6.74-2.69-7.71-1.82.67-3.48,4-3.64,7.13-.1,2.27,1.43,5.26,1.51,8.25-1.23-2.13-3.1-3.4-4.63-2.76-2.32.94-2.91,3.94-1.8,6.09a3.67,3.67,0,0,0,2.85,2,3.45,3.45,0,0,1-.7-1.48c-.31-1.42,0-2.67,1.17-2.94s2,.76,2.3,2.18a3.64,3.64,0,0,1,0,1.31h0C83.65,87.2,82,87.94,80,88.44q-3.09-.14-6.23-.2h0l-.22,0c-2.94-.48-4.43-2.35-4.73-5.87a6.85,6.85,0,0,1,5.53,4.22.56.56,0,0,0,.55.35.48.48,0,0,0,.54-.44V75.35a.51.51,0,0,0-.5-.36.56.56,0,0,0-.51.33h0v0c-.52,2-1.58,4-5.61,4.3.33-3.93,2.12-5.13,4.74-5.7a.43.43,0,0,0,.3-.14.48.48,0,0,0,.13-.32v0a.52.52,0,0,0-.16-.35.5.5,0,0,0-.3-.11H61.41a.5.5,0,0,0-.3.11.57.57,0,0,0-.17.35v0a.48.48,0,0,0,.13.32.46.46,0,0,0,.31.14c2.61.57,4.41,1.77,4.74,5.7-4-.33-5.1-2.26-5.61-4.3v0h0A.56.56,0,0,0,60,75a.5.5,0,0,0-.5.36v11.1a.48.48,0,0,0,.54.44.53.53,0,0,0,.54-.35,6.87,6.87,0,0,1,5.54-4.22c-.3,3.52-1.79,5.39-4.73,5.87l-.23,0h0c-2.08,0-4.16.11-6.22.2-2-.5-3.66-1.24-4.56-3.37h0a3.43,3.43,0,0,1,.05-1.31c.31-1.42,1.16-2.42,2.3-2.18s1.47,1.52,1.17,2.94A3.69,3.69,0,0,1,53.2,86,3.67,3.67,0,0,0,56,84c1.1-2.15.52-5.15-1.8-6.09-1.54-.64-3.41.63-4.63,2.76.08-3,1.61-6,1.51-8.25-.16-3.18-1.82-6.46-3.64-7.13-1.75,1-3,4.52-2.69,7.71.2,2.26,2,4.85,2.43,7.78-1.49-1.86-3.46-2.82-4.87-2C40.18,80,40,83.07,41.41,85a3.58,3.58,0,0,0,3.08,1.63,3.58,3.58,0,0,1-.89-1.37c-.51-1.35-.39-2.64.76-3.07s2.07.49,2.58,1.85a3.86,3.86,0,0,1,.21,1,5.11,5.11,0,0,1-4,4.14c-2.07.18-4.13.37-6.17.59h0A8,8,0,0,1,31.42,84a7,7,0,0,1,6.35,4.12.45.45,0,0,0,.53.27.45.45,0,0,0,.38-.43v0L37.19,76v0a.47.47,0,0,0-.5-.25c-.32,0-.44.24-.44.36C36,78.83,35,80.84,31.1,81.65a7,7,0,0,1,4-6.41h0a.45.45,0,0,0,.28-.54.43.43,0,0,0-.43-.39l-5.46.73a1.65,1.65,0,0,0-1.14.66,1.84,1.84,0,0,0-.26,1.44c.14.81,1.79,12.39,1.94,13.45,0,.1.15,1.18.19,1.5a1.36,1.36,0,0,0,.48.67s2.42,1.64,2.84,2a.74.74,0,0,1,.18.86l-2.15,3.14a2,2,0,0,0-.26.42,1.19,1.19,0,0,0,.39,1.34H103.2a1.19,1.19,0,0,0,.39-1.34,2,2,0,0,0-.26-.42l-2.15-3.14a.75.75,0,0,1,.17-.86c.43-.33,2.85-2,2.85-2a1.36,1.36,0,0,0,.48-.67c0-.32.17-1.4.18-1.5.16-1.06,1.81-12.64,2-13.45a1.84,1.84,0,0,0-.26-1.44" />
|
|
16
|
+
<path d="M67.47,7.72a59.76,59.76,0,1,0,59.75,59.75A59.75,59.75,0,0,0,67.47,7.72m67.47,59.75A67.47,67.47,0,1,1,67.47,0a67.47,67.47,0,0,1,67.47,67.47" />
|
|
17
|
+
</svg>
|
|
18
|
+
<span class="hmrc-internal-header__logo-text">{% if params.language == 'cy' %}
|
|
23
19
|
Cyllid a Thollau EF
|
|
24
20
|
{% else %}
|
|
25
21
|
HM Revenue & Customs
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@import "../../../../govuk-frontend/govuk/settings/all";
|
|
2
|
-
@import "../../../../govuk-frontend/govuk/tools/all";
|
|
3
|
-
@import "../../../../govuk-frontend/govuk/helpers/all";
|
|
1
|
+
@import "../../../../govuk-frontend/dist/govuk/settings/all";
|
|
2
|
+
@import "../../../../govuk-frontend/dist/govuk/tools/all";
|
|
3
|
+
@import "../../../../govuk-frontend/dist/govuk/helpers/all";
|
|
4
4
|
|
|
5
5
|
.hmrc-list-with-actions {
|
|
6
6
|
@include govuk-font($size: 19);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
@import "../../../../govuk-frontend/govuk/settings/all";
|
|
2
|
-
@import "../../../../govuk-frontend/govuk/tools/all";
|
|
3
|
-
@import "../../../../govuk-frontend/govuk/helpers/all";
|
|
4
|
-
@import "../../../../govuk-frontend/govuk/vendor/sass-mq";
|
|
1
|
+
@import "../../../../govuk-frontend/dist/govuk/settings/all";
|
|
2
|
+
@import "../../../../govuk-frontend/dist/govuk/tools/all";
|
|
3
|
+
@import "../../../../govuk-frontend/dist/govuk/helpers/all";
|
|
4
|
+
@import "../../../../govuk-frontend/dist/govuk/vendor/sass-mq";
|
|
5
5
|
|
|
6
6
|
.hmrc-timeout-overlay {
|
|
7
7
|
position: fixed;
|
|
@@ -39,11 +39,6 @@ html {
|
|
|
39
39
|
|
|
40
40
|
@include govuk-media-query($from: tablet) {
|
|
41
41
|
width: 435px;
|
|
42
|
-
|
|
43
|
-
@include govuk-if-ie8 {
|
|
44
|
-
margin-top: -128px;
|
|
45
|
-
margin-left: -227px;
|
|
46
|
-
}
|
|
47
42
|
}
|
|
48
43
|
}
|
|
49
44
|
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import utils from './utils';
|
|
2
|
-
import { nodeListForEach } from '../../common';
|
|
3
2
|
|
|
4
3
|
function displayDialog($elementToDisplay) {
|
|
5
4
|
const $dialog = utils.generateDomElementFromString('<div id="hmrc-timeout-dialog" tabindex="-1" role="dialog" aria-modal="true" class="hmrc-timeout-dialog">');
|
|
@@ -97,7 +96,7 @@ function displayDialog($elementToDisplay) {
|
|
|
97
96
|
});
|
|
98
97
|
};
|
|
99
98
|
|
|
100
|
-
|
|
99
|
+
elements.forEach(($elem) => {
|
|
101
100
|
const value = $elem.getAttribute('aria-hidden');
|
|
102
101
|
$elem.setAttribute('aria-hidden', 'true');
|
|
103
102
|
resetElementsFunctionList.push(() => {
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
import '../../vendor/polyfills/Array/prototype/forEach';
|
|
2
|
-
import '../../vendor/polyfills/Object/assign';
|
|
3
|
-
import '../../vendor/polyfills/Object/keys';
|
|
4
|
-
import '../../vendor/polyfills/Date/now';
|
|
5
|
-
|
|
6
1
|
import dialog from './dialog';
|
|
7
2
|
import ValidateInput from './validate-input';
|
|
8
3
|
import RedirectHelper from './redirectHelper';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
+
// TODO remove when decision is made by DIAS about removing the timeout dialog functionality for IE
|
|
1
2
|
/* global ActiveXObject */
|
|
2
3
|
|
|
3
|
-
import { nodeListForEach } from '../../common';
|
|
4
|
-
|
|
5
4
|
const { warn } = console;
|
|
6
5
|
|
|
7
6
|
const utils = {
|
|
@@ -23,12 +22,12 @@ const utils = {
|
|
|
23
22
|
|
|
24
23
|
addClass(selector, className) {
|
|
25
24
|
const elements = document.querySelectorAll(selector);
|
|
26
|
-
|
|
25
|
+
elements.forEach((i) => { i.classList.add(className); });
|
|
27
26
|
},
|
|
28
27
|
|
|
29
28
|
removeClass(selector, className) {
|
|
30
29
|
const elements = document.querySelectorAll(selector);
|
|
31
|
-
|
|
30
|
+
elements.forEach((i) => { i.classList.remove(className); });
|
|
32
31
|
},
|
|
33
32
|
|
|
34
33
|
removeElement($elem) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@import "../../../../govuk-frontend/govuk/helpers/links";
|
|
2
|
-
@import "../../../../govuk-frontend/govuk/helpers/typography";
|
|
3
|
-
@import "../../../../govuk-frontend/govuk/utilities/clearfix";
|
|
1
|
+
@import "../../../../govuk-frontend/dist/govuk/helpers/links";
|
|
2
|
+
@import "../../../../govuk-frontend/dist/govuk/helpers/typography";
|
|
3
|
+
@import "../../../../govuk-frontend/dist/govuk/utilities/clearfix";
|
|
4
4
|
|
|
5
5
|
.hmrc-user-research-banner {
|
|
6
6
|
display: none;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
|
2
|
+
<path fill="#000000" d="M0 0h32v32H0z"/>
|
|
3
|
+
<path fill="#ffffff" d="M7.28 11.44c.77.32 1.64-.05 1.95-.8.31-.76-.05-1.64-.81-1.95-.75-.31-1.63.06-1.94.82-.31.76.05 1.63.8 1.94M3.9 13.42c.77.32 1.64-.05 1.95-.8.31-.76-.05-1.64-.81-1.95-.75-.31-1.63.06-1.94.82-.31.76.05 1.63.8 1.94M2.91 17.18c.77.32 1.64-.05 1.95-.8.31-.76-.05-1.64-.81-1.95-.75-.31-1.63.06-1.94.82-.31.76.05 1.63.8 1.94M11.05 12.63c.77.32 1.64-.05 1.95-.8.31-.76-.05-1.64-.81-1.95-.75-.31-1.63.06-1.94.82-.31.76.05 1.63.8 1.94M24.72 11.44a1.49 1.49 0 0 1-1.95-.8c-.31-.76.05-1.64.81-1.95.75-.31 1.63.06 1.94.82.31.76-.05 1.63-.8 1.94M28.1 13.42a1.49 1.49 0 0 1-1.95-.8c-.31-.76.05-1.64.81-1.95.75-.31 1.63.06 1.94.82.31.76-.05 1.63-.8 1.94M29.09 17.18a1.49 1.49 0 0 1-1.95-.8c-.31-.76.05-1.64.81-1.95.75-.31 1.63.06 1.94.82.31.76-.05 1.63-.8 1.94M20.95 12.63a1.49 1.49 0 0 1-1.95-.8c-.31-.76.05-1.64.81-1.95.75-.31 1.63.06 1.94.82.31.76-.05 1.63-.8 1.94M16.79 8.78l1.89.99V6.99l-1.88.6a.656.656 0 0 0-.18-.19s.76-2.39.76-2.39h-2.72l.76 2.39c-.07.06-.13.12-.18.19S13.36 7 13.36 7v2.78l1.89-.99c.06.08.12.14.2.2l-1.08 3.27v.01c-.05.16-.08.34-.08.52 0 .88.65 1.61 1.5 1.74h.04c.07 0 .15.02.22.02s.15 0 .22-.02h.04c.85-.13 1.5-.86 1.5-1.74 0-.18-.03-.35-.08-.52v-.01l-1.08-3.27c.07-.06.14-.12.2-.19M16 24.77c3.58 0 6.97.24 9.99.67.86-3.61 1.9-5.67 2.98-7.14l-2.03-.72c.2 1.03.23 1.51 0 2.17-.33-.33-.65-.93-.9-1.85l-.98 3.27c.6-.41 1.06-.68 1.59-.69-.94 2.02-2.1 2.53-2.86 2.39-.92-.17-1.35-.99-1.21-1.69.21-.99 1.23-1.25 1.71-.1.91-1.85-.63-2.43-1.62-1.88 1.52-1.52 1.7-2.87.47-4.51-1.71 1.31-1.73 2.61-.96 4.43-1-1.15-2.56-.53-2 1.32.72-1.12 1.68-.41 1.53.65-.13.92-1.35 1.67-2.87 1.54-2.18-.2-2.31-1.7-2.36-2.95.54-.1 1.5.4 2.32 1.55l.3-3.47c-.89.93-1.71 1.11-2.61 1.14.3-.94 1.68-2.47 1.68-2.47h-4.33s1.38 1.54 1.68 2.47c-.9-.03-1.72-.21-2.61-1.14l.3 3.47c.82-1.15 1.79-1.65 2.32-1.55-.05 1.24-.18 2.75-2.36 2.95-1.52.13-2.74-.61-2.87-1.54-.15-1.06.81-1.76 1.53-.65.56-1.85-1-2.47-2-1.32.77-1.83.75-3.12-.96-4.43-1.23 1.63-1.06 2.99.47 4.51-.99-.55-2.53.03-1.62 1.88.47-1.15 1.49-.89 1.71.1.14.7-.28 1.52-1.21 1.69-.76.14-1.93-.38-2.86-2.39.53.01.99.28 1.59.69l-.98-3.27c-.25.92-.56 1.52-.9 1.85-.23-.66-.19-1.14 0-2.17l-2.03.72c1.08 1.47 2.12 3.54 2.98 7.14 3.02-.43 6.41-.67 9.99-.67"/>
|
|
4
|
+
</svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 132 97">
|
|
2
|
+
<path fill="#000000" d="M25 30.2C28.5 31.7 32.7 30 34.1 26.5 35.6 22.9 33.9 18.7 30.2 17.3 26.6 15.9 22.6 17.6 21.1 21.2 19.7 24.7 21.4 28.7 25 30.2L25 30.2ZM9 39.5C12.6 41 16.8 39.3 18.2 35.8 19.7 32.2 18 28 14.3 26.7 10.7 25.2 6.7 26.9 5.2 30.5 3.8 34 5.5 38 9 39.5L9 39.5ZM4.4 57.2C7.9 58.7 12.1 57 13.5 53.4 15 49.8 13.3 45.7 9.6 44.3 6.1 42.8 2 44.6 0.5 48.1 -0.9 51.6 0.8 55.7 4.4 57.2L4.4 57.2ZM42.7 35.8C46.2 37.3 50.4 35.6 51.8 32 53.3 28.4 51.6 24.3 47.9 22.9 44.3 21.4 40.3 23.2 38.8 26.7 37.5 30.3 39.2 34.4 42.7 35.8L42.7 35.8ZM107.1 30.2C103.5 31.7 99.3 30 98 26.5 96.5 22.9 98.2 18.7 101.8 17.3 105.4 15.9 109.5 17.6 111 21.2 112.3 24.7 110.6 28.7 107.1 30.2L107.1 30.2ZM123 39.5C119.4 41 115.3 39.3 113.9 35.8 112.4 32.2 114.1 28 117.6 26.7 121.2 25.2 125.3 26.9 126.8 30.5 128.3 34 126.5 38 123 39.5L123 39.5ZM127.7 57.2C124.1 58.7 119.9 57 118.5 53.4 117 49.8 118.7 45.7 122.4 44.3 126 42.8 130.1 44.6 131.6 48.1 132.9 51.6 131.2 55.7 127.7 57.2L127.7 57.2ZM89.3 35.8C85.7 37.3 81.5 35.6 80.1 32 78.7 28.4 80.3 24.3 84 22.9 87.6 21.4 91.7 23.2 93.2 26.7 94.6 30.3 92.9 34.4 89.3 35.8L89.3 35.8ZM69.7 17.7L69.7 17.7 78.6 22.4 78.6 9.3 69.7 12.1 69.7 12.1C69.5 11.8 69.2 11.5 68.8 11.2L68.8 11.2 72.4 0 66 0 59.6 0 63.1 11.2 63.1 11.2C62.8 11.5 62.5 11.7 62.2 12.1L62.2 12.1 53.4 9.3 53.4 22.4 62.2 17.7 62.2 17.7C62.5 18 62.8 18.4 63.1 18.6L58.1 34C58.1 34 58.1 34 58.1 34.1L58.1 34.1 58.1 34.1C57.9 34.9 57.7 35.7 57.7 36.5 57.7 40.6 60.8 44 64.7 44.6L64.9 44.6C65.2 44.6 65.6 44.7 65.9 44.7 66.3 44.7 66.6 44.7 66.9 44.6L67.1 44.6C71.1 44 74.2 40.5 74.2 36.5 74.2 35.7 74.1 34.8 73.8 34.1L73.8 34.1 73.8 34.1C73.8 34.1 73.8 34.1 73.8 34L68.7 18.6C69.1 18.4 69.4 18 69.7 17.7L69.7 17.7ZM66 92.8C82.9 92.8 98.8 93.9 113.1 96 117.1 79.1 122 69.3 127.1 62.5L117.5 59.1C118.5 64 118.6 66.3 117.5 69.3 116 67.9 114.5 65 113.3 60.6L108.6 76C111.4 74 113.6 72.8 116.1 72.7 111.7 82.1 106.1 84.6 102.5 83.9 98.2 83.1 96.2 79.3 96.9 76 97.9 71.3 102.6 70.1 104.9 75.5 109.2 66.8 101.9 64.1 97.3 66.7 104.4 59.5 105.2 53.2 99.4 45.6 91.4 51.7 91.3 57.9 94.9 66.4 90.2 61 82.8 63.9 85.4 72.6 88.8 67.4 93.3 70.6 92.6 75.7 92 80 86.2 83.5 79.1 82.9 68.8 82 68.2 74.9 67.9 69.1 70.4 68.6 75 70.9 78.9 76.4L80.2 60C76.1 64.4 72.2 65.3 67.9 65.4 69.3 61 75.9 53.8 75.9 53.8L66.4 53.8 66.4 53.8 66.4 53.8 55.5 53.8C55.5 53.8 61.9 61 63.4 65.4 59.2 65.3 55.4 64.4 51.1 60L52.5 76.4C56.4 70.9 61 68.7 63.4 69.1 63.1 74.9 62.5 81.9 52.3 82.9 45.1 83.5 39.4 80 38.8 75.7 38.1 70.7 42.6 67.4 45.9 72.6 48.6 63.9 41.3 61 36.5 66.4 40.2 57.9 40.1 51.7 31.9 45.6 26.1 53.2 26.9 59.5 34.1 66.7 29.4 64.1 22.2 66.8 26.4 75.5 28.7 70 33.5 71.3 34.5 76 35.2 79.3 33.2 83.1 28.8 83.9 25.3 84.6 19.8 82.1 15.3 72.7 17.8 72.8 20 74 22.8 76L18.1 60.6C16.9 65 15.4 67.8 13.8 69.3 12.7 66.3 12.9 64 13.8 59.1L4.3 62.5C9.3 69.4 14.2 79.2 18.3 96 33.1 93.9 49.1 92.8 66 92.8L66 92.8Z"/>
|
|
3
|
+
</svg>
|