govuk_publishing_components 21.27.1 → 21.28.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +9 -9
  3. data/app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss +17 -2
  4. data/app/controllers/govuk_publishing_components/component_guide_controller.rb +6 -6
  5. data/app/models/govuk_publishing_components/component_doc.rb +1 -1
  6. data/app/models/govuk_publishing_components/component_docs.rb +2 -2
  7. data/app/models/govuk_publishing_components/component_example.rb +4 -4
  8. data/app/views/govuk_publishing_components/components/_input.html.erb +11 -0
  9. data/app/views/govuk_publishing_components/components/_previous_and_next_navigation.html.erb +2 -2
  10. data/app/views/govuk_publishing_components/components/docs/button.yml +9 -1
  11. data/app/views/govuk_publishing_components/components/docs/input.yml +7 -0
  12. data/config/routes.rb +5 -5
  13. data/lib/generators/govuk_publishing_components/component_generator.rb +7 -7
  14. data/lib/govuk_publishing_components.rb +2 -2
  15. data/lib/govuk_publishing_components/app_helpers/taxon_breadcrumbs.rb +1 -1
  16. data/lib/govuk_publishing_components/engine.rb +1 -1
  17. data/lib/govuk_publishing_components/minitest/component_guide_test.rb +4 -4
  18. data/lib/govuk_publishing_components/presenters/breadcrumbs.rb +9 -9
  19. data/lib/govuk_publishing_components/presenters/button_helper.rb +20 -10
  20. data/lib/govuk_publishing_components/presenters/checkboxes_helper.rb +2 -2
  21. data/lib/govuk_publishing_components/presenters/content_breadcrumbs_based_on_parent.rb +1 -1
  22. data/lib/govuk_publishing_components/presenters/content_breadcrumbs_based_on_taxons.rb +3 -3
  23. data/lib/govuk_publishing_components/presenters/contents_list_helper.rb +5 -5
  24. data/lib/govuk_publishing_components/presenters/contextual_navigation.rb +5 -5
  25. data/lib/govuk_publishing_components/presenters/curated_taxonomy_sidebar_links.rb +5 -5
  26. data/lib/govuk_publishing_components/presenters/image_card_helper.rb +3 -3
  27. data/lib/govuk_publishing_components/presenters/machine_readable/article_schema.rb +1 -1
  28. data/lib/govuk_publishing_components/presenters/machine_readable/creative_work_schema.rb +9 -9
  29. data/lib/govuk_publishing_components/presenters/machine_readable/dataset_schema.rb +2 -2
  30. data/lib/govuk_publishing_components/presenters/machine_readable/faq_page_schema.rb +3 -3
  31. data/lib/govuk_publishing_components/presenters/machine_readable/government_service_schema.rb +10 -10
  32. data/lib/govuk_publishing_components/presenters/machine_readable/has_part_schema.rb +1 -1
  33. data/lib/govuk_publishing_components/presenters/machine_readable/is_part_of_schema.rb +1 -1
  34. data/lib/govuk_publishing_components/presenters/machine_readable/organisation_schema.rb +5 -5
  35. data/lib/govuk_publishing_components/presenters/machine_readable/person_schema.rb +3 -3
  36. data/lib/govuk_publishing_components/presenters/machine_readable/potential_search_action_schema.rb +3 -3
  37. data/lib/govuk_publishing_components/presenters/meta_tags.rb +6 -6
  38. data/lib/govuk_publishing_components/presenters/organisation_logo_helper.rb +1 -1
  39. data/lib/govuk_publishing_components/presenters/page_with_step_by_step_navigation.rb +3 -3
  40. data/lib/govuk_publishing_components/presenters/related_navigation_helper.rb +32 -32
  41. data/lib/govuk_publishing_components/presenters/schema_org.rb +13 -13
  42. data/lib/govuk_publishing_components/presenters/select.rb +1 -1
  43. data/lib/govuk_publishing_components/presenters/step_by_step_nav_helper.rb +9 -9
  44. data/lib/govuk_publishing_components/presenters/taxonomy_list_helper.rb +1 -1
  45. data/lib/govuk_publishing_components/version.rb +1 -1
  46. data/lib/tasks/govuk_publishing_components_tasks.rake +7 -7
  47. data/node_modules/axe-core/CHANGELOG.md +18 -0
  48. data/node_modules/axe-core/README.md +9 -6
  49. data/node_modules/axe-core/axe.js +71 -20
  50. data/node_modules/axe-core/axe.min.js +2 -2
  51. data/node_modules/axe-core/bower.json +1 -1
  52. data/node_modules/axe-core/doc/API.md +4 -7
  53. data/node_modules/axe-core/doc/backwards-compatibility-doc.md +2 -1
  54. data/node_modules/axe-core/doc/rule-descriptions.md +129 -91
  55. data/node_modules/axe-core/lib/checks/aria/invalidrole.js +12 -9
  56. data/node_modules/axe-core/lib/checks/keyboard/page-has-elm.js +1 -1
  57. data/node_modules/axe-core/lib/checks/language/has-lang.js +10 -5
  58. data/node_modules/axe-core/lib/checks/navigation/region.js +7 -2
  59. data/node_modules/axe-core/lib/commons/aria/index.js +6 -11
  60. data/node_modules/axe-core/lib/commons/dom/url-props-from-attribute.js +15 -6
  61. data/node_modules/axe-core/lib/core/utils/get-check-message.js +21 -0
  62. data/node_modules/axe-core/lib/rules/area-alt.json +2 -0
  63. data/node_modules/axe-core/lib/rules/aria-roles.json +1 -0
  64. data/node_modules/axe-core/lib/rules/color-contrast-matches.js +26 -0
  65. data/node_modules/axe-core/lib/rules/label-content-name-mismatch-matches.js +4 -1
  66. data/node_modules/axe-core/lib/rules/no-empty-role-matches.js +9 -0
  67. data/node_modules/axe-core/lib/rules/skip-link-matches.js +1 -1
  68. data/node_modules/axe-core/package.json +12 -12
  69. data/node_modules/axe-core/sri-history.json +4 -0
  70. data/node_modules/govuk-frontend/govuk/all.js +21 -31
  71. data/node_modules/govuk-frontend/govuk/components/button/template.njk +1 -1
  72. data/node_modules/govuk-frontend/govuk/components/character-count/macro-options.json +1 -1
  73. data/node_modules/govuk-frontend/govuk/components/checkboxes/macro-options.json +1 -1
  74. data/node_modules/govuk-frontend/govuk/components/date-input/macro-options.json +1 -1
  75. data/node_modules/govuk-frontend/govuk/components/error-summary/error-summary.js +1 -1
  76. data/node_modules/govuk-frontend/govuk/components/file-upload/macro-options.json +1 -1
  77. data/node_modules/govuk-frontend/govuk/components/footer/template.njk +1 -1
  78. data/node_modules/govuk-frontend/govuk/components/header/template.njk +1 -1
  79. data/node_modules/govuk-frontend/govuk/components/input/macro-options.json +1 -1
  80. data/node_modules/govuk-frontend/govuk/components/radios/macro-options.json +1 -1
  81. data/node_modules/govuk-frontend/govuk/components/select/macro-options.json +1 -1
  82. data/node_modules/govuk-frontend/govuk/components/skip-link/macro-options.json +2 -2
  83. data/node_modules/govuk-frontend/govuk/components/tabs/tabs.js +20 -30
  84. data/node_modules/govuk-frontend/govuk/components/tabs/template.njk +2 -2
  85. data/node_modules/govuk-frontend/govuk/components/tag/_tag.scss +47 -0
  86. data/node_modules/govuk-frontend/govuk/components/textarea/macro-options.json +1 -1
  87. data/node_modules/govuk-frontend/govuk/helpers/_spacing.scss +4 -4
  88. data/node_modules/govuk-frontend/govuk/helpers/_typography.scss +5 -5
  89. data/node_modules/govuk-frontend/govuk/helpers/_visually-hidden.scss +29 -29
  90. data/node_modules/govuk-frontend/govuk/overrides/_display.scss +6 -0
  91. data/node_modules/govuk-frontend/govuk/tools/_iff.scss +3 -1
  92. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/closest.js +1 -1
  93. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/nextElementSibling.js +10 -16
  94. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/previousElementSibling.js +10 -14
  95. data/node_modules/govuk-frontend/package.json +10 -10
  96. metadata +32 -16
@@ -47,7 +47,7 @@
47
47
  "name": "errorMessage",
48
48
  "type": "object",
49
49
  "required": false,
50
- "description": "Options for the errorMessage component (e.g. text).",
50
+ "description": "Options for the error message component. The error message component will not display if you use a falsy value for `errorMessage`, for example `false` or `null`.",
51
51
  "isComponent": true
52
52
  },
53
53
  {
@@ -82,16 +82,16 @@
82
82
  @if $breakpoint == null {
83
83
 
84
84
  @if $direction == all {
85
- #{$property}: $breakpoint-value iff($important, !important);
85
+ #{$property}: $breakpoint-value if($important, !important, null);
86
86
  } @else {
87
- #{$property}-#{$direction}: $breakpoint-value iff($important, !important);
87
+ #{$property}-#{$direction}: $breakpoint-value if($important, !important, null);
88
88
  }
89
89
  } @else {
90
90
  @include govuk-media-query($from: $breakpoint) {
91
91
  @if $direction == all {
92
- #{$property}: $breakpoint-value iff($important, !important);
92
+ #{$property}: $breakpoint-value if($important, !important, null);
93
93
  } @else {
94
- #{$property}-#{$direction}: $breakpoint-value iff($important, !important);
94
+ #{$property}-#{$direction}: $breakpoint-value if($important, !important, null);
95
95
  }
96
96
  }
97
97
  }
@@ -53,7 +53,7 @@
53
53
  /// @access public
54
54
 
55
55
  @mixin govuk-typography-weight-regular($important: false) {
56
- font-weight: $govuk-font-weight-regular iff($important, !important);
56
+ font-weight: $govuk-font-weight-regular if($important, !important, null);
57
57
  }
58
58
 
59
59
  /// Bold font weight helper
@@ -63,7 +63,7 @@
63
63
  /// @access public
64
64
 
65
65
  @mixin govuk-typography-weight-bold($important: false) {
66
- font-weight: $govuk-font-weight-bold iff($important, !important);
66
+ font-weight: $govuk-font-weight-bold if($important, !important, null);
67
67
  }
68
68
 
69
69
  /// Convert line-heights specified in pixels into a relative value, unless
@@ -137,9 +137,9 @@
137
137
  // Mark rules as !important if $important is true - this will result in
138
138
  // these variables becoming strings, so this needs to happen *after* they
139
139
  // are used in calculations
140
- $font-size: $font-size iff($important, !important);
141
- $font-size-rem: $font-size-rem iff($important, !important);
142
- $line-height: $line-height iff($important, !important);
140
+ $font-size: $font-size if($important, !important, null);
141
+ $font-size-rem: $font-size-rem if($important, !important, null);
142
+ $line-height: $line-height if($important, !important, null);
143
143
 
144
144
  @if $breakpoint == null {
145
145
  font-size: $font-size; // sass-lint:disable no-duplicate-properties
@@ -14,26 +14,26 @@
14
14
  /// @access public
15
15
 
16
16
  @mixin govuk-visually-hidden($important: true) {
17
- position: absolute iff($important, !important);
17
+ position: absolute if($important, !important, null);
18
18
 
19
- width: 1px iff($important, !important);
20
- height: 1px iff($important, !important);
19
+ width: 1px if($important, !important, null);
20
+ height: 1px if($important, !important, null);
21
21
  // If margin is set to a negative value it can cause text to be announced in
22
22
  // the wrong order in VoiceOver for OSX
23
- margin: 0 iff($important, !important);
24
- padding: 0 iff($important, !important);
23
+ margin: 0 if($important, !important, null);
24
+ padding: 0 if($important, !important, null);
25
25
 
26
- overflow: hidden iff($important, !important);
27
- clip: rect(0 0 0 0) iff($important, !important);
28
- -webkit-clip-path: inset(50%) iff($important, !important);
29
- clip-path: inset(50%) iff($important, !important);
26
+ overflow: hidden if($important, !important, null);
27
+ clip: rect(0 0 0 0) if($important, !important, null);
28
+ -webkit-clip-path: inset(50%) if($important, !important, null);
29
+ clip-path: inset(50%) if($important, !important, null);
30
30
 
31
- border: 0 iff($important, !important);
31
+ border: 0 if($important, !important, null);
32
32
 
33
33
  // For long content, line feeds are not interpreted as spaces and small width
34
34
  // causes content to wrap 1 word per line:
35
35
  // https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
36
- white-space: nowrap iff($important, !important);
36
+ white-space: nowrap if($important, !important, null);
37
37
  }
38
38
 
39
39
  /// Hide an element visually, but have it available for screen readers whilst
@@ -48,37 +48,37 @@
48
48
  /// @access public
49
49
 
50
50
  @mixin govuk-visually-hidden-focusable($important: true) {
51
- position: absolute iff($important, !important);
51
+ position: absolute if($important, !important, null);
52
52
 
53
- width: 1px iff($important, !important);
54
- height: 1px iff($important, !important);
53
+ width: 1px if($important, !important, null);
54
+ height: 1px if($important, !important, null);
55
55
  // If margin is set to a negative value it can cause text to be announced in
56
56
  // the wrong order in VoiceOver for OSX
57
- margin: 0 iff($important, !important);
57
+ margin: 0 if($important, !important, null);
58
58
 
59
- overflow: hidden iff($important, !important);
60
- clip: rect(0 0 0 0) iff($important, !important);
61
- -webkit-clip-path: inset(50%) iff($important, !important);
62
- clip-path: inset(50%) iff($important, !important);
59
+ overflow: hidden if($important, !important, null);
60
+ clip: rect(0 0 0 0) if($important, !important, null);
61
+ -webkit-clip-path: inset(50%) if($important, !important, null);
62
+ clip-path: inset(50%) if($important, !important, null);
63
63
 
64
64
  // For long content, line feeds are not interpreted as spaces and small width
65
65
  // causes content to wrap 1 word per line:
66
66
  // https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
67
- white-space: nowrap iff($important, !important);
67
+ white-space: nowrap if($important, !important, null);
68
68
 
69
69
  &:active,
70
70
  &:focus {
71
- position: static iff($important, !important);
71
+ position: static if($important, !important, null);
72
72
 
73
- width: auto iff($important, !important);
74
- height: auto iff($important, !important);
75
- margin: inherit iff($important, !important);
73
+ width: auto if($important, !important, null);
74
+ height: auto if($important, !important, null);
75
+ margin: inherit if($important, !important, null);
76
76
 
77
- overflow: visible iff($important, !important);
78
- clip: auto iff($important, !important);
79
- -webkit-clip-path: none iff($important, !important);
80
- clip-path: none iff($important, !important);
77
+ overflow: visible if($important, !important, null);
78
+ clip: auto if($important, !important, null);
79
+ -webkit-clip-path: none if($important, !important, null);
80
+ clip-path: none if($important, !important, null);
81
81
 
82
- white-space: inherit iff($important, !important);
82
+ white-space: inherit if($important, !important, null);
83
83
  }
84
84
  }
@@ -19,4 +19,10 @@
19
19
  .govuk-\!-display-none {
20
20
  display: none !important;
21
21
  }
22
+
23
+ @include govuk-media-query($media-type: print) {
24
+ .govuk-\!-display-none-print {
25
+ display: none !important;
26
+ }
27
+ }
22
28
  }
@@ -8,8 +8,10 @@
8
8
  /// @param {Boolean} $condition - Whether to return the value of `$if-true`
9
9
  /// @param {Mixed} $if-true - Value to return if `$condition` is truthy
10
10
  /// @return {Mixed} Value of `$if-true` if `$condition` is truthy, else null
11
- /// @access public
11
+ /// @access private
12
+ /// @deprecated We will be removing this function in a future release, use `if($condition, $if-true, null);` instead.
12
13
 
13
14
  @function iff($condition, $if-true) {
15
+ @warn "The `iff` function will be removed in a future release, use `if($condition, $if-true, null);` instead.";
14
16
  @return if($condition, $if-true, null);
15
17
  }
@@ -37,7 +37,7 @@
37
37
 
38
38
  if (detect) return
39
39
 
40
- // Polyfill from https://raw.githubusercontent.com/Financial-Times/polyfill-service/1f3c09b402f65bf6e393f933a15ba63f1b86ef1f/packages/polyfill-library/polyfills/Element/prototype/closest/polyfill.js
40
+ // Polyfill from https://raw.githubusercontent.com/Financial-Times/polyfill-service/1f3c09b402f65bf6e393f933a15ba63f1b86ef1f/packages/polyfill-library/polyfills/Element/prototype/closest/polyfill.js
41
41
  Element.prototype.closest = function closest(selector) {
42
42
  var node = this;
43
43
 
@@ -233,27 +233,21 @@ if (detect) return
233
233
 
234
234
  (function(undefined) {
235
235
 
236
- // Detection from https://github.com/Financial-Times/polyfill-service/pull/1062/files#diff-b09a5d2acf3314b46a6c8f8d0c31b85c
236
+ // Detection from https://raw.githubusercontent.com/Financial-Times/polyfill-library/master/polyfills/Element/prototype/nextElementSibling/detect.js
237
237
  var detect = (
238
- 'Element' in this && "nextElementSibling" in document.documentElement
238
+ 'document' in this && "nextElementSibling" in document.documentElement
239
239
  );
240
240
 
241
241
  if (detect) return
242
242
 
243
-
244
- (function (global) {
245
-
246
- // There is no polyfill in polyfill-library (https://github.com/Financial-Times/polyfill-library/issues/338)
247
- // So we source this from https://github.com/Alhadis/Snippets/blob/e09b4dfb7ffc9e250bc28319051e39ead3e5f70a/js/polyfills/IE8-child-elements.js#L28-L33
248
- Object.defineProperty(Element.prototype, "nextElementSibling", {
249
- get: function(){
250
- var el = this.nextSibling;
251
- while (el && el.nodeType !== 1) { el = el.nextSibling; }
252
- return el;
253
- }
254
- });
255
-
256
- }(this));
243
+ // Polyfill from https://raw.githubusercontent.com/Financial-Times/polyfill-library/master/polyfills/Element/prototype/nextElementSibling/polyfill.js
244
+ Object.defineProperty(Element.prototype, "nextElementSibling", {
245
+ get: function(){
246
+ var el = this.nextSibling;
247
+ while (el && el.nodeType !== 1) { el = el.nextSibling; }
248
+ return el;
249
+ }
250
+ });
257
251
 
258
252
  }).call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});
259
253
 
@@ -233,25 +233,21 @@ if (detect) return
233
233
 
234
234
  (function(undefined) {
235
235
 
236
- // Detection from https://github.com/Financial-Times/polyfill-service/pull/1062/files#diff-a162235fbc9c0dd40d4032265f44942e
236
+ // Detection from https://raw.githubusercontent.com/Financial-Times/polyfill-library/master/polyfills/Element/prototype/previousElementSibling/detect.js
237
237
  var detect = (
238
- 'Element' in this && 'previousElementSibling' in document.documentElement
238
+ 'document' in this && "previousElementSibling" in document.documentElement
239
239
  );
240
240
 
241
241
  if (detect) return
242
242
 
243
- (function (global) {
244
- // There is no polyfill in polyfill-library (https://github.com/Financial-Times/polyfill-library/issues/338)
245
- // So we source this from https://github.com/Alhadis/Snippets/blob/e09b4dfb7ffc9e250bc28319051e39ead3e5f70a/js/polyfills/IE8-child-elements.js#L35-L40
246
- Object.defineProperty(Element.prototype, 'previousElementSibling', {
247
- get: function(){
248
- var el = this.previousSibling;
249
- while (el && el.nodeType !== 1) { el = el.previousSibling; }
250
- return el;
251
- }
252
- });
253
-
254
- }(this));
243
+ // Polyfill from https://raw.githubusercontent.com/Financial-Times/polyfill-library/master/polyfills/Element/prototype/previousElementSibling/polyfill.js
244
+ Object.defineProperty(Element.prototype, 'previousElementSibling', {
245
+ get: function(){
246
+ var el = this.previousSibling;
247
+ while (el && el.nodeType !== 1) { el = el.previousSibling; }
248
+ return el;
249
+ }
250
+ });
255
251
 
256
252
  }).call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});
257
253
 
@@ -15,13 +15,13 @@
15
15
  ],
16
16
  "_from": "govuk-frontend@>=3.5.0 <4.0.0",
17
17
  "_hasShrinkwrap": false,
18
- "_id": "govuk-frontend@3.5.0",
18
+ "_id": "govuk-frontend@3.6.0",
19
19
  "_inCache": true,
20
20
  "_location": "/govuk-frontend",
21
21
  "_nodeVersion": "12.13.1",
22
22
  "_npmOperationalInternal": {
23
23
  "host": "s3://npm-registry-packages",
24
- "tmp": "tmp/govuk-frontend_3.5.0_1579614167072_0.020461364065953225"
24
+ "tmp": "tmp/govuk-frontend_3.6.0_1583504583719_0.40969322261596264"
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-3.5.0.tgz",
45
- "_shasum": "040e6fd0227f65d3e5820f8a05a9932ffdfb2a9e",
44
+ "_resolved": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-3.6.0.tgz",
45
+ "_shasum": "f0d1e6ec3c0eb33616adfdff28ff778fe518d085",
46
46
  "_shrinkwrap": null,
47
47
  "_spec": "govuk-frontend@^3.5.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-4tNKgcChO1bMNsrTz2UsK4fDMmU9R87UDxy/KhKIMbnhsuJLVuArDveYLkZuUsZ6B3eaCbl5gmI8i/Q/Mi680A==",
63
- "shasum": "040e6fd0227f65d3e5820f8a05a9932ffdfb2a9e",
64
- "tarball": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-3.5.0.tgz",
62
+ "integrity": "sha512-wTxufdY8vFvKJ2EmmQKmarrQ7n30kzg+vvqgGib2dawl7c5Wst8dffkEJQpy9Zs99TE/yEEFgj0VUO4GRUO22A==",
63
+ "shasum": "f0d1e6ec3c0eb33616adfdff28ff778fe518d085",
64
+ "tarball": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-3.6.0.tgz",
65
65
  "fileCount": 247,
66
- "unpackedSize": 1026965,
67
- "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeJv/XCRA9TVsSAnZWagAAVzUP/AxgxJ+hyp/5XkM+OHsq\nwgs5jdMyh19GnnhSaAkDho/q7YCTzmzyxPju1wpR8JIwXBl5IPzDTpkxqZUB\n3P+Ax0P+UvtX7XVgu+2jmd+i6xct2DrCKcSbOu0pfRjT0AxFhvtv/91LNVS3\n3azV5eiqze3z2OyQcXOMGLchKKk2P2DZ1kQzhEF6JpuMuQgtkpfr1e4pId+z\n9bvLDp1TtoBuQVcNy3WiEuf0jYWcd9wX67Y578PeRDNmcuYxkmTAJueGARtB\nkuueNd6lmhNU2dR2aFl5Zr/35mc0RjJVoIQ4nf/HAx1NsMyHfOX3Y9RvR7w4\nolMqQlzQ/8S8zd4d/TzBpHpvgQRSgljyPu/6Ww45nL/R1GMPK0Y8NkDg13aD\nxRQL4OChNCikbycTsY0X9P7cbtLCamfT5GU3PGaeCaQhAhwjdAE1KeKo3mtV\nTW1fGUj99qbLIw7c2nqddKZIDYRK852k5ew3EnmvDB8kn1Gu5veBjt6AP+xE\nvttSU6uB+ee1yRJGVwfybIIxBupwjhX0BlQSETaKyvQMAJIeO58y0AUwq+fS\nPgirvF+Qx7vpbxw1moA/IbAvicjrm3+0hhht0OAXaWMfKn9MfU08LlaKbb+g\n/+FCqZxCJPKgMoR489UF2BkozUZmHDOG40xUELuMa+8AbxDqcOVrDAGcqMe2\n9rvI\r\n=v5bg\r\n-----END PGP SIGNATURE-----\r\n"
66
+ "unpackedSize": 1028962,
67
+ "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeYlzICRA9TVsSAnZWagAAAEQP/jWYC2rUtHC4scZBVxhC\nIx42F7TADXsNjGk5geqn6IGQE4OGTBQPSkb1Oow20uBZsnf2/m2PpmCo0t9F\nB2yDDIzujDn9PQ5YSMGc2+54sFb0/EM9Ti4EOxyrr4zRXtIgB6kWFtJpO5sj\n5qNAkXA1WQPsIPqd2/PahlbVyeoKKKPpVjXHq17Sh6Yo0B2eMC/Zw30ZKhFb\nf7G6V+PADsP2xGv+DOSooHwf6L+Q7wlH+Y9EKuuD640YXOuVfr/+RjWDhisj\nuUc9WwyRU4LcIEx+CUmZSwp1vvyf6YYHfAZFyWBNx3t5gO7SD1f4cpAUxpEx\nzmIIsHWLoQHvfVQHEM6dLXxWGOeHLqGvTZ89A0t0AsTUfuyNpb8awVd8/hPM\nSzXbPZHuDPlJNr7YwtKzJVxMY6Ht7mW5zLgmUAuRcCNYarTa4n9XHMtz2WSK\ndRuSNE/bW7C9uSDpTDC01BqdbWpHRInbZU4zvcrUYl74KstIlOkhHvmyFyDI\nzer5OcYpqOSXOb60F/TtjLXOd1zo7kt1Ud6pm+wnmBUrYNHfrYKWfQokV2LX\nqoCOF7me1gcfMVtU8ST1ljT4LWQjVI+G8e9q24KhQ7QTFIXrzq7X0hr58Kv5\njBuuI0i3HJNbI1mBk/nmkZbYm3sW3Nj+p3LFoCCmRvwX35rue5v50Sik5FdH\nnWSb\r\n=pXEv\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": "govuk/all.scss",
95
- "version": "3.5.0"
95
+ "version": "3.6.0"
96
96
  }
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.27.1
4
+ version: 21.28.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-03-02 00:00:00.000000000 Z
11
+ date: 2020-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gds-api-adapters
@@ -108,6 +108,20 @@ dependencies:
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: sass
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - '='
116
+ - !ruby/object:Gem::Version
117
+ version: 3.7.4
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - '='
123
+ - !ruby/object:Gem::Version
124
+ version: 3.7.4
111
125
  - !ruby/object:Gem::Dependency
112
126
  name: sassc-rails
113
127
  requirement: !ruby/object:Gem::Requirement
@@ -178,20 +192,6 @@ dependencies:
178
192
  - - "~>"
179
193
  - !ruby/object:Gem::Version
180
194
  version: '59.1'
181
- - !ruby/object:Gem::Dependency
182
- name: govuk-lint
183
- requirement: !ruby/object:Gem::Requirement
184
- requirements:
185
- - - "~>"
186
- - !ruby/object:Gem::Version
187
- version: '3.11'
188
- type: :development
189
- prerelease: false
190
- version_requirements: !ruby/object:Gem::Requirement
191
- requirements:
192
- - - "~>"
193
- - !ruby/object:Gem::Version
194
- version: '3.11'
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: govuk_schemas
197
197
  requirement: !ruby/object:Gem::Requirement
@@ -262,6 +262,20 @@ dependencies:
262
262
  - - "~>"
263
263
  - !ruby/object:Gem::Version
264
264
  version: '3.8'
265
+ - !ruby/object:Gem::Dependency
266
+ name: rubocop-govuk
267
+ requirement: !ruby/object:Gem::Requirement
268
+ requirements:
269
+ - - "~>"
270
+ - !ruby/object:Gem::Version
271
+ version: '3'
272
+ type: :development
273
+ prerelease: false
274
+ version_requirements: !ruby/object:Gem::Requirement
275
+ requirements:
276
+ - - "~>"
277
+ - !ruby/object:Gem::Version
278
+ version: '3'
265
279
  - !ruby/object:Gem::Dependency
266
280
  name: selenium-webdriver
267
281
  requirement: !ruby/object:Gem::Requirement
@@ -1187,6 +1201,7 @@ files:
1187
1201
  - node_modules/axe-core/lib/core/utils/flattened-tree.js
1188
1202
  - node_modules/axe-core/lib/core/utils/get-all-checks.js
1189
1203
  - node_modules/axe-core/lib/core/utils/get-base-lang.js
1204
+ - node_modules/axe-core/lib/core/utils/get-check-message.js
1190
1205
  - node_modules/axe-core/lib/core/utils/get-check-option.js
1191
1206
  - node_modules/axe-core/lib/core/utils/get-friendly-uri-end.js
1192
1207
  - node_modules/axe-core/lib/core/utils/get-node-attributes.js
@@ -1326,6 +1341,7 @@ files:
1326
1341
  - node_modules/axe-core/lib/rules/meta-viewport.json
1327
1342
  - node_modules/axe-core/lib/rules/no-autoplay-audio-matches.js
1328
1343
  - node_modules/axe-core/lib/rules/no-autoplay-audio.json
1344
+ - node_modules/axe-core/lib/rules/no-empty-role-matches.js
1329
1345
  - node_modules/axe-core/lib/rules/no-role-matches.js
1330
1346
  - node_modules/axe-core/lib/rules/not-html-matches.js
1331
1347
  - node_modules/axe-core/lib/rules/object-alt.json