govuk_publishing_components 46.4.0 → 48.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (133) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/govuk_publishing_components/rum-custom-data.js +18 -0
  3. data/app/assets/javascripts/govuk_publishing_components/vendor/lux/lux-measurer.js +0 -37
  4. data/app/assets/stylesheets/govuk_publishing_components/_all_components.scss +0 -1
  5. data/app/assets/stylesheets/govuk_publishing_components/components/_govspeak.scss +0 -1
  6. data/app/assets/stylesheets/govuk_publishing_components/components/_heading.scss +6 -14
  7. data/app/assets/stylesheets/govuk_publishing_components/components/_organisation-logo.scss +4 -0
  8. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss +4 -4
  9. data/app/models/govuk_publishing_components/component_doc.rb +1 -1
  10. data/app/views/govuk_publishing_components/components/_heading.html.erb +24 -9
  11. data/app/views/govuk_publishing_components/components/_intervention.html.erb +10 -14
  12. data/app/views/govuk_publishing_components/components/_layout_for_public.html.erb +1 -0
  13. data/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb +10 -21
  14. data/app/views/govuk_publishing_components/components/_list.html.erb +6 -12
  15. data/app/views/govuk_publishing_components/components/_search.html.erb +17 -21
  16. data/app/views/govuk_publishing_components/components/_skip_link.html.erb +6 -1
  17. data/app/views/govuk_publishing_components/components/_step_by_step_nav_header.html.erb +4 -7
  18. data/app/views/govuk_publishing_components/components/_step_by_step_nav_related.html.erb +6 -5
  19. data/app/views/govuk_publishing_components/components/_subscription_links.html.erb +5 -11
  20. data/app/views/govuk_publishing_components/components/_success_alert.html.erb +8 -12
  21. data/app/views/govuk_publishing_components/components/_summary_card.html.erb +4 -2
  22. data/app/views/govuk_publishing_components/components/_summary_list.html.erb +6 -2
  23. data/app/views/govuk_publishing_components/components/_translation_nav.html.erb +7 -5
  24. data/app/views/govuk_publishing_components/components/_warning_text.html.erb +5 -1
  25. data/app/views/govuk_publishing_components/components/docs/devolved_nations.yml +3 -3
  26. data/app/views/govuk_publishing_components/components/docs/govspeak.yml +0 -6
  27. data/app/views/govuk_publishing_components/components/docs/heading.yml +34 -10
  28. data/app/views/govuk_publishing_components/components/docs/intervention.yml +1 -0
  29. data/app/views/govuk_publishing_components/components/docs/inverse_header.yml +1 -1
  30. data/app/views/govuk_publishing_components/components/docs/layout_super_navigation_header.yml +1 -0
  31. data/app/views/govuk_publishing_components/components/docs/list.yml +3 -1
  32. data/app/views/govuk_publishing_components/components/docs/organisation_logo.yml +9 -0
  33. data/app/views/govuk_publishing_components/components/docs/search.yml +2 -2
  34. data/app/views/govuk_publishing_components/components/docs/skip_link.yml +1 -0
  35. data/app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml +1 -0
  36. data/app/views/govuk_publishing_components/components/docs/step_by_step_nav_related.yml +1 -0
  37. data/app/views/govuk_publishing_components/components/docs/subscription_links.yml +1 -0
  38. data/app/views/govuk_publishing_components/components/docs/success_alert.yml +1 -0
  39. data/app/views/govuk_publishing_components/components/docs/summary_card.yml +1 -0
  40. data/app/views/govuk_publishing_components/components/docs/summary_list.yml +1 -0
  41. data/app/views/govuk_publishing_components/components/docs/translation_nav.yml +1 -0
  42. data/app/views/govuk_publishing_components/components/docs/warning_text.yml +1 -0
  43. data/app/views/govuk_publishing_components/components/layout_header/_search.html.erb +1 -1
  44. data/config/locales/ar.yml +0 -8
  45. data/config/locales/az.yml +0 -8
  46. data/config/locales/be.yml +0 -8
  47. data/config/locales/bg.yml +0 -8
  48. data/config/locales/bn.yml +0 -8
  49. data/config/locales/cs.yml +0 -8
  50. data/config/locales/cy.yml +0 -8
  51. data/config/locales/da.yml +0 -8
  52. data/config/locales/de.yml +0 -8
  53. data/config/locales/dr.yml +0 -8
  54. data/config/locales/el.yml +0 -8
  55. data/config/locales/en.yml +0 -8
  56. data/config/locales/es-419.yml +0 -8
  57. data/config/locales/es.yml +0 -8
  58. data/config/locales/et.yml +0 -8
  59. data/config/locales/fa.yml +0 -8
  60. data/config/locales/fi.yml +0 -8
  61. data/config/locales/fr.yml +0 -8
  62. data/config/locales/gd.yml +0 -8
  63. data/config/locales/gu.yml +0 -8
  64. data/config/locales/he.yml +0 -8
  65. data/config/locales/hi.yml +0 -8
  66. data/config/locales/hr.yml +0 -8
  67. data/config/locales/hu.yml +0 -8
  68. data/config/locales/hy.yml +0 -8
  69. data/config/locales/id.yml +0 -8
  70. data/config/locales/is.yml +0 -8
  71. data/config/locales/it.yml +0 -8
  72. data/config/locales/ja.yml +0 -8
  73. data/config/locales/ka.yml +0 -8
  74. data/config/locales/kk.yml +0 -8
  75. data/config/locales/ko.yml +0 -8
  76. data/config/locales/lt.yml +0 -8
  77. data/config/locales/lv.yml +0 -8
  78. data/config/locales/ms.yml +0 -8
  79. data/config/locales/mt.yml +0 -8
  80. data/config/locales/nl.yml +0 -8
  81. data/config/locales/no.yml +0 -8
  82. data/config/locales/pa-pk.yml +0 -8
  83. data/config/locales/pa.yml +0 -8
  84. data/config/locales/pl.yml +0 -8
  85. data/config/locales/ps.yml +0 -8
  86. data/config/locales/pt.yml +0 -8
  87. data/config/locales/ro.yml +0 -8
  88. data/config/locales/ru.yml +0 -8
  89. data/config/locales/si.yml +0 -8
  90. data/config/locales/sk.yml +0 -8
  91. data/config/locales/sl.yml +0 -8
  92. data/config/locales/so.yml +0 -8
  93. data/config/locales/sq.yml +0 -8
  94. data/config/locales/sr.yml +0 -8
  95. data/config/locales/sv.yml +0 -8
  96. data/config/locales/sw.yml +0 -8
  97. data/config/locales/ta.yml +0 -8
  98. data/config/locales/th.yml +0 -8
  99. data/config/locales/tk.yml +0 -8
  100. data/config/locales/tr.yml +0 -8
  101. data/config/locales/uk.yml +0 -8
  102. data/config/locales/ur.yml +0 -8
  103. data/config/locales/uz.yml +0 -8
  104. data/config/locales/vi.yml +0 -8
  105. data/config/locales/zh-hk.yml +0 -8
  106. data/config/locales/zh-tw.yml +0 -8
  107. data/config/locales/zh.yml +0 -8
  108. data/lib/govuk_publishing_components/presenters/component_wrapper_helper.rb +16 -0
  109. data/lib/govuk_publishing_components/presenters/devolved_nations_helper.rb +4 -4
  110. data/lib/govuk_publishing_components/presenters/heading_helper.rb +3 -3
  111. data/lib/govuk_publishing_components/presenters/organisation_logo_helper.rb +3 -1
  112. data/lib/govuk_publishing_components/version.rb +1 -1
  113. data/lib/govuk_publishing_components.rb +0 -1
  114. metadata +4 -37
  115. data/app/assets/javascripts/govuk_publishing_components/components/chart.js +0 -1
  116. data/app/assets/stylesheets/govuk_publishing_components/components/_chart.scss +0 -57
  117. data/app/assets/stylesheets/govuk_publishing_components/components/_chat-entry.scss +0 -39
  118. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_advisory.scss +0 -36
  119. data/app/views/govuk_publishing_components/components/_chart.html.erb +0 -146
  120. data/app/views/govuk_publishing_components/components/_chat_entry.html.erb +0 -55
  121. data/app/views/govuk_publishing_components/components/docs/chart.yml +0 -576
  122. data/app/views/govuk_publishing_components/components/docs/chat_entry.yml +0 -45
  123. data/lib/govuk_publishing_components/presenters/chart_helper.rb +0 -112
  124. data/node_modules/chartkick/LICENSE.txt +0 -22
  125. data/node_modules/chartkick/README.md +0 -593
  126. data/node_modules/chartkick/chart.js/chart.esm.js +0 -5
  127. data/node_modules/chartkick/chart.js/package.json +0 -6
  128. data/node_modules/chartkick/dist/chartkick.esm.js +0 -2562
  129. data/node_modules/chartkick/dist/chartkick.js +0 -2570
  130. data/node_modules/chartkick/dist/chartkick.min.js +0 -2
  131. data/node_modules/chartkick/highcharts/highcharts.esm.js +0 -4
  132. data/node_modules/chartkick/highcharts/package.json +0 -6
  133. data/node_modules/chartkick/package.json +0 -50
@@ -1,5 +0,0 @@
1
- import Chartkick from "chartkick"
2
- import Chart from "chart.js/auto"
3
- import "chartjs-adapter-date-fns"
4
-
5
- Chartkick.use(Chart)
@@ -1,6 +0,0 @@
1
- {
2
- "name": "chartkick-chart.js",
3
- "private": true,
4
- "module": "./chart.esm.js",
5
- "exports": "./chart.esm.js"
6
- }