govuk_publishing_components 24.18.5 → 24.21.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/govuk_publishing_components/analytics/scroll-tracker.js +59 -91
- data/app/assets/javascripts/govuk_publishing_components/components/layout-super-navigation-header.js +71 -0
- data/app/assets/javascripts/govuk_publishing_components/lib/trigger-event.js +13 -2
- data/app/assets/stylesheets/govuk_publishing_components/_all_components.scss +2 -0
- data/app/assets/stylesheets/govuk_publishing_components/_all_components_print.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss +7 -9
- data/app/assets/stylesheets/govuk_publishing_components/components/_intervention.scss +16 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss +0 -4
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +125 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_typography.scss +9 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/print/_layout-super-navigation-header.scss +3 -0
- data/app/views/govuk_publishing_components/component_guide/index.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_document_list.html.erb +3 -3
- data/app/views/govuk_publishing_components/components/_govspeak.html.erb +2 -0
- data/app/views/govuk_publishing_components/components/_intervention.html.erb +15 -0
- data/app/views/govuk_publishing_components/components/_layout_for_public.html.erb +19 -13
- data/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb +121 -0
- data/app/views/govuk_publishing_components/components/docs/govspeak.yml +9 -0
- data/app/views/govuk_publishing_components/components/docs/intervention.yml +24 -0
- data/app/views/govuk_publishing_components/components/docs/layout_for_public.yml +4 -0
- data/app/views/govuk_publishing_components/components/docs/layout_super_navigation_header.yml +22 -0
- data/app/views/govuk_publishing_components/components/layout_header/_header_logo.html.erb +3 -4
- data/config/initializers/assets.rb +0 -1
- data/config/locales/ar.yml +8 -0
- data/config/locales/az.yml +8 -0
- data/config/locales/be.yml +8 -0
- data/config/locales/bg.yml +8 -0
- data/config/locales/bn.yml +8 -0
- data/config/locales/cs.yml +8 -0
- data/config/locales/cy.yml +8 -0
- data/config/locales/da.yml +8 -0
- data/config/locales/de.yml +8 -0
- data/config/locales/dr.yml +8 -0
- data/config/locales/el.yml +8 -0
- data/config/locales/en.yml +89 -0
- data/config/locales/es-419.yml +8 -0
- data/config/locales/es.yml +8 -0
- data/config/locales/et.yml +8 -0
- data/config/locales/fa.yml +8 -0
- data/config/locales/fi.yml +8 -0
- data/config/locales/fr.yml +8 -0
- data/config/locales/gd.yml +8 -0
- data/config/locales/gu.yml +8 -0
- data/config/locales/he.yml +8 -0
- data/config/locales/hi.yml +8 -0
- data/config/locales/hr.yml +8 -0
- data/config/locales/hu.yml +8 -0
- data/config/locales/hy.yml +8 -0
- data/config/locales/id.yml +8 -0
- data/config/locales/is.yml +8 -0
- data/config/locales/it.yml +8 -0
- data/config/locales/ja.yml +8 -0
- data/config/locales/ka.yml +8 -0
- data/config/locales/kk.yml +8 -0
- data/config/locales/ko.yml +8 -0
- data/config/locales/lt.yml +8 -0
- data/config/locales/lv.yml +8 -0
- data/config/locales/ms.yml +8 -0
- data/config/locales/mt.yml +8 -0
- data/config/locales/nl.yml +8 -0
- data/config/locales/no.yml +8 -0
- data/config/locales/pa-pk.yml +8 -0
- data/config/locales/pa.yml +8 -0
- data/config/locales/pl.yml +8 -0
- data/config/locales/ps.yml +8 -0
- data/config/locales/pt.yml +8 -0
- data/config/locales/ro.yml +8 -0
- data/config/locales/ru.yml +8 -0
- data/config/locales/si.yml +8 -0
- data/config/locales/sk.yml +8 -0
- data/config/locales/sl.yml +8 -0
- data/config/locales/so.yml +8 -0
- data/config/locales/sq.yml +8 -0
- data/config/locales/sr.yml +8 -0
- data/config/locales/sv.yml +8 -0
- data/config/locales/sw.yml +8 -0
- data/config/locales/ta.yml +8 -0
- data/config/locales/th.yml +8 -0
- data/config/locales/tk.yml +8 -0
- data/config/locales/tr.yml +8 -0
- data/config/locales/uk.yml +8 -0
- data/config/locales/ur.yml +8 -0
- data/config/locales/uz.yml +8 -0
- data/config/locales/vi.yml +8 -0
- data/config/locales/zh-hk.yml +8 -0
- data/config/locales/zh-tw.yml +8 -0
- data/config/locales/zh.yml +8 -0
- data/lib/govuk_publishing_components/app_helpers/environment.rb +3 -8
- data/lib/govuk_publishing_components/presenters/content_breadcrumbs_based_on_priority.rb +32 -11
- data/lib/govuk_publishing_components/presenters/meta_tags.rb +11 -4
- data/lib/govuk_publishing_components/version.rb +1 -1
- metadata +10 -2
data/config/locales/ja.yml
CHANGED
@@ -79,6 +79,14 @@ ja:
|
|
79
79
|
search_button:
|
80
80
|
show_button:
|
81
81
|
top_level:
|
82
|
+
layout_super_navigation_header:
|
83
|
+
logo_link_title:
|
84
|
+
logo_text:
|
85
|
+
navigation_menu_heading:
|
86
|
+
search_text:
|
87
|
+
popular_links_heading:
|
88
|
+
popular_links:
|
89
|
+
navigation_links:
|
82
90
|
metadata:
|
83
91
|
from:
|
84
92
|
history:
|
data/config/locales/ka.yml
CHANGED
@@ -79,6 +79,14 @@ ka:
|
|
79
79
|
search_button:
|
80
80
|
show_button:
|
81
81
|
top_level:
|
82
|
+
layout_super_navigation_header:
|
83
|
+
logo_link_title:
|
84
|
+
logo_text:
|
85
|
+
navigation_menu_heading:
|
86
|
+
search_text:
|
87
|
+
popular_links_heading:
|
88
|
+
popular_links:
|
89
|
+
navigation_links:
|
82
90
|
metadata:
|
83
91
|
from:
|
84
92
|
history:
|
data/config/locales/kk.yml
CHANGED
@@ -79,6 +79,14 @@ kk:
|
|
79
79
|
search_button:
|
80
80
|
show_button:
|
81
81
|
top_level:
|
82
|
+
layout_super_navigation_header:
|
83
|
+
logo_link_title:
|
84
|
+
logo_text:
|
85
|
+
navigation_menu_heading:
|
86
|
+
search_text:
|
87
|
+
popular_links_heading:
|
88
|
+
popular_links:
|
89
|
+
navigation_links:
|
82
90
|
metadata:
|
83
91
|
from:
|
84
92
|
history:
|
data/config/locales/ko.yml
CHANGED
@@ -79,6 +79,14 @@ ko:
|
|
79
79
|
search_button:
|
80
80
|
show_button:
|
81
81
|
top_level:
|
82
|
+
layout_super_navigation_header:
|
83
|
+
logo_link_title:
|
84
|
+
logo_text:
|
85
|
+
navigation_menu_heading:
|
86
|
+
search_text:
|
87
|
+
popular_links_heading:
|
88
|
+
popular_links:
|
89
|
+
navigation_links:
|
82
90
|
metadata:
|
83
91
|
from:
|
84
92
|
history:
|
data/config/locales/lt.yml
CHANGED
@@ -79,6 +79,14 @@ lt:
|
|
79
79
|
search_button:
|
80
80
|
show_button:
|
81
81
|
top_level:
|
82
|
+
layout_super_navigation_header:
|
83
|
+
logo_link_title:
|
84
|
+
logo_text:
|
85
|
+
navigation_menu_heading:
|
86
|
+
search_text:
|
87
|
+
popular_links_heading:
|
88
|
+
popular_links:
|
89
|
+
navigation_links:
|
82
90
|
metadata:
|
83
91
|
from:
|
84
92
|
history:
|
data/config/locales/lv.yml
CHANGED
@@ -79,6 +79,14 @@ lv:
|
|
79
79
|
search_button:
|
80
80
|
show_button:
|
81
81
|
top_level:
|
82
|
+
layout_super_navigation_header:
|
83
|
+
logo_link_title:
|
84
|
+
logo_text:
|
85
|
+
navigation_menu_heading:
|
86
|
+
search_text:
|
87
|
+
popular_links_heading:
|
88
|
+
popular_links:
|
89
|
+
navigation_links:
|
82
90
|
metadata:
|
83
91
|
from:
|
84
92
|
history:
|
data/config/locales/ms.yml
CHANGED
@@ -79,6 +79,14 @@ ms:
|
|
79
79
|
search_button:
|
80
80
|
show_button:
|
81
81
|
top_level:
|
82
|
+
layout_super_navigation_header:
|
83
|
+
logo_link_title:
|
84
|
+
logo_text:
|
85
|
+
navigation_menu_heading:
|
86
|
+
search_text:
|
87
|
+
popular_links_heading:
|
88
|
+
popular_links:
|
89
|
+
navigation_links:
|
82
90
|
metadata:
|
83
91
|
from:
|
84
92
|
history:
|
data/config/locales/mt.yml
CHANGED
@@ -79,6 +79,14 @@ mt:
|
|
79
79
|
search_button:
|
80
80
|
show_button:
|
81
81
|
top_level:
|
82
|
+
layout_super_navigation_header:
|
83
|
+
logo_link_title:
|
84
|
+
logo_text:
|
85
|
+
navigation_menu_heading:
|
86
|
+
search_text:
|
87
|
+
popular_links_heading:
|
88
|
+
popular_links:
|
89
|
+
navigation_links:
|
82
90
|
metadata:
|
83
91
|
from:
|
84
92
|
history:
|
data/config/locales/nl.yml
CHANGED
@@ -79,6 +79,14 @@ nl:
|
|
79
79
|
search_button:
|
80
80
|
show_button:
|
81
81
|
top_level:
|
82
|
+
layout_super_navigation_header:
|
83
|
+
logo_link_title:
|
84
|
+
logo_text:
|
85
|
+
navigation_menu_heading:
|
86
|
+
search_text:
|
87
|
+
popular_links_heading:
|
88
|
+
popular_links:
|
89
|
+
navigation_links:
|
82
90
|
metadata:
|
83
91
|
from:
|
84
92
|
history:
|
data/config/locales/no.yml
CHANGED
@@ -79,6 +79,14 @@
|
|
79
79
|
search_button:
|
80
80
|
show_button:
|
81
81
|
top_level:
|
82
|
+
layout_super_navigation_header:
|
83
|
+
logo_link_title:
|
84
|
+
logo_text:
|
85
|
+
navigation_menu_heading:
|
86
|
+
search_text:
|
87
|
+
popular_links_heading:
|
88
|
+
popular_links:
|
89
|
+
navigation_links:
|
82
90
|
metadata:
|
83
91
|
from:
|
84
92
|
history:
|
data/config/locales/pa-pk.yml
CHANGED
@@ -79,6 +79,14 @@ pa-pk:
|
|
79
79
|
search_button:
|
80
80
|
show_button:
|
81
81
|
top_level:
|
82
|
+
layout_super_navigation_header:
|
83
|
+
logo_link_title:
|
84
|
+
logo_text:
|
85
|
+
navigation_menu_heading:
|
86
|
+
search_text:
|
87
|
+
popular_links_heading:
|
88
|
+
popular_links:
|
89
|
+
navigation_links:
|
82
90
|
metadata:
|
83
91
|
from:
|
84
92
|
history:
|
data/config/locales/pa.yml
CHANGED
@@ -79,6 +79,14 @@ pa:
|
|
79
79
|
search_button:
|
80
80
|
show_button:
|
81
81
|
top_level:
|
82
|
+
layout_super_navigation_header:
|
83
|
+
logo_link_title:
|
84
|
+
logo_text:
|
85
|
+
navigation_menu_heading:
|
86
|
+
search_text:
|
87
|
+
popular_links_heading:
|
88
|
+
popular_links:
|
89
|
+
navigation_links:
|
82
90
|
metadata:
|
83
91
|
from:
|
84
92
|
history:
|
data/config/locales/pl.yml
CHANGED
@@ -79,6 +79,14 @@ pl:
|
|
79
79
|
search_button:
|
80
80
|
show_button:
|
81
81
|
top_level:
|
82
|
+
layout_super_navigation_header:
|
83
|
+
logo_link_title:
|
84
|
+
logo_text:
|
85
|
+
navigation_menu_heading:
|
86
|
+
search_text:
|
87
|
+
popular_links_heading:
|
88
|
+
popular_links:
|
89
|
+
navigation_links:
|
82
90
|
metadata:
|
83
91
|
from:
|
84
92
|
history:
|
data/config/locales/ps.yml
CHANGED
@@ -79,6 +79,14 @@ ps:
|
|
79
79
|
search_button:
|
80
80
|
show_button:
|
81
81
|
top_level:
|
82
|
+
layout_super_navigation_header:
|
83
|
+
logo_link_title:
|
84
|
+
logo_text:
|
85
|
+
navigation_menu_heading:
|
86
|
+
search_text:
|
87
|
+
popular_links_heading:
|
88
|
+
popular_links:
|
89
|
+
navigation_links:
|
82
90
|
metadata:
|
83
91
|
from:
|
84
92
|
history:
|
data/config/locales/pt.yml
CHANGED
@@ -79,6 +79,14 @@ pt:
|
|
79
79
|
search_button:
|
80
80
|
show_button:
|
81
81
|
top_level:
|
82
|
+
layout_super_navigation_header:
|
83
|
+
logo_link_title:
|
84
|
+
logo_text:
|
85
|
+
navigation_menu_heading:
|
86
|
+
search_text:
|
87
|
+
popular_links_heading:
|
88
|
+
popular_links:
|
89
|
+
navigation_links:
|
82
90
|
metadata:
|
83
91
|
from:
|
84
92
|
history:
|
data/config/locales/ro.yml
CHANGED
@@ -79,6 +79,14 @@ ro:
|
|
79
79
|
search_button:
|
80
80
|
show_button:
|
81
81
|
top_level:
|
82
|
+
layout_super_navigation_header:
|
83
|
+
logo_link_title:
|
84
|
+
logo_text:
|
85
|
+
navigation_menu_heading:
|
86
|
+
search_text:
|
87
|
+
popular_links_heading:
|
88
|
+
popular_links:
|
89
|
+
navigation_links:
|
82
90
|
metadata:
|
83
91
|
from:
|
84
92
|
history:
|
data/config/locales/ru.yml
CHANGED
@@ -79,6 +79,14 @@ ru:
|
|
79
79
|
search_button:
|
80
80
|
show_button:
|
81
81
|
top_level:
|
82
|
+
layout_super_navigation_header:
|
83
|
+
logo_link_title:
|
84
|
+
logo_text:
|
85
|
+
navigation_menu_heading:
|
86
|
+
search_text:
|
87
|
+
popular_links_heading:
|
88
|
+
popular_links:
|
89
|
+
navigation_links:
|
82
90
|
metadata:
|
83
91
|
from:
|
84
92
|
history:
|
data/config/locales/si.yml
CHANGED
@@ -79,6 +79,14 @@ si:
|
|
79
79
|
search_button:
|
80
80
|
show_button:
|
81
81
|
top_level:
|
82
|
+
layout_super_navigation_header:
|
83
|
+
logo_link_title:
|
84
|
+
logo_text:
|
85
|
+
navigation_menu_heading:
|
86
|
+
search_text:
|
87
|
+
popular_links_heading:
|
88
|
+
popular_links:
|
89
|
+
navigation_links:
|
82
90
|
metadata:
|
83
91
|
from:
|
84
92
|
history:
|
data/config/locales/sk.yml
CHANGED
@@ -79,6 +79,14 @@ sk:
|
|
79
79
|
search_button:
|
80
80
|
show_button:
|
81
81
|
top_level:
|
82
|
+
layout_super_navigation_header:
|
83
|
+
logo_link_title:
|
84
|
+
logo_text:
|
85
|
+
navigation_menu_heading:
|
86
|
+
search_text:
|
87
|
+
popular_links_heading:
|
88
|
+
popular_links:
|
89
|
+
navigation_links:
|
82
90
|
metadata:
|
83
91
|
from:
|
84
92
|
history:
|
data/config/locales/sl.yml
CHANGED
@@ -79,6 +79,14 @@ sl:
|
|
79
79
|
search_button:
|
80
80
|
show_button:
|
81
81
|
top_level:
|
82
|
+
layout_super_navigation_header:
|
83
|
+
logo_link_title:
|
84
|
+
logo_text:
|
85
|
+
navigation_menu_heading:
|
86
|
+
search_text:
|
87
|
+
popular_links_heading:
|
88
|
+
popular_links:
|
89
|
+
navigation_links:
|
82
90
|
metadata:
|
83
91
|
from:
|
84
92
|
history:
|
data/config/locales/so.yml
CHANGED
@@ -79,6 +79,14 @@ so:
|
|
79
79
|
search_button:
|
80
80
|
show_button:
|
81
81
|
top_level:
|
82
|
+
layout_super_navigation_header:
|
83
|
+
logo_link_title:
|
84
|
+
logo_text:
|
85
|
+
navigation_menu_heading:
|
86
|
+
search_text:
|
87
|
+
popular_links_heading:
|
88
|
+
popular_links:
|
89
|
+
navigation_links:
|
82
90
|
metadata:
|
83
91
|
from:
|
84
92
|
history:
|
data/config/locales/sq.yml
CHANGED
@@ -79,6 +79,14 @@ sq:
|
|
79
79
|
search_button:
|
80
80
|
show_button:
|
81
81
|
top_level:
|
82
|
+
layout_super_navigation_header:
|
83
|
+
logo_link_title:
|
84
|
+
logo_text:
|
85
|
+
navigation_menu_heading:
|
86
|
+
search_text:
|
87
|
+
popular_links_heading:
|
88
|
+
popular_links:
|
89
|
+
navigation_links:
|
82
90
|
metadata:
|
83
91
|
from:
|
84
92
|
history:
|
data/config/locales/sr.yml
CHANGED
@@ -79,6 +79,14 @@ sr:
|
|
79
79
|
search_button:
|
80
80
|
show_button:
|
81
81
|
top_level:
|
82
|
+
layout_super_navigation_header:
|
83
|
+
logo_link_title:
|
84
|
+
logo_text:
|
85
|
+
navigation_menu_heading:
|
86
|
+
search_text:
|
87
|
+
popular_links_heading:
|
88
|
+
popular_links:
|
89
|
+
navigation_links:
|
82
90
|
metadata:
|
83
91
|
from:
|
84
92
|
history:
|
data/config/locales/sv.yml
CHANGED
@@ -79,6 +79,14 @@ sv:
|
|
79
79
|
search_button:
|
80
80
|
show_button:
|
81
81
|
top_level:
|
82
|
+
layout_super_navigation_header:
|
83
|
+
logo_link_title:
|
84
|
+
logo_text:
|
85
|
+
navigation_menu_heading:
|
86
|
+
search_text:
|
87
|
+
popular_links_heading:
|
88
|
+
popular_links:
|
89
|
+
navigation_links:
|
82
90
|
metadata:
|
83
91
|
from:
|
84
92
|
history:
|
data/config/locales/sw.yml
CHANGED
@@ -79,6 +79,14 @@ sw:
|
|
79
79
|
search_button:
|
80
80
|
show_button:
|
81
81
|
top_level:
|
82
|
+
layout_super_navigation_header:
|
83
|
+
logo_link_title:
|
84
|
+
logo_text:
|
85
|
+
navigation_menu_heading:
|
86
|
+
search_text:
|
87
|
+
popular_links_heading:
|
88
|
+
popular_links:
|
89
|
+
navigation_links:
|
82
90
|
metadata:
|
83
91
|
from:
|
84
92
|
history:
|
data/config/locales/ta.yml
CHANGED
@@ -79,6 +79,14 @@ ta:
|
|
79
79
|
search_button:
|
80
80
|
show_button:
|
81
81
|
top_level:
|
82
|
+
layout_super_navigation_header:
|
83
|
+
logo_link_title:
|
84
|
+
logo_text:
|
85
|
+
navigation_menu_heading:
|
86
|
+
search_text:
|
87
|
+
popular_links_heading:
|
88
|
+
popular_links:
|
89
|
+
navigation_links:
|
82
90
|
metadata:
|
83
91
|
from:
|
84
92
|
history:
|
data/config/locales/th.yml
CHANGED
@@ -79,6 +79,14 @@ th:
|
|
79
79
|
search_button:
|
80
80
|
show_button:
|
81
81
|
top_level:
|
82
|
+
layout_super_navigation_header:
|
83
|
+
logo_link_title:
|
84
|
+
logo_text:
|
85
|
+
navigation_menu_heading:
|
86
|
+
search_text:
|
87
|
+
popular_links_heading:
|
88
|
+
popular_links:
|
89
|
+
navigation_links:
|
82
90
|
metadata:
|
83
91
|
from:
|
84
92
|
history:
|
data/config/locales/tk.yml
CHANGED
@@ -79,6 +79,14 @@ tk:
|
|
79
79
|
search_button:
|
80
80
|
show_button:
|
81
81
|
top_level:
|
82
|
+
layout_super_navigation_header:
|
83
|
+
logo_link_title:
|
84
|
+
logo_text:
|
85
|
+
navigation_menu_heading:
|
86
|
+
search_text:
|
87
|
+
popular_links_heading:
|
88
|
+
popular_links:
|
89
|
+
navigation_links:
|
82
90
|
metadata:
|
83
91
|
from:
|
84
92
|
history:
|