govuk_publishing_components 34.2.0 → 34.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/govuk_publishing_components/youtube-play-icon.png +0 -0
- data/app/assets/images/govuk_publishing_components/youtube-play-icon.svg +4 -0
- data/app/assets/javascripts/govuk_publishing_components/analytics/linked-domains.js +135 -0
- data/app/assets/javascripts/govuk_publishing_components/components/image-card.js +19 -0
- data/app/assets/javascripts/govuk_publishing_components/dependencies.js +9 -0
- data/app/assets/javascripts/govuk_publishing_components/lib/govspeak/youtube-link-enhancement.js +3 -2
- data/app/assets/javascripts/govuk_publishing_components/load-analytics.js +113 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_feedback.scss +15 -19
- data/app/assets/stylesheets/govuk_publishing_components/components/_image-card.scss +81 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_steps.scss +26 -9
- data/app/controllers/govuk_publishing_components/application_controller.rb +0 -13
- data/app/views/govuk_publishing_components/components/_accordion.html.erb +2 -2
- data/app/views/govuk_publishing_components/components/_contextual_footer.html.erb +2 -0
- data/app/views/govuk_publishing_components/components/_contextual_sidebar.html.erb +7 -3
- data/app/views/govuk_publishing_components/components/_error_message.html.erb +2 -1
- data/app/views/govuk_publishing_components/components/_google_tag_manager_script.html.erb +2 -2
- data/app/views/govuk_publishing_components/components/_hint.html.erb +2 -1
- data/app/views/govuk_publishing_components/components/_image_card.html.erb +12 -9
- data/app/views/govuk_publishing_components/components/_input.html.erb +8 -2
- data/app/views/govuk_publishing_components/components/_label.html.erb +4 -3
- data/app/views/govuk_publishing_components/components/_layout_for_admin.html.erb +2 -2
- data/app/views/govuk_publishing_components/components/_layout_for_public.html.erb +6 -2
- data/app/views/govuk_publishing_components/components/_related_navigation.html.erb +12 -6
- data/app/views/govuk_publishing_components/components/_subscription_links.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_textarea.html.erb +10 -2
- data/app/views/govuk_publishing_components/components/docs/contextual_footer.yml +43 -0
- data/app/views/govuk_publishing_components/components/docs/contextual_sidebar.yml +58 -0
- data/app/views/govuk_publishing_components/components/docs/emergency_banner.yml +3 -1
- data/app/views/govuk_publishing_components/components/docs/error_message.yml +13 -0
- data/app/views/govuk_publishing_components/components/docs/hint.yml +6 -0
- data/app/views/govuk_publishing_components/components/docs/image_card.yml +24 -1
- data/app/views/govuk_publishing_components/components/docs/input.yml +32 -0
- data/app/views/govuk_publishing_components/components/docs/intervention.yml +2 -1
- data/app/views/govuk_publishing_components/components/docs/label.yml +11 -0
- data/app/views/govuk_publishing_components/components/docs/layout_header.yml +1 -0
- data/app/views/govuk_publishing_components/components/docs/previous_and_next_navigation.yml +2 -0
- data/app/views/govuk_publishing_components/components/docs/related_navigation.yml +27 -0
- data/app/views/govuk_publishing_components/components/docs/textarea.yml +31 -0
- data/app/views/govuk_publishing_components/components/docs/translation_nav.yml +2 -0
- data/app/views/govuk_publishing_components/components/feedback/_problem_form.html.erb +2 -2
- data/app/views/govuk_publishing_components/components/metadata/_sentence.html.erb +4 -2
- data/app/views/govuk_publishing_components/components/related_navigation/_section.html.erb +18 -8
- data/app/views/layouts/govuk_publishing_components/application.html.erb +2 -2
- data/config/locales/ar.yml +4 -4
- data/config/locales/az.yml +4 -4
- data/config/locales/be.yml +4 -4
- data/config/locales/bg.yml +4 -4
- data/config/locales/bn.yml +4 -4
- data/config/locales/cs.yml +4 -4
- data/config/locales/cy.yml +4 -4
- data/config/locales/da.yml +4 -4
- data/config/locales/de.yml +4 -4
- data/config/locales/dr.yml +4 -4
- data/config/locales/el.yml +4 -4
- data/config/locales/en.yml +4 -4
- data/config/locales/es-419.yml +4 -4
- data/config/locales/es.yml +4 -4
- data/config/locales/et.yml +4 -4
- data/config/locales/fa.yml +4 -4
- data/config/locales/fi.yml +4 -4
- data/config/locales/fr.yml +4 -4
- data/config/locales/gd.yml +4 -4
- data/config/locales/gu.yml +4 -4
- data/config/locales/he.yml +4 -4
- data/config/locales/hi.yml +4 -4
- data/config/locales/hr.yml +4 -4
- data/config/locales/hu.yml +4 -4
- data/config/locales/hy.yml +4 -4
- data/config/locales/id.yml +4 -4
- data/config/locales/is.yml +4 -4
- data/config/locales/it.yml +4 -4
- data/config/locales/ja.yml +4 -4
- data/config/locales/ka.yml +4 -4
- data/config/locales/kk.yml +4 -4
- data/config/locales/ko.yml +4 -4
- data/config/locales/lt.yml +4 -4
- data/config/locales/lv.yml +4 -4
- data/config/locales/ms.yml +4 -4
- data/config/locales/mt.yml +4 -4
- data/config/locales/nl.yml +4 -4
- data/config/locales/no.yml +4 -4
- data/config/locales/pa-pk.yml +4 -4
- data/config/locales/pa.yml +4 -4
- data/config/locales/pl.yml +4 -4
- data/config/locales/ps.yml +4 -4
- data/config/locales/pt.yml +4 -4
- data/config/locales/ro.yml +4 -4
- data/config/locales/ru.yml +4 -4
- data/config/locales/si.yml +4 -4
- data/config/locales/sk.yml +4 -4
- data/config/locales/sl.yml +4 -4
- data/config/locales/so.yml +4 -4
- data/config/locales/sq.yml +4 -4
- data/config/locales/sr.yml +4 -4
- data/config/locales/sv.yml +4 -4
- data/config/locales/sw.yml +4 -4
- data/config/locales/ta.yml +4 -4
- data/config/locales/th.yml +4 -4
- data/config/locales/tk.yml +4 -4
- data/config/locales/tr.yml +4 -4
- data/config/locales/uk.yml +4 -4
- data/config/locales/ur.yml +4 -4
- data/config/locales/uz.yml +4 -4
- data/config/locales/vi.yml +4 -4
- data/config/locales/zh-hk.yml +4 -4
- data/config/locales/zh-tw.yml +4 -4
- data/config/locales/zh.yml +4 -4
- data/lib/govuk_publishing_components/presenters/image_card_helper.rb +65 -2
- data/lib/govuk_publishing_components/presenters/page_with_step_by_step_navigation.rb +1 -1
- data/lib/govuk_publishing_components/presenters/related_navigation_helper.rb +4 -0
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/node_modules/axe-core/axe.js +7 -8
- data/node_modules/axe-core/axe.min.js +3 -3
- data/node_modules/axe-core/package.json +1 -1
- data/node_modules/axe-core/sri-history.json +4 -0
- metadata +8 -3
@@ -330,5 +330,9 @@
|
|
330
330
|
"4.6.1": {
|
331
331
|
"axe.js": "sha256-5YoRtLPmXJjZaeVXOVTTPf6DtevHdYBfD4oxaCBDCXw=",
|
332
332
|
"axe.min.js": "sha256-8CV1yJR7ZBS/j8HkUf1OwOEib+WUH+QovSg8xOh9MVI="
|
333
|
+
},
|
334
|
+
"4.6.2": {
|
335
|
+
"axe.js": "sha256-6BCLF6TcLdHG7Ok3yyV7HOKF/Se1yJQgzgAiz3AnzX0=",
|
336
|
+
"axe.min.js": "sha256-US+MWxPC7r+aFzKfSCl+effrzN0Qoz4tS2wxlIpmsCM="
|
333
337
|
}
|
334
338
|
}
|
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: 34.
|
4
|
+
version: 34.4.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-01-
|
11
|
+
date: 2023-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: govuk_app_config
|
@@ -430,6 +430,8 @@ files:
|
|
430
430
|
- app/assets/images/govuk_publishing_components/take-action-amber.svg
|
431
431
|
- app/assets/images/govuk_publishing_components/take-action-green.svg
|
432
432
|
- app/assets/images/govuk_publishing_components/take-action-red.svg
|
433
|
+
- app/assets/images/govuk_publishing_components/youtube-play-icon.png
|
434
|
+
- app/assets/images/govuk_publishing_components/youtube-play-icon.svg
|
433
435
|
- app/assets/javascripts/component_guide/accessibility-test.js
|
434
436
|
- app/assets/javascripts/component_guide/application.js
|
435
437
|
- app/assets/javascripts/component_guide/filter-components.js
|
@@ -459,6 +461,7 @@ files:
|
|
459
461
|
- app/assets/javascripts/govuk_publishing_components/analytics/external-link-tracker.js
|
460
462
|
- app/assets/javascripts/govuk_publishing_components/analytics/google-analytics-universal-tracker.js
|
461
463
|
- app/assets/javascripts/govuk_publishing_components/analytics/init.js
|
464
|
+
- app/assets/javascripts/govuk_publishing_components/analytics/linked-domains.js
|
462
465
|
- app/assets/javascripts/govuk_publishing_components/analytics/mailto-link-tracker.js
|
463
466
|
- app/assets/javascripts/govuk_publishing_components/analytics/page-content.js
|
464
467
|
- app/assets/javascripts/govuk_publishing_components/analytics/pii.js
|
@@ -477,6 +480,7 @@ files:
|
|
477
480
|
- app/assets/javascripts/govuk_publishing_components/components/error-summary.js
|
478
481
|
- app/assets/javascripts/govuk_publishing_components/components/feedback.js
|
479
482
|
- app/assets/javascripts/govuk_publishing_components/components/govspeak.js
|
483
|
+
- app/assets/javascripts/govuk_publishing_components/components/image-card.js
|
480
484
|
- app/assets/javascripts/govuk_publishing_components/components/layout-header.js
|
481
485
|
- app/assets/javascripts/govuk_publishing_components/components/layout-super-navigation-header.js
|
482
486
|
- app/assets/javascripts/govuk_publishing_components/components/metadata.js
|
@@ -504,6 +508,7 @@ files:
|
|
504
508
|
- app/assets/javascripts/govuk_publishing_components/lib/toggle-input-class-on-focus.js
|
505
509
|
- app/assets/javascripts/govuk_publishing_components/lib/toggle.js
|
506
510
|
- app/assets/javascripts/govuk_publishing_components/lib/trigger-event.js
|
511
|
+
- app/assets/javascripts/govuk_publishing_components/load-analytics.js
|
507
512
|
- app/assets/javascripts/govuk_publishing_components/modules.js
|
508
513
|
- app/assets/javascripts/govuk_publishing_components/rum-loader.js
|
509
514
|
- app/assets/javascripts/govuk_publishing_components/vendor/html5shiv-printshiv.js
|
@@ -1369,7 +1374,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1369
1374
|
- !ruby/object:Gem::Version
|
1370
1375
|
version: '0'
|
1371
1376
|
requirements: []
|
1372
|
-
rubygems_version: 3.4.
|
1377
|
+
rubygems_version: 3.4.3
|
1373
1378
|
signing_key:
|
1374
1379
|
specification_version: 4
|
1375
1380
|
summary: A gem to document components in GOV.UK frontend applications
|