govuk_publishing_components 13.6.0 → 13.6.1
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.
- checksums.yaml +4 -4
- data/app/assets/javascripts/govuk_publishing_components/dependencies.js +3 -3
- data/app/assets/javascripts/govuk_publishing_components/lib/toggle.js +52 -28
- data/app/views/govuk_publishing_components/components/docs/related_navigation.yml +216 -201
- data/lib/govuk_publishing_components/presenters/meta_tags.rb +0 -7
- data/lib/govuk_publishing_components/presenters/related_navigation_helper.rb +3 -3
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/node_modules/govuk-frontend/all.js +1197 -943
- data/node_modules/govuk-frontend/components/_all.scss +2 -0
- data/node_modules/govuk-frontend/components/accordion/README.md +17 -0
- data/node_modules/govuk-frontend/components/accordion/_accordion.scss +173 -0
- data/node_modules/govuk-frontend/components/accordion/accordion.js +1011 -0
- data/node_modules/govuk-frontend/components/accordion/macro-options.json +70 -0
- data/node_modules/govuk-frontend/components/accordion/macro.njk +3 -0
- data/node_modules/govuk-frontend/components/accordion/template.njk +27 -0
- data/node_modules/govuk-frontend/components/input/macro-options.json +7 -0
- data/node_modules/govuk-frontend/components/summary-list/README.md +15 -0
- data/node_modules/govuk-frontend/components/summary-list/_summary-list.scss +112 -0
- data/node_modules/govuk-frontend/components/summary-list/macro-options.json +95 -0
- data/node_modules/govuk-frontend/components/summary-list/macro.njk +3 -0
- data/node_modules/govuk-frontend/components/summary-list/template.njk +35 -0
- data/node_modules/govuk-frontend/helpers/_grid.scss +43 -35
- data/node_modules/govuk-frontend/helpers/_visually-hidden.scss +4 -2
- data/node_modules/govuk-frontend/objects/_grid.scss +21 -8
- data/node_modules/govuk-frontend/package.json +11 -11
- data/node_modules/govuk-frontend/settings/_measurements.scss +14 -0
- data/node_modules/govuk-frontend/template.njk +2 -0
- metadata +13 -2
@@ -18,7 +18,8 @@
|
|
18
18
|
|
19
19
|
width: 1px iff($important, !important);
|
20
20
|
height: 1px iff($important, !important);
|
21
|
-
margin
|
21
|
+
// If margin is set to a negative value it can cause text to be announced in the wrong order in VoiceOver for OSX
|
22
|
+
margin: 0 iff($important, !important);
|
22
23
|
padding: 0 iff($important, !important);
|
23
24
|
|
24
25
|
overflow: hidden iff($important, !important);
|
@@ -50,7 +51,8 @@
|
|
50
51
|
|
51
52
|
width: 1px iff($important, !important);
|
52
53
|
height: 1px iff($important, !important);
|
53
|
-
margin
|
54
|
+
// If margin is set to a negative value it can cause text to be announced in the wrong order in VoiceOver for OSX
|
55
|
+
margin: 0 iff($important, !important);
|
54
56
|
|
55
57
|
overflow: hidden iff($important, !important);
|
56
58
|
clip: rect(0 0 0 0) iff($important, !important);
|
@@ -1,10 +1,23 @@
|
|
1
1
|
@include govuk-exports("govuk/objects/grid") {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
@
|
2
|
+
|
3
|
+
.govuk-grid-row {
|
4
|
+
@include govuk-clearfix;
|
5
|
+
margin-right: - ($govuk-gutter-half);
|
6
|
+
margin-left: - ($govuk-gutter-half);
|
7
|
+
}
|
8
|
+
|
9
|
+
@each $width in map-keys($govuk-grid-widths) {
|
10
|
+
.govuk-grid-column-#{$width} {
|
11
|
+
@include govuk-grid-column($width, $class: false)
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
// These *must* be defined in a separate loop as they have the same
|
16
|
+
// specificity as the non-breakpoint specific classes, so need to appear after
|
17
|
+
// them in the outputted CSS
|
18
|
+
@each $width in map-keys($govuk-grid-widths) {
|
19
|
+
.govuk-grid-column-#{$width}-from-desktop {
|
20
|
+
@include govuk-grid-column($width, $at: desktop, $class: false)
|
21
|
+
}
|
22
|
+
}
|
10
23
|
}
|
@@ -15,13 +15,13 @@
|
|
15
15
|
],
|
16
16
|
"_from": "govuk-frontend@>=2.4.0 <3.0.0",
|
17
17
|
"_hasShrinkwrap": false,
|
18
|
-
"_id": "govuk-frontend@2.
|
18
|
+
"_id": "govuk-frontend@2.5.1",
|
19
19
|
"_inCache": true,
|
20
20
|
"_location": "/govuk-frontend",
|
21
21
|
"_nodeVersion": "8.9.4",
|
22
22
|
"_npmOperationalInternal": {
|
23
23
|
"host": "s3://npm-registry-packages",
|
24
|
-
"tmp": "tmp/govuk-frontend_2.
|
24
|
+
"tmp": "tmp/govuk-frontend_2.5.1_1547637318677_0.8220506682257378"
|
25
25
|
},
|
26
26
|
"_npmUser": {
|
27
27
|
"name": "govuk-patterns-and-tools",
|
@@ -41,8 +41,8 @@
|
|
41
41
|
"_requiredBy": [
|
42
42
|
"/"
|
43
43
|
],
|
44
|
-
"_resolved": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-2.
|
45
|
-
"_shasum": "
|
44
|
+
"_resolved": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-2.5.1.tgz",
|
45
|
+
"_shasum": "96082aedfef23bfce6591c3520b06d803be2d7fa",
|
46
46
|
"_shrinkwrap": null,
|
47
47
|
"_spec": "govuk-frontend@^2.4.0",
|
48
48
|
"_where": "/var/lib/jenkins/workspace/ublishing_components_master-N4FWJIUY4CIFHKGZOAAEVVXODRY3YBORQOPIBBXWX72VUPSGJRRQ",
|
@@ -59,12 +59,12 @@
|
|
59
59
|
"devDependencies": {},
|
60
60
|
"directories": {},
|
61
61
|
"dist": {
|
62
|
-
"integrity": "sha512-
|
63
|
-
"shasum": "
|
64
|
-
"tarball": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-2.
|
65
|
-
"fileCount":
|
66
|
-
"unpackedSize":
|
67
|
-
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\
|
62
|
+
"integrity": "sha512-DDi1HGRTNRH/UmqOYACOR01V+aae36pnHHf5/g08spscJO5AazA/BQTenlNm8WFJ4UAeikb1TrCbgGWJE4Vypw==",
|
63
|
+
"shasum": "96082aedfef23bfce6591c3520b06d803be2d7fa",
|
64
|
+
"tarball": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-2.5.1.tgz",
|
65
|
+
"fileCount": 256,
|
66
|
+
"unpackedSize": 1341333,
|
67
|
+
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPxJHCRA9TVsSAnZWagAAHpoP/0M5mrc5AA4/NkSyTpfJ\n0mbatgQeaTw0ABdK267bb0VWsk5+Jg0O5hnOF1SxTgWLWEU96gikjAZ46u3C\nfS09ycAhJ7bwykmz851JLnbG6UWgB3COkT/ZHhIuAjy9ulI8TvXf3ruFs4cT\nkEHHEpZlDxRJo6tbyzcp9s6t91vSqP899w8RxSj0/0l8v/t1Dbjx8CC7wJl9\nc6wl/ZyxfmvTFyKsZDD1h21K+5TsI4Xdukj64IwVA05PVAQMhXEMLWO1Khw0\nkFvUeDyr31topkGLbPgkvyoMqyRgIt+0FeumED+F8De7KYHc9xVbX0zGzYlR\n//5bgE9K2I+JQDYxIkDzDDjboiay70mWNFuhQJbOl4zXpkkxYJ5hWN6YqG4W\ntRPVBZR9L2GCWyYRvgim64zz+6uuJ2kGD+a3QoH4N0Pgw6VwJ9HnaBy+qo/a\nDCKPyST4xwP18O9Pb80CKzWQ6Am5jTkjiJfxmc83dgHnc8B48k+6O0vGGDuL\nTKCyPLJb4Xm0yYfXpDz23Xr2N+ahPjPHVVEJpKHBHVJemhcM4EBfUaJFkUfR\nCovhp+AqCUWYj00b3PTPb/TKEvMXti70kQ9hhEpg3HQV0HJOoyqaGk5GnB0B\n2I6oPzwaF0JOFTXtkoUawQRu3lb4cuqcrk2rdE8vwU3Lmm5cl0O6a6Tjat4u\ngkbT\r\n=f9P7\r\n-----END PGP SIGNATURE-----\r\n"
|
68
68
|
},
|
69
69
|
"engines": {
|
70
70
|
"node": ">= 4.2.0"
|
@@ -92,5 +92,5 @@
|
|
92
92
|
"url": "git+https://github.com/alphagov/govuk-frontend.git"
|
93
93
|
},
|
94
94
|
"sass": "all.scss",
|
95
|
-
"version": "2.
|
95
|
+
"version": "2.5.1"
|
96
96
|
}
|
@@ -15,6 +15,20 @@
|
|
15
15
|
|
16
16
|
$govuk-page-width: 960px !default;
|
17
17
|
|
18
|
+
/// Map of grid column widths
|
19
|
+
///
|
20
|
+
/// @type Map
|
21
|
+
/// @access public
|
22
|
+
|
23
|
+
$govuk-grid-widths: (
|
24
|
+
one-quarter: 25%,
|
25
|
+
one-third: 33.3333%,
|
26
|
+
one-half: 50%,
|
27
|
+
two-thirds: 66.6666%,
|
28
|
+
three-quarters: 75%,
|
29
|
+
full: 100%
|
30
|
+
) !default;
|
31
|
+
|
18
32
|
/// Width of gutter between grid columns
|
19
33
|
///
|
20
34
|
/// @type Number
|
@@ -10,6 +10,8 @@
|
|
10
10
|
<title>{% block pageTitle %}GOV.UK - The best place to find government services and information{% endblock %}</title>
|
11
11
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
12
12
|
<meta name="theme-color" content="{{ themeColor | default('#0b0c0c') }}" /> {# Hardcoded value of $govuk-black #}
|
13
|
+
{# Ensure that older IE versions always render with the correct rendering engine #}
|
14
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
13
15
|
|
14
16
|
{% block headIcons %}
|
15
17
|
<link rel="shortcut icon" sizes="16x16 32x32 48x48" href="{{ assetPath | default('/assets') }}/images/favicon.ico" type="image/x-icon" />
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk_publishing_components
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 13.6.
|
4
|
+
version: 13.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GOV.UK Dev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01-
|
11
|
+
date: 2019-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: govspeak
|
@@ -682,6 +682,12 @@ files:
|
|
682
682
|
- node_modules/govuk-frontend/assets/images/icon-pointer.png
|
683
683
|
- node_modules/govuk-frontend/common.js
|
684
684
|
- node_modules/govuk-frontend/components/_all.scss
|
685
|
+
- node_modules/govuk-frontend/components/accordion/README.md
|
686
|
+
- node_modules/govuk-frontend/components/accordion/_accordion.scss
|
687
|
+
- node_modules/govuk-frontend/components/accordion/accordion.js
|
688
|
+
- node_modules/govuk-frontend/components/accordion/macro-options.json
|
689
|
+
- node_modules/govuk-frontend/components/accordion/macro.njk
|
690
|
+
- node_modules/govuk-frontend/components/accordion/template.njk
|
685
691
|
- node_modules/govuk-frontend/components/back-link/README.md
|
686
692
|
- node_modules/govuk-frontend/components/back-link/_back-link.scss
|
687
693
|
- node_modules/govuk-frontend/components/back-link/macro-options.json
|
@@ -800,6 +806,11 @@ files:
|
|
800
806
|
- node_modules/govuk-frontend/components/skip-link/macro-options.json
|
801
807
|
- node_modules/govuk-frontend/components/skip-link/macro.njk
|
802
808
|
- node_modules/govuk-frontend/components/skip-link/template.njk
|
809
|
+
- node_modules/govuk-frontend/components/summary-list/README.md
|
810
|
+
- node_modules/govuk-frontend/components/summary-list/_summary-list.scss
|
811
|
+
- node_modules/govuk-frontend/components/summary-list/macro-options.json
|
812
|
+
- node_modules/govuk-frontend/components/summary-list/macro.njk
|
813
|
+
- node_modules/govuk-frontend/components/summary-list/template.njk
|
803
814
|
- node_modules/govuk-frontend/components/table/README.md
|
804
815
|
- node_modules/govuk-frontend/components/table/_table.scss
|
805
816
|
- node_modules/govuk-frontend/components/table/macro-options.json
|