govuk_publishing_components 34.4.2 → 34.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-core.js +1 -29
  3. data/app/assets/javascripts/govuk_publishing_components/analytics-ga4.js +0 -1
  4. data/app/assets/javascripts/govuk_publishing_components/components/cookie-banner.js +2 -2
  5. data/app/assets/javascripts/govuk_publishing_components/dependencies.js +0 -10
  6. data/app/assets/javascripts/govuk_publishing_components/load-analytics.js +126 -30
  7. data/app/assets/javascripts/govuk_publishing_components/modules.js +7 -2
  8. data/app/views/govuk_publishing_components/components/_cookie_banner.html.erb +8 -4
  9. data/app/views/govuk_publishing_components/components/_image_card.html.erb +1 -1
  10. data/app/views/govuk_publishing_components/components/_layout_for_public.html.erb +3 -3
  11. data/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb +33 -4
  12. data/config/locales/ar.yml +6 -2
  13. data/config/locales/az.yml +6 -2
  14. data/config/locales/be.yml +6 -2
  15. data/config/locales/bg.yml +6 -2
  16. data/config/locales/bn.yml +6 -2
  17. data/config/locales/cs.yml +6 -2
  18. data/config/locales/cy.yml +6 -2
  19. data/config/locales/da.yml +6 -2
  20. data/config/locales/de.yml +6 -2
  21. data/config/locales/dr.yml +6 -2
  22. data/config/locales/el.yml +6 -2
  23. data/config/locales/en.yml +7 -3
  24. data/config/locales/es-419.yml +6 -2
  25. data/config/locales/es.yml +6 -2
  26. data/config/locales/et.yml +6 -2
  27. data/config/locales/fa.yml +6 -2
  28. data/config/locales/fi.yml +6 -2
  29. data/config/locales/fr.yml +6 -2
  30. data/config/locales/gd.yml +6 -2
  31. data/config/locales/gu.yml +6 -2
  32. data/config/locales/he.yml +6 -2
  33. data/config/locales/hi.yml +6 -2
  34. data/config/locales/hr.yml +6 -2
  35. data/config/locales/hu.yml +6 -2
  36. data/config/locales/hy.yml +6 -2
  37. data/config/locales/id.yml +6 -2
  38. data/config/locales/is.yml +6 -2
  39. data/config/locales/it.yml +6 -2
  40. data/config/locales/ja.yml +6 -2
  41. data/config/locales/ka.yml +6 -2
  42. data/config/locales/kk.yml +6 -2
  43. data/config/locales/ko.yml +6 -2
  44. data/config/locales/lt.yml +6 -2
  45. data/config/locales/lv.yml +6 -2
  46. data/config/locales/ms.yml +6 -2
  47. data/config/locales/mt.yml +6 -2
  48. data/config/locales/nl.yml +6 -2
  49. data/config/locales/no.yml +6 -2
  50. data/config/locales/pa-pk.yml +6 -2
  51. data/config/locales/pa.yml +6 -2
  52. data/config/locales/pl.yml +6 -2
  53. data/config/locales/ps.yml +6 -2
  54. data/config/locales/pt.yml +6 -2
  55. data/config/locales/ro.yml +6 -2
  56. data/config/locales/ru.yml +6 -2
  57. data/config/locales/si.yml +6 -2
  58. data/config/locales/sk.yml +6 -2
  59. data/config/locales/sl.yml +6 -2
  60. data/config/locales/so.yml +6 -2
  61. data/config/locales/sq.yml +6 -2
  62. data/config/locales/sr.yml +6 -2
  63. data/config/locales/sv.yml +6 -2
  64. data/config/locales/sw.yml +6 -2
  65. data/config/locales/ta.yml +6 -2
  66. data/config/locales/th.yml +6 -2
  67. data/config/locales/tk.yml +6 -2
  68. data/config/locales/tr.yml +6 -2
  69. data/config/locales/uk.yml +6 -2
  70. data/config/locales/ur.yml +6 -2
  71. data/config/locales/uz.yml +6 -2
  72. data/config/locales/vi.yml +6 -2
  73. data/config/locales/zh-hk.yml +6 -2
  74. data/config/locales/zh-tw.yml +6 -2
  75. data/config/locales/zh.yml +6 -2
  76. data/lib/govuk_publishing_components/version.rb +1 -1
  77. data/node_modules/axe-core/README.md +1 -1
  78. data/node_modules/axe-core/axe.js +175 -129
  79. data/node_modules/axe-core/axe.min.js +2 -2
  80. data/node_modules/axe-core/package.json +27 -27
  81. data/node_modules/axe-core/sri-history.json +4 -0
  82. metadata +3 -4
  83. data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/init-ga4.js +0 -28
@@ -41,8 +41,12 @@ sr:
41
41
  buttons:
42
42
  accept_cookies: Prihvati dodatne kolačiće
43
43
  reject_cookies: Odbaci dodatne kolačiće
44
- confirmation_message_html: U svakom trenutku možete da %{link}.
45
- confirmation_message_link: promenite podešavanja kolačića
44
+ view_cookies:
45
+ confirmation_message:
46
+ accepted:
47
+ html: U svakom trenutku možete da %{link}.
48
+ link: promenite podešavanja kolačića
49
+ rejected:
46
50
  hide: Sakrij ovu poruku
47
51
  text:
48
52
  - Koristimo osnovne kolačiće za funkcionisanje ovog veb-sajta.
@@ -40,8 +40,12 @@ sv:
40
40
  buttons:
41
41
  accept_cookies: Acceptera fler cookies
42
42
  reject_cookies: Avvisa fler cookies
43
- confirmation_message_html: Du kan %{link} när som helst.
44
- confirmation_message_link: ändra dina cookie-inställningar
43
+ view_cookies:
44
+ confirmation_message:
45
+ accepted:
46
+ html: Du kan %{link} när som helst.
47
+ link: ändra dina cookie-inställningar
48
+ rejected:
45
49
  hide: Dölj det här meddelandet
46
50
  text:
47
51
  - Vi använder vissa viktiga cookies för att den här webbplatsen ska fungera.
@@ -40,8 +40,12 @@ sw:
40
40
  buttons:
41
41
  accept_cookies: Kubali vidakuzi vya ziada
42
42
  reject_cookies: Kataa vidakuzi vya ziada
43
- confirmation_message_html: Unaweza %{link} wakati wowote.
44
- confirmation_message_link: badilisha mipangilio yako ya vidakuzi
43
+ view_cookies:
44
+ confirmation_message:
45
+ accepted:
46
+ html: Unaweza %{link} wakati wowote.
47
+ link: badilisha mipangilio yako ya vidakuzi
48
+ rejected:
45
49
  hide: Ficha ujumbe huu
46
50
  text:
47
51
  - Tunatumia vidakuzi muhimu ili kufanya tovuti hii ifanye kazi.
@@ -40,8 +40,12 @@ ta:
40
40
  buttons:
41
41
  accept_cookies: கூடுதல் குக்கீஸ்களை ஏற்கவும்
42
42
  reject_cookies: கூடுதல் குக்கீஸ்களை நிராகரி
43
- confirmation_message_html: எந்த நேரத்திலும் உங்களால் %{link} முடியும்.
44
- confirmation_message_link: உங்கள் குக்கீ அமைப்புகளை மாற்றவும்
43
+ view_cookies:
44
+ confirmation_message:
45
+ accepted:
46
+ html: எந்த நேரத்திலும் உங்களால் %{link} முடியும்.
47
+ link: உங்கள் குக்கீ அமைப்புகளை மாற்றவும்
48
+ rejected:
45
49
  hide: இந்தச் செய்தியை மறை
46
50
  text:
47
51
  - "”இந்த இணையத்தளம் செயல்படுவதற்கான சில அத்தியாவசிய குக்கீஸ்களை நாங்கள் பயன்படுத்துகிறோம்.”"
@@ -39,8 +39,12 @@ th:
39
39
  buttons:
40
40
  accept_cookies: ยอมรับคุกกี้เพิ่มเติม
41
41
  reject_cookies: ปฏิเสธคุกกี้เพิ่มเติม
42
- confirmation_message_html: คุณสามารถ %{link} เมื่อใดก็ได้
43
- confirmation_message_link: เปลี่ยนการตั้งค่าคุกกี้ของคุณ
42
+ view_cookies:
43
+ confirmation_message:
44
+ accepted:
45
+ html: คุณสามารถ %{link} เมื่อใดก็ได้
46
+ link: เปลี่ยนการตั้งค่าคุกกี้ของคุณ
47
+ rejected:
44
48
  hide: ซ่อนข้อความนี้
45
49
  text:
46
50
  - เราใช้คุกกี้ที่จำเป็นบางอย่างเพื่อทำให้เว็บไซต์นี้ทำงานได้
@@ -40,8 +40,12 @@ tk:
40
40
  buttons:
41
41
  accept_cookies: Goşmaça kukileri kabul et
42
42
  reject_cookies: Goşmaça kukileri ret et
43
- confirmation_message_html: Islendik wagt %{link} edip bilersiňiz.
44
- confirmation_message_link: kukiler sazlamalaryňyzy üýtgediň
43
+ view_cookies:
44
+ confirmation_message:
45
+ accepted:
46
+ html: Islendik wagt %{link} edip bilersiňiz.
47
+ link: kukiler sazlamalaryňyzy üýtgediň
48
+ rejected:
45
49
  hide: Bu habary gizle
46
50
  text:
47
51
  - Bu internet sahypasyny işletmek üçin käbir möhüm kukileri ulanýarys.
@@ -40,8 +40,12 @@ tr:
40
40
  buttons:
41
41
  accept_cookies: Ek çerezleri kabul et
42
42
  reject_cookies: Ek çerezleri reddet
43
- confirmation_message_html: İstediğiniz zaman %{link} yapabilirsiniz.
44
- confirmation_message_link: çerez ayarlarınızı değiştirin
43
+ view_cookies:
44
+ confirmation_message:
45
+ accepted:
46
+ html: İstediğiniz zaman %{link} yapabilirsiniz.
47
+ link: çerez ayarlarınızı değiştirin
48
+ rejected:
45
49
  hide: Bu mesajı gizle
46
50
  text:
47
51
  - Bu web sitesini çalıştırmak için bazı gerekli çerezleri kullanıyoruz.
@@ -42,8 +42,12 @@ uk:
42
42
  buttons:
43
43
  accept_cookies: Прийняти додаткові файли cookie
44
44
  reject_cookies: Відхилити додаткові файли cookie
45
- confirmation_message_html: Ви можете %{link} у будь -який час.
46
- confirmation_message_link: Змініть налаштування файлів cookie
45
+ view_cookies:
46
+ confirmation_message:
47
+ accepted:
48
+ html: Ви можете %{link} у будь -який час.
49
+ link: Змініть налаштування файлів cookie
50
+ rejected:
47
51
  hide: Приховати це повідомлення
48
52
  text:
49
53
  - Ми використовуємо деякі важливі файли cookie
@@ -40,8 +40,12 @@ ur:
40
40
  buttons:
41
41
  accept_cookies: اضافی کوکیز کو قبول کریں
42
42
  reject_cookies: اضافی کوکیز کو مسترد کریں
43
- confirmation_message_html: آپ کسی بھی وقت %{link} کر سکتے ہیں۔
44
- confirmation_message_link: اپنی کوکی کی ترتیبات تبدیل کریں
43
+ view_cookies:
44
+ confirmation_message:
45
+ accepted:
46
+ html: آپ کسی بھی وقت %{link} کر سکتے ہیں۔
47
+ link: اپنی کوکی کی ترتیبات تبدیل کریں
48
+ rejected:
45
49
  hide: اس پیغام کو پوشیدہ کریں
46
50
  text:
47
51
  - ہم اس ویب سائٹ کو چلانے کے لیے کچھ ضروری کوکیز استعمال کرتے ہیں۔، ہم اس بات کو سمجھنے کے لیے کچھ اضافی کوکیز سیٹ کرنا چاہیں گے کہ آپ GOV.UK کو کیسے سمجھتے ہیں، اپنی ترتیبات یاد رکھیں اور حکومتی سروسز کو بہتر بنائیں۔، ہم دیگر سائٹس سے مواد کی ترسیل کرنے کے لیے دیگر سائٹس کی جانب سے سیٹ کی گئی کوکیز بھی استعمال کرتے ہیں۔
@@ -40,8 +40,12 @@ uz:
40
40
  buttons:
41
41
  accept_cookies: cookie қўшимча файлларини қабул қилиш
42
42
  reject_cookies: cookie қўшимча файлларини бекор қилиш
43
- confirmation_message_html: Сиз %{link} исталган вақтда қилишингиз мумкин.
44
- confirmation_message_link: cookie файлларини созламаларини ўзгариши
43
+ view_cookies:
44
+ confirmation_message:
45
+ accepted:
46
+ html: Сиз %{link} исталган вақтда қилишингиз мумкин.
47
+ link: cookie файлларини созламаларини ўзгариши
48
+ rejected:
45
49
  hide: Ушбу хабарни яшириш
46
50
  text:
47
51
  - Биз ушбу веб-сайтни ишини таъминлаш учун cookieнинг муайян файлларини қўллаймиз.
@@ -39,8 +39,12 @@ vi:
39
39
  buttons:
40
40
  accept_cookies: Chấp nhận các cookie bổ sung
41
41
  reject_cookies: Từ chối các cookie bổ sung
42
- confirmation_message_html: Bạn có thể %{link} bất kỳ lúc nào.
43
- confirmation_message_link: thay đổi cài đặt cookie của bạn
42
+ view_cookies:
43
+ confirmation_message:
44
+ accepted:
45
+ html: Bạn có thể %{link} bất kỳ lúc nào.
46
+ link: thay đổi cài đặt cookie của bạn
47
+ rejected:
44
48
  hide: Ẩn thông báo này
45
49
  text:
46
50
  - Chúng tôi sử dụng một số cookie cần thiết để vận hành trang web này.
@@ -39,8 +39,12 @@ zh-hk:
39
39
  buttons:
40
40
  accept_cookies: 接受額外 cookies
41
41
  reject_cookies: 拒絕額外 cookies
42
- confirmation_message_html: 您可隨時 %{link} 。
43
- confirmation_message_link: 更改您的 cookie 設定
42
+ view_cookies:
43
+ confirmation_message:
44
+ accepted:
45
+ html: 您可隨時 %{link} 。
46
+ link: 更改您的 cookie 設定
47
+ rejected:
44
48
  hide: 隱藏此一訊息
45
49
  text:
46
50
  - 我們使用部份基本 cookies 讓此一網站運作。
@@ -39,8 +39,12 @@ zh-tw:
39
39
  buttons:
40
40
  accept_cookies: 接受額外cookie
41
41
  reject_cookies: 拒絕額外cookie
42
- confirmation_message_html: 可以隨時 %{link}。
43
- confirmation_message_link: 更改你的cookie設定
42
+ view_cookies:
43
+ confirmation_message:
44
+ accepted:
45
+ html: 可以隨時 %{link}。
46
+ link: 更改你的cookie設定
47
+ rejected:
44
48
  hide: 隱藏此訊息
45
49
  text:
46
50
  - 我們使用一些必要的 cookie 來正常運作本網站。
@@ -39,8 +39,12 @@ zh:
39
39
  buttons:
40
40
  accept_cookies: 接受额外cookies
41
41
  reject_cookies: 拒绝额外cookies
42
- confirmation_message_html: 您可以随时 %{link}。
43
- confirmation_message_link: 更改您的cookie设置
42
+ view_cookies:
43
+ confirmation_message:
44
+ accepted:
45
+ html: 您可以随时 %{link}。
46
+ link: 更改您的cookie设置
47
+ rejected:
44
48
  hide: 隐藏此消息
45
49
  text:
46
50
  - 我们使用一些基本的cookie以使本网站运作。
@@ -1,3 +1,3 @@
1
1
  module GovukPublishingComponents
2
- VERSION = "34.4.2".freeze
2
+ VERSION = "34.5.1".freeze
3
3
  end
@@ -177,6 +177,6 @@ Read the [documentation on contributing](CONTRIBUTING.md)
177
177
 
178
178
  ## Acknowledgements
179
179
 
180
- Thanks to Dulin Marat for his [css-selector-parser](https://www.npmjs.com/package/css-selector-parser) implementation which is included for shadow DOM support.
180
+ Thanks to Marat Dulin for his [css-selector-parser](https://www.npmjs.com/package/css-selector-parser) implementation which is included for shadow DOM support.
181
181
 
182
182
  Thanks to the [Slick Parser](https://github.com/mootools/slick/blob/master/Source/Slick.Parser.js) implementers for their contribution, we have used some of their algorithms in our shadow DOM support code.