govuk_publishing_components 37.1.0 → 37.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/config/govuk_publishing_components_manifest.js +0 -2
  3. data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-core.js +6 -0
  4. data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-schemas.js +2 -2
  5. data/app/assets/javascripts/govuk_publishing_components/lib/cookie-settings.js +109 -0
  6. data/app/assets/javascripts/govuk_publishing_components/load-analytics.js +83 -60
  7. data/app/assets/stylesheets/component_guide/application.scss +1 -1
  8. data/app/assets/stylesheets/govuk_publishing_components/components/_contents-list.scss +1 -1
  9. data/app/assets/stylesheets/govuk_publishing_components/components/_image-card.scss +3 -3
  10. data/app/assets/stylesheets/govuk_publishing_components/components/_modal-dialogue.scss +1 -1
  11. data/app/assets/stylesheets/govuk_publishing_components/components/_search.scss +2 -2
  12. data/app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss +1 -1
  13. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-related.scss +1 -1
  14. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav.scss +10 -10
  15. data/app/assets/stylesheets/govuk_publishing_components/components/_table.scss +1 -1
  16. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_warning-callout.scss +2 -2
  17. data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_markdown-typography.scss +1 -1
  18. data/app/assets/stylesheets/govuk_publishing_components/components/mixins/_grid-helper.scss +1 -1
  19. data/app/models/govuk_publishing_components/audit_applications.rb +1 -1
  20. data/app/models/govuk_publishing_components/component_docs.rb +1 -1
  21. data/app/views/govuk_publishing_components/components/_details.html.erb +18 -2
  22. data/app/views/govuk_publishing_components/components/_image_card.html.erb +11 -11
  23. data/app/views/govuk_publishing_components/components/_layout_footer.html.erb +5 -0
  24. data/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb +7 -3
  25. data/app/views/govuk_publishing_components/components/_metadata.html.erb +1 -5
  26. data/app/views/govuk_publishing_components/components/docs/details.yml +21 -0
  27. data/app/views/govuk_publishing_components/components/docs/image_card.yml +18 -11
  28. data/app/views/govuk_publishing_components/components/feedback/_problem_form.html.erb +5 -1
  29. data/app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb +5 -1
  30. data/lib/govuk_publishing_components/presenters/absolute_links_helper.rb +20 -0
  31. data/lib/govuk_publishing_components/version.rb +1 -1
  32. data/lib/govuk_publishing_components.rb +1 -0
  33. data/node_modules/axe-core/axe.js +604 -440
  34. data/node_modules/axe-core/axe.min.js +2 -2
  35. data/node_modules/axe-core/package.json +1 -1
  36. data/node_modules/axe-core/sri-history.json +4 -0
  37. metadata +5 -3
@@ -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.2",
4
+ "version": "4.8.3",
5
5
  "license": "MPL-2.0",
6
6
  "engines": {
7
7
  "node": ">=4"
@@ -362,5 +362,9 @@
362
362
  "4.8.2": {
363
363
  "axe.js": "sha256-VZuuruUDDRwfzCo4ZDDzXiVefuy4pSW6BlGx+D/ucC0=",
364
364
  "axe.min.js": "sha256-O9U055OcfxyKV61g3Qn7N9mvpJNht0RCPcFw+QjWTG4="
365
+ },
366
+ "4.8.3": {
367
+ "axe.js": "sha256-YWpAAdIo7fwKmLq8nJx1f6pwt7HAXwWm15RSGJKbxhw=",
368
+ "axe.min.js": "sha256-/mct+I/4SJnZ30Ce+j9T7ll9zPwzbJVrjdKpbKIP+NA="
365
369
  }
366
370
  }
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.1.0
4
+ version: 37.2.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: 2023-12-15 00:00:00.000000000 Z
11
+ date: 2024-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: govuk_app_config
@@ -520,6 +520,7 @@ files:
520
520
  - app/assets/javascripts/govuk_publishing_components/ie.js
521
521
  - app/assets/javascripts/govuk_publishing_components/lib.js
522
522
  - app/assets/javascripts/govuk_publishing_components/lib/cookie-functions.js
523
+ - app/assets/javascripts/govuk_publishing_components/lib/cookie-settings.js
523
524
  - app/assets/javascripts/govuk_publishing_components/lib/current-location.js
524
525
  - app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
525
526
  - app/assets/javascripts/govuk_publishing_components/lib/govspeak/all.js
@@ -943,6 +944,7 @@ files:
943
944
  - lib/govuk_publishing_components/config.rb
944
945
  - lib/govuk_publishing_components/engine.rb
945
946
  - lib/govuk_publishing_components/minitest/component_guide_test.rb
947
+ - lib/govuk_publishing_components/presenters/absolute_links_helper.rb
946
948
  - lib/govuk_publishing_components/presenters/accordion_helper.rb
947
949
  - lib/govuk_publishing_components/presenters/attachment_helper.rb
948
950
  - lib/govuk_publishing_components/presenters/big_number_helper.rb
@@ -1496,7 +1498,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1496
1498
  - !ruby/object:Gem::Version
1497
1499
  version: '0'
1498
1500
  requirements: []
1499
- rubygems_version: 3.4.22
1501
+ rubygems_version: 3.5.4
1500
1502
  signing_key:
1501
1503
  specification_version: 4
1502
1504
  summary: A gem to document components in GOV.UK frontend applications