govuk_publishing_components 24.12.0 → 24.13.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/govuk_publishing_components/analytics/analytics.js +3 -1
  3. data/app/assets/javascripts/govuk_publishing_components/analytics/custom-dimensions.js +2 -0
  4. data/app/assets/javascripts/govuk_publishing_components/analytics/scroll-tracker.js +1 -1
  5. data/app/assets/javascripts/govuk_publishing_components/components/checkboxes.js +5 -3
  6. data/app/assets/javascripts/govuk_publishing_components/components/contextual-guidance.js +1 -1
  7. data/app/assets/javascripts/govuk_publishing_components/components/reorderable-list.js +9 -9
  8. data/app/assets/javascripts/govuk_publishing_components/lib/govspeak/magna-charta.js +3 -3
  9. data/app/assets/javascripts/govuk_publishing_components/lib/header-navigation.js +6 -0
  10. data/app/assets/javascripts/govuk_publishing_components/lib/trigger-event.js +5 -3
  11. data/app/assets/stylesheets/govuk_publishing_components/_all_components.scss +3 -0
  12. data/app/assets/stylesheets/govuk_publishing_components/components/_accordion.scss +50 -31
  13. data/app/assets/stylesheets/govuk_publishing_components/components/_action-link.scss +0 -35
  14. data/app/assets/stylesheets/govuk_publishing_components/components/_contents-list.scss +0 -13
  15. data/app/assets/stylesheets/govuk_publishing_components/components/_image-card.scss +0 -6
  16. data/app/assets/stylesheets/govuk_publishing_components/components/_inverse-header.scss +0 -4
  17. data/app/assets/stylesheets/govuk_publishing_components/components/_organisation-logo.scss +10 -3
  18. data/app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss +11 -1
  19. data/app/assets/stylesheets/govuk_publishing_components/components/_print-link.scss +1 -1
  20. data/app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss +0 -1
  21. data/app/assets/stylesheets/govuk_publishing_components/components/_show-password.scss +1 -0
  22. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav.scss +8 -2
  23. data/app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss +6 -2
  24. data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_markdown-typography.scss +1 -0
  25. data/app/views/govuk_publishing_components/components/_action_link.html.erb +2 -1
  26. data/app/views/govuk_publishing_components/components/_contents_list.html.erb +10 -3
  27. data/app/views/govuk_publishing_components/components/_contextual_sidebar.html.erb +1 -1
  28. data/app/views/govuk_publishing_components/components/_government_navigation.html.erb +49 -7
  29. data/app/views/govuk_publishing_components/components/_image_card.html.erb +15 -2
  30. data/app/views/govuk_publishing_components/components/_layout_for_public.html.erb +2 -0
  31. data/app/views/govuk_publishing_components/components/_layout_header.html.erb +11 -2
  32. data/app/views/govuk_publishing_components/components/_organisation_logo.html.erb +13 -13
  33. data/app/views/govuk_publishing_components/components/_previous_and_next_navigation.html.erb +10 -6
  34. data/app/views/govuk_publishing_components/components/_search.html.erb +5 -2
  35. data/app/views/govuk_publishing_components/components/_share_links.html.erb +1 -1
  36. data/app/views/govuk_publishing_components/components/_subscription_links.html.erb +7 -7
  37. data/app/views/govuk_publishing_components/components/contextual_sidebar/_brexit_cta.html.erb +9 -4
  38. data/app/views/govuk_publishing_components/components/docs/government_navigation.yml +2 -0
  39. data/app/views/govuk_publishing_components/components/docs/inset_text.yml +2 -2
  40. data/app/views/govuk_publishing_components/components/docs/inverse_header.yml +18 -15
  41. data/app/views/govuk_publishing_components/components/layout_header/_header_logo.html.erb +3 -3
  42. data/config/locales/ar.yml +3 -0
  43. data/config/locales/az.yml +3 -0
  44. data/config/locales/be.yml +3 -0
  45. data/config/locales/bg.yml +3 -0
  46. data/config/locales/bn.yml +3 -0
  47. data/config/locales/cs.yml +3 -0
  48. data/config/locales/cy.yml +4 -1
  49. data/config/locales/da.yml +3 -0
  50. data/config/locales/de.yml +3 -0
  51. data/config/locales/dr.yml +3 -0
  52. data/config/locales/el.yml +3 -0
  53. data/config/locales/en.yml +4 -1
  54. data/config/locales/es-419.yml +3 -0
  55. data/config/locales/es.yml +3 -0
  56. data/config/locales/et.yml +3 -0
  57. data/config/locales/fa.yml +3 -0
  58. data/config/locales/fi.yml +3 -0
  59. data/config/locales/fr.yml +3 -0
  60. data/config/locales/gd.yml +3 -0
  61. data/config/locales/gu.yml +3 -0
  62. data/config/locales/he.yml +3 -0
  63. data/config/locales/hi.yml +3 -0
  64. data/config/locales/hr.yml +3 -0
  65. data/config/locales/hu.yml +3 -0
  66. data/config/locales/hy.yml +3 -0
  67. data/config/locales/id.yml +3 -0
  68. data/config/locales/is.yml +3 -0
  69. data/config/locales/it.yml +3 -0
  70. data/config/locales/ja.yml +3 -0
  71. data/config/locales/ka.yml +3 -0
  72. data/config/locales/kk.yml +3 -0
  73. data/config/locales/ko.yml +3 -0
  74. data/config/locales/lt.yml +3 -0
  75. data/config/locales/lv.yml +3 -0
  76. data/config/locales/ms.yml +3 -0
  77. data/config/locales/mt.yml +3 -0
  78. data/config/locales/nl.yml +3 -0
  79. data/config/locales/no.yml +3 -0
  80. data/config/locales/pa-pk.yml +3 -0
  81. data/config/locales/pa.yml +3 -0
  82. data/config/locales/pl.yml +3 -0
  83. data/config/locales/ps.yml +3 -0
  84. data/config/locales/pt.yml +3 -0
  85. data/config/locales/ro.yml +3 -0
  86. data/config/locales/ru.yml +3 -0
  87. data/config/locales/si.yml +3 -0
  88. data/config/locales/sk.yml +3 -0
  89. data/config/locales/sl.yml +3 -0
  90. data/config/locales/so.yml +3 -0
  91. data/config/locales/sq.yml +3 -0
  92. data/config/locales/sr.yml +3 -0
  93. data/config/locales/sv.yml +3 -0
  94. data/config/locales/sw.yml +3 -0
  95. data/config/locales/ta.yml +3 -0
  96. data/config/locales/th.yml +3 -0
  97. data/config/locales/tk.yml +3 -0
  98. data/config/locales/tr.yml +3 -0
  99. data/config/locales/uk.yml +3 -0
  100. data/config/locales/ur.yml +3 -0
  101. data/config/locales/uz.yml +3 -0
  102. data/config/locales/vi.yml +3 -0
  103. data/config/locales/zh-hk.yml +3 -0
  104. data/config/locales/zh-tw.yml +3 -0
  105. data/config/locales/zh.yml +3 -0
  106. data/lib/govuk_publishing_components.rb +1 -0
  107. data/lib/govuk_publishing_components/presenters/brexit_cta_helper.rb +33 -0
  108. data/lib/govuk_publishing_components/presenters/content_breadcrumbs_based_on_priority.rb +15 -1
  109. data/lib/govuk_publishing_components/presenters/content_item.rb +1 -3
  110. data/lib/govuk_publishing_components/presenters/contents_list_helper.rb +0 -3
  111. data/lib/govuk_publishing_components/presenters/public_layout_helper.rb +1 -1
  112. data/lib/govuk_publishing_components/version.rb +1 -1
  113. metadata +8 -7
@@ -116,6 +116,9 @@ hi:
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title:
@@ -116,6 +116,9 @@ hr:
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title:
@@ -116,6 +116,9 @@ hu:
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title:
@@ -116,6 +116,9 @@ hy:
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title:
@@ -116,6 +116,9 @@ id:
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title:
@@ -116,6 +116,9 @@ is:
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title:
@@ -116,6 +116,9 @@ it:
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title:
@@ -116,6 +116,9 @@ ja:
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title:
@@ -116,6 +116,9 @@ ka:
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title:
@@ -116,6 +116,9 @@ kk:
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title:
@@ -116,6 +116,9 @@ ko:
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title:
@@ -116,6 +116,9 @@ lt:
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title:
@@ -116,6 +116,9 @@ lv:
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title:
@@ -116,6 +116,9 @@ ms:
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title:
@@ -116,6 +116,9 @@ mt:
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title:
@@ -116,6 +116,9 @@ nl:
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title:
@@ -116,6 +116,9 @@
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title:
@@ -116,6 +116,9 @@ pa-pk:
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title:
@@ -116,6 +116,9 @@ pa:
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title:
@@ -116,6 +116,9 @@ pl:
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title:
@@ -116,6 +116,9 @@ ps:
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title:
@@ -116,6 +116,9 @@ pt:
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title:
@@ -116,6 +116,9 @@ ro:
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title:
@@ -116,6 +116,9 @@ ru:
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title:
@@ -116,6 +116,9 @@ si:
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title:
@@ -116,6 +116,9 @@ sk:
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title:
@@ -116,6 +116,9 @@ sl:
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title:
@@ -116,6 +116,9 @@ so:
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title:
@@ -116,6 +116,9 @@ sq:
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title:
@@ -116,6 +116,9 @@ sr:
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title:
@@ -116,6 +116,9 @@ sv:
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title:
@@ -116,6 +116,9 @@ sw:
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title:
@@ -116,6 +116,9 @@ ta:
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title:
@@ -116,6 +116,9 @@ th:
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title:
@@ -116,6 +116,9 @@ tk:
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title:
@@ -116,6 +116,9 @@ tr:
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title:
@@ -116,6 +116,9 @@ uk:
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title:
@@ -116,6 +116,9 @@ ur:
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title:
@@ -116,6 +116,9 @@ uz:
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title:
@@ -116,6 +116,9 @@ vi:
116
116
  topical_events:
117
117
  topics:
118
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
119
122
  link_path:
120
123
  link_text:
121
124
  title: