govuk_publishing_components 27.0.0 → 27.3.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/auto-scroll-tracker.js +197 -0
- data/app/assets/javascripts/govuk_publishing_components/analytics.js +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/_all_components.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_big-number.scss +41 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +128 -4
- data/app/views/govuk_publishing_components/components/_big_number.html.erb +35 -0
- data/app/views/govuk_publishing_components/components/_layout_for_public.html.erb +5 -3
- data/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb +15 -16
- data/app/views/govuk_publishing_components/components/_step_by_step_nav_header.html.erb +5 -5
- data/app/views/govuk_publishing_components/components/docs/big_number.yml +56 -0
- data/app/views/govuk_publishing_components/components/docs/inverse_header.yml +3 -4
- data/app/views/govuk_publishing_components/components/docs/layout_super_navigation_header.yml +5 -0
- data/app/views/govuk_publishing_components/components/layout_header/_header_logo.html.erb +5 -2
- data/config/locales/ar.yml +40 -0
- data/config/locales/az.yml +40 -0
- data/config/locales/be.yml +40 -0
- data/config/locales/bg.yml +40 -0
- data/config/locales/bn.yml +40 -0
- data/config/locales/cs.yml +40 -0
- data/config/locales/cy.yml +40 -0
- data/config/locales/da.yml +40 -0
- data/config/locales/de.yml +40 -0
- data/config/locales/dr.yml +40 -0
- data/config/locales/el.yml +40 -0
- data/config/locales/en.yml +8 -3
- data/config/locales/es-419.yml +40 -0
- data/config/locales/es.yml +40 -0
- data/config/locales/et.yml +40 -0
- data/config/locales/fa.yml +40 -0
- data/config/locales/fi.yml +40 -0
- data/config/locales/fr.yml +40 -0
- data/config/locales/gd.yml +40 -0
- data/config/locales/gu.yml +40 -0
- data/config/locales/he.yml +40 -0
- data/config/locales/hi.yml +40 -0
- data/config/locales/hr.yml +40 -0
- data/config/locales/hu.yml +40 -0
- data/config/locales/hy.yml +40 -0
- data/config/locales/id.yml +40 -0
- data/config/locales/is.yml +40 -0
- data/config/locales/it.yml +40 -0
- data/config/locales/ja.yml +40 -0
- data/config/locales/ka.yml +40 -0
- data/config/locales/kk.yml +40 -0
- data/config/locales/ko.yml +40 -0
- data/config/locales/lt.yml +40 -0
- data/config/locales/lv.yml +40 -0
- data/config/locales/ms.yml +40 -0
- data/config/locales/mt.yml +40 -0
- data/config/locales/nl.yml +40 -0
- data/config/locales/no.yml +40 -0
- data/config/locales/pa-pk.yml +40 -0
- data/config/locales/pa.yml +40 -0
- data/config/locales/pl.yml +40 -0
- data/config/locales/ps.yml +40 -0
- data/config/locales/pt.yml +40 -0
- data/config/locales/ro.yml +40 -0
- data/config/locales/ru.yml +40 -0
- data/config/locales/si.yml +40 -0
- data/config/locales/sk.yml +40 -0
- data/config/locales/sl.yml +40 -0
- data/config/locales/so.yml +40 -0
- data/config/locales/sq.yml +40 -0
- data/config/locales/sr.yml +40 -0
- data/config/locales/sv.yml +40 -0
- data/config/locales/sw.yml +40 -0
- data/config/locales/ta.yml +40 -0
- data/config/locales/th.yml +40 -0
- data/config/locales/tk.yml +40 -0
- data/config/locales/tr.yml +40 -0
- data/config/locales/uk.yml +40 -0
- data/config/locales/ur.yml +40 -0
- data/config/locales/uz.yml +40 -0
- data/config/locales/vi.yml +40 -0
- data/config/locales/zh-hk.yml +40 -0
- data/config/locales/zh-tw.yml +40 -0
- data/config/locales/zh.yml +40 -0
- data/lib/govuk_publishing_components/presenters/devolved_nations_helper.rb +4 -1
- data/lib/govuk_publishing_components/version.rb +1 -1
- metadata +6 -2
data/config/locales/uz.yml
CHANGED
@@ -43,6 +43,15 @@ uz:
|
|
43
43
|
hide:
|
44
44
|
text:
|
45
45
|
title:
|
46
|
+
devolved_nations:
|
47
|
+
applies_to:
|
48
|
+
connectors:
|
49
|
+
last_word:
|
50
|
+
two_words:
|
51
|
+
england:
|
52
|
+
northern_ireland:
|
53
|
+
scotland:
|
54
|
+
wales:
|
46
55
|
feedback:
|
47
56
|
close:
|
48
57
|
dont_include_personal_info:
|
@@ -69,10 +78,36 @@ uz:
|
|
69
78
|
news_and_communications:
|
70
79
|
statistics:
|
71
80
|
worldwide:
|
81
|
+
intervention:
|
82
|
+
description:
|
83
|
+
dismiss_link_text:
|
84
|
+
dismiss_post_link:
|
85
|
+
title:
|
72
86
|
layout_footer:
|
73
87
|
copyright_html:
|
74
88
|
licence_html:
|
75
89
|
support_links:
|
90
|
+
layout_for_public:
|
91
|
+
account_layout:
|
92
|
+
feedback:
|
93
|
+
banners:
|
94
|
+
footer_intro:
|
95
|
+
footer_link:
|
96
|
+
footer_outro:
|
97
|
+
phase_intro:
|
98
|
+
phase_link:
|
99
|
+
phase_outro:
|
100
|
+
title:
|
101
|
+
navigation:
|
102
|
+
destroy_user_session:
|
103
|
+
menu_bar:
|
104
|
+
account:
|
105
|
+
link_text:
|
106
|
+
manage:
|
107
|
+
link_text:
|
108
|
+
security:
|
109
|
+
link_text:
|
110
|
+
user_root_path:
|
76
111
|
layout_header:
|
77
112
|
hide_button:
|
78
113
|
menu:
|
@@ -82,6 +117,9 @@ uz:
|
|
82
117
|
layout_super_navigation_header:
|
83
118
|
logo_link_title:
|
84
119
|
logo_text:
|
120
|
+
menu_toggle_label:
|
121
|
+
hide:
|
122
|
+
show:
|
85
123
|
navigation_links:
|
86
124
|
navigation_menu_heading:
|
87
125
|
navigation_search_heading:
|
@@ -100,6 +138,8 @@ uz:
|
|
100
138
|
toggle_more:
|
101
139
|
modal_dialogue:
|
102
140
|
close_modal:
|
141
|
+
notice:
|
142
|
+
banner_title:
|
103
143
|
organisation_schema:
|
104
144
|
all_content_search_description:
|
105
145
|
previous_and_next_navigation:
|
data/config/locales/vi.yml
CHANGED
@@ -43,6 +43,15 @@ vi:
|
|
43
43
|
hide:
|
44
44
|
text:
|
45
45
|
title:
|
46
|
+
devolved_nations:
|
47
|
+
applies_to:
|
48
|
+
connectors:
|
49
|
+
last_word:
|
50
|
+
two_words:
|
51
|
+
england:
|
52
|
+
northern_ireland:
|
53
|
+
scotland:
|
54
|
+
wales:
|
46
55
|
feedback:
|
47
56
|
close:
|
48
57
|
dont_include_personal_info:
|
@@ -69,10 +78,36 @@ vi:
|
|
69
78
|
news_and_communications:
|
70
79
|
statistics:
|
71
80
|
worldwide:
|
81
|
+
intervention:
|
82
|
+
description:
|
83
|
+
dismiss_link_text:
|
84
|
+
dismiss_post_link:
|
85
|
+
title:
|
72
86
|
layout_footer:
|
73
87
|
copyright_html:
|
74
88
|
licence_html:
|
75
89
|
support_links:
|
90
|
+
layout_for_public:
|
91
|
+
account_layout:
|
92
|
+
feedback:
|
93
|
+
banners:
|
94
|
+
footer_intro:
|
95
|
+
footer_link:
|
96
|
+
footer_outro:
|
97
|
+
phase_intro:
|
98
|
+
phase_link:
|
99
|
+
phase_outro:
|
100
|
+
title:
|
101
|
+
navigation:
|
102
|
+
destroy_user_session:
|
103
|
+
menu_bar:
|
104
|
+
account:
|
105
|
+
link_text:
|
106
|
+
manage:
|
107
|
+
link_text:
|
108
|
+
security:
|
109
|
+
link_text:
|
110
|
+
user_root_path:
|
76
111
|
layout_header:
|
77
112
|
hide_button:
|
78
113
|
menu:
|
@@ -82,6 +117,9 @@ vi:
|
|
82
117
|
layout_super_navigation_header:
|
83
118
|
logo_link_title:
|
84
119
|
logo_text:
|
120
|
+
menu_toggle_label:
|
121
|
+
hide:
|
122
|
+
show:
|
85
123
|
navigation_links:
|
86
124
|
navigation_menu_heading:
|
87
125
|
navigation_search_heading:
|
@@ -100,6 +138,8 @@ vi:
|
|
100
138
|
toggle_more:
|
101
139
|
modal_dialogue:
|
102
140
|
close_modal:
|
141
|
+
notice:
|
142
|
+
banner_title:
|
103
143
|
organisation_schema:
|
104
144
|
all_content_search_description:
|
105
145
|
previous_and_next_navigation:
|
data/config/locales/zh-hk.yml
CHANGED
@@ -43,6 +43,15 @@ zh-hk:
|
|
43
43
|
hide:
|
44
44
|
text:
|
45
45
|
title:
|
46
|
+
devolved_nations:
|
47
|
+
applies_to:
|
48
|
+
connectors:
|
49
|
+
last_word:
|
50
|
+
two_words:
|
51
|
+
england:
|
52
|
+
northern_ireland:
|
53
|
+
scotland:
|
54
|
+
wales:
|
46
55
|
feedback:
|
47
56
|
close:
|
48
57
|
dont_include_personal_info:
|
@@ -69,10 +78,36 @@ zh-hk:
|
|
69
78
|
news_and_communications:
|
70
79
|
statistics:
|
71
80
|
worldwide:
|
81
|
+
intervention:
|
82
|
+
description:
|
83
|
+
dismiss_link_text:
|
84
|
+
dismiss_post_link:
|
85
|
+
title:
|
72
86
|
layout_footer:
|
73
87
|
copyright_html:
|
74
88
|
licence_html:
|
75
89
|
support_links:
|
90
|
+
layout_for_public:
|
91
|
+
account_layout:
|
92
|
+
feedback:
|
93
|
+
banners:
|
94
|
+
footer_intro:
|
95
|
+
footer_link:
|
96
|
+
footer_outro:
|
97
|
+
phase_intro:
|
98
|
+
phase_link:
|
99
|
+
phase_outro:
|
100
|
+
title:
|
101
|
+
navigation:
|
102
|
+
destroy_user_session:
|
103
|
+
menu_bar:
|
104
|
+
account:
|
105
|
+
link_text:
|
106
|
+
manage:
|
107
|
+
link_text:
|
108
|
+
security:
|
109
|
+
link_text:
|
110
|
+
user_root_path:
|
76
111
|
layout_header:
|
77
112
|
hide_button:
|
78
113
|
menu:
|
@@ -82,6 +117,9 @@ zh-hk:
|
|
82
117
|
layout_super_navigation_header:
|
83
118
|
logo_link_title:
|
84
119
|
logo_text:
|
120
|
+
menu_toggle_label:
|
121
|
+
hide:
|
122
|
+
show:
|
85
123
|
navigation_links:
|
86
124
|
navigation_menu_heading:
|
87
125
|
navigation_search_heading:
|
@@ -100,6 +138,8 @@ zh-hk:
|
|
100
138
|
toggle_more:
|
101
139
|
modal_dialogue:
|
102
140
|
close_modal:
|
141
|
+
notice:
|
142
|
+
banner_title:
|
103
143
|
organisation_schema:
|
104
144
|
all_content_search_description:
|
105
145
|
previous_and_next_navigation:
|
data/config/locales/zh-tw.yml
CHANGED
@@ -43,6 +43,15 @@ zh-tw:
|
|
43
43
|
hide:
|
44
44
|
text:
|
45
45
|
title:
|
46
|
+
devolved_nations:
|
47
|
+
applies_to:
|
48
|
+
connectors:
|
49
|
+
last_word:
|
50
|
+
two_words:
|
51
|
+
england:
|
52
|
+
northern_ireland:
|
53
|
+
scotland:
|
54
|
+
wales:
|
46
55
|
feedback:
|
47
56
|
close:
|
48
57
|
dont_include_personal_info:
|
@@ -69,10 +78,36 @@ zh-tw:
|
|
69
78
|
news_and_communications:
|
70
79
|
statistics:
|
71
80
|
worldwide:
|
81
|
+
intervention:
|
82
|
+
description:
|
83
|
+
dismiss_link_text:
|
84
|
+
dismiss_post_link:
|
85
|
+
title:
|
72
86
|
layout_footer:
|
73
87
|
copyright_html:
|
74
88
|
licence_html:
|
75
89
|
support_links:
|
90
|
+
layout_for_public:
|
91
|
+
account_layout:
|
92
|
+
feedback:
|
93
|
+
banners:
|
94
|
+
footer_intro:
|
95
|
+
footer_link:
|
96
|
+
footer_outro:
|
97
|
+
phase_intro:
|
98
|
+
phase_link:
|
99
|
+
phase_outro:
|
100
|
+
title:
|
101
|
+
navigation:
|
102
|
+
destroy_user_session:
|
103
|
+
menu_bar:
|
104
|
+
account:
|
105
|
+
link_text:
|
106
|
+
manage:
|
107
|
+
link_text:
|
108
|
+
security:
|
109
|
+
link_text:
|
110
|
+
user_root_path:
|
76
111
|
layout_header:
|
77
112
|
hide_button:
|
78
113
|
menu:
|
@@ -82,6 +117,9 @@ zh-tw:
|
|
82
117
|
layout_super_navigation_header:
|
83
118
|
logo_link_title:
|
84
119
|
logo_text:
|
120
|
+
menu_toggle_label:
|
121
|
+
hide:
|
122
|
+
show:
|
85
123
|
navigation_links:
|
86
124
|
navigation_menu_heading:
|
87
125
|
navigation_search_heading:
|
@@ -100,6 +138,8 @@ zh-tw:
|
|
100
138
|
toggle_more:
|
101
139
|
modal_dialogue:
|
102
140
|
close_modal:
|
141
|
+
notice:
|
142
|
+
banner_title:
|
103
143
|
organisation_schema:
|
104
144
|
all_content_search_description:
|
105
145
|
previous_and_next_navigation:
|
data/config/locales/zh.yml
CHANGED
@@ -43,6 +43,15 @@ zh:
|
|
43
43
|
hide:
|
44
44
|
text:
|
45
45
|
title:
|
46
|
+
devolved_nations:
|
47
|
+
applies_to:
|
48
|
+
connectors:
|
49
|
+
last_word:
|
50
|
+
two_words:
|
51
|
+
england:
|
52
|
+
northern_ireland:
|
53
|
+
scotland:
|
54
|
+
wales:
|
46
55
|
feedback:
|
47
56
|
close:
|
48
57
|
dont_include_personal_info:
|
@@ -69,10 +78,36 @@ zh:
|
|
69
78
|
news_and_communications:
|
70
79
|
statistics:
|
71
80
|
worldwide:
|
81
|
+
intervention:
|
82
|
+
description:
|
83
|
+
dismiss_link_text:
|
84
|
+
dismiss_post_link:
|
85
|
+
title:
|
72
86
|
layout_footer:
|
73
87
|
copyright_html:
|
74
88
|
licence_html:
|
75
89
|
support_links:
|
90
|
+
layout_for_public:
|
91
|
+
account_layout:
|
92
|
+
feedback:
|
93
|
+
banners:
|
94
|
+
footer_intro:
|
95
|
+
footer_link:
|
96
|
+
footer_outro:
|
97
|
+
phase_intro:
|
98
|
+
phase_link:
|
99
|
+
phase_outro:
|
100
|
+
title:
|
101
|
+
navigation:
|
102
|
+
destroy_user_session:
|
103
|
+
menu_bar:
|
104
|
+
account:
|
105
|
+
link_text:
|
106
|
+
manage:
|
107
|
+
link_text:
|
108
|
+
security:
|
109
|
+
link_text:
|
110
|
+
user_root_path:
|
76
111
|
layout_header:
|
77
112
|
hide_button:
|
78
113
|
menu:
|
@@ -82,6 +117,9 @@ zh:
|
|
82
117
|
layout_super_navigation_header:
|
83
118
|
logo_link_title:
|
84
119
|
logo_text:
|
120
|
+
menu_toggle_label:
|
121
|
+
hide:
|
122
|
+
show:
|
85
123
|
navigation_links:
|
86
124
|
navigation_menu_heading:
|
87
125
|
navigation_search_heading:
|
@@ -100,6 +138,8 @@ zh:
|
|
100
138
|
toggle_more:
|
101
139
|
modal_dialogue:
|
102
140
|
close_modal:
|
141
|
+
notice:
|
142
|
+
banner_title:
|
103
143
|
organisation_schema:
|
104
144
|
all_content_search_description:
|
105
145
|
previous_and_next_navigation:
|
@@ -12,7 +12,10 @@ module GovukPublishingComponents
|
|
12
12
|
.select { |_, v| v[:applicable] == true }
|
13
13
|
.map { |k, _| I18n.t("components.devolved_nations.#{k}") }
|
14
14
|
.sort
|
15
|
-
.to_sentence(
|
15
|
+
.to_sentence(
|
16
|
+
two_words_connector: I18n.t("components.devolved_nations.connectors.two_words"),
|
17
|
+
last_word_connector: I18n.t("components.devolved_nations.connectors.last_word"),
|
18
|
+
)
|
16
19
|
end
|
17
20
|
|
18
21
|
def nations_with_urls
|
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.
|
4
|
+
version: 27.3.1
|
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-09-
|
11
|
+
date: 2021-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: govuk_app_config
|
@@ -462,6 +462,7 @@ files:
|
|
462
462
|
- app/assets/javascripts/govuk_publishing_components/all_components.js
|
463
463
|
- app/assets/javascripts/govuk_publishing_components/analytics.js
|
464
464
|
- app/assets/javascripts/govuk_publishing_components/analytics/analytics.js
|
465
|
+
- app/assets/javascripts/govuk_publishing_components/analytics/auto-scroll-tracker.js
|
465
466
|
- app/assets/javascripts/govuk_publishing_components/analytics/auto-track-event.js
|
466
467
|
- app/assets/javascripts/govuk_publishing_components/analytics/custom-dimensions.js
|
467
468
|
- app/assets/javascripts/govuk_publishing_components/analytics/download-link-tracker.js
|
@@ -536,6 +537,7 @@ files:
|
|
536
537
|
- app/assets/stylesheets/govuk_publishing_components/components/_attachment-link.scss
|
537
538
|
- app/assets/stylesheets/govuk_publishing_components/components/_attachment.scss
|
538
539
|
- app/assets/stylesheets/govuk_publishing_components/components/_back-link.scss
|
540
|
+
- app/assets/stylesheets/govuk_publishing_components/components/_big-number.scss
|
539
541
|
- app/assets/stylesheets/govuk_publishing_components/components/_breadcrumbs.scss
|
540
542
|
- app/assets/stylesheets/govuk_publishing_components/components/_button.scss
|
541
543
|
- app/assets/stylesheets/govuk_publishing_components/components/_character-count.scss
|
@@ -672,6 +674,7 @@ files:
|
|
672
674
|
- app/views/govuk_publishing_components/components/_attachment.html.erb
|
673
675
|
- app/views/govuk_publishing_components/components/_attachment_link.html.erb
|
674
676
|
- app/views/govuk_publishing_components/components/_back_link.html.erb
|
677
|
+
- app/views/govuk_publishing_components/components/_big_number.html.erb
|
675
678
|
- app/views/govuk_publishing_components/components/_breadcrumbs.html.erb
|
676
679
|
- app/views/govuk_publishing_components/components/_button.html.erb
|
677
680
|
- app/views/govuk_publishing_components/components/_character_count.html.erb
|
@@ -754,6 +757,7 @@ files:
|
|
754
757
|
- app/views/govuk_publishing_components/components/docs/attachment.yml
|
755
758
|
- app/views/govuk_publishing_components/components/docs/attachment_link.yml
|
756
759
|
- app/views/govuk_publishing_components/components/docs/back_link.yml
|
760
|
+
- app/views/govuk_publishing_components/components/docs/big_number.yml
|
757
761
|
- app/views/govuk_publishing_components/components/docs/breadcrumbs.yml
|
758
762
|
- app/views/govuk_publishing_components/components/docs/button.yml
|
759
763
|
- app/views/govuk_publishing_components/components/docs/character_count.yml
|