govuk_publishing_components 25.1.0 → 25.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/govuk_publishing_components/components/layout-super-navigation-header.js +234 -40
  3. data/app/assets/javascripts/govuk_publishing_components/lib/govspeak/youtube-link-enhancement.js +6 -0
  4. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +580 -41
  5. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_charts.scss +5 -0
  6. data/app/views/govuk_publishing_components/components/_layout_for_public.html.erb +1 -1
  7. data/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb +244 -63
  8. data/config/locales/ar.yml +5 -3
  9. data/config/locales/az.yml +5 -3
  10. data/config/locales/be.yml +5 -3
  11. data/config/locales/bg.yml +5 -3
  12. data/config/locales/bn.yml +5 -3
  13. data/config/locales/cs.yml +5 -3
  14. data/config/locales/cy.yml +8 -6
  15. data/config/locales/da.yml +5 -3
  16. data/config/locales/de.yml +5 -3
  17. data/config/locales/dr.yml +5 -3
  18. data/config/locales/el.yml +5 -3
  19. data/config/locales/en.yml +87 -83
  20. data/config/locales/es-419.yml +5 -3
  21. data/config/locales/es.yml +5 -3
  22. data/config/locales/et.yml +5 -3
  23. data/config/locales/fa.yml +5 -3
  24. data/config/locales/fi.yml +5 -3
  25. data/config/locales/fr.yml +5 -3
  26. data/config/locales/gd.yml +5 -3
  27. data/config/locales/gu.yml +5 -3
  28. data/config/locales/he.yml +5 -3
  29. data/config/locales/hi.yml +5 -3
  30. data/config/locales/hr.yml +5 -3
  31. data/config/locales/hu.yml +5 -3
  32. data/config/locales/hy.yml +5 -3
  33. data/config/locales/id.yml +5 -3
  34. data/config/locales/is.yml +5 -3
  35. data/config/locales/it.yml +5 -3
  36. data/config/locales/ja.yml +5 -3
  37. data/config/locales/ka.yml +5 -3
  38. data/config/locales/kk.yml +5 -3
  39. data/config/locales/ko.yml +5 -3
  40. data/config/locales/lt.yml +5 -3
  41. data/config/locales/lv.yml +5 -3
  42. data/config/locales/ms.yml +5 -3
  43. data/config/locales/mt.yml +5 -3
  44. data/config/locales/nl.yml +5 -3
  45. data/config/locales/no.yml +5 -3
  46. data/config/locales/pa-pk.yml +5 -3
  47. data/config/locales/pa.yml +5 -3
  48. data/config/locales/pl.yml +5 -3
  49. data/config/locales/ps.yml +5 -3
  50. data/config/locales/pt.yml +5 -3
  51. data/config/locales/ro.yml +5 -3
  52. data/config/locales/ru.yml +5 -3
  53. data/config/locales/si.yml +5 -3
  54. data/config/locales/sk.yml +5 -3
  55. data/config/locales/sl.yml +5 -3
  56. data/config/locales/so.yml +5 -3
  57. data/config/locales/sq.yml +5 -3
  58. data/config/locales/sr.yml +5 -3
  59. data/config/locales/sv.yml +5 -3
  60. data/config/locales/sw.yml +5 -3
  61. data/config/locales/ta.yml +5 -3
  62. data/config/locales/th.yml +5 -3
  63. data/config/locales/tk.yml +5 -3
  64. data/config/locales/tr.yml +5 -3
  65. data/config/locales/uk.yml +5 -3
  66. data/config/locales/ur.yml +5 -3
  67. data/config/locales/uz.yml +5 -3
  68. data/config/locales/vi.yml +5 -3
  69. data/config/locales/zh-hk.yml +5 -3
  70. data/config/locales/zh-tw.yml +5 -3
  71. data/config/locales/zh.yml +5 -3
  72. data/lib/govuk_publishing_components/version.rb +1 -1
  73. metadata +2 -2
@@ -82,11 +82,13 @@ cs:
82
82
  layout_super_navigation_header:
83
83
  logo_link_title:
84
84
  logo_text:
85
+ navigation_links:
85
86
  navigation_menu_heading:
86
- search_text:
87
- popular_links_heading:
87
+ navigation_search_heading:
88
+ navigation_search_subheading:
88
89
  popular_links:
89
- navigation_links:
90
+ popular_links_heading:
91
+ search_text:
90
92
  metadata:
91
93
  from:
92
94
  history:
@@ -82,11 +82,13 @@ cy:
82
82
  layout_super_navigation_header:
83
83
  logo_link_title:
84
84
  logo_text:
85
+ navigation_links:
85
86
  navigation_menu_heading:
86
- search_text:
87
- popular_links_heading:
87
+ navigation_search_heading:
88
+ navigation_search_subheading:
88
89
  popular_links:
89
- navigation_links:
90
+ popular_links_heading:
91
+ search_text:
90
92
  metadata:
91
93
  from:
92
94
  history:
@@ -124,12 +126,12 @@ cy:
124
126
  topical_events:
125
127
  topics: Archwilio’r pwnc
126
128
  transition:
127
- link_path: "/brexit.cy"
128
- link_text: Cael rhestr bersonol o gamau gweithredu
129
- title: Brexit
130
129
  hub_page_link_path:
131
130
  hub_page_link_text:
132
131
  hub_page_title: Gwiriwr Brexit
132
+ link_path: "/brexit.cy"
133
+ link_text: Cael rhestr bersonol o gamau gweithredu
134
+ title: Brexit
133
135
  world_locations:
134
136
  search_box:
135
137
  input_title:
@@ -82,11 +82,13 @@ da:
82
82
  layout_super_navigation_header:
83
83
  logo_link_title:
84
84
  logo_text:
85
+ navigation_links:
85
86
  navigation_menu_heading:
86
- search_text:
87
- popular_links_heading:
87
+ navigation_search_heading:
88
+ navigation_search_subheading:
88
89
  popular_links:
89
- navigation_links:
90
+ popular_links_heading:
91
+ search_text:
90
92
  metadata:
91
93
  from:
92
94
  history:
@@ -82,11 +82,13 @@ de:
82
82
  layout_super_navigation_header:
83
83
  logo_link_title:
84
84
  logo_text:
85
+ navigation_links:
85
86
  navigation_menu_heading:
86
- search_text:
87
- popular_links_heading:
87
+ navigation_search_heading:
88
+ navigation_search_subheading:
88
89
  popular_links:
89
- navigation_links:
90
+ popular_links_heading:
91
+ search_text:
90
92
  metadata:
91
93
  from:
92
94
  history:
@@ -82,11 +82,13 @@ dr:
82
82
  layout_super_navigation_header:
83
83
  logo_link_title:
84
84
  logo_text:
85
+ navigation_links:
85
86
  navigation_menu_heading:
86
- search_text:
87
- popular_links_heading:
87
+ navigation_search_heading:
88
+ navigation_search_subheading:
88
89
  popular_links:
89
- navigation_links:
90
+ popular_links_heading:
91
+ search_text:
90
92
  metadata:
91
93
  from:
92
94
  history:
@@ -82,11 +82,13 @@ el:
82
82
  layout_super_navigation_header:
83
83
  logo_link_title:
84
84
  logo_text:
85
+ navigation_links:
85
86
  navigation_menu_heading:
86
- search_text:
87
- popular_links_heading:
87
+ navigation_search_heading:
88
+ navigation_search_subheading:
88
89
  popular_links:
89
- navigation_links:
90
+ popular_links_heading:
91
+ search_text:
90
92
  metadata:
91
93
  from:
92
94
  history:
@@ -90,88 +90,92 @@ en:
90
90
  layout_super_navigation_header:
91
91
  logo_link_title: Go to the GOV.UK homepage
92
92
  logo_text: GOV.UK
93
+ menu_toggle_label:
94
+ hide: Hide %{label} menu
95
+ show: Show %{label} menu
96
+ navigation_links:
97
+ - label: Topics
98
+ href: "/browse"
99
+ description: Find information and services
100
+ menu_contents:
101
+ - label: Benefits
102
+ href: "/browse/benefits"
103
+ - label: Births, death, marriages and care
104
+ href: "/browse/births-deaths-marriages"
105
+ - label: Brexit
106
+ href: "/brexit"
107
+ - label: Business and self-employed
108
+ href: "/browse/business"
109
+ - label: Childcare and parenting
110
+ href: "/browse/childcare-parenting"
111
+ - label: Citizenship and living in the UK
112
+ href: "/browse/citizenship"
113
+ - label: Coronavirus (COVID‑19)
114
+ href: "/coronavirus"
115
+ - label: Crime, justice and the law
116
+ href: "/browse/justice"
117
+ - label: Disabled people
118
+ href: "/browse/disabilities"
119
+ - label: Driving and transport
120
+ href: "/browse/driving"
121
+ - label: Education and learning
122
+ href: "/browse/education"
123
+ - label: Employing people
124
+ href: "/browse/employing-people"
125
+ - label: Environment and countryside
126
+ href: "/browse/environment-countryside"
127
+ - label: Housing and local services
128
+ href: "/browse/housing-local-services"
129
+ - label: Money and tax
130
+ href: "/browse/tax"
131
+ - label: Passports, travel and living abroad
132
+ href: "/browse/abroad"
133
+ - label: Visas and immigration
134
+ href: "/browse/visas-immigration"
135
+ - label: Working, jobs and pensions
136
+ href: "/browse/working"
137
+ - label: Departments
138
+ href: "/government/organisations"
139
+ - label: Government activity
140
+ href: "/search/news-and-communications"
141
+ description: Find out what the government is doing
142
+ menu_contents:
143
+ - label: News
144
+ href: "/search/news-and-communications"
145
+ description: News stories, speeches, letters and notices
146
+ - label: Guidance and regulation
147
+ href: "/search/guidance-and-regulation"
148
+ description: Detailed guidance, regulations and rules
149
+ - label: Research and statistics
150
+ href: "/search/research-and-statistics"
151
+ description: Reports, analysis and official statistics
152
+ - label: Policy papers and consultation
153
+ href: "/search/policy-papers-and-consultations"
154
+ description: Consultations and strategy
155
+ - label: Transparency
156
+ href: "/search/transparency-and-freedom-of-information-releases"
157
+ description: Government data, Freedom of Information releases and corporate reports
158
+ footer_links:
159
+ - label: How government works
160
+ href: "/government/how-government-works"
161
+ - label: Get involved
162
+ href: "/government/get-involved"
93
163
  navigation_menu_heading: Navigation menu
94
- search_text: Search GOV.UK
95
- popular_links_heading: Popular on GOV.UK
164
+ navigation_search_heading: Search and popular pages
165
+ navigation_search_subheading: Search
96
166
  popular_links:
97
- - label: 'Coronavirus (COVID-19): rules'
98
- href: /guidance/covid-19-coronavirus-restrictions-what-you-can-and-cannot-do
99
- - label: 'Brexit: check what you need to do'
100
- href: /brexit
101
- - label: Sign in to your personal tax account
102
- href: /personal-tax-account
103
- - label: Find a job
104
- href: /find-a-job
105
- - label: Sign in to your Universal Credit account
106
- href: /sign-in-universal-credit
107
- navigation_links:
108
- - label: Topics
109
- href: /browse
110
- description: Find information and services
111
- show: true
112
- menu_contents:
113
- - label: Benefits
114
- href: /browse/benefits
115
- - label: Births, death, marriages and care
116
- href: /browse/births-deaths-marriages
117
- - label: Brexit
118
- href: /brexit
119
- - label: Business and self-employed
120
- href: /browse/business
121
- - label: Childcare and parenting
122
- href: /browse/childcare-parenting
123
- - label: Citizenship and living in the UK
124
- href: /browse/citizenship
125
- - label: Coronavirus (COVID‑19)
126
- href: /coronavirus
127
- - label: Crime, justice and the law
128
- href: /browse/justice
129
- - label: Disabled people
130
- href: /browse/disabilities
131
- - label: Driving and transport
132
- href: /browse/driving
133
- - label: Education and learning
134
- href: /browse/education
135
- - label: Employing people
136
- href: /browse/employing-people
137
- - label: Environment and countryside
138
- href: /browse/environment-countryside
139
- - label: Housing and local services
140
- href: /browse/housing-local-services
141
- - label: Money and tax
142
- href: /browse/tax
143
- - label: Passports, travel and living abroad
144
- href: /browse/abroad
145
- - label: Visas and immigration
146
- href: /browse/visas-immigration
147
- - label: Working, jobs and pensions
148
- href: /browse/working
149
- - label: Departments
150
- href: /government/organisations
151
- - label: Government activity
152
- href: /search/news-and-communications
153
- description: Find out what the government is doing
154
- menu_contents:
155
- - label: News
156
- href: /search/news-and-communications
157
- description: News stories, speeches, letters and notices
158
- - label: Guidance and regulation
159
- href: /search/guidance-and-regulation
160
- description: Detailed guidance, regulations and rules
161
- - label: Research and statistics
162
- href: /search/research-and-statistics
163
- description: Reports, analysis and official statistics
164
- - label: Policy papers and consultation
165
- href: /search/policy-papers-and-consultations
166
- description: Consultations and strategy
167
- - label: Transparency
168
- href: /search/transparency-and-freedom-of-information-releases
169
- description: Government data, freedom of information releases and corporate reports
170
- footer_links:
171
- - label: How government works
172
- href: /government/how-government-works
173
- - label: Get involved
174
- href: /government/get-involved
167
+ - label: 'Coronavirus (COVID-19): guidance'
168
+ href: "/guidance/covid-19-coronavirus-restrictions-what-you-can-and-cannot-do"
169
+ - label: 'Brexit: check what you need to do'
170
+ href: "/brexit"
171
+ - label: Sign in to your personal tax account
172
+ href: "/personal-tax-account"
173
+ - label: Find a job
174
+ href: "/find-a-job"
175
+ - label: Sign in to your Universal Credit account
176
+ href: "/sign-in-universal-credit"
177
+ popular_links_heading: Popular on GOV.UK
178
+ search_text: Search GOV.UK
175
179
  metadata:
176
180
  from: From
177
181
  history: History
@@ -211,12 +215,12 @@ en:
211
215
  topical_events: Topical event
212
216
  topics: Explore the topic
213
217
  transition:
214
- link_path: "/brexit"
215
- link_text: Check what you need to do
216
- title: Brexit
217
218
  hub_page_link_path: "/transition-check/questions"
218
219
  hub_page_link_text: Get a personalised list of actions
219
220
  hub_page_title: Brexit checker
221
+ link_path: "/brexit"
222
+ link_text: Check what you need to do
223
+ title: Brexit
220
224
  world_locations: World locations
221
225
  search_box:
222
226
  input_title: Search
@@ -82,11 +82,13 @@ es-419:
82
82
  layout_super_navigation_header:
83
83
  logo_link_title:
84
84
  logo_text:
85
+ navigation_links:
85
86
  navigation_menu_heading:
86
- search_text:
87
- popular_links_heading:
87
+ navigation_search_heading:
88
+ navigation_search_subheading:
88
89
  popular_links:
89
- navigation_links:
90
+ popular_links_heading:
91
+ search_text:
90
92
  metadata:
91
93
  from:
92
94
  history:
@@ -82,11 +82,13 @@ es:
82
82
  layout_super_navigation_header:
83
83
  logo_link_title:
84
84
  logo_text:
85
+ navigation_links:
85
86
  navigation_menu_heading:
86
- search_text:
87
- popular_links_heading:
87
+ navigation_search_heading:
88
+ navigation_search_subheading:
88
89
  popular_links:
89
- navigation_links:
90
+ popular_links_heading:
91
+ search_text:
90
92
  metadata:
91
93
  from:
92
94
  history:
@@ -82,11 +82,13 @@ et:
82
82
  layout_super_navigation_header:
83
83
  logo_link_title:
84
84
  logo_text:
85
+ navigation_links:
85
86
  navigation_menu_heading:
86
- search_text:
87
- popular_links_heading:
87
+ navigation_search_heading:
88
+ navigation_search_subheading:
88
89
  popular_links:
89
- navigation_links:
90
+ popular_links_heading:
91
+ search_text:
90
92
  metadata:
91
93
  from:
92
94
  history:
@@ -82,11 +82,13 @@ fa:
82
82
  layout_super_navigation_header:
83
83
  logo_link_title:
84
84
  logo_text:
85
+ navigation_links:
85
86
  navigation_menu_heading:
86
- search_text:
87
- popular_links_heading:
87
+ navigation_search_heading:
88
+ navigation_search_subheading:
88
89
  popular_links:
89
- navigation_links:
90
+ popular_links_heading:
91
+ search_text:
90
92
  metadata:
91
93
  from:
92
94
  history:
@@ -82,11 +82,13 @@ fi:
82
82
  layout_super_navigation_header:
83
83
  logo_link_title:
84
84
  logo_text:
85
+ navigation_links:
85
86
  navigation_menu_heading:
86
- search_text:
87
- popular_links_heading:
87
+ navigation_search_heading:
88
+ navigation_search_subheading:
88
89
  popular_links:
89
- navigation_links:
90
+ popular_links_heading:
91
+ search_text:
90
92
  metadata:
91
93
  from:
92
94
  history:
@@ -82,11 +82,13 @@ fr:
82
82
  layout_super_navigation_header:
83
83
  logo_link_title:
84
84
  logo_text:
85
+ navigation_links:
85
86
  navigation_menu_heading:
86
- search_text:
87
- popular_links_heading:
87
+ navigation_search_heading:
88
+ navigation_search_subheading:
88
89
  popular_links:
89
- navigation_links:
90
+ popular_links_heading:
91
+ search_text:
90
92
  metadata:
91
93
  from:
92
94
  history:
@@ -82,11 +82,13 @@ gd:
82
82
  layout_super_navigation_header:
83
83
  logo_link_title:
84
84
  logo_text:
85
+ navigation_links:
85
86
  navigation_menu_heading:
86
- search_text:
87
- popular_links_heading:
87
+ navigation_search_heading:
88
+ navigation_search_subheading:
88
89
  popular_links:
89
- navigation_links:
90
+ popular_links_heading:
91
+ search_text:
90
92
  metadata:
91
93
  from:
92
94
  history:
@@ -82,11 +82,13 @@ gu:
82
82
  layout_super_navigation_header:
83
83
  logo_link_title:
84
84
  logo_text:
85
+ navigation_links:
85
86
  navigation_menu_heading:
86
- search_text:
87
- popular_links_heading:
87
+ navigation_search_heading:
88
+ navigation_search_subheading:
88
89
  popular_links:
89
- navigation_links:
90
+ popular_links_heading:
91
+ search_text:
90
92
  metadata:
91
93
  from:
92
94
  history: