govuk_publishing_components 9.9.0 → 9.9.1
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 925b6c1580fe9b960e90984e5e4a50995fe322cd323506a7f2fd8becdb60e23b
|
|
4
|
+
data.tar.gz: 43cd17771a0adb23d4e4726f14afb90a24ad753b28a342cb7c3aad1725d9aef7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 430cbf6a5cd566061cbfddc769d1e09551f9c7b94690a6447768ed949ee77501184efaf538098e310e17950fe8cb7022d8ae76e5e1ba491a36ac086721692c99
|
|
7
|
+
data.tar.gz: 5e5ada0b54ea7cbee6cffce21a560a5fccacdd223332c6f2ad28ac567b8ccfccd5d3616cb3ce0c34dc733a31f1c90c65ac37d8432284662e2674ccae2473e838
|
|
@@ -11,9 +11,6 @@
|
|
|
11
11
|
<ol class="gem-c-document-list<%= margin_bottom_class %><%= margin_top_class %> <%= brand_helper.brand_class %>">
|
|
12
12
|
<% items.each do |item| %>
|
|
13
13
|
<li class="gem-c-document-list__item">
|
|
14
|
-
<% if item[:link][:description] || item[:metadata] %>
|
|
15
|
-
<h3 class="gem-c-document-list__item-title">
|
|
16
|
-
<% end %>
|
|
17
14
|
<%=
|
|
18
15
|
link_to(
|
|
19
16
|
item[:link][:text],
|
|
@@ -22,9 +19,6 @@
|
|
|
22
19
|
class: "gem-c-document-list__item-title #{brand_helper.color_class} #{title_with_context_class if item[:link][:context]}"
|
|
23
20
|
)
|
|
24
21
|
%>
|
|
25
|
-
<% if item[:link][:description] || item[:metadata] %>
|
|
26
|
-
</h3>
|
|
27
|
-
<% end %>
|
|
28
22
|
|
|
29
23
|
<% if item[:link][:context] %>
|
|
30
24
|
<span class="gem-c-document-list__item-context"><%= item[:link][:context] %></span>
|
|
@@ -94,7 +94,6 @@ examples:
|
|
|
94
94
|
public_updated_at: 2017-07-19 15:01:48
|
|
95
95
|
document_type: 'Statutory guidance'
|
|
96
96
|
with_only_link:
|
|
97
|
-
description: When only link text and path is provided to the component (no description or metadata), this will render the link without wrapping it in a heading element.
|
|
98
97
|
data:
|
|
99
98
|
items:
|
|
100
99
|
- link:
|
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: 9.9.
|
|
4
|
+
version: 9.9.1
|
|
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-08-
|
|
11
|
+
date: 2018-08-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: govuk_app_config
|