govuk_publishing_components 24.10.1 → 24.10.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5314a0b0efdfbb0c6f6c892958401165121c5350c5dacf5a74efbc42772702f3
4
- data.tar.gz: 205e88be5a91f61d95fc5ad8ac741a5ad07c886372c415820776cbccb0dc52c7
3
+ metadata.gz: 8e7fe72e738809175f7caa96a6003eb8191b09e0f26bbc72963088d6ef20eb7d
4
+ data.tar.gz: ca5784e8fc57b3314d60ea63733e03d636671329d5ef697d59ff82a595069200
5
5
  SHA512:
6
- metadata.gz: 8ffaca1d426b22f545f48123238214fcb6cebc6500d309b56cfadb7242acdca54557819c3382eab6bf77287fd24fb26f9e26912fc7b2210dbb0d38955cb60a60
7
- data.tar.gz: ee07a7beae52e317747039ed002271f0526afdd126b7b8de58b2d624100bebf79967c2d0188d835c99021d70f3f3f6d19a8407185822cc16452a25cd8f886335
6
+ metadata.gz: f376231a1805b60263dd404cfe9f39fa5c552ae227a3c2059a9353da6afdfa14a6a3831b68e5c4346b3ca2624a861deb89695d5b738cdb7c59c66ee02b641c52
7
+ data.tar.gz: 26e0e71bad0c3b6d98e0d091b7925999fc8b0600e01c30900f1271ecb047619b0a4361ffa0f767f5f1f18539bf189f0fa3c8f7ad36f8107b0846808a8d3b9448
@@ -13,20 +13,6 @@
13
13
  ['Percent', 80],
14
14
  ['Percent', 100]
15
15
  ],
16
- '/government/publications/coronavirus-outbreak-faqs-what-you-can-and-cant-do/coronavirus-outbreak-faqs-what-you-can-and-cant-do': [
17
- ['Percent', 20],
18
- ['Percent', 40],
19
- ['Percent', 60],
20
- ['Percent', 80],
21
- ['Percent', 100]
22
- ],
23
- '/government/publications/coronavirus-covid-19-online-education-resources/coronavirus-covid-19-list-of-online-education-resources-for-home-education': [
24
- ['Percent', 20],
25
- ['Percent', 40],
26
- ['Percent', 60],
27
- ['Percent', 80],
28
- ['Percent', 100]
29
- ],
30
16
  '/guidance/coronavirus-covid-19-information-for-the-public': [
31
17
  ['Percent', 20],
32
18
  ['Percent', 40],
@@ -34,28 +20,6 @@
34
20
  ['Percent', 80],
35
21
  ['Percent', 100]
36
22
  ],
37
- '/guidance/saving-for-retirement-if-youre-aged-16-to-50': [
38
- ['Heading', 'Keep track of your State Pension'],
39
- ['Heading', 'Consider ways to improve your State Pension'],
40
- ['Heading', 'Personal and stakeholder pensions']
41
- ],
42
- '/guidance/planning-for-retirement-if-youre-aged-50-or-over': [
43
- ['Heading', 'Find out your State Pension age'],
44
- ['Heading', 'Consider ways to improve your State Pension'],
45
- ['Heading', 'Workplace, personal and stakeholder pensions'],
46
- ['Heading', 'Personal and stakeholder pensions']
47
- ],
48
- '/guidance/retirement-planning-for-current-pensioners': [
49
- ['Heading', 'If you reached State Pension age before 6 April 2016'],
50
- ['Heading', 'Other ways to increase your income in retirement'],
51
- ['Heading', 'Further support in retirement'],
52
- ['Heading', 'Winter Fuel Payments']
53
- ],
54
- '/government/collections/disability-confident-campaign': [
55
- ['Heading', 'Become a Disability Confident employer'],
56
- ['Heading', 'Aims and objectives'],
57
- ['Heading', 'Inclusive communication']
58
- ],
59
23
  '/government/publications/the-essential-trustee-what-you-need-to-know-cc3/the-essential-trustee-what-you-need-to-know-what-you-need-to-do': [
60
24
  ['Heading', '1. About this guidance'],
61
25
  ['Heading', '2. Trustees’ duties at a glance'],
@@ -77,11 +41,6 @@
77
41
  ['Heading', 'When you can claim Universal Credit'],
78
42
  ['Heading', 'More detailed advice']
79
43
  ],
80
- '/openingupwork': [
81
- ['Heading', 'How Universal Credit makes work pay'],
82
- ['Heading', 'When you can claim Universal Credit'],
83
- ['Heading', 'Help and advice']
84
- ],
85
44
  '/government/publications/spring-budget-2017-documents/spring-budget-2017': [
86
45
  ['Heading', '1. Executive summary'],
87
46
  ['Heading', '2. Economic context and public finances'],
@@ -92,12 +51,6 @@
92
51
  ['Heading', '7. Annex A: Financing'],
93
52
  ['Heading', '8. Annex B: Office for Budget Responsibility\'s Economic and fiscal outlook']
94
53
  ],
95
- '/guidance/living-in-the-eu-prepare-for-brexit': [
96
- ['Heading', 'Travelling in the EU']
97
- ],
98
- '/guidance/driving-in-the-eu-after-brexit-driving-licence-exchange': [
99
- ['Heading', 'Belgium']
100
- ],
101
54
  '/settled-status-eu-citizens-families': [
102
55
  ['Heading', 'When you can apply']
103
56
  ],
@@ -110,21 +63,6 @@
110
63
  '/guidance/foreign-travel-insurance': [
111
64
  ['Heading', 'What your travel insurance policy should cover']
112
65
  ],
113
- '/guidance/passport-rules-for-travel-to-europe-after-brexit': [
114
- ['Heading', 'List of countries affected']
115
- ],
116
- '/visit-europe-brexit': [
117
- ['Heading', 'Travel']
118
- ],
119
- '/guidance/uk-nationals-in-the-eu-benefits-and-pensions-in-a-no-deal-scenario': [
120
- ['Heading', 'Pensions and benefits paid by an EEA state or Switzerland']
121
- ],
122
- '/guidance/uk-students-in-the-eu-continuing-your-studies': [
123
- ['Heading', 'Check whether you’ll get financial help']
124
- ],
125
- '/government/publications/cross-border-maintenance-cases-after-brexit-guidance-for-public/cross-border-maintenance-cases-after-brexit': [
126
- ['Heading', '2. New cases after Brexit']
127
- ],
128
66
  '/guidance/social-security-contributions-for-uk-and-eu-workers-if-the-uk-leaves-the-eu-with-no-deal': [
129
67
  ['Heading', 'UK employers'],
130
68
  ['Heading', 'UK employees and self-employed']
@@ -132,57 +70,18 @@
132
70
  '/guidance/student-finance-arrangements-in-a-no-deal-scenario': [
133
71
  ['Heading', 'Other overseas study placements']
134
72
  ],
135
- '/guidance/advice-for-british-nationals-travelling-and-living-in-europe': [
136
- ['Heading', 'Travelling to the UK']
137
- ],
138
73
  '/guidance/living-in-france': [
139
74
  ['Heading', 'Passports and travel']
140
75
  ],
141
76
  '/family-permit': [
142
77
  ['Heading', 'EEA family permit']
143
78
  ],
144
- '/guidance/european-temporary-leave-to-remain-in-the-uk': [
145
- ['Heading', 'Applying for European temporary leave to remain']
146
- ],
147
- '/guidance/visiting-the-uk-after-brexit': [
148
- ['Heading', 'If the UK leaves the EU without a deal']
149
- ],
150
79
  '/guidance/healthcare-for-eu-and-efta-citizens-visiting-the-uk': [
151
80
  ['Heading', 'Travel insurance']
152
81
  ],
153
- '/guidance/qualified-teacher-status-qts': [
154
- ['Heading', 'Teachers recognised in the EEA or Switzerland']
155
- ],
156
82
  '/guidance/driving-in-the-eu-after-brexit': [
157
83
  ['Heading', 'GB stickers and number plates']
158
84
  ],
159
- '/visit-europe-brexit#travel': [
160
- ['Heading', 'Compensation if your travel is disrupted']
161
- ],
162
- '/apply-for-a-uk-residence-card': [
163
- ['Heading', 'Fees']
164
- ],
165
- '/guidance/studying-in-the-european-union-after-brexit': [
166
- ['Heading', 'Applying for Erasmus+']
167
- ],
168
- '/settled-status-eu-citizens-families/not-EU-EEA-Swiss-citizen': [
169
- ['Heading', 'If you’re a family member of an EU, EEA or Swiss citizen']
170
- ],
171
- '/guidance/get-your-eea-qualification-recognised-in-the-uk-after-brexit': [
172
- ['Heading', 'Professionals already working in the UK']
173
- ],
174
- '/guidance/visiting-the-uk-after-brexit#if-your-vehicle-is-not-insured-in-the-uk': [
175
- ['Heading', 'If your vehicle is not insured in the UK']
176
- ],
177
- '/guidance/uk-residents-visiting-the-eueea-and-switzerland-healthcare': [
178
- ['Heading', 'European Health Insurance Cards (EHIC)']
179
- ],
180
- '/guidance/pet-travel-to-europe-after-brexit': [
181
- ['Heading', 'Pet travel if there’s a no-deal Brexit']
182
- ],
183
- '/guidance/driving-in-the-eu-after-brexit-international-driving-permits': [
184
- ['Heading', 'Check which type of IDP you need']
185
- ],
186
85
  '/guidance/driving-in-the-eu-after-brexit#insurance-for-your-vehicle-caravan-or-trailer': [
187
86
  ['Heading', 'Trailer registration']
188
87
  ],
@@ -192,99 +91,27 @@
192
91
  '/get-a-passport-urgently': [
193
92
  ['Heading', 'Ways to apply']
194
93
  ],
195
- '/guidance/mobile-roaming-after-eu-exit': [
196
- ['Heading', 'If you live in Northern Ireland']
197
- ],
198
- '/government/publications/mobile-roaming-after-eu-exit/mobile-roaming-if-theres-no-brexit-deal': [
199
- ['Heading', '1.2 If there’s no deal']
200
- ],
201
94
  '/driving-abroad/international-driving-permit': [
202
95
  ['Heading', 'Check which IDP you need']
203
96
  ],
204
- '/vehicle-insurance/driving-abroad': [
205
- ['Heading', 'Driving in other countries']
206
- ],
207
97
  '/guidance/driving-in-the-eu-after-brexit#gb-stickers-and-number-plates': [
208
98
  ['Heading', 'GB stickers and number plates']
209
99
  ],
210
- '/guidance/importing-and-exporting-plants-and-plant-products-if-theres-no-withdrawal-deal': [
211
- ['Heading', 'Movement of wood packaging material']
212
- ],
213
- '/guidance/egg-marketing-standards-if-theres-a-no-deal-brexit': [
214
- ['Heading', 'Customs checks']
215
- ],
216
- '/guidance/hatching-eggs-and-chicks-marketing-standards-when-the-uk-leaves-the-eu': [
217
- ['Heading', 'Customs checks']
218
- ],
219
- '/guidance/poultry-meat-marketing-standards-when-the-uk-leaves-the-eu': [
220
- ['Heading', 'Marketing standards checks']
221
- ],
222
- '/guidance/plant-variety-rights-and-marketing-plant-reproductive-material-if-the-uk-leaves-the-eu-without-a-deal': [
223
- ['Heading', 'Rules for applying for plant variety rights if there’s a no deal Brexit']
224
- ],
225
- '/guidance/exporting-animals-animal-products-fish-and-fishery-products-if-the-uk-leaves-the-eu-with-no-deal': [
226
- ['Heading', 'Exports to non-EU countries (third countries) from the UK']
227
- ],
228
- '/guidance/the-farming-sector-and-preparing-for-eu-exit': [
229
- ['Heading', 'Farm and rural payments: Basic Payment Scheme and Rural Development Programme for England']
230
- ],
231
- '/guidance/protecting-food-and-drink-names-if-theres-no-brexit-deal': [
232
- ['Heading', 'New product applications']
233
- ],
234
- '/guidance/trading-and-labelling-organic-food-if-theres-no-brexit-deal': [
235
- ['Heading', 'Exporting organic food to the EU']
236
- ],
237
- '/guidance/hops-and-hops-products-marketing-standards-if-the-uk-leaves-the-eu-without-a-deal': [
238
- ['Heading', 'How to apply for an EU Attestation of Equivalence']
239
- ],
240
100
  '/guidance/guidance-for-suppliers-of-cattle-sheep-and-goat-ear-tags': [
241
101
  ['Heading', 'Tagging information for livestock keepers']
242
102
  ],
243
- '/government/publications/meeting-climate-change-requirements-if-theres-no-brexit-deal/meeting-climate-change-requirements-if-theres-no-brexit-deal': [
244
- ['Heading', 'Summary of actions']
245
- ],
246
- '/guidance/food-labelling-changes-after-brexit': [
247
- ['Heading', 'Goods sold in the UK']
248
- ],
249
- '/guidance/export-horses-and-ponies-special-rules': [
250
- ['Heading', 'Moving equines to the EU in a no-deal Brexit']
251
- ],
252
- '/guidance/trading-and-moving-endangered-species-protected-by-cites-if-theres-no-withdrawal-deal': [
253
- ['Heading', 'Trading with the EU']
254
- ],
255
103
  '/guidance/wine-trade-regulations': [
256
104
  ['Heading', 'Rules for transporting wine into the UK']
257
105
  ],
258
- '/guidance/the-food-and-drink-sector-and-preparing-for-eu-exit': [
259
- ['Heading', 'Importing and exporting']
260
- ],
261
- '/guidance/exporting-and-importing-fish-if-theres-no-brexit-deal': [
262
- ['Heading', 'Send fish to an EU border control post']
263
- ],
264
- '/guidance/the-fisheries-sector-and-preparing-for-eu-exit': [
265
- ['Heading', 'Licensing arrangements']
266
- ],
267
- '/guidance/import-fish-after-a-no-deal-brexit': [
268
- ['Heading', 'Direct landings into the UK']
269
- ],
270
106
  '/guidance/the-chemicals-sector-and-preparing-for-eu-exit': [
271
107
  ['Heading', 'Energy and climate']
272
108
  ],
273
- '/government/publications/trading-electricity-if-theres-no-brexit-deal/trading-electricity-if-theres-no-brexit-deal': [
274
- ['Heading', 'Summary of actions']
275
- ],
276
109
  '/guidance/how-to-move-goods-between-or-through-common-transit-countries-including-the-eu': [
277
110
  ['Heading', 'Start moving your goods']
278
111
  ],
279
112
  '/guidance/ecmt-international-road-haulage-permits': [
280
113
  ['Heading', 'Apply for permits']
281
114
  ],
282
- '/guidance/transporting-goods-between-the-uk-and-eu-in-a-no-deal-brexit-guidance-for-hauliers': [
283
- ['Heading', 'Cross-border responsibilities when moving goods']
284
- ],
285
- '/guidance/carry-out-international-road-haulage-after-brexit': [
286
- ['Heading', 'Vehicle and trailer insurance']
287
- ],
288
115
  '/guidance/prepare-to-drive-in-the-eu-after-brexit-lorry-and-goods-vehicle-drivers': [
289
116
  ['Heading', 'Driver CPC for lorry drivers']
290
117
  ],
@@ -294,45 +121,18 @@
294
121
  '/guidance/vehicle-type-approval-if-theres-no-brexit-deal': [
295
122
  ['Heading', 'Existing vehicle and component type-approvals']
296
123
  ],
297
- '/guidance/hauliers-and-commercial-drivers-you-will-need-new-documents-to-transport-goods-into-the-eu-after-brexit': [
298
- ['Heading', 'Driver documents']
299
- ],
300
- '/guidance/how-to-move-goods-through-roro-locations-in-a-no-deal-brexit-eu-to-uk-and-uk-to-eu': [
301
- ['Heading', 'EU to UK: pre-journey from EU to the UK']
302
- ],
303
124
  '/guidance/the-retail-sector-and-preparing-for-eu-exit': [
304
125
  ['Heading', 'Importing and exporting']
305
126
  ],
306
127
  '/guidance/the-consumer-goods-sector-and-preparing-for-eu-exit': [
307
128
  ['Heading', 'Importing and exporting']
308
129
  ],
309
- '/guidance/textile-labelling-after-brexit': [
310
- ['Heading', 'Labelling requirements']
311
- ],
312
- '/guidance/footwear-labelling-after-brexit': [
313
- ['Heading', 'Labelling requirements']
314
- ],
315
130
  '/government/publications/banking-insurance-and-other-financial-services-if-theres-no-brexit-deal/banking-insurance-and-other-financial-services-if-theres-no-brexit-deal-information-for-financial-services-institutions': [
316
131
  ['Heading', '3. Action taken by the UK']
317
132
  ],
318
- '/government/publications/eu-lawyers-in-the-uk-after-a-no-deal-brexit/eu-lawyers-in-the-uk-after-a-no-deal-brexit': [
319
- ['Heading', 'Lawyers with EU, Norway, Iceland or Liechtenstein qualifications and professional titles']
320
- ],
321
133
  '/government/publications/further-guidance-note-on-the-regulation-of-medicines-medical-devices-and-clinical-trials-if-theres-no-brexit-deal/further-guidance-note-on-the-regulation-of-medicines-medical-devices-and-clinical-trials-if-theres-no-brexit-deal': [
322
134
  ['Heading', '1.4 Orphan medicines']
323
135
  ],
324
- '/guidance/accounting-if-theres-no-brexit-deal': [
325
- ['Heading', 'UK public companies with an EEA listing']
326
- ],
327
- '/guidance/broadcasting-and-video-on-demand-if-theres-no-brexit-deal': [
328
- ['Heading', 'Get local legal advice about your video on-demand services']
329
- ],
330
- '/guidance/changes-to-copyright-law-after-brexit': [
331
- ['Heading', 'Artist’s resale right']
332
- ],
333
- '/guidance/changes-to-eu-and-international-designs-and-trade-mark-protection-after-brexit': [
334
- ['Heading', 'Registered design']
335
- ],
336
136
  '/guidance/check-temporary-rates-of-customs-duty-on-imports-after-eu-exit': [
337
137
  ['Heading', 'Tariff-rate quotas (TRQ)']
338
138
  ],
@@ -342,60 +142,15 @@
342
142
  '/guidance/european-and-domestic-funding-after-brexit': [
343
143
  ['Heading', 'What you need to do']
344
144
  ],
345
- '/guidance/exhaustion-of-ip-rights-and-parallel-trade-after-brexit': [
346
- ['Heading', 'Actions for IP rights holders']
347
- ],
348
- '/guidance/exporting-nuclear-related-items-after-brexit': [
349
- ['Heading', 'Exporting dual-use items']
350
- ],
351
145
  '/guidance/guidance-on-substantial-amendments-to-a-clinical-trial-if-the-uk-leaves-the-eu-with-no-deal': [
352
146
  ['Heading', 'Investigational medicinal product (IMP) certification and importation']
353
147
  ],
354
- '/guidance/importing-and-exporting-waste-if-theres-no-brexit-deal': [
355
- ['Heading', 'Rules after the UK leaves the EU']
356
- ],
357
- '/guidance/merger-review-and-anti-competitive-activity-after-brexit': [
358
- ['Heading', 'Mergers']
359
- ],
360
- '/guidance/nis-regulations-what-uk-digital-service-providers-operating-in-the-eu-should-do-after-brexit': [
361
- ['Heading', 'How RDSPs are regulated in the UK']
362
- ],
363
- '/guidance/placing-manufactured-goods-on-the-eu-internal-market-if-theres-no-deal': [
364
- ['Heading', 'Appointing an authorised representative or responsible person in the EU']
365
- ],
366
- '/guidance/prepare-to-import-relevant-nuclear-materials-from-the-eu-after-brexit-licensing-requirements': [
367
- ['Heading', 'More information']
368
- ],
369
- '/guidance/prepare-to-use-the-ukca-mark-after-brexit': [
370
- ['Heading', 'Check whether you will need to use the new UKCA marking']
371
- ],
372
- '/guidance/prepare-to-work-and-operate-in-the-european-aviation-sector-after-brexit': [
373
- ['Heading', 'Requirements for aviation businesses operating in Europe after the UK leaves the EU']
374
- ],
375
- '/guidance/public-sector-procurement-after-a-no-deal-brexit': [
376
- ['Heading', 'What will change for contracting authorities and entities']
377
- ],
378
- '/guidance/satellites-and-space-programmes-after-brexit': [
379
- ['Heading', 'Copernicus']
380
- ],
381
- '/guidance/shipping-radioactive-waste-and-spent-fuel-after-brexit': [
382
- ['Heading', 'After Brexit']
383
- ],
384
- '/guidance/trading-timber-imports-and-exports-if-theres-no-brexit-deal': [
385
- ['Heading', 'Importing timber for the UK market']
386
- ],
387
- '/guidance/what-you-need-to-move-goods-between-or-through-common-transit-countries-including-the-eu': [
388
- ['Heading', 'Getting a guarantee']
389
- ],
390
148
  '/taking-goods-out-uk-temporarily/get-an-ata-carnet': [
391
149
  ['Heading', 'Using an ATA Carnet']
392
150
  ],
393
151
  '/wood-packaging-import-export': [
394
152
  ['Heading', 'Export solid wood packaging']
395
153
  ],
396
- '/government/publications/vat-for-businesses-if-theres-no-brexit-deal/vat-for-businesses-if-theres-no-brexit-deal': [
397
- ['Heading', 'UK businesses importing goods from the EU']
398
- ],
399
154
  '/guidance/answers-to-the-most-common-topics-asked-about-by-the-public-for-the-coronavirus-press-conference': [
400
155
  ['Percent', 20],
401
156
  ['Percent', 40],
@@ -403,9 +158,6 @@
403
158
  ['Percent', 80],
404
159
  ['Percent', 100]
405
160
  ],
406
- '/eubusiness': [
407
- ['Heading', 'Additional help and support']
408
- ],
409
161
  '/coronavirus': [
410
162
  ['Percent', 20],
411
163
  ['Percent', 40],
@@ -440,6 +192,12 @@
440
192
  ['Percent', 60],
441
193
  ['Percent', 80],
442
194
  ['Percent', 100]
195
+ ],
196
+ '/next-steps-for-your-business/results': [
197
+ ['Heading', 'Things you need to do next'],
198
+ ['Heading', 'Rules to follow'],
199
+ ['Heading', 'Good to know'],
200
+ ['Heading', 'Change your answers']
443
201
  ]
444
202
  }
445
203
 
@@ -88,6 +88,7 @@ window.GOVUK.Modules = window.GOVUK.Modules || {};
88
88
  if (window.GOVUK.globalBarInit) {
89
89
  window.GOVUK.globalBarInit.init()
90
90
  }
91
+ window.GOVUK.triggerEvent(window, 'cookie-consent')
91
92
  }
92
93
 
93
94
  CookieBanner.prototype.rejectCookieConsent = function () {
@@ -0,0 +1,18 @@
1
+ (function (root) {
2
+ 'use strict'
3
+ window.GOVUK = window.GOVUK || {}
4
+
5
+ window.GOVUK.triggerEvent = function (element, eventName) {
6
+ var params = { bubbles: true, cancelable: true }
7
+ var event
8
+
9
+ if (typeof window.CustomEvent === 'function') {
10
+ event = new window.CustomEvent(eventName, params)
11
+ } else {
12
+ event = document.createEvent('CustomEvent')
13
+ event.initCustomEvent(eventName, params.bubbles, params.cancelable)
14
+ }
15
+
16
+ element.dispatchEvent(event)
17
+ }
18
+ }(window))
@@ -7,6 +7,11 @@
7
7
  a {
8
8
  @include govuk-link-common;
9
9
  @include govuk-link-style-default;
10
+ font-weight: bold;
11
+ }
12
+
13
+ .gem-c-metadata__definition-link {
14
+ font-weight: normal;
10
15
  }
11
16
  }
12
17
 
@@ -29,17 +34,19 @@
29
34
  }
30
35
  }
31
36
 
37
+ .gem-c-metadata__term,
38
+ .gem-c-metadata__definition {
39
+ line-height: 1.4;
40
+ }
41
+
32
42
  .gem-c-metadata__term {
33
43
  margin-top: .5em;
34
- line-height: 1.4;
35
44
 
36
45
  @include govuk-media-query($from: tablet) {
37
46
  box-sizing: border-box;
38
47
  float: left;
39
48
  clear: left;
40
- width: 30%;
41
- max-width: 11em;
42
- padding-right: govuk-spacing(2);
49
+ padding-right: govuk-spacing(1);
43
50
  margin-top: 0;
44
51
  }
45
52
  }
@@ -49,31 +56,21 @@
49
56
  clear: right;
50
57
 
51
58
  @include govuk-media-query($from: tablet) {
52
- padding-left: govuk-spacing(2);
59
+ padding-left: govuk-spacing(1);
53
60
  padding-right: 0;
54
61
  }
55
62
  }
56
63
 
57
64
  .gem-c-metadata__definition {
58
65
  margin: 0;
59
- line-height: 1.4;
60
66
 
61
67
  @include govuk-media-query($from: tablet) {
62
- float: left;
63
- width: 70%;
68
+ &:not(:last-of-type) {
69
+ margin-bottom: govuk-spacing(1);
70
+ }
64
71
  }
65
72
  }
66
73
 
67
- .gem-c-metadata__definition-link {
68
- text-decoration: none;
69
- }
70
-
71
- .gem-c-metadata__definition-link:focus,
72
- .gem-c-metadata__definition-link:active,
73
- .gem-c-metadata__definition-link:hover {
74
- text-decoration: underline;
75
- }
76
-
77
74
  .gem-c-metadata.direction-rtl .gem-c-metadata__definition {
78
75
  float: right;
79
76
  }
@@ -34,14 +34,15 @@
34
34
  <dd class="gem-c-metadata__definition"><%= history %></dd>
35
35
  <% end %>
36
36
  <% if local_assigns.include?(:first_published) && first_published %>
37
- <dt class="gem-c-metadata__term"><%= t("components.metadata.published", default: "Published") %>:</dt>
37
+ <dt class="gem-c-metadata__term"><%= t("components.metadata.published", default: "Published") %></dt>
38
38
  <dd class="gem-c-metadata__definition"><%= first_published %></dd>
39
39
  <% end %>
40
40
  <% if local_assigns.include?(:last_updated) && last_updated %>
41
- <dt class="gem-c-metadata__term"><%= t("components.metadata.last_updated", default: "Last updated") %>:</dt>
41
+ <dt class="gem-c-metadata__term"><%= t("components.metadata.last_updated", default: "Last updated") %></dt>
42
42
  <dd class="gem-c-metadata__definition">
43
- <%= last_updated %><% if local_assigns.include?(:see_updates_link) %>,
44
- <a href="#history" class="gem-c-metadata__definition-link"
43
+ <%= last_updated %>
44
+ <% if local_assigns.include?(:see_updates_link) %>
45
+ &#8212; <a href="#history" class="gem-c-metadata__definition-link"
45
46
  data-track-category="content-history"
46
47
  data-track-action="see-all-updates-link-clicked"
47
48
  data-track-label="history">
@@ -11,6 +11,9 @@
11
11
  small ||= false
12
12
  inline ||= false
13
13
  is_page_heading ||= false
14
+ heading_level = is_page_heading ? 'h1' : shared_helper.get_heading_level
15
+ heading_classes = %w(govuk-fieldset__heading)
16
+ heading_classes << "gem-c-radio__heading-text" if heading_level == 'h1'
14
17
 
15
18
  if ['s', 'm', 'l', 'xl'].include?(heading_size)
16
19
  size = heading_size
@@ -46,20 +49,12 @@
46
49
  %>
47
50
  <%= tag.div id: id, class: form_group_css_classes do %>
48
51
  <%= tag.fieldset class: "govuk-fieldset", "aria-describedby": aria do %>
49
-
50
52
  <% if heading.present? %>
51
- <% if is_page_heading %>
52
- <%= tag.legend class: legend_classes do %>
53
- <%= tag.span(heading_caption, class: "govuk-caption-#{size}") if heading_caption.present? %>
54
- <%= tag.h1 heading, class: "gem-c-radio__heading-text govuk-fieldset__heading" %>
55
- <% end %>
56
- <% else %>
57
- <%= tag.legend class: legend_classes do %>
58
- <%= content_tag(shared_helper.get_heading_level, heading, class: "govuk-fieldset__heading") %>
59
- <% end %>
53
+ <%= tag.legend class: legend_classes do %>
54
+ <%= tag.span(heading_caption, class: "govuk-caption-#{size}") if heading_caption.present? %>
55
+ <%= content_tag(heading_level, heading, class: heading_classes) %>
60
56
  <% end %>
61
57
  <% end %>
62
-
63
58
  <% if description.present? %>
64
59
  <%= tag.div description, class: "govuk-body" %>
65
60
  <% end %>
@@ -66,6 +66,15 @@ en:
66
66
  hide_button: "Hide search"
67
67
  top_level: "Top level"
68
68
  menu: "Menu"
69
+ metadata:
70
+ from: "From"
71
+ part_of: "Part of"
72
+ history: "History"
73
+ published: "Published"
74
+ last_updated: "Last updated"
75
+ see_all_updates: "See all updates"
76
+ toggle_less: "Show fewer"
77
+ toggle_more: "+ %{number} more"
69
78
  organisation_schema:
70
79
  all_content_search_description: "Find all content from %{organisation}"
71
80
  radio:
@@ -60,6 +60,11 @@ module GovukPublishingComponents
60
60
  step_by_step: false,
61
61
  breadcrumbs: navigation.breadcrumbs,
62
62
  }
63
+ elsif navigation.content_is_travel_advice?
64
+ {
65
+ step_by_step: false,
66
+ breadcrumbs: navigation.breadcrumbs,
67
+ }
63
68
  elsif navigation.content_has_a_topic?
64
69
  {
65
70
  step_by_step: false,
@@ -16,6 +16,10 @@ module GovukPublishingComponents
16
16
  content_item["document_type"] == "simple_smart_answer"
17
17
  end
18
18
 
19
+ def content_is_travel_advice?
20
+ content_item["document_type"] == "travel_advice"
21
+ end
22
+
19
23
  def html_publication_with_parent?
20
24
  (content_item["document_type"] == "html_publication") && parent_api_path
21
25
  end
@@ -1,3 +1,3 @@
1
1
  module GovukPublishingComponents
2
- VERSION = "24.10.1".freeze
2
+ VERSION = "24.10.2".freeze
3
3
  end
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: 24.10.1
4
+ version: 24.10.2
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-05-06 00:00:00.000000000 Z
11
+ date: 2021-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: govuk_app_config
@@ -482,6 +482,7 @@ files:
482
482
  - app/assets/javascripts/govuk_publishing_components/lib/toggle-input-class-on-focus.js
483
483
  - app/assets/javascripts/govuk_publishing_components/lib/toggle.js
484
484
  - app/assets/javascripts/govuk_publishing_components/lib/track-click.js
485
+ - app/assets/javascripts/govuk_publishing_components/lib/trigger-event.js
485
486
  - app/assets/javascripts/govuk_publishing_components/modules.js
486
487
  - app/assets/javascripts/govuk_publishing_components/vendor/html5shiv-printshiv.js
487
488
  - app/assets/javascripts/govuk_publishing_components/vendor/json2.js