govuk_publishing_components 16.26.0 → 16.27.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 58dc86e63d6de772edbedbe09ba25b4dfb00c77f323731c3e76d336a90414012
4
- data.tar.gz: 53de099a25ce41eeebe93825a108e7d525d2bbf8ac7fc184da156567a0f12c1c
3
+ metadata.gz: 85fa4b6a15e6493fe44621f5e55738e5621e3ad3afb2001bbe8ef6387bd99d6d
4
+ data.tar.gz: 50adec34aeac1b49f6267cd3736d6facc47fd81078dafd5c40ad20eeec8c1bdc
5
5
  SHA512:
6
- metadata.gz: 70c761519f6ecfe9f629a68dd19d2514c782a5f025a4eab3c09b496e8c0abac7722108c0e5cf53aefbb2f54ec7327e948ab7fcfff55c2486195062dd03f16b6c
7
- data.tar.gz: b13342a9b7f68c9266ec89c2e750a6b72025b89bbeec223dbf986178db6731488b3f164281cbb4b6661dc09536db0768ff9a11699556ec16dd7c09f9a5e31977
6
+ metadata.gz: ad9952e132721bac8043db85b4f0e19e5ec5ab6e5ab356297aa6cfdce41e39fccdd8ecc0e2f819a4c05c6bca08004aeeddf750cc21be4160316c52f02e13b9cd
7
+ data.tar.gz: b7882bccdab9df66628022116e042979927f93ea2333170a5f749f0e86308d99a394d11b43d53b36703e6c3a1a4467084d247e3096612cedf42e8447970b5609
@@ -31,7 +31,7 @@
31
31
  <% items.each_with_index do |item, index| %>
32
32
  <li class="gem-c-error-summary__list-item">
33
33
  <% if item[:href] %>
34
- <%= link_to item[:text], item[:href] %>
34
+ <%= link_to item[:text], item[:href], target: item[:target] %>
35
35
  <% else %>
36
36
  <%= item[:text] %>
37
37
  <% end %>
@@ -32,3 +32,14 @@ examples:
32
32
  tracking: GTM-123AB
33
33
  items:
34
34
  - text: Descriptive link to the question with an error 1
35
+ with_custom_target_on_links:
36
+ data:
37
+ title: Message to alert the user to a problem goes here
38
+ description: Optional description of the errors and how to correct them
39
+ items:
40
+ - text: Descriptive link to the question with an error oppening in a new window
41
+ href: '#example-error-1'
42
+ target: '_blank'
43
+ - text: Descriptive link to the question with an error oppening in the same window
44
+ href: '#example-error-2'
45
+ target: '_self'
@@ -1,3 +1,3 @@
1
1
  module GovukPublishingComponents
2
- VERSION = '16.26.0'.freeze
2
+ VERSION = '16.27.0'.freeze
3
3
  end
@@ -49,7 +49,7 @@
49
49
  "/"
50
50
  ],
51
51
  "_resolved": "git://github.com/alphagov/accessible-autocomplete.git#0c518b4fa79b9a95b544410858486ed9e6403c84",
52
- "_shasum": "f7204e571482f6e05a519bea854757f11f6b9777",
52
+ "_shasum": "232fa9822427b28c407d20c47ee43b5bb19f3165",
53
53
  "_shrinkwrap": null,
54
54
  "_spec": "accessible-autocomplete@git://github.com/alphagov/accessible-autocomplete.git#add-multiselect-support",
55
55
  "_where": "/var/lib/jenkins/workspace/ublishing_components_master-N4FWJIUY4CIFHKGZOAAEVVXODRY3YBORQOPIBBXWX72VUPSGJRRQ",
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: 16.26.0
4
+ version: 16.27.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: 2019-05-28 00:00:00.000000000 Z
11
+ date: 2019-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gds-api-adapters