govuk_publishing_components 44.9.0 → 44.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-search-tracker.js +73 -0
  3. data/app/assets/javascripts/govuk_publishing_components/analytics-ga4.js +1 -0
  4. data/app/assets/stylesheets/govuk_publishing_components/components/_chart.scss +15 -0
  5. data/app/views/govuk_publishing_components/components/_chart.html.erb +15 -1
  6. data/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb +7 -12
  7. data/app/views/govuk_publishing_components/components/docs/chart.yml +1 -0
  8. data/config/locales/ar.yml +2 -0
  9. data/config/locales/az.yml +2 -0
  10. data/config/locales/be.yml +2 -0
  11. data/config/locales/bg.yml +2 -0
  12. data/config/locales/bn.yml +2 -0
  13. data/config/locales/cs.yml +2 -0
  14. data/config/locales/cy.yml +2 -0
  15. data/config/locales/da.yml +2 -0
  16. data/config/locales/de.yml +2 -0
  17. data/config/locales/dr.yml +2 -0
  18. data/config/locales/el.yml +2 -0
  19. data/config/locales/en.yml +3 -1
  20. data/config/locales/es-419.yml +2 -0
  21. data/config/locales/es.yml +2 -0
  22. data/config/locales/et.yml +2 -0
  23. data/config/locales/fa.yml +2 -0
  24. data/config/locales/fi.yml +2 -0
  25. data/config/locales/fr.yml +2 -0
  26. data/config/locales/gd.yml +2 -0
  27. data/config/locales/gu.yml +2 -0
  28. data/config/locales/he.yml +2 -0
  29. data/config/locales/hi.yml +2 -0
  30. data/config/locales/hr.yml +2 -0
  31. data/config/locales/hu.yml +2 -0
  32. data/config/locales/hy.yml +2 -0
  33. data/config/locales/id.yml +2 -0
  34. data/config/locales/is.yml +2 -0
  35. data/config/locales/it.yml +2 -0
  36. data/config/locales/ja.yml +2 -0
  37. data/config/locales/ka.yml +2 -0
  38. data/config/locales/kk.yml +2 -0
  39. data/config/locales/ko.yml +2 -0
  40. data/config/locales/lt.yml +2 -0
  41. data/config/locales/lv.yml +2 -0
  42. data/config/locales/ms.yml +2 -0
  43. data/config/locales/mt.yml +2 -0
  44. data/config/locales/nl.yml +2 -0
  45. data/config/locales/no.yml +2 -0
  46. data/config/locales/pa-pk.yml +2 -0
  47. data/config/locales/pa.yml +2 -0
  48. data/config/locales/pl.yml +2 -0
  49. data/config/locales/ps.yml +2 -0
  50. data/config/locales/pt.yml +2 -0
  51. data/config/locales/ro.yml +2 -0
  52. data/config/locales/ru.yml +2 -0
  53. data/config/locales/si.yml +2 -0
  54. data/config/locales/sk.yml +2 -0
  55. data/config/locales/sl.yml +2 -0
  56. data/config/locales/so.yml +2 -0
  57. data/config/locales/sq.yml +2 -0
  58. data/config/locales/sr.yml +2 -0
  59. data/config/locales/sv.yml +2 -0
  60. data/config/locales/sw.yml +2 -0
  61. data/config/locales/ta.yml +2 -0
  62. data/config/locales/th.yml +2 -0
  63. data/config/locales/tk.yml +2 -0
  64. data/config/locales/tr.yml +2 -0
  65. data/config/locales/uk.yml +2 -0
  66. data/config/locales/ur.yml +2 -0
  67. data/config/locales/uz.yml +2 -0
  68. data/config/locales/vi.yml +2 -0
  69. data/config/locales/zh-hk.yml +2 -0
  70. data/config/locales/zh-tw.yml +2 -0
  71. data/config/locales/zh.yml +2 -0
  72. data/lib/govuk_publishing_components/version.rb +1 -1
  73. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6335193c0589b639eb77b5e9c340f94a70c35a54f96e8056b6a4d83a29c6699f
4
- data.tar.gz: 89a396e84ca1923dc4846ef461b8098b5a7e5fe6c0a1242ba2fff35c873abe77
3
+ metadata.gz: 2969bc9c245ca82ad65122c89ba86180242c253448759078c253874a97255ddc
4
+ data.tar.gz: 282f3aa5d64dd2aa69d3523419affa8a1bc81a770a78c3a8c8c6873d616109e0
5
5
  SHA512:
6
- metadata.gz: 378df079436675db3e0edc071eb541a6a2e5fc5694d834604565c5773169b87d1781ad05ae2cd697943fa3bec818aa50c1705811733257e9ab28e9f14d32da19
7
- data.tar.gz: c84c7341a07e011d8c2a561e1ae6620d1fce7f6146f95e12974649801fb984aac5e9e3fb1b270acff086f76116b53a634214713342911fa352a9fa5c4f12fabf
6
+ metadata.gz: d86fad3ae81196d495d5b09454f4a1577b96020b97eda59283a7a052cd0c97152574b7c41fb80844c3bd8543d6074a3d67cfd3efd84f6f6de71921757f308c38
7
+ data.tar.gz: 199cec0448a12f946ad21baba218e341f139da3e94add2d64ad2d9b0de5b1d07861d0d96e6dadc76315cd070c654fe0cec7427109a237d997153cbefbe5ed6f4
@@ -0,0 +1,73 @@
1
+ window.GOVUK = window.GOVUK || {}
2
+ window.GOVUK.Modules = window.GOVUK.Modules || {};
3
+ (function (Modules) {
4
+ 'use strict'
5
+ // Tracks interactions with search forms, including on the all content finder ("site search"),
6
+ // homepage, and the layout super navigation header search.
7
+ class Ga4SearchTracker {
8
+ constructor ($module) {
9
+ this.$module = $module
10
+ this.$searchInput = this.$module.querySelector('input[type="search"]')
11
+
12
+ this.type = this.$module.dataset.ga4SearchType
13
+ this.url = this.$module.dataset.ga4SearchUrl
14
+ this.section = this.$module.dataset.ga4SearchSection
15
+ this.indexSection = this.$module.dataset.ga4SearchIndexSection
16
+ this.indexSectionCount = this.$module.dataset.ga4SearchIndexSectionCount
17
+ }
18
+
19
+ init () {
20
+ if (!this.$searchInput) {
21
+ console.warn('Ga4SearchTracker: Module added to element without child search input')
22
+ return
23
+ }
24
+
25
+ this.initialKeywords = this.$searchInput.value
26
+
27
+ if (window.GOVUK.getConsentCookie() && window.GOVUK.getConsentCookie().usage) {
28
+ this.startModule()
29
+ } else {
30
+ window.addEventListener('cookie-consent', () => this.startModule())
31
+ }
32
+ }
33
+
34
+ startModule () {
35
+ this.$module.addEventListener('submit', event => this.trackSearch(event))
36
+ }
37
+
38
+ trackSearch () {
39
+ if (this.skipTracking()) return
40
+
41
+ const data = {
42
+ event_name: 'search',
43
+ action: 'search',
44
+
45
+ type: this.type,
46
+ section: this.section,
47
+ url: this.url,
48
+ index_section: this.indexSection,
49
+ index_section_count: this.indexSectionCount,
50
+ text: this.searchTerm()
51
+ }
52
+
53
+ window.GOVUK.analyticsGa4.core.applySchemaAndSendData(data, 'event_data')
54
+ }
55
+
56
+ skipTracking () {
57
+ // Skip tracking for those events that we do not want to track: where the search term is
58
+ // present, but has not changed from its initial value
59
+ return this.searchTerm() !== '' && this.searchTerm() === this.initialKeywords
60
+ }
61
+
62
+ searchTerm () {
63
+ const { standardiseSearchTerm } = window.GOVUK.analyticsGa4.core.trackFunctions
64
+
65
+ // `standardiseSearchTerm` returns undefined for empty strings, whereas we actively want an
66
+ // empty string as part of search events (undefined would not overwrite the current value in
67
+ // the analytics state)
68
+ return standardiseSearchTerm(this.$searchInput.value) || ''
69
+ }
70
+ }
71
+
72
+ Modules.Ga4SearchTracker = Ga4SearchTracker
73
+ })(window.GOVUK.Modules)
@@ -13,6 +13,7 @@
13
13
  //= require ./analytics-ga4/ga4-auto-tracker
14
14
  //= require ./analytics-ga4/ga4-smart-answer-results-tracker
15
15
  //= require ./analytics-ga4/ga4-scroll-tracker
16
+ //= require ./analytics-ga4/ga4-search-tracker
16
17
  //= require ./analytics-ga4/ga4-video-tracker
17
18
  //= require ./analytics-ga4/ga4-focus-loss-tracker
18
19
  //= require ./analytics-ga4/init-ga4
@@ -47,3 +47,18 @@
47
47
  padding: 0 govuk-spacing(4);
48
48
  }
49
49
  }
50
+
51
+ .gem-c-chart .gem-c-chart__a11y-note-link {
52
+ display: none;
53
+ margin-bottom: govuk-spacing(2);
54
+ }
55
+
56
+ .js-enabled {
57
+ .gem-c-chart .gem-c-chart__a11y-note-link {
58
+ display: inline;
59
+ }
60
+
61
+ .gem-c-chart .gem-c-chart__a11y-note-link:focus-within {
62
+ display: inline-block;
63
+ }
64
+ }
@@ -3,6 +3,7 @@
3
3
  add_gem_component_stylesheet("table")
4
4
  add_gem_component_stylesheet("details")
5
5
  add_gem_component_stylesheet("heading")
6
+ add_gem_component_stylesheet("skip-link")
6
7
 
7
8
  chart_heading ||= nil
8
9
  chart_heading_level ||= 2
@@ -44,6 +45,10 @@
44
45
  textPosition = nil
45
46
  textPosition = 'none' if minimal
46
47
 
48
+ if !minimal && !chart_heading
49
+ raise ArgumentError, "A chart heading must be provided for accessibility purposes."
50
+ end
51
+
47
52
  chart_library_options = {
48
53
  chartArea: { width: '80%', height: '60%' },
49
54
  crosshair: { orientation: 'vertical', trigger: 'both', color: '#ccc' },
@@ -97,8 +102,14 @@
97
102
  <% unless minimal %>
98
103
  <div class="govuk-visually-hidden">
99
104
  <%= content_tag :div, chart_overview, class: "gem-c-chart__a11y-note-1" if chart_overview %>
100
- <%= content_tag :div, t("components.chart.accessibility_html", table_id: table_id), class: "gem-c-chart__a11y-note-2" %>
105
+ <%= content_tag :div, t("components.chart.accessibility_html"), class: "gem-c-chart__a11y-note-2" %>
101
106
  </div>
107
+ <span class="gem-c-chart__a11y-note-link">
108
+ <%= render "govuk_publishing_components/components/skip_link", {
109
+ text: t("components.chart.accessibility_link", chart_heading: chart_heading),
110
+ href: "##{table_id}"
111
+ } %>
112
+ </span>
102
113
  <% end %>
103
114
 
104
115
  <%= line_chart(chart_format_data, library: chart_library_options) %>
@@ -112,6 +123,9 @@
112
123
  ) do %>
113
124
  <div tabindex="0" class="gem-c-chart__table-wrapper">
114
125
  <table class="govuk-table">
126
+ <caption class="govuk-visually-hidden" id="<%= "data-table-caption-#{SecureRandom.hex(4)}" %>">
127
+ <%= t("components.chart.accessibility_heading", chart_heading: chart_heading) %>
128
+ </caption>
115
129
  <% if table_direction == "horizontal" %>
116
130
  <thead class="govuk-table__head">
117
131
  <tr class="govuk-table__row">
@@ -303,18 +303,12 @@
303
303
  class: "gem-c-layout-super-navigation-header__search-form",
304
304
  id: "search",
305
305
  data: {
306
- module: "ga4-form-tracker",
307
- ga4_form: {
308
- event_name: "search",
309
- type: "header menu bar",
310
- section: "Search GOV.UK",
311
- action: "search",
312
- url: "/search/all",
313
- index_section: 3,
314
- index_section_count: 3,
315
- },
316
- ga4_form_include_text: "",
317
- ga4_form_no_answer_undefined: "",
306
+ module: "ga4-search-tracker",
307
+ ga4_search_type: "header menu bar",
308
+ ga4_search_url: "/search/all",
309
+ ga4_search_section: "Search GOV.UK",
310
+ ga4_search_index_section: 3,
311
+ ga4_search_index_section_count: 3,
318
312
  },
319
313
  action: absolute_links_helper.make_url_absolute("/search/all"),
320
314
  method: "get",
@@ -324,6 +318,7 @@
324
318
  }
325
319
  ) do %>
326
320
  <%= render "govuk_publishing_components/components/search", {
321
+ name: "keywords",
327
322
  inline_label: false,
328
323
  label_size: "m",
329
324
  label_text: search_text,
@@ -11,6 +11,7 @@ accessibility_criteria: |
11
11
  Charts must:
12
12
 
13
13
  - use line colours with a contrast ratio higher than 4.5:1 against the background colour to meet WCAG AA
14
+ - contain a `chart_heading` option if `minimal` is not set to true, so that skip links and visually hidden headings are accurate
14
15
  shared_accessibility_criteria:
15
16
  - link
16
17
  uses_component_wrapper_helper: true
@@ -37,7 +37,9 @@ ar:
37
37
  characters: أحرف
38
38
  words: كلمات
39
39
  chart:
40
+ accessibility_heading:
40
41
  accessibility_html:
42
+ accessibility_link:
41
43
  table_dropdown:
42
44
  chat_entry:
43
45
  description:
@@ -33,7 +33,9 @@ az:
33
33
  characters: simvol
34
34
  words: söz
35
35
  chart:
36
+ accessibility_heading:
36
37
  accessibility_html:
38
+ accessibility_link:
37
39
  table_dropdown:
38
40
  chat_entry:
39
41
  description:
@@ -35,7 +35,9 @@ be:
35
35
  characters: знакаў
36
36
  words: словаў
37
37
  chart:
38
+ accessibility_heading:
38
39
  accessibility_html:
40
+ accessibility_link:
39
41
  table_dropdown:
40
42
  chat_entry:
41
43
  description:
@@ -33,7 +33,9 @@ bg:
33
33
  characters: символа
34
34
  words: думи
35
35
  chart:
36
+ accessibility_heading:
36
37
  accessibility_html:
38
+ accessibility_link:
37
39
  table_dropdown:
38
40
  chat_entry:
39
41
  description:
@@ -33,7 +33,9 @@ bn:
33
33
  characters: ক্যারেক্টার
34
34
  words: শব্দসমষ্টি
35
35
  chart:
36
+ accessibility_heading:
36
37
  accessibility_html:
38
+ accessibility_link:
37
39
  table_dropdown:
38
40
  chat_entry:
39
41
  description:
@@ -34,7 +34,9 @@ cs:
34
34
  characters: znaky
35
35
  words: slova
36
36
  chart:
37
+ accessibility_heading:
37
38
  accessibility_html:
39
+ accessibility_link:
38
40
  table_dropdown:
39
41
  chat_entry:
40
42
  description:
@@ -37,7 +37,9 @@ cy:
37
37
  characters: nodau
38
38
  words: geiriau
39
39
  chart:
40
+ accessibility_heading:
40
41
  accessibility_html:
42
+ accessibility_link:
41
43
  table_dropdown:
42
44
  chat_entry:
43
45
  description:
@@ -33,7 +33,9 @@ da:
33
33
  characters: Tegn
34
34
  words: ord
35
35
  chart:
36
+ accessibility_heading:
36
37
  accessibility_html:
38
+ accessibility_link:
37
39
  table_dropdown:
38
40
  chat_entry:
39
41
  description:
@@ -33,7 +33,9 @@ de:
33
33
  characters: Zeichen
34
34
  words: Wörter
35
35
  chart:
36
+ accessibility_heading:
36
37
  accessibility_html:
38
+ accessibility_link:
37
39
  table_dropdown:
38
40
  chat_entry:
39
41
  description:
@@ -36,7 +36,9 @@ dr:
36
36
  characters: ارقام
37
37
  words: کلمات
38
38
  chart:
39
+ accessibility_heading:
39
40
  accessibility_html:
41
+ accessibility_link:
40
42
  table_dropdown:
41
43
  chat_entry:
42
44
  description:
@@ -33,7 +33,9 @@ el:
33
33
  characters: χαρακτήρες
34
34
  words: λέξεις
35
35
  chart:
36
+ accessibility_heading:
36
37
  accessibility_html:
38
+ accessibility_link:
37
39
  table_dropdown:
38
40
  chat_entry:
39
41
  description:
@@ -34,7 +34,9 @@ en:
34
34
  words: words
35
35
  chart:
36
36
  table_dropdown: Data table
37
- accessibility_html: This chart is a visual representation of the data available in the <a href='#%{table_id}'>table</a>.
37
+ accessibility_html: This chart is a visual representation of the data available in the table.
38
+ accessibility_link: Skip to "%{chart_heading}" data table
39
+ accessibility_heading: Data table for "%{chart_heading}"
38
40
  chat_entry:
39
41
  heading: Try GOV.UK Chat
40
42
  description: Sign up to GOV.UK’s experimental new AI tool and find answers to your business questions
@@ -33,7 +33,9 @@ es-419:
33
33
  characters: caracteres
34
34
  words: palabras
35
35
  chart:
36
+ accessibility_heading:
36
37
  accessibility_html:
38
+ accessibility_link:
37
39
  table_dropdown:
38
40
  chat_entry:
39
41
  description:
@@ -33,7 +33,9 @@ es:
33
33
  characters: caracteres
34
34
  words: palabras
35
35
  chart:
36
+ accessibility_heading:
36
37
  accessibility_html:
38
+ accessibility_link:
37
39
  table_dropdown:
38
40
  chat_entry:
39
41
  description:
@@ -33,7 +33,9 @@ et:
33
33
  characters: tähemärki
34
34
  words: sõnu
35
35
  chart:
36
+ accessibility_heading:
36
37
  accessibility_html:
38
+ accessibility_link:
37
39
  table_dropdown:
38
40
  chat_entry:
39
41
  description:
@@ -33,7 +33,9 @@ fa:
33
33
  characters: کاراکتر
34
34
  words: کلمه
35
35
  chart:
36
+ accessibility_heading:
36
37
  accessibility_html:
38
+ accessibility_link:
37
39
  table_dropdown:
38
40
  chat_entry:
39
41
  description:
@@ -33,7 +33,9 @@ fi:
33
33
  characters: merkkejä
34
34
  words: sanoja
35
35
  chart:
36
+ accessibility_heading:
36
37
  accessibility_html:
38
+ accessibility_link:
37
39
  table_dropdown:
38
40
  chat_entry:
39
41
  description:
@@ -33,7 +33,9 @@ fr:
33
33
  characters: caractères
34
34
  words: mots
35
35
  chart:
36
+ accessibility_heading:
36
37
  accessibility_html:
38
+ accessibility_link:
37
39
  table_dropdown:
38
40
  chat_entry:
39
41
  description:
@@ -35,7 +35,9 @@ gd:
35
35
  characters: Figiúr
36
36
  words: Carachtar
37
37
  chart:
38
+ accessibility_heading:
38
39
  accessibility_html:
40
+ accessibility_link:
39
41
  table_dropdown:
40
42
  chat_entry:
41
43
  description:
@@ -33,7 +33,9 @@ gu:
33
33
  characters: અક્ષરો
34
34
  words: શબ્દો
35
35
  chart:
36
+ accessibility_heading:
36
37
  accessibility_html:
38
+ accessibility_link:
37
39
  table_dropdown:
38
40
  chat_entry:
39
41
  description:
@@ -33,7 +33,9 @@ he:
33
33
  characters: תווים
34
34
  words: מילים
35
35
  chart:
36
+ accessibility_heading:
36
37
  accessibility_html:
38
+ accessibility_link:
37
39
  table_dropdown:
38
40
  chat_entry:
39
41
  description:
@@ -33,7 +33,9 @@ hi:
33
33
  characters: अक्षर
34
34
  words: शब्द
35
35
  chart:
36
+ accessibility_heading:
36
37
  accessibility_html:
38
+ accessibility_link:
37
39
  table_dropdown:
38
40
  chat_entry:
39
41
  description:
@@ -34,7 +34,9 @@ hr:
34
34
  characters: znakova
35
35
  words: riječi
36
36
  chart:
37
+ accessibility_heading:
37
38
  accessibility_html:
39
+ accessibility_link:
38
40
  table_dropdown:
39
41
  chat_entry:
40
42
  description:
@@ -33,7 +33,9 @@ hu:
33
33
  characters: karakterek
34
34
  words: szavak
35
35
  chart:
36
+ accessibility_heading:
36
37
  accessibility_html:
38
+ accessibility_link:
37
39
  table_dropdown:
38
40
  chat_entry:
39
41
  description:
@@ -35,7 +35,9 @@ hy:
35
35
  characters: նիշ
36
36
  words: բառ
37
37
  chart:
38
+ accessibility_heading:
38
39
  accessibility_html:
40
+ accessibility_link:
39
41
  table_dropdown:
40
42
  chat_entry:
41
43
  description:
@@ -32,7 +32,9 @@ id:
32
32
  characters: karakter
33
33
  words: kata
34
34
  chart:
35
+ accessibility_heading:
35
36
  accessibility_html:
37
+ accessibility_link:
36
38
  table_dropdown:
37
39
  chat_entry:
38
40
  description:
@@ -33,7 +33,9 @@ is:
33
33
  characters: stafi
34
34
  words: orð
35
35
  chart:
36
+ accessibility_heading:
36
37
  accessibility_html:
38
+ accessibility_link:
37
39
  table_dropdown:
38
40
  chat_entry:
39
41
  description:
@@ -33,7 +33,9 @@ it:
33
33
  characters: caratteri
34
34
  words: parole
35
35
  chart:
36
+ accessibility_heading:
36
37
  accessibility_html:
38
+ accessibility_link:
37
39
  table_dropdown:
38
40
  chat_entry:
39
41
  description:
@@ -32,7 +32,9 @@ ja:
32
32
  characters: 文字
33
33
  words: 単語
34
34
  chart:
35
+ accessibility_heading:
35
36
  accessibility_html:
37
+ accessibility_link:
36
38
  table_dropdown:
37
39
  chat_entry:
38
40
  description:
@@ -33,7 +33,9 @@ ka:
33
33
  characters: სიმბოლოები
34
34
  words: სიტყვები
35
35
  chart:
36
+ accessibility_heading:
36
37
  accessibility_html:
38
+ accessibility_link:
37
39
  table_dropdown:
38
40
  chat_entry:
39
41
  description:
@@ -33,7 +33,9 @@ kk:
33
33
  characters: таңба
34
34
  words: сөз
35
35
  chart:
36
+ accessibility_heading:
36
37
  accessibility_html:
38
+ accessibility_link:
37
39
  table_dropdown:
38
40
  chat_entry:
39
41
  description:
@@ -32,7 +32,9 @@ ko:
32
32
  characters:
33
33
  words:
34
34
  chart:
35
+ accessibility_heading:
35
36
  accessibility_html:
37
+ accessibility_link:
36
38
  table_dropdown:
37
39
  chat_entry:
38
40
  description:
@@ -34,7 +34,9 @@ lt:
34
34
  characters: spaudos ženklų
35
35
  words: žodžių
36
36
  chart:
37
+ accessibility_heading:
37
38
  accessibility_html:
39
+ accessibility_link:
38
40
  table_dropdown:
39
41
  chat_entry:
40
42
  description:
@@ -33,7 +33,9 @@ lv:
33
33
  characters: rakstzīmes
34
34
  words: vārdi
35
35
  chart:
36
+ accessibility_heading:
36
37
  accessibility_html:
38
+ accessibility_link:
37
39
  table_dropdown:
38
40
  chat_entry:
39
41
  description:
@@ -32,7 +32,9 @@ ms:
32
32
  characters: aksara
33
33
  words: perkataan
34
34
  chart:
35
+ accessibility_heading:
35
36
  accessibility_html:
37
+ accessibility_link:
36
38
  table_dropdown:
37
39
  chat_entry:
38
40
  description:
@@ -35,7 +35,9 @@ mt:
35
35
  characters: karattri
36
36
  words: kliem
37
37
  chart:
38
+ accessibility_heading:
38
39
  accessibility_html:
40
+ accessibility_link:
39
41
  table_dropdown:
40
42
  chat_entry:
41
43
  description:
@@ -33,7 +33,9 @@ nl:
33
33
  characters: karakters
34
34
  words: woorden
35
35
  chart:
36
+ accessibility_heading:
36
37
  accessibility_html:
38
+ accessibility_link:
37
39
  table_dropdown:
38
40
  chat_entry:
39
41
  description:
@@ -33,7 +33,9 @@
33
33
  characters: tegn
34
34
  words: ord
35
35
  chart:
36
+ accessibility_heading:
36
37
  accessibility_html:
38
+ accessibility_link:
37
39
  table_dropdown:
38
40
  chat_entry:
39
41
  description:
@@ -33,7 +33,9 @@ pa-pk:
33
33
  characters: کردار
34
34
  words: الفاظ
35
35
  chart:
36
+ accessibility_heading:
36
37
  accessibility_html:
38
+ accessibility_link:
37
39
  table_dropdown:
38
40
  chat_entry:
39
41
  description:
@@ -33,7 +33,9 @@ pa:
33
33
  characters: ਅੱਖਰ
34
34
  words: ਸ਼ਬਦ
35
35
  chart:
36
+ accessibility_heading:
36
37
  accessibility_html:
38
+ accessibility_link:
37
39
  table_dropdown:
38
40
  chat_entry:
39
41
  description:
@@ -35,7 +35,9 @@ pl:
35
35
  characters: znaków
36
36
  words: słów
37
37
  chart:
38
+ accessibility_heading:
38
39
  accessibility_html:
40
+ accessibility_link:
39
41
  table_dropdown:
40
42
  chat_entry:
41
43
  description:
@@ -33,7 +33,9 @@ ps:
33
33
  characters: کرکټرونه
34
34
  words: ټکي
35
35
  chart:
36
+ accessibility_heading:
36
37
  accessibility_html:
38
+ accessibility_link:
37
39
  table_dropdown:
38
40
  chat_entry:
39
41
  description:
@@ -33,7 +33,9 @@ pt:
33
33
  characters: carateres
34
34
  words: palavras
35
35
  chart:
36
+ accessibility_heading:
36
37
  accessibility_html:
38
+ accessibility_link:
37
39
  table_dropdown:
38
40
  chat_entry:
39
41
  description:
@@ -34,7 +34,9 @@ ro:
34
34
  characters: caractere
35
35
  words: cuvinte
36
36
  chart:
37
+ accessibility_heading:
37
38
  accessibility_html:
39
+ accessibility_link:
38
40
  table_dropdown:
39
41
  chat_entry:
40
42
  description:
@@ -35,7 +35,9 @@ ru:
35
35
  characters: символов
36
36
  words: слов
37
37
  chart:
38
+ accessibility_heading:
38
39
  accessibility_html:
40
+ accessibility_link:
39
41
  table_dropdown:
40
42
  chat_entry:
41
43
  description:
@@ -33,7 +33,9 @@ si:
33
33
  characters: අක්ෂර
34
34
  words: වචන
35
35
  chart:
36
+ accessibility_heading:
36
37
  accessibility_html:
38
+ accessibility_link:
37
39
  table_dropdown:
38
40
  chat_entry:
39
41
  description:
@@ -34,7 +34,9 @@ sk:
34
34
  characters: znakov
35
35
  words: slov
36
36
  chart:
37
+ accessibility_heading:
37
38
  accessibility_html:
39
+ accessibility_link:
38
40
  table_dropdown:
39
41
  chat_entry:
40
42
  description:
@@ -37,7 +37,9 @@ sl:
37
37
  characters: znaki
38
38
  words: besede
39
39
  chart:
40
+ accessibility_heading:
40
41
  accessibility_html:
42
+ accessibility_link:
41
43
  table_dropdown:
42
44
  chat_entry:
43
45
  description:
@@ -33,7 +33,9 @@ so:
33
33
  characters: dabeecadaha
34
34
  words: kalmadaha
35
35
  chart:
36
+ accessibility_heading:
36
37
  accessibility_html:
38
+ accessibility_link:
37
39
  table_dropdown:
38
40
  chat_entry:
39
41
  description:
@@ -33,7 +33,9 @@ sq:
33
33
  characters: karaktere
34
34
  words: fjalë
35
35
  chart:
36
+ accessibility_heading:
36
37
  accessibility_html:
38
+ accessibility_link:
37
39
  table_dropdown:
38
40
  chat_entry:
39
41
  description:
@@ -34,7 +34,9 @@ sr:
34
34
  characters: znakova
35
35
  words: reči
36
36
  chart:
37
+ accessibility_heading:
37
38
  accessibility_html:
39
+ accessibility_link:
38
40
  table_dropdown:
39
41
  chat_entry:
40
42
  description:
@@ -33,7 +33,9 @@ sv:
33
33
  characters: tecken
34
34
  words: ord
35
35
  chart:
36
+ accessibility_heading:
36
37
  accessibility_html:
38
+ accessibility_link:
37
39
  table_dropdown:
38
40
  chat_entry:
39
41
  description:
@@ -33,7 +33,9 @@ sw:
33
33
  characters: herufi
34
34
  words: maneno
35
35
  chart:
36
+ accessibility_heading:
36
37
  accessibility_html:
38
+ accessibility_link:
37
39
  table_dropdown:
38
40
  chat_entry:
39
41
  description:
@@ -33,7 +33,9 @@ ta:
33
33
  characters: எழுத்துருக்கள்
34
34
  words: சொற்கள்
35
35
  chart:
36
+ accessibility_heading:
36
37
  accessibility_html:
38
+ accessibility_link:
37
39
  table_dropdown:
38
40
  chat_entry:
39
41
  description:
@@ -32,7 +32,9 @@ th:
32
32
  characters: ตัวอักษร
33
33
  words: คำ
34
34
  chart:
35
+ accessibility_heading:
35
36
  accessibility_html:
37
+ accessibility_link:
36
38
  table_dropdown:
37
39
  chat_entry:
38
40
  description:
@@ -33,7 +33,9 @@ tk:
33
33
  characters: şekiller
34
34
  words: sözler
35
35
  chart:
36
+ accessibility_heading:
36
37
  accessibility_html:
38
+ accessibility_link:
37
39
  table_dropdown:
38
40
  chat_entry:
39
41
  description:
@@ -33,7 +33,9 @@ tr:
33
33
  characters: karakter
34
34
  words: kelime
35
35
  chart:
36
+ accessibility_heading:
36
37
  accessibility_html:
38
+ accessibility_link:
37
39
  table_dropdown:
38
40
  chat_entry:
39
41
  description:
@@ -35,7 +35,9 @@ uk:
35
35
  characters: символів
36
36
  words: слів
37
37
  chart:
38
+ accessibility_heading:
38
39
  accessibility_html:
40
+ accessibility_link:
39
41
  table_dropdown:
40
42
  chat_entry:
41
43
  description:
@@ -33,7 +33,9 @@ ur:
33
33
  characters: حروف
34
34
  words: الفاظ
35
35
  chart:
36
+ accessibility_heading:
36
37
  accessibility_html:
38
+ accessibility_link:
37
39
  table_dropdown:
38
40
  chat_entry:
39
41
  description:
@@ -33,7 +33,9 @@ uz:
33
33
  characters: белгилар
34
34
  words: сўзлар
35
35
  chart:
36
+ accessibility_heading:
36
37
  accessibility_html:
38
+ accessibility_link:
37
39
  table_dropdown:
38
40
  chat_entry:
39
41
  description:
@@ -32,7 +32,9 @@ vi:
32
32
  characters: ký tự
33
33
  words: từ
34
34
  chart:
35
+ accessibility_heading:
35
36
  accessibility_html:
37
+ accessibility_link:
36
38
  table_dropdown:
37
39
  chat_entry:
38
40
  description:
@@ -32,7 +32,9 @@ zh-hk:
32
32
  characters: 字元
33
33
  words: 字彙
34
34
  chart:
35
+ accessibility_heading:
35
36
  accessibility_html:
37
+ accessibility_link:
36
38
  table_dropdown:
37
39
  chat_entry:
38
40
  description:
@@ -32,7 +32,9 @@ zh-tw:
32
32
  characters: 字元
33
33
  words: 字
34
34
  chart:
35
+ accessibility_heading:
35
36
  accessibility_html:
37
+ accessibility_link:
36
38
  table_dropdown:
37
39
  chat_entry:
38
40
  description:
@@ -32,7 +32,9 @@ zh:
32
32
  characters: 字符
33
33
  words: 单词
34
34
  chart:
35
+ accessibility_heading:
35
36
  accessibility_html:
37
+ accessibility_link:
36
38
  table_dropdown:
37
39
  chat_entry:
38
40
  description:
@@ -1,3 +1,3 @@
1
1
  module GovukPublishingComponents
2
- VERSION = "44.9.0".freeze
2
+ VERSION = "44.10.0".freeze
3
3
  end
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: 44.9.0
4
+ version: 44.10.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: 2024-10-29 00:00:00.000000000 Z
11
+ date: 2024-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chartkick
@@ -455,6 +455,7 @@ files:
455
455
  - app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-print-intent-tracker.js
456
456
  - app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-schemas.js
457
457
  - app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-scroll-tracker.js
458
+ - app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-search-tracker.js
458
459
  - app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-smart-answer-results-tracker.js
459
460
  - app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-specialist-link-tracker.js
460
461
  - app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-video-tracker.js