govuk_publishing_components 35.5.0 → 35.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -0
  3. data/app/assets/javascripts/component_guide/audit-filter.js +45 -0
  4. data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-auto-tracker.js +0 -3
  5. data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-core.js +30 -35
  6. data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-event-tracker.js +0 -1
  7. data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-link-tracker.js +1 -3
  8. data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-page-views.js +1 -1
  9. data/app/assets/stylesheets/component_guide/application.scss +0 -29
  10. data/app/assets/stylesheets/govuk_publishing_components/components/_select.scss +0 -8
  11. data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_markdown-typography.scss +3 -2
  12. data/app/views/govuk_publishing_components/audit/_component_contents.html.erb +37 -49
  13. data/app/views/govuk_publishing_components/components/_attachment.html.erb +38 -18
  14. data/app/views/govuk_publishing_components/components/_character_count.html.erb +4 -2
  15. data/app/views/govuk_publishing_components/components/_contents_list.html.erb +17 -2
  16. data/app/views/govuk_publishing_components/components/_feedback.html.erb +1 -0
  17. data/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb +3 -0
  18. data/app/views/govuk_publishing_components/components/_metadata.html.erb +12 -1
  19. data/app/views/govuk_publishing_components/components/_previous_and_next_navigation.html.erb +20 -1
  20. data/app/views/govuk_publishing_components/components/_radio.html.erb +1 -0
  21. data/app/views/govuk_publishing_components/components/_search.html.erb +1 -0
  22. data/app/views/govuk_publishing_components/components/_select.html.erb +1 -0
  23. data/app/views/govuk_publishing_components/components/_step_by_step_nav_related.html.erb +1 -1
  24. data/app/views/govuk_publishing_components/components/attachment/_thumbnail_document.html.erb +1 -1
  25. data/app/views/govuk_publishing_components/components/attachment/_thumbnail_generic.html.erb +1 -1
  26. data/app/views/govuk_publishing_components/components/attachment/_thumbnail_html.html.erb +3 -0
  27. data/app/views/govuk_publishing_components/components/attachment/_thumbnail_spreadsheet.html.erb +1 -1
  28. data/app/views/govuk_publishing_components/components/docs/attachment.yml +21 -0
  29. data/app/views/govuk_publishing_components/components/docs/contents_list.yml +19 -0
  30. data/app/views/govuk_publishing_components/components/docs/contextual_guidance.yml +11 -4
  31. data/app/views/govuk_publishing_components/components/docs/fieldset.yml +75 -30
  32. data/app/views/govuk_publishing_components/components/docs/govspeak.yml +43 -0
  33. data/app/views/govuk_publishing_components/components/docs/inverse_header.yml +42 -32
  34. data/app/views/govuk_publishing_components/components/docs/metadata.yml +7 -0
  35. data/app/views/govuk_publishing_components/components/docs/modal_dialogue.yml +35 -5
  36. data/app/views/govuk_publishing_components/components/docs/previous_and_next_navigation.yml +12 -0
  37. data/app/views/govuk_publishing_components/components/docs/textarea.yml +8 -2
  38. data/app/views/layouts/govuk_publishing_components/application.html.erb +23 -20
  39. data/config/locales/ar.yml +1 -0
  40. data/config/locales/az.yml +1 -0
  41. data/config/locales/be.yml +1 -0
  42. data/config/locales/bg.yml +1 -0
  43. data/config/locales/bn.yml +1 -0
  44. data/config/locales/cs.yml +1 -0
  45. data/config/locales/cy.yml +1 -0
  46. data/config/locales/da.yml +1 -0
  47. data/config/locales/de.yml +1 -0
  48. data/config/locales/dr.yml +1 -0
  49. data/config/locales/el.yml +1 -0
  50. data/config/locales/en.yml +1 -0
  51. data/config/locales/es-419.yml +1 -0
  52. data/config/locales/es.yml +1 -0
  53. data/config/locales/et.yml +1 -0
  54. data/config/locales/fa.yml +1 -0
  55. data/config/locales/fi.yml +1 -0
  56. data/config/locales/fr.yml +1 -0
  57. data/config/locales/gd.yml +1 -0
  58. data/config/locales/gu.yml +1 -0
  59. data/config/locales/he.yml +1 -0
  60. data/config/locales/hi.yml +1 -0
  61. data/config/locales/hr.yml +1 -0
  62. data/config/locales/hu.yml +1 -0
  63. data/config/locales/hy.yml +1 -0
  64. data/config/locales/id.yml +1 -0
  65. data/config/locales/is.yml +1 -0
  66. data/config/locales/it.yml +1 -0
  67. data/config/locales/ja.yml +1 -0
  68. data/config/locales/ka.yml +1 -0
  69. data/config/locales/kk.yml +1 -0
  70. data/config/locales/ko.yml +1 -0
  71. data/config/locales/lt.yml +1 -0
  72. data/config/locales/lv.yml +1 -0
  73. data/config/locales/ms.yml +1 -0
  74. data/config/locales/mt.yml +1 -0
  75. data/config/locales/nl.yml +1 -0
  76. data/config/locales/no.yml +1 -0
  77. data/config/locales/pa-pk.yml +1 -0
  78. data/config/locales/pa.yml +1 -0
  79. data/config/locales/pl.yml +1 -0
  80. data/config/locales/ps.yml +1 -0
  81. data/config/locales/pt.yml +1 -0
  82. data/config/locales/ro.yml +1 -0
  83. data/config/locales/ru.yml +1 -0
  84. data/config/locales/si.yml +1 -0
  85. data/config/locales/sk.yml +1 -0
  86. data/config/locales/sl.yml +1 -0
  87. data/config/locales/so.yml +1 -0
  88. data/config/locales/sq.yml +1 -0
  89. data/config/locales/sr.yml +1 -0
  90. data/config/locales/sv.yml +1 -0
  91. data/config/locales/sw.yml +1 -0
  92. data/config/locales/ta.yml +1 -0
  93. data/config/locales/th.yml +1 -0
  94. data/config/locales/tk.yml +1 -0
  95. data/config/locales/tr.yml +1 -0
  96. data/config/locales/uk.yml +1 -0
  97. data/config/locales/ur.yml +1 -0
  98. data/config/locales/uz.yml +1 -0
  99. data/config/locales/vi.yml +1 -0
  100. data/config/locales/zh-hk.yml +1 -0
  101. data/config/locales/zh-tw.yml +1 -0
  102. data/config/locales/zh.yml +1 -0
  103. data/lib/govuk_publishing_components/app_helpers/asset_helper.rb +5 -1
  104. data/lib/govuk_publishing_components/presenters/attachment_helper.rb +15 -3
  105. data/lib/govuk_publishing_components/version.rb +1 -1
  106. data/node_modules/axe-core/README.md +4 -0
  107. data/node_modules/axe-core/axe.js +25 -19
  108. data/node_modules/axe-core/axe.min.js +2 -2
  109. data/node_modules/axe-core/package.json +1 -1
  110. data/node_modules/axe-core/sri-history.json +4 -0
  111. metadata +4 -3
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "axe-core",
3
3
  "description": "Accessibility engine for automated Web UI testing",
4
- "version": "4.7.1",
4
+ "version": "4.7.2",
5
5
  "license": "MPL-2.0",
6
6
  "engines": {
7
7
  "node": ">=4"
@@ -346,5 +346,9 @@
346
346
  "4.7.1": {
347
347
  "axe.js": "sha256-1ruJfhOP+fO+uuQiIs1U9P4ILYOxnFc5MCH7LzaH+Lc=",
348
348
  "axe.min.js": "sha256-ReDVBpTYnDCOjYC3eTfhCwsWtAcleTtuoekVW8eoU38="
349
+ },
350
+ "4.7.2": {
351
+ "axe.js": "sha256-EE+7F84cDAG4yvmWb/Cbb3WmQaNAGj4FwU4cKxJZqjg=",
352
+ "axe.min.js": "sha256-VTWaX4yE65/ofnyeohwMLLKvU1GEYDoWOCbKlcqFMs8="
349
353
  }
350
354
  }
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: 35.5.0
4
+ version: 35.7.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: 2023-05-31 00:00:00.000000000 Z
11
+ date: 2023-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: govuk_app_config
@@ -742,6 +742,7 @@ files:
742
742
  - app/views/govuk_publishing_components/components/_warning_text.html.erb
743
743
  - app/views/govuk_publishing_components/components/attachment/_thumbnail_document.html.erb
744
744
  - app/views/govuk_publishing_components/components/attachment/_thumbnail_generic.html.erb
745
+ - app/views/govuk_publishing_components/components/attachment/_thumbnail_html.html.erb
745
746
  - app/views/govuk_publishing_components/components/attachment/_thumbnail_spreadsheet.html.erb
746
747
  - app/views/govuk_publishing_components/components/contextual_sidebar/_ukraine_cta.html.erb
747
748
  - app/views/govuk_publishing_components/components/docs/accordion.yml
@@ -1454,7 +1455,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1454
1455
  - !ruby/object:Gem::Version
1455
1456
  version: '0'
1456
1457
  requirements: []
1457
- rubygems_version: 3.4.13
1458
+ rubygems_version: 3.4.14
1458
1459
  signing_key:
1459
1460
  specification_version: 4
1460
1461
  summary: A gem to document components in GOV.UK frontend applications