govuk_publishing_components 46.3.1 → 47.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (127) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-core.js +5 -0
  3. data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-page-views.js +10 -1
  4. data/app/assets/stylesheets/govuk_publishing_components/_all_components.scss +0 -1
  5. data/app/assets/stylesheets/govuk_publishing_components/components/_heading.scss +6 -14
  6. data/app/assets/stylesheets/govuk_publishing_components/components/_organisation-logo.scss +4 -0
  7. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss +4 -4
  8. data/app/models/govuk_publishing_components/component_doc.rb +1 -1
  9. data/app/models/govuk_publishing_components/component_wrapper_helper_options.rb +1 -0
  10. data/app/views/govuk_publishing_components/component_guide/show.html.erb +2 -2
  11. data/app/views/govuk_publishing_components/components/_accordion.html.erb +0 -2
  12. data/app/views/govuk_publishing_components/components/_action_link.html.erb +0 -3
  13. data/app/views/govuk_publishing_components/components/_contents_list.html.erb +0 -2
  14. data/app/views/govuk_publishing_components/components/_contextual_guidance.html.erb +0 -2
  15. data/app/views/govuk_publishing_components/components/_contextual_sidebar.html.erb +0 -1
  16. data/app/views/govuk_publishing_components/components/_details.html.erb +1 -4
  17. data/app/views/govuk_publishing_components/components/_document_list.html.erb +0 -2
  18. data/app/views/govuk_publishing_components/components/_govspeak.html.erb +0 -2
  19. data/app/views/govuk_publishing_components/components/_heading.html.erb +24 -10
  20. data/app/views/govuk_publishing_components/components/_hint.html.erb +0 -3
  21. data/app/views/govuk_publishing_components/components/_inset_text.html.erb +1 -3
  22. data/app/views/govuk_publishing_components/components/_lead_paragraph.html.erb +0 -2
  23. data/app/views/govuk_publishing_components/components/_metadata.html.erb +0 -3
  24. data/app/views/govuk_publishing_components/components/_notice.html.erb +0 -2
  25. data/app/views/govuk_publishing_components/components/_password_input.html.erb +1 -3
  26. data/app/views/govuk_publishing_components/components/_radio.html.erb +0 -2
  27. data/app/views/govuk_publishing_components/components/_signup_link.html.erb +0 -1
  28. data/app/views/govuk_publishing_components/components/_single_page_notification_button.html.erb +3 -4
  29. data/app/views/govuk_publishing_components/components/_skip_link.html.erb +6 -1
  30. data/app/views/govuk_publishing_components/components/_step_by_step_nav.html.erb +17 -12
  31. data/app/views/govuk_publishing_components/components/_step_by_step_nav_header.html.erb +4 -7
  32. data/app/views/govuk_publishing_components/components/_step_by_step_nav_related.html.erb +6 -5
  33. data/app/views/govuk_publishing_components/components/docs/heading.yml +34 -10
  34. data/app/views/govuk_publishing_components/components/docs/inverse_header.yml +1 -1
  35. data/app/views/govuk_publishing_components/components/docs/organisation_logo.yml +9 -0
  36. data/app/views/govuk_publishing_components/components/docs/skip_link.yml +1 -0
  37. data/app/views/govuk_publishing_components/components/docs/step_by_step_nav.yml +1 -0
  38. data/app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml +1 -0
  39. data/app/views/govuk_publishing_components/components/docs/step_by_step_nav_related.yml +1 -0
  40. data/config/locales/ar.yml +0 -8
  41. data/config/locales/az.yml +0 -8
  42. data/config/locales/be.yml +0 -8
  43. data/config/locales/bg.yml +0 -8
  44. data/config/locales/bn.yml +0 -8
  45. data/config/locales/cs.yml +0 -8
  46. data/config/locales/cy.yml +0 -8
  47. data/config/locales/da.yml +0 -8
  48. data/config/locales/de.yml +0 -8
  49. data/config/locales/dr.yml +0 -8
  50. data/config/locales/el.yml +0 -8
  51. data/config/locales/en.yml +0 -8
  52. data/config/locales/es-419.yml +0 -8
  53. data/config/locales/es.yml +0 -8
  54. data/config/locales/et.yml +0 -8
  55. data/config/locales/fa.yml +0 -8
  56. data/config/locales/fi.yml +0 -8
  57. data/config/locales/fr.yml +0 -8
  58. data/config/locales/gd.yml +0 -8
  59. data/config/locales/gu.yml +0 -8
  60. data/config/locales/he.yml +0 -8
  61. data/config/locales/hi.yml +0 -8
  62. data/config/locales/hr.yml +0 -8
  63. data/config/locales/hu.yml +0 -8
  64. data/config/locales/hy.yml +0 -8
  65. data/config/locales/id.yml +0 -8
  66. data/config/locales/is.yml +0 -8
  67. data/config/locales/it.yml +0 -8
  68. data/config/locales/ja.yml +0 -8
  69. data/config/locales/ka.yml +0 -8
  70. data/config/locales/kk.yml +0 -8
  71. data/config/locales/ko.yml +0 -8
  72. data/config/locales/lt.yml +0 -8
  73. data/config/locales/lv.yml +0 -8
  74. data/config/locales/ms.yml +0 -8
  75. data/config/locales/mt.yml +0 -8
  76. data/config/locales/nl.yml +0 -8
  77. data/config/locales/no.yml +0 -8
  78. data/config/locales/pa-pk.yml +0 -8
  79. data/config/locales/pa.yml +0 -8
  80. data/config/locales/pl.yml +0 -8
  81. data/config/locales/ps.yml +0 -8
  82. data/config/locales/pt.yml +0 -8
  83. data/config/locales/ro.yml +0 -8
  84. data/config/locales/ru.yml +0 -8
  85. data/config/locales/si.yml +0 -8
  86. data/config/locales/sk.yml +0 -8
  87. data/config/locales/sl.yml +0 -8
  88. data/config/locales/so.yml +0 -8
  89. data/config/locales/sq.yml +0 -8
  90. data/config/locales/sr.yml +0 -8
  91. data/config/locales/sv.yml +0 -8
  92. data/config/locales/sw.yml +0 -8
  93. data/config/locales/ta.yml +0 -8
  94. data/config/locales/th.yml +0 -8
  95. data/config/locales/tk.yml +0 -8
  96. data/config/locales/tr.yml +0 -8
  97. data/config/locales/uk.yml +0 -8
  98. data/config/locales/ur.yml +0 -8
  99. data/config/locales/uz.yml +0 -8
  100. data/config/locales/vi.yml +0 -8
  101. data/config/locales/zh-hk.yml +0 -8
  102. data/config/locales/zh-tw.yml +0 -8
  103. data/config/locales/zh.yml +0 -8
  104. data/lib/govuk_publishing_components/presenters/component_wrapper_helper.rb +13 -0
  105. data/lib/govuk_publishing_components/presenters/heading_helper.rb +3 -3
  106. data/lib/govuk_publishing_components/presenters/organisation_logo_helper.rb +3 -1
  107. data/lib/govuk_publishing_components/version.rb +1 -1
  108. data/lib/govuk_publishing_components.rb +0 -1
  109. metadata +3 -38
  110. data/app/assets/javascripts/govuk_publishing_components/components/chart.js +0 -1
  111. data/app/assets/stylesheets/govuk_publishing_components/components/_chart.scss +0 -57
  112. data/app/assets/stylesheets/govuk_publishing_components/components/_chat-entry.scss +0 -39
  113. data/app/views/govuk_publishing_components/components/_chart.html.erb +0 -147
  114. data/app/views/govuk_publishing_components/components/_chat_entry.html.erb +0 -55
  115. data/app/views/govuk_publishing_components/components/docs/chart.yml +0 -576
  116. data/app/views/govuk_publishing_components/components/docs/chat_entry.yml +0 -45
  117. data/lib/govuk_publishing_components/presenters/chart_helper.rb +0 -112
  118. data/node_modules/chartkick/LICENSE.txt +0 -22
  119. data/node_modules/chartkick/README.md +0 -593
  120. data/node_modules/chartkick/chart.js/chart.esm.js +0 -5
  121. data/node_modules/chartkick/chart.js/package.json +0 -6
  122. data/node_modules/chartkick/dist/chartkick.esm.js +0 -2562
  123. data/node_modules/chartkick/dist/chartkick.js +0 -2570
  124. data/node_modules/chartkick/dist/chartkick.min.js +0 -2
  125. data/node_modules/chartkick/highcharts/highcharts.esm.js +0 -4
  126. data/node_modules/chartkick/highcharts/package.json +0 -6
  127. 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
- }