govuk_publishing_components 27.3.0 → 27.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/govuk_publishing_components/action-link-arrow--blue.png +0 -0
  3. data/app/assets/images/govuk_publishing_components/action-link-arrow--blue.svg +3 -0
  4. data/app/assets/javascripts/govuk_publishing_components/analytics/explicit-cross-domain-links.js +38 -0
  5. data/app/assets/javascripts/govuk_publishing_components/analytics/init.js +19 -0
  6. data/app/assets/javascripts/govuk_publishing_components/analytics/scroll-tracker.js +0 -17
  7. data/app/assets/javascripts/govuk_publishing_components/lib/primary-links.js +32 -16
  8. data/app/assets/stylesheets/govuk_publishing_components/components/_action-link.scss +12 -0
  9. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_typography.scss +8 -0
  10. data/app/views/govuk_publishing_components/components/_action_link.html.erb +2 -0
  11. data/app/views/govuk_publishing_components/components/docs/action_link.yml +5 -0
  12. data/app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb +2 -0
  13. data/config/locales/ar.yml +40 -0
  14. data/config/locales/az.yml +40 -0
  15. data/config/locales/be.yml +40 -0
  16. data/config/locales/bg.yml +40 -0
  17. data/config/locales/bn.yml +40 -0
  18. data/config/locales/cs.yml +40 -0
  19. data/config/locales/cy.yml +40 -0
  20. data/config/locales/da.yml +40 -0
  21. data/config/locales/de.yml +40 -0
  22. data/config/locales/dr.yml +40 -0
  23. data/config/locales/el.yml +40 -0
  24. data/config/locales/en.yml +3 -0
  25. data/config/locales/es-419.yml +40 -0
  26. data/config/locales/es.yml +40 -0
  27. data/config/locales/et.yml +40 -0
  28. data/config/locales/fa.yml +40 -0
  29. data/config/locales/fi.yml +40 -0
  30. data/config/locales/fr.yml +40 -0
  31. data/config/locales/gd.yml +40 -0
  32. data/config/locales/gu.yml +40 -0
  33. data/config/locales/he.yml +40 -0
  34. data/config/locales/hi.yml +40 -0
  35. data/config/locales/hr.yml +40 -0
  36. data/config/locales/hu.yml +40 -0
  37. data/config/locales/hy.yml +40 -0
  38. data/config/locales/id.yml +40 -0
  39. data/config/locales/is.yml +40 -0
  40. data/config/locales/it.yml +40 -0
  41. data/config/locales/ja.yml +40 -0
  42. data/config/locales/ka.yml +40 -0
  43. data/config/locales/kk.yml +40 -0
  44. data/config/locales/ko.yml +40 -0
  45. data/config/locales/lt.yml +40 -0
  46. data/config/locales/lv.yml +40 -0
  47. data/config/locales/ms.yml +40 -0
  48. data/config/locales/mt.yml +40 -0
  49. data/config/locales/nl.yml +40 -0
  50. data/config/locales/no.yml +40 -0
  51. data/config/locales/pa-pk.yml +40 -0
  52. data/config/locales/pa.yml +40 -0
  53. data/config/locales/pl.yml +40 -0
  54. data/config/locales/ps.yml +40 -0
  55. data/config/locales/pt.yml +40 -0
  56. data/config/locales/ro.yml +40 -0
  57. data/config/locales/ru.yml +40 -0
  58. data/config/locales/si.yml +40 -0
  59. data/config/locales/sk.yml +40 -0
  60. data/config/locales/sl.yml +40 -0
  61. data/config/locales/so.yml +40 -0
  62. data/config/locales/sq.yml +40 -0
  63. data/config/locales/sr.yml +40 -0
  64. data/config/locales/sv.yml +40 -0
  65. data/config/locales/sw.yml +40 -0
  66. data/config/locales/ta.yml +40 -0
  67. data/config/locales/th.yml +40 -0
  68. data/config/locales/tk.yml +40 -0
  69. data/config/locales/tr.yml +40 -0
  70. data/config/locales/uk.yml +40 -0
  71. data/config/locales/ur.yml +40 -0
  72. data/config/locales/uz.yml +40 -0
  73. data/config/locales/vi.yml +40 -0
  74. data/config/locales/zh-hk.yml +40 -0
  75. data/config/locales/zh-tw.yml +40 -0
  76. data/config/locales/zh.yml +40 -0
  77. data/lib/govuk_publishing_components/presenters/devolved_nations_helper.rb +4 -1
  78. data/lib/govuk_publishing_components/version.rb +1 -1
  79. metadata +4 -2
@@ -43,6 +43,15 @@ tr:
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 @@ tr:
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 @@ tr:
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 @@ tr:
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:
@@ -43,6 +43,15 @@ uk:
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 @@ uk:
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 @@ uk:
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 @@ uk:
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:
@@ -43,6 +43,15 @@ ur:
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 @@ ur:
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 @@ ur:
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 @@ ur:
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:
@@ -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:
@@ -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:
@@ -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:
@@ -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:
@@ -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(last_word_connector: " and ")
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
@@ -1,3 +1,3 @@
1
1
  module GovukPublishingComponents
2
- VERSION = "27.3.0".freeze
2
+ VERSION = "27.6.0".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: 27.3.0
4
+ version: 27.6.0
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-27 00:00:00.000000000 Z
11
+ date: 2021-10-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: govuk_app_config
@@ -378,6 +378,8 @@ files:
378
378
  - app/assets/config/govuk_publishing_components_manifest.js
379
379
  - app/assets/images/govuk_publishing_components/action-link--nhs.png
380
380
  - app/assets/images/govuk_publishing_components/action-link--nhs.svg
381
+ - app/assets/images/govuk_publishing_components/action-link-arrow--blue.png
382
+ - app/assets/images/govuk_publishing_components/action-link-arrow--blue.svg
381
383
  - app/assets/images/govuk_publishing_components/action-link-arrow--brexit.svg
382
384
  - app/assets/images/govuk_publishing_components/action-link-arrow--dark.png
383
385
  - app/assets/images/govuk_publishing_components/action-link-arrow--dark.svg