govuk_publishing_components 21.50.1 → 21.54.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/govuk_publishing_components/all_components.js +1 -3
- data/app/assets/javascripts/govuk_publishing_components/components/accordion.js +3 -0
- data/app/assets/javascripts/govuk_publishing_components/components/button.js +5 -0
- data/app/assets/javascripts/govuk_publishing_components/components/character-count.js +3 -0
- data/app/assets/javascripts/govuk_publishing_components/components/checkboxes.js +2 -1
- data/app/assets/javascripts/govuk_publishing_components/components/error-summary.js +3 -0
- data/app/assets/javascripts/govuk_publishing_components/components/header.js +5 -0
- data/app/assets/javascripts/govuk_publishing_components/components/radio.js +3 -0
- data/app/assets/javascripts/govuk_publishing_components/components/tabs.js +5 -0
- data/app/assets/javascripts/govuk_publishing_components/lib.js +1 -0
- data/app/assets/javascripts/govuk_publishing_components/modules.js +15 -3
- data/app/assets/stylesheets/component_guide/application.scss +0 -7
- data/app/assets/stylesheets/govuk_publishing_components/_all_components.scss +4 -13
- data/app/assets/stylesheets/govuk_publishing_components/components/_input.scss +13 -4
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_steps.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_brand-colours.scss +0 -3
- data/app/controllers/govuk_publishing_components/component_guide_controller.rb +24 -0
- data/app/views/govuk_publishing_components/component_guide/index.html.erb +8 -1
- data/app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb +5 -36
- data/app/views/govuk_publishing_components/components/_input.html.erb +12 -1
- data/app/views/govuk_publishing_components/components/_step_by_step_nav_header.html.erb +28 -8
- data/app/views/govuk_publishing_components/components/docs/input.yml +9 -0
- data/app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml +23 -0
- data/lib/govuk_publishing_components.rb +1 -0
- data/lib/govuk_publishing_components/presenters/breadcrumb_selector.rb +107 -0
- data/lib/govuk_publishing_components/presenters/content_breadcrumbs_based_on_priority.rb +26 -9
- data/lib/govuk_publishing_components/presenters/content_breadcrumbs_based_on_taxons.rb +1 -3
- data/lib/govuk_publishing_components/presenters/contextual_navigation.rb +40 -19
- data/lib/govuk_publishing_components/presenters/machine_readable/faq_page_schema.rb +5 -29
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/node_modules/axe-core/CHANGELOG.md +6 -0
- data/node_modules/axe-core/axe.js +19 -3
- data/node_modules/axe-core/axe.min.js +2 -2
- data/node_modules/axe-core/bower.json +1 -1
- data/node_modules/axe-core/lib/commons/dom/get-element-stack.js +27 -1
- data/node_modules/axe-core/package.json +21 -21
- data/node_modules/axe-core/sri-history.json +4 -0
- metadata +7 -2
@@ -2,49 +2,49 @@
|
|
2
2
|
"_args": [
|
3
3
|
[
|
4
4
|
{
|
5
|
-
"raw": "axe-core@^3.5.
|
5
|
+
"raw": "axe-core@^3.5.4",
|
6
6
|
"scope": null,
|
7
7
|
"escapedName": "axe-core",
|
8
8
|
"name": "axe-core",
|
9
|
-
"rawSpec": "^3.5.
|
10
|
-
"spec": ">=3.5.
|
9
|
+
"rawSpec": "^3.5.4",
|
10
|
+
"spec": ">=3.5.4 <4.0.0",
|
11
11
|
"type": "range"
|
12
12
|
},
|
13
13
|
"/var/lib/jenkins/workspace/ublishing_components_master-N4FWJIUY4CIFHKGZOAAEVVXODRY3YBORQOPIBBXWX72VUPSGJRRQ"
|
14
14
|
]
|
15
15
|
],
|
16
|
-
"_from": "axe-core@>=3.5.
|
16
|
+
"_from": "axe-core@>=3.5.4 <4.0.0",
|
17
17
|
"_hasShrinkwrap": false,
|
18
|
-
"_id": "axe-core@3.5.
|
18
|
+
"_id": "axe-core@3.5.4",
|
19
19
|
"_inCache": true,
|
20
20
|
"_location": "/axe-core",
|
21
|
-
"_nodeVersion": "10.
|
21
|
+
"_nodeVersion": "10.20.1",
|
22
22
|
"_npmOperationalInternal": {
|
23
23
|
"host": "s3://npm-registry-packages",
|
24
|
-
"tmp": "tmp/axe-core_3.5.
|
24
|
+
"tmp": "tmp/axe-core_3.5.4_1590595109579_0.2715696176994664"
|
25
25
|
},
|
26
26
|
"_npmUser": {
|
27
27
|
"name": "npmdeque",
|
28
28
|
"email": "axe@deque.com"
|
29
29
|
},
|
30
|
-
"_npmVersion": "6.
|
30
|
+
"_npmVersion": "6.14.4",
|
31
31
|
"_phantomChildren": {},
|
32
32
|
"_requested": {
|
33
|
-
"raw": "axe-core@^3.5.
|
33
|
+
"raw": "axe-core@^3.5.4",
|
34
34
|
"scope": null,
|
35
35
|
"escapedName": "axe-core",
|
36
36
|
"name": "axe-core",
|
37
|
-
"rawSpec": "^3.5.
|
38
|
-
"spec": ">=3.5.
|
37
|
+
"rawSpec": "^3.5.4",
|
38
|
+
"spec": ">=3.5.4 <4.0.0",
|
39
39
|
"type": "range"
|
40
40
|
},
|
41
41
|
"_requiredBy": [
|
42
42
|
"/"
|
43
43
|
],
|
44
|
-
"_resolved": "https://registry.npmjs.org/axe-core/-/axe-core-3.5.
|
45
|
-
"_shasum": "
|
44
|
+
"_resolved": "https://registry.npmjs.org/axe-core/-/axe-core-3.5.4.tgz",
|
45
|
+
"_shasum": "5a7b49ba8c989cd59cde219810ccfb0b7cf72e97",
|
46
46
|
"_shrinkwrap": null,
|
47
|
-
"_spec": "axe-core@^3.5.
|
47
|
+
"_spec": "axe-core@^3.5.4",
|
48
48
|
"_where": "/var/lib/jenkins/workspace/ublishing_components_master-N4FWJIUY4CIFHKGZOAAEVVXODRY3YBORQOPIBBXWX72VUPSGJRRQ",
|
49
49
|
"bugs": {
|
50
50
|
"url": "https://github.com/dequelabs/axe-core/issues"
|
@@ -132,17 +132,17 @@
|
|
132
132
|
},
|
133
133
|
"directories": {},
|
134
134
|
"dist": {
|
135
|
-
"integrity": "sha512-
|
136
|
-
"shasum": "
|
137
|
-
"tarball": "https://registry.npmjs.org/axe-core/-/axe-core-3.5.
|
135
|
+
"integrity": "sha512-JRuxixN5bPHre+815qnyqBQzNpRTqGxLWflvjr4REpGZ5o0WXm+ik2IS4PZ01EnacWmVRB4jCPWFiYENMiiasA==",
|
136
|
+
"shasum": "5a7b49ba8c989cd59cde219810ccfb0b7cf72e97",
|
137
|
+
"tarball": "https://registry.npmjs.org/axe-core/-/axe-core-3.5.4.tgz",
|
138
138
|
"fileCount": 596,
|
139
|
-
"unpackedSize":
|
140
|
-
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\
|
139
|
+
"unpackedSize": 2638774,
|
140
|
+
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJezo4mCRA9TVsSAnZWagAAOjMP+wazInaKLcswUycB8GG7\nAIpeOVCHJT64ROZmM7UWMg/GP6h3QKqfz99pVpWYRB6ywwff+O8GPnt7cnD3\nnGiRfWlUpwD9UhMtOPgbE2/S0FSSPGcBWdx6+qGm71UvCb6lS2PuMwvDxtoB\nndSKr644+ZDEIAMtV7vNKgDnChg+u8OvoBr4Pmm1WQy+aAKK9UgDrL5r2XjL\nXq5IBWhOyxv011YxLU4NzDcLfWMaKGJdNKscf79xGC0r7ySgbODuhMETjrbd\nwqpr+lIl4A0niSVj5KSag7DYc1c82ztBB+jJ5x+igfzk2o2BlOfrYGMu4VEk\nt9Vz5FiTp+EjRfDmDHa4lpyNekvJUzb0+XwMs3zWeLBCBvHUO9exjtS3DqHv\nJsdcec0X2tUGY3jXhu9j9uSkYQwx2rr5ZqIu7WWImUM0qNLJELLq3VbAwAvA\nQP++gFpe4sQOP/WBBPRuez4MROb1kPo7/Rk1+BI5PHvrQOGyGt5f+8TvC3hh\nAqQiqXigNGdsE4T8wb2zDaVB8mw73aV1H8hthp4Gi7h971bjwFzg87tOa3wu\nnFN/4y/IxE7bQtw3qSAod12zOaimdSs2Rw7r+wiDHQWQfrDAUGq00GeinlTe\niiSawwFjgSCYd4ok7U7edT4XzX10XSvBwy+/X09sm+G1zjMps8qPz4NopD7H\nxT/N\r\n=U9ln\r\n-----END PGP SIGNATURE-----\r\n"
|
141
141
|
},
|
142
142
|
"engines": {
|
143
143
|
"node": ">=4"
|
144
144
|
},
|
145
|
-
"gitHead": "
|
145
|
+
"gitHead": "f47997758312755d753c88b0ac7ee2927da8854e",
|
146
146
|
"homepage": "https://www.deque.com/axe/",
|
147
147
|
"keywords": [
|
148
148
|
"Accessibility",
|
@@ -218,5 +218,5 @@
|
|
218
218
|
}
|
219
219
|
},
|
220
220
|
"typings": "axe.d.ts",
|
221
|
-
"version": "3.5.
|
221
|
+
"version": "3.5.4"
|
222
222
|
}
|
@@ -182,5 +182,9 @@
|
|
182
182
|
"3.5.3": {
|
183
183
|
"axe.js": "sha256-lO/Zp+gRgYruJbjyvHOfqWqqroJ2ogTLJ64DwunyUz4=",
|
184
184
|
"axe.min.js": "sha256-Oh5/ClgfAAKQWyCvlU3F+Ud6QDsS0myLJr866QFt67w="
|
185
|
+
},
|
186
|
+
"3.5.4": {
|
187
|
+
"axe.js": "sha256-4f1ZZbAr3xgoAputB3oZK5ASoazrNIw6SU2M1Nnb4bg=",
|
188
|
+
"axe.min.js": "sha256-XDhCakYtcQtOpujvhE876/a4fUyZjiKtNn8xniP03Ek="
|
185
189
|
}
|
186
190
|
}
|
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: 21.
|
4
|
+
version: 21.54.0
|
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: 2020-
|
11
|
+
date: 2020-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gds-api-adapters
|
@@ -408,6 +408,7 @@ files:
|
|
408
408
|
- app/assets/javascripts/component_guide/visual-regression.js
|
409
409
|
- app/assets/javascripts/govuk_publishing_components/all_components.js
|
410
410
|
- app/assets/javascripts/govuk_publishing_components/components/accordion.js
|
411
|
+
- app/assets/javascripts/govuk_publishing_components/components/button.js
|
411
412
|
- app/assets/javascripts/govuk_publishing_components/components/character-count.js
|
412
413
|
- app/assets/javascripts/govuk_publishing_components/components/checkboxes.js
|
413
414
|
- app/assets/javascripts/govuk_publishing_components/components/contextual-guidance.js
|
@@ -417,11 +418,14 @@ files:
|
|
417
418
|
- app/assets/javascripts/govuk_publishing_components/components/error-summary.js
|
418
419
|
- app/assets/javascripts/govuk_publishing_components/components/feedback.js
|
419
420
|
- app/assets/javascripts/govuk_publishing_components/components/govspeak.js
|
421
|
+
- app/assets/javascripts/govuk_publishing_components/components/header.js
|
420
422
|
- app/assets/javascripts/govuk_publishing_components/components/initial-focus.js
|
421
423
|
- app/assets/javascripts/govuk_publishing_components/components/modal-dialogue.js
|
422
424
|
- app/assets/javascripts/govuk_publishing_components/components/radio.js
|
423
425
|
- app/assets/javascripts/govuk_publishing_components/components/step-by-step-nav.js
|
426
|
+
- app/assets/javascripts/govuk_publishing_components/components/tabs.js
|
424
427
|
- app/assets/javascripts/govuk_publishing_components/dependencies.js
|
428
|
+
- app/assets/javascripts/govuk_publishing_components/lib.js
|
425
429
|
- app/assets/javascripts/govuk_publishing_components/lib/cookie-functions.js
|
426
430
|
- app/assets/javascripts/govuk_publishing_components/lib/current-location.js
|
427
431
|
- app/assets/javascripts/govuk_publishing_components/lib/govspeak/barchart-enhancement.js
|
@@ -744,6 +748,7 @@ files:
|
|
744
748
|
- lib/govuk_publishing_components/engine.rb
|
745
749
|
- lib/govuk_publishing_components/minitest/component_guide_test.rb
|
746
750
|
- lib/govuk_publishing_components/presenters/attachment.rb
|
751
|
+
- lib/govuk_publishing_components/presenters/breadcrumb_selector.rb
|
747
752
|
- lib/govuk_publishing_components/presenters/breadcrumbs.rb
|
748
753
|
- lib/govuk_publishing_components/presenters/button_helper.rb
|
749
754
|
- lib/govuk_publishing_components/presenters/checkboxes_helper.rb
|