govuk_publishing_components 16.26.0 → 16.27.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 +4 -4
- data/app/views/govuk_publishing_components/components/_error_summary.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/docs/error_summary.yml +11 -0
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/node_modules/accessible-autocomplete/package.json +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 85fa4b6a15e6493fe44621f5e55738e5621e3ad3afb2001bbe8ef6387bd99d6d
|
|
4
|
+
data.tar.gz: 50adec34aeac1b49f6267cd3736d6facc47fd81078dafd5c40ad20eeec8c1bdc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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'
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"/"
|
|
50
50
|
],
|
|
51
51
|
"_resolved": "git://github.com/alphagov/accessible-autocomplete.git#0c518b4fa79b9a95b544410858486ed9e6403c84",
|
|
52
|
-
"_shasum": "
|
|
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.
|
|
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-
|
|
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
|