govuk_publishing_components 27.18.0 → 28.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (124) 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 +2 -20
  8. data/app/assets/javascripts/govuk_publishing_components/analytics/download-link-tracker.js +21 -16
  9. data/app/assets/javascripts/govuk_publishing_components/analytics/external-link-tracker.js +46 -32
  10. data/app/assets/javascripts/govuk_publishing_components/analytics/google-analytics-universal-tracker.js +20 -7
  11. data/app/assets/javascripts/govuk_publishing_components/analytics/mailto-link-tracker.js +22 -17
  12. data/app/assets/javascripts/govuk_publishing_components/analytics/static-analytics.js +4 -4
  13. data/app/assets/javascripts/govuk_publishing_components/analytics.js +1 -1
  14. data/app/assets/javascripts/govuk_publishing_components/components/feedback.js +18 -18
  15. data/app/assets/javascripts/govuk_publishing_components/components/metadata.js +27 -0
  16. data/app/assets/javascripts/govuk_publishing_components/lib/extend-object.js +22 -0
  17. data/app/assets/stylesheets/govuk_publishing_components/_all_components.scss +1 -2
  18. data/app/assets/stylesheets/govuk_publishing_components/components/_contextual-sidebar.scss +19 -14
  19. data/app/assets/stylesheets/govuk_publishing_components/components/_feedback.scss +6 -35
  20. data/app/assets/stylesheets/govuk_publishing_components/components/_image-card.scss +17 -7
  21. data/app/assets/stylesheets/govuk_publishing_components/components/_signup-link.scss +34 -0
  22. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_warning-callout.scss +7 -0
  23. data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_markdown-typography.scss +6 -0
  24. data/app/views/govuk_publishing_components/components/_contextual_sidebar.html.erb +5 -1
  25. data/app/views/govuk_publishing_components/components/_image_card.html.erb +1 -0
  26. data/app/views/govuk_publishing_components/components/_intervention.html.erb +10 -1
  27. data/app/views/govuk_publishing_components/components/_metadata.html.erb +2 -2
  28. data/app/views/govuk_publishing_components/components/_signup_link.html.erb +30 -0
  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/accordion.yml +31 -25
  32. data/app/views/govuk_publishing_components/components/docs/contextual_sidebar.yml +15 -87
  33. data/app/views/govuk_publishing_components/components/docs/feedback.yml +5 -0
  34. data/app/views/govuk_publishing_components/components/docs/image_card.yml +29 -0
  35. data/app/views/govuk_publishing_components/components/docs/input.yml +1 -1
  36. data/app/views/govuk_publishing_components/components/docs/intervention.yml +9 -0
  37. data/app/views/govuk_publishing_components/components/docs/signup_link.yml +39 -0
  38. data/app/views/govuk_publishing_components/components/docs/success_alert.yml +1 -1
  39. data/app/views/govuk_publishing_components/components/docs/tabs.yml +2 -2
  40. data/app/views/govuk_publishing_components/components/feedback/_problem_form.html.erb +9 -6
  41. data/app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb +4 -3
  42. data/app/views/govuk_publishing_components/components/feedback/_yes_no_banner.html.erb +4 -4
  43. data/config/locales/ar.yml +0 -8
  44. data/config/locales/az.yml +0 -8
  45. data/config/locales/be.yml +0 -8
  46. data/config/locales/bg.yml +0 -8
  47. data/config/locales/bn.yml +0 -8
  48. data/config/locales/cs.yml +0 -8
  49. data/config/locales/cy.yml +0 -8
  50. data/config/locales/da.yml +0 -8
  51. data/config/locales/de.yml +0 -8
  52. data/config/locales/dr.yml +0 -8
  53. data/config/locales/el.yml +0 -8
  54. data/config/locales/en.yml +4 -10
  55. data/config/locales/es-419.yml +0 -8
  56. data/config/locales/es.yml +0 -8
  57. data/config/locales/et.yml +0 -8
  58. data/config/locales/fa.yml +0 -8
  59. data/config/locales/fi.yml +0 -8
  60. data/config/locales/fr.yml +0 -8
  61. data/config/locales/gd.yml +0 -8
  62. data/config/locales/gu.yml +0 -8
  63. data/config/locales/he.yml +0 -8
  64. data/config/locales/hi.yml +0 -8
  65. data/config/locales/hr.yml +0 -8
  66. data/config/locales/hu.yml +0 -8
  67. data/config/locales/hy.yml +0 -8
  68. data/config/locales/id.yml +0 -8
  69. data/config/locales/is.yml +0 -8
  70. data/config/locales/it.yml +0 -8
  71. data/config/locales/ja.yml +0 -8
  72. data/config/locales/ka.yml +0 -8
  73. data/config/locales/kk.yml +0 -8
  74. data/config/locales/ko.yml +0 -8
  75. data/config/locales/lt.yml +0 -8
  76. data/config/locales/lv.yml +0 -8
  77. data/config/locales/ms.yml +0 -8
  78. data/config/locales/mt.yml +0 -8
  79. data/config/locales/nl.yml +0 -8
  80. data/config/locales/no.yml +0 -8
  81. data/config/locales/pa-pk.yml +0 -8
  82. data/config/locales/pa.yml +0 -8
  83. data/config/locales/pl.yml +0 -8
  84. data/config/locales/ps.yml +0 -8
  85. data/config/locales/pt.yml +0 -8
  86. data/config/locales/ro.yml +0 -8
  87. data/config/locales/ru.yml +0 -8
  88. data/config/locales/si.yml +0 -8
  89. data/config/locales/sk.yml +0 -8
  90. data/config/locales/sl.yml +0 -8
  91. data/config/locales/so.yml +0 -8
  92. data/config/locales/sq.yml +0 -8
  93. data/config/locales/sr.yml +0 -8
  94. data/config/locales/sv.yml +0 -8
  95. data/config/locales/sw.yml +0 -8
  96. data/config/locales/ta.yml +0 -8
  97. data/config/locales/th.yml +0 -8
  98. data/config/locales/tk.yml +0 -8
  99. data/config/locales/tr.yml +0 -8
  100. data/config/locales/uk.yml +0 -8
  101. data/config/locales/ur.yml +0 -8
  102. data/config/locales/uz.yml +0 -8
  103. data/config/locales/vi.yml +0 -8
  104. data/config/locales/zh-hk.yml +0 -8
  105. data/config/locales/zh-tw.yml +0 -8
  106. data/config/locales/zh.yml +0 -8
  107. data/lib/govuk_publishing_components/presenters/contextual_navigation.rb +42 -170
  108. data/lib/govuk_publishing_components/presenters/image_card_helper.rb +11 -1
  109. data/lib/govuk_publishing_components/version.rb +1 -1
  110. data/lib/govuk_publishing_components.rb +0 -2
  111. metadata +13 -15
  112. data/app/assets/javascripts/govuk_publishing_components/analytics/scroll-tracker.js +0 -237
  113. data/app/assets/stylesheets/govuk_publishing_components/components/_highlight-boxes.scss +0 -84
  114. data/app/assets/stylesheets/govuk_publishing_components/components/_taxonomy-list.scss +0 -21
  115. data/app/views/govuk_publishing_components/components/_admin_analytics.html.erb +0 -20
  116. data/app/views/govuk_publishing_components/components/_government_navigation.html.erb +0 -86
  117. data/app/views/govuk_publishing_components/components/_highlight_boxes.html.erb +0 -47
  118. data/app/views/govuk_publishing_components/components/_taxonomy_list.html.erb +0 -30
  119. data/app/views/govuk_publishing_components/components/docs/admin_analytics.yml +0 -10
  120. data/app/views/govuk_publishing_components/components/docs/government_navigation.yml +0 -20
  121. data/app/views/govuk_publishing_components/components/docs/highlight_boxes.yml +0 -171
  122. data/app/views/govuk_publishing_components/components/docs/taxonomy_list.yml +0 -112
  123. data/lib/govuk_publishing_components/presenters/highlight_boxes_helper.rb +0 -13
  124. data/lib/govuk_publishing_components/presenters/taxonomy_list_helper.rb +0 -23
@@ -108,146 +108,22 @@ module GovukPublishingComponents
108
108
  false
109
109
  end
110
110
 
111
- def show_brexit_related_links?
112
- # If tagged directly to /brexit or /world/brexit
113
- # Or if tagged to a taxon which has /brexit as a parent
114
- # And is not the brexit hub pages
115
- return false if brexit_hub_pages.include?(content_item["content_id"])
116
-
117
- tagged_to_brexit?
118
- end
119
-
120
- def brexit_cta_document_exceptions
121
- # /government/news/30-creative-teams-awarded-up-to-100000-each-for-festival-uk-2022-rd-project
122
- # and answer pages that have a start button (tracked in https://docs.google.com/spreadsheets/d/1ynH8zIjvElvK-u8JLI8KOYylxTbzJsoXRqEnqrnqv_4/edit)
123
- %w[
124
- c3752802-f091-43a9-ba90-33568fccf391
125
- e1a9ce2b-4085-4761-b70f-d125a6571de3
126
- 6a2bf66e-2313-4204-afd5-9940de5e1d66
127
- f65b0ac7-b8cd-476b-bd5d-738268517659
128
- 45ad868a-2e79-4029-991b-c29559d7eb29
129
- e4e9c4ec-385e-4758-93ac-388bc154815e
130
- cee73f76-83f0-44e2-b657-3b51a9cbc76e
131
- 9a945506-60bc-44d8-a2ec-0eb2824732d6
132
- 6ae16c12-a554-44e2-b3e3-596375aa1b9a
133
- 9add4ccc-dc4c-44cf-9b69-6878c162d431
134
- 4f5cf1cd-efda-4c49-8292-1db1c6c3cfb0
135
- 73058592-dedf-4379-9a1d-d8222a796c0a
136
- c9259172-5432-43a6-b710-409d463c7627
137
- 59ecfc6d-cb9e-49b8-b013-fc368ebdf8ed
138
- 9897695d-624b-4cb9-b873-f3113f0332a1
139
- 715f4659-b058-46ec-84c8-cc346c210778
140
- c63890f9-2356-4be3-9e07-6cf4b8de7081
141
- e7661ec8-b678-444e-b4d0-a221fa83a7f7
142
- 723f9c0a-bcdb-4d8f-952c-6df0ed468c57
143
- a1c420b7-11d7-4b9c-a97e-406fb73c0200
144
- c1347936-839b-4547-a570-0c315c34ee45
145
- 1396f68b-6ffa-47ef-a049-414e7b548e81
146
- 3b054acf-d0af-470e-b912-9481204d1a9a
147
- 317b9c08-928b-4fd2-bc8e-4c6acf287c58
148
- 44d6cb7a-d853-4cd8-a9cb-69eff0299d9e
149
- 15517245-f142-4e45-ad84-773250f7d5a2
150
- 6fe6644d-d037-4ea4-baf6-800dc1966ed0
151
- 4a63625c-a195-4b86-9562-cb6653dd26ff
152
- 47521233-20a8-4d02-ba31-6e1977448fd1
153
- 7b8ca4ac-f3a3-41b8-9555-9e244c36575b
154
- be1a82d1-e53c-431a-9e7a-337ed4b2654f
155
- 6c445001-4e29-4853-8c14-444d7f9374ee
156
- c8cf2a7c-5c13-4f3d-b1ff-6a7eb5533973
157
- 2422a237-f8f1-4e9f-ad51-f1d44fde9755
158
- ae000c08-c74f-467b-b8a4-90f138252a5c
159
- 7eec7800-9c4d-4160-af53-57b5d3e02972
160
- eb545b3b-111b-4c3c-890c-c9ec29b9090d
161
- 8d705ade-8977-480d-9080-72a19e341c2a
162
- 2a0dd317-0252-4c7c-8c13-b43af28406bc
163
- f27e5792-a84b-4164-9890-7e86767634e8
164
- b0b9a600-1fe6-4257-9e68-2be0f59ea25d
165
- 28fa04ea-42e1-46ad-9abc-acf132c5666d
166
- 64b27b8a-ae53-4034-a812-f4805cd7e3ad
167
- 1dd5a75f-18b4-419d-b2b6-6d4808f2c7e4
168
- b21b9e34-455c-4305-b4cc-4e6b8d3f7522
169
- 0ab53a0d-b098-43a8-b3cc-8b3224697228
170
- e3862156-ba5a-41ba-8ee6-22e5cd6a6144
171
- 2e8f7fae-7164-459c-898b-0c0538eee3e0
172
- 6087439c-26d2-4881-b345-5160e23f3b5e
173
- cac78a0a-9c28-436a-a29e-8ccbe8fbc956
174
- c2fd13a5-537b-4368-ac2e-6078b2c463f1
175
- 98f0a21d-7b67-4089-a98c-f0a0177291a2
176
- 06692612-8c39-464c-8aee-2aa62e6c8887
177
- df943977-69cb-479d-a921-9410d603c471
178
- 2656eb6b-f2eb-4982-8a90-e40d03a34a4d
179
- 4ca8698b-4a24-45ff-baea-7633cc24b679
180
- ed73581f-9bf8-48b5-bb66-935581a255e3
181
- 15f1c594-af1d-4f16-97cc-ad4d12017509
182
- ] + brexit_hub_pages
183
- end
184
-
185
- # we don't want to show the standard Brexit sidebar nav on
186
- # https://www.gov.uk/guidance/brexit-guidance-for-individuals-and-families or
187
- # https://www.gov.uk/guidance/brexit-guidance-for-businesses
188
- # as it might result in circular journeys
189
- def brexit_hub_pages
190
- %w[
191
- 91cd6143-69d5-4f27-99ff-a52fb0d51c78
192
- 6555e0bf-c270-4cf9-a0c5-d20b95fab7f1
193
- ]
194
- end
195
-
196
- def brexit_cta_document_exception?
197
- brexit_cta_document_exceptions.include?(content_item["content_id"])
198
- end
199
-
200
- def brexit_cta_document_type_exceptions
201
- %w[
202
- aaib_report
203
- asylum_support_decision
204
- fatality_notice
205
- maib_report
206
- raib_report
207
- simple_smart_answer
208
- smart_answer
209
- transaction
210
- ]
211
- end
212
-
213
- def brexit_cta_document_type_exception?
214
- brexit_cta_document_type_exceptions.include?(content_item["document_type"])
215
- end
216
-
217
111
  def brexit_cta_taxon_allow_list
218
- # Entering and staying in the UK
219
- # Going and being abroad
220
- # Corporate information
221
- # Transport
222
- # Environment
223
- # International
224
- # Defence and armed forces
225
- # Work
226
- # Welfare
227
- # Money
228
- # Business and industry
229
- # Health and social care
230
- # Education > Further and higher education
231
- # Education > Teaching and leadership
232
- # Education > Funding and finance for students
233
- # Coronavirus (COVID-19)
112
+ # Overseas businesses: exporting to the UK
113
+ # Exporting goods and services
114
+ # Exporting
115
+ # Manufacturing, wholesaling, importing and exporting medicines
116
+ # Importing goods and services
117
+ # Importing
118
+ # Manufacturing, wholesaling, importing and exporting medicines
234
119
  %w[
235
- ba3a9702-da22-487f-86c1-8334a730e559
236
- 9597c30a-605a-4e36-8bc1-47e5cdae41b3
237
- a544d48b-1e9e-47fb-b427-7a987c658c14
238
- a4038b29-b332-4f13-98b1-1c9709e216bc
239
- 3cf97f69-84de-41ae-bc7b-7e2cc238fa58
240
- 37d0fa26-abed-4c74-8835-b3b51ae1c8b2
241
- e491505c-77ae-45b2-84be-8c94b94f6a2b
242
- d0f1e5a3-c8f4-4780-8678-994f19104b21
243
- dded88e2-f92e-424f-b73e-6ad24a839c51
244
- 6acc9db4-780e-4a46-92b4-1812e3c2c48a
245
- 495afdb6-47be-4df1-8b38-91c8adb1eefc
246
- 8124ead8-8ebc-4faf-88ad-dd5cbcc92ba8
247
- dd767840-363e-43ad-8835-c9ab516633de
248
- ff00b8b2-dcdb-4659-93c2-291c9be354f3
249
- 23265b25-7ec3-4960-8517-4ff8d4d92cac
250
- 5b7b9532-a775-4bd2-a3aa-6ce380184b6c
120
+ 2f8b848d-23c8-4f42-a41a-df1f81c64d0f
121
+ 8af13fba-d969-4d87-a02e-2e71783d47be
122
+ efa9782b-a3d0-4ca0-9c92-3b89748175b7
123
+ f441e630-2bba-4bbd-8c1b-22ae61cc00c2
124
+ 4788b4b8-2642-47ca-bfc2-bd7e8705a1da
125
+ d74faafc-781d-4087-8e0c-be4216180059
126
+ f441e630-2bba-4bbd-8c1b-22ae61cc00c2
251
127
  ]
252
128
  end
253
129
 
@@ -261,10 +137,6 @@ module GovukPublishingComponents
261
137
  false
262
138
  end
263
139
 
264
- def brexit_cta_lang_allow_list?
265
- %w[en cy].include?(content_item["locale"])
266
- end
267
-
268
140
  def parent_taxon_include?(taxon, taxon_list)
269
141
  if taxon.present?
270
142
  if taxon.dig("links", "parent_taxons").to_a.any? { |taxon_item| taxon_list.include?(taxon_item["content_id"]) }
@@ -277,46 +149,46 @@ module GovukPublishingComponents
277
149
  end
278
150
  end
279
151
 
280
- def brexit_cta_taxon_exception_list
281
- # Entering and staying in the UK > Immigration offences
282
- # Entering and staying in the UK > Inspections of border, immigration and asylum services
283
- # Entering and staying in the UK > Refugees, asylum and human rights
284
- # Transport > Local transport
285
- # Education > Further and higher education > Education in prisons
152
+ def show_brexit_cta?
153
+ brexit_cta_taxon_allow_list?
154
+ end
155
+
156
+ def show_covid_booster_cta?
157
+ !covid_booster_cta_document_type_exempt? &&
158
+ !covid_booster_cta_taxon_exception_list?
159
+ end
160
+
161
+ def covid_booster_cta_document_type_exempt?
162
+ covid_booster_cta_document_type_exceptions.include?(content_item["document_type"])
163
+ end
164
+
165
+ def covid_booster_cta_document_type_exceptions
286
166
  %w[
287
- fa13521f-9285-45b0-bd65-4a472a8037e7
288
- 0fab9131-f877-4286-b4d8-922fbfb402b6
289
- 08a8a69f-2825-4fe2-a4cf-c83458a5629e
290
- 3b4d6319-fcef-4637-b35a-e3df76321894
291
- 6426d1c5-93c8-4659-85d5-1f0d3368a124
167
+ simple_smart_answer
168
+ smart_answer
169
+ step_by_step_nav
292
170
  ]
293
171
  end
294
172
 
295
- def brexit_cta_taxon_exception_list?
173
+ def covid_booster_cta_taxon_exception_list?
296
174
  taxons = content_item.dig("links", "taxons").to_a
297
175
  taxons.each do |taxon|
298
- if brexit_cta_taxon_exception_list.include?(taxon["content_id"]) || parent_taxon_include?(taxon, brexit_cta_taxon_exception_list)
176
+ if covid_booster_cta_taxon_exception_list.include?(taxon["content_id"]) || parent_taxon_include?(taxon, covid_booster_cta_taxon_exception_list)
299
177
  return true
300
178
  end
301
179
  end
302
180
  false
303
181
  end
304
182
 
305
- def brexit_cta_exception?
306
- brexit_cta_document_exception? ||
307
- brexit_cta_document_type_exception? ||
308
- brexit_cta_taxon_exception_list?
309
- end
310
-
311
- def show_brexit_cta?
312
- brexit_cta_taxon_allow_list? &&
313
- brexit_cta_lang_allow_list? &&
314
- step_by_step_count.zero? &&
315
- !brexit_cta_exception?
316
- end
317
-
318
- def step_by_step_count
319
- step_nav_helper.step_navs.count
183
+ def covid_booster_cta_taxon_exception_list
184
+ # Welfare > Death and benefits
185
+ # Life circumstances > Death and bereavement
186
+ # Life circumstances > Death registration disclosure
187
+ %w[
188
+ ac7b8472-5d09-4679-9551-87847b0ac827
189
+ 0fffa994-b76d-4539-8bf9-2a6c6751580d
190
+ de978199-11e8-49b9-965e-4fa6a7ae79a8
191
+ ]
320
192
  end
321
193
 
322
194
  def content_tagged_to_current_step_by_step?
@@ -13,6 +13,9 @@ module GovukPublishingComponents
13
13
  @image_src = local_assigns[:image_src]
14
14
  @image_alt = local_assigns[:image_alt] || ""
15
15
  @image_loading = local_assigns[:image_loading] || "auto"
16
+ @srcset = local_assigns[:srcset] || nil
17
+ @sizes = local_assigns[:sizes] || nil
18
+ @image_loading = local_assigns[:image_loading] || "auto"
16
19
  @context = local_assigns[:context]
17
20
  @description = local_assigns[:description]
18
21
  @large = local_assigns[:large]
@@ -36,7 +39,14 @@ module GovukPublishingComponents
36
39
  def image
37
40
  if @image_src
38
41
  content_tag(:figure, class: "gem-c-image-card__image-wrapper") do
39
- image_tag(@image_src, class: "gem-c-image-card__image", alt: @image_alt, loading: @image_loading)
42
+ image_tag(
43
+ @image_src,
44
+ class: "gem-c-image-card__image",
45
+ alt: @image_alt,
46
+ loading: @image_loading,
47
+ sizes: @sizes,
48
+ srcset: @srcset,
49
+ )
40
50
  end
41
51
  end
42
52
  end
@@ -1,3 +1,3 @@
1
1
  module GovukPublishingComponents
2
- VERSION = "27.18.0".freeze
2
+ VERSION = "28.1.0".freeze
3
3
  end
@@ -31,8 +31,6 @@ require "govuk_publishing_components/presenters/contents_list_helper"
31
31
  require "govuk_publishing_components/presenters/image_card_helper"
32
32
  require "govuk_publishing_components/presenters/intervention_helper"
33
33
  require "govuk_publishing_components/presenters/organisation_logo_helper"
34
- require "govuk_publishing_components/presenters/highlight_boxes_helper"
35
- require "govuk_publishing_components/presenters/taxonomy_list_helper"
36
34
  require "govuk_publishing_components/presenters/single_page_notification_button_helper"
37
35
 
38
36
  require "govuk_publishing_components/app_helpers/taxon_breadcrumbs"
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.18.0
4
+ version: 28.1.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-15 00:00:00.000000000 Z
11
+ date: 2022-01-10 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
@@ -478,7 +483,6 @@ files:
478
483
  - app/assets/javascripts/govuk_publishing_components/analytics/page-content.js
479
484
  - app/assets/javascripts/govuk_publishing_components/analytics/pii.js
480
485
  - app/assets/javascripts/govuk_publishing_components/analytics/print-intent.js
481
- - app/assets/javascripts/govuk_publishing_components/analytics/scroll-tracker.js
482
486
  - app/assets/javascripts/govuk_publishing_components/analytics/static-analytics.js
483
487
  - app/assets/javascripts/govuk_publishing_components/analytics/track-click.js
484
488
  - app/assets/javascripts/govuk_publishing_components/analytics/track-select-change.js
@@ -496,6 +500,7 @@ files:
496
500
  - app/assets/javascripts/govuk_publishing_components/components/intervention.js
497
501
  - app/assets/javascripts/govuk_publishing_components/components/layout-header.js
498
502
  - app/assets/javascripts/govuk_publishing_components/components/layout-super-navigation-header.js
503
+ - app/assets/javascripts/govuk_publishing_components/components/metadata.js
499
504
  - app/assets/javascripts/govuk_publishing_components/components/modal-dialogue.js
500
505
  - app/assets/javascripts/govuk_publishing_components/components/print-link.js
501
506
  - app/assets/javascripts/govuk_publishing_components/components/radio.js
@@ -509,6 +514,7 @@ files:
509
514
  - app/assets/javascripts/govuk_publishing_components/lib.js
510
515
  - app/assets/javascripts/govuk_publishing_components/lib/cookie-functions.js
511
516
  - app/assets/javascripts/govuk_publishing_components/lib/current-location.js
517
+ - app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
512
518
  - app/assets/javascripts/govuk_publishing_components/lib/govspeak/all.js
513
519
  - app/assets/javascripts/govuk_publishing_components/lib/govspeak/barchart-enhancement.js
514
520
  - app/assets/javascripts/govuk_publishing_components/lib/govspeak/magna-charta.js
@@ -563,7 +569,6 @@ files:
563
569
  - app/assets/stylesheets/govuk_publishing_components/components/_govspeak-html-publication.scss
564
570
  - app/assets/stylesheets/govuk_publishing_components/components/_govspeak.scss
565
571
  - app/assets/stylesheets/govuk_publishing_components/components/_heading.scss
566
- - app/assets/stylesheets/govuk_publishing_components/components/_highlight-boxes.scss
567
572
  - app/assets/stylesheets/govuk_publishing_components/components/_hint.scss
568
573
  - app/assets/stylesheets/govuk_publishing_components/components/_image-card.scss
569
574
  - app/assets/stylesheets/govuk_publishing_components/components/_input.scss
@@ -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
@@ -602,7 +608,6 @@ files:
602
608
  - app/assets/stylesheets/govuk_publishing_components/components/_summary-list.scss
603
609
  - app/assets/stylesheets/govuk_publishing_components/components/_table.scss
604
610
  - app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss
605
- - app/assets/stylesheets/govuk_publishing_components/components/_taxonomy-list.scss
606
611
  - app/assets/stylesheets/govuk_publishing_components/components/_textarea.scss
607
612
  - app/assets/stylesheets/govuk_publishing_components/components/_title.scss
608
613
  - app/assets/stylesheets/govuk_publishing_components/components/_translation-nav.scss
@@ -676,7 +681,6 @@ files:
676
681
  - app/views/govuk_publishing_components/component_guide/show.html.erb
677
682
  - app/views/govuk_publishing_components/components/_accordion.html.erb
678
683
  - app/views/govuk_publishing_components/components/_action_link.html.erb
679
- - app/views/govuk_publishing_components/components/_admin_analytics.html.erb
680
684
  - app/views/govuk_publishing_components/components/_attachment.html.erb
681
685
  - app/views/govuk_publishing_components/components/_attachment_link.html.erb
682
686
  - app/views/govuk_publishing_components/components/_back_link.html.erb
@@ -703,11 +707,9 @@ files:
703
707
  - app/views/govuk_publishing_components/components/_fieldset.html.erb
704
708
  - app/views/govuk_publishing_components/components/_file_upload.html.erb
705
709
  - app/views/govuk_publishing_components/components/_google_tag_manager_script.html.erb
706
- - app/views/govuk_publishing_components/components/_government_navigation.html.erb
707
710
  - app/views/govuk_publishing_components/components/_govspeak.html.erb
708
711
  - app/views/govuk_publishing_components/components/_govspeak_html_publication.html.erb
709
712
  - app/views/govuk_publishing_components/components/_heading.html.erb
710
- - app/views/govuk_publishing_components/components/_highlight_boxes.html.erb
711
713
  - app/views/govuk_publishing_components/components/_hint.html.erb
712
714
  - app/views/govuk_publishing_components/components/_image_card.html.erb
713
715
  - app/views/govuk_publishing_components/components/_input.html.erb
@@ -739,6 +741,7 @@ files:
739
741
  - app/views/govuk_publishing_components/components/_select.html.erb
740
742
  - app/views/govuk_publishing_components/components/_share_links.html.erb
741
743
  - app/views/govuk_publishing_components/components/_show_password.html.erb
744
+ - app/views/govuk_publishing_components/components/_signup_link.html.erb
742
745
  - app/views/govuk_publishing_components/components/_single_page_notification_button.html.erb
743
746
  - app/views/govuk_publishing_components/components/_skip_link.html.erb
744
747
  - app/views/govuk_publishing_components/components/_step_by_step_nav.html.erb
@@ -749,7 +752,6 @@ files:
749
752
  - app/views/govuk_publishing_components/components/_summary_list.html.erb
750
753
  - app/views/govuk_publishing_components/components/_table.html.erb
751
754
  - app/views/govuk_publishing_components/components/_tabs.html.erb
752
- - app/views/govuk_publishing_components/components/_taxonomy_list.html.erb
753
755
  - app/views/govuk_publishing_components/components/_textarea.html.erb
754
756
  - app/views/govuk_publishing_components/components/_title.html.erb
755
757
  - app/views/govuk_publishing_components/components/_translation_nav.html.erb
@@ -758,9 +760,9 @@ files:
758
760
  - app/views/govuk_publishing_components/components/attachment/_thumbnail_generic.html.erb
759
761
  - app/views/govuk_publishing_components/components/attachment/_thumbnail_spreadsheet.html.erb
760
762
  - app/views/govuk_publishing_components/components/contextual_sidebar/_brexit_cta.html.erb
763
+ - app/views/govuk_publishing_components/components/contextual_sidebar/_covid_cta.html.erb
761
764
  - app/views/govuk_publishing_components/components/docs/accordion.yml
762
765
  - app/views/govuk_publishing_components/components/docs/action_link.yml
763
- - app/views/govuk_publishing_components/components/docs/admin_analytics.yml
764
766
  - app/views/govuk_publishing_components/components/docs/attachment.yml
765
767
  - app/views/govuk_publishing_components/components/docs/attachment_link.yml
766
768
  - app/views/govuk_publishing_components/components/docs/back_link.yml
@@ -787,11 +789,9 @@ files:
787
789
  - app/views/govuk_publishing_components/components/docs/fieldset.yml
788
790
  - app/views/govuk_publishing_components/components/docs/file_upload.yml
789
791
  - app/views/govuk_publishing_components/components/docs/google_tag_manager_script.yml
790
- - app/views/govuk_publishing_components/components/docs/government_navigation.yml
791
792
  - app/views/govuk_publishing_components/components/docs/govspeak.yml
792
793
  - app/views/govuk_publishing_components/components/docs/govspeak_html_publication.yml
793
794
  - app/views/govuk_publishing_components/components/docs/heading.yml
794
- - app/views/govuk_publishing_components/components/docs/highlight_boxes.yml
795
795
  - app/views/govuk_publishing_components/components/docs/hint.yml
796
796
  - app/views/govuk_publishing_components/components/docs/image_card.yml
797
797
  - app/views/govuk_publishing_components/components/docs/input.yml
@@ -823,6 +823,7 @@ files:
823
823
  - app/views/govuk_publishing_components/components/docs/select.yml
824
824
  - app/views/govuk_publishing_components/components/docs/share_links.yml
825
825
  - app/views/govuk_publishing_components/components/docs/show_password.yml
826
+ - app/views/govuk_publishing_components/components/docs/signup_link.yml
826
827
  - app/views/govuk_publishing_components/components/docs/single_page_notification_button.yml
827
828
  - app/views/govuk_publishing_components/components/docs/skip_link.yml
828
829
  - app/views/govuk_publishing_components/components/docs/step_by_step_nav.yml
@@ -833,7 +834,6 @@ files:
833
834
  - app/views/govuk_publishing_components/components/docs/summary_list.yml
834
835
  - app/views/govuk_publishing_components/components/docs/table.yml
835
836
  - app/views/govuk_publishing_components/components/docs/tabs.yml
836
- - app/views/govuk_publishing_components/components/docs/taxonomy_list.yml
837
837
  - app/views/govuk_publishing_components/components/docs/textarea.yml
838
838
  - app/views/govuk_publishing_components/components/docs/title.yml
839
839
  - app/views/govuk_publishing_components/components/docs/translation_nav.yml
@@ -945,7 +945,6 @@ files:
945
945
  - lib/govuk_publishing_components/presenters/curated_taxonomy_sidebar_links.rb
946
946
  - lib/govuk_publishing_components/presenters/devolved_nations_helper.rb
947
947
  - lib/govuk_publishing_components/presenters/heading_helper.rb
948
- - lib/govuk_publishing_components/presenters/highlight_boxes_helper.rb
949
948
  - lib/govuk_publishing_components/presenters/image_card_helper.rb
950
949
  - lib/govuk_publishing_components/presenters/intervention_helper.rb
951
950
  - lib/govuk_publishing_components/presenters/machine_readable/article_schema.rb
@@ -973,7 +972,6 @@ files:
973
972
  - lib/govuk_publishing_components/presenters/single_page_notification_button_helper.rb
974
973
  - lib/govuk_publishing_components/presenters/step_by_step_nav_helper.rb
975
974
  - lib/govuk_publishing_components/presenters/subscription_links_helper.rb
976
- - lib/govuk_publishing_components/presenters/taxonomy_list_helper.rb
977
975
  - lib/govuk_publishing_components/presenters/translation_nav_helper.rb
978
976
  - lib/govuk_publishing_components/version.rb
979
977
  - lib/tasks/govuk_publishing_components_tasks.rake