govuk_publishing_components 24.10.3 → 24.13.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (171) 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/components/accordion.js +1 -1
  4. data/app/assets/javascripts/govuk_publishing_components/components/feedback.js +142 -104
  5. data/app/assets/javascripts/govuk_publishing_components/components/reorderable-list.js +1 -1
  6. data/app/assets/javascripts/govuk_publishing_components/components/step-by-step-nav.js +2 -2
  7. data/app/assets/javascripts/govuk_publishing_components/lib/trigger-event.js +1 -1
  8. data/app/assets/stylesheets/govuk_publishing_components/_all_components.scss +3 -0
  9. data/app/assets/stylesheets/govuk_publishing_components/_all_components_print.scss +0 -11
  10. data/app/assets/stylesheets/govuk_publishing_components/components/_accordion.scss +50 -31
  11. data/app/assets/stylesheets/govuk_publishing_components/components/_action-link.scss +0 -35
  12. data/app/assets/stylesheets/govuk_publishing_components/components/_contents-list.scss +0 -13
  13. data/app/assets/stylesheets/govuk_publishing_components/components/_image-card.scss +0 -6
  14. data/app/assets/stylesheets/govuk_publishing_components/components/_inverse-header.scss +0 -4
  15. data/app/assets/stylesheets/govuk_publishing_components/components/_organisation-logo.scss +10 -3
  16. data/app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss +11 -1
  17. data/app/assets/stylesheets/govuk_publishing_components/components/_print-link.scss +1 -1
  18. data/app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss +0 -1
  19. data/app/assets/stylesheets/govuk_publishing_components/components/_show-password.scss +1 -0
  20. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav.scss +8 -2
  21. data/app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss +6 -2
  22. data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_markdown-typography.scss +1 -0
  23. data/app/assets/stylesheets/govuk_publishing_components/components/print/_attachment.scss +2 -3
  24. data/app/assets/stylesheets/govuk_publishing_components/components/print/_back-link.scss +2 -3
  25. data/app/assets/stylesheets/govuk_publishing_components/components/print/_button.scss +0 -4
  26. data/app/assets/stylesheets/govuk_publishing_components/components/print/_feedback.scss +2 -3
  27. data/app/assets/stylesheets/govuk_publishing_components/components/print/_layout-footer.scss +2 -6
  28. data/app/assets/stylesheets/govuk_publishing_components/components/print/_layout-header.scss +2 -3
  29. data/app/assets/stylesheets/govuk_publishing_components/components/print/_metadata.scss +2 -6
  30. data/app/assets/stylesheets/govuk_publishing_components/components/print/_search.scss +2 -3
  31. data/app/assets/stylesheets/govuk_publishing_components/components/print/_share-links.scss +2 -3
  32. data/app/assets/stylesheets/govuk_publishing_components/components/print/_skip-link.scss +2 -3
  33. data/app/assets/stylesheets/govuk_publishing_components/components/print/_step-by-step-nav-header.scss +0 -4
  34. data/app/assets/stylesheets/govuk_publishing_components/components/print/_subscription-links.scss +2 -3
  35. data/app/assets/stylesheets/govuk_publishing_components/components/print/_translation-nav.scss +2 -3
  36. data/app/views/govuk_publishing_components/components/_action_link.html.erb +2 -1
  37. data/app/views/govuk_publishing_components/components/_attachment.html.erb +4 -4
  38. data/app/views/govuk_publishing_components/components/_attachment_link.html.erb +1 -1
  39. data/app/views/govuk_publishing_components/components/_back_link.html.erb +1 -1
  40. data/app/views/govuk_publishing_components/components/_button.html.erb +1 -1
  41. data/app/views/govuk_publishing_components/components/_character_count.html.erb +1 -1
  42. data/app/views/govuk_publishing_components/components/_contents_list.html.erb +10 -3
  43. data/app/views/govuk_publishing_components/components/_contextual_sidebar.html.erb +1 -1
  44. data/app/views/govuk_publishing_components/components/_cookie_banner.html.erb +16 -6
  45. data/app/views/govuk_publishing_components/components/_feedback.html.erb +1 -1
  46. data/app/views/govuk_publishing_components/components/_government_navigation.html.erb +14 -14
  47. data/app/views/govuk_publishing_components/components/_image_card.html.erb +15 -2
  48. data/app/views/govuk_publishing_components/components/_layout_footer.html.erb +8 -11
  49. data/app/views/govuk_publishing_components/components/_machine_readable_metadata.html.erb +1 -1
  50. data/app/views/govuk_publishing_components/components/_metadata.html.erb +7 -7
  51. data/app/views/govuk_publishing_components/components/_modal_dialogue.html.erb +1 -1
  52. data/app/views/govuk_publishing_components/components/_organisation_logo.html.erb +13 -13
  53. data/app/views/govuk_publishing_components/components/_previous_and_next_navigation.html.erb +11 -7
  54. data/app/views/govuk_publishing_components/components/_print_link.html.erb +1 -1
  55. data/app/views/govuk_publishing_components/components/_search.html.erb +1 -1
  56. data/app/views/govuk_publishing_components/components/_share_links.html.erb +2 -2
  57. data/app/views/govuk_publishing_components/components/_skip_link.html.erb +1 -1
  58. data/app/views/govuk_publishing_components/components/_step_by_step_nav.html.erb +6 -6
  59. data/app/views/govuk_publishing_components/components/_step_by_step_nav_related.html.erb +1 -1
  60. data/app/views/govuk_publishing_components/components/_subscription_links.html.erb +10 -10
  61. data/app/views/govuk_publishing_components/components/_success_alert.html.erb +1 -1
  62. data/app/views/govuk_publishing_components/components/_tabs.html.erb +1 -1
  63. data/app/views/govuk_publishing_components/components/_translation_nav.html.erb +1 -1
  64. data/app/views/govuk_publishing_components/components/docs/feedback.yml +2 -0
  65. data/app/views/govuk_publishing_components/components/docs/government_navigation.yml +2 -0
  66. data/app/views/govuk_publishing_components/components/docs/inset_text.yml +2 -2
  67. data/app/views/govuk_publishing_components/components/docs/inverse_header.yml +18 -15
  68. data/app/views/govuk_publishing_components/components/feedback/_problem_form.html.erb +6 -6
  69. data/app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb +5 -5
  70. data/app/views/govuk_publishing_components/components/feedback/_yes_no_banner.html.erb +6 -6
  71. data/app/views/govuk_publishing_components/components/layout_header/_navigation_items.html.erb +1 -1
  72. data/app/views/govuk_publishing_components/components/metadata/_sentence.html.erb +4 -4
  73. data/app/views/govuk_publishing_components/components/related_navigation/_section.html.erb +1 -1
  74. data/config/locales/ar.yml +153 -0
  75. data/config/locales/az.yml +153 -0
  76. data/config/locales/be.yml +153 -0
  77. data/config/locales/bg.yml +153 -0
  78. data/config/locales/bn.yml +153 -0
  79. data/config/locales/cs.yml +153 -0
  80. data/config/locales/cy.yml +146 -7
  81. data/config/locales/da.yml +153 -0
  82. data/config/locales/de.yml +153 -0
  83. data/config/locales/dr.yml +153 -0
  84. data/config/locales/el.yml +153 -0
  85. data/config/locales/en.yml +143 -110
  86. data/config/locales/es-419.yml +153 -0
  87. data/config/locales/es.yml +153 -0
  88. data/config/locales/et.yml +150 -0
  89. data/config/locales/fa.yml +153 -0
  90. data/config/locales/fi.yml +153 -0
  91. data/config/locales/fr.yml +150 -0
  92. data/config/locales/gd.yml +153 -0
  93. data/config/locales/gu.yml +153 -0
  94. data/config/locales/he.yml +153 -0
  95. data/config/locales/hi.yml +153 -0
  96. data/config/locales/hr.yml +153 -0
  97. data/config/locales/hu.yml +153 -0
  98. data/config/locales/hy.yml +153 -0
  99. data/config/locales/id.yml +153 -0
  100. data/config/locales/is.yml +153 -0
  101. data/config/locales/it.yml +153 -0
  102. data/config/locales/ja.yml +153 -0
  103. data/config/locales/ka.yml +153 -0
  104. data/config/locales/kk.yml +153 -0
  105. data/config/locales/ko.yml +153 -0
  106. data/config/locales/lt.yml +153 -0
  107. data/config/locales/lv.yml +153 -0
  108. data/config/locales/ms.yml +153 -0
  109. data/config/locales/mt.yml +153 -0
  110. data/config/locales/nl.yml +153 -0
  111. data/config/locales/no.yml +154 -1
  112. data/config/locales/pa-pk.yml +153 -0
  113. data/config/locales/pa.yml +153 -0
  114. data/config/locales/pl.yml +153 -0
  115. data/config/locales/ps.yml +153 -0
  116. data/config/locales/pt.yml +153 -0
  117. data/config/locales/ro.yml +153 -0
  118. data/config/locales/ru.yml +153 -0
  119. data/config/locales/si.yml +153 -0
  120. data/config/locales/sk.yml +153 -0
  121. data/config/locales/sl.yml +153 -0
  122. data/config/locales/so.yml +153 -0
  123. data/config/locales/sq.yml +153 -0
  124. data/config/locales/sr.yml +153 -0
  125. data/config/locales/sv.yml +153 -0
  126. data/config/locales/sw.yml +153 -0
  127. data/config/locales/ta.yml +153 -0
  128. data/config/locales/th.yml +153 -0
  129. data/config/locales/tk.yml +153 -0
  130. data/config/locales/tr.yml +153 -0
  131. data/config/locales/uk.yml +153 -0
  132. data/config/locales/ur.yml +153 -0
  133. data/config/locales/uz.yml +153 -0
  134. data/config/locales/vi.yml +153 -0
  135. data/config/locales/zh-hk.yml +153 -0
  136. data/config/locales/zh-tw.yml +153 -0
  137. data/config/locales/zh.yml +153 -0
  138. data/lib/govuk_publishing_components/presenters/content_breadcrumbs_based_on_taxons.rb +1 -2
  139. data/lib/govuk_publishing_components/presenters/content_item.rb +5 -3
  140. data/lib/govuk_publishing_components/presenters/contents_list_helper.rb +0 -3
  141. data/lib/govuk_publishing_components/presenters/machine_readable/page.rb +4 -0
  142. data/lib/govuk_publishing_components/presenters/public_layout_helper.rb +1 -1
  143. data/lib/govuk_publishing_components/version.rb +1 -1
  144. data/node_modules/govuk-frontend/govuk/components/accordion/_index.scss +7 -16
  145. data/node_modules/govuk-frontend/govuk/components/back-link/_index.scss +4 -15
  146. data/node_modules/govuk-frontend/govuk/components/character-count/macro-options.json +1 -1
  147. data/node_modules/govuk-frontend/govuk/components/checkboxes/macro-options.json +3 -3
  148. data/node_modules/govuk-frontend/govuk/components/cookie-banner/README.md +15 -0
  149. data/node_modules/govuk-frontend/govuk/components/cookie-banner/fixtures.json +40 -22
  150. data/node_modules/govuk-frontend/govuk/components/cookie-banner/macro-options.json +6 -6
  151. data/node_modules/govuk-frontend/govuk/components/cookie-banner/template.njk +15 -5
  152. data/node_modules/govuk-frontend/govuk/components/date-input/macro-options.json +2 -2
  153. data/node_modules/govuk-frontend/govuk/components/details/_index.scss +5 -1
  154. data/node_modules/govuk-frontend/govuk/components/file-upload/_index.scss +13 -14
  155. data/node_modules/govuk-frontend/govuk/components/file-upload/macro-options.json +1 -1
  156. data/node_modules/govuk-frontend/govuk/components/footer/_index.scss +14 -19
  157. data/node_modules/govuk-frontend/govuk/components/header/_index.scss +39 -21
  158. data/node_modules/govuk-frontend/govuk/components/input/macro-options.json +1 -1
  159. data/node_modules/govuk-frontend/govuk/components/phase-banner/_index.scss +1 -1
  160. data/node_modules/govuk-frontend/govuk/components/radios/macro-options.json +3 -3
  161. data/node_modules/govuk-frontend/govuk/components/select/macro-options.json +1 -1
  162. data/node_modules/govuk-frontend/govuk/components/skip-link/_index.scss +1 -1
  163. data/node_modules/govuk-frontend/govuk/components/tabs/_index.scss +1 -6
  164. data/node_modules/govuk-frontend/govuk/components/textarea/macro-options.json +1 -1
  165. data/node_modules/govuk-frontend/govuk/components/warning-text/_index.scss +10 -0
  166. data/node_modules/govuk-frontend/govuk/core/_links.scss +8 -0
  167. data/node_modules/govuk-frontend/govuk/helpers/_links.scss +153 -38
  168. data/node_modules/govuk-frontend/govuk/settings/_all.scss +2 -0
  169. data/node_modules/govuk-frontend/govuk/settings/_links.scss +62 -0
  170. data/node_modules/govuk-frontend/package.json +1 -1
  171. metadata +9 -7
@@ -1 +1,154 @@
1
+ ---
1
2
  sw:
3
+ common:
4
+ translations:
5
+ components:
6
+ accordion:
7
+ hide:
8
+ hide_all:
9
+ show:
10
+ show_all:
11
+ this_section_visually_hidden:
12
+ article_schema:
13
+ scoped_search_description:
14
+ attachment:
15
+ opendocument_html:
16
+ order_a_copy:
17
+ page:
18
+ one:
19
+ other:
20
+ reference:
21
+ request_format_cta:
22
+ request_format_details_html:
23
+ request_format_text:
24
+ back_link:
25
+ back:
26
+ character_count:
27
+ body:
28
+ type:
29
+ characters:
30
+ words:
31
+ checkboxes:
32
+ or:
33
+ contents_list:
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:
46
+ feedback:
47
+ close:
48
+ dont_include_personal_info:
49
+ email_address:
50
+ help_us_improve_govuk:
51
+ is_not_useful:
52
+ is_this_page_useful:
53
+ is_useful:
54
+ maybe:
55
+ more_about_visit:
56
+ 'no':
57
+ send:
58
+ send_me_survey:
59
+ something_wrong:
60
+ thank_you_for_feedback:
61
+ what_doing:
62
+ what_wrong:
63
+ 'yes':
64
+ government_navigation:
65
+ consultations:
66
+ departments:
67
+ get-involved:
68
+ how-government-works:
69
+ news_and_communications:
70
+ statistics:
71
+ worldwide:
72
+ layout_footer:
73
+ copyright_html:
74
+ licence_html:
75
+ support_links:
76
+ layout_header:
77
+ hide_button:
78
+ menu:
79
+ search_button:
80
+ show_button:
81
+ top_level:
82
+ metadata:
83
+ from:
84
+ history:
85
+ last_updated:
86
+ part_of:
87
+ published:
88
+ see_all_updates:
89
+ toggle_less:
90
+ toggle_more:
91
+ modal_dialogue:
92
+ close_modal:
93
+ organisation_schema:
94
+ all_content_search_description:
95
+ previous_and_next_navigation:
96
+ pagination:
97
+ print_link:
98
+ text:
99
+ radio:
100
+ or:
101
+ related_footer_navigation:
102
+ collections:
103
+ policies:
104
+ statistical_data_sets:
105
+ topical_events:
106
+ related_navigation:
107
+ collections:
108
+ external_links:
109
+ policies:
110
+ publishers:
111
+ related_contacts:
112
+ related_content:
113
+ related_external_links:
114
+ related_guides:
115
+ statistical_data_sets:
116
+ topical_events:
117
+ topics:
118
+ transition:
119
+ link_path:
120
+ link_text:
121
+ title:
122
+ world_locations:
123
+ search_box:
124
+ input_title:
125
+ label:
126
+ search_button:
127
+ show_password:
128
+ announce_hide:
129
+ announce_show:
130
+ hide:
131
+ hide_password:
132
+ show:
133
+ show_password:
134
+ skip_link:
135
+ text:
136
+ step_by_step_nav:
137
+ hide:
138
+ hide_all:
139
+ show:
140
+ show_all:
141
+ step_by_step_nav_related:
142
+ part_of:
143
+ subscription_links:
144
+ email_signup_link_text:
145
+ feed_link_label:
146
+ feed_link_text:
147
+ subscriptions:
148
+ success_alert:
149
+ success:
150
+ summary_list:
151
+ delete:
152
+ edit:
153
+ tabs:
154
+ contents:
@@ -1 +1,154 @@
1
+ ---
1
2
  ta:
3
+ common:
4
+ translations:
5
+ components:
6
+ accordion:
7
+ hide:
8
+ hide_all:
9
+ show:
10
+ show_all:
11
+ this_section_visually_hidden:
12
+ article_schema:
13
+ scoped_search_description:
14
+ attachment:
15
+ opendocument_html:
16
+ order_a_copy:
17
+ page:
18
+ one:
19
+ other:
20
+ reference:
21
+ request_format_cta:
22
+ request_format_details_html:
23
+ request_format_text:
24
+ back_link:
25
+ back:
26
+ character_count:
27
+ body:
28
+ type:
29
+ characters:
30
+ words:
31
+ checkboxes:
32
+ or:
33
+ contents_list:
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:
46
+ feedback:
47
+ close:
48
+ dont_include_personal_info:
49
+ email_address:
50
+ help_us_improve_govuk:
51
+ is_not_useful:
52
+ is_this_page_useful:
53
+ is_useful:
54
+ maybe:
55
+ more_about_visit:
56
+ 'no':
57
+ send:
58
+ send_me_survey:
59
+ something_wrong:
60
+ thank_you_for_feedback:
61
+ what_doing:
62
+ what_wrong:
63
+ 'yes':
64
+ government_navigation:
65
+ consultations:
66
+ departments:
67
+ get-involved:
68
+ how-government-works:
69
+ news_and_communications:
70
+ statistics:
71
+ worldwide:
72
+ layout_footer:
73
+ copyright_html:
74
+ licence_html:
75
+ support_links:
76
+ layout_header:
77
+ hide_button:
78
+ menu:
79
+ search_button:
80
+ show_button:
81
+ top_level:
82
+ metadata:
83
+ from:
84
+ history:
85
+ last_updated:
86
+ part_of:
87
+ published:
88
+ see_all_updates:
89
+ toggle_less:
90
+ toggle_more:
91
+ modal_dialogue:
92
+ close_modal:
93
+ organisation_schema:
94
+ all_content_search_description:
95
+ previous_and_next_navigation:
96
+ pagination:
97
+ print_link:
98
+ text:
99
+ radio:
100
+ or:
101
+ related_footer_navigation:
102
+ collections:
103
+ policies:
104
+ statistical_data_sets:
105
+ topical_events:
106
+ related_navigation:
107
+ collections:
108
+ external_links:
109
+ policies:
110
+ publishers:
111
+ related_contacts:
112
+ related_content:
113
+ related_external_links:
114
+ related_guides:
115
+ statistical_data_sets:
116
+ topical_events:
117
+ topics:
118
+ transition:
119
+ link_path:
120
+ link_text:
121
+ title:
122
+ world_locations:
123
+ search_box:
124
+ input_title:
125
+ label:
126
+ search_button:
127
+ show_password:
128
+ announce_hide:
129
+ announce_show:
130
+ hide:
131
+ hide_password:
132
+ show:
133
+ show_password:
134
+ skip_link:
135
+ text:
136
+ step_by_step_nav:
137
+ hide:
138
+ hide_all:
139
+ show:
140
+ show_all:
141
+ step_by_step_nav_related:
142
+ part_of:
143
+ subscription_links:
144
+ email_signup_link_text:
145
+ feed_link_label:
146
+ feed_link_text:
147
+ subscriptions:
148
+ success_alert:
149
+ success:
150
+ summary_list:
151
+ delete:
152
+ edit:
153
+ tabs:
154
+ contents:
@@ -1 +1,154 @@
1
+ ---
1
2
  th:
3
+ common:
4
+ translations:
5
+ components:
6
+ accordion:
7
+ hide:
8
+ hide_all:
9
+ show:
10
+ show_all:
11
+ this_section_visually_hidden:
12
+ article_schema:
13
+ scoped_search_description:
14
+ attachment:
15
+ opendocument_html:
16
+ order_a_copy:
17
+ page:
18
+ one:
19
+ other:
20
+ reference:
21
+ request_format_cta:
22
+ request_format_details_html:
23
+ request_format_text:
24
+ back_link:
25
+ back:
26
+ character_count:
27
+ body:
28
+ type:
29
+ characters:
30
+ words:
31
+ checkboxes:
32
+ or:
33
+ contents_list:
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:
46
+ feedback:
47
+ close:
48
+ dont_include_personal_info:
49
+ email_address:
50
+ help_us_improve_govuk:
51
+ is_not_useful:
52
+ is_this_page_useful:
53
+ is_useful:
54
+ maybe:
55
+ more_about_visit:
56
+ 'no':
57
+ send:
58
+ send_me_survey:
59
+ something_wrong:
60
+ thank_you_for_feedback:
61
+ what_doing:
62
+ what_wrong:
63
+ 'yes':
64
+ government_navigation:
65
+ consultations:
66
+ departments:
67
+ get-involved:
68
+ how-government-works:
69
+ news_and_communications:
70
+ statistics:
71
+ worldwide:
72
+ layout_footer:
73
+ copyright_html:
74
+ licence_html:
75
+ support_links:
76
+ layout_header:
77
+ hide_button:
78
+ menu:
79
+ search_button:
80
+ show_button:
81
+ top_level:
82
+ metadata:
83
+ from:
84
+ history:
85
+ last_updated:
86
+ part_of:
87
+ published:
88
+ see_all_updates:
89
+ toggle_less:
90
+ toggle_more:
91
+ modal_dialogue:
92
+ close_modal:
93
+ organisation_schema:
94
+ all_content_search_description:
95
+ previous_and_next_navigation:
96
+ pagination:
97
+ print_link:
98
+ text:
99
+ radio:
100
+ or:
101
+ related_footer_navigation:
102
+ collections:
103
+ policies:
104
+ statistical_data_sets:
105
+ topical_events:
106
+ related_navigation:
107
+ collections:
108
+ external_links:
109
+ policies:
110
+ publishers:
111
+ related_contacts:
112
+ related_content:
113
+ related_external_links:
114
+ related_guides:
115
+ statistical_data_sets:
116
+ topical_events:
117
+ topics:
118
+ transition:
119
+ link_path:
120
+ link_text:
121
+ title:
122
+ world_locations:
123
+ search_box:
124
+ input_title:
125
+ label:
126
+ search_button:
127
+ show_password:
128
+ announce_hide:
129
+ announce_show:
130
+ hide:
131
+ hide_password:
132
+ show:
133
+ show_password:
134
+ skip_link:
135
+ text:
136
+ step_by_step_nav:
137
+ hide:
138
+ hide_all:
139
+ show:
140
+ show_all:
141
+ step_by_step_nav_related:
142
+ part_of:
143
+ subscription_links:
144
+ email_signup_link_text:
145
+ feed_link_label:
146
+ feed_link_text:
147
+ subscriptions:
148
+ success_alert:
149
+ success:
150
+ summary_list:
151
+ delete:
152
+ edit:
153
+ tabs:
154
+ contents: