govuk_publishing_components 27.16.0 → 27.20.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/image-card-srcset/cop26-170.jpg +0 -0
- data/app/assets/images/govuk_publishing_components/image-card-srcset/cop26-240.jpg +0 -0
- data/app/assets/images/govuk_publishing_components/image-card-srcset/cop26-320.jpg +0 -0
- data/app/assets/images/govuk_publishing_components/image-card-srcset/cop26-480.jpg +0 -0
- data/app/assets/images/govuk_publishing_components/image-card-srcset/cop26.jpg +0 -0
- data/app/assets/javascripts/govuk_publishing_components/analytics/explicit-cross-domain-links.js +49 -48
- data/app/assets/javascripts/govuk_publishing_components/analytics/page-content.js +74 -65
- data/app/assets/javascripts/govuk_publishing_components/components/cookie-banner.js +0 -1
- data/app/assets/javascripts/govuk_publishing_components/components/single-page-notification-button.js +25 -11
- data/app/assets/stylesheets/govuk_publishing_components/_all_components.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_big-number.scss +1 -6
- data/app/assets/stylesheets/govuk_publishing_components/components/_contextual-sidebar.scss +19 -14
- data/app/assets/stylesheets/govuk_publishing_components/components/_image-card.scss +17 -7
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +10 -109
- data/app/assets/stylesheets/govuk_publishing_components/components/_search.scss +24 -14
- data/app/assets/stylesheets/govuk_publishing_components/components/_signup-link.scss +34 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_single-page-notification-button.scss +8 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_tables.scss +8 -4
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_warning-callout.scss +7 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/mixins/_grid-helper.scss +141 -0
- data/app/views/govuk_publishing_components/components/_contextual_sidebar.html.erb +5 -1
- data/app/views/govuk_publishing_components/components/_cookie_banner.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_image_card.html.erb +1 -0
- data/app/views/govuk_publishing_components/components/_intervention.html.erb +10 -1
- data/app/views/govuk_publishing_components/components/_search.html.erb +1 -0
- data/app/views/govuk_publishing_components/components/_signup_link.html.erb +30 -0
- data/app/views/govuk_publishing_components/components/_single_page_notification_button.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/contextual_sidebar/_brexit_cta.html.erb +3 -3
- data/app/views/govuk_publishing_components/components/contextual_sidebar/_covid_cta.html.erb +27 -0
- data/app/views/govuk_publishing_components/components/docs/contextual_sidebar.yml +15 -87
- data/app/views/govuk_publishing_components/components/docs/image_card.yml +29 -0
- data/app/views/govuk_publishing_components/components/docs/intervention.yml +9 -0
- data/app/views/govuk_publishing_components/components/docs/search.yml +3 -0
- data/app/views/govuk_publishing_components/components/docs/signup_link.yml +39 -0
- data/app/views/govuk_publishing_components/components/layout_header/_header_logo.html.erb +1 -1
- data/config/i18n-tasks.yml +8 -0
- data/config/locales/ar.yml +134 -131
- data/config/locales/az.yml +131 -131
- data/config/locales/be.yml +136 -130
- data/config/locales/bg.yml +135 -131
- data/config/locales/bn.yml +132 -131
- data/config/locales/cs.yml +136 -131
- data/config/locales/cy.yml +129 -125
- data/config/locales/da.yml +132 -131
- data/config/locales/de.yml +135 -131
- data/config/locales/dr.yml +133 -131
- data/config/locales/el.yml +131 -131
- data/config/locales/en.yml +19 -14
- data/config/locales/es-419.yml +131 -131
- data/config/locales/es.yml +131 -131
- data/config/locales/et.yml +134 -131
- data/config/locales/fa.yml +130 -131
- data/config/locales/fi.yml +133 -131
- data/config/locales/fr.yml +130 -130
- data/config/locales/gd.yml +133 -131
- data/config/locales/gu.yml +131 -131
- data/config/locales/he.yml +131 -131
- data/config/locales/hi.yml +131 -131
- data/config/locales/hr.yml +133 -131
- data/config/locales/hu.yml +134 -131
- data/config/locales/hy.yml +135 -131
- data/config/locales/id.yml +132 -131
- data/config/locales/is.yml +131 -131
- data/config/locales/it.yml +131 -131
- data/config/locales/ja.yml +128 -131
- data/config/locales/ka.yml +134 -131
- data/config/locales/kk.yml +131 -131
- data/config/locales/ko.yml +13 -17
- data/config/locales/lt.yml +136 -131
- data/config/locales/lv.yml +135 -131
- data/config/locales/ms.yml +131 -131
- data/config/locales/mt.yml +133 -131
- data/config/locales/nl.yml +131 -131
- data/config/locales/no.yml +131 -131
- data/config/locales/pa-pk.yml +128 -132
- data/config/locales/pa.yml +131 -131
- data/config/locales/pl.yml +135 -131
- data/config/locales/ps.yml +128 -131
- data/config/locales/pt.yml +131 -131
- data/config/locales/ro.yml +132 -131
- data/config/locales/ru.yml +135 -131
- data/config/locales/si.yml +131 -131
- data/config/locales/sk.yml +136 -131
- data/config/locales/sl.yml +138 -131
- data/config/locales/so.yml +131 -131
- data/config/locales/sq.yml +131 -131
- data/config/locales/sr.yml +133 -131
- data/config/locales/sv.yml +131 -131
- data/config/locales/sw.yml +131 -131
- data/config/locales/ta.yml +132 -131
- data/config/locales/th.yml +130 -131
- data/config/locales/tk.yml +132 -131
- data/config/locales/tr.yml +132 -131
- data/config/locales/uk.yml +138 -131
- data/config/locales/ur.yml +128 -131
- data/config/locales/uz.yml +133 -131
- data/config/locales/vi.yml +131 -131
- data/config/locales/zh-hk.yml +130 -131
- data/config/locales/zh-tw.yml +130 -131
- data/config/locales/zh.yml +130 -131
- data/lib/govuk_publishing_components/presenters/contextual_navigation.rb +42 -170
- data/lib/govuk_publishing_components/presenters/image_card_helper.rb +11 -1
- data/lib/govuk_publishing_components/presenters/single_page_notification_button_helper.rb +3 -1
- data/lib/govuk_publishing_components/version.rb +1 -1
- metadata +12 -2
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: 27.
|
4
|
+
version: 27.20.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: 2021-12-
|
11
|
+
date: 2021-12-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: govuk_app_config
|
@@ -452,6 +452,11 @@ files:
|
|
452
452
|
- app/assets/images/govuk_publishing_components/icon-important.svg
|
453
453
|
- app/assets/images/govuk_publishing_components/icon-print-2x.png
|
454
454
|
- app/assets/images/govuk_publishing_components/icon-print.png
|
455
|
+
- app/assets/images/govuk_publishing_components/image-card-srcset/cop26-170.jpg
|
456
|
+
- app/assets/images/govuk_publishing_components/image-card-srcset/cop26-240.jpg
|
457
|
+
- app/assets/images/govuk_publishing_components/image-card-srcset/cop26-320.jpg
|
458
|
+
- app/assets/images/govuk_publishing_components/image-card-srcset/cop26-480.jpg
|
459
|
+
- app/assets/images/govuk_publishing_components/image-card-srcset/cop26.jpg
|
455
460
|
- app/assets/images/govuk_publishing_components/search-button.png
|
456
461
|
- app/assets/images/govuk_publishing_components/take-action-amber.svg
|
457
462
|
- app/assets/images/govuk_publishing_components/take-action-green.svg
|
@@ -592,6 +597,7 @@ files:
|
|
592
597
|
- app/assets/stylesheets/govuk_publishing_components/components/_select.scss
|
593
598
|
- app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss
|
594
599
|
- app/assets/stylesheets/govuk_publishing_components/components/_show-password.scss
|
600
|
+
- app/assets/stylesheets/govuk_publishing_components/components/_signup-link.scss
|
595
601
|
- app/assets/stylesheets/govuk_publishing_components/components/_single-page-notification-button.scss
|
596
602
|
- app/assets/stylesheets/govuk_publishing_components/components/_skip-link.scss
|
597
603
|
- app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-header.scss
|
@@ -635,6 +641,7 @@ files:
|
|
635
641
|
- app/assets/stylesheets/govuk_publishing_components/components/helpers/_markdown-typography.scss
|
636
642
|
- app/assets/stylesheets/govuk_publishing_components/components/mixins/_css3.scss
|
637
643
|
- app/assets/stylesheets/govuk_publishing_components/components/mixins/_govuk-template-link-focus-override.scss
|
644
|
+
- app/assets/stylesheets/govuk_publishing_components/components/mixins/_grid-helper.scss
|
638
645
|
- app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
|
639
646
|
- app/assets/stylesheets/govuk_publishing_components/components/mixins/_media-down.scss
|
640
647
|
- app/assets/stylesheets/govuk_publishing_components/components/mixins/_prefixed-transform.scss
|
@@ -738,6 +745,7 @@ files:
|
|
738
745
|
- app/views/govuk_publishing_components/components/_select.html.erb
|
739
746
|
- app/views/govuk_publishing_components/components/_share_links.html.erb
|
740
747
|
- app/views/govuk_publishing_components/components/_show_password.html.erb
|
748
|
+
- app/views/govuk_publishing_components/components/_signup_link.html.erb
|
741
749
|
- app/views/govuk_publishing_components/components/_single_page_notification_button.html.erb
|
742
750
|
- app/views/govuk_publishing_components/components/_skip_link.html.erb
|
743
751
|
- app/views/govuk_publishing_components/components/_step_by_step_nav.html.erb
|
@@ -757,6 +765,7 @@ files:
|
|
757
765
|
- app/views/govuk_publishing_components/components/attachment/_thumbnail_generic.html.erb
|
758
766
|
- app/views/govuk_publishing_components/components/attachment/_thumbnail_spreadsheet.html.erb
|
759
767
|
- app/views/govuk_publishing_components/components/contextual_sidebar/_brexit_cta.html.erb
|
768
|
+
- app/views/govuk_publishing_components/components/contextual_sidebar/_covid_cta.html.erb
|
760
769
|
- app/views/govuk_publishing_components/components/docs/accordion.yml
|
761
770
|
- app/views/govuk_publishing_components/components/docs/action_link.yml
|
762
771
|
- app/views/govuk_publishing_components/components/docs/admin_analytics.yml
|
@@ -822,6 +831,7 @@ files:
|
|
822
831
|
- app/views/govuk_publishing_components/components/docs/select.yml
|
823
832
|
- app/views/govuk_publishing_components/components/docs/share_links.yml
|
824
833
|
- app/views/govuk_publishing_components/components/docs/show_password.yml
|
834
|
+
- app/views/govuk_publishing_components/components/docs/signup_link.yml
|
825
835
|
- app/views/govuk_publishing_components/components/docs/single_page_notification_button.yml
|
826
836
|
- app/views/govuk_publishing_components/components/docs/skip_link.yml
|
827
837
|
- app/views/govuk_publishing_components/components/docs/step_by_step_nav.yml
|