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.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/govuk_publishing_components/analytics/auto-scroll-tracker.js +197 -0
  3. data/app/assets/javascripts/govuk_publishing_components/analytics.js +1 -0
  4. data/app/assets/stylesheets/govuk_publishing_components/_all_components.scss +1 -0
  5. data/app/assets/stylesheets/govuk_publishing_components/components/_big-number.scss +41 -0
  6. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +128 -4
  7. data/app/views/govuk_publishing_components/components/_big_number.html.erb +35 -0
  8. data/app/views/govuk_publishing_components/components/_layout_for_public.html.erb +5 -3
  9. data/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb +15 -16
  10. data/app/views/govuk_publishing_components/components/_step_by_step_nav_header.html.erb +5 -5
  11. data/app/views/govuk_publishing_components/components/docs/big_number.yml +56 -0
  12. data/app/views/govuk_publishing_components/components/docs/inverse_header.yml +3 -4
  13. data/app/views/govuk_publishing_components/components/docs/layout_super_navigation_header.yml +5 -0
  14. data/app/views/govuk_publishing_components/components/layout_header/_header_logo.html.erb +5 -2
  15. data/config/locales/ar.yml +40 -0
  16. data/config/locales/az.yml +40 -0
  17. data/config/locales/be.yml +40 -0
  18. data/config/locales/bg.yml +40 -0
  19. data/config/locales/bn.yml +40 -0
  20. data/config/locales/cs.yml +40 -0
  21. data/config/locales/cy.yml +40 -0
  22. data/config/locales/da.yml +40 -0
  23. data/config/locales/de.yml +40 -0
  24. data/config/locales/dr.yml +40 -0
  25. data/config/locales/el.yml +40 -0
  26. data/config/locales/en.yml +8 -3
  27. data/config/locales/es-419.yml +40 -0
  28. data/config/locales/es.yml +40 -0
  29. data/config/locales/et.yml +40 -0
  30. data/config/locales/fa.yml +40 -0
  31. data/config/locales/fi.yml +40 -0
  32. data/config/locales/fr.yml +40 -0
  33. data/config/locales/gd.yml +40 -0
  34. data/config/locales/gu.yml +40 -0
  35. data/config/locales/he.yml +40 -0
  36. data/config/locales/hi.yml +40 -0
  37. data/config/locales/hr.yml +40 -0
  38. data/config/locales/hu.yml +40 -0
  39. data/config/locales/hy.yml +40 -0
  40. data/config/locales/id.yml +40 -0
  41. data/config/locales/is.yml +40 -0
  42. data/config/locales/it.yml +40 -0
  43. data/config/locales/ja.yml +40 -0
  44. data/config/locales/ka.yml +40 -0
  45. data/config/locales/kk.yml +40 -0
  46. data/config/locales/ko.yml +40 -0
  47. data/config/locales/lt.yml +40 -0
  48. data/config/locales/lv.yml +40 -0
  49. data/config/locales/ms.yml +40 -0
  50. data/config/locales/mt.yml +40 -0
  51. data/config/locales/nl.yml +40 -0
  52. data/config/locales/no.yml +40 -0
  53. data/config/locales/pa-pk.yml +40 -0
  54. data/config/locales/pa.yml +40 -0
  55. data/config/locales/pl.yml +40 -0
  56. data/config/locales/ps.yml +40 -0
  57. data/config/locales/pt.yml +40 -0
  58. data/config/locales/ro.yml +40 -0
  59. data/config/locales/ru.yml +40 -0
  60. data/config/locales/si.yml +40 -0
  61. data/config/locales/sk.yml +40 -0
  62. data/config/locales/sl.yml +40 -0
  63. data/config/locales/so.yml +40 -0
  64. data/config/locales/sq.yml +40 -0
  65. data/config/locales/sr.yml +40 -0
  66. data/config/locales/sv.yml +40 -0
  67. data/config/locales/sw.yml +40 -0
  68. data/config/locales/ta.yml +40 -0
  69. data/config/locales/th.yml +40 -0
  70. data/config/locales/tk.yml +40 -0
  71. data/config/locales/tr.yml +40 -0
  72. data/config/locales/uk.yml +40 -0
  73. data/config/locales/ur.yml +40 -0
  74. data/config/locales/uz.yml +40 -0
  75. data/config/locales/vi.yml +40 -0
  76. data/config/locales/zh-hk.yml +40 -0
  77. data/config/locales/zh-tw.yml +40 -0
  78. data/config/locales/zh.yml +40 -0
  79. data/lib/govuk_publishing_components/presenters/devolved_nations_helper.rb +4 -1
  80. data/lib/govuk_publishing_components/version.rb +1 -1
  81. metadata +6 -2
@@ -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.0.0".freeze
2
+ VERSION = "27.3.1".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.0.0
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-09 00:00:00.000000000 Z
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