govuk_publishing_components 24.11.1 → 24.13.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/govuk_publishing_components/analytics/scroll-tracker.js +1 -1
  3. data/app/assets/javascripts/govuk_publishing_components/lib/header-navigation.js +6 -0
  4. data/app/assets/stylesheets/govuk_publishing_components/_all_components.scss +3 -0
  5. data/app/assets/stylesheets/govuk_publishing_components/components/_accordion.scss +50 -31
  6. data/app/assets/stylesheets/govuk_publishing_components/components/_action-link.scss +0 -35
  7. data/app/assets/stylesheets/govuk_publishing_components/components/_contents-list.scss +0 -13
  8. data/app/assets/stylesheets/govuk_publishing_components/components/_image-card.scss +0 -6
  9. data/app/assets/stylesheets/govuk_publishing_components/components/_inverse-header.scss +0 -4
  10. data/app/assets/stylesheets/govuk_publishing_components/components/_organisation-logo.scss +10 -3
  11. data/app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss +11 -1
  12. data/app/assets/stylesheets/govuk_publishing_components/components/_print-link.scss +1 -1
  13. data/app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss +0 -1
  14. data/app/assets/stylesheets/govuk_publishing_components/components/_show-password.scss +1 -0
  15. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav.scss +8 -2
  16. data/app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss +6 -2
  17. data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_markdown-typography.scss +1 -0
  18. data/app/views/govuk_publishing_components/components/_action_link.html.erb +2 -1
  19. data/app/views/govuk_publishing_components/components/_attachment.html.erb +3 -3
  20. data/app/views/govuk_publishing_components/components/_attachment_link.html.erb +1 -1
  21. data/app/views/govuk_publishing_components/components/_character_count.html.erb +1 -1
  22. data/app/views/govuk_publishing_components/components/_contents_list.html.erb +10 -3
  23. data/app/views/govuk_publishing_components/components/_contextual_sidebar.html.erb +2 -2
  24. data/app/views/govuk_publishing_components/components/_cookie_banner.html.erb +16 -6
  25. data/app/views/govuk_publishing_components/components/_government_navigation.html.erb +14 -14
  26. data/app/views/govuk_publishing_components/components/_image_card.html.erb +15 -2
  27. data/app/views/govuk_publishing_components/components/_layout_footer.html.erb +3 -8
  28. data/app/views/govuk_publishing_components/components/_layout_for_public.html.erb +2 -0
  29. data/app/views/govuk_publishing_components/components/_layout_header.html.erb +11 -2
  30. data/app/views/govuk_publishing_components/components/_metadata.html.erb +6 -6
  31. data/app/views/govuk_publishing_components/components/_modal_dialogue.html.erb +1 -1
  32. data/app/views/govuk_publishing_components/components/_organisation_logo.html.erb +13 -13
  33. data/app/views/govuk_publishing_components/components/_previous_and_next_navigation.html.erb +11 -7
  34. data/app/views/govuk_publishing_components/components/_search.html.erb +5 -2
  35. data/app/views/govuk_publishing_components/components/_share_links.html.erb +1 -1
  36. data/app/views/govuk_publishing_components/components/_step_by_step_nav.html.erb +4 -4
  37. data/app/views/govuk_publishing_components/components/_step_by_step_nav_related.html.erb +1 -1
  38. data/app/views/govuk_publishing_components/components/_subscription_links.html.erb +9 -9
  39. data/app/views/govuk_publishing_components/components/_success_alert.html.erb +1 -1
  40. data/app/views/govuk_publishing_components/components/_tabs.html.erb +1 -1
  41. data/app/views/govuk_publishing_components/components/contextual_sidebar/_brexit_cta.html.erb +9 -4
  42. data/app/views/govuk_publishing_components/components/docs/government_navigation.yml +2 -0
  43. data/app/views/govuk_publishing_components/components/docs/inset_text.yml +2 -2
  44. data/app/views/govuk_publishing_components/components/docs/inverse_header.yml +18 -15
  45. data/app/views/govuk_publishing_components/components/feedback/_problem_form.html.erb +6 -6
  46. data/app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb +5 -5
  47. data/app/views/govuk_publishing_components/components/feedback/_yes_no_banner.html.erb +6 -6
  48. data/app/views/govuk_publishing_components/components/layout_header/_header_logo.html.erb +3 -3
  49. data/app/views/govuk_publishing_components/components/metadata/_sentence.html.erb +2 -2
  50. data/app/views/govuk_publishing_components/components/related_navigation/_section.html.erb +1 -1
  51. data/config/locales/ar.yml +33 -0
  52. data/config/locales/az.yml +33 -0
  53. data/config/locales/be.yml +33 -0
  54. data/config/locales/bg.yml +33 -0
  55. data/config/locales/bn.yml +33 -0
  56. data/config/locales/cs.yml +33 -0
  57. data/config/locales/cy.yml +34 -1
  58. data/config/locales/da.yml +33 -0
  59. data/config/locales/de.yml +33 -0
  60. data/config/locales/dr.yml +33 -0
  61. data/config/locales/el.yml +33 -0
  62. data/config/locales/en.yml +45 -9
  63. data/config/locales/es-419.yml +33 -0
  64. data/config/locales/es.yml +33 -0
  65. data/config/locales/et.yml +33 -0
  66. data/config/locales/fa.yml +33 -0
  67. data/config/locales/fi.yml +33 -0
  68. data/config/locales/fr.yml +33 -0
  69. data/config/locales/gd.yml +33 -0
  70. data/config/locales/gu.yml +33 -0
  71. data/config/locales/he.yml +33 -0
  72. data/config/locales/hi.yml +33 -0
  73. data/config/locales/hr.yml +33 -0
  74. data/config/locales/hu.yml +33 -0
  75. data/config/locales/hy.yml +33 -0
  76. data/config/locales/id.yml +33 -0
  77. data/config/locales/is.yml +33 -0
  78. data/config/locales/it.yml +33 -0
  79. data/config/locales/ja.yml +33 -0
  80. data/config/locales/ka.yml +33 -0
  81. data/config/locales/kk.yml +33 -0
  82. data/config/locales/ko.yml +33 -0
  83. data/config/locales/lt.yml +33 -0
  84. data/config/locales/lv.yml +33 -0
  85. data/config/locales/ms.yml +33 -0
  86. data/config/locales/mt.yml +33 -0
  87. data/config/locales/nl.yml +33 -0
  88. data/config/locales/no.yml +33 -0
  89. data/config/locales/pa-pk.yml +33 -0
  90. data/config/locales/pa.yml +33 -0
  91. data/config/locales/pl.yml +33 -0
  92. data/config/locales/ps.yml +33 -0
  93. data/config/locales/pt.yml +33 -0
  94. data/config/locales/ro.yml +33 -0
  95. data/config/locales/ru.yml +33 -0
  96. data/config/locales/si.yml +33 -0
  97. data/config/locales/sk.yml +33 -0
  98. data/config/locales/sl.yml +33 -0
  99. data/config/locales/so.yml +33 -0
  100. data/config/locales/sq.yml +33 -0
  101. data/config/locales/sr.yml +33 -0
  102. data/config/locales/sv.yml +33 -0
  103. data/config/locales/sw.yml +33 -0
  104. data/config/locales/ta.yml +33 -0
  105. data/config/locales/th.yml +33 -0
  106. data/config/locales/tk.yml +33 -0
  107. data/config/locales/tr.yml +33 -0
  108. data/config/locales/uk.yml +33 -0
  109. data/config/locales/ur.yml +33 -0
  110. data/config/locales/uz.yml +33 -0
  111. data/config/locales/vi.yml +33 -0
  112. data/config/locales/zh-hk.yml +33 -0
  113. data/config/locales/zh-tw.yml +33 -0
  114. data/config/locales/zh.yml +33 -0
  115. data/lib/govuk_publishing_components.rb +1 -0
  116. data/lib/govuk_publishing_components/presenters/brexit_cta_helper.rb +33 -0
  117. data/lib/govuk_publishing_components/presenters/content_item.rb +1 -3
  118. data/lib/govuk_publishing_components/presenters/contents_list_helper.rb +0 -3
  119. data/lib/govuk_publishing_components/presenters/public_layout_helper.rb +1 -1
  120. data/lib/govuk_publishing_components/version.rb +1 -1
  121. metadata +8 -7
@@ -13,15 +13,36 @@ gd:
13
13
  scoped_search_description:
14
14
  attachment:
15
15
  opendocument_html:
16
+ order_a_copy:
17
+ page:
18
+ one:
19
+ other:
20
+ reference:
16
21
  request_format_cta:
17
22
  request_format_details_html:
18
23
  request_format_text:
19
24
  back_link:
20
25
  back:
26
+ character_count:
27
+ body:
28
+ type:
29
+ characters:
30
+ words:
21
31
  checkboxes:
22
32
  or:
23
33
  contents_list:
24
34
  contents:
35
+ contextual_sidebar:
36
+ pretitle:
37
+ cookie_banner:
38
+ buttons:
39
+ accept_cookies:
40
+ reject_cookies:
41
+ confirmation_message:
42
+ confirmation_message_link:
43
+ hide:
44
+ text:
45
+ title:
25
46
  feedback:
26
47
  close:
27
48
  dont_include_personal_info:
@@ -48,6 +69,10 @@ gd:
48
69
  news_and_communications:
49
70
  statistics:
50
71
  worldwide:
72
+ layout_footer:
73
+ copyright_html:
74
+ licence_html:
75
+ support_links:
51
76
  layout_header:
52
77
  hide_button:
53
78
  menu:
@@ -63,6 +88,8 @@ gd:
63
88
  see_all_updates:
64
89
  toggle_less:
65
90
  toggle_more:
91
+ modal_dialogue:
92
+ close_modal:
66
93
  organisation_schema:
67
94
  all_content_search_description:
68
95
  previous_and_next_navigation:
@@ -89,6 +116,9 @@ gd:
89
116
  topical_events:
90
117
  topics:
91
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
92
122
  link_path:
93
123
  link_text:
94
124
  title:
@@ -115,6 +145,7 @@ gd:
115
145
  part_of:
116
146
  subscription_links:
117
147
  email_signup_link_text:
148
+ feed_link_label:
118
149
  feed_link_text:
119
150
  subscriptions:
120
151
  success_alert:
@@ -122,3 +153,5 @@ gd:
122
153
  summary_list:
123
154
  delete:
124
155
  edit:
156
+ tabs:
157
+ contents:
@@ -13,15 +13,36 @@ gu:
13
13
  scoped_search_description:
14
14
  attachment:
15
15
  opendocument_html:
16
+ order_a_copy:
17
+ page:
18
+ one:
19
+ other:
20
+ reference:
16
21
  request_format_cta:
17
22
  request_format_details_html:
18
23
  request_format_text:
19
24
  back_link:
20
25
  back:
26
+ character_count:
27
+ body:
28
+ type:
29
+ characters:
30
+ words:
21
31
  checkboxes:
22
32
  or:
23
33
  contents_list:
24
34
  contents:
35
+ contextual_sidebar:
36
+ pretitle:
37
+ cookie_banner:
38
+ buttons:
39
+ accept_cookies:
40
+ reject_cookies:
41
+ confirmation_message:
42
+ confirmation_message_link:
43
+ hide:
44
+ text:
45
+ title:
25
46
  feedback:
26
47
  close:
27
48
  dont_include_personal_info:
@@ -48,6 +69,10 @@ gu:
48
69
  news_and_communications:
49
70
  statistics:
50
71
  worldwide:
72
+ layout_footer:
73
+ copyright_html:
74
+ licence_html:
75
+ support_links:
51
76
  layout_header:
52
77
  hide_button:
53
78
  menu:
@@ -63,6 +88,8 @@ gu:
63
88
  see_all_updates:
64
89
  toggle_less:
65
90
  toggle_more:
91
+ modal_dialogue:
92
+ close_modal:
66
93
  organisation_schema:
67
94
  all_content_search_description:
68
95
  previous_and_next_navigation:
@@ -89,6 +116,9 @@ gu:
89
116
  topical_events:
90
117
  topics:
91
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
92
122
  link_path:
93
123
  link_text:
94
124
  title:
@@ -115,6 +145,7 @@ gu:
115
145
  part_of:
116
146
  subscription_links:
117
147
  email_signup_link_text:
148
+ feed_link_label:
118
149
  feed_link_text:
119
150
  subscriptions:
120
151
  success_alert:
@@ -122,3 +153,5 @@ gu:
122
153
  summary_list:
123
154
  delete:
124
155
  edit:
156
+ tabs:
157
+ contents:
@@ -13,15 +13,36 @@ he:
13
13
  scoped_search_description:
14
14
  attachment:
15
15
  opendocument_html:
16
+ order_a_copy:
17
+ page:
18
+ one:
19
+ other:
20
+ reference:
16
21
  request_format_cta:
17
22
  request_format_details_html:
18
23
  request_format_text:
19
24
  back_link:
20
25
  back:
26
+ character_count:
27
+ body:
28
+ type:
29
+ characters:
30
+ words:
21
31
  checkboxes:
22
32
  or:
23
33
  contents_list:
24
34
  contents:
35
+ contextual_sidebar:
36
+ pretitle:
37
+ cookie_banner:
38
+ buttons:
39
+ accept_cookies:
40
+ reject_cookies:
41
+ confirmation_message:
42
+ confirmation_message_link:
43
+ hide:
44
+ text:
45
+ title:
25
46
  feedback:
26
47
  close:
27
48
  dont_include_personal_info:
@@ -48,6 +69,10 @@ he:
48
69
  news_and_communications:
49
70
  statistics:
50
71
  worldwide:
72
+ layout_footer:
73
+ copyright_html:
74
+ licence_html:
75
+ support_links:
51
76
  layout_header:
52
77
  hide_button:
53
78
  menu:
@@ -63,6 +88,8 @@ he:
63
88
  see_all_updates:
64
89
  toggle_less:
65
90
  toggle_more:
91
+ modal_dialogue:
92
+ close_modal:
66
93
  organisation_schema:
67
94
  all_content_search_description:
68
95
  previous_and_next_navigation:
@@ -89,6 +116,9 @@ he:
89
116
  topical_events:
90
117
  topics:
91
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
92
122
  link_path:
93
123
  link_text:
94
124
  title:
@@ -115,6 +145,7 @@ he:
115
145
  part_of:
116
146
  subscription_links:
117
147
  email_signup_link_text:
148
+ feed_link_label:
118
149
  feed_link_text:
119
150
  subscriptions:
120
151
  success_alert:
@@ -122,3 +153,5 @@ he:
122
153
  summary_list:
123
154
  delete:
124
155
  edit:
156
+ tabs:
157
+ contents:
@@ -13,15 +13,36 @@ hi:
13
13
  scoped_search_description:
14
14
  attachment:
15
15
  opendocument_html:
16
+ order_a_copy:
17
+ page:
18
+ one:
19
+ other:
20
+ reference:
16
21
  request_format_cta:
17
22
  request_format_details_html:
18
23
  request_format_text:
19
24
  back_link:
20
25
  back:
26
+ character_count:
27
+ body:
28
+ type:
29
+ characters:
30
+ words:
21
31
  checkboxes:
22
32
  or:
23
33
  contents_list:
24
34
  contents:
35
+ contextual_sidebar:
36
+ pretitle:
37
+ cookie_banner:
38
+ buttons:
39
+ accept_cookies:
40
+ reject_cookies:
41
+ confirmation_message:
42
+ confirmation_message_link:
43
+ hide:
44
+ text:
45
+ title:
25
46
  feedback:
26
47
  close:
27
48
  dont_include_personal_info:
@@ -48,6 +69,10 @@ hi:
48
69
  news_and_communications:
49
70
  statistics:
50
71
  worldwide:
72
+ layout_footer:
73
+ copyright_html:
74
+ licence_html:
75
+ support_links:
51
76
  layout_header:
52
77
  hide_button:
53
78
  menu:
@@ -63,6 +88,8 @@ hi:
63
88
  see_all_updates:
64
89
  toggle_less:
65
90
  toggle_more:
91
+ modal_dialogue:
92
+ close_modal:
66
93
  organisation_schema:
67
94
  all_content_search_description:
68
95
  previous_and_next_navigation:
@@ -89,6 +116,9 @@ hi:
89
116
  topical_events:
90
117
  topics:
91
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
92
122
  link_path:
93
123
  link_text:
94
124
  title:
@@ -115,6 +145,7 @@ hi:
115
145
  part_of:
116
146
  subscription_links:
117
147
  email_signup_link_text:
148
+ feed_link_label:
118
149
  feed_link_text:
119
150
  subscriptions:
120
151
  success_alert:
@@ -122,3 +153,5 @@ hi:
122
153
  summary_list:
123
154
  delete:
124
155
  edit:
156
+ tabs:
157
+ contents:
@@ -13,15 +13,36 @@ hr:
13
13
  scoped_search_description:
14
14
  attachment:
15
15
  opendocument_html:
16
+ order_a_copy:
17
+ page:
18
+ one:
19
+ other:
20
+ reference:
16
21
  request_format_cta:
17
22
  request_format_details_html:
18
23
  request_format_text:
19
24
  back_link:
20
25
  back:
26
+ character_count:
27
+ body:
28
+ type:
29
+ characters:
30
+ words:
21
31
  checkboxes:
22
32
  or:
23
33
  contents_list:
24
34
  contents:
35
+ contextual_sidebar:
36
+ pretitle:
37
+ cookie_banner:
38
+ buttons:
39
+ accept_cookies:
40
+ reject_cookies:
41
+ confirmation_message:
42
+ confirmation_message_link:
43
+ hide:
44
+ text:
45
+ title:
25
46
  feedback:
26
47
  close:
27
48
  dont_include_personal_info:
@@ -48,6 +69,10 @@ hr:
48
69
  news_and_communications:
49
70
  statistics:
50
71
  worldwide:
72
+ layout_footer:
73
+ copyright_html:
74
+ licence_html:
75
+ support_links:
51
76
  layout_header:
52
77
  hide_button:
53
78
  menu:
@@ -63,6 +88,8 @@ hr:
63
88
  see_all_updates:
64
89
  toggle_less:
65
90
  toggle_more:
91
+ modal_dialogue:
92
+ close_modal:
66
93
  organisation_schema:
67
94
  all_content_search_description:
68
95
  previous_and_next_navigation:
@@ -89,6 +116,9 @@ hr:
89
116
  topical_events:
90
117
  topics:
91
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
92
122
  link_path:
93
123
  link_text:
94
124
  title:
@@ -115,6 +145,7 @@ hr:
115
145
  part_of:
116
146
  subscription_links:
117
147
  email_signup_link_text:
148
+ feed_link_label:
118
149
  feed_link_text:
119
150
  subscriptions:
120
151
  success_alert:
@@ -122,3 +153,5 @@ hr:
122
153
  summary_list:
123
154
  delete:
124
155
  edit:
156
+ tabs:
157
+ contents:
@@ -13,15 +13,36 @@ hu:
13
13
  scoped_search_description:
14
14
  attachment:
15
15
  opendocument_html:
16
+ order_a_copy:
17
+ page:
18
+ one:
19
+ other:
20
+ reference:
16
21
  request_format_cta:
17
22
  request_format_details_html:
18
23
  request_format_text:
19
24
  back_link:
20
25
  back:
26
+ character_count:
27
+ body:
28
+ type:
29
+ characters:
30
+ words:
21
31
  checkboxes:
22
32
  or:
23
33
  contents_list:
24
34
  contents:
35
+ contextual_sidebar:
36
+ pretitle:
37
+ cookie_banner:
38
+ buttons:
39
+ accept_cookies:
40
+ reject_cookies:
41
+ confirmation_message:
42
+ confirmation_message_link:
43
+ hide:
44
+ text:
45
+ title:
25
46
  feedback:
26
47
  close:
27
48
  dont_include_personal_info:
@@ -48,6 +69,10 @@ hu:
48
69
  news_and_communications:
49
70
  statistics:
50
71
  worldwide:
72
+ layout_footer:
73
+ copyright_html:
74
+ licence_html:
75
+ support_links:
51
76
  layout_header:
52
77
  hide_button:
53
78
  menu:
@@ -63,6 +88,8 @@ hu:
63
88
  see_all_updates:
64
89
  toggle_less:
65
90
  toggle_more:
91
+ modal_dialogue:
92
+ close_modal:
66
93
  organisation_schema:
67
94
  all_content_search_description:
68
95
  previous_and_next_navigation:
@@ -89,6 +116,9 @@ hu:
89
116
  topical_events:
90
117
  topics:
91
118
  transition:
119
+ hub_page_link_path:
120
+ hub_page_link_text:
121
+ hub_page_title:
92
122
  link_path:
93
123
  link_text:
94
124
  title:
@@ -115,6 +145,7 @@ hu:
115
145
  part_of:
116
146
  subscription_links:
117
147
  email_signup_link_text:
148
+ feed_link_label:
118
149
  feed_link_text:
119
150
  subscriptions:
120
151
  success_alert:
@@ -122,3 +153,5 @@ hu:
122
153
  summary_list:
123
154
  delete:
124
155
  edit:
156
+ tabs:
157
+ contents: