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.
Files changed (106) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/govuk_publishing_components/image-card-srcset/cop26-170.jpg +0 -0
  3. data/app/assets/images/govuk_publishing_components/image-card-srcset/cop26-240.jpg +0 -0
  4. data/app/assets/images/govuk_publishing_components/image-card-srcset/cop26-320.jpg +0 -0
  5. data/app/assets/images/govuk_publishing_components/image-card-srcset/cop26-480.jpg +0 -0
  6. data/app/assets/images/govuk_publishing_components/image-card-srcset/cop26.jpg +0 -0
  7. data/app/assets/javascripts/govuk_publishing_components/analytics/explicit-cross-domain-links.js +49 -48
  8. data/app/assets/javascripts/govuk_publishing_components/analytics/page-content.js +74 -65
  9. data/app/assets/javascripts/govuk_publishing_components/components/cookie-banner.js +0 -1
  10. data/app/assets/javascripts/govuk_publishing_components/components/single-page-notification-button.js +25 -11
  11. data/app/assets/stylesheets/govuk_publishing_components/_all_components.scss +1 -0
  12. data/app/assets/stylesheets/govuk_publishing_components/components/_big-number.scss +1 -6
  13. data/app/assets/stylesheets/govuk_publishing_components/components/_contextual-sidebar.scss +19 -14
  14. data/app/assets/stylesheets/govuk_publishing_components/components/_image-card.scss +17 -7
  15. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +10 -109
  16. data/app/assets/stylesheets/govuk_publishing_components/components/_search.scss +24 -14
  17. data/app/assets/stylesheets/govuk_publishing_components/components/_signup-link.scss +34 -0
  18. data/app/assets/stylesheets/govuk_publishing_components/components/_single-page-notification-button.scss +8 -0
  19. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_tables.scss +8 -4
  20. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_warning-callout.scss +7 -0
  21. data/app/assets/stylesheets/govuk_publishing_components/components/mixins/_grid-helper.scss +141 -0
  22. data/app/views/govuk_publishing_components/components/_contextual_sidebar.html.erb +5 -1
  23. data/app/views/govuk_publishing_components/components/_cookie_banner.html.erb +1 -1
  24. data/app/views/govuk_publishing_components/components/_image_card.html.erb +1 -0
  25. data/app/views/govuk_publishing_components/components/_intervention.html.erb +10 -1
  26. data/app/views/govuk_publishing_components/components/_search.html.erb +1 -0
  27. data/app/views/govuk_publishing_components/components/_signup_link.html.erb +30 -0
  28. data/app/views/govuk_publishing_components/components/_single_page_notification_button.html.erb +1 -1
  29. data/app/views/govuk_publishing_components/components/contextual_sidebar/_brexit_cta.html.erb +3 -3
  30. data/app/views/govuk_publishing_components/components/contextual_sidebar/_covid_cta.html.erb +27 -0
  31. data/app/views/govuk_publishing_components/components/docs/contextual_sidebar.yml +15 -87
  32. data/app/views/govuk_publishing_components/components/docs/image_card.yml +29 -0
  33. data/app/views/govuk_publishing_components/components/docs/intervention.yml +9 -0
  34. data/app/views/govuk_publishing_components/components/docs/search.yml +3 -0
  35. data/app/views/govuk_publishing_components/components/docs/signup_link.yml +39 -0
  36. data/app/views/govuk_publishing_components/components/layout_header/_header_logo.html.erb +1 -1
  37. data/config/i18n-tasks.yml +8 -0
  38. data/config/locales/ar.yml +134 -131
  39. data/config/locales/az.yml +131 -131
  40. data/config/locales/be.yml +136 -130
  41. data/config/locales/bg.yml +135 -131
  42. data/config/locales/bn.yml +132 -131
  43. data/config/locales/cs.yml +136 -131
  44. data/config/locales/cy.yml +129 -125
  45. data/config/locales/da.yml +132 -131
  46. data/config/locales/de.yml +135 -131
  47. data/config/locales/dr.yml +133 -131
  48. data/config/locales/el.yml +131 -131
  49. data/config/locales/en.yml +19 -14
  50. data/config/locales/es-419.yml +131 -131
  51. data/config/locales/es.yml +131 -131
  52. data/config/locales/et.yml +134 -131
  53. data/config/locales/fa.yml +130 -131
  54. data/config/locales/fi.yml +133 -131
  55. data/config/locales/fr.yml +130 -130
  56. data/config/locales/gd.yml +133 -131
  57. data/config/locales/gu.yml +131 -131
  58. data/config/locales/he.yml +131 -131
  59. data/config/locales/hi.yml +131 -131
  60. data/config/locales/hr.yml +133 -131
  61. data/config/locales/hu.yml +134 -131
  62. data/config/locales/hy.yml +135 -131
  63. data/config/locales/id.yml +132 -131
  64. data/config/locales/is.yml +131 -131
  65. data/config/locales/it.yml +131 -131
  66. data/config/locales/ja.yml +128 -131
  67. data/config/locales/ka.yml +134 -131
  68. data/config/locales/kk.yml +131 -131
  69. data/config/locales/ko.yml +13 -17
  70. data/config/locales/lt.yml +136 -131
  71. data/config/locales/lv.yml +135 -131
  72. data/config/locales/ms.yml +131 -131
  73. data/config/locales/mt.yml +133 -131
  74. data/config/locales/nl.yml +131 -131
  75. data/config/locales/no.yml +131 -131
  76. data/config/locales/pa-pk.yml +128 -132
  77. data/config/locales/pa.yml +131 -131
  78. data/config/locales/pl.yml +135 -131
  79. data/config/locales/ps.yml +128 -131
  80. data/config/locales/pt.yml +131 -131
  81. data/config/locales/ro.yml +132 -131
  82. data/config/locales/ru.yml +135 -131
  83. data/config/locales/si.yml +131 -131
  84. data/config/locales/sk.yml +136 -131
  85. data/config/locales/sl.yml +138 -131
  86. data/config/locales/so.yml +131 -131
  87. data/config/locales/sq.yml +131 -131
  88. data/config/locales/sr.yml +133 -131
  89. data/config/locales/sv.yml +131 -131
  90. data/config/locales/sw.yml +131 -131
  91. data/config/locales/ta.yml +132 -131
  92. data/config/locales/th.yml +130 -131
  93. data/config/locales/tk.yml +132 -131
  94. data/config/locales/tr.yml +132 -131
  95. data/config/locales/uk.yml +138 -131
  96. data/config/locales/ur.yml +128 -131
  97. data/config/locales/uz.yml +133 -131
  98. data/config/locales/vi.yml +131 -131
  99. data/config/locales/zh-hk.yml +130 -131
  100. data/config/locales/zh-tw.yml +130 -131
  101. data/config/locales/zh.yml +130 -131
  102. data/lib/govuk_publishing_components/presenters/contextual_navigation.rb +42 -170
  103. data/lib/govuk_publishing_components/presenters/image_card_helper.rb +11 -1
  104. data/lib/govuk_publishing_components/presenters/single_page_notification_button_helper.rb +3 -1
  105. data/lib/govuk_publishing_components/version.rb +1 -1
  106. 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.16.0
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-03 00:00:00.000000000 Z
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