govuk_publishing_components 33.0.0 → 34.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/config/govuk_publishing_components_manifest.js +0 -1
  3. data/app/assets/javascripts/component_guide/accessibility-test.js +0 -1
  4. data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-ecommerce-tracker.js +3 -3
  5. data/app/assets/javascripts/govuk_publishing_components/components/step-by-step-nav.js +22 -1
  6. data/app/assets/javascripts/govuk_publishing_components/vendor/lux/lux-reporter.js +58 -106
  7. data/app/assets/stylesheets/govuk_publishing_components/components/_accordion.scss +28 -0
  8. data/app/assets/stylesheets/govuk_publishing_components/components/_button.scss +11 -0
  9. data/app/assets/stylesheets/govuk_publishing_components/components/_cards.scss +19 -0
  10. data/app/assets/stylesheets/govuk_publishing_components/components/_contents-list.scss +20 -0
  11. data/app/assets/stylesheets/govuk_publishing_components/components/_cookie-banner.scss +6 -0
  12. data/app/assets/stylesheets/govuk_publishing_components/components/_emergency-banner.scss +6 -0
  13. data/app/assets/stylesheets/govuk_publishing_components/components/_govspeak-html-publication.scss +8 -0
  14. data/app/assets/stylesheets/govuk_publishing_components/components/_govspeak.scss +83 -0
  15. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +6 -0
  16. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-header.scss +15 -0
  17. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav.scss +6 -0
  18. data/app/assets/stylesheets/govuk_publishing_components/components/_textarea.scss +16 -0
  19. data/app/assets/stylesheets/govuk_publishing_components/components/_title.scss +10 -0
  20. data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_contents-list-helper.scss +0 -1
  21. data/app/controllers/govuk_publishing_components/component_guide_controller.rb +6 -9
  22. data/app/views/govuk_publishing_components/component_guide/_application_stylesheet.html.erb +0 -3
  23. data/app/views/govuk_publishing_components/component_guide/index.html.erb +0 -7
  24. data/app/views/govuk_publishing_components/components/_layout_for_admin.html.erb +1 -2
  25. data/app/views/govuk_publishing_components/components/_layout_for_public.html.erb +0 -1
  26. data/app/views/govuk_publishing_components/components/_step_by_step_nav.html.erb +4 -1
  27. data/app/views/govuk_publishing_components/components/docs/step_by_step_nav.yml +34 -0
  28. data/app/views/govuk_publishing_components/components/feedback/_problem_form.html.erb +1 -1
  29. data/app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb +1 -1
  30. data/app/views/layouts/govuk_publishing_components/application.html.erb +1 -2
  31. data/config/locales/ar.yml +0 -7
  32. data/config/locales/az.yml +1 -7
  33. data/config/locales/be.yml +0 -7
  34. data/config/locales/bg.yml +0 -7
  35. data/config/locales/bn.yml +0 -7
  36. data/config/locales/cs.yml +0 -7
  37. data/config/locales/cy.yml +0 -7
  38. data/config/locales/da.yml +0 -7
  39. data/config/locales/de.yml +0 -7
  40. data/config/locales/dr.yml +0 -7
  41. data/config/locales/el.yml +0 -7
  42. data/config/locales/en.yml +0 -7
  43. data/config/locales/es-419.yml +0 -7
  44. data/config/locales/es.yml +0 -7
  45. data/config/locales/et.yml +0 -7
  46. data/config/locales/fa.yml +1 -7
  47. data/config/locales/fi.yml +0 -7
  48. data/config/locales/fr.yml +0 -7
  49. data/config/locales/gd.yml +0 -7
  50. data/config/locales/gu.yml +0 -7
  51. data/config/locales/he.yml +0 -7
  52. data/config/locales/hi.yml +0 -7
  53. data/config/locales/hr.yml +0 -7
  54. data/config/locales/hu.yml +0 -7
  55. data/config/locales/hy.yml +0 -7
  56. data/config/locales/id.yml +0 -7
  57. data/config/locales/is.yml +0 -7
  58. data/config/locales/it.yml +0 -7
  59. data/config/locales/ja.yml +0 -7
  60. data/config/locales/ka.yml +0 -7
  61. data/config/locales/kk.yml +0 -7
  62. data/config/locales/ko.yml +0 -7
  63. data/config/locales/lt.yml +0 -7
  64. data/config/locales/lv.yml +0 -7
  65. data/config/locales/ms.yml +0 -7
  66. data/config/locales/mt.yml +0 -7
  67. data/config/locales/nl.yml +0 -7
  68. data/config/locales/no.yml +0 -7
  69. data/config/locales/pa-pk.yml +0 -7
  70. data/config/locales/pa.yml +0 -7
  71. data/config/locales/pl.yml +0 -7
  72. data/config/locales/ps.yml +0 -7
  73. data/config/locales/pt.yml +0 -7
  74. data/config/locales/ro.yml +0 -7
  75. data/config/locales/ru.yml +0 -7
  76. data/config/locales/si.yml +0 -7
  77. data/config/locales/sk.yml +0 -7
  78. data/config/locales/sl.yml +0 -7
  79. data/config/locales/so.yml +0 -7
  80. data/config/locales/sq.yml +0 -7
  81. data/config/locales/sr.yml +0 -7
  82. data/config/locales/sv.yml +0 -7
  83. data/config/locales/sw.yml +0 -7
  84. data/config/locales/ta.yml +0 -7
  85. data/config/locales/th.yml +0 -7
  86. data/config/locales/tk.yml +0 -7
  87. data/config/locales/tr.yml +0 -7
  88. data/config/locales/uk.yml +0 -7
  89. data/config/locales/ur.yml +0 -7
  90. data/config/locales/uz.yml +0 -7
  91. data/config/locales/vi.yml +0 -7
  92. data/config/locales/zh-hk.yml +0 -7
  93. data/config/locales/zh-tw.yml +0 -7
  94. data/config/locales/zh.yml +0 -7
  95. data/lib/govuk_publishing_components/config.rb +0 -3
  96. data/lib/govuk_publishing_components/presenters/button_helper.rb +2 -1
  97. data/lib/govuk_publishing_components/version.rb +1 -1
  98. metadata +2 -17
  99. data/app/assets/stylesheets/component_guide/print.scss +0 -1
  100. data/app/assets/stylesheets/govuk_publishing_components/_all_components_print.scss +0 -18
  101. data/app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss +0 -28
  102. data/app/assets/stylesheets/govuk_publishing_components/components/print/_button.scss +0 -8
  103. data/app/assets/stylesheets/govuk_publishing_components/components/print/_cards.scss +0 -4
  104. data/app/assets/stylesheets/govuk_publishing_components/components/print/_contents-list.scss +0 -19
  105. data/app/assets/stylesheets/govuk_publishing_components/components/print/_emergency-banner.scss +0 -3
  106. data/app/assets/stylesheets/govuk_publishing_components/components/print/_govspeak-html-publication.scss +0 -5
  107. data/app/assets/stylesheets/govuk_publishing_components/components/print/_govspeak.scss +0 -80
  108. data/app/assets/stylesheets/govuk_publishing_components/components/print/_layout-super-navigation-header.scss +0 -3
  109. data/app/assets/stylesheets/govuk_publishing_components/components/print/_organisation-logo.scss +0 -7
  110. data/app/assets/stylesheets/govuk_publishing_components/components/print/_step-by-step-nav-header.scss +0 -7
  111. data/app/assets/stylesheets/govuk_publishing_components/components/print/_step-by-step-nav.scss +0 -116
  112. data/app/assets/stylesheets/govuk_publishing_components/components/print/_textarea.scss +0 -13
  113. data/app/assets/stylesheets/govuk_publishing_components/components/print/_title.scss +0 -7
@@ -156,13 +156,6 @@ kk:
156
156
  statistical_data_sets: Статистикалық деректер жиыны
157
157
  topical_events: Тақырыптық оқиға
158
158
  topics: Тақырыпты зерттеу
159
- transition:
160
- hub_page_link_path: "/transition-check/questions"
161
- hub_page_link_text: Әрекеттердің жеке тізімін алу
162
- hub_page_title: Brexit тексеру құралы
163
- link_path: "/brexit"
164
- link_text: Не істеу керек екенін қараңыз
165
- title: Brexit
166
159
  ukraine:
167
160
  links:
168
161
  title:
@@ -151,13 +151,6 @@ ko:
151
151
  statistical_data_sets:
152
152
  topical_events:
153
153
  topics:
154
- transition:
155
- hub_page_link_path:
156
- hub_page_link_text:
157
- hub_page_title:
158
- link_path:
159
- link_text:
160
- title:
161
154
  ukraine:
162
155
  links:
163
156
  title:
@@ -161,13 +161,6 @@ lt:
161
161
  statistical_data_sets: Statistinių duomenų rinkinys
162
162
  topical_events: Aktualus įvykis
163
163
  topics: Išnagrinėti temą
164
- transition:
165
- hub_page_link_path: "/transition-check/questions"
166
- hub_page_link_text: Gauti suasmenintą veiksmų sąrašą
167
- hub_page_title: "„Brexito“ klausimynas"
168
- link_path: "/brexit"
169
- link_text: Pažiūrėkite, ką turite daryti
170
- title: "„Brexitas“ "
171
164
  ukraine:
172
165
  links:
173
166
  title:
@@ -160,13 +160,6 @@ lv:
160
160
  statistical_data_sets: Statistikas datu kopa
161
161
  topical_events: Aktuāls notikums
162
162
  topics: Izpētīt tēmu
163
- transition:
164
- hub_page_link_path: "/transition-check/questions"
165
- hub_page_link_text: Saņemt personalizētu uzdevumu sarakstu
166
- hub_page_title: Brexit kontrolsaraksts
167
- link_path: "/brexit"
168
- link_text: Noskaidrojiet, kas jums jāpaveic
169
- title: Brexit
170
163
  ukraine:
171
164
  links:
172
165
  title:
@@ -155,13 +155,6 @@ ms:
155
155
  statistical_data_sets: Set data statistik
156
156
  topical_events: Acara berdasarkan tajuk
157
157
  topics: Terokai tajuk
158
- transition:
159
- hub_page_link_path: "/transition-check/questions"
160
- hub_page_link_text: Dapatkan senarai tindakan khusus untuk anda
161
- hub_page_title: Penyemak Brexit
162
- link_path: "/brexit"
163
- link_text: Periksa apa yang perlu anda lakukan
164
- title: Brexit
165
158
  ukraine:
166
159
  links:
167
160
  title:
@@ -158,13 +158,6 @@ mt:
158
158
  statistical_data_sets: Sett tad-dejta bl-istatistiċi
159
159
  topical_events: Avveniment topiku
160
160
  topics: Esplora s-suġġett
161
- transition:
162
- hub_page_link_path: "/transition-check/questions"
163
- hub_page_link_text: Ġib lista personalizzata ta' azzjonijiet
164
- hub_page_title: Brexit checker
165
- link_path: "/brexit"
166
- link_text: Iċċekkja x'għandek bżonn tagħmel
167
- title: Brexit
168
161
  ukraine:
169
162
  links:
170
163
  title:
@@ -156,13 +156,6 @@ nl:
156
156
  statistical_data_sets: Statistische gegevens
157
157
  topical_events: Actueel evenement
158
158
  topics: Verken het onderwerp
159
- transition:
160
- hub_page_link_path: "/transition-check/questions"
161
- hub_page_link_text: Ontvang een gepersonaliseerde lijst van acties
162
- hub_page_title: Brexit-checker
163
- link_path: "/brexit"
164
- link_text: Controleer wat u moet doen
165
- title: Brexit
166
159
  ukraine:
167
160
  links:
168
161
  title:
@@ -156,13 +156,6 @@
156
156
  statistical_data_sets: Statistisk datasett
157
157
  topical_events: Aktuell begivenhet
158
158
  topics: Utforsk emnet
159
- transition:
160
- hub_page_link_path: "/transition-check/questions"
161
- hub_page_link_text: Få en personlig liste over handlinger
162
- hub_page_title: Brexit-sjekker
163
- link_path: "/brexit"
164
- link_text: Sjekk hva du må gjøre
165
- title: Brexit
166
159
  ukraine:
167
160
  links:
168
161
  title:
@@ -152,13 +152,6 @@ pa-pk:
152
152
  statistical_data_sets: حساب کتاب دے سیٹ
153
153
  topical_events: مضمون سے حساب نال وقوعے
154
154
  topics: مضمون دی کھوج کرو
155
- transition:
156
- hub_page_link_path: "/transition-check/questions"
157
- hub_page_link_text: کم کرن لئی اک ذاتی فہرست حاصل کرو
158
- hub_page_title: brexitنوں دیکھن والا
159
- link_path: "/brexit"
160
- link_text: دیکھو جو تہانوں کرن دی لوڑ اے
161
- title: Brexit
162
155
  ukraine:
163
156
  links:
164
157
  title:
@@ -156,13 +156,6 @@ pa:
156
156
  statistical_data_sets: ਅੰਕੜਾ ਡਾਟਾ ਸੈੱਟ
157
157
  topical_events: ਸਤਹੀ ਘਟਨਾ
158
158
  topics: ਵਿਸ਼ੇ ਦੀ ਪੜਚੋਲ ਕਰੋ
159
- transition:
160
- hub_page_link_path: "/transition-check/questions"
161
- hub_page_link_text: ਕਾਰਵਾਈਆਂ ਦੀ ਵਿਅਕਤੀਗਤ ਸੂਚੀ ਪ੍ਰਾਪਤ ਕਰੋ
162
- hub_page_title: ਬ੍ਰੈਕਸਿਟ ਜਾਂਚਕਰਤਾ
163
- link_path: "/brexit"
164
- link_text: ਜਾਂਚ ਕਰੋ ਕਿ ਤੁਹਾਨੂੰ ਕੀ ਕਰਨ ਦੀ ਜ਼ਰੂਰਤ ਹੈ
165
- title: ਬ੍ਰੈਕਸਿਟ
166
159
  ukraine:
167
160
  links:
168
161
  title:
@@ -160,13 +160,6 @@ pl:
160
160
  statistical_data_sets: Zestaw danych statystycznych
161
161
  topical_events: Wydarzenie tematyczne
162
162
  topics: Zbadaj temat
163
- transition:
164
- hub_page_link_path: "/transition-check/questions"
165
- hub_page_link_text: Uzyskaj spersonalizowaną listę zadań
166
- hub_page_title: Brexit checker
167
- link_path: "/brexit"
168
- link_text: Sprawdź, co musisz zrobić
169
- title: Brexit
170
163
  ukraine:
171
164
  links:
172
165
  title:
@@ -153,13 +153,6 @@ ps:
153
153
  statistical_data_sets: د احصایوي معلوماتو سیټ
154
154
  topical_events: موضوعي پیښه
155
155
  topics: موضوع وپلټئ
156
- transition:
157
- hub_page_link_path: "/transition-check/questions"
158
- hub_page_link_text: د کړنو شخصي لیست ترلاسه کړئ
159
- hub_page_title: د بریکسیت چیکر
160
- link_path: "/brexit"
161
- link_text: وګورئ چې تاسو څه کولو ته اړتیا لرئ
162
- title: بریکسیټ
163
156
  ukraine:
164
157
  links:
165
158
  title:
@@ -156,13 +156,6 @@ pt:
156
156
  statistical_data_sets: Conjunto de dados estatísticos
157
157
  topical_events: Evento temático
158
158
  topics: Explorar o tópico
159
- transition:
160
- hub_page_link_path: "/transition-check/questions"
161
- hub_page_link_text: Obter uma lista personalizada de ações
162
- hub_page_title: Verificador Brexit
163
- link_path: "/brexit"
164
- link_text: Verifique o que precisa de fazer
165
- title: Brexit
166
159
  ukraine:
167
160
  links:
168
161
  title:
@@ -157,13 +157,6 @@ ro:
157
157
  statistical_data_sets: Set de date statistice
158
158
  topical_events: Eveniment pe o temă dată
159
159
  topics: Explorați tema
160
- transition:
161
- hub_page_link_path: "/transition-check/questions"
162
- hub_page_link_text: Descărcați o listă de acțiuni personalizate
163
- hub_page_title: Verificator Brexit
164
- link_path: "/brexit"
165
- link_text: Verificați ce trebuie să faceți
166
- title: Brexit
167
160
  ukraine:
168
161
  links:
169
162
  title:
@@ -160,13 +160,6 @@ ru:
160
160
  statistical_data_sets: Наборы статистических данных
161
161
  topical_events: Актуальные события
162
162
  topics: Изучить событие
163
- transition:
164
- hub_page_link_path: "/transition-check/questions"
165
- hub_page_link_text: Получите персональный список действий
166
- hub_page_title: Проверка Брексита
167
- link_path: "/brexit"
168
- link_text: Проверьте, что вам нужно сделать
169
- title: Брексит
170
163
  ukraine:
171
164
  links:
172
165
  title:
@@ -156,13 +156,6 @@ si:
156
156
  statistical_data_sets: සංඛ්යාලේඛන දත්ත කට්ටලය
157
157
  topical_events: කාලෝචිත සිදුවීම
158
158
  topics: මාතෘකාව ගවේෂණය කරන්න
159
- transition:
160
- hub_page_link_path: "/transition-check/questions"
161
- hub_page_link_text: පුද්ගලාරෝපිත ක්රියා ලැයිස්තුවක් ලබා ගන්න
162
- hub_page_title: බ්රෙක්සිට් පරීක්ෂක
163
- link_path: "/brexit"
164
- link_text: ඔබ කළ යුතු දේ පරීක්ෂා කරන්න
165
- title: බ්රෙක්සිට්
166
159
  ukraine:
167
160
  links:
168
161
  title:
@@ -161,13 +161,6 @@ sk:
161
161
  statistical_data_sets: Súbor štatistických údajov
162
162
  topical_events: Aktuálne podujatie
163
163
  topics: Preskúmať tému
164
- transition:
165
- hub_page_link_path: "/transition-check/questions"
166
- hub_page_link_text: Získajte personalizovaný zoznam akcií
167
- hub_page_title: Kontrola brexitu
168
- link_path: "/brexit"
169
- link_text: Skontrolujte, čo je potrebné urobiť
170
- title: Brexit
171
164
  ukraine:
172
165
  links:
173
166
  title:
@@ -163,13 +163,6 @@ sl:
163
163
  statistical_data_sets: Statistični podatkovni niz
164
164
  topical_events: Aktualen dogodek
165
165
  topics: Razišči to temo
166
- transition:
167
- hub_page_link_path: "/transition-check/questions"
168
- hub_page_link_text: Prejmite prilagojen seznam dejanj
169
- hub_page_title: Prejmite prilagojen seznam dejanja
170
- link_path: "/brexit"
171
- link_text: Preverite, kaj morate storiti
172
- title: Brexit
173
166
  ukraine:
174
167
  links:
175
168
  title:
@@ -156,13 +156,6 @@ so:
156
156
  statistical_data_sets: Xogta tirokoobka
157
157
  topical_events: Dhacdooyinka macduucooda
158
158
  topics: Ogow mawduuca
159
- transition:
160
- hub_page_link_path: "/transition-check/questions"
161
- hub_page_link_text: Hel talaabooyinka liiska shaqsiyeed
162
- hub_page_title: Hubinta Brexit
163
- link_path: "/brexit"
164
- link_text: Hubi waxaad u baahantahay inaad qabato
165
- title: Ka bixitaanka Ingiriiska
166
159
  ukraine:
167
160
  links:
168
161
  title:
@@ -156,13 +156,6 @@ sq:
156
156
  statistical_data_sets: Grupi i të dhënave statistikore
157
157
  topical_events: Ngjarje aktuale
158
158
  topics: Eksploroni temën
159
- transition:
160
- hub_page_link_path: "/transition-check/questions"
161
- hub_page_link_text: Merrni një listë të personalizuar të veprimeve
162
- hub_page_title: Kontrolluesi i Brexit
163
- link_path: "/brexit"
164
- link_text: Kontrolloni se çfarë duhet të bëni
165
- title: Brexit
166
159
  ukraine:
167
160
  links:
168
161
  title:
@@ -157,13 +157,6 @@ sr:
157
157
  statistical_data_sets: Set statističkih podataka
158
158
  topical_events: Događaj po temi
159
159
  topics: Istražite temu
160
- transition:
161
- hub_page_link_path: "/transition-check/questions"
162
- hub_page_link_text: Preuzmite personalizovanu listu postupaka
163
- hub_page_title: Kontrolna lista za Bregzit
164
- link_path: "/brexit"
165
- link_text: Proverite šta treba da uradite
166
- title: Bregzit
167
160
  ukraine:
168
161
  links:
169
162
  title:
@@ -156,13 +156,6 @@ sv:
156
156
  statistical_data_sets: Statistiska uppgifter
157
157
  topical_events: Aktuell händelse
158
158
  topics: Utforska ämnet
159
- transition:
160
- hub_page_link_path: "/transition-check/questions"
161
- hub_page_link_text: Få en personlig åtgärdslista
162
- hub_page_title: Brexit-kontroll
163
- link_path: "/brexit"
164
- link_text: Kontrollera vad du behöver göra
165
- title: Brexit
166
159
  ukraine:
167
160
  links:
168
161
  title:
@@ -156,13 +156,6 @@ sw:
156
156
  statistical_data_sets: Kikundi cha data ya takwimu
157
157
  topical_events: Tukio linalohusiana na mada
158
158
  topics: Pitia mada
159
- transition:
160
- hub_page_link_path: "/transition-check/questions"
161
- hub_page_link_text: Pata orodha ya hatua za kuchukua zinazokufaa
162
- hub_page_title: Kiteuzi cha Brexit
163
- link_path: "/brexit"
164
- link_text: Angalia unachopaswa kufanya
165
- title: Brexit
166
159
  ukraine:
167
160
  links:
168
161
  title:
@@ -157,13 +157,6 @@ ta:
157
157
  statistical_data_sets: புள்ளியியல் தரவுத் தொகுதி
158
158
  topical_events: தலைப்புசார்ந்த நிகழ்வு
159
159
  topics: தலைப்பை அறிக
160
- transition:
161
- hub_page_link_path: "/transition-check/questions"
162
- hub_page_link_text: நடவடிக்கைகளின் தனிப்பயனாக்கப் பட்டியலைப் பெறுக
163
- hub_page_title: பிரெக்சிட் செக்கர்
164
- link_path: "/brexit"
165
- link_text: நீங்கள் செய்யவேண்டியது என்ன என்று பாருங்கள்
166
- title: பிரெக்சிட்
167
160
  ukraine:
168
161
  links:
169
162
  title:
@@ -154,13 +154,6 @@ th:
154
154
  statistical_data_sets: ชุดข้อมูลสถิติ
155
155
  topical_events: เหตุการณ์เฉพาะที่
156
156
  topics: สำรวจหัวข้อ
157
- transition:
158
- hub_page_link_path: "/transition-check/questions"
159
- hub_page_link_text: รับรายการการดำเนินการส่วนบุคคล
160
- hub_page_title: ตัวช่วยตรวจสอบ Brexit
161
- link_path: "/brexit"
162
- link_text: ตรวจสอบสิ่งที่คุณต้องทำ
163
- title: Brexit
164
157
  ukraine:
165
158
  links:
166
159
  title:
@@ -157,13 +157,6 @@ tk:
157
157
  statistical_data_sets: Statistiki maglumat toplumy
158
158
  topical_events: Möhüm waka
159
159
  topics: Mowzugy öwreniň
160
- transition:
161
- hub_page_link_path: "/transition-check/questions"
162
- hub_page_link_text: Hereketleriň şahsylaşdyrylan sanawyny alyň
163
- hub_page_title: Brexit barlaýjy
164
- link_path: "/brexit"
165
- link_text: Näme etmelidigiňizi belläň
166
- title: Brexit
167
160
  ukraine:
168
161
  links:
169
162
  title:
@@ -157,13 +157,6 @@ tr:
157
157
  statistical_data_sets: İstatistiki veri kümesi
158
158
  topical_events: Yerel etkinlik
159
159
  topics: Konuyu keşfet
160
- transition:
161
- hub_page_link_path: "/transition-check/questions"
162
- hub_page_link_text: İşlemlerin kişiselleştirilmiş bir listesini alın
163
- hub_page_title: Brexit kontrol aracı
164
- link_path: "/brexit"
165
- link_text: Ne yapmaya ihtiyacınız olduğunu kontrol edin
166
- title: Brexit
167
160
  ukraine:
168
161
  links:
169
162
  title:
@@ -163,13 +163,6 @@ uk:
163
163
  statistical_data_sets: Набір статистичних даних
164
164
  topical_events: Актуальна подія
165
165
  topics: Дослідити тему
166
- transition:
167
- hub_page_link_path: "/transition-check/questions"
168
- hub_page_link_text: Отримати персоналізований список дій
169
- hub_page_title: Інструмент перевірки Brexit
170
- link_path: "/brexit"
171
- link_text: Перевірте, що вам потрібно зробити
172
- title: Brexit
173
166
  ukraine:
174
167
  links:
175
168
  title:
@@ -153,13 +153,6 @@ ur:
153
153
  statistical_data_sets: شماریاتی ڈیٹا سیٹ
154
154
  topical_events: موضوعاتی ایونٹ
155
155
  topics: موضوع کے بارے میں مزید جانیں
156
- transition:
157
- hub_page_link_path: "/transition-check/questions"
158
- hub_page_link_text: کارروائیوں کی شخصی کردہ فہرست حاصل کریں
159
- hub_page_title: Brexit چیکر
160
- link_path: "/brexit"
161
- link_text: پڑتال کریں کہ آپ کو کیا کرنے کی ضرورت ہے
162
- title: Brexit
163
156
  ukraine:
164
157
  links:
165
158
  title:
@@ -158,13 +158,6 @@ uz:
158
158
  statistical_data_sets: Статистик маълумотлар жамланмаси
159
159
  topical_events: Долзарб воқеа
160
160
  topics: Мавзуни тадқиқот қилиш
161
- transition:
162
- hub_page_link_path: "/transition-check/questions"
163
- hub_page_link_text: Ҳаракатларнинг шахсий рўйхатини олиш
164
- hub_page_title: Брексит бўйича текширишлар дастури
165
- link_path: "/brexit"
166
- link_text: Нима қилиш зарурлигини текшириш
167
- title: Брексит
168
161
  ukraine:
169
162
  links:
170
163
  title:
@@ -155,13 +155,6 @@ vi:
155
155
  statistical_data_sets: Bộ dữ liệu thống kê
156
156
  topical_events: Sự kiện chuyên đề
157
157
  topics: Khám phá chủ đề
158
- transition:
159
- hub_page_link_path: "/transition-check/questions"
160
- hub_page_link_text: Nhận danh sách các hành động được cá nhân hóa
161
- hub_page_title: Công cụ kiểm tra Brexit
162
- link_path: "/brexit"
163
- link_text: Kiểm tra những gì bạn cần làm
164
- title: Brexit
165
158
  ukraine:
166
159
  links:
167
160
  title:
@@ -154,13 +154,6 @@ zh-hk:
154
154
  statistical_data_sets: 統計資料組
155
155
  topical_events: 專題活動
156
156
  topics: 了解專題
157
- transition:
158
- hub_page_link_path: "/transition-check/questions"
159
- hub_page_link_text: 獲得一份個人化行動列表
160
- hub_page_title: 英國脫歐核查
161
- link_path: "/brexit"
162
- link_text: 查看您需要做的事
163
- title: 英國脫歐
164
157
  ukraine:
165
158
  links:
166
159
  title:
@@ -154,13 +154,6 @@ zh-tw:
154
154
  statistical_data_sets: 統計數據組
155
155
  topical_events: 主題活動
156
156
  topics: 探索主題
157
- transition:
158
- hub_page_link_path: "/transition-check/questions"
159
- hub_page_link_text: 獲取個人化操作列表
160
- hub_page_title: 脫歐確認器
161
- link_path: "/brexit"
162
- link_text: 確認你需要:
163
- title: 脫歐
164
157
  ukraine:
165
158
  links:
166
159
  title:
@@ -154,13 +154,6 @@ zh:
154
154
  statistical_data_sets: 统计数据集
155
155
  topical_events: 局部事件
156
156
  topics: 探索本主题
157
- transition:
158
- hub_page_link_path: "/transition-check/questions"
159
- hub_page_link_text: 获得个性化的操作列表
160
- hub_page_title: 英国脱欧检查程序
161
- link_path: "/brexit"
162
- link_text: 检查您需要做的事情
163
- title: 英国脱欧
164
157
  ukraine:
165
158
  links:
166
159
  title:
@@ -12,9 +12,6 @@ module GovukPublishingComponents
12
12
  mattr_accessor :application_stylesheet
13
13
  self.application_stylesheet = "application"
14
14
 
15
- mattr_accessor :application_print_stylesheet
16
- self.application_print_stylesheet = "print"
17
-
18
15
  mattr_accessor :application_javascript
19
16
  self.application_javascript = "application"
20
17
 
@@ -38,7 +38,8 @@ module GovukPublishingComponents
38
38
  @info_text_classes << margin_class
39
39
  end
40
40
  @rel = local_assigns[:rel]
41
- @data_attributes = local_assigns[:data_attributes]
41
+ @data_attributes = local_assigns[:data_attributes]&.symbolize_keys || {}
42
+ @data_attributes[:module] = "govuk-button #{data_attributes[:module]}".strip if link?
42
43
  @margin_bottom = local_assigns[:margin_bottom]
43
44
  @inline_layout = local_assigns[:inline_layout]
44
45
  @target = local_assigns[:target]
@@ -1,3 +1,3 @@
1
1
  module GovukPublishingComponents
2
- VERSION = "33.0.0".freeze
2
+ VERSION = "34.0.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: 33.0.0
4
+ version: 34.0.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: 2022-11-29 00:00:00.000000000 Z
11
+ date: 2022-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: govuk_app_config
@@ -515,9 +515,7 @@ files:
515
515
  - app/assets/javascripts/govuk_publishing_components/vendor/polyfills/common.js
516
516
  - app/assets/javascripts/govuk_publishing_components/vendor/polyfills/indexOf.js
517
517
  - app/assets/stylesheets/component_guide/application.scss
518
- - app/assets/stylesheets/component_guide/print.scss
519
518
  - app/assets/stylesheets/govuk_publishing_components/_all_components.scss
520
- - app/assets/stylesheets/govuk_publishing_components/_all_components_print.scss
521
519
  - app/assets/stylesheets/govuk_publishing_components/component_support.scss
522
520
  - app/assets/stylesheets/govuk_publishing_components/components/_accordion.scss
523
521
  - app/assets/stylesheets/govuk_publishing_components/components/_action-link.scss
@@ -624,19 +622,6 @@ files:
624
622
  - app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
625
623
  - app/assets/stylesheets/govuk_publishing_components/components/mixins/_media-down.scss
626
624
  - app/assets/stylesheets/govuk_publishing_components/components/mixins/_prefixed-transform.scss
627
- - app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
628
- - app/assets/stylesheets/govuk_publishing_components/components/print/_button.scss
629
- - app/assets/stylesheets/govuk_publishing_components/components/print/_cards.scss
630
- - app/assets/stylesheets/govuk_publishing_components/components/print/_contents-list.scss
631
- - app/assets/stylesheets/govuk_publishing_components/components/print/_emergency-banner.scss
632
- - app/assets/stylesheets/govuk_publishing_components/components/print/_govspeak-html-publication.scss
633
- - app/assets/stylesheets/govuk_publishing_components/components/print/_govspeak.scss
634
- - app/assets/stylesheets/govuk_publishing_components/components/print/_layout-super-navigation-header.scss
635
- - app/assets/stylesheets/govuk_publishing_components/components/print/_organisation-logo.scss
636
- - app/assets/stylesheets/govuk_publishing_components/components/print/_step-by-step-nav-header.scss
637
- - app/assets/stylesheets/govuk_publishing_components/components/print/_step-by-step-nav.scss
638
- - app/assets/stylesheets/govuk_publishing_components/components/print/_textarea.scss
639
- - app/assets/stylesheets/govuk_publishing_components/components/print/_title.scss
640
625
  - app/assets/stylesheets/govuk_publishing_components/govuk_frontend_support.scss
641
626
  - app/controllers/govuk_publishing_components/application_controller.rb
642
627
  - app/controllers/govuk_publishing_components/audit_controller.rb
@@ -1 +0,0 @@
1
- @import "govuk_publishing_components/all_components_print";
@@ -1,18 +0,0 @@
1
- // This is the file that the application needs to include in order to use
2
- // the components.
3
-
4
- @import "govuk_frontend_support";
5
-
6
- @import "components/print/accordion";
7
- @import "components/print/button";
8
- @import "components/print/cards";
9
- @import "components/print/contents-list";
10
- @import "components/print/emergency-banner";
11
- @import "components/print/govspeak-html-publication";
12
- @import "components/print/govspeak";
13
- @import "components/print/layout-super-navigation-header";
14
- @import "components/print/organisation-logo";
15
- @import "components/print/step-by-step-nav-header";
16
- @import "components/print/step-by-step-nav";
17
- @import "components/print/textarea";
18
- @import "components/print/title";
@@ -1,28 +0,0 @@
1
- // This is in place until a proper fix comes through from GOV.UK Frontend.
2
- //
3
- // TODO: Replace with the print styles that will come from GOV.UK Frontend.
4
-
5
- @import "govuk_publishing_components/component_support";
6
- @import "../accordion";
7
-
8
- // Open all of the accordion sections.
9
- .govuk-accordion__section-content {
10
- display: block !important; // stylelint-disable-line declaration-no-important
11
- }
12
-
13
- // Change the colour from the blue link colour to black.
14
- .govuk-accordion__section-button {
15
- color: govuk-colour("black") !important; // stylelint-disable-line declaration-no-important
16
- }
17
-
18
- // Change the summary subheading size.
19
- .govuk-accordion__section-summary {
20
- @include govuk-typography-common;
21
- @include govuk-typography-responsive($size: 16, $important: true);
22
- }
23
-
24
- // Hide the unusable "Open all" button and the "+" icons.
25
- .govuk-accordion__open-all,
26
- .govuk-accordion__icon {
27
- display: none !important; // stylelint-disable-line declaration-no-important
28
- }
@@ -1,8 +0,0 @@
1
- .gem-c-button {
2
- @include govuk-font(14);
3
- display: inline-block;
4
- padding: govuk-spacing(1);
5
- border: solid 1px govuk-colour("black");
6
- color: $govuk-text-colour;
7
- text-decoration: none;
8
- }