govuk_publishing_components 35.1.1 → 35.3.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/component_guide/application.js +1 -0
  3. data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-core.js +34 -4
  4. data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-link-tracker.js +20 -2
  5. data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/init-ga4.js +5 -0
  6. data/app/assets/javascripts/govuk_publishing_components/components/intervention.js +69 -0
  7. data/app/assets/javascripts/govuk_publishing_components/components/step-by-step-nav.js +5 -2
  8. data/app/assets/javascripts/govuk_publishing_components/lib/cookie-functions.js +1 -0
  9. data/app/assets/javascripts/govuk_publishing_components/vendor/lux/lux-reporter.js +430 -313
  10. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +2 -3
  11. data/app/controllers/govuk_publishing_components/component_guide_controller.rb +1 -1
  12. data/app/models/govuk_publishing_components/audit_applications.rb +5 -1
  13. data/app/models/govuk_publishing_components/audit_comparer.rb +4 -4
  14. data/app/views/govuk_publishing_components/audit/_applications.html.erb +22 -4
  15. data/app/views/govuk_publishing_components/components/_accordion.html.erb +25 -1
  16. data/app/views/govuk_publishing_components/components/_intervention.html.erb +15 -7
  17. data/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb +19 -5
  18. data/app/views/govuk_publishing_components/components/_step_by_step_nav.html.erb +23 -3
  19. data/app/views/govuk_publishing_components/components/_step_by_step_nav_related.html.erb +24 -4
  20. data/app/views/govuk_publishing_components/components/docs/intervention.yml +11 -6
  21. data/lib/govuk_publishing_components/presenters/component_wrapper_helper.rb +35 -12
  22. data/lib/govuk_publishing_components/presenters/intervention_helper.rb +16 -5
  23. data/lib/govuk_publishing_components/presenters/step_by_step_nav_helper.rb +0 -16
  24. data/lib/govuk_publishing_components/version.rb +1 -1
  25. metadata +5 -4
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: 35.1.1
4
+ version: 35.3.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-03-22 00:00:00.000000000 Z
11
+ date: 2023-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: govuk_app_config
@@ -484,6 +484,7 @@ files:
484
484
  - app/assets/javascripts/govuk_publishing_components/components/feedback.js
485
485
  - app/assets/javascripts/govuk_publishing_components/components/govspeak.js
486
486
  - app/assets/javascripts/govuk_publishing_components/components/image-card.js
487
+ - app/assets/javascripts/govuk_publishing_components/components/intervention.js
487
488
  - app/assets/javascripts/govuk_publishing_components/components/layout-header.js
488
489
  - app/assets/javascripts/govuk_publishing_components/components/layout-super-navigation-header.js
489
490
  - app/assets/javascripts/govuk_publishing_components/components/metadata.js
@@ -1408,14 +1409,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
1408
1409
  requirements:
1409
1410
  - - ">="
1410
1411
  - !ruby/object:Gem::Version
1411
- version: '2.7'
1412
+ version: '3.0'
1412
1413
  required_rubygems_version: !ruby/object:Gem::Requirement
1413
1414
  requirements:
1414
1415
  - - ">="
1415
1416
  - !ruby/object:Gem::Version
1416
1417
  version: '0'
1417
1418
  requirements: []
1418
- rubygems_version: 3.4.9
1419
+ rubygems_version: 3.4.12
1419
1420
  signing_key:
1420
1421
  specification_version: 4
1421
1422
  summary: A gem to document components in GOV.UK frontend applications