govuk_publishing_components 12.4.0 → 12.5.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1731d079b5e1902476e2c0300ea25ad10d5f5b66841bed867156b4ea71124091
4
- data.tar.gz: 30dfe416bcb572f270de52fa180b9c102f949f1071d9dd10574016e40efc684f
3
+ metadata.gz: 493818b77e57bcb81f779a3bc4c08b0adea4d72fc74ad9db73383b2e229b8789
4
+ data.tar.gz: 2a09a48ba19c95071ecebab651bcd5bf1f6eb0ae9a8d8fbda521702be5f24c07
5
5
  SHA512:
6
- metadata.gz: 4e5e626770372eeec41774a6b17bf984b280c8af02ccf1b974834d30b7e09ecd2be908d61ca198b9ca08430ea2c80848bff21e7f851df3f9c6f2f848924e802d
7
- data.tar.gz: 9a9924949425c2f3cc98d80e4a177d71287f30ff0edefc4b4179323b888493d1c139d6303e6dacdeca82c8f88ad441ef388a01fb7621bf6eff62ebaef8c4d880
6
+ metadata.gz: bf9fbdf048910fa2a60e66d64817f7cbfa447d570dd5bbab0af75589730cf3136b4e81f934cb2e8fbda927b227b064c03eea963c0714061abb4a2aca6579f71f
7
+ data.tar.gz: 92ee9ccbadfc705288d501d13efa46925f8050abdb9443fedc5d10d5ac0f9285f1a181a41280cd7ae6541c5ccaa26a252cefa02e31d6c0dff1a8973453201b0b
@@ -12,14 +12,31 @@
12
12
  <div class="gem-c-feedback__js-prompt-questions js-prompt-questions">
13
13
  <h2 class="gem-c-feedback__prompt-question">Is this page useful?</h2>
14
14
 
15
+ <%= link_to contact_govuk_path, {
16
+ class: 'gem-c-feedback__prompt-link',
17
+ data: {
18
+ 'track-category' => 'yesNoFeedbackForm',
19
+ 'track-action' => 'ffMaybeClick'
20
+ },
21
+ 'aria-expanded': false,
22
+ role: 'button',
23
+ style: 'display: none;',
24
+ hidden: 'hidden',
25
+ 'aria-hidden': 'true',
26
+ } do %>
27
+ Maybe
28
+ <% end %>
29
+
15
30
  <%= link_to contact_govuk_path, {
16
31
  class: 'gem-c-feedback__prompt-link gem-c-feedback__prompt-link--useful js-page-is-useful',
17
32
  data: {
18
33
  'track-category' => 'yesNoFeedbackForm',
19
34
  'track-action' => 'ffYesClick'
20
- },
21
- } do %>
22
- Yes <span class="visually-hidden">this page is useful</span>
35
+ },
36
+ 'aria-expanded': false,
37
+ role: 'button',
38
+ } do %>
39
+ Yes <span class="visually-hidden">this page is useful</span>
23
40
  <% end %>
24
41
 
25
42
  <%= link_to contact_govuk_path, {
@@ -27,12 +44,12 @@
27
44
  data: {
28
45
  'track-category' => 'yesNoFeedbackForm',
29
46
  'track-action' => 'ffNoClick'
30
- },
31
- 'aria-controls': 'page-is-not-useful',
32
- 'aria-expanded': false,
33
- 'role': 'button'
34
- } do %>
35
- No <span class="visually-hidden">this page is not useful</span>
47
+ },
48
+ 'aria-controls': 'page-is-not-useful',
49
+ 'aria-expanded': false,
50
+ role: 'button',
51
+ } do %>
52
+ No <span class="visually-hidden">this page is not useful</span>
36
53
  <% end %>
37
54
 
38
55
  <%= link_to contact_govuk_path, {
@@ -40,12 +57,12 @@
40
57
  data: {
41
58
  'track-category' => 'Onsite Feedback',
42
59
  'track-action' => 'GOV.UK Open Form'
43
- },
44
- 'aria-controls': 'something-is-wrong',
45
- 'aria-expanded': false,
46
- 'role': 'button'
47
- } do %>
48
- Is there anything wrong with this page?
60
+ },
61
+ 'aria-controls': 'something-is-wrong',
62
+ 'aria-expanded': false,
63
+ role: 'button',
64
+ } do %>
65
+ Is there anything wrong with this page?
49
66
  <% end %>
50
67
  </div>
51
68
 
@@ -1,3 +1,3 @@
1
1
  module GovukPublishingComponents
2
- VERSION = '12.4.0'.freeze
2
+ VERSION = '12.5.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: 12.4.0
4
+ version: 12.5.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: 2018-11-02 00:00:00.000000000 Z
11
+ date: 2018-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: govuk_app_config