govuk_publishing_components 69.0.0 → 70.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/govuk_publishing_components/components/feedback.js +0 -1
  3. data/app/assets/javascripts/govuk_publishing_components/lib/filter-list.js +5 -4
  4. data/app/assets/javascripts/govuk_publishing_components/lib/govspeak/magna-charta.js +11 -0
  5. data/app/assets/stylesheets/govuk_publishing_components/components/_attachment.scss +1 -1
  6. data/app/assets/stylesheets/govuk_publishing_components/components/_cards.scss +1 -1
  7. data/app/assets/stylesheets/govuk_publishing_components/components/_feedback.scss +4 -3
  8. data/app/assets/stylesheets/govuk_publishing_components/components/_select-with-search.scss +2 -2
  9. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav.scss +0 -4
  10. data/app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss +1 -1
  11. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_charts.scss +13 -2
  12. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_steps.scss +0 -6
  13. data/app/assets/stylesheets/govuk_publishing_components/components/mixins/_index.scss +0 -2
  14. data/app/views/govuk_publishing_components/component_guide/_component_list.html.erb +1 -1
  15. data/app/views/govuk_publishing_components/component_guide/component_doc/_preview.html.erb +1 -1
  16. data/app/views/govuk_publishing_components/component_guide/example.html.erb +1 -1
  17. data/app/views/govuk_publishing_components/component_guide/show.html.erb +5 -5
  18. data/app/views/govuk_publishing_components/components/_action_link.html.erb +1 -1
  19. data/app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb +1 -2
  20. data/app/views/govuk_publishing_components/components/_details.html.erb +8 -5
  21. data/app/views/govuk_publishing_components/components/_feedback.html.erb +3 -3
  22. data/app/views/govuk_publishing_components/components/docs/govspeak.yml +34 -5
  23. data/app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb +9 -7
  24. data/config/locales/ar.yml +1 -1
  25. data/config/locales/az.yml +1 -1
  26. data/config/locales/be.yml +1 -1
  27. data/config/locales/bg.yml +1 -1
  28. data/config/locales/cs.yml +1 -1
  29. data/config/locales/cy.yml +1 -1
  30. data/config/locales/da.yml +1 -1
  31. data/config/locales/de.yml +1 -1
  32. data/config/locales/dr.yml +1 -1
  33. data/config/locales/el.yml +1 -1
  34. data/config/locales/en.yml +1 -1
  35. data/config/locales/es-419.yml +1 -1
  36. data/config/locales/es.yml +1 -1
  37. data/config/locales/et.yml +1 -1
  38. data/config/locales/fa.yml +1 -1
  39. data/config/locales/fi.yml +1 -1
  40. data/config/locales/fr.yml +1 -1
  41. data/config/locales/gd.yml +1 -1
  42. data/config/locales/gu.yml +1 -1
  43. data/config/locales/he.yml +1 -1
  44. data/config/locales/hr.yml +1 -1
  45. data/config/locales/hu.yml +1 -1
  46. data/config/locales/id.yml +1 -1
  47. data/config/locales/is.yml +1 -1
  48. data/config/locales/it.yml +1 -1
  49. data/config/locales/ka.yml +1 -1
  50. data/config/locales/kk.yml +1 -1
  51. data/config/locales/ky.yml +1 -1
  52. data/config/locales/lt.yml +1 -1
  53. data/config/locales/lv.yml +1 -1
  54. data/config/locales/ms.yml +1 -1
  55. data/config/locales/mt.yml +1 -1
  56. data/config/locales/nl.yml +1 -1
  57. data/config/locales/no.yml +1 -1
  58. data/config/locales/pl.yml +1 -1
  59. data/config/locales/ps.yml +1 -1
  60. data/config/locales/pt.yml +1 -1
  61. data/config/locales/ro.yml +1 -1
  62. data/config/locales/ru.yml +1 -1
  63. data/config/locales/si.yml +1 -1
  64. data/config/locales/sk.yml +1 -1
  65. data/config/locales/sl.yml +1 -1
  66. data/config/locales/so.yml +1 -1
  67. data/config/locales/sq.yml +1 -1
  68. data/config/locales/sr.yml +1 -1
  69. data/config/locales/sv.yml +1 -1
  70. data/config/locales/sw.yml +1 -1
  71. data/config/locales/ta.yml +1 -1
  72. data/config/locales/tk.yml +1 -1
  73. data/config/locales/tr.yml +1 -1
  74. data/config/locales/uk.yml +1 -1
  75. data/config/locales/uz.yml +1 -1
  76. data/config/locales/vi.yml +1 -1
  77. data/lib/govuk_publishing_components/presenters/breadcrumb_selector.rb +2 -8
  78. data/lib/govuk_publishing_components/presenters/image_card_helper.rb +1 -1
  79. data/lib/govuk_publishing_components/version.rb +1 -1
  80. metadata +2 -4
  81. data/app/assets/stylesheets/govuk_publishing_components/components/mixins/_prefixed-transform.scss +0 -5
  82. data/app/assets/stylesheets/govuk_publishing_components/components/mixins/_scale.scss +0 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4d6a8ca8a18729239925c15778ecfe6f9e699c8c1531d199e3259ed084c2b40f
4
- data.tar.gz: f94b13c75a3b38547a27716a5b40252b8a62a83cd609365c056eb578d6901741
3
+ metadata.gz: 26a6e82416b5041f7d941625ee6c9fa4416ee57859ab124efdeaa55b21ba7e68
4
+ data.tar.gz: d1ad65841b1e9e4354b5fdb1cfbda0ad15332cf853c746762672baa0d7439502
5
5
  SHA512:
6
- metadata.gz: 5318a3a3ddda3807aedfa588342b942574d5d863ca064d553b9fd83beb0a9817e927f0e8583bd76a9dd90a344b7961e7f4c8c6bcbbb0f1bc2d32bfdc01575b1c
7
- data.tar.gz: bca644a69295230d4e4715a01819589b4e50c11c84e47b5410772e4b614b9d7bcbf109680b50015a63907195dea5f7eaa586672e18c0f5115507a11815c54706
6
+ metadata.gz: d7b0a49fc66cab25c6aaa6cd45ac6228989b8baa4052035a2419e014f6979e257e2db3a6cf4dc5c1a186eb959c1ab7f5e0660a181ae74fa5bca34c43ce281fe7
7
+ data.tar.gz: a4b68eccc46b2b0bbed51b27c1f1c7e3da9af808786aeed7e3fa8794b1619d5f96af23e01ef6b5f8e3b9c4dc6de01142e9069c5ae74282a2ad95198c9af458b1
@@ -15,7 +15,6 @@
15
15
  this.promptQuestions = this.$module.querySelectorAll('.js-prompt-questions')
16
16
  this.promptSuccessMessage = this.$module.querySelector('.js-prompt-success')
17
17
  this.surveyWrapper = this.$module.querySelector('#survey-wrapper')
18
- this.jshiddenClass = 'js-hidden'
19
18
  this.whatDoingInput = this.$module.querySelector('[name=what_doing]')
20
19
  this.whatWrongInput = this.$module.querySelector('[name=what_wrong]')
21
20
  }
@@ -57,11 +57,12 @@
57
57
  FilterList.prototype.filterList = function (e) {
58
58
  const searchTerm = e.srcElement.value
59
59
 
60
- for (var i = 0; i < this.items.length; i++) {
61
- const item = this.items[i]
62
- const text = item.innerText.toLowerCase()
60
+ for (const item of this.items) {
61
+ const itemText = item.innerText
62
+ const searchTerms = item.getAttribute('data-filter-item-search-terms')
63
+ const text = searchTerms ? `${itemText} ${searchTerms}` : itemText
63
64
 
64
- if (text.includes(searchTerm.toLowerCase())) {
65
+ if (text.toLowerCase().includes(searchTerm.toLowerCase())) {
65
66
  item.classList.remove('govuk-!-display-none')
66
67
  } else {
67
68
  item.classList.add('govuk-!-display-none')
@@ -389,6 +389,17 @@
389
389
  for (var j = 0; j < cells.length; j++) {
390
390
  var $cell = cells[j]
391
391
  var parsedCellVal = parseFloat(this.utils.stripValue($cell.innerText), 10)
392
+
393
+ if (isNaN(parsedCellVal)) {
394
+ parsedCellVal = 0
395
+
396
+ if (this.options.stacked) {
397
+ $cell.classList.add('govuk-visually-hidden')
398
+ } else {
399
+ $cell.classList.add('mc-no-data')
400
+ }
401
+ }
402
+
392
403
  var parsedVal = parsedCellVal * this.dimensions.single
393
404
  var absParsedCellVal = Math.abs(parsedCellVal)
394
405
  var absParsedVal = Math.abs(parsedVal)
@@ -19,7 +19,7 @@ $thumbnail-border-width: 5px;
19
19
 
20
20
  .gem-c-attachment__thumbnail-image {
21
21
  display: block;
22
- width: auto; // for IE8
22
+ width: auto;
23
23
  max-width: calc($thumbnail-width / 1.5);
24
24
  height: calc($thumbnail-height / 1.5);
25
25
  background: govuk-colour("white");
@@ -191,7 +191,7 @@
191
191
  right: govuk-spacing(1);
192
192
  top: 50%;
193
193
  margin-top: 5px;
194
- @include prefixed-transform($rotate: 45deg);
194
+ transform: rotate(45deg);
195
195
  width: $dimension;
196
196
  }
197
197
 
@@ -228,9 +228,10 @@ $feedback-prompt-border-top-colour: $govuk-blue-tint-50;
228
228
  }
229
229
 
230
230
  .gem-c-feedback__close {
231
- margin: 0 govuk-spacing(2);
232
- @include govuk-media-query($until: tablet) {
233
- margin: govuk-spacing(4) 0 0;
231
+ display: none;
232
+
233
+ .govuk-frontend-supported & {
234
+ display: block;
234
235
  }
235
236
  }
236
237
 
@@ -34,14 +34,14 @@ $choices-button-dimension: 12px !default;
34
34
 
35
35
  .choices[data-type*="select-one"]::after {
36
36
  @include govuk-shape-arrow($direction: down, $base: 10px, $display: inline-block);
37
- @include prefixed-transform($translateY: -50%);
37
+ transform: translateY(-50%);
38
38
  margin: 0;
39
39
  }
40
40
 
41
41
  .choices.is-open[data-type*="select-one"]::after {
42
42
  margin: 0;
43
43
  bottom: govuk-em(1px, $font-size);
44
- @include prefixed-transform($translateY: -50%, $rotate: 180deg);
44
+ transform: translateY(-50%) rotate(180deg);
45
45
  }
46
46
 
47
47
  .choices[data-type*="select-multiple"] .choices__button,
@@ -96,8 +96,6 @@ $top-border: solid 1px govuk-functional-colour("border");
96
96
  left: govuk-px-to-rem(6px);
97
97
  width: govuk-px-to-rem(6px);
98
98
  height: govuk-px-to-rem(6px);
99
- -webkit-transform: rotate(-45deg); /* Ch <36, Saf 5.1+, iOS < 9.2, An =<4.4.4 */
100
- -ms-transform: rotate(-45deg); /* IE 9 */
101
99
  transform: rotate(-45deg);
102
100
  border-top: govuk-px-to-rem(2px) solid;
103
101
  border-right: govuk-px-to-rem(2px) solid;
@@ -106,8 +104,6 @@ $top-border: solid 1px govuk-functional-colour("border");
106
104
 
107
105
  // Rotate icon to create "Down" version
108
106
  .gem-c-step-nav__chevron--down {
109
- -webkit-transform: rotate(180deg); /* Ch <36, Saf 5.1+, iOS < 9.2, An =<4.4.4 */
110
- -ms-transform: rotate(180deg); /* IE 9 */
111
107
  transform: rotate(180deg);
112
108
  }
113
109
 
@@ -113,7 +113,7 @@
113
113
  }
114
114
 
115
115
  .gem-c-subscription-links__list-item--small .gem-c-subscription-links__icon {
116
- @include scale(.9);
116
+ transform: scale(.9);
117
117
  transform-origin: bottom left;
118
118
  }
119
119
 
@@ -21,7 +21,7 @@
21
21
  $base-unit: 16px; // For font sizes and related spacing
22
22
  $compact-font-size: 12px; // For the 'compact' bar style
23
23
  $bar-padding: 8px; // The padding between the bar values and the edge of the bar
24
- $bar-spacing: 5px; // The spacing around the bars
24
+ $bar-spacing: 10px; // The spacing around the bars
25
25
  $stack-spacing: 1px; // For stacked bars, the spacing between each stack in a bar
26
26
  $caption-side: top; // Caption alignment. Top or bottom.
27
27
 
@@ -52,7 +52,6 @@
52
52
  width: 100%;
53
53
  border-spacing: 0 $bar-spacing;
54
54
  border: 1px solid $chart-border;
55
- padding: $base-unit 0;
56
55
  position: relative;
57
56
  margin-bottom: $base-unit;
58
57
 
@@ -156,6 +155,18 @@
156
155
  background-color: list.nth($bar-colours, $i + 1);
157
156
  color: list.nth($bar-text-colours, $i + 1);
158
157
  }
158
+
159
+ .mc-bar-#{$i + 1}.mc-no-data {
160
+ color: govuk-colour("black");
161
+ border-width: 2px;
162
+ border-style: solid;
163
+ border-color: list.nth($bar-colours, $i + 1);
164
+ }
165
+ }
166
+
167
+ .mc-no-data span {
168
+ display: inline-block;
169
+ min-width: 75px;
159
170
  }
160
171
 
161
172
  // Negative bars
@@ -9,12 +9,6 @@
9
9
  margin: 0;
10
10
  padding: .75em 0 .75em 2.5em;
11
11
  position: relative;
12
-
13
- // IE doesn't render this correctly with this element as display:block
14
- // (it leaves a space for the :before pseudo element) by setting to
15
- // display inline block and a width of 100% it works correctly.
16
- display: inline-block;
17
- width: 100%;
18
12
  box-sizing: border-box;
19
13
 
20
14
  // stylelint-disable max-nesting-depth
@@ -1,4 +1,2 @@
1
1
  @import "high-contrast-outline";
2
2
  @import "margins";
3
- @import "prefixed-transform";
4
- @import "scale";
@@ -4,7 +4,7 @@
4
4
  <%= local_assigns[:details] if local_assigns[:details] %>
5
5
  <ul class="govuk-list govuk-list--bullet govuk-list--spaced">
6
6
  <% local_assigns[:components].each do |component_doc| %>
7
- <li data-filter-item>
7
+ <li data-filter-item data-filter-item-search-terms="<%= component_doc.id %>">
8
8
  <% if local_assigns[:type] == "flexible_section" %>
9
9
  <%= link_to component_doc.name, flexible_section_doc_path(component_doc.id), class: "govuk-link" %>
10
10
  <% else %>
@@ -9,6 +9,6 @@
9
9
  <% if component_doc.display_html? %>
10
10
  <div class="component-guide-preview component-call component-highlight component-output" data-content="HTML OUTPUT">
11
11
  <% html_output = render "govuk_publishing_components/component_guide/component_doc/component_output", example: example, component_doc: component_doc %>
12
- <pre><code><%= raw example.highlight_code(html_output.strip) %></code></pre>
12
+ <pre><code><%= example.highlight_code(html_output.strip) %></code></pre>
13
13
  </div>
14
14
  <% end %>
@@ -20,7 +20,7 @@
20
20
  <div class="component-show">
21
21
  <div class="component-doc">
22
22
  <div class="component-markdown">
23
- <%= raw(@component_example.html_description) %>
23
+ <%= sanitize @component_example.html_description %>
24
24
  </div>
25
25
  <h2 class="govuk-heading-m">
26
26
  How it looks
@@ -27,7 +27,7 @@
27
27
  <% if @component_doc.body.present? %>
28
28
  <div class="component-body">
29
29
  <div class="component-markdown">
30
- <%= raw(@component_doc.html_body) %>
30
+ <%= sanitize @component_doc.html_body %>
31
31
  </div>
32
32
  </div>
33
33
  <% end %>
@@ -112,7 +112,7 @@
112
112
  <div class="govuk-grid-column-two-thirds">
113
113
  <h3 class="govuk-heading-m">Accessibility acceptance criteria</h3>
114
114
  <div class="component-markdown">
115
- <%= raw(@component_doc.html_accessibility_criteria) %>
115
+ <%= sanitize @component_doc.html_accessibility_criteria %>
116
116
  </div>
117
117
  </div>
118
118
  </div>
@@ -125,12 +125,12 @@
125
125
  <div class="component-example" id="standard-options">
126
126
  <h3 class="govuk-heading-m">Standard options</h3>
127
127
  <div class="component-markdown">
128
- <%= raw(@component_doc.html_component_wrapper_options_intro) %>
128
+ <%= sanitize @component_doc.html_component_wrapper_options_intro %>
129
129
  <%= render "govuk_publishing_components/components/details", {
130
130
  title: "See all standard options",
131
131
  disable_ga4: true,
132
132
  } do %>
133
- <%= raw(@component_doc.html_component_wrapper_options_description) %>
133
+ <%= sanitize @component_doc.html_component_wrapper_options_description %>
134
134
  <% end %>
135
135
  </div>
136
136
  </div>
@@ -153,7 +153,7 @@
153
153
  </h3>
154
154
  <% if example.html_description %>
155
155
  <div class="component-markdown component-markdown--no-margin">
156
- <%= raw(example.html_description) %>
156
+ <%= sanitize example.html_description %>
157
157
  </div>
158
158
  <% end %>
159
159
  <% code_example = capture do %>
@@ -27,7 +27,7 @@
27
27
  </g>
28
28
  </svg>
29
29
  </span>
30
- <% elsif %>
30
+ <% else %>
31
31
  <span class="gem-c-action-link__icon" hidden>
32
32
  <svg xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true" viewBox="0 0 27 27" class="gem-c-action-link__svg">
33
33
  <circle class="gem-c-action-link__icon__circle" cx="13.5" cy="13.5" r="13.5" />
@@ -1,7 +1,6 @@
1
1
  <%
2
2
  disable_ga4 ||= false
3
- prioritise_taxon_breadcrumbs ||= false
4
- breadcrumb_selector = GovukPublishingComponents::Presenters::BreadcrumbSelector.new(content_item, request, prioritise_taxon_breadcrumbs, disable_ga4)
3
+ breadcrumb_selector = GovukPublishingComponents::Presenters::BreadcrumbSelector.new(content_item, request, disable_ga4)
5
4
  inverse ||= false
6
5
  collapse_on_mobile ||= true unless local_assigns[:collapse_on_mobile].eql?(false)
7
6
 
@@ -28,15 +28,18 @@
28
28
  component_helper.add_class("gem-c-details--inverse") if inverse
29
29
  component_helper.add_class("gem-c-details--small") if small
30
30
  component_helper.add_class("direction-#{direction}") if local_assigns.include?(:direction)
31
- component_helper.add_data_attribute({ module: "ga4-event-tracker" }) unless disable_ga4
32
- component_helper.add_data_attribute({ ga4_event: ga4_event }) unless disable_ga4
33
31
  component_helper.set_open(open)
32
+
33
+ summary_attributes = {}
34
+ summary_attributes[:module] = "ga4-event-tracker" unless disable_ga4
35
+ summary_attributes[:ga4_event] = ga4_event unless disable_ga4
36
+ summary_attributes[:ga4_expandable] = true unless disable_ga4
34
37
  %>
35
38
  <%= tag.details(**component_helper.all_attributes) do %>
36
- <%= tag.summary class: "govuk-details__summary", aria: summary_aria_attributes do %>
37
- <span class="govuk-details__summary-text" <% unless disable_ga4 %> data-ga4-expandable<% end %>>
39
+ <%= tag.summary class: "govuk-details__summary", aria: summary_aria_attributes, data: summary_attributes do %>
40
+ <%= tag.span class: "govuk-details__summary-text" do %>
38
41
  <%= title %>
39
- </span>
42
+ <% end %>
40
43
  <% end %>
41
44
  <div class="govuk-details__text">
42
45
  <%= yield %>
@@ -12,7 +12,7 @@
12
12
  %>
13
13
 
14
14
  <%= tag.div(**component_helper.all_attributes) do %>
15
- <%= render "govuk_publishing_components/components/feedback/yes_no_banner", disable_ga4: %>
16
- <%= render "govuk_publishing_components/components/feedback/problem_form", url_without_pii: url_without_pii, disable_ga4: %>
17
- <%= render "govuk_publishing_components/components/feedback/survey_signup_form", path_without_pii: path_without_pii, disable_ga4: %>
15
+ <%= render "govuk_publishing_components/components/feedback/yes_no_banner", disable_ga4: disable_ga4 %>
16
+ <%= render "govuk_publishing_components/components/feedback/problem_form", url_without_pii: url_without_pii, disable_ga4: disable_ga4 %>
17
+ <%= render "govuk_publishing_components/components/feedback/survey_signup_form", path_without_pii: path_without_pii, disable_ga4: disable_ga4 %>
18
18
  <% end %>
@@ -378,7 +378,7 @@ examples:
378
378
  </p>
379
379
  <div data-module="toggle" class="accessibility-warning" id="attachment-1243761-accessibility-help">
380
380
  <h2>This file may not be suitable for users of assistive technology.
381
- <a class="toggler" href="#attachment-1243761-accessibility-request" data-controls="attachment-1243761-accessibility-request" data-expanded="false">Request an accessible format.</a>
381
+ <a class="toggler" href="#attachment-1243761-accessibility-request" data-controls="attachment-1243761-accessibility-request" data-expanded="false">Request an accessible format</a>
382
382
  </h2>
383
383
  <p id="attachment-1243761-accessibility-request" class="help-block js-hidden"><span class="arrow"></span>
384
384
  If you use assistive technology and need a version of this document
@@ -634,7 +634,32 @@ examples:
634
634
  <td>row 3</td><td>2</td>
635
635
  </tr>
636
636
  <tr>
637
- <td>row 4</td><td>48</td>
637
+ <td>row 4</td><td>No data</td>
638
+ </tr>
639
+ </tbody>
640
+ </table>
641
+ negative_charts:
642
+ description: |
643
+ Charts can contain positive and negative values if the 'mc-negative' class is added to the table.
644
+ data:
645
+ block: |
646
+ <table class='js-barchart-table mc-auto-outdent mc-negative'>
647
+ <caption>Calorie Gain/Loss by Superhero</caption>
648
+ <tbody>
649
+ <tr>
650
+ <td>Hulk</td><td>6000</td>
651
+ </tr>
652
+ <tr>
653
+ <td>Thor</td><td>5000</td>
654
+ </tr>
655
+ <tr>
656
+ <td>Spiderman</td><td>-2000</td>
657
+ </tr>
658
+ <tr>
659
+ <td>Iron Man</td><td>No data</td>
660
+ </tr>
661
+ <tr>
662
+ <td>Black Widow</td><td>-1500</td>
638
663
  </tr>
639
664
  </tbody>
640
665
  </table>
@@ -686,9 +711,9 @@ examples:
686
711
  <tr><th>Some Data</th><th>YES</th><th>NO</th><th>MAYBE</th></tr>
687
712
  </thead>
688
713
  <tbody>
689
- <tr><th>Testing One</th><td>5</td><td>6</td><td>11</td></tr>
690
- <tr><th>Testing Two</th><td>6</td><td>2</td><td>8</td></tr>
691
- <tr><th>Testing Three</th><td>3</td><td>9</td><td>12</td></tr>
714
+ <tr><th>Testing One</th><td>No data</td><td>7</td><td>6</td></tr>
715
+ <tr><th>Testing Two</th><td>6</td><td>2</td><td>No data</td></tr>
716
+ <tr><th>Testing Three</th><td>3</td><td>No data</td><td>9</td></tr>
692
717
  </tbody>
693
718
  </table>
694
719
  chart_stacked:
@@ -700,6 +725,7 @@ examples:
700
725
  <th scope="col">Colours</th>
701
726
  <th scope="col">Fruits</th>
702
727
  <th scope="col">Vegetables</th>
728
+ <th scope="col">Chocolates</th>
703
729
  <th scope="col">Beans</th>
704
730
  <th scope="col">Nuts</th>
705
731
  <th scope="col">Total</th>
@@ -709,6 +735,7 @@ examples:
709
735
  <tr>
710
736
  <td>Red</td>
711
737
  <td>23</td>
738
+ <td> No data</td>
712
739
  <td>9</td>
713
740
  <td>2</td>
714
741
  <td>1</td>
@@ -717,6 +744,7 @@ examples:
717
744
  <tr>
718
745
  <td>Green</td>
719
746
  <td>5</td>
747
+ <td>No data</td>
720
748
  <td>33</td>
721
749
  <td>8</td>
722
750
  <td>0</td>
@@ -727,6 +755,7 @@ examples:
727
755
  <td>2</td>
728
756
  <td>10</td>
729
757
  <td>0</td>
758
+ <td>No data</td>
730
759
  <td>15</td>
731
760
  <td>27</td>
732
761
  </tr>
@@ -9,13 +9,15 @@
9
9
  <a href="https://www.smartsurvey.co.uk/s/gov-uk-banner/?c=no-js" class="govuk-link" target="_blank" rel="noopener noreferrer external">Please fill in this survey (opens in a new tab<noscript> and requires JavaScript</noscript>)</a>.
10
10
  </p>
11
11
 
12
- <%= render "govuk_publishing_components/components/button", {
13
- text: t("components.feedback.close"),
14
- classes: "js-close-form",
15
- aria_controls: "page-is-not-useful",
16
- secondary_quiet: true,
17
- margin_bottom: 6,
18
- } %>
12
+ <div class="gem-c-feedback__close">
13
+ <%= render "govuk_publishing_components/components/button", {
14
+ text: t("components.feedback.close"),
15
+ classes: "js-close-form",
16
+ aria_controls: "page-is-not-useful",
17
+ secondary_quiet: true,
18
+ margin_bottom: 6,
19
+ } %>
20
+ </div>
19
21
  </div>
20
22
  </div>
21
23
  </div>
@@ -34,7 +34,7 @@ ar:
34
34
  preview_aria_label:
35
35
  preview_link:
36
36
  reference: 'مرجع: %{reference}'
37
- request_format_cta: طلب تنسيق يمكن الاطلاع عليه.
37
+ request_format_cta: طلب تنسيق يمكن الاطلاع عليه
38
38
  request_format_details_html: إذا كنت تستخدم تكنولوجيا مساعِدة (مثل قارئ للشاشة) وتحتاج إلى إصدار من هذا المستند بتنسيق يسهل الاطلاع عليه، فيُرجى التواصل عبر البريد الإلكتروني <a href='mailto:%{alternative_format_contact_email}' target='_blank' class='govuk-link'>%{alternative_format_contact_email}</a>. من فضلك أخبرنا بالتنسيق الذي تحتاجه. إذا أخبرتنا بالتكنولوجيا المساعدة التي تستخدمها، فهذا سيساعدنا.
39
39
  request_format_text: قد لا يكون هذا الملف مناسبًا لمستخدمي التكنولوجيا المساعدة.
40
40
  back_link:
@@ -30,7 +30,7 @@ az:
30
30
  preview_aria_label:
31
31
  preview_link:
32
32
  reference: 'İst: %{reference}'
33
- request_format_cta: İstifadə edilə bilən format tələb edin.
33
+ request_format_cta: İstifadə edilə bilən format tələb edin
34
34
  request_format_details_html: Köməkçi texnologiyalardan (ekran oxuyucusu kimi) istifadə edirsinizsə və sizə bu sənədin daha rahat istifadə edilə bilən formatda olan versiyası lazımdırsa, aşağıdakı ünvana e-məktubla müraciət edin <a href='mailto:%{alternative_format_contact_email}' target='_blank' class='govuk-link'>%{alternative_format_contact_email}</a>. Sizə hansı formatın lazım olduğunu bizə söyləyin. Hansı köməkçi texnologiyadan istifadə etdiyinizi bildirməyiniz bizə kömək edəcək.
35
35
  request_format_text: Bu fayl köməkçi texnologiya istifadəçiləri üçün uyğun olmaya bilər.
36
36
  back_link:
@@ -32,7 +32,7 @@ be:
32
32
  preview_aria_label:
33
33
  preview_link:
34
34
  reference: 'Спасылка: %{reference}'
35
- request_format_cta: Запрасіць файл у іншым фармаце.
35
+ request_format_cta: Запрасіць файл у іншым фармаце
36
36
  request_format_details_html: Калі вы выкарыстоўваеце дапаможных тэхналогіi (такiя як экранны дыктар) i патрэбна версiя гэтага дакумента ў больш даступным фармаце, напішыце, калі ласка  на электронную пошту <a href='mailto:%{alternative_format_contact_email}' target='_blank' class='govuk-link'>%{alternative_format_contact_email}</a>. Калі ласка, паведаміце нам, які фармат вам патрэбен. Нам будзе лягчэй, калі вы паведаміце, якія дапаможныя тэхналогіi вы выкарыстоўваеце.
37
37
  request_format_text: Гэты файл можа быць непрыдатным для карыстальнікаў дапаможных тэхналогій.
38
38
  back_link:
@@ -30,7 +30,7 @@ bg:
30
30
  preview_aria_label:
31
31
  preview_link:
32
32
  reference: 'Реф: %{reference}'
33
- request_format_cta: Поискайте достъпен формат.
33
+ request_format_cta: Поискайте достъпен формат
34
34
  request_format_details_html: Ако използвате помощна технология (например екранен четец) и се нуждаете от версия на този документ в по-достъпен формат, моля, изпратете имейл до <a href='mailto:%{alternative_format_contact_email}' target='_blank' class='govuk-link'>%{alternative_format_contact_email}</a>. Моля, посочете ни какъв формат ви е необходим. Ще ни улесните, ако посочите какви помощни технологии използвате.
35
35
  request_format_text: Този файл може да не е подходящ за потребители на помощни технологии.
36
36
  back_link:
@@ -31,7 +31,7 @@ cs:
31
31
  preview_aria_label:
32
32
  preview_link:
33
33
  reference: 'Odkaz: %{reference}'
34
- request_format_cta: Vyžádejte si přístupný formát.
34
+ request_format_cta: Vyžádejte si přístupný formát
35
35
  request_format_details_html: Pokud používáte asistivní technologii (např. čtečku obrazovky) a potřebujete verzi tohoto dokumentu v přístupnějším formátu, napište prosím <a href='mailto:%{alternative_format_contact_email}' target='_blank' class='govuk-link'>%{alternative_format_contact_email}</a>. Sdělte nám, jaký formát potřebujete. Pomůže nám, když uvedete, jakou asistenční technologii používáte.
36
36
  request_format_text: Tento soubor nemusí být vhodný pro uživatele asistenčních technologií.
37
37
  back_link:
@@ -34,7 +34,7 @@ cy:
34
34
  preview_aria_label:
35
35
  preview_link:
36
36
  reference: 'Cyfeirnod: %{reference}'
37
- request_format_cta: Gwneud cais am fformat hygyrch.
37
+ request_format_cta: Gwneud cais am fformat hygyrch
38
38
  request_format_details_html: Os ydych chi'n defnyddio technoleg gynorthwyol (er enghraifft, rhaglen darllen sgrin) a bod angen fersiwn o'r ddogfen hon arnoch mewn fformat mwy hygyrch, e-bostiwch <a href='mailto:%{alternative_format_contact_email}' target='_blank' class='govuk-link'>%{alternative_format_contact_email}</a>. Rhowch wybod i ni pa fformat sydd ei angen arnoch. Bydd yn ein helpu ni os byddwch chi'n dweud pa dechnoleg gynorthwyol rydych chi'n ei defnyddio.
39
39
  request_format_text: Efallai na fydd y ffeil hon yn addas ar gyfer defnyddwyr technoleg gynorthwyol.
40
40
  back_link:
@@ -30,7 +30,7 @@ da:
30
30
  preview_aria_label:
31
31
  preview_link:
32
32
  reference: 'Henvisning: %{reference}'
33
- request_format_cta: Anmod om et tilgængeligt format.
33
+ request_format_cta: Anmod om et tilgængeligt format
34
34
  request_format_details_html: Hvis du bruger hjælpemidler (f.eks. en skærmlæser) og har brug for en version af dette dokument i et mere tilgængeligt format, bedes du sende en e-mail til <a href='mailto:%{alternative_format_contact_email}' target='_blank' class='govuk-link'>%{alternative_format_contact_email}</a>. Venligst fortæl os, hvilket format du har brug for. Det vil hjælpe os, hvis du fortæller os, hvilken hjælpeteknologi du bruger.
35
35
  request_format_text: Denne fil er muligvis ikke egnet til brugere af hjælpeteknologi.
36
36
  back_link:
@@ -30,7 +30,7 @@ de:
30
30
  preview_aria_label:
31
31
  preview_link:
32
32
  reference: 'Ref: %{reference}'
33
- request_format_cta: Fordern Sie ein zugängliches Format an.
33
+ request_format_cta: Fordern Sie ein zugängliches Format an
34
34
  request_format_details_html: Sollten Sie Hilfsmittel (wie z. B. einen Bildschirmleser) verwenden und eine Version dieses Dokuments in einem leichter zugänglichen Format benötigen, senden Sie bitte eine Email an <a href='mailto:%{alternative_format_contact_email}' target='_blank' class='govuk-link'>%{alternative_format_contact_email}</a>. Bitte teilen Sie uns mit, welches Format Sie benötigen. Es erleichtert uns die Arbeit, wenn Sie uns mitteilen, welche Hilfsmittel Sie verwenden.
35
35
  request_format_text: Diese Datei ist möglicherweise nicht für Hilfsmittel-Nutzer geeignet.
36
36
  back_link:
@@ -30,7 +30,7 @@ dr:
30
30
  preview_aria_label:
31
31
  preview_link:
32
32
  reference: "%{reference}:مرجع"
33
- request_format_cta: یک فارمت قابل دسترس را درخواست کنید.
33
+ request_format_cta: یک فارمت قابل دسترس را درخواست کنید
34
34
  request_format_details_html: |-
35
35
  اگر از تکنالوژی کمکی(مانند صفحه خوان) استفاده مینمایید و به نسخهء از این سند در یک فارمت که بیشتر قابل دسترس باشد ضرورت دارید، لطفاً ایمل نمایید<a href='mailto:%{alternative_format_contact_email}' target='_blank' class='govuk-link'>%{alternative_format_contact_email}</a>.
36
36
  لطفاً بگویید به چه فارمتی نیاز دارید.
@@ -30,7 +30,7 @@ el:
30
30
  preview_aria_label:
31
31
  preview_link:
32
32
  reference: 'Αναφ.: %{reference}'
33
- request_format_cta: Ζητήστε μια προσβάσιμη μορφή.
33
+ request_format_cta: Ζητήστε μια προσβάσιμη μορφή
34
34
  request_format_details_html: Εάν χρησιμοποιείτε βοηθητική τεχνολογία (όπως ένα πρόγραμμα ανάγνωσης οθόνης) και χρειάζεστε μια έκδοση αυτού του εγγράφου σε πιο προσβάσιμη μορφή, στείλτε email στην διεύθυνση <a href='mailto:%{alternative_format_contact_email}' target='_blank' class='govuk-link'>%{alternative_format_contact_email}</a>. Πείτε μας τι μορφή χρειάζεστε. Θα μας βοηθήσει αν πείτε ποια βοηθητική τεχνολογία χρησιμοποιείτε.
35
35
  request_format_text: Αυτό το αρχείο ενδέχεται να μην είναι κατάλληλο για χρήστες βοηθητικής τεχνολογίας.
36
36
  back_link:
@@ -30,7 +30,7 @@ en:
30
30
  preview_aria_label: View %{title} online
31
31
  preview_link: View online
32
32
  reference: 'Ref: %{reference}'
33
- request_format_cta: Request an accessible format.
33
+ request_format_cta: Request an accessible format
34
34
  request_format_details_html: If you use assistive technology (such as a screen reader) and need a version of this document in a more accessible format, please email <a href='mailto:%{alternative_format_contact_email}' target='_blank' class='govuk-link'>%{alternative_format_contact_email}</a>. Please tell us what format you need. It will help us if you say what assistive technology you use.
35
35
  request_format_text: This file may not be suitable for users of assistive technology.
36
36
  back_link:
@@ -30,7 +30,7 @@ es-419:
30
30
  preview_aria_label:
31
31
  preview_link:
32
32
  reference: 'Referencia: %{reference}'
33
- request_format_cta: Solicite un formato accesible.
33
+ request_format_cta: Solicite un formato accesible
34
34
  request_format_details_html: Si utiliza una tecnología de asistencia (como un lector de pantalla) y necesita una versión de este documento en un formato más accesible, envíe un correo electrónico a <a href='mailto:%{alternative_format_contact_email}' target='_blank' class='govuk-link'>%{alternative_format_contact_email}</a>. Por favor, indíquenos qué formato necesita. Nos ayudaría que nos dijeras qué tecnología de asistencia utilizas.
35
35
  request_format_text: Este archivo puede no ser adecuado para los usuarios de tecnología de asistencia.
36
36
  back_link:
@@ -30,7 +30,7 @@ es:
30
30
  preview_aria_label:
31
31
  preview_link:
32
32
  reference: 'Ref.: %{reference}'
33
- request_format_cta: Solicitar un formato accesible.
33
+ request_format_cta: Solicitar un formato accesible
34
34
  request_format_details_html: Si utiliza tecnología de asistencia (como un lector de pantalla) y necesita una versión de este documento en un formato más accesible, envíe un correo electrónico a <a href='mailto:%{alternative_format_contact_email}' target='_blank' class='govuk-link'>%{alternative_format_contact_email}</a>. Díganos qué formato necesita. Nos ayudará si usted dice qué tecnología de asistencia utiliza.
35
35
  request_format_text: Es posible que este archivo no sea adecuado para usuarios de tecnología de asistencia.
36
36
  back_link:
@@ -30,7 +30,7 @@ et:
30
30
  preview_aria_label:
31
31
  preview_link:
32
32
  reference: 'Viide: %{reference}'
33
- request_format_cta: Taotlege juurdepääsetavat vormingut.
33
+ request_format_cta: Taotlege juurdepääsetavat vormingut
34
34
  request_format_details_html: Kui kasutate hõlbustustehnoloogiat (nt ekraanilugerit) ja vajate seda dokumenti juurdepääsetavamas vormingus, saatke e-kiri aadressil <a href='mailto:%{alternative_format_contact_email}' target='_blank' class='govuk-link'>%{alternative_format_contact_email}</a>. Palun öelge meile, millist vormingut vajate. See aitab meid, kui ütlete, millist hõlbustustehnoloogiat kasutate.
35
35
  request_format_text: See fail ei pruugi hõlbustustehnoloogia kasutajatele sobida.
36
36
  back_link:
@@ -30,7 +30,7 @@ fa:
30
30
  preview_aria_label:
31
31
  preview_link:
32
32
  reference: 'مرجع: %{reference}'
33
- request_format_cta: درخواست یک قالب با قابلیت دسترسی بهتر.
33
+ request_format_cta: درخواست یک قالب با قابلیت دسترسی بهتر
34
34
  request_format_details_html: اگر از فناوری‌های کمکی (از قبیل صفحه‌خوان) استفاده می‌کنید و به نسخه‌ای از این سند در قالبی با قابلیت دسترسی بیشتر نیاز دارید، لطفاً به آدرس <a href='mailto:%{alternative_format_contact_email}' target='_blank' class='govuk-link'>%{alternative_format_contact_email}</a> ایمیل بزنید. لطفاً به ما بگویید که به چه قالبی نیاز دارید. اگر بگویید که از چه فناوری کمکی استفاده می‌کنید، بهتر خواهد بود و به ما کمک خواهد کرد.
35
35
  request_format_text: این فایل ممکن است برای کاربران فناوری‌های کمکی مناسب نباشد.
36
36
  back_link:
@@ -30,7 +30,7 @@ fi:
30
30
  preview_aria_label:
31
31
  preview_link:
32
32
  reference: 'Viite: %{reference}'
33
- request_format_cta: Pyydä helppokäyttöistä muotoa.
33
+ request_format_cta: Pyydä helppokäyttöistä muotoa
34
34
  request_format_details_html: Jos käytät apuvälinetekniikkaa (kuten näytönlukuohjelmaa) ja tarvitset tämän asiakirjan version helppokäyttöisemmään muotoon, lähetä sähköpostia osoitteeseen <a href='mailto:%{alternative_format_contact_email}' target='_blank' class='govuk-link'>%{alternative_format_contact_email}</a>. Kerro meille, missä muodossa tarvitset. Se auttaa meitä, jos sanot, mitä apuvälineteknologiaa käytät.
35
35
  request_format_text: Tämä tiedosto ei ehkä sovellu apuvälineen käyttäjille.
36
36
  back_link: