govuk_publishing_components 29.3.0 → 29.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/govuk_publishing_components/analytics/custom-dimensions.js +1 -0
  3. data/app/assets/stylesheets/component_guide/application.scss +1 -1
  4. data/app/assets/stylesheets/govuk_publishing_components/components/_checkboxes.scss +2 -2
  5. data/app/assets/stylesheets/govuk_publishing_components/components/_contextual-sidebar.scss +1 -1
  6. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +1 -1
  7. data/app/assets/stylesheets/govuk_publishing_components/components/_modal-dialogue.scss +1 -1
  8. data/app/assets/stylesheets/govuk_publishing_components/components/_organisation-logo.scss +2 -2
  9. data/app/assets/stylesheets/govuk_publishing_components/components/_reorderable-list.scss +2 -2
  10. data/app/assets/stylesheets/govuk_publishing_components/components/_search.scss +2 -2
  11. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav.scss +1 -1
  12. data/app/assets/stylesheets/govuk_publishing_components/components/_summary-list.scss +1 -1
  13. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_typography.scss +1 -1
  14. data/app/assets/stylesheets/govuk_publishing_components/govuk_frontend_support.scss +3 -3
  15. data/app/views/govuk_publishing_components/components/_intervention.html.erb +0 -2
  16. data/config/locales/ar.yml +1 -0
  17. data/config/locales/az.yml +1 -0
  18. data/config/locales/be.yml +1 -0
  19. data/config/locales/bg.yml +1 -0
  20. data/config/locales/bn.yml +1 -0
  21. data/config/locales/cs.yml +1 -0
  22. data/config/locales/cy.yml +1 -0
  23. data/config/locales/da.yml +1 -0
  24. data/config/locales/de.yml +1 -0
  25. data/config/locales/dr.yml +1 -0
  26. data/config/locales/el.yml +1 -0
  27. data/config/locales/en.yml +56 -3
  28. data/config/locales/es-419.yml +1 -0
  29. data/config/locales/es.yml +1 -0
  30. data/config/locales/et.yml +1 -0
  31. data/config/locales/fa.yml +1 -0
  32. data/config/locales/fi.yml +1 -0
  33. data/config/locales/fr.yml +1 -0
  34. data/config/locales/gd.yml +1 -0
  35. data/config/locales/gu.yml +1 -0
  36. data/config/locales/he.yml +1 -0
  37. data/config/locales/hi.yml +1 -0
  38. data/config/locales/hr.yml +1 -0
  39. data/config/locales/hu.yml +1 -0
  40. data/config/locales/hy.yml +1 -0
  41. data/config/locales/id.yml +1 -0
  42. data/config/locales/is.yml +1 -0
  43. data/config/locales/it.yml +1 -0
  44. data/config/locales/ja.yml +1 -0
  45. data/config/locales/ka.yml +1 -0
  46. data/config/locales/kk.yml +1 -0
  47. data/config/locales/ko.yml +1 -0
  48. data/config/locales/lt.yml +1 -0
  49. data/config/locales/lv.yml +1 -0
  50. data/config/locales/ms.yml +1 -0
  51. data/config/locales/mt.yml +1 -0
  52. data/config/locales/nl.yml +1 -0
  53. data/config/locales/no.yml +1 -0
  54. data/config/locales/pa-pk.yml +1 -0
  55. data/config/locales/pa.yml +1 -0
  56. data/config/locales/pl.yml +1 -0
  57. data/config/locales/ps.yml +1 -0
  58. data/config/locales/pt.yml +1 -0
  59. data/config/locales/ro.yml +1 -0
  60. data/config/locales/ru.yml +1 -0
  61. data/config/locales/si.yml +1 -0
  62. data/config/locales/sk.yml +1 -0
  63. data/config/locales/sl.yml +1 -0
  64. data/config/locales/so.yml +1 -0
  65. data/config/locales/sq.yml +1 -0
  66. data/config/locales/sr.yml +1 -0
  67. data/config/locales/sv.yml +1 -0
  68. data/config/locales/sw.yml +1 -0
  69. data/config/locales/ta.yml +1 -0
  70. data/config/locales/th.yml +1 -0
  71. data/config/locales/tk.yml +1 -0
  72. data/config/locales/tr.yml +1 -0
  73. data/config/locales/uk.yml +1 -0
  74. data/config/locales/ur.yml +1 -0
  75. data/config/locales/uz.yml +1 -0
  76. data/config/locales/vi.yml +1 -0
  77. data/config/locales/zh-hk.yml +1 -0
  78. data/config/locales/zh-tw.yml +1 -0
  79. data/config/locales/zh.yml +1 -0
  80. data/lib/govuk_publishing_components/presenters/attachment.rb +5 -2
  81. data/lib/govuk_publishing_components/presenters/meta_tags.rb +4 -2
  82. data/lib/govuk_publishing_components/presenters/public_layout_helper.rb +18 -289
  83. data/lib/govuk_publishing_components/version.rb +1 -1
  84. metadata +3 -4
  85. data/app/assets/javascripts/govuk_publishing_components/components/intervention.js +0 -17
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: 29.3.0
4
+ version: 29.6.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-04-04 00:00:00.000000000 Z
11
+ date: 2022-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: govuk_app_config
@@ -464,7 +464,6 @@ files:
464
464
  - app/assets/javascripts/govuk_publishing_components/components/error-summary.js
465
465
  - app/assets/javascripts/govuk_publishing_components/components/feedback.js
466
466
  - app/assets/javascripts/govuk_publishing_components/components/govspeak.js
467
- - app/assets/javascripts/govuk_publishing_components/components/intervention.js
468
467
  - app/assets/javascripts/govuk_publishing_components/components/layout-header.js
469
468
  - app/assets/javascripts/govuk_publishing_components/components/layout-super-navigation-header.js
470
469
  - app/assets/javascripts/govuk_publishing_components/components/metadata.js
@@ -1891,7 +1890,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1891
1890
  - !ruby/object:Gem::Version
1892
1891
  version: '0'
1893
1892
  requirements: []
1894
- rubygems_version: 3.3.10
1893
+ rubygems_version: 3.3.12
1895
1894
  signing_key:
1896
1895
  specification_version: 4
1897
1896
  summary: A gem to document components in GOV.UK frontend applications
@@ -1,17 +0,0 @@
1
- window.GOVUK = window.GOVUK || {}
2
- window.GOVUK.Modules = window.GOVUK.Modules || {};
3
-
4
- (function (Modules) {
5
- function Intervention ($module) {
6
- this.$module = $module
7
- }
8
-
9
- Intervention.prototype.init = function () {
10
- if (window.GOVUK.analytics && window.GOVUK.analytics.trackEvent) {
11
- // Send a tracking event when this component is shown
12
- window.GOVUK.analytics.trackEvent('interventionBanner', 'interventionShown')
13
- }
14
- }
15
-
16
- Modules.Intervention = Intervention
17
- })(window.GOVUK.Modules)