govuk_publishing_components 35.15.5 → 35.16.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/config/govuk_publishing_components_manifest.js +1 -0
- data/app/assets/images/option-select/input-icon.svg +3 -0
- data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-page-views.js +37 -15
- data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-video-tracker.js +7 -1
- data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/pii-remover.js +1 -1
- data/app/assets/javascripts/govuk_publishing_components/components/option-select.js +312 -0
- data/app/assets/stylesheets/component_guide/application.scss +6 -6
- data/app/assets/stylesheets/govuk_publishing_components/_all_components.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_action-link.scss +15 -15
- data/app/assets/stylesheets/govuk_publishing_components/components/_big-number.scss +3 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_breadcrumbs.scss +3 -3
- data/app/assets/stylesheets/govuk_publishing_components/components/_button.scss +2 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_cards.scss +5 -5
- data/app/assets/stylesheets/govuk_publishing_components/components/_contents-list.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_contextual-sidebar.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss +2 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_image-card.scss +31 -5
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +40 -35
- data/app/assets/stylesheets/govuk_publishing_components/components/_option-select.scss +172 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav.scss +23 -19
- data/app/assets/stylesheets/govuk_publishing_components/components/_table.scss +6 -6
- data/app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss +2 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_steps.scss +3 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_typography.scss +4 -4
- data/app/assets/stylesheets/govuk_publishing_components/components/mixins/_media-down.scss +2 -2
- data/app/views/govuk_publishing_components/components/_attachment.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_contents_list.html.erb +20 -10
- data/app/views/govuk_publishing_components/components/_image_card.html.erb +8 -2
- data/app/views/govuk_publishing_components/components/_option_select.html.erb +71 -0
- data/app/views/govuk_publishing_components/components/_previous_and_next_navigation.html.erb +6 -6
- data/app/views/govuk_publishing_components/components/docs/contents_list.yml +1 -0
- data/app/views/govuk_publishing_components/components/docs/image_card.yml +13 -0
- data/app/views/govuk_publishing_components/components/docs/option_select.yml +343 -0
- data/config/locales/ar.yml +5 -0
- data/config/locales/az.yml +5 -0
- data/config/locales/be.yml +5 -0
- data/config/locales/bg.yml +5 -0
- data/config/locales/bn.yml +5 -0
- data/config/locales/cs.yml +5 -0
- data/config/locales/cy.yml +5 -0
- data/config/locales/da.yml +5 -0
- data/config/locales/de.yml +5 -0
- data/config/locales/dr.yml +5 -0
- data/config/locales/el.yml +5 -0
- data/config/locales/en.yml +6 -1
- data/config/locales/es-419.yml +5 -0
- data/config/locales/es.yml +5 -0
- data/config/locales/et.yml +5 -0
- data/config/locales/fa.yml +5 -0
- data/config/locales/fi.yml +5 -0
- data/config/locales/fr.yml +5 -0
- data/config/locales/gd.yml +5 -0
- data/config/locales/gu.yml +5 -0
- data/config/locales/he.yml +5 -0
- data/config/locales/hi.yml +5 -0
- data/config/locales/hr.yml +5 -0
- data/config/locales/hu.yml +5 -0
- data/config/locales/hy.yml +5 -0
- data/config/locales/id.yml +5 -0
- data/config/locales/is.yml +5 -0
- data/config/locales/it.yml +5 -0
- data/config/locales/ja.yml +5 -0
- data/config/locales/ka.yml +5 -0
- data/config/locales/kk.yml +5 -0
- data/config/locales/ko.yml +5 -0
- data/config/locales/lt.yml +5 -0
- data/config/locales/lv.yml +5 -0
- data/config/locales/ms.yml +5 -0
- data/config/locales/mt.yml +5 -0
- data/config/locales/nl.yml +5 -0
- data/config/locales/no.yml +5 -0
- data/config/locales/pa-pk.yml +5 -0
- data/config/locales/pa.yml +5 -0
- data/config/locales/pl.yml +5 -0
- data/config/locales/ps.yml +5 -0
- data/config/locales/pt.yml +5 -0
- data/config/locales/ro.yml +5 -0
- data/config/locales/ru.yml +5 -0
- data/config/locales/si.yml +5 -0
- data/config/locales/sk.yml +5 -0
- data/config/locales/sl.yml +5 -0
- data/config/locales/so.yml +5 -0
- data/config/locales/sq.yml +5 -0
- data/config/locales/sr.yml +5 -0
- data/config/locales/sv.yml +5 -0
- data/config/locales/sw.yml +5 -0
- data/config/locales/ta.yml +5 -0
- data/config/locales/th.yml +5 -0
- data/config/locales/tk.yml +5 -0
- data/config/locales/tr.yml +5 -0
- data/config/locales/uk.yml +5 -0
- data/config/locales/ur.yml +5 -0
- data/config/locales/uz.yml +5 -0
- data/config/locales/vi.yml +5 -0
- data/config/locales/zh-hk.yml +5 -0
- data/config/locales/zh-tw.yml +5 -0
- data/config/locales/zh.yml +5 -0
- data/lib/govuk_publishing_components/presenters/contents_list_helper.rb +8 -0
- data/lib/govuk_publishing_components/presenters/image_card_helper.rb +6 -2
- data/lib/govuk_publishing_components/presenters/meta_tags.rb +3 -0
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/node_modules/axe-core/axe.js +6 -6
- data/node_modules/axe-core/axe.min.js +2 -2
- data/node_modules/axe-core/locales/_template.json +4 -4
- data/node_modules/axe-core/package.json +1 -1
- data/node_modules/axe-core/sri-history.json +4 -0
- metadata +7 -2
@@ -862,11 +862,11 @@
|
|
862
862
|
"fail": "${data} on <meta> tag disables zooming on mobile devices"
|
863
863
|
},
|
864
864
|
"target-offset": {
|
865
|
-
"pass": "Target has sufficient space from its closest neighbors
|
866
|
-
"fail": "Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of {
|
865
|
+
"pass": "Target has sufficient space from its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px which is at least ${data.minOffset}px.",
|
866
|
+
"fail": "Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px.",
|
867
867
|
"incomplete": {
|
868
|
-
"default": "Element with negative tabindex has insufficient space to its closest neighbors. Safe clickable space has a diameter of {
|
869
|
-
"nonTabbableNeighbor": "Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of {
|
868
|
+
"default": "Element with negative tabindex has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is this a target?",
|
869
|
+
"nonTabbableNeighbor": "Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is the neighbor a target?"
|
870
870
|
}
|
871
871
|
},
|
872
872
|
"target-size": {
|
@@ -354,5 +354,9 @@
|
|
354
354
|
"4.8.0": {
|
355
355
|
"axe.js": "sha256-Rd1U88z7mahhAvxYhchoCfwWxV8R/H+BcSoX6XTQ0gY=",
|
356
356
|
"axe.min.js": "sha256-1oZiCfWnUt2rwqLWzpkoxlcEaOH53/QFYke0jo+KecA="
|
357
|
+
},
|
358
|
+
"4.8.1": {
|
359
|
+
"axe.js": "sha256-xAiDRfIT8BFIcORsehvJYCROe4K+U0Ak5MVJMaCvn9k=",
|
360
|
+
"axe.min.js": "sha256-EkEySwRAuCQljOYWJ29XQp4s80KPPlsmKwFtKFn6Vr0="
|
357
361
|
}
|
358
362
|
}
|
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.
|
4
|
+
version: 35.16.1
|
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-09-
|
11
|
+
date: 2023-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: govuk_app_config
|
@@ -432,6 +432,7 @@ files:
|
|
432
432
|
- app/assets/images/govuk_publishing_components/take-action-red.svg
|
433
433
|
- app/assets/images/govuk_publishing_components/youtube-play-icon.png
|
434
434
|
- app/assets/images/govuk_publishing_components/youtube-play-icon.svg
|
435
|
+
- app/assets/images/option-select/input-icon.svg
|
435
436
|
- app/assets/javascripts/component_guide/accessibility-test.js
|
436
437
|
- app/assets/javascripts/component_guide/application.js
|
437
438
|
- app/assets/javascripts/component_guide/audit-filter.js
|
@@ -492,6 +493,7 @@ files:
|
|
492
493
|
- app/assets/javascripts/govuk_publishing_components/components/layout-super-navigation-header.js
|
493
494
|
- app/assets/javascripts/govuk_publishing_components/components/metadata.js
|
494
495
|
- app/assets/javascripts/govuk_publishing_components/components/modal-dialogue.js
|
496
|
+
- app/assets/javascripts/govuk_publishing_components/components/option-select.js
|
495
497
|
- app/assets/javascripts/govuk_publishing_components/components/print-link.js
|
496
498
|
- app/assets/javascripts/govuk_publishing_components/components/radio.js
|
497
499
|
- app/assets/javascripts/govuk_publishing_components/components/reorderable-list.js
|
@@ -577,6 +579,7 @@ files:
|
|
577
579
|
- app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
|
578
580
|
- app/assets/stylesheets/govuk_publishing_components/components/_modal-dialogue.scss
|
579
581
|
- app/assets/stylesheets/govuk_publishing_components/components/_notice.scss
|
582
|
+
- app/assets/stylesheets/govuk_publishing_components/components/_option-select.scss
|
580
583
|
- app/assets/stylesheets/govuk_publishing_components/components/_organisation-logo.scss
|
581
584
|
- app/assets/stylesheets/govuk_publishing_components/components/_panel.scss
|
582
585
|
- app/assets/stylesheets/govuk_publishing_components/components/_phase-banner.scss
|
@@ -715,6 +718,7 @@ files:
|
|
715
718
|
- app/views/govuk_publishing_components/components/_metadata.html.erb
|
716
719
|
- app/views/govuk_publishing_components/components/_modal_dialogue.html.erb
|
717
720
|
- app/views/govuk_publishing_components/components/_notice.html.erb
|
721
|
+
- app/views/govuk_publishing_components/components/_option_select.html.erb
|
718
722
|
- app/views/govuk_publishing_components/components/_organisation_logo.html.erb
|
719
723
|
- app/views/govuk_publishing_components/components/_panel.html.erb
|
720
724
|
- app/views/govuk_publishing_components/components/_phase_banner.html.erb
|
@@ -799,6 +803,7 @@ files:
|
|
799
803
|
- app/views/govuk_publishing_components/components/docs/metadata.yml
|
800
804
|
- app/views/govuk_publishing_components/components/docs/modal_dialogue.yml
|
801
805
|
- app/views/govuk_publishing_components/components/docs/notice.yml
|
806
|
+
- app/views/govuk_publishing_components/components/docs/option_select.yml
|
802
807
|
- app/views/govuk_publishing_components/components/docs/organisation_logo.yml
|
803
808
|
- app/views/govuk_publishing_components/components/docs/panel.yml
|
804
809
|
- app/views/govuk_publishing_components/components/docs/phase_banner.yml
|