govuk_publishing_components 27.11.0 → 27.14.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (92) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/govuk_publishing_components/components/layout-super-navigation-header.js +1 -1
  3. data/app/assets/javascripts/govuk_publishing_components/components/single-page-notification-button.js +48 -0
  4. data/app/assets/stylesheets/govuk_publishing_components/components/_accordion.scss +6 -4
  5. data/app/assets/stylesheets/govuk_publishing_components/components/_govspeak.scss +0 -1
  6. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +172 -119
  7. data/app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss +2 -2
  8. data/app/assets/stylesheets/govuk_publishing_components/components/mixins/_prefixed-transform.scss +5 -0
  9. data/app/assets/stylesheets/govuk_publishing_components/govuk_frontend_support.scss +9 -0
  10. data/app/views/govuk_publishing_components/components/_big_number.html.erb +0 -1
  11. data/app/views/govuk_publishing_components/components/_input.html.erb +35 -22
  12. data/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb +3 -3
  13. data/app/views/govuk_publishing_components/components/_metadata.html.erb +2 -0
  14. data/app/views/govuk_publishing_components/components/_search.html.erb +2 -1
  15. data/app/views/govuk_publishing_components/components/_single_page_notification_button.html.erb +7 -13
  16. data/app/views/govuk_publishing_components/components/contextual_sidebar/_brexit_cta.html.erb +4 -5
  17. data/app/views/govuk_publishing_components/components/docs/govspeak.yml +0 -6
  18. data/app/views/govuk_publishing_components/components/docs/input.yml +10 -0
  19. data/app/views/govuk_publishing_components/components/docs/metadata.yml +7 -0
  20. data/app/views/govuk_publishing_components/components/docs/single_page_notification_button.yml +21 -3
  21. data/config/locales/ar.yml +0 -3
  22. data/config/locales/az.yml +0 -3
  23. data/config/locales/be.yml +0 -3
  24. data/config/locales/bg.yml +0 -3
  25. data/config/locales/bn.yml +0 -3
  26. data/config/locales/cs.yml +0 -3
  27. data/config/locales/cy.yml +0 -3
  28. data/config/locales/da.yml +0 -3
  29. data/config/locales/de.yml +0 -3
  30. data/config/locales/dr.yml +0 -3
  31. data/config/locales/el.yml +0 -3
  32. data/config/locales/en.yml +1 -6
  33. data/config/locales/es-419.yml +0 -3
  34. data/config/locales/es.yml +0 -3
  35. data/config/locales/et.yml +0 -3
  36. data/config/locales/fa.yml +0 -3
  37. data/config/locales/fi.yml +0 -3
  38. data/config/locales/fr.yml +0 -3
  39. data/config/locales/gd.yml +0 -3
  40. data/config/locales/gu.yml +0 -3
  41. data/config/locales/he.yml +0 -3
  42. data/config/locales/hi.yml +0 -3
  43. data/config/locales/hr.yml +0 -3
  44. data/config/locales/hu.yml +0 -3
  45. data/config/locales/hy.yml +0 -3
  46. data/config/locales/id.yml +0 -3
  47. data/config/locales/is.yml +0 -3
  48. data/config/locales/it.yml +0 -3
  49. data/config/locales/ja.yml +0 -3
  50. data/config/locales/ka.yml +0 -3
  51. data/config/locales/kk.yml +0 -3
  52. data/config/locales/ko.yml +0 -3
  53. data/config/locales/lt.yml +0 -3
  54. data/config/locales/lv.yml +0 -3
  55. data/config/locales/ms.yml +0 -3
  56. data/config/locales/mt.yml +0 -3
  57. data/config/locales/nl.yml +0 -3
  58. data/config/locales/no.yml +0 -3
  59. data/config/locales/pa-pk.yml +0 -3
  60. data/config/locales/pa.yml +0 -3
  61. data/config/locales/pl.yml +0 -3
  62. data/config/locales/ps.yml +0 -3
  63. data/config/locales/pt.yml +0 -3
  64. data/config/locales/ro.yml +0 -3
  65. data/config/locales/ru.yml +0 -3
  66. data/config/locales/si.yml +0 -3
  67. data/config/locales/sk.yml +0 -3
  68. data/config/locales/sl.yml +0 -3
  69. data/config/locales/so.yml +0 -3
  70. data/config/locales/sq.yml +0 -3
  71. data/config/locales/sr.yml +0 -3
  72. data/config/locales/sv.yml +0 -3
  73. data/config/locales/sw.yml +0 -3
  74. data/config/locales/ta.yml +0 -3
  75. data/config/locales/th.yml +0 -3
  76. data/config/locales/tk.yml +0 -3
  77. data/config/locales/tr.yml +0 -3
  78. data/config/locales/uk.yml +0 -3
  79. data/config/locales/ur.yml +0 -3
  80. data/config/locales/uz.yml +0 -3
  81. data/config/locales/vi.yml +0 -3
  82. data/config/locales/zh-hk.yml +0 -3
  83. data/config/locales/zh-tw.yml +0 -3
  84. data/config/locales/zh.yml +0 -3
  85. data/lib/govuk_publishing_components/presenters/button_helper.rb +1 -0
  86. data/lib/govuk_publishing_components/presenters/contextual_navigation.rb +15 -4
  87. data/lib/govuk_publishing_components/presenters/single_page_notification_button_helper.rb +40 -0
  88. data/lib/govuk_publishing_components/version.rb +1 -1
  89. data/lib/govuk_publishing_components.rb +1 -1
  90. metadata +5 -4
  91. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_summary.scss +0 -27
  92. data/lib/govuk_publishing_components/presenters/brexit_cta_helper.rb +0 -33
@@ -2,7 +2,7 @@
2
2
  margin-bottom: govuk-spacing(3);
3
3
 
4
4
  @include govuk-media-query($from: tablet) {
5
- margin-bottom: govuk-spacing(6) * 1.5;
5
+ margin-bottom: govuk-spacing(7);
6
6
  }
7
7
  }
8
8
 
@@ -10,7 +10,7 @@
10
10
  margin-top: govuk-spacing(3);
11
11
 
12
12
  @include govuk-media-query($from: tablet) {
13
- margin-top: govuk-spacing(6) * 1.5;
13
+ margin-top: govuk-spacing(7);
14
14
  }
15
15
  }
16
16
 
@@ -0,0 +1,5 @@
1
+ @mixin prefixed-transform($translateY: 0, $rotate: 0, $scale: 1) {
2
+ -webkit-transform: translateY($translateY) rotate($rotate) scale($scale);
3
+ -ms-transform: translateY($translateY) rotate($rotate) scale($scale);
4
+ transform: translateY($translateY) rotate($rotate) scale($scale);
5
+ }
@@ -17,3 +17,12 @@ $gem-quiet-button-colour: govuk-colour("dark-grey", $legacy: "grey-1");
17
17
  $gem-quiet-button-hover-colour: darken($gem-quiet-button-colour, 5%);
18
18
 
19
19
  $gem-hover-dark-background: #dddcdb;
20
+
21
+ $govuk-colours-organisations: map-merge(
22
+ $govuk-colours-organisations,
23
+ (
24
+ "department-for-levelling-up-housing-and-communities": (
25
+ colour: #012169,
26
+ ),
27
+ )
28
+ );
@@ -1,5 +1,4 @@
1
1
  <%
2
- href ||= nil
3
2
  number ||= nil
4
3
  label ||= nil
5
4
  href ||= nil
@@ -1,13 +1,16 @@
1
1
  <%
2
2
  shared_helper = GovukPublishingComponents::Presenters::SharedHelper.new(local_assigns)
3
3
 
4
- id ||= "input-#{SecureRandom.hex(4)}"
5
- value ||= nil
6
- type ||= "text"
7
- describedby ||= nil
4
+ autocomplete ||= nil
8
5
  controls ||= nil
9
6
  data ||= nil
10
- autocomplete ||= nil
7
+ describedby ||= nil
8
+ enterkeyhint ||= nil
9
+ id ||= "input-#{SecureRandom.hex(4)}"
10
+ type ||= "text"
11
+ value ||= nil
12
+ inputmode ||= nil
13
+ pattern ||= nil
11
14
 
12
15
  label ||= nil
13
16
  hint ||= nil
@@ -32,6 +35,7 @@
32
35
  css_classes << "govuk-input--error" if has_error
33
36
  css_classes << "govuk-input--width-#{width}" if [2, 3, 4, 5, 10, 20, 30].include?(width)
34
37
  css_classes << "gem-c-input--with-search-icon" if search_icon
38
+
35
39
  form_group_css_classes = %w(govuk-form-group)
36
40
  form_group_css_classes << "govuk-form-group--error" if has_error && !grouped
37
41
 
@@ -44,14 +48,21 @@
44
48
  aria_described_by = aria_described_by.join(" ")
45
49
  end
46
50
 
51
+ checked_enterkeyhint = enterkeyhint if [
52
+ "done",
53
+ "enter",
54
+ "go",
55
+ "next",
56
+ "previous",
57
+ "search",
58
+ "send",
59
+ ].include?(enterkeyhint)
60
+
47
61
  if type == "number"
48
62
  type = "text"
49
63
  inputmode = "numeric"
50
64
  pattern = "[0-9]*"
51
65
  end
52
-
53
- inputmode ||= nil
54
- pattern ||= nil
55
66
  %>
56
67
 
57
68
  <%= content_tag :div, class: form_group_css_classes do %>
@@ -87,24 +98,26 @@
87
98
  } %>
88
99
  <% end %>
89
100
 
90
- <% input_tag = tag.input name: name,
91
- value: value,
92
- class: css_classes,
93
- id: id,
94
- type: type,
95
- data: data,
101
+ <% input_tag = tag.input({
102
+ aria: {
103
+ describedby: aria_described_by,
104
+ controls: controls
105
+ },
96
106
  autocomplete: autocomplete,
97
- tabindex: tabindex,
98
107
  autofocus: autofocus,
99
- readonly: readonly,
100
- maxlength: maxlength,
108
+ class: css_classes,
109
+ data: data,
110
+ enterkeyhint: checked_enterkeyhint,
111
+ id: id,
101
112
  inputmode: inputmode,
113
+ maxlength: maxlength,
114
+ name: name,
102
115
  pattern: pattern,
103
- aria: {
104
- describedby: aria_described_by,
105
- controls: controls
106
- }
107
- %>
116
+ readonly: readonly,
117
+ tabindex: tabindex,
118
+ type: type,
119
+ value: value,
120
+ }) %>
108
121
 
109
122
  <% if prefix && suffix %>
110
123
  <%= tag.div class: "govuk-input__wrapper" do %>
@@ -133,7 +133,7 @@
133
133
  class="gem-c-layout-super-navigation-header__navigation-dropdown-menu"
134
134
  id="super-navigation-menu__section-<%= unique_id %>"
135
135
  >
136
- <div class="govuk-width-container">
136
+ <div class="govuk-width-container gem-c-layout-super-navigation-header__width-container">
137
137
  <div class="govuk-grid-row">
138
138
  <div class="govuk-grid-column-one-third-from-desktop">
139
139
  <% if link[:description].present? %>
@@ -144,7 +144,7 @@
144
144
  </div>
145
145
  <div class="govuk-grid-column-two-thirds-from-desktop">
146
146
  <% if link[:menu_contents].present? %>
147
- <ul class="govuk-list gem-c-layout-super-navigation-header__navigation-second-items gem-c-layout-super-navigation-header__navigation-second-items--<%= link[:label].parameterize %>">
147
+ <ul class="gem-c-layout-super-navigation-header__navigation-second-items gem-c-layout-super-navigation-header__navigation-second-items--<%= link[:label].parameterize %>">
148
148
  <% link[:menu_contents].each do | item | %>
149
149
  <%
150
150
  has_description = item[:description].present?
@@ -163,7 +163,7 @@
163
163
  track_dimension_index: "29",
164
164
  }
165
165
  } %>
166
- <%= tag.p item[:description], class: "govuk-body govuk-!-margin-0 govuk-!-margin-top-1" if has_description %>
166
+ <%= tag.p item[:description], class: "gem-c-layout-super-navigation-header__navigation-second-item-description" if has_description %>
167
167
  </li>
168
168
  <% end %>
169
169
  </ul>
@@ -11,9 +11,11 @@
11
11
  direction_class = ""
12
12
  direction_class = " direction-#{direction}" if local_assigns.include?(:direction)
13
13
 
14
+ shared_helper = GovukPublishingComponents::Presenters::SharedHelper.new(local_assigns)
14
15
  classes = %w(gem-c-metadata)
15
16
  classes << "direction-#{direction}" if local_assigns.include?(:direction)
16
17
  classes << "gem-c-metadata--inverse" if inverse
18
+ classes << shared_helper.get_margin_bottom if local_assigns[:margin_bottom]
17
19
  %>
18
20
  <%= content_tag :div, class: classes, data: { module: "gem-toggle" } do %>
19
21
  <dl data-module="gem-track-click">
@@ -43,6 +43,7 @@
43
43
  aria: {
44
44
  controls: aria_controls,
45
45
  },
46
+ enterkeyhint: "search",
46
47
  class: "gem-c-search__item gem-c-search__input js-class-toggle",
47
48
  id: id,
48
49
  name: name,
@@ -51,7 +52,7 @@
51
52
  value: value,
52
53
  ) %>
53
54
  <div class="gem-c-search__item gem-c-search__submit-wrapper">
54
- <%= tag.button class: "gem-c-search__submit", type: "submit", data: data_attributes do %>
55
+ <%= tag.button class: "gem-c-search__submit", type: "submit", data: data_attributes, enterkeyhint: "search" do %>
55
56
  <%= button_text %>
56
57
  <%= render "govuk_publishing_components/components/search/search_icon" %>
57
58
  <% end %>
@@ -1,23 +1,17 @@
1
1
  <%
2
- page ||= ''
3
- data_attributes ||= {}
4
- base_path ||= nil
5
- local_assigns[:margin_bottom] ||= 3
6
- already_subscribed ||= false
7
- text ||= already_subscribed ? t('components.single_page_notification_button.unsubscribe_text') : t('components.single_page_notification_button.subscribe_text')
8
-
2
+ component_helper = GovukPublishingComponents::Presenters::SinglePageNotificationButtonHelper.new(local_assigns)
9
3
  shared_helper = GovukPublishingComponents::Presenters::SharedHelper.new(local_assigns)
4
+
10
5
  wrapper_classes = %w(gem-c-single-page-notification-button govuk-!-display-none-print)
11
6
  wrapper_classes << shared_helper.get_margin_bottom
12
- classes = "govuk-body-s gem-c-single-page-notification-button__submit"
13
7
  %>
14
8
  <% button_text = capture do %>
15
- <svg class="gem-c-single-page-notification-button__icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" height="18" width="18" viewBox="0 0 459.334 459.334"><path fill="currentColor" d="M177.216 404.514c-.001.12-.009.239-.009.359 0 30.078 24.383 54.461 54.461 54.461s54.461-24.383 54.461-54.461c0-.12-.008-.239-.009-.359H175.216zM403.549 336.438l-49.015-72.002v-89.83c0-60.581-43.144-111.079-100.381-122.459V24.485C254.152 10.963 243.19 0 229.667 0s-24.485 10.963-24.485 24.485v27.663c-57.237 11.381-100.381 61.879-100.381 122.459v89.83l-49.015 72.002a24.76 24.76 0 0 0 20.468 38.693H383.08a24.761 24.761 0 0 0 20.469-38.694z"/></svg><%= text %>
9
+ <svg class="gem-c-single-page-notification-button__icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" height="18" width="18" viewBox="0 0 459.334 459.334"><path fill="currentColor" d="M177.216 404.514c-.001.12-.009.239-.009.359 0 30.078 24.383 54.461 54.461 54.461s54.461-24.383 54.461-54.461c0-.12-.008-.239-.009-.359H175.216zM403.549 336.438l-49.015-72.002v-89.83c0-60.581-43.144-111.079-100.381-122.459V24.485C254.152 10.963 243.19 0 229.667 0s-24.485 10.963-24.485 24.485v27.663c-57.237 11.381-100.381 61.879-100.381 122.459v89.83l-49.015 72.002a24.76 24.76 0 0 0 20.468 38.693H383.08a24.761 24.761 0 0 0 20.469-38.694z"/></svg><%= component_helper.button_text %>
16
10
  <% end %>
17
- <%= tag.form class: wrapper_classes, action: "/email/subscriptions/single-page/new", method: "POST", data: data_attributes do %>
18
- <input type="hidden" name="base_path" value="<%= base_path %>">
11
+ <%= tag.form class: wrapper_classes, action: "/email/subscriptions/single-page/new", method: "POST", data: component_helper.data do %>
12
+ <input type="hidden" name="base_path" value="<%= component_helper.base_path %>">
19
13
  <%= content_tag(:button, button_text, {
20
- class: classes,
14
+ class: "govuk-body-s gem-c-single-page-notification-button__submit",
21
15
  type: "submit",
22
16
  }) %>
23
- <% end if base_path.presence %>
17
+ <% end if component_helper.base_path %>
@@ -1,10 +1,9 @@
1
1
  <% shared_helper = GovukPublishingComponents::Presenters::SharedHelper.new(local_assigns) %>
2
- <% cta_helper = GovukPublishingComponents::Presenters::BrexitCtaHelper.new(content_item) %>
3
2
  <%
4
- title = t(cta_helper.title_key)
5
- link_text = t(cta_helper.link_text_key)
6
- link_path = t(cta_helper.link_path_key)
7
- lang = shared_helper.t_locale(cta_helper.title_key)
3
+ title = t("components.related_navigation.transition.title")
4
+ link_text = t("components.related_navigation.transition.link_text")
5
+ link_path = t("components.related_navigation.transition.link_path")
6
+ lang = shared_helper.t_locale("components.related_navigation.transition.title")
8
7
  %>
9
8
 
10
9
  <% data_attributes = {
@@ -811,12 +811,6 @@ examples:
811
811
  <div class="place">
812
812
  <p>This is a place</p>
813
813
  </div>
814
- summary:
815
- data:
816
- block: |
817
- <div class="summary">
818
- <p>This is a summary</p>
819
- </div>
820
814
  buttons:
821
815
  data:
822
816
  block: |
@@ -170,3 +170,13 @@ examples:
170
170
  name: "lead-times"
171
171
  width: 10
172
172
  suffix: "days"
173
+ with_enterhintkey_attribute:
174
+ description: |
175
+ To help users with virtual keyboards this changes the "enter" key to be a word that's more descriptive of the action.
176
+
177
+ Must be one of `enter`, `done`, `go`, `next`, `previous`, `search`, or `send`. See the [list of values and descriptions on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/enterkeyhint#values).
178
+ data:
179
+ label:
180
+ text: "Given name"
181
+ name: given-name
182
+ enterkeyhint: "next"
@@ -357,3 +357,10 @@ examples:
357
357
  Applies to: England, Scotland, and Wales (see detailed guidance for <a href="http://www.dardni.gov.uk/news-dard-pa022-a-13-new-procedure-for" rel="external">Northern Ireland</a>)
358
358
  context:
359
359
  dark_background: true
360
+ with_custom_margin_bottom:
361
+ description: |
362
+ The component accepts a number for margin bottom from 0 to 9 (0px to 60px) using the [GOV.UK Frontend spacing scale](https://design-system.service.gov.uk/styles/spacing/#the-responsive-spacing-scale). It defaults to the `margin-bottom` values defined in the [responsive-bottom-margin mixin](https://github.com/alphagov/govuk_publishing_components/blob/master/app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss#L1)
363
+ data:
364
+ first_published: 14 June 2014
365
+ last_updated: 10 September 2015
366
+ margin_bottom: 2
@@ -1,9 +1,10 @@
1
1
  name: Single page notification button
2
2
  description: A button that subscribes the user to email notifications to a page
3
3
  body: |
4
- By default, the component displays with the "Get emails about this page" state. The component does not render without the `base_path` parameter.
4
+ By default, the component displays with the "Get emails about this page" state.
5
+ If the `js-enhancement` flag is present, the component uses JavaScript to check if the user has already subscribed to email notifications on the current page. If yes, the state of the component updates accordingly.
5
6
 
6
- The `base_path` is necessary for [checking if an email subscription is active on page load](https://github.com/alphagov/account-api/blob/main/docs/api.md#get-apipersonalisationcheck-email-subscriptiontopic_slug) and the creation/deletion of an email notification subscription.
7
+ The component does not render without the `base_path` parameter. The `base_path` is necessary for [checking if an email subscription is active on page load](https://github.com/alphagov/account-api/blob/main/docs/api.md#get-apipersonalisationcheck-email-subscriptiontopic_slug) and the creation/deletion of an email notification subscription.
7
8
 
8
9
  When the button is clicked, the `base_path` is submitted to an endpoint which proceeds to check the user's authentication status and whether they are already subscribed to the page or not. Depending on these factors, they will be routed accordingly.
9
10
  accessibility_criteria: |
@@ -23,10 +24,27 @@ examples:
23
24
  data:
24
25
  base_path: '/current-page-path'
25
26
  data_attributes:
26
- category: fancyButtons
27
+ test_attribute: "testing"
27
28
  with_margin_bottom:
28
29
  description: |
29
30
  The component accepts a number for margin bottom from 0 to 9 (0px to 60px) using the [GOV.UK Frontend spacing scale](https://design-system.service.gov.uk/styles/spacing/#the-responsive-spacing-scale). It defaults to having a margin bottom of 15px.
30
31
  data:
31
32
  base_path: '/current-page-path'
32
33
  margin_bottom: 5
34
+ with_js_enhancement:
35
+ description: |
36
+ If the `js-enhancement` flag is present, the component uses JavaScript to check if the user has already subscribed to email notifications on the current page. If yes, the state of the component updates accordingly.
37
+ data:
38
+ base_path: '/current-page-path'
39
+ js_enhancement: true
40
+ with_button_location:
41
+ description: |
42
+ When there is more than one button on a page, we should specify their location so that Analytics can differentiate between them.
43
+
44
+ The location should have one of two values: "top" or "bottom".
45
+
46
+ When this parameter is passed, its value is reflected in the `data-action` attribute (i.e "Unsubscribe-button-top"). When the flag is not present, `data-action` defaults to "Subscribe-button" or "Unsubscribe-button", depending on the state of the button.
47
+ data:
48
+ base_path: '/current-page-path'
49
+ js_enhancement: true
50
+ button_location: 'top'
@@ -166,9 +166,6 @@ ar:
166
166
  topical_events:
167
167
  topics:
168
168
  transition:
169
- hub_page_link_path:
170
- hub_page_link_text:
171
- hub_page_title:
172
169
  link_path:
173
170
  link_text:
174
171
  title:
@@ -166,9 +166,6 @@ az:
166
166
  topical_events:
167
167
  topics:
168
168
  transition:
169
- hub_page_link_path:
170
- hub_page_link_text:
171
- hub_page_title:
172
169
  link_path:
173
170
  link_text:
174
171
  title:
@@ -166,9 +166,6 @@ be:
166
166
  topical_events:
167
167
  topics:
168
168
  transition:
169
- hub_page_link_path:
170
- hub_page_link_text:
171
- hub_page_title:
172
169
  link_path:
173
170
  link_text:
174
171
  title:
@@ -166,9 +166,6 @@ bg:
166
166
  topical_events:
167
167
  topics:
168
168
  transition:
169
- hub_page_link_path:
170
- hub_page_link_text:
171
- hub_page_title:
172
169
  link_path:
173
170
  link_text:
174
171
  title:
@@ -166,9 +166,6 @@ bn:
166
166
  topical_events:
167
167
  topics:
168
168
  transition:
169
- hub_page_link_path:
170
- hub_page_link_text:
171
- hub_page_title:
172
169
  link_path:
173
170
  link_text:
174
171
  title:
@@ -166,9 +166,6 @@ cs:
166
166
  topical_events:
167
167
  topics:
168
168
  transition:
169
- hub_page_link_path:
170
- hub_page_link_text:
171
- hub_page_title:
172
169
  link_path:
173
170
  link_text:
174
171
  title:
@@ -166,9 +166,6 @@ cy:
166
166
  topical_events:
167
167
  topics: Archwilio’r pwnc
168
168
  transition:
169
- hub_page_link_path:
170
- hub_page_link_text:
171
- hub_page_title: Gwiriwr Brexit
172
169
  link_path: "/brexit.cy"
173
170
  link_text: Cael rhestr bersonol o gamau gweithredu
174
171
  title: Brexit
@@ -166,9 +166,6 @@ da:
166
166
  topical_events:
167
167
  topics:
168
168
  transition:
169
- hub_page_link_path:
170
- hub_page_link_text:
171
- hub_page_title:
172
169
  link_path:
173
170
  link_text:
174
171
  title:
@@ -166,9 +166,6 @@ de:
166
166
  topical_events:
167
167
  topics:
168
168
  transition:
169
- hub_page_link_path:
170
- hub_page_link_text:
171
- hub_page_title:
172
169
  link_path:
173
170
  link_text:
174
171
  title:
@@ -166,9 +166,6 @@ dr:
166
166
  topical_events:
167
167
  topics:
168
168
  transition:
169
- hub_page_link_path:
170
- hub_page_link_text:
171
- hub_page_title:
172
169
  link_path:
173
170
  link_text:
174
171
  title:
@@ -166,9 +166,6 @@ el:
166
166
  topical_events:
167
167
  topics:
168
168
  transition:
169
- hub_page_link_path:
170
- hub_page_link_text:
171
- hub_page_title:
172
169
  link_path:
173
170
  link_text:
174
171
  title:
@@ -125,8 +125,6 @@ en:
125
125
  href: "/browse/benefits"
126
126
  - label: Births, death, marriages and care
127
127
  href: "/browse/births-deaths-marriages"
128
- - label: Brexit
129
- href: "/brexit"
130
128
  - label: Business and self-employed
131
129
  href: "/browse/business"
132
130
  - label: Childcare and parenting
@@ -179,7 +177,7 @@ en:
179
177
  description: Consultations and strategy
180
178
  - label: Transparency
181
179
  href: "/search/transparency-and-freedom-of-information-releases"
182
- description: Government data, Freedom of Information releases and corporate reports
180
+ description: Data, Freedom of Information releases and corporate reports
183
181
  footer_links:
184
182
  - label: How government works
185
183
  href: "/government/how-government-works"
@@ -240,9 +238,6 @@ en:
240
238
  topical_events: Topical event
241
239
  topics: Explore the topic
242
240
  transition:
243
- hub_page_link_path: "/transition-check/questions"
244
- hub_page_link_text: Get a personalised list of actions
245
- hub_page_title: Brexit checker
246
241
  link_path: "/brexit"
247
242
  link_text: Check what you need to do
248
243
  title: Brexit
@@ -166,9 +166,6 @@ es-419:
166
166
  topical_events:
167
167
  topics:
168
168
  transition:
169
- hub_page_link_path:
170
- hub_page_link_text:
171
- hub_page_title:
172
169
  link_path:
173
170
  link_text:
174
171
  title:
@@ -166,9 +166,6 @@ es:
166
166
  topical_events:
167
167
  topics:
168
168
  transition:
169
- hub_page_link_path:
170
- hub_page_link_text:
171
- hub_page_title:
172
169
  link_path:
173
170
  link_text:
174
171
  title:
@@ -166,9 +166,6 @@ et:
166
166
  topical_events:
167
167
  topics:
168
168
  transition:
169
- hub_page_link_path:
170
- hub_page_link_text:
171
- hub_page_title:
172
169
  link_path:
173
170
  link_text:
174
171
  title:
@@ -166,9 +166,6 @@ fa:
166
166
  topical_events:
167
167
  topics:
168
168
  transition:
169
- hub_page_link_path:
170
- hub_page_link_text:
171
- hub_page_title:
172
169
  link_path:
173
170
  link_text:
174
171
  title:
@@ -166,9 +166,6 @@ fi:
166
166
  topical_events:
167
167
  topics:
168
168
  transition:
169
- hub_page_link_path:
170
- hub_page_link_text:
171
- hub_page_title:
172
169
  link_path:
173
170
  link_text:
174
171
  title:
@@ -166,9 +166,6 @@ fr:
166
166
  topical_events:
167
167
  topics:
168
168
  transition:
169
- hub_page_link_path:
170
- hub_page_link_text:
171
- hub_page_title:
172
169
  link_path:
173
170
  link_text:
174
171
  title:
@@ -166,9 +166,6 @@ gd:
166
166
  topical_events:
167
167
  topics:
168
168
  transition:
169
- hub_page_link_path:
170
- hub_page_link_text:
171
- hub_page_title:
172
169
  link_path:
173
170
  link_text:
174
171
  title:
@@ -166,9 +166,6 @@ gu:
166
166
  topical_events:
167
167
  topics:
168
168
  transition:
169
- hub_page_link_path:
170
- hub_page_link_text:
171
- hub_page_title:
172
169
  link_path:
173
170
  link_text:
174
171
  title:
@@ -166,9 +166,6 @@ he:
166
166
  topical_events:
167
167
  topics:
168
168
  transition:
169
- hub_page_link_path:
170
- hub_page_link_text:
171
- hub_page_title:
172
169
  link_path:
173
170
  link_text:
174
171
  title:
@@ -166,9 +166,6 @@ hi:
166
166
  topical_events:
167
167
  topics:
168
168
  transition:
169
- hub_page_link_path:
170
- hub_page_link_text:
171
- hub_page_title:
172
169
  link_path:
173
170
  link_text:
174
171
  title:
@@ -166,9 +166,6 @@ hr:
166
166
  topical_events:
167
167
  topics:
168
168
  transition:
169
- hub_page_link_path:
170
- hub_page_link_text:
171
- hub_page_title:
172
169
  link_path:
173
170
  link_text:
174
171
  title:
@@ -166,9 +166,6 @@ hu:
166
166
  topical_events:
167
167
  topics:
168
168
  transition:
169
- hub_page_link_path:
170
- hub_page_link_text:
171
- hub_page_title:
172
169
  link_path:
173
170
  link_text:
174
171
  title:
@@ -166,9 +166,6 @@ hy:
166
166
  topical_events:
167
167
  topics:
168
168
  transition:
169
- hub_page_link_path:
170
- hub_page_link_text:
171
- hub_page_title:
172
169
  link_path:
173
170
  link_text:
174
171
  title:
@@ -166,9 +166,6 @@ id:
166
166
  topical_events:
167
167
  topics:
168
168
  transition:
169
- hub_page_link_path:
170
- hub_page_link_text:
171
- hub_page_title:
172
169
  link_path:
173
170
  link_text:
174
171
  title:
@@ -166,9 +166,6 @@ is:
166
166
  topical_events:
167
167
  topics:
168
168
  transition:
169
- hub_page_link_path:
170
- hub_page_link_text:
171
- hub_page_title:
172
169
  link_path:
173
170
  link_text:
174
171
  title: