govuk_publishing_components 27.15.0 → 27.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) 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/custom-dimensions.js +52 -26
  8. data/app/assets/javascripts/govuk_publishing_components/analytics/ecommerce.js +25 -25
  9. data/app/assets/javascripts/govuk_publishing_components/analytics/explicit-cross-domain-links.js +49 -48
  10. data/app/assets/javascripts/govuk_publishing_components/analytics/page-content.js +74 -65
  11. data/app/assets/javascripts/govuk_publishing_components/components/cookie-banner.js +0 -1
  12. data/app/assets/javascripts/govuk_publishing_components/components/single-page-notification-button.js +25 -11
  13. data/app/assets/stylesheets/govuk_publishing_components/components/_big-number.scss +10 -2
  14. data/app/assets/stylesheets/govuk_publishing_components/components/_contextual-sidebar.scss +19 -14
  15. data/app/assets/stylesheets/govuk_publishing_components/components/_image-card.scss +17 -7
  16. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +10 -109
  17. data/app/assets/stylesheets/govuk_publishing_components/components/_search.scss +24 -14
  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 +31 -5
  26. data/app/views/govuk_publishing_components/components/_search.html.erb +1 -0
  27. data/app/views/govuk_publishing_components/components/_single_page_notification_button.html.erb +1 -1
  28. data/app/views/govuk_publishing_components/components/_success_alert.html.erb +4 -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 +20 -0
  34. data/app/views/govuk_publishing_components/components/docs/search.yml +3 -0
  35. data/app/views/govuk_publishing_components/components/docs/success_alert.yml +6 -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 +21 -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/intervention_helper.rb +20 -2
  105. data/lib/govuk_publishing_components/presenters/single_page_notification_button_helper.rb +3 -1
  106. data/lib/govuk_publishing_components/version.rb +1 -1
  107. metadata +9 -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.15.0
4
+ version: 27.19.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-11-30 00:00:00.000000000 Z
11
+ date: 2021-12-20 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
@@ -635,6 +640,7 @@ files:
635
640
  - app/assets/stylesheets/govuk_publishing_components/components/helpers/_markdown-typography.scss
636
641
  - app/assets/stylesheets/govuk_publishing_components/components/mixins/_css3.scss
637
642
  - app/assets/stylesheets/govuk_publishing_components/components/mixins/_govuk-template-link-focus-override.scss
643
+ - app/assets/stylesheets/govuk_publishing_components/components/mixins/_grid-helper.scss
638
644
  - app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
639
645
  - app/assets/stylesheets/govuk_publishing_components/components/mixins/_media-down.scss
640
646
  - app/assets/stylesheets/govuk_publishing_components/components/mixins/_prefixed-transform.scss
@@ -757,6 +763,7 @@ files:
757
763
  - app/views/govuk_publishing_components/components/attachment/_thumbnail_generic.html.erb
758
764
  - app/views/govuk_publishing_components/components/attachment/_thumbnail_spreadsheet.html.erb
759
765
  - app/views/govuk_publishing_components/components/contextual_sidebar/_brexit_cta.html.erb
766
+ - app/views/govuk_publishing_components/components/contextual_sidebar/_covid_cta.html.erb
760
767
  - app/views/govuk_publishing_components/components/docs/accordion.yml
761
768
  - app/views/govuk_publishing_components/components/docs/action_link.yml
762
769
  - app/views/govuk_publishing_components/components/docs/admin_analytics.yml