govuk_publishing_components 37.5.0 → 37.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (25) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/govuk_publishing_components/analytics/analytics.js +10 -5
  3. data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-core.js +5 -0
  4. data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-scroll-tracker.js +1 -1
  5. data/app/assets/javascripts/govuk_publishing_components/components/cookie-banner.js +35 -8
  6. data/app/assets/javascripts/govuk_publishing_components/domain-config.js +73 -0
  7. data/app/assets/javascripts/govuk_publishing_components/lib/cookie-settings.js +40 -19
  8. data/app/assets/javascripts/govuk_publishing_components/lib/govspeak/youtube-link-enhancement.js +1 -1
  9. data/app/assets/javascripts/govuk_publishing_components/lib/single-consent-functions.js +59 -0
  10. data/app/assets/javascripts/govuk_publishing_components/load-analytics.js +9 -75
  11. data/app/assets/stylesheets/govuk_publishing_components/components/_search.scss +8 -15
  12. data/app/controllers/govuk_publishing_components/audit_controller.rb +0 -1
  13. data/app/models/govuk_publishing_components/audit_comparer.rb +0 -1
  14. data/app/views/govuk_publishing_components/components/_govspeak.html.erb +0 -11
  15. data/app/views/govuk_publishing_components/components/docs/govspeak.yml +0 -9
  16. data/config/locales/en.yml +2 -2
  17. data/lib/govuk_publishing_components/version.rb +1 -1
  18. data/node_modules/axe-core/LICENSE-3RD-PARTY.txt +66 -0
  19. data/node_modules/axe-core/README.md +4 -2
  20. data/node_modules/axe-core/axe.d.ts +21 -8
  21. data/node_modules/axe-core/axe.js +13 -11
  22. data/node_modules/axe-core/axe.min.js +3 -3
  23. data/node_modules/axe-core/package.json +3 -2
  24. data/node_modules/axe-core/sri-history.json +4 -0
  25. metadata +5 -2
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "axe-core",
3
3
  "description": "Accessibility engine for automated Web UI testing",
4
- "version": "4.8.3",
4
+ "version": "4.8.4",
5
5
  "license": "MPL-2.0",
6
6
  "engines": {
7
7
  "node": ">=4"
@@ -55,7 +55,8 @@
55
55
  "axe.min.js",
56
56
  "axe.d.ts",
57
57
  "sri-history.json",
58
- "locales/"
58
+ "locales/",
59
+ "LICENSE-3RD-PARTY.txt"
59
60
  ],
60
61
  "standard-version": {
61
62
  "scripts": {
@@ -366,5 +366,9 @@
366
366
  "4.8.3": {
367
367
  "axe.js": "sha256-YWpAAdIo7fwKmLq8nJx1f6pwt7HAXwWm15RSGJKbxhw=",
368
368
  "axe.min.js": "sha256-/mct+I/4SJnZ30Ce+j9T7ll9zPwzbJVrjdKpbKIP+NA="
369
+ },
370
+ "4.8.4": {
371
+ "axe.js": "sha256-RRn+EjX3fX893zHeLzMQebvK4/HR3yZpVFNxsV3Pbm0=",
372
+ "axe.min.js": "sha256-HXl1GEx0+LwVB27fLmwgdXCmeTM2beVwwFosWvFzLmo="
369
373
  }
370
374
  }
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: 37.5.0
4
+ version: 37.6.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: 2024-02-27 00:00:00.000000000 Z
11
+ date: 2024-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: govuk_app_config
@@ -517,6 +517,7 @@ files:
517
517
  - app/assets/javascripts/govuk_publishing_components/components/table.js
518
518
  - app/assets/javascripts/govuk_publishing_components/components/tabs.js
519
519
  - app/assets/javascripts/govuk_publishing_components/dependencies.js
520
+ - app/assets/javascripts/govuk_publishing_components/domain-config.js
520
521
  - app/assets/javascripts/govuk_publishing_components/ie.js
521
522
  - app/assets/javascripts/govuk_publishing_components/lib.js
522
523
  - app/assets/javascripts/govuk_publishing_components/lib/cookie-functions.js
@@ -527,6 +528,7 @@ files:
527
528
  - app/assets/javascripts/govuk_publishing_components/lib/govspeak/magna-charta.js
528
529
  - app/assets/javascripts/govuk_publishing_components/lib/govspeak/youtube-link-enhancement.js
529
530
  - app/assets/javascripts/govuk_publishing_components/lib/initial-focus.js
531
+ - app/assets/javascripts/govuk_publishing_components/lib/single-consent-functions.js
530
532
  - app/assets/javascripts/govuk_publishing_components/lib/toggle-input-class-on-focus.js
531
533
  - app/assets/javascripts/govuk_publishing_components/lib/toggle.js
532
534
  - app/assets/javascripts/govuk_publishing_components/lib/trigger-event.js
@@ -993,6 +995,7 @@ files:
993
995
  - lib/govuk_publishing_components/presenters/translation_nav_helper.rb
994
996
  - lib/govuk_publishing_components/version.rb
995
997
  - node_modules/axe-core/LICENSE
998
+ - node_modules/axe-core/LICENSE-3RD-PARTY.txt
996
999
  - node_modules/axe-core/README.md
997
1000
  - node_modules/axe-core/axe.d.ts
998
1001
  - node_modules/axe-core/axe.js