govuk_publishing_components 11.0.0 → 11.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/govuk_publishing_components/admin_scripts.js +1 -1
  3. data/app/assets/javascripts/govuk_publishing_components/components/radio.js +1 -1
  4. data/app/assets/stylesheets/govuk_publishing_components/_all_components.scss +11 -3
  5. data/app/assets/stylesheets/govuk_publishing_components/admin_styles.scss +2 -4
  6. data/app/assets/stylesheets/govuk_publishing_components/admin_styles_ie8.scss +2 -1
  7. data/app/assets/stylesheets/govuk_publishing_components/components/_back-link.scss +2 -6
  8. data/app/assets/stylesheets/govuk_publishing_components/components/_button.scss +3 -9
  9. data/app/assets/stylesheets/govuk_publishing_components/components/_details.scss +2 -1
  10. data/app/assets/stylesheets/govuk_publishing_components/components/_error-message.scss +2 -6
  11. data/app/assets/stylesheets/govuk_publishing_components/components/_file-upload.scss +3 -7
  12. data/app/assets/stylesheets/govuk_publishing_components/components/_hint.scss +2 -6
  13. data/app/assets/stylesheets/govuk_publishing_components/components/_input.scss +3 -7
  14. data/app/assets/stylesheets/govuk_publishing_components/components/_inset-text.scss +2 -1
  15. data/app/assets/stylesheets/govuk_publishing_components/components/_label.scss +2 -6
  16. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-footer.scss +2 -1
  17. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss +2 -13
  18. data/app/assets/stylesheets/govuk_publishing_components/components/_panel.scss +2 -6
  19. data/app/assets/stylesheets/govuk_publishing_components/components/_radio.scss +3 -8
  20. data/app/assets/stylesheets/govuk_publishing_components/components/_select.scss +2 -1
  21. data/app/assets/stylesheets/govuk_publishing_components/components/_skip-link.scss +2 -1
  22. data/app/assets/stylesheets/govuk_publishing_components/components/_table.scss +15 -10
  23. data/app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss +2 -1
  24. data/app/assets/stylesheets/govuk_publishing_components/components/_textarea.scss +3 -1
  25. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_button.scss +1 -1
  26. data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_govuk-frontend-settings.scss +5 -0
  27. data/app/views/govuk_publishing_components/components/_admin_analytics.html.erb +10 -0
  28. data/app/views/govuk_publishing_components/components/_file_upload.html.erb +1 -1
  29. data/app/views/govuk_publishing_components/components/_input.html.erb +7 -5
  30. data/app/views/govuk_publishing_components/components/_layout_footer.html.erb +43 -1
  31. data/app/views/govuk_publishing_components/components/_textarea.html.erb +1 -1
  32. data/app/views/govuk_publishing_components/components/docs/admin_analytics.yml +9 -0
  33. data/app/views/govuk_publishing_components/components/docs/details.yml +1 -2
  34. data/app/views/govuk_publishing_components/components/docs/input.yml +9 -0
  35. data/app/views/govuk_publishing_components/components/docs/inset_text.yml +1 -2
  36. data/app/views/govuk_publishing_components/components/docs/layout_footer.yml +117 -3
  37. data/app/views/govuk_publishing_components/components/docs/select.yml +1 -2
  38. data/app/views/govuk_publishing_components/components/docs/textarea.yml +1 -2
  39. data/config/initializers/assets.rb +1 -1
  40. data/lib/govuk_publishing_components.rb +1 -0
  41. data/lib/govuk_publishing_components/app_helpers/environment.rb +18 -0
  42. data/lib/govuk_publishing_components/version.rb +1 -1
  43. data/node_modules/govuk-frontend/all.js +3 -1
  44. data/node_modules/govuk-frontend/assets/images/favicon.ico +0 -0
  45. data/node_modules/govuk-frontend/components/back-link/macro-options.json +32 -0
  46. data/node_modules/govuk-frontend/components/breadcrumbs/README.md +12 -0
  47. data/node_modules/govuk-frontend/components/breadcrumbs/macro-options.json +40 -0
  48. data/node_modules/govuk-frontend/components/breadcrumbs/template.njk +1 -1
  49. data/node_modules/govuk-frontend/components/button/_button.scss +4 -9
  50. data/node_modules/govuk-frontend/components/button/macro-options.json +62 -0
  51. data/node_modules/govuk-frontend/components/checkboxes/_checkboxes.scss +2 -4
  52. data/node_modules/govuk-frontend/components/checkboxes/macro-options.json +129 -0
  53. data/node_modules/govuk-frontend/components/date-input/README.md +19 -7
  54. data/node_modules/govuk-frontend/components/date-input/macro-options.json +85 -0
  55. data/node_modules/govuk-frontend/components/date-input/template.njk +2 -22
  56. data/node_modules/govuk-frontend/components/details/_details.scss +3 -0
  57. data/node_modules/govuk-frontend/components/details/macro-options.json +50 -0
  58. data/node_modules/govuk-frontend/components/error-message/macro-options.json +32 -0
  59. data/node_modules/govuk-frontend/components/error-summary/README.md +12 -0
  60. data/node_modules/govuk-frontend/components/error-summary/_error-summary.scss +7 -3
  61. data/node_modules/govuk-frontend/components/error-summary/macro-options.json +70 -0
  62. data/node_modules/govuk-frontend/components/error-summary/template.njk +1 -1
  63. data/node_modules/govuk-frontend/components/fieldset/_fieldset.scss +1 -2
  64. data/node_modules/govuk-frontend/components/fieldset/macro-options.json +58 -0
  65. data/node_modules/govuk-frontend/components/file-upload/macro-options.json +53 -0
  66. data/node_modules/govuk-frontend/components/footer/README.md +48 -0
  67. data/node_modules/govuk-frontend/components/footer/_footer.scss +10 -2
  68. data/node_modules/govuk-frontend/components/footer/macro-options.json +100 -0
  69. data/node_modules/govuk-frontend/components/footer/template.njk +19 -12
  70. data/node_modules/govuk-frontend/components/header/README.md +14 -2
  71. data/node_modules/govuk-frontend/components/header/_header.scss +9 -1
  72. data/node_modules/govuk-frontend/components/header/macro-options.json +88 -0
  73. data/node_modules/govuk-frontend/components/header/template.njk +2 -2
  74. data/node_modules/govuk-frontend/components/hint/macro-options.json +32 -0
  75. data/node_modules/govuk-frontend/components/input/README.md +1 -1
  76. data/node_modules/govuk-frontend/components/input/_input.scss +1 -3
  77. data/node_modules/govuk-frontend/components/input/macro-options.json +52 -0
  78. data/node_modules/govuk-frontend/components/inset-text/macro-options.json +32 -0
  79. data/node_modules/govuk-frontend/components/label/macro-options.json +38 -0
  80. data/node_modules/govuk-frontend/components/panel/README.md +5 -5
  81. data/node_modules/govuk-frontend/components/panel/_panel.scss +1 -3
  82. data/node_modules/govuk-frontend/components/panel/macro-options.json +44 -0
  83. data/node_modules/govuk-frontend/components/panel/template.njk +1 -2
  84. data/node_modules/govuk-frontend/components/phase-banner/macro-options.json +33 -0
  85. data/node_modules/govuk-frontend/components/radios/_radios.scss +10 -4
  86. data/node_modules/govuk-frontend/components/radios/macro-options.json +135 -0
  87. data/node_modules/govuk-frontend/components/radios/template.njk +1 -1
  88. data/node_modules/govuk-frontend/components/select/README.md +63 -0
  89. data/node_modules/govuk-frontend/components/select/_select.scss +1 -4
  90. data/node_modules/govuk-frontend/components/select/macro-options.json +79 -0
  91. data/node_modules/govuk-frontend/components/select/template.njk +4 -1
  92. data/node_modules/govuk-frontend/components/skip-link/macro-options.json +32 -0
  93. data/node_modules/govuk-frontend/components/table/_table.scss +7 -4
  94. data/node_modules/govuk-frontend/components/table/macro-options.json +108 -0
  95. data/node_modules/govuk-frontend/components/tabs/README.md +29 -5
  96. data/node_modules/govuk-frontend/components/tabs/_tabs.scss +1 -1
  97. data/node_modules/govuk-frontend/components/tabs/macro-options.json +58 -0
  98. data/node_modules/govuk-frontend/components/tabs/tabs.js +3 -1
  99. data/node_modules/govuk-frontend/components/tabs/template.njk +3 -2
  100. data/node_modules/govuk-frontend/components/tag/macro-options.json +26 -0
  101. data/node_modules/govuk-frontend/components/textarea/_textarea.scss +4 -3
  102. data/node_modules/govuk-frontend/components/textarea/macro-options.json +65 -0
  103. data/node_modules/govuk-frontend/components/warning-text/macro-options.json +32 -0
  104. data/node_modules/govuk-frontend/core/_links.scss +1 -14
  105. data/node_modules/govuk-frontend/core/_lists.scss +0 -18
  106. data/node_modules/govuk-frontend/helpers/_grid.scss +1 -2
  107. data/node_modules/govuk-frontend/helpers/_links.scss +52 -1
  108. data/node_modules/govuk-frontend/overrides/_width.scss +4 -0
  109. data/node_modules/govuk-frontend/package.json +19 -19
  110. data/node_modules/govuk-frontend/settings/_colours-applied.scss +10 -0
  111. data/node_modules/govuk-frontend/settings/_compatibility.scss +3 -3
  112. data/node_modules/govuk-frontend/settings/_typography-responsive.scss +10 -3
  113. data/node_modules/govuk-frontend/template.njk +1 -1
  114. data/node_modules/govuk-frontend/utilities/_visually-hidden.scss +0 -5
  115. metadata +32 -2
@@ -1,4 +1,8 @@
1
1
  @include govuk-exports("govuk/overrides/width") {
2
+ .govuk-\!-width-full {
3
+ width: 100% !important;
4
+ }
5
+
2
6
  .govuk-\!-width-three-quarters {
3
7
  width: 100% !important;
4
8
 
@@ -2,26 +2,26 @@
2
2
  "_args": [
3
3
  [
4
4
  {
5
- "raw": "govuk-frontend@^1.2.0",
5
+ "raw": "govuk-frontend@^2.1.0",
6
6
  "scope": null,
7
7
  "escapedName": "govuk-frontend",
8
8
  "name": "govuk-frontend",
9
- "rawSpec": "^1.2.0",
10
- "spec": ">=1.2.0 <2.0.0",
9
+ "rawSpec": "^2.1.0",
10
+ "spec": ">=2.1.0 <3.0.0",
11
11
  "type": "range"
12
12
  },
13
13
  "/var/lib/jenkins/workspace/ublishing_components_master-N4FWJIUY4CIFHKGZOAAEVVXODRY3YBORQOPIBBXWX72VUPSGJRRQ"
14
14
  ]
15
15
  ],
16
- "_from": "govuk-frontend@>=1.2.0 <2.0.0",
16
+ "_from": "govuk-frontend@>=2.1.0 <3.0.0",
17
17
  "_hasShrinkwrap": false,
18
- "_id": "govuk-frontend@1.3.0",
18
+ "_id": "govuk-frontend@2.1.0",
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_1.3.0_1534328352055_0.9646771463099608"
24
+ "tmp": "tmp/govuk-frontend_2.1.0_1537966769323_0.3316607271868759"
25
25
  },
26
26
  "_npmUser": {
27
27
  "name": "govuk-patterns-and-tools",
@@ -30,21 +30,21 @@
30
30
  "_npmVersion": "5.6.0",
31
31
  "_phantomChildren": {},
32
32
  "_requested": {
33
- "raw": "govuk-frontend@^1.2.0",
33
+ "raw": "govuk-frontend@^2.1.0",
34
34
  "scope": null,
35
35
  "escapedName": "govuk-frontend",
36
36
  "name": "govuk-frontend",
37
- "rawSpec": "^1.2.0",
38
- "spec": ">=1.2.0 <2.0.0",
37
+ "rawSpec": "^2.1.0",
38
+ "spec": ">=2.1.0 <3.0.0",
39
39
  "type": "range"
40
40
  },
41
41
  "_requiredBy": [
42
42
  "/"
43
43
  ],
44
- "_resolved": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-1.3.0.tgz",
45
- "_shasum": "b145d8c5d6bd7e88a5b34b340867799f328bbb03",
44
+ "_resolved": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-2.1.0.tgz",
45
+ "_shasum": "3ccfb84ffcd7d33ecd2af9721ddfcce7246338b0",
46
46
  "_shrinkwrap": null,
47
- "_spec": "govuk-frontend@^1.2.0",
47
+ "_spec": "govuk-frontend@^2.1.0",
48
48
  "_where": "/var/lib/jenkins/workspace/ublishing_components_master-N4FWJIUY4CIFHKGZOAAEVVXODRY3YBORQOPIBBXWX72VUPSGJRRQ",
49
49
  "author": {
50
50
  "name": "GOV.UK Design System Team",
@@ -59,12 +59,12 @@
59
59
  "devDependencies": {},
60
60
  "directories": {},
61
61
  "dist": {
62
- "integrity": "sha512-NROJGh4wZgOSWhEzJOkcijIMR7GeFBOinG45wouVwK7ne6ihR4uyS/LQBkG/GGEkNkLZYuOG8cb+6fMVwP2W7Q==",
63
- "shasum": "b145d8c5d6bd7e88a5b34b340867799f328bbb03",
64
- "tarball": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-1.3.0.tgz",
65
- "fileCount": 211,
66
- "unpackedSize": 1376819,
67
- "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbc/4gCRA9TVsSAnZWagAAwc0QAKN1dslj68y7qgfEna+l\nb6VAz2susIhADb08XRz0MV6ciI96QFyQJb0+lPHLH8ztQVEyL7wlWyvIrgXf\naUKqGaFLr7RBPNlcxlUOWMcwSUshbnAQVL4CzwU6FlwaFqyk/Yt5Jy6fJPuD\ngeMvNWBQ8nuJkfa7MQ665txS9YgCl/oCSMXbXqTmL0bDu4GH59xliElaCQU9\n7IYtzqmtFsfoU5LgKqxkA2cofSoHuJdqoLAWtflovWSdL3cPEaAKFDs2+qR1\nXzQ4s4urdzZ3j1fqDpOPSaawQc/hBTbniQzv/unIUYRHFShjbBZ38PsuTXoz\nYpOW5OCd3kxcpPggCTnsBM/oAgGGtZiASBCD1zh+D32rNEtSDUE15nTUah+W\nb2Nj9YmCkXcChpPfOTnUSH5OCiaQ+6tEjdgdqRmpBJW0ZZNW2cjCju5jENcn\nNxdgOjT1kZy9CvXYYu1GfxkWniAuPI+Dy8BiZwuQHdrY9FkVnpzqLEAcKMzz\nWsCioROHJGs+w1oRCfFVKGdMMYg0fBCsEK/do77e3kFZZlMKHcLCJDO6cxXX\n5YYx0+Q8RuUD+HMFYVJ90lsJZRDSVM6cWZ/fKKRCRJmBgYD1IC8TPw4dcH7U\nBszXMlpHgRerVIVzJMaW/nvPON5CZNIwc6jVlPNSo8SvTcmnAKv/IBdIVL0b\nCnvv\r\n=vQae\r\n-----END PGP SIGNATURE-----\r\n"
62
+ "integrity": "sha512-6wYIANvYAi3aLdJQXBbvgtEeZG6KOvLlul2uwpA4Ow5BdgmSyDVUAB0PLR5MVFaiqlyvMhGTAMa38AiFHwVqgA==",
63
+ "shasum": "3ccfb84ffcd7d33ecd2af9721ddfcce7246338b0",
64
+ "tarball": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-2.1.0.tgz",
65
+ "fileCount": 237,
66
+ "unpackedSize": 1437856,
67
+ "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbq4KyCRA9TVsSAnZWagAAoxoP/iAa6G1fezCsD/vjeiCS\nbVDN/hpx4AwUPyy1nVb4tu1+qdjwbNYocxbest+Ey4DcdVDwHSkZA5cV4IUE\ngEqIxJrZ7SyMzlqBWYiMnA+G412WZvlq7hc3a9LL3DnCM13/Iog8gt01LSY7\n0ApqmN7CPKC7hivsWFG1nXTxcAFTPK3MzRIHfOJN/aQcAVWxYG63UYXwIspC\n5s7W2R1BjGQx9K/g7rLvwDlXIamz6Kk6GJM5FuWuM5BxupPGeGzJdYhmi2n1\nlOEHssga1mlNYY3Jm0wBOVMQB7vuR/eMEU6Hl1fVEvUEkTx2honFi+4LSvMi\nqch9f1OZh1CPqZXe0LHldYhy4fCFaeJBR5NxCcG4CxtGeuYMNgI29FEKZnVQ\njEY0F2piTgTJAnsdQJKoUwnFW/Fv+cS65+4QDiFxAFzPz3Y10NXik326YEVn\napHq7ekWVQE4CnRKkQwF75550a78ytW0p3kIU2H9xixgpIjDvqO4PHgoW87V\nzUEF07LCZuIil05EDmjapdtqXz9b07+ms0YfjJcGC3Cbjzo4OVQl/Hy+wk9d\nUn2YC/xNimxdKow4N6vPlF/fhtrDppo3NsyUFYWkLaeEqCUgjAEmQ/OY82JY\n+BOVnHX4oiOvFWJLRcMYbBiAzwLC1JtZ5vHeQpLkKtA1iheGN9G6q6TPpbVK\nFO4N\r\n=fD3+\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": "1.3.0"
95
+ "version": "2.1.0"
96
96
  }
@@ -68,6 +68,16 @@ $govuk-secondary-text-colour: govuk-colour("grey-1") !default;
68
68
 
69
69
  $govuk-focus-colour: govuk-colour("yellow") !default;
70
70
 
71
+ /// Focused text colour
72
+ ///
73
+ /// Ensure that the contrast between the text and background colour passes
74
+ /// WCAG Level AA contrast requirements.
75
+ ///
76
+ /// @type Colour
77
+ /// @access public
78
+
79
+ $govuk-focus-text-colour: govuk-colour("black") !default;
80
+
71
81
  /// Error colour
72
82
  ///
73
83
  /// Used to highlight error messages and form controls in an error state
@@ -16,7 +16,7 @@
16
16
  /// @type Boolean
17
17
  /// @access public
18
18
 
19
- $govuk-compatibility-govukfrontendtoolkit: true !default;
19
+ $govuk-compatibility-govukfrontendtoolkit: false !default;
20
20
 
21
21
  /// Compatibility Mode: alphagov/govuk_template
22
22
  ///
@@ -25,7 +25,7 @@ $govuk-compatibility-govukfrontendtoolkit: true !default;
25
25
  /// @type Boolean
26
26
  /// @access public
27
27
 
28
- $govuk-compatibility-govuktemplate: true !default;
28
+ $govuk-compatibility-govuktemplate: false !default;
29
29
 
30
30
  /// Compatibility Mode: alphagov/govuk_elements
31
31
  ///
@@ -34,7 +34,7 @@ $govuk-compatibility-govuktemplate: true !default;
34
34
  /// @type Boolean
35
35
  /// @access public
36
36
 
37
- $govuk-compatibility-govukelements: true !default;
37
+ $govuk-compatibility-govukelements: false !default;
38
38
 
39
39
  /// Compatibility Product Map
40
40
  ///
@@ -7,13 +7,20 @@
7
7
  /// default, but will be enabled by default for projects that do not use
8
8
  /// alphagov/govuk_template in the next major release.
9
9
  ///
10
- /// If you enable this, you should make sure that `$govuk-root-font-size` is set
11
- /// correctly for your project.
10
+ /// If this is enabled, you should make sure that $govuk-root-font-size is set
11
+ /// correctly for your project
12
+ ///
13
+ /// If any of the compatibility variables are set, then default
14
+ /// responsive typography to off.
12
15
  ///
13
16
  /// @type Boolean
14
17
  /// @access public
15
18
 
16
- $govuk-typography-use-rem: false !default;
19
+ $govuk-typography-use-rem: if((
20
+ $govuk-compatibility-govukfrontendtoolkit or
21
+ $govuk-compatibility-govuktemplate or
22
+ $govuk-compatibility-govukelements
23
+ ), false, true) !default;
17
24
 
18
25
  /// Root font size
19
26
  ///
@@ -12,7 +12,7 @@
12
12
  <meta name="theme-color" content="{{ themeColor | default('#0b0c0c') }}" /> {# Hardcoded value of $govuk-black #}
13
13
 
14
14
  {% block headIcons %}
15
- <link rel="shortcut icon" href="{{ assetPath | default('/assets') }}/images/favicon.ico" type="image/x-icon" />
15
+ <link rel="shortcut icon" sizes="16x16 32x32 48x48" href="{{ assetPath | default('/assets') }}/images/favicon.ico" type="image/x-icon" />
16
16
  <link rel="mask-icon" href="{{ assetPath | default('/assets') }}/images/govuk-mask-icon.svg" color="{{ themeColor | default('#0b0c0c') }}"> {# Hardcoded value of $govuk-black #}
17
17
  <link rel="apple-touch-icon" sizes="180x180" href="{{ assetPath | default('/assets') }}/images/govuk-apple-touch-icon-180x180.png">
18
18
  <link rel="apple-touch-icon" sizes="167x167" href="{{ assetPath | default('/assets') }}/images/govuk-apple-touch-icon-167x167.png">
@@ -3,11 +3,6 @@
3
3
  @include govuk-visually-hidden;
4
4
  }
5
5
 
6
- /// @deprecated Deprecated as of release 1.1, replaced by `.govuk-visually-hidden-focusable`
7
- .govuk-visually-hidden-focussable {
8
- @include govuk-visually-hidden-focusable;
9
- }
10
-
11
6
  .govuk-visually-hidden-focusable {
12
7
  @include govuk-visually-hidden-focusable;
13
8
  }
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: 11.0.0
4
+ version: 11.1.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: 2018-09-28 00:00:00.000000000 Z
11
+ date: 2018-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: govuk_app_config
@@ -413,6 +413,7 @@ files:
413
413
  - app/assets/stylesheets/govuk_publishing_components/components/govspeak/form-download.scss
414
414
  - app/assets/stylesheets/govuk_publishing_components/components/helpers/_brand-colours.scss
415
415
  - app/assets/stylesheets/govuk_publishing_components/components/helpers/_contents-list-helper.scss
416
+ - app/assets/stylesheets/govuk_publishing_components/components/helpers/_govuk-frontend-settings.scss
416
417
  - app/assets/stylesheets/govuk_publishing_components/components/helpers/_px-to-em.scss
417
418
  - app/assets/stylesheets/govuk_publishing_components/components/helpers/_variables.scss
418
419
  - app/assets/stylesheets/govuk_publishing_components/components/mixins/_back-arrow.scss
@@ -443,6 +444,7 @@ files:
443
444
  - app/views/govuk_publishing_components/component_guide/index.html.erb
444
445
  - app/views/govuk_publishing_components/component_guide/preview.html.erb
445
446
  - app/views/govuk_publishing_components/component_guide/show.html.erb
447
+ - app/views/govuk_publishing_components/components/_admin_analytics.html.erb
446
448
  - app/views/govuk_publishing_components/components/_back_link.html.erb
447
449
  - app/views/govuk_publishing_components/components/_breadcrumbs.html.erb
448
450
  - app/views/govuk_publishing_components/components/_button.html.erb
@@ -500,6 +502,7 @@ files:
500
502
  - app/views/govuk_publishing_components/components/_textarea.html.erb
501
503
  - app/views/govuk_publishing_components/components/_title.html.erb
502
504
  - app/views/govuk_publishing_components/components/_translation-nav.html.erb
505
+ - app/views/govuk_publishing_components/components/docs/admin_analytics.yml
503
506
  - app/views/govuk_publishing_components/components/docs/back_link.yml
504
507
  - app/views/govuk_publishing_components/components/docs/breadcrumbs.yml
505
508
  - app/views/govuk_publishing_components/components/docs/button.yml
@@ -571,6 +574,7 @@ files:
571
574
  - lib/generators/govuk_publishing_components/templates/component.yml.erb
572
575
  - lib/govuk_publishing_components.rb
573
576
  - lib/govuk_publishing_components/app_helpers/brand_helper.rb
577
+ - lib/govuk_publishing_components/app_helpers/environment.rb
574
578
  - lib/govuk_publishing_components/app_helpers/table_helper.rb
575
579
  - lib/govuk_publishing_components/app_helpers/taxon_breadcrumbs.rb
576
580
  - lib/govuk_publishing_components/config.rb
@@ -642,114 +646,140 @@ files:
642
646
  - node_modules/govuk-frontend/components/_all.scss
643
647
  - node_modules/govuk-frontend/components/back-link/README.md
644
648
  - node_modules/govuk-frontend/components/back-link/_back-link.scss
649
+ - node_modules/govuk-frontend/components/back-link/macro-options.json
645
650
  - node_modules/govuk-frontend/components/back-link/macro.njk
646
651
  - node_modules/govuk-frontend/components/back-link/template.njk
647
652
  - node_modules/govuk-frontend/components/breadcrumbs/README.md
648
653
  - node_modules/govuk-frontend/components/breadcrumbs/_breadcrumbs.scss
654
+ - node_modules/govuk-frontend/components/breadcrumbs/macro-options.json
649
655
  - node_modules/govuk-frontend/components/breadcrumbs/macro.njk
650
656
  - node_modules/govuk-frontend/components/breadcrumbs/template.njk
651
657
  - node_modules/govuk-frontend/components/button/README.md
652
658
  - node_modules/govuk-frontend/components/button/_button.scss
653
659
  - node_modules/govuk-frontend/components/button/button.js
660
+ - node_modules/govuk-frontend/components/button/macro-options.json
654
661
  - node_modules/govuk-frontend/components/button/macro.njk
655
662
  - node_modules/govuk-frontend/components/button/template.njk
656
663
  - node_modules/govuk-frontend/components/checkboxes/README.md
657
664
  - node_modules/govuk-frontend/components/checkboxes/_checkboxes.scss
658
665
  - node_modules/govuk-frontend/components/checkboxes/checkboxes.js
666
+ - node_modules/govuk-frontend/components/checkboxes/macro-options.json
659
667
  - node_modules/govuk-frontend/components/checkboxes/macro.njk
660
668
  - node_modules/govuk-frontend/components/checkboxes/template.njk
661
669
  - node_modules/govuk-frontend/components/date-input/README.md
662
670
  - node_modules/govuk-frontend/components/date-input/_date-input.scss
671
+ - node_modules/govuk-frontend/components/date-input/macro-options.json
663
672
  - node_modules/govuk-frontend/components/date-input/macro.njk
664
673
  - node_modules/govuk-frontend/components/date-input/template.njk
665
674
  - node_modules/govuk-frontend/components/details/README.md
666
675
  - node_modules/govuk-frontend/components/details/_details.scss
667
676
  - node_modules/govuk-frontend/components/details/details.js
668
677
  - node_modules/govuk-frontend/components/details/implementation.md
678
+ - node_modules/govuk-frontend/components/details/macro-options.json
669
679
  - node_modules/govuk-frontend/components/details/macro.njk
670
680
  - node_modules/govuk-frontend/components/details/template.njk
671
681
  - node_modules/govuk-frontend/components/error-message/README.md
672
682
  - node_modules/govuk-frontend/components/error-message/_error-message.scss
683
+ - node_modules/govuk-frontend/components/error-message/macro-options.json
673
684
  - node_modules/govuk-frontend/components/error-message/macro.njk
674
685
  - node_modules/govuk-frontend/components/error-message/template.njk
675
686
  - node_modules/govuk-frontend/components/error-summary/README.md
676
687
  - node_modules/govuk-frontend/components/error-summary/_error-summary.scss
677
688
  - node_modules/govuk-frontend/components/error-summary/error-summary.js
689
+ - node_modules/govuk-frontend/components/error-summary/macro-options.json
678
690
  - node_modules/govuk-frontend/components/error-summary/macro.njk
679
691
  - node_modules/govuk-frontend/components/error-summary/template.njk
680
692
  - node_modules/govuk-frontend/components/fieldset/README.md
681
693
  - node_modules/govuk-frontend/components/fieldset/_fieldset.scss
694
+ - node_modules/govuk-frontend/components/fieldset/macro-options.json
682
695
  - node_modules/govuk-frontend/components/fieldset/macro.njk
683
696
  - node_modules/govuk-frontend/components/fieldset/template.njk
684
697
  - node_modules/govuk-frontend/components/file-upload/README.md
685
698
  - node_modules/govuk-frontend/components/file-upload/_file-upload.scss
699
+ - node_modules/govuk-frontend/components/file-upload/macro-options.json
686
700
  - node_modules/govuk-frontend/components/file-upload/macro.njk
687
701
  - node_modules/govuk-frontend/components/file-upload/template.njk
688
702
  - node_modules/govuk-frontend/components/footer/README.md
689
703
  - node_modules/govuk-frontend/components/footer/_footer.scss
704
+ - node_modules/govuk-frontend/components/footer/macro-options.json
690
705
  - node_modules/govuk-frontend/components/footer/macro.njk
691
706
  - node_modules/govuk-frontend/components/footer/template.njk
692
707
  - node_modules/govuk-frontend/components/header/README.md
693
708
  - node_modules/govuk-frontend/components/header/_header.scss
694
709
  - node_modules/govuk-frontend/components/header/header.js
710
+ - node_modules/govuk-frontend/components/header/macro-options.json
695
711
  - node_modules/govuk-frontend/components/header/macro.njk
696
712
  - node_modules/govuk-frontend/components/header/template.njk
697
713
  - node_modules/govuk-frontend/components/hint/README.md
698
714
  - node_modules/govuk-frontend/components/hint/_hint.scss
715
+ - node_modules/govuk-frontend/components/hint/macro-options.json
699
716
  - node_modules/govuk-frontend/components/hint/macro.njk
700
717
  - node_modules/govuk-frontend/components/hint/template.njk
701
718
  - node_modules/govuk-frontend/components/input/README.md
702
719
  - node_modules/govuk-frontend/components/input/_input.scss
720
+ - node_modules/govuk-frontend/components/input/macro-options.json
703
721
  - node_modules/govuk-frontend/components/input/macro.njk
704
722
  - node_modules/govuk-frontend/components/input/template.njk
705
723
  - node_modules/govuk-frontend/components/inset-text/README.md
706
724
  - node_modules/govuk-frontend/components/inset-text/_inset-text.scss
725
+ - node_modules/govuk-frontend/components/inset-text/macro-options.json
707
726
  - node_modules/govuk-frontend/components/inset-text/macro.njk
708
727
  - node_modules/govuk-frontend/components/inset-text/template.njk
709
728
  - node_modules/govuk-frontend/components/label/README.md
710
729
  - node_modules/govuk-frontend/components/label/_label.scss
730
+ - node_modules/govuk-frontend/components/label/macro-options.json
711
731
  - node_modules/govuk-frontend/components/label/macro.njk
712
732
  - node_modules/govuk-frontend/components/label/template.njk
713
733
  - node_modules/govuk-frontend/components/panel/README.md
714
734
  - node_modules/govuk-frontend/components/panel/_panel.scss
735
+ - node_modules/govuk-frontend/components/panel/macro-options.json
715
736
  - node_modules/govuk-frontend/components/panel/macro.njk
716
737
  - node_modules/govuk-frontend/components/panel/template.njk
717
738
  - node_modules/govuk-frontend/components/phase-banner/README.md
718
739
  - node_modules/govuk-frontend/components/phase-banner/_phase-banner.scss
740
+ - node_modules/govuk-frontend/components/phase-banner/macro-options.json
719
741
  - node_modules/govuk-frontend/components/phase-banner/macro.njk
720
742
  - node_modules/govuk-frontend/components/phase-banner/template.njk
721
743
  - node_modules/govuk-frontend/components/radios/README.md
722
744
  - node_modules/govuk-frontend/components/radios/_radios.scss
745
+ - node_modules/govuk-frontend/components/radios/macro-options.json
723
746
  - node_modules/govuk-frontend/components/radios/macro.njk
724
747
  - node_modules/govuk-frontend/components/radios/radios.js
725
748
  - node_modules/govuk-frontend/components/radios/template.njk
726
749
  - node_modules/govuk-frontend/components/select/README.md
727
750
  - node_modules/govuk-frontend/components/select/_select.scss
751
+ - node_modules/govuk-frontend/components/select/macro-options.json
728
752
  - node_modules/govuk-frontend/components/select/macro.njk
729
753
  - node_modules/govuk-frontend/components/select/template.njk
730
754
  - node_modules/govuk-frontend/components/skip-link/README.md
731
755
  - node_modules/govuk-frontend/components/skip-link/_skip-link.scss
756
+ - node_modules/govuk-frontend/components/skip-link/macro-options.json
732
757
  - node_modules/govuk-frontend/components/skip-link/macro.njk
733
758
  - node_modules/govuk-frontend/components/skip-link/template.njk
734
759
  - node_modules/govuk-frontend/components/table/README.md
735
760
  - node_modules/govuk-frontend/components/table/_table.scss
761
+ - node_modules/govuk-frontend/components/table/macro-options.json
736
762
  - node_modules/govuk-frontend/components/table/macro.njk
737
763
  - node_modules/govuk-frontend/components/table/template.njk
738
764
  - node_modules/govuk-frontend/components/tabs/README.md
739
765
  - node_modules/govuk-frontend/components/tabs/_tabs.scss
766
+ - node_modules/govuk-frontend/components/tabs/macro-options.json
740
767
  - node_modules/govuk-frontend/components/tabs/macro.njk
741
768
  - node_modules/govuk-frontend/components/tabs/tabs.js
742
769
  - node_modules/govuk-frontend/components/tabs/template.njk
743
770
  - node_modules/govuk-frontend/components/tag/README.md
744
771
  - node_modules/govuk-frontend/components/tag/_tag.scss
772
+ - node_modules/govuk-frontend/components/tag/macro-options.json
745
773
  - node_modules/govuk-frontend/components/tag/macro.njk
746
774
  - node_modules/govuk-frontend/components/tag/template.njk
747
775
  - node_modules/govuk-frontend/components/textarea/README.md
748
776
  - node_modules/govuk-frontend/components/textarea/_textarea.scss
777
+ - node_modules/govuk-frontend/components/textarea/macro-options.json
749
778
  - node_modules/govuk-frontend/components/textarea/macro.njk
750
779
  - node_modules/govuk-frontend/components/textarea/template.njk
751
780
  - node_modules/govuk-frontend/components/warning-text/README.md
752
781
  - node_modules/govuk-frontend/components/warning-text/_warning-text.scss
782
+ - node_modules/govuk-frontend/components/warning-text/macro-options.json
753
783
  - node_modules/govuk-frontend/components/warning-text/macro.njk
754
784
  - node_modules/govuk-frontend/components/warning-text/template.njk
755
785
  - node_modules/govuk-frontend/core/_all.scss