govuk_publishing_components 21.57.1 → 21.60.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +31 -6
  3. data/app/assets/javascripts/component_guide/accessibility-test.js +21 -21
  4. data/app/assets/javascripts/component_guide/filter-components.js +19 -19
  5. data/app/assets/javascripts/component_guide/visual-regression.js +38 -37
  6. data/app/assets/javascripts/govuk_publishing_components/components/checkboxes.js +2 -2
  7. data/app/assets/javascripts/govuk_publishing_components/components/details.js +6 -4
  8. data/app/assets/javascripts/govuk_publishing_components/components/step-by-step-nav.js +4 -4
  9. data/app/assets/javascripts/govuk_publishing_components/lib/auto-track-event.js +31 -0
  10. data/app/assets/javascripts/govuk_publishing_components/lib/cookie-functions.js +24 -24
  11. data/app/assets/javascripts/govuk_publishing_components/lib/govspeak/youtube-link-enhancement.js +17 -17
  12. data/app/assets/stylesheets/component_guide/application.scss +15 -15
  13. data/app/assets/stylesheets/govuk_publishing_components/components/_action-link.scss +0 -8
  14. data/app/assets/stylesheets/govuk_publishing_components/components/_breadcrumbs.scss +1 -1
  15. data/app/assets/stylesheets/govuk_publishing_components/components/_checkboxes.scss +4 -0
  16. data/app/assets/stylesheets/govuk_publishing_components/components/_cookie-banner.scss +1 -8
  17. data/app/assets/stylesheets/govuk_publishing_components/components/_feedback.scss +0 -1
  18. data/app/assets/stylesheets/govuk_publishing_components/components/_govspeak-html-publication.scss +4 -5
  19. data/app/assets/stylesheets/govuk_publishing_components/components/_heading.scss +3 -8
  20. data/app/assets/stylesheets/govuk_publishing_components/components/_image-card.scss +1 -1
  21. data/app/assets/stylesheets/govuk_publishing_components/components/_input.scss +1 -1
  22. data/app/assets/stylesheets/govuk_publishing_components/components/_inverse-header.scss +5 -8
  23. data/app/assets/stylesheets/govuk_publishing_components/components/_list.scss +1 -0
  24. data/app/assets/stylesheets/govuk_publishing_components/components/_radio.scss +4 -0
  25. data/app/assets/stylesheets/govuk_publishing_components/components/_related-navigation.scss +2 -2
  26. data/app/assets/stylesheets/govuk_publishing_components/components/_search.scss +7 -3
  27. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-header.scss +0 -5
  28. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-related.scss +1 -4
  29. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav.scss +8 -12
  30. data/app/assets/stylesheets/govuk_publishing_components/components/_table.scss +21 -24
  31. data/app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss +4 -8
  32. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_attachment.scss +2 -0
  33. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_button.scss +1 -4
  34. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_charts.scss +6 -6
  35. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_contact.scss +2 -0
  36. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss +2 -0
  37. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss +2 -0
  38. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_place.scss +1 -1
  39. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_typography.scss +2 -0
  40. data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_markdown-typography.scss +1 -1
  41. data/app/assets/stylesheets/govuk_publishing_components/components/print/_govspeak.scss +2 -0
  42. data/app/assets/stylesheets/govuk_publishing_components/components/print/_step-by-step-nav-header.scss +0 -4
  43. data/app/assets/stylesheets/govuk_publishing_components/components/print/_step-by-step-nav.scss +2 -10
  44. data/app/controllers/govuk_publishing_components/audit_controller.rb +52 -0
  45. data/app/controllers/govuk_publishing_components/component_guide_controller.rb +2 -1
  46. data/app/models/govuk_publishing_components/audit_applications.rb +117 -0
  47. data/app/models/govuk_publishing_components/audit_comparer.rb +198 -0
  48. data/app/models/govuk_publishing_components/audit_components.rb +158 -0
  49. data/app/views/govuk_publishing_components/audit/show.html.erb +258 -0
  50. data/app/views/govuk_publishing_components/component_guide/index.html.erb +9 -4
  51. data/app/views/govuk_publishing_components/components/_breadcrumbs.html.erb +1 -1
  52. data/app/views/govuk_publishing_components/components/_image_card.html.erb +1 -1
  53. data/app/views/govuk_publishing_components/components/_list.html.erb +26 -0
  54. data/app/views/govuk_publishing_components/components/_machine_readable_metadata.html.erb +1 -1
  55. data/app/views/govuk_publishing_components/components/_radio.html.erb +13 -5
  56. data/app/views/govuk_publishing_components/components/_step_by_step_nav_header.html.erb +2 -2
  57. data/app/views/govuk_publishing_components/components/docs/checkboxes.yml +4 -0
  58. data/app/views/govuk_publishing_components/components/docs/govspeak.yml +45 -0
  59. data/app/views/govuk_publishing_components/components/docs/heading.yml +6 -3
  60. data/app/views/govuk_publishing_components/components/docs/image_card.yml +13 -1
  61. data/app/views/govuk_publishing_components/components/docs/list.yml +64 -0
  62. data/app/views/govuk_publishing_components/components/docs/radio.yml +4 -0
  63. data/config/routes.rb +1 -0
  64. data/lib/govuk_publishing_components/presenters/checkboxes_helper.rb +15 -7
  65. data/lib/govuk_publishing_components/presenters/heading_helper.rb +21 -1
  66. data/lib/govuk_publishing_components/presenters/image_card_helper.rb +2 -1
  67. data/lib/govuk_publishing_components/version.rb +1 -1
  68. data/node_modules/axe-core/package.json +145 -220
  69. data/node_modules/govuk-frontend/govuk/all.js +160 -57
  70. data/node_modules/govuk-frontend/govuk/components/character-count/character-count.js +16 -8
  71. data/node_modules/govuk-frontend/govuk/components/character-count/macro-options.json +6 -0
  72. data/node_modules/govuk-frontend/govuk/components/character-count/template.njk +1 -0
  73. data/node_modules/govuk-frontend/govuk/components/checkboxes/_index.scss +6 -5
  74. data/node_modules/govuk-frontend/govuk/components/checkboxes/checkboxes.js +68 -21
  75. data/node_modules/govuk-frontend/govuk/components/date-input/macro-options.json +1 -1
  76. data/node_modules/govuk-frontend/govuk/components/file-upload/_index.scss +0 -27
  77. data/node_modules/govuk-frontend/govuk/components/footer/_index.scss +0 -3
  78. data/node_modules/govuk-frontend/govuk/components/footer/template.njk +1 -1
  79. data/node_modules/govuk-frontend/govuk/components/header/template.njk +1 -1
  80. data/node_modules/govuk-frontend/govuk/components/hint/_index.scss +2 -2
  81. data/node_modules/govuk-frontend/govuk/components/hint/template.njk +2 -2
  82. data/node_modules/govuk-frontend/govuk/components/input/_index.scss +0 -3
  83. data/node_modules/govuk-frontend/govuk/components/input/macro-options.json +6 -0
  84. data/node_modules/govuk-frontend/govuk/components/input/template.njk +1 -0
  85. data/node_modules/govuk-frontend/govuk/components/radios/radios.js +76 -28
  86. data/node_modules/govuk-frontend/govuk/components/select/_index.scss +0 -3
  87. data/node_modules/govuk-frontend/govuk/components/skip-link/_index.scss +1 -0
  88. data/node_modules/govuk-frontend/govuk/components/textarea/_index.scss +0 -3
  89. data/node_modules/govuk-frontend/govuk/components/textarea/macro-options.json +6 -0
  90. data/node_modules/govuk-frontend/govuk/components/textarea/template.njk +1 -0
  91. data/node_modules/govuk-frontend/govuk/components/warning-text/_index.scss +4 -2
  92. data/node_modules/govuk-frontend/govuk/helpers/_colour.scss +1 -1
  93. data/node_modules/govuk-frontend/govuk/settings/_colours-applied.scss +2 -2
  94. data/node_modules/govuk-frontend/govuk/settings/_colours-palette.scss +1 -1
  95. data/node_modules/govuk-frontend/govuk/settings/_measurements.scss +4 -1
  96. data/node_modules/govuk-frontend/package.json +14 -81
  97. data/node_modules/jquery/package.json +44 -116
  98. metadata +46 -66
  99. data/Rakefile +0 -32
@@ -44,9 +44,6 @@
44
44
 
45
45
  &:focus {
46
46
  border-color: $govuk-input-border-colour;
47
- // Remove `box-shadow` inherited from `:focus` as `select--error`
48
- // already has the thicker border.
49
- box-shadow: none;
50
47
  }
51
48
  }
52
49
 
@@ -21,6 +21,7 @@
21
21
 
22
22
  &:focus {
23
23
  outline: $govuk-focus-width solid $govuk-focus-colour;
24
+ outline-offset: 0;
24
25
  background-color: $govuk-focus-colour;
25
26
 
26
27
  // Undo unwanted changes when global styles are enabled
@@ -42,9 +42,6 @@
42
42
 
43
43
  &:focus {
44
44
  border-color: $govuk-input-border-colour;
45
- // Remove `box-shadow` inherited from `:focus` as `textarea--error`
46
- // already has the thicker border.
47
- box-shadow: none;
48
45
  }
49
46
 
50
47
  }
@@ -11,6 +11,12 @@
11
11
  "required": true,
12
12
  "description": "The name of the textarea, which is submitted with the form data."
13
13
  },
14
+ {
15
+ "name": "spellcheck",
16
+ "type": "boolean",
17
+ "required": false,
18
+ "description": "Optional field to enable or disable the spellcheck attribute on the textarea."
19
+ },
14
20
  {
15
21
  "name": "rows",
16
22
  "type": "string",
@@ -38,6 +38,7 @@
38
38
  }) | indent(2) | trim }}
39
39
  {% endif %}
40
40
  <textarea class="govuk-textarea {{- ' govuk-textarea--error' if params.errorMessage }} {{- ' ' + params.classes if params.classes}}" id="{{ params.id }}" name="{{ params.name }}" rows="{%if params.rows %} {{- params.rows -}} {% else %}5{%endif %}"
41
+ {%- if (params.spellcheck === false) or (params.spellcheck === true) %} spellcheck="{{ params.spellcheck }}"{% endif %}
41
42
  {%- if describedBy %} aria-describedby="{{ describedBy }}"{% endif %}
42
43
  {%- if params.autocomplete %} autocomplete="{{ params.autocomplete}}"{% endif %}
43
44
  {%- for attribute, value in params.attributes %} {{attribute}}="{{value}}"{% endfor %}>{{ params.value }}</textarea>
@@ -13,13 +13,15 @@
13
13
  .govuk-warning-text__icon {
14
14
  @include govuk-font($size: false, $weight: bold);
15
15
 
16
+ box-sizing: border-box;
17
+
16
18
  display: inline-block;
17
19
 
18
20
  position: absolute;
19
21
  left: 0;
20
22
 
21
- min-width: 29px;
22
- min-height: 29px;
23
+ min-width: 35px;
24
+ min-height: 35px;
23
25
  margin-top: -7px;
24
26
 
25
27
  @include govuk-media-query($from: tablet) {
@@ -52,7 +52,7 @@
52
52
  /// colour will be returned which meets contrast requirements . If you want to
53
53
  /// use the non-websafe version you can set this to `false` but your should
54
54
  /// ensure that you still meets contrast requirements for accessibility - for
55
- /// example, don't use the non-websafe version for text.
55
+ /// example, do not use the non-websafe version for text.
56
56
  ///
57
57
  /// @return {Colour} Representation of colour for organisation
58
58
  /// @throw if `$organisation` is not a known organisation
@@ -52,7 +52,7 @@ $govuk-print-text-colour: #000000 !default;
52
52
 
53
53
  /// Secondary text colour
54
54
  ///
55
- /// Used for 'muted' text, help text, etc.
55
+ /// Used in for example 'muted' text and help text.
56
56
  ///
57
57
  /// @type Colour
58
58
  /// @access public
@@ -90,7 +90,7 @@ $govuk-error-colour: govuk-colour("red") !default;
90
90
 
91
91
  /// Border colour
92
92
  ///
93
- /// Used for borders, separators, rules, keylines etc.
93
+ /// Used in for example borders, separators, rules and keylines.
94
94
  ///
95
95
  /// @type Colour
96
96
  /// @access public
@@ -70,7 +70,7 @@ $_govuk-colour-palette-modern: (
70
70
  "purple": #4c2c92,
71
71
 
72
72
  "black": #0b0c0c,
73
- "dark-grey": #626a6e,
73
+ "dark-grey": #505a5f,
74
74
  "mid-grey": #b1b4b6,
75
75
  "light-grey": #f3f2f1,
76
76
  "white": #ffffff,
@@ -81,8 +81,11 @@ $govuk-border-width-form-element: 2px !default;
81
81
  ///
82
82
  /// @type Number
83
83
  /// @access public
84
+ /// @deprecated Use $govuk-border-width-form-element instead. There should be no
85
+ /// difference in thickness for inputs in the error state, in order to
86
+ /// maintain a distinct focus state.
84
87
 
85
- $govuk-border-width-form-element-error: 4px !default;
88
+ $govuk-border-width-form-element-error: 2px !default;
86
89
 
87
90
  /// Form group border width when in error state
88
91
  ///
@@ -1,74 +1,23 @@
1
1
  {
2
- "_args": [
3
- [
4
- {
5
- "raw": "govuk-frontend@^3.7.0",
6
- "scope": null,
7
- "escapedName": "govuk-frontend",
8
- "name": "govuk-frontend",
9
- "rawSpec": "^3.7.0",
10
- "spec": ">=3.7.0 <4.0.0",
11
- "type": "range"
12
- },
13
- "/var/lib/jenkins/workspace/ublishing_components_master-N4FWJIUY4CIFHKGZOAAEVVXODRY3YBORQOPIBBXWX72VUPSGJRRQ"
14
- ]
15
- ],
16
- "_from": "govuk-frontend@>=3.7.0 <4.0.0",
17
- "_hasShrinkwrap": false,
18
- "_id": "govuk-frontend@3.7.0",
19
- "_inCache": true,
20
- "_location": "/govuk-frontend",
21
- "_nodeVersion": "12.13.1",
22
- "_npmOperationalInternal": {
23
- "host": "s3://npm-registry-packages",
24
- "tmp": "tmp/govuk-frontend_3.7.0_1591023375568_0.08981992062114386"
25
- },
26
- "_npmUser": {
27
- "name": "govuk-patterns-and-tools",
28
- "email": "design-system-deploy+npm@digital.cabinet-office.gov.uk"
29
- },
30
- "_npmVersion": "6.12.1",
31
- "_phantomChildren": {},
32
- "_requested": {
33
- "raw": "govuk-frontend@^3.7.0",
34
- "scope": null,
35
- "escapedName": "govuk-frontend",
36
- "name": "govuk-frontend",
37
- "rawSpec": "^3.7.0",
38
- "spec": ">=3.7.0 <4.0.0",
39
- "type": "range"
2
+ "name": "govuk-frontend",
3
+ "description": "GOV.UK Frontend contains the code you need to start building a user interface for government platforms and services.",
4
+ "version": "3.8.0",
5
+ "main": "govuk/all.js",
6
+ "sass": "govuk/all.scss",
7
+ "engines": {
8
+ "node": ">= 4.2.0"
40
9
  },
41
- "_requiredBy": [
42
- "/"
43
- ],
44
- "_resolved": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-3.7.0.tgz",
45
- "_shasum": "2eb2130c3c9f7c701c7ecdb300cc91106275a414",
46
- "_shrinkwrap": null,
47
- "_spec": "govuk-frontend@^3.7.0",
48
- "_where": "/var/lib/jenkins/workspace/ublishing_components_master-N4FWJIUY4CIFHKGZOAAEVVXODRY3YBORQOPIBBXWX72VUPSGJRRQ",
49
10
  "author": {
50
- "name": "GOV.UK Design System Team",
51
- "email": "design-system-developers@digital.cabinet-office.gov.uk",
52
- "url": "Government Digital Service"
11
+ "name": "GOV.UK Design System Team (Government Digital Service)",
12
+ "email": "design-system-developers@digital.cabinet-office.gov.uk"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "https://github.com/alphagov/govuk-frontend.git"
53
17
  },
54
18
  "bugs": {
55
19
  "url": "https://github.com/alphagov/govuk-frontend/issues"
56
20
  },
57
- "dependencies": {},
58
- "description": "GOV.UK Frontend contains the code you need to start building a user interface for government platforms and services.",
59
- "devDependencies": {},
60
- "directories": {},
61
- "dist": {
62
- "integrity": "sha512-G3bqoKGGF8YQ18UJH9tTARrwB8i7iPwN1xc8RXwWyx91q0p/Xl10uNywZLkzGWcJDzEz1vwmBTTL3SLDU/KxNg==",
63
- "shasum": "2eb2130c3c9f7c701c7ecdb300cc91106275a414",
64
- "tarball": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-3.7.0.tgz",
65
- "fileCount": 277,
66
- "unpackedSize": 1031388,
67
- "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe1RcQCRA9TVsSAnZWagAAVssP/Rgy/zroRGgis6A7IGKr\nLoXiduk2Zl2dSos0glFBxVxL2P/2Wn4VPjiHKAu/ldH6wLGhgg601IfBH+ZI\nKBGWayz3j8ZmZLltseD8wks6wIpvg28RemifYDKRFmgZI6i31OwdKLoLvYF5\nF8bf8vzlgOGVHg+TweEKW8hJ2RsjHNZ2sI27Hh/qIRNzcmuQ6Tu6Q1vRtphK\nxwc+KC+DYsHIis/k/h+9C6oo7Ja59U/z1n8EohzYTvZU4J6x64FjAGj6GLl2\nopibQSz84XHPHDo2ZZKlWuoDAYlUmyewnDRsEIwGXGYWvecwHnYwcBx8eU+n\nKxrPX1tDEDkuoBIyc1G14kr07CADbU3DahfD8dFHYd7e8zZYIn731GZN6VH5\n9LuJLROKiz4BucOMn9UPYfSccPLUwVV3iRAC2Uo6UQRsnueA6m0ATeGeTmZo\n1C11kuxdkPAp7CdphHxPkl2LZAjXBAGh6UrGf6FD/kChVf6uqV59FoqgHuHS\nkeUbE1u+RdInWfniHX62W0FTQZD8LbNY8DfDCHZlVALzb7C77O4E2puKlLsK\nkRhj8P50is161A0cKbSeUi56/v4jQdaIkfaWstQalWmi6K5+rt5TxZR09JQL\n7O73z3u14cOKvqiV1IPduNt8bOMKDtrKcioGU8lEUIKtVvPJGgB+GfUcNaf9\nPHrk\r\n=KkMF\r\n-----END PGP SIGNATURE-----\r\n"
68
- },
69
- "engines": {
70
- "node": ">= 4.2.0"
71
- },
72
21
  "homepage": "https://frontend.design-system.service.gov.uk/",
73
22
  "keywords": [
74
23
  "govuk",
@@ -76,21 +25,5 @@
76
25
  "design system",
77
26
  "template"
78
27
  ],
79
- "license": "MIT",
80
- "main": "govuk/all.js",
81
- "maintainers": [
82
- {
83
- "name": "govuk-patterns-and-tools",
84
- "email": "design-system-pipeline@digital.cabinet-office.gov.uk"
85
- }
86
- ],
87
- "name": "govuk-frontend",
88
- "optionalDependencies": {},
89
- "readme": "ERROR: No README data found!",
90
- "repository": {
91
- "type": "git",
92
- "url": "git+https://github.com/alphagov/govuk-frontend.git"
93
- },
94
- "sass": "govuk/all.scss",
95
- "version": "3.7.0"
28
+ "license": "MIT"
96
29
  }
@@ -1,85 +1,29 @@
1
1
  {
2
- "_args": [
3
- [
4
- {
5
- "raw": "jquery@1.12.4",
6
- "scope": null,
7
- "escapedName": "jquery",
8
- "name": "jquery",
9
- "rawSpec": "1.12.4",
10
- "spec": "1.12.4",
11
- "type": "version"
12
- },
13
- "/var/lib/jenkins/workspace/ublishing_components_master-N4FWJIUY4CIFHKGZOAAEVVXODRY3YBORQOPIBBXWX72VUPSGJRRQ"
14
- ]
15
- ],
16
- "_from": "jquery@1.12.4",
17
- "_id": "jquery@1.12.4",
18
- "_inCache": true,
19
- "_location": "/jquery",
20
- "_nodeVersion": "0.10.45",
21
- "_npmOperationalInternal": {
22
- "host": "packages-12-west.internal.npmjs.com",
23
- "tmp": "tmp/jquery-1.12.4.tgz_1463764744844_0.4810373710934073"
24
- },
25
- "_npmUser": {
26
- "name": "timmywil",
27
- "email": "timmywillisn@gmail.com"
28
- },
29
- "_npmVersion": "2.15.1",
30
- "_phantomChildren": {},
31
- "_requested": {
32
- "raw": "jquery@1.12.4",
33
- "scope": null,
34
- "escapedName": "jquery",
35
- "name": "jquery",
36
- "rawSpec": "1.12.4",
37
- "spec": "1.12.4",
38
- "type": "version"
39
- },
40
- "_requiredBy": [
41
- "/"
42
- ],
43
- "_resolved": "https://registry.npmjs.org/jquery/-/jquery-1.12.4.tgz",
44
- "_shasum": "01e1dfba290fe73deba77ceeacb0f9ba2fec9e0c",
45
- "_shrinkwrap": null,
46
- "_spec": "jquery@1.12.4",
47
- "_where": "/var/lib/jenkins/workspace/ublishing_components_master-N4FWJIUY4CIFHKGZOAAEVVXODRY3YBORQOPIBBXWX72VUPSGJRRQ",
2
+ "name": "jquery",
3
+ "title": "jQuery",
4
+ "description": "JavaScript library for DOM operations",
5
+ "version": "1.12.4",
6
+ "main": "dist/jquery.js",
7
+ "homepage": "http://jquery.com",
48
8
  "author": {
49
9
  "name": "jQuery Foundation and other contributors",
50
10
  "url": "https://github.com/jquery/jquery/blob/1.12-stable/AUTHORS.txt"
51
11
  },
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "https://github.com/jquery/jquery.git"
15
+ },
16
+ "keywords": [
17
+ "jquery",
18
+ "javascript",
19
+ "browser",
20
+ "library"
21
+ ],
52
22
  "bugs": {
53
23
  "url": "https://github.com/jquery/jquery/issues"
54
24
  },
55
- "commitplease": {
56
- "components": [
57
- "Docs",
58
- "Tests",
59
- "Build",
60
- "Release",
61
- "Core",
62
- "Ajax",
63
- "Attributes",
64
- "Callbacks",
65
- "CSS",
66
- "Data",
67
- "Deferred",
68
- "Deprecated",
69
- "Dimensions",
70
- "Effects",
71
- "Event",
72
- "Manipulation",
73
- "Offset",
74
- "Queue",
75
- "Selector",
76
- "Serialize",
77
- "Traversing",
78
- "Wrap"
79
- ]
80
- },
25
+ "license": "MIT",
81
26
  "dependencies": {},
82
- "description": "JavaScript library for DOM operations",
83
27
  "devDependencies": {
84
28
  "commitplease": "2.0.0",
85
29
  "core-js": "0.9.17",
@@ -98,8 +42,8 @@
98
42
  "jsdom": "5.6.1",
99
43
  "load-grunt-tasks": "1.0.0",
100
44
  "npm": "2.1.12",
101
- "qunit-assert-step": "1.0.3",
102
45
  "qunitjs": "1.17.1",
46
+ "qunit-assert-step": "1.0.3",
103
47
  "requirejs": "2.1.17",
104
48
  "sinon": "1.12.2",
105
49
  "sizzle": "2.2.1",
@@ -107,51 +51,35 @@
107
51
  "testswarm": "1.1.0",
108
52
  "win-spawn": "2.0.0"
109
53
  },
110
- "directories": {},
111
- "dist": {
112
- "shasum": "01e1dfba290fe73deba77ceeacb0f9ba2fec9e0c",
113
- "tarball": "https://registry.npmjs.org/jquery/-/jquery-1.12.4.tgz"
114
- },
115
- "gitHead": "5e89585e0121e72ff47de177c5ef604f3089a53d",
116
- "homepage": "http://jquery.com",
117
- "keywords": [
118
- "jquery",
119
- "javascript",
120
- "browser",
121
- "library"
122
- ],
123
- "license": "MIT",
124
- "main": "dist/jquery.js",
125
- "maintainers": [
126
- {
127
- "name": "dmethvin",
128
- "email": "dave.methvin@gmail.com"
129
- },
130
- {
131
- "name": "scott.gonzalez",
132
- "email": "scott.gonzalez@gmail.com"
133
- },
134
- {
135
- "name": "m_gol",
136
- "email": "m.goleb@gmail.com"
137
- },
138
- {
139
- "name": "timmywil",
140
- "email": "timmywillisn@gmail.com"
141
- }
142
- ],
143
- "name": "jquery",
144
- "optionalDependencies": {},
145
- "readme": "ERROR: No README data found!",
146
- "repository": {
147
- "type": "git",
148
- "url": "git+https://github.com/jquery/jquery.git"
149
- },
150
54
  "scripts": {
151
55
  "build": "npm install && grunt",
152
56
  "start": "grunt watch",
153
57
  "test": "grunt && grunt test"
154
58
  },
155
- "title": "jQuery",
156
- "version": "1.12.4"
59
+ "commitplease": {
60
+ "components": [
61
+ "Docs",
62
+ "Tests",
63
+ "Build",
64
+ "Release",
65
+ "Core",
66
+ "Ajax",
67
+ "Attributes",
68
+ "Callbacks",
69
+ "CSS",
70
+ "Data",
71
+ "Deferred",
72
+ "Deprecated",
73
+ "Dimensions",
74
+ "Effects",
75
+ "Event",
76
+ "Manipulation",
77
+ "Offset",
78
+ "Queue",
79
+ "Selector",
80
+ "Serialize",
81
+ "Traversing",
82
+ "Wrap"
83
+ ]
84
+ }
157
85
  }
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_publishing_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 21.57.1
4
+ version: 21.60.2
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-06-25 00:00:00.000000000 Z
11
+ date: 2020-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: gds-api-adapters
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: govuk_app_config
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -80,20 +66,6 @@ dependencies:
80
66
  - - ">="
81
67
  - !ruby/object:Gem::Version
82
68
  version: 5.0.0.1
83
- - !ruby/object:Gem::Dependency
84
- name: rake
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :runtime
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
69
  - !ruby/object:Gem::Dependency
98
70
  name: rouge
99
71
  requirement: !ruby/object:Gem::Requirement
@@ -137,19 +109,19 @@ dependencies:
137
109
  - !ruby/object:Gem::Version
138
110
  version: '3.25'
139
111
  - !ruby/object:Gem::Dependency
140
- name: foreman
112
+ name: faker
141
113
  requirement: !ruby/object:Gem::Requirement
142
114
  requirements:
143
- - - '='
115
+ - - ">="
144
116
  - !ruby/object:Gem::Version
145
- version: '0.85'
117
+ version: '2.11'
146
118
  type: :development
147
119
  prerelease: false
148
120
  version_requirements: !ruby/object:Gem::Requirement
149
121
  requirements:
150
- - - '='
122
+ - - ">="
151
123
  - !ruby/object:Gem::Version
152
- version: '0.85'
124
+ version: '2.11'
153
125
  - !ruby/object:Gem::Dependency
154
126
  name: gds-api-adapters
155
127
  requirement: !ruby/object:Gem::Requirement
@@ -198,14 +170,28 @@ dependencies:
198
170
  requirements:
199
171
  - - "~>"
200
172
  - !ruby/object:Gem::Version
201
- version: 3.5.1
173
+ version: 3.6.0
202
174
  type: :development
203
175
  prerelease: false
204
176
  version_requirements: !ruby/object:Gem::Requirement
205
177
  requirements:
206
178
  - - "~>"
207
179
  - !ruby/object:Gem::Version
208
- version: 3.5.1
180
+ version: 3.6.0
181
+ - !ruby/object:Gem::Dependency
182
+ name: jasmine_selenium_runner
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - "~>"
186
+ - !ruby/object:Gem::Version
187
+ version: 3.0.0
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - "~>"
193
+ - !ruby/object:Gem::Version
194
+ version: 3.0.0
209
195
  - !ruby/object:Gem::Dependency
210
196
  name: pry-byebug
211
197
  requirement: !ruby/object:Gem::Requirement
@@ -220,6 +206,20 @@ dependencies:
220
206
  - - ">="
221
207
  - !ruby/object:Gem::Version
222
208
  version: '0'
209
+ - !ruby/object:Gem::Dependency
210
+ name: rake
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - ">="
214
+ - !ruby/object:Gem::Version
215
+ version: '0'
216
+ type: :development
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - ">="
221
+ - !ruby/object:Gem::Version
222
+ version: '0'
223
223
  - !ruby/object:Gem::Dependency
224
224
  name: rspec-rails
225
225
  requirement: !ruby/object:Gem::Requirement
@@ -262,20 +262,6 @@ dependencies:
262
262
  - - "~>"
263
263
  - !ruby/object:Gem::Version
264
264
  version: '2'
265
- - !ruby/object:Gem::Dependency
266
- name: selenium-webdriver
267
- requirement: !ruby/object:Gem::Requirement
268
- requirements:
269
- - - '='
270
- - !ruby/object:Gem::Version
271
- version: 3.142.7
272
- type: :development
273
- prerelease: false
274
- version_requirements: !ruby/object:Gem::Requirement
275
- requirements:
276
- - - '='
277
- - !ruby/object:Gem::Version
278
- version: 3.142.7
279
265
  - !ruby/object:Gem::Dependency
280
266
  name: uglifier
281
267
  requirement: !ruby/object:Gem::Requirement
@@ -290,20 +276,6 @@ dependencies:
290
276
  - - ">="
291
277
  - !ruby/object:Gem::Version
292
278
  version: 4.1.0
293
- - !ruby/object:Gem::Dependency
294
- name: faker
295
- requirement: !ruby/object:Gem::Requirement
296
- requirements:
297
- - - ">="
298
- - !ruby/object:Gem::Version
299
- version: '2.11'
300
- type: :development
301
- prerelease: false
302
- version_requirements: !ruby/object:Gem::Requirement
303
- requirements:
304
- - - ">="
305
- - !ruby/object:Gem::Version
306
- version: '2.11'
307
279
  - !ruby/object:Gem::Dependency
308
280
  name: webmock
309
281
  requirement: !ruby/object:Gem::Requirement
@@ -341,7 +313,6 @@ extra_rdoc_files: []
341
313
  files:
342
314
  - LICENCE.md
343
315
  - README.md
344
- - Rakefile
345
316
  - app/assets/config/govuk_publishing_components_manifest.js
346
317
  - app/assets/images/govuk_publishing_components/action-link--nhs.png
347
318
  - app/assets/images/govuk_publishing_components/action-link--nhs.svg
@@ -443,6 +414,7 @@ files:
443
414
  - app/assets/javascripts/govuk_publishing_components/components/tabs.js
444
415
  - app/assets/javascripts/govuk_publishing_components/dependencies.js
445
416
  - app/assets/javascripts/govuk_publishing_components/lib.js
417
+ - app/assets/javascripts/govuk_publishing_components/lib/auto-track-event.js
446
418
  - app/assets/javascripts/govuk_publishing_components/lib/cookie-functions.js
447
419
  - app/assets/javascripts/govuk_publishing_components/lib/current-location.js
448
420
  - app/assets/javascripts/govuk_publishing_components/lib/govspeak/barchart-enhancement.js
@@ -498,6 +470,7 @@ files:
498
470
  - app/assets/stylesheets/govuk_publishing_components/components/_layout-for-admin.scss
499
471
  - app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss
500
472
  - app/assets/stylesheets/govuk_publishing_components/components/_lead-paragraph.scss
473
+ - app/assets/stylesheets/govuk_publishing_components/components/_list.scss
501
474
  - app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
502
475
  - app/assets/stylesheets/govuk_publishing_components/components/_modal-dialogue.scss
503
476
  - app/assets/stylesheets/govuk_publishing_components/components/_notice.scss
@@ -582,12 +555,17 @@ files:
582
555
  - app/assets/stylesheets/govuk_publishing_components/components/print/_translation-nav.scss
583
556
  - app/assets/stylesheets/govuk_publishing_components/govuk_frontend_support.scss
584
557
  - app/controllers/govuk_publishing_components/application_controller.rb
558
+ - app/controllers/govuk_publishing_components/audit_controller.rb
585
559
  - app/controllers/govuk_publishing_components/component_guide_controller.rb
586
560
  - app/helpers/govuk_publishing_components/application_helper.rb
561
+ - app/models/govuk_publishing_components/audit_applications.rb
562
+ - app/models/govuk_publishing_components/audit_comparer.rb
563
+ - app/models/govuk_publishing_components/audit_components.rb
587
564
  - app/models/govuk_publishing_components/component_doc.rb
588
565
  - app/models/govuk_publishing_components/component_docs.rb
589
566
  - app/models/govuk_publishing_components/component_example.rb
590
567
  - app/models/govuk_publishing_components/shared_accessibility_criteria.rb
568
+ - app/views/govuk_publishing_components/audit/show.html.erb
591
569
  - app/views/govuk_publishing_components/component_guide/_application_stylesheet.html.erb
592
570
  - app/views/govuk_publishing_components/component_guide/component_doc/_call.html.erb
593
571
  - app/views/govuk_publishing_components/component_guide/component_doc/_component.html.erb
@@ -640,6 +618,7 @@ files:
640
618
  - app/views/govuk_publishing_components/components/_layout_for_admin.html.erb
641
619
  - app/views/govuk_publishing_components/components/_layout_header.html.erb
642
620
  - app/views/govuk_publishing_components/components/_lead_paragraph.html.erb
621
+ - app/views/govuk_publishing_components/components/_list.html.erb
643
622
  - app/views/govuk_publishing_components/components/_machine_readable_metadata.html.erb
644
623
  - app/views/govuk_publishing_components/components/_meta_tags.html.erb
645
624
  - app/views/govuk_publishing_components/components/_metadata.html.erb
@@ -716,6 +695,7 @@ files:
716
695
  - app/views/govuk_publishing_components/components/docs/layout_for_admin.yml
717
696
  - app/views/govuk_publishing_components/components/docs/layout_header.yml
718
697
  - app/views/govuk_publishing_components/components/docs/lead_paragraph.yml
698
+ - app/views/govuk_publishing_components/components/docs/list.yml
719
699
  - app/views/govuk_publishing_components/components/docs/machine_readable_metadata.yml
720
700
  - app/views/govuk_publishing_components/components/docs/meta_tags.yml
721
701
  - app/views/govuk_publishing_components/components/docs/metadata.yml