govuk_publishing_components 18.3.0 → 18.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss +4 -2
- data/app/views/govuk_publishing_components/components/docs/share_links.yml +6 -6
- data/app/views/govuk_publishing_components/components/docs/summary_list.yml +8 -0
- data/lib/govuk_publishing_components/version.rb +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: dfca54ca61c479defb7578e203d15c1464791ae49a132970eda70bf4ae501fe0
|
4
|
+
data.tar.gz: e7a762e987b91cd63311509e704b13e8b16fa778effd58ca074adc11da7a2889
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6432c1a580ac5e937a1e8cda7b15cc6c507728cf4d187a39f0a4479d9d351e13fb78b3330183c150792af59597b5482bae4e75ce5a9fddf70d752f5d44afe386
|
7
|
+
data.tar.gz: e30bcb45d2a69e8cebbacdd68d33345fdfccc77d0b7457a234cc36cad2a5ebdacf816c55be1382917b1e3f8729f14b96c1df5005b523d64c65016f37f98e9fbe
|
@@ -59,16 +59,18 @@ $share-button-height: 32px;
|
|
59
59
|
}
|
60
60
|
}
|
61
61
|
|
62
|
+
$column-width: 150px;
|
63
|
+
|
62
64
|
.gem-c-share-links--columns {
|
63
65
|
.gem-c-share-links__list {
|
64
66
|
@include govuk-clearfix;
|
65
67
|
display: grid;
|
66
|
-
grid-template-columns: repeat(auto-fit, minmax(
|
68
|
+
grid-template-columns: repeat(auto-fit, minmax($column-width, 1fr));
|
67
69
|
}
|
68
70
|
|
69
71
|
.gem-c-share-links__list-item {
|
70
72
|
float: left;
|
71
|
-
min-width:
|
73
|
+
min-width: $column-width;
|
72
74
|
}
|
73
75
|
|
74
76
|
.gem-c-share-links__link {
|
@@ -93,7 +93,7 @@ examples:
|
|
93
93
|
]
|
94
94
|
arrange_in_columns:
|
95
95
|
description: |
|
96
|
-
Share links are arranged in even columns that adjust according to the available space. Note that the column width is based on an assumed width, so if the text
|
96
|
+
Share links are arranged in even columns that adjust according to the available space. Note that the column width is based on an assumed width, so if the link text is long it may wrap (the example below demonstrates this).
|
97
97
|
|
98
98
|
This option uses CSS grid, which is not fully supported in IE <= 11, so in those browsers the columns are floated.
|
99
99
|
data:
|
@@ -101,12 +101,12 @@ examples:
|
|
101
101
|
links: [
|
102
102
|
{
|
103
103
|
href: '/facebook-share-link',
|
104
|
-
text: '
|
104
|
+
text: 'Facebook',
|
105
105
|
icon: 'facebook'
|
106
106
|
},
|
107
107
|
{
|
108
108
|
href: '/twitter-share-link',
|
109
|
-
text: '
|
109
|
+
text: 'Twitter',
|
110
110
|
icon: 'twitter'
|
111
111
|
},
|
112
112
|
{
|
@@ -116,17 +116,17 @@ examples:
|
|
116
116
|
},
|
117
117
|
{
|
118
118
|
href: '/flickr-share-link',
|
119
|
-
text: '
|
119
|
+
text: 'Flickr',
|
120
120
|
icon: 'flickr'
|
121
121
|
},
|
122
122
|
{
|
123
123
|
href: '/instagram-share-link',
|
124
|
-
text: '
|
124
|
+
text: 'Instagram',
|
125
125
|
icon: 'instagram'
|
126
126
|
},
|
127
127
|
{
|
128
128
|
href: '/linkedin-share-link',
|
129
|
-
text: '
|
129
|
+
text: 'Linkedin',
|
130
130
|
icon: 'linkedin'
|
131
131
|
},
|
132
132
|
]
|
@@ -20,6 +20,14 @@ examples:
|
|
20
20
|
- field: "Body"
|
21
21
|
value: "After the government decided in 2013 to expand the remit of the Committee to include public service providers, the Committee on Standards in Public Life produced our first report on the issue: Ethical Standards for Providers of Public Services in 2014."
|
22
22
|
|
23
|
+
without_title:
|
24
|
+
data:
|
25
|
+
items:
|
26
|
+
- field: "Title"
|
27
|
+
value: "Ethical standards for public service providers"
|
28
|
+
- field: "Summary"
|
29
|
+
value: "Find out more about our reviews on the subject of ethical standards for public service providers, including our 2014 report, 2015 guidance and 2018 follow-up publication."
|
30
|
+
|
23
31
|
with_edit_on_section:
|
24
32
|
data:
|
25
33
|
title: "Title, summary and body"
|
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: 18.3.
|
4
|
+
version: 18.3.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: 2019-08-
|
11
|
+
date: 2019-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gds-api-adapters
|