govuk_publishing_components 9.2.3 → 9.3.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/assets/javascripts/component_guide/visual-regression.js +0 -5
- data/app/assets/stylesheets/govuk_publishing_components/_all_components.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss +66 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_attachment.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_charts.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_contact.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_example.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_fraction.scss +2 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_information-callout.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_legislative-list.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_media-player.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_stat-headline.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_tables.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_typography.scss +4 -4
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_warning-callout.scss +1 -1
- data/app/views/govuk_publishing_components/components/_metadata.html.erb +63 -0
- data/app/views/govuk_publishing_components/components/docs/button.yml +1 -1
- data/app/views/govuk_publishing_components/components/docs/contextual_breadcrumbs.yml +1 -1
- data/app/views/govuk_publishing_components/components/docs/contextual_sidebar.yml +1 -1
- data/app/views/govuk_publishing_components/components/docs/fieldset.yml +1 -1
- data/app/views/govuk_publishing_components/components/docs/metadata.yml +337 -0
- data/app/views/govuk_publishing_components/components/metadata/_sentence.html.erb +23 -0
- data/app/views/layouts/govuk_publishing_components/application.html.erb +0 -5
- data/lib/generators/govuk_publishing_components/component_generator.rb +3 -11
- data/lib/govuk_publishing_components/config.rb +1 -5
- data/lib/govuk_publishing_components/version.rb +1 -1
- metadata +6 -4
- data/app/assets/stylesheets/component_guide/all_components.scss +0 -1
- data/app/assets/stylesheets/component_guide/all_components_print.scss +0 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e898b8aad4d901afc19f820509987cb527155bc15e5d54f9c231b8bb46f2d16c
|
|
4
|
+
data.tar.gz: b56443a297872d4bff191111d695d86b014418a4256f31b158e503229472c061
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: deb016b712858cebf2aa9fc3d77c21b3a542a6b29c1ddb6115487f15166f4bd57f041ff65e5dce2bb6bdb92053d80ab7c6542d2867ebb3d65ca6a06c51a70c7a
|
|
7
|
+
data.tar.gz: 49e6cbc17a985cd14729dfc704dc93158fe7d84042f06ed38d03a13e93e62bda6eb4ee689fb969a578395d5f1288d1a0adde94bcf4aea0b391763f377e91fac7
|
|
@@ -47,11 +47,6 @@
|
|
|
47
47
|
|
|
48
48
|
if (href.includes('dev.gov.uk/component-guide')) {
|
|
49
49
|
var appName = host.split('.')[0];
|
|
50
|
-
|
|
51
|
-
if (appName === 'static') {
|
|
52
|
-
appName = 'govuk-static';
|
|
53
|
-
}
|
|
54
|
-
|
|
55
50
|
return _forceHTTPS(href.replace(host, appName + '.herokuapp.com'));
|
|
56
51
|
} else if (href.includes('dev.gov.uk')) {
|
|
57
52
|
return _forceHTTPS(href.replace(host, 'www.gov.uk'));
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
.gem-c-metadata {
|
|
2
|
+
@include core-16;
|
|
3
|
+
@include responsive-bottom-margin;
|
|
4
|
+
@extend %contain-floats;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.gem-c-metadata.direction-rtl {
|
|
8
|
+
direction: rtl;
|
|
9
|
+
text-align: start;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.gem-c-metadata__term {
|
|
13
|
+
margin-top: 0.5em;
|
|
14
|
+
line-height: normal;
|
|
15
|
+
|
|
16
|
+
@include media(tablet) {
|
|
17
|
+
@include box-sizing(border-box);
|
|
18
|
+
float: left;
|
|
19
|
+
clear: left;
|
|
20
|
+
width: 30%;
|
|
21
|
+
max-width: 11em;
|
|
22
|
+
padding-right: $gutter-one-third;
|
|
23
|
+
margin-top: 0;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.gem-c-metadata.direction-rtl .gem-c-metadata__term {
|
|
28
|
+
float: right;
|
|
29
|
+
clear: right;
|
|
30
|
+
|
|
31
|
+
@include media(tablet) {
|
|
32
|
+
padding-left: $gutter-one-third;
|
|
33
|
+
padding-right: 0;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.gem-c-metadata__definition {
|
|
38
|
+
line-height: normal;
|
|
39
|
+
|
|
40
|
+
@include media(tablet) {
|
|
41
|
+
float: left;
|
|
42
|
+
width: 70%;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.gem-c-metadata__definition-link {
|
|
47
|
+
text-decoration: none;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.gem-c-metadata__definition-link:focus,
|
|
51
|
+
.gem-c-metadata__definition-link:active,
|
|
52
|
+
.gem-c-metadata__definition-link:hover {
|
|
53
|
+
text-decoration: underline;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.gem-c-metadata.direction-rtl .gem-c-metadata__definition {
|
|
57
|
+
float: right;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.gem-c-metadata__toggle-wrap {
|
|
61
|
+
display: none;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.js-enabled .gem-c-metadata__toggle-wrap {
|
|
65
|
+
display: block;
|
|
66
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Govspeak fractions
|
|
2
|
-
// https://govuk-
|
|
3
|
-
// https://govuk-
|
|
2
|
+
// https://govuk-publishing-components.herokuapp.com/component-guide/govspeak/image_fractions
|
|
3
|
+
// https://govuk-publishing-components.herokuapp.com/component-guide/govspeak/text_fractions
|
|
4
4
|
//
|
|
5
5
|
// Support:
|
|
6
6
|
// - alphagov/whitehall: ✔︎
|
data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_typography.scss
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Govspeak typography
|
|
2
|
-
// https://govuk-
|
|
3
|
-
// https://govuk-
|
|
4
|
-
// https://govuk-
|
|
5
|
-
// https://govuk-
|
|
2
|
+
// https://govuk-publishing-components.herokuapp.com/component-guide/govspeak/heading_levels
|
|
3
|
+
// https://govuk-publishing-components.herokuapp.com/component-guide/govspeak/lists
|
|
4
|
+
// https://govuk-publishing-components.herokuapp.com/component-guide/govspeak/nested_lists
|
|
5
|
+
// https://govuk-publishing-components.herokuapp.com/component-guide/govspeak/blockquote
|
|
6
6
|
//
|
|
7
7
|
// Support:
|
|
8
8
|
// - alphagov/whitehall: ✔︎
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
<%
|
|
2
|
+
from ||= []
|
|
3
|
+
from = Array(from)
|
|
4
|
+
|
|
5
|
+
part_of ||= []
|
|
6
|
+
part_of = Array(part_of)
|
|
7
|
+
|
|
8
|
+
other ||= nil
|
|
9
|
+
|
|
10
|
+
direction_class = ""
|
|
11
|
+
direction_class = " direction-#{direction}" if local_assigns.include?(:direction)
|
|
12
|
+
%>
|
|
13
|
+
<div class="gem-c-metadata<%= direction_class %>" data-module="gem-toggle">
|
|
14
|
+
<dl data-module="track-click">
|
|
15
|
+
<% if from.any? %>
|
|
16
|
+
<dt class="gem-c-metadata__term"><%= t("govuk_component.metadata.from", default: "From") %>:</dt>
|
|
17
|
+
<dd class="gem-c-metadata__definition">
|
|
18
|
+
<%= render 'govuk_publishing_components/components/metadata/sentence', items: from, toggle_id: "from" %>
|
|
19
|
+
</dd>
|
|
20
|
+
<% end %>
|
|
21
|
+
<% if part_of.any? %>
|
|
22
|
+
<dt class="gem-c-metadata__term"><%= t("govuk_component.metadata.part_of", default: "Part of") %>:</dt>
|
|
23
|
+
<dd class="gem-c-metadata__definition">
|
|
24
|
+
<%= render 'govuk_publishing_components/components/metadata/sentence', items: part_of, toggle_id: "part-of" %>
|
|
25
|
+
</dd>
|
|
26
|
+
<% end %>
|
|
27
|
+
<% if local_assigns.include?(:history) %>
|
|
28
|
+
<dt class="gem-c-metadata__term"><%= t("govuk_component.metadata.history", default: "History") %>:</dt>
|
|
29
|
+
<dd class="gem-c-metadata__definition"><%= history %></dd>
|
|
30
|
+
<% end %>
|
|
31
|
+
<% if local_assigns.include?(:first_published) && first_published %>
|
|
32
|
+
<dt class="gem-c-metadata__term"><%= t("govuk_component.metadata.published", default: "Published") %>:</dt>
|
|
33
|
+
<dd class="gem-c-metadata__definition"><%= first_published %></dd>
|
|
34
|
+
<% end %>
|
|
35
|
+
<% if local_assigns.include?(:last_updated) && last_updated %>
|
|
36
|
+
<dt class="gem-c-metadata__term"><%= t("govuk_component.metadata.last_updated", default: "Last updated") %>:</dt>
|
|
37
|
+
<dd class="gem-c-metadata__definition">
|
|
38
|
+
<%= last_updated %><% if local_assigns.include?(:see_updates_link) %>,
|
|
39
|
+
<a href="#history" class="gem-c-metadata__definition-link"
|
|
40
|
+
data-track-category="content-history"
|
|
41
|
+
data-track-action="see-all-updates-link-clicked"
|
|
42
|
+
data-track-label="history">
|
|
43
|
+
<%= t("govuk_component.metadata.see_all_updates", default: "see all updates") %>
|
|
44
|
+
</a>
|
|
45
|
+
<% end %>
|
|
46
|
+
</dd>
|
|
47
|
+
<% end %>
|
|
48
|
+
<% if other.present? %>
|
|
49
|
+
<% other.each_with_index do |(title, definition), index| %>
|
|
50
|
+
<%
|
|
51
|
+
definition ||= []
|
|
52
|
+
definition = Array(definition)
|
|
53
|
+
%>
|
|
54
|
+
<% if definition.any? %>
|
|
55
|
+
<dt class="gem-c-metadata__term"><%= title %>:</dt>
|
|
56
|
+
<dd class="gem-c-metadata__definition">
|
|
57
|
+
<%= render 'govuk_publishing_components/components/metadata/sentence', items: definition, toggle_id: index %>
|
|
58
|
+
</dd>
|
|
59
|
+
<% end %>
|
|
60
|
+
<% end %>
|
|
61
|
+
<% end %>
|
|
62
|
+
</dl>
|
|
63
|
+
</div>
|
|
@@ -8,7 +8,7 @@ body: |
|
|
|
8
8
|
Note: We do not consume GOV.UK Elements directly due to the naming conventions being leaky,
|
|
9
9
|
in time this component will be a wrapper for the [GOV.UK Frontend](https://github.com/alphagov/govuk-frontend) project's button component.
|
|
10
10
|
|
|
11
|
-
This component is also [extended for use in govspeak](https://govuk-
|
|
11
|
+
This component is also [extended for use in govspeak](https://govuk-publishing-components.herokuapp.com/component-guide/govspeak/button).
|
|
12
12
|
|
|
13
13
|
These instances of buttons are added by Content Designers, ideally this duplication would not exist but we currently don't have shared markup
|
|
14
14
|
via our components within the generated [govspeak](https://github.com/alphagov/govspeak).
|
|
@@ -15,7 +15,7 @@ body: |
|
|
|
15
15
|
[preview]: https://govuk-publishing-components.herokuapp.com/contextual-navigation
|
|
16
16
|
[header]: /component-guide/step_by_step_nav_header
|
|
17
17
|
[sidebar]: /component-guide/contextual_sidebar
|
|
18
|
-
[breadcrumbs]: https://govuk-
|
|
18
|
+
[breadcrumbs]: https://govuk-publishing-components.herokuapp.com/component-guide/breadcrumbs
|
|
19
19
|
accessibility_criteria: |
|
|
20
20
|
Components called by this component must be accessible
|
|
21
21
|
examples:
|
|
@@ -16,7 +16,7 @@ body: |
|
|
|
16
16
|
[preview]: https://govuk-publishing-components.herokuapp.com/contextual-navigation
|
|
17
17
|
[step-by-step]: /component-guide/step_by_step_nav
|
|
18
18
|
[related_navigation]: /component-guide/related_navigation
|
|
19
|
-
[taxonomy-sidebar]: https://govuk-
|
|
19
|
+
[taxonomy-sidebar]: https://govuk-publishing-components.herokuapp.com/component-guide/taxonomy_sidebar
|
|
20
20
|
[contextual_breadcrumbs]: /component-guide/contextual_breadcrumbs
|
|
21
21
|
accessibility_criteria: |
|
|
22
22
|
Components called by this component must be accessible
|
|
@@ -18,7 +18,7 @@ examples:
|
|
|
18
18
|
<input type="radio" id="default-no" name="default"t>
|
|
19
19
|
<label for="default-no">No</label>
|
|
20
20
|
with_html_legend:
|
|
21
|
-
description: 'If you only have one fieldset on the page you might want to include the title of the page as the legend text. Used with a [captured](http://api.rubyonrails.org/classes/ActionView/Helpers/CaptureHelper.html#method-i-capture) [title](http://govuk-
|
|
21
|
+
description: 'If you only have one fieldset on the page you might want to include the title of the page as the legend text. Used with a [captured](http://api.rubyonrails.org/classes/ActionView/Helpers/CaptureHelper.html#method-i-capture) [title](http://govuk-publishing-components.herokuapp.com/component-guide/title)'
|
|
22
22
|
data:
|
|
23
23
|
legend_text: |
|
|
24
24
|
<!-- Use the title component, this is hardcoded only for this example -->
|
|
@@ -0,0 +1,337 @@
|
|
|
1
|
+
name: Metadata block
|
|
2
|
+
description: To display relevant metadata about organisations and tags for a document
|
|
3
|
+
accessibility_criteria: |
|
|
4
|
+
The metadata component must:
|
|
5
|
+
|
|
6
|
+
- indicate that any expandable content can be expanded or collapsed
|
|
7
|
+
- indicate the initial state of expandable content
|
|
8
|
+
- indicate where the state of expandable content has changed
|
|
9
|
+
|
|
10
|
+
shared_accessibility_criteria:
|
|
11
|
+
- link
|
|
12
|
+
examples:
|
|
13
|
+
from_only:
|
|
14
|
+
data:
|
|
15
|
+
from: <a href='/government/organisations/ministry-of-defence'>Ministry of Defence</a>
|
|
16
|
+
part_of_only:
|
|
17
|
+
data:
|
|
18
|
+
part_of: <a href='/government/topics/environment'>Environment</a>
|
|
19
|
+
history_only:
|
|
20
|
+
data:
|
|
21
|
+
history: Updated 2 weeks ago
|
|
22
|
+
published_and_updated:
|
|
23
|
+
data:
|
|
24
|
+
first_published: 14 June 2014
|
|
25
|
+
last_updated: 10 September 2015
|
|
26
|
+
updated_with_links_to_see_details:
|
|
27
|
+
data:
|
|
28
|
+
last_updated: 10 September 2015
|
|
29
|
+
see_updates_link: true
|
|
30
|
+
extensive:
|
|
31
|
+
data:
|
|
32
|
+
from:
|
|
33
|
+
- <a href='/government/organisations/ministry-of-defence'>Ministry of Defence</a>
|
|
34
|
+
- <a href='/government/organisations/cabinet-office'>Cabinet Office</a>
|
|
35
|
+
- <a href="/government/organisations/department-for-business-energy-and-industrial-strategy">Department for Business, Energy & Industrial Strategy</a>
|
|
36
|
+
- <a href="/government/organisations/foreign-commonwealth-office">Foreign & Commonwealth Office</a>
|
|
37
|
+
- <a href="/government/people/william-hague">The Rt Hon William Hague</a>
|
|
38
|
+
- <a href="/government/organisations/department-for-environment-food-rural-affairs">Department for Environment, Food & Rural Affairs</a>
|
|
39
|
+
- <a href="/government/organisations/department-for-work-pensions">Department for work and pensions</a>
|
|
40
|
+
- <a href="/government/organisations/foreign-commonwealth-office">Foreign and Commonwealth Office</a>
|
|
41
|
+
history: Updated 2 weeks ago
|
|
42
|
+
part_of:
|
|
43
|
+
- <a href='/government/topics/energy'>Energy</a>
|
|
44
|
+
- <a href='/government/topics/environment'>Environment</a>
|
|
45
|
+
other:
|
|
46
|
+
Related topics:
|
|
47
|
+
- <a href='/government/topics/arts-and-culture'>Arts and culture</a>
|
|
48
|
+
- <a href='/government/topics/sports-and-leisure'>Sports and leisure</a>
|
|
49
|
+
Applies to: England
|
|
50
|
+
extensive_specialist_document:
|
|
51
|
+
data:
|
|
52
|
+
from:
|
|
53
|
+
- <a href="/government/organisations/department-for-business-energy-and-industrial-strategy">Department for Business, Energy & Industrial Strategy</a>
|
|
54
|
+
published:
|
|
55
|
+
other:
|
|
56
|
+
"Type of support":
|
|
57
|
+
- <a href="/business-finance-support?types_of_support%5B%5D=finance">Finance</a>
|
|
58
|
+
- <a href="/business-finance-support?types_of_support%5B%5D=equity">Equity</a>
|
|
59
|
+
- <a href="/business-finance-support?types_of_support%5B%5D=grant">Grant</a>
|
|
60
|
+
- <a href="/business-finance-support?types_of_support%5B%5D=expertise-and-advice">Expertise and advice</a>
|
|
61
|
+
"Business stage":
|
|
62
|
+
- <a href="/business-finance-support?business_stages%5B%5D=not-yet-trading">Not yet trading</a>
|
|
63
|
+
- <a href="/business-finance-support?business_stages%5B%5D=start-up">Start-ups (1-2 years trading)</a>
|
|
64
|
+
- <a href="/business-finance-support?business_stages%5B%5D=established">Established</a>
|
|
65
|
+
"Industry":
|
|
66
|
+
- <a href="/business-finance-support?industries%5B%5D=agriculture-and-food">Agriculture and food</a>
|
|
67
|
+
- <a href="/business-finance-support?industries%5B%5D=business-and-finance">Business and finance</a>
|
|
68
|
+
- <a href="/business-finance-support?industries%5B%5D=construction">Construction</a>
|
|
69
|
+
- <a href="/business-finance-support?industries%5B%5D=education">Education</a>
|
|
70
|
+
- <a href="/business-finance-support?industries%5B%5D=health">Health</a>
|
|
71
|
+
- <a href="/business-finance-support?industries%5B%5D=hospitality-and-catering">Hospitality and catering</a>
|
|
72
|
+
- <a href="/business-finance-support?industries%5B%5D=information-technology-digital-and-creative">IT, digital and creative</a>
|
|
73
|
+
- <a href="/business-finance-support?industries%5B%5D=manufacturing">Manufacturing</a>
|
|
74
|
+
- <a href="/business-finance-support?industries%5B%5D=mining">Mining</a>
|
|
75
|
+
- <a href="/business-finance-support?industries%5B%5D=real-estate-and-property">Real estate and property</a>
|
|
76
|
+
- <a href="/business-finance-support?industries%5B%5D=science-and-technology">Science and technology</a>
|
|
77
|
+
- <a href="/business-finance-support?industries%5B%5D=service-industries">Service industries</a>
|
|
78
|
+
- <a href="/business-finance-support?industries%5B%5D=transport-and-distribution">Transport and distribution</a>
|
|
79
|
+
- <a href="/business-finance-support?industries%5B%5D=travel-and-leisure">Travel and leisure</a>
|
|
80
|
+
- <a href="/business-finance-support?industries%5B%5D=utilities-providers">Utilities providers</a>
|
|
81
|
+
- <a href="/business-finance-support?industries%5B%5D=wholesale-and-retail">Wholesale and retail</a>
|
|
82
|
+
"Number of employees":
|
|
83
|
+
- <a href="/business-finance-support?business_sizes%5B%5D=under-10">0 to 9 employees</a>
|
|
84
|
+
- <a href="/business-finance-support?business_sizes%5B%5D=between-10-and-249">10 to 249 employees</a>
|
|
85
|
+
- <a href="/business-finance-support?business_sizes%5B%5D=between-250-and-500">250 to 500 employees</a>
|
|
86
|
+
- <a href="/business-finance-support?business_sizes%5B%5D=over-500">More than 500 employees</a>
|
|
87
|
+
extensive_country_list:
|
|
88
|
+
data:
|
|
89
|
+
from:
|
|
90
|
+
- <a href="/government/organisations/foreign-commonwealth-office">Foreign & Commonwealth Office</a>
|
|
91
|
+
- <a href="/government/people/william-hague">The Rt Hon William Hague</a>
|
|
92
|
+
part_of:
|
|
93
|
+
- <a href="/government/world/afghanistan">Afghanistan</a>
|
|
94
|
+
- <a href="/government/world/albania">Albania</a>
|
|
95
|
+
- <a href="/government/world/algeria">Algeria</a>
|
|
96
|
+
- <a href="/government/world/angola">Angola</a>
|
|
97
|
+
- <a href="/government/world/anguilla">Anguilla</a>
|
|
98
|
+
- <a href="/government/world/argentina">Argentina</a>
|
|
99
|
+
- <a href="/government/world/armenia">Armenia</a>
|
|
100
|
+
- <a href="/government/world/australia">Australia</a>
|
|
101
|
+
- <a href="/government/world/austria">Austria</a>
|
|
102
|
+
- <a href="/government/world/azerbaijan">Azerbaijan</a>
|
|
103
|
+
- <a href="/government/world/bahrain">Bahrain</a>
|
|
104
|
+
- <a href="/government/world/bangladesh">Bangladesh</a>
|
|
105
|
+
- <a href="/government/world/barbados">Barbados</a>
|
|
106
|
+
- <a href="/government/world/belarus">Belarus</a>
|
|
107
|
+
- <a href="/government/world/belgium">Belgium</a>
|
|
108
|
+
- <a href="/government/world/belize">Belize</a>
|
|
109
|
+
- <a href="/government/world/bolivia">Bolivia</a>
|
|
110
|
+
- <a href="/government/world/bosnia-and-herzegovina">Bosnia and Herzegovina</a>
|
|
111
|
+
- <a href="/government/world/botswana">Botswana</a>
|
|
112
|
+
- <a href="/government/world/brazil">Brazil</a>
|
|
113
|
+
- <a href="/government/world/british-antarctic-territory">British Antarctic Territory</a>
|
|
114
|
+
- <a href="/government/world/british-virgin-islands">British Virgin Islands</a>
|
|
115
|
+
- <a href="/government/world/brunei">Brunei</a>
|
|
116
|
+
- <a href="/government/world/bulgaria">Bulgaria</a>
|
|
117
|
+
- <a href="/government/world/burma">Burma</a>
|
|
118
|
+
- <a href="/government/world/cambodia">Cambodia</a>
|
|
119
|
+
- <a href="/government/world/cameroon">Cameroon</a>
|
|
120
|
+
- <a href="/government/world/canada">Canada</a>
|
|
121
|
+
- <a href="/government/world/cayman-islands">Cayman Islands</a>
|
|
122
|
+
- <a href="/government/world/chile">Chile</a>
|
|
123
|
+
- <a href="/government/world/china">China</a>
|
|
124
|
+
- <a href="/government/world/colombia">Colombia</a>
|
|
125
|
+
- <a href="/government/world/costa-rica">Costa Rica</a>
|
|
126
|
+
- <a href="/government/world/croatia">Croatia</a>
|
|
127
|
+
- <a href="/government/world/cuba">Cuba</a>
|
|
128
|
+
- <a href="/government/world/cyprus">Cyprus</a>
|
|
129
|
+
- <a href="/government/world/czech-republic">Czech Republic</a>
|
|
130
|
+
- <a href="/government/world/democratic-republic-of-congo">Democratic Republic of Congo</a>
|
|
131
|
+
- <a href="/government/world/denmark">Denmark</a>
|
|
132
|
+
- <a href="/government/world/dominican-republic">Dominican Republic</a>
|
|
133
|
+
- <a href="/government/world/ecuador">Ecuador</a>
|
|
134
|
+
- <a href="/government/world/egypt">Egypt</a>
|
|
135
|
+
- <a href="/government/world/eritrea">Eritrea</a>
|
|
136
|
+
- <a href="/government/world/estonia">Estonia</a>
|
|
137
|
+
- <a href="/government/world/ethiopia">Ethiopia</a>
|
|
138
|
+
- <a href="/government/world/fiji">Fiji</a>
|
|
139
|
+
- <a href="/government/world/finland">Finland</a>
|
|
140
|
+
- <a href="/government/world/france">France</a>
|
|
141
|
+
- <a href="/government/world/gambia">Gambia</a>
|
|
142
|
+
- <a href="/government/world/georgia">Georgia</a>
|
|
143
|
+
- <a href="/government/world/germany">Germany</a>
|
|
144
|
+
- <a href="/government/world/ghana">Ghana</a>
|
|
145
|
+
- <a href="/government/world/greece">Greece</a>
|
|
146
|
+
- <a href="/government/world/guatemala">Guatemala</a>
|
|
147
|
+
- <a href="/government/world/guyana">Guyana</a>
|
|
148
|
+
- <a href="/government/world/holy-see">Holy See</a>
|
|
149
|
+
- <a href="/government/world/honduras">Honduras</a>
|
|
150
|
+
- <a href="/government/world/hong-kong">Hong Kong</a>
|
|
151
|
+
- <a href="/government/world/hungary">Hungary</a>
|
|
152
|
+
- <a href="/government/world/iceland">Iceland</a>
|
|
153
|
+
- <a href="/government/world/india">India</a>
|
|
154
|
+
- <a href="/government/world/indonesia">Indonesia</a>
|
|
155
|
+
- <a href="/government/world/iran">Iran</a>
|
|
156
|
+
- <a href="/government/world/iraq">Iraq</a>
|
|
157
|
+
- <a href="/government/world/ireland">Ireland</a>
|
|
158
|
+
- <a href="/government/world/israel">Israel</a>
|
|
159
|
+
- <a href="/government/world/italy">Italy</a>
|
|
160
|
+
- <a href="/government/world/jamaica">Jamaica</a>
|
|
161
|
+
- <a href="/government/world/japan">Japan</a>
|
|
162
|
+
- <a href="/government/world/jordan">Jordan</a>
|
|
163
|
+
- <a href="/government/world/kazakhstan">Kazakhstan</a>
|
|
164
|
+
- <a href="/government/world/kenya">Kenya</a>
|
|
165
|
+
- <a href="/government/world/kosovo">Kosovo</a>
|
|
166
|
+
- <a href="/government/world/kuwait">Kuwait</a>
|
|
167
|
+
- <a href="/government/world/laos">Laos</a>
|
|
168
|
+
- <a href="/government/world/latvia">Latvia</a>
|
|
169
|
+
- <a href="/government/world/lebanon">Lebanon</a>
|
|
170
|
+
- <a href="/government/world/libya">Libya</a>
|
|
171
|
+
- <a href="/government/world/lithuania">Lithuania</a>
|
|
172
|
+
- <a href="/government/world/luxembourg">Luxembourg</a>
|
|
173
|
+
- <a href="/government/world/macedonia">Macedonia</a>
|
|
174
|
+
- <a href="/government/world/madagascar">Madagascar</a>
|
|
175
|
+
- <a href="/government/world/malawi">Malawi</a>
|
|
176
|
+
- <a href="/government/world/malaysia">Malaysia</a>
|
|
177
|
+
- <a href="/government/world/maldives">Maldives</a>
|
|
178
|
+
- <a href="/government/world/mali">Mali</a>
|
|
179
|
+
- <a href="/government/world/malta">Malta</a>
|
|
180
|
+
- <a href="/government/world/mauritius">Mauritius</a>
|
|
181
|
+
- <a href="/government/world/mexico">Mexico</a>
|
|
182
|
+
- <a href="/government/world/moldova">Moldova</a>
|
|
183
|
+
- <a href="/government/world/mongolia">Mongolia</a>
|
|
184
|
+
- <a href="/government/world/montenegro">Montenegro</a>
|
|
185
|
+
- <a href="/government/world/montserrat">Montserrat</a>
|
|
186
|
+
- <a href="/government/world/morocco">Morocco</a>
|
|
187
|
+
- <a href="/government/world/mozambique">Mozambique</a>
|
|
188
|
+
- <a href="/government/world/namibia">Namibia</a>
|
|
189
|
+
- <a href="/government/world/nepal">Nepal</a>
|
|
190
|
+
- <a href="/government/world/netherlands">Netherlands</a>
|
|
191
|
+
- <a href="/government/world/new-zealand">New Zealand</a>
|
|
192
|
+
- <a href="/government/world/nigeria">Nigeria</a>
|
|
193
|
+
- <a href="/government/world/north-korea">North Korea</a>
|
|
194
|
+
- <a href="/government/world/norway">Norway</a>
|
|
195
|
+
- <a href="/government/world/oman">Oman</a>
|
|
196
|
+
- <a href="/government/world/pakistan">Pakistan</a>
|
|
197
|
+
- <a href="/government/world/panama">Panama</a>
|
|
198
|
+
- <a href="/government/world/papua-new-guinea">Papua New Guinea</a>
|
|
199
|
+
- <a href="/government/world/peru">Peru</a>
|
|
200
|
+
- <a href="/government/world/philippines">Philippines</a>
|
|
201
|
+
- <a href="/government/world/poland">Poland</a>
|
|
202
|
+
- <a href="/government/world/portugal">Portugal</a>
|
|
203
|
+
- <a href="/government/world/qatar">Qatar</a>
|
|
204
|
+
- <a href="/government/world/romania">Romania</a>
|
|
205
|
+
- <a href="/government/world/russia">Russia</a>
|
|
206
|
+
- <a href="/government/world/rwanda">Rwanda</a>
|
|
207
|
+
- <a href="/government/world/saudi-arabia">Saudi Arabia</a>
|
|
208
|
+
- <a href="/government/world/senegal">Senegal</a>
|
|
209
|
+
- <a href="/government/world/serbia">Serbia</a>
|
|
210
|
+
- <a href="/government/world/seychelles">Seychelles</a>
|
|
211
|
+
- <a href="/government/world/sierra-leone">Sierra Leone</a>
|
|
212
|
+
- <a href="/government/world/singapore">Singapore</a>
|
|
213
|
+
- <a href="/government/world/slovakia">Slovakia</a>
|
|
214
|
+
- <a href="/government/world/slovenia">Slovenia</a>
|
|
215
|
+
- <a href="/government/world/solomon-islands">Solomon Islands</a>
|
|
216
|
+
- <a href="/government/world/somalia">Somalia</a>
|
|
217
|
+
- <a href="/government/world/south-africa">South Africa</a>
|
|
218
|
+
- <a href="/government/world/south-korea">South Korea</a>
|
|
219
|
+
- <a href="/government/world/south-sudan">South Sudan</a>
|
|
220
|
+
- <a href="/government/world/spain">Spain</a>
|
|
221
|
+
- <a href="/government/world/sri-lanka">Sri Lanka</a>
|
|
222
|
+
- <a href="/government/world/sudan">Sudan</a>
|
|
223
|
+
- <a href="/government/world/sweden">Sweden</a>
|
|
224
|
+
- <a href="/government/world/switzerland">Switzerland</a>
|
|
225
|
+
- <a href="/government/world/syria">Syria</a>
|
|
226
|
+
- <a href="/government/world/taiwan">Taiwan</a>
|
|
227
|
+
- <a href="/government/world/tajikistan">Tajikistan</a>
|
|
228
|
+
- <a href="/government/world/tanzania">Tanzania</a>
|
|
229
|
+
- <a href="/government/world/thailand">Thailand</a>
|
|
230
|
+
- <a href="/government/world/timor-leste">Timor Leste</a>
|
|
231
|
+
- <a href="/government/world/trinidad-and-tobago">Trinidad and Tobago</a>
|
|
232
|
+
- <a href="/government/world/tunisia">Tunisia</a>
|
|
233
|
+
- <a href="/government/world/turkey">Turkey</a>
|
|
234
|
+
- <a href="/government/world/turkmenistan">Turkmenistan</a>
|
|
235
|
+
- <a href="/government/world/turks-and-caicos-islands">Turks and Caicos Islands</a>
|
|
236
|
+
- <a href="/government/world/uganda">Uganda</a>
|
|
237
|
+
- <a href="/government/world/uk-delegation-to-council-of-europe">UK Delegation to Council of Europe</a>
|
|
238
|
+
- <a href="/government/world/uk-delegation-to-organization-for-security-and-co-operation-in-europe">UK Delegation to Organization for Security and Co-operation in Europe</a>
|
|
239
|
+
- <a href="/government/world/uk-joint-delegation-to-nato">UK Joint Delegation to NATO</a>
|
|
240
|
+
- <a href="/government/world/uk-mission-to-the-un-geneva">UK Mission to the UN Geneva</a>
|
|
241
|
+
- <a href="/government/world/uk-mission-to-the-united-nations">UK Mission to the United Nations</a>
|
|
242
|
+
- <a href="/government/world/uk-representation-to-the-eu">UK Representation to the EU</a>
|
|
243
|
+
- <a href="/government/world/ukraine">Ukraine</a>
|
|
244
|
+
- <a href="/government/world/united-arab-emirates">United Arab Emirates</a>
|
|
245
|
+
- <a href="/government/world/uruguay">Uruguay</a>
|
|
246
|
+
- <a href="/government/world/usa">USA</a>
|
|
247
|
+
- <a href="/government/world/uzbekistan">Uzbekistan</a>
|
|
248
|
+
- <a href="/government/world/venezuela">Venezuela</a>
|
|
249
|
+
- <a href="/government/world/zambia">Zambia</a>
|
|
250
|
+
- <a href="/government/world/zimbabwe">Zimbabwe</a>
|
|
251
|
+
- <a href="/government/world/andorra">Andorra</a>
|
|
252
|
+
- <a href="/government/world/antigua-and-barbuda">Antigua and Barbuda</a>
|
|
253
|
+
- <a href="/government/world/bahamas">Bahamas</a>
|
|
254
|
+
- <a href="/government/world/benin">Benin</a>
|
|
255
|
+
- <a href="/government/world/bhutan">Bhutan</a>
|
|
256
|
+
- <a href="/government/world/burkina-faso">Burkina Faso</a>
|
|
257
|
+
- <a href="/government/world/cape-verde">Cape Verde</a>
|
|
258
|
+
- <a href="/government/world/comoros">Comoros</a>
|
|
259
|
+
- <a href="/government/world/congo">Congo</a>
|
|
260
|
+
- <a href="/government/world/cote-d-ivoire">Cote d’Ivoire</a>
|
|
261
|
+
- <a href="/government/world/djibouti">Djibouti</a>
|
|
262
|
+
- <a href="/government/world/dominica">Dominica</a>
|
|
263
|
+
- <a href="/government/world/equatorial-guinea">Equatorial Guinea</a>
|
|
264
|
+
- <a href="/government/world/grenada">Grenada</a>
|
|
265
|
+
- <a href="/government/world/guinea-bissau">Guinea-Bissau</a>
|
|
266
|
+
- <a href="/government/world/haiti">Haiti</a>
|
|
267
|
+
- <a href="/government/world/kiribati">Kiribati</a>
|
|
268
|
+
- <a href="/government/world/lesotho">Lesotho</a>
|
|
269
|
+
- <a href="/government/world/liberia">Liberia</a>
|
|
270
|
+
- <a href="/government/world/liechtenstein">Liechtenstein</a>
|
|
271
|
+
- <a href="/government/world/macao">Macao</a>
|
|
272
|
+
- <a href="/government/world/marshall-islands">Marshall Islands</a>
|
|
273
|
+
- <a href="/government/world/micronesia">Micronesia</a>
|
|
274
|
+
- <a href="/government/world/nauru">Nauru</a>
|
|
275
|
+
- <a href="/government/world/nicaragua">Nicaragua</a>
|
|
276
|
+
- <a href="/government/world/niger">Niger</a>
|
|
277
|
+
- <a href="/government/world/the-occupied-palestinian-territories">The Occupied Palestinian Territories</a>
|
|
278
|
+
- <a href="/government/world/palau">Palau</a>
|
|
279
|
+
- <a href="/government/world/paraguay">Paraguay</a>
|
|
280
|
+
- <a href="/government/world/samoa">Samoa</a>
|
|
281
|
+
- <a href="/government/world/sao-tome-and-principe">São Tomé and Principe</a>
|
|
282
|
+
- <a href="/government/world/st-kitts-and-nevis">St Kitts and Nevis</a>
|
|
283
|
+
- <a href="/government/world/st-vincent-and-the-grenadines">St Vincent and The Grenadines</a>
|
|
284
|
+
- <a href="/government/world/suriname">Suriname</a>
|
|
285
|
+
- <a href="/government/world/swaziland">Swaziland</a>
|
|
286
|
+
- <a href="/government/world/togo">Togo</a>
|
|
287
|
+
- <a href="/government/world/tuvalu">Tuvalu</a>
|
|
288
|
+
- <a href="/government/world/vanuatu">Vanuatu</a>
|
|
289
|
+
- <a href="/government/world/united-kingdom">United Kingdom</a>
|
|
290
|
+
- <a href="/government/world/bermuda">Bermuda</a>
|
|
291
|
+
- <a href="/government/world/burundi">Burundi</a>
|
|
292
|
+
- <a href="/government/world/el-salvador">El Salvador</a>
|
|
293
|
+
- <a href="/government/world/falkland-islands">Falkland Islands</a>
|
|
294
|
+
- <a href="/government/world/guinea">Guinea</a>
|
|
295
|
+
- <a href="/government/world/uk-mission-to-the-united-nations-new-york">UK Mission to the United Nations, New York</a>
|
|
296
|
+
- <a href="/government/world/the-uk-permanent-delegation-to-the-oecd-organisation-for-economic-co-operation-and-development">The UK Permanent Delegation to the OECD (Organisation for Economic Co-operation and Development)</a>
|
|
297
|
+
- <a href="/government/world/st-helena-ascension-and-tristan-da-cunha">St Helena, Ascension and Tristan da Cunha</a>
|
|
298
|
+
- <a href="/government/world/st-lucia">St Lucia</a>
|
|
299
|
+
- <a href="/government/world/kyrgyzstan">Kyrgyzstan</a>
|
|
300
|
+
- <a href="/government/world/pitcairn-island">Pitcairn Island</a>
|
|
301
|
+
- <a href="/government/world/chad">Chad</a>
|
|
302
|
+
- <a href="/government/world/mauritania">Mauritania</a>
|
|
303
|
+
- <a href="/government/world/american-samoa">American Samoa</a>
|
|
304
|
+
- <a href="/government/world/aruba">Aruba</a>
|
|
305
|
+
- <a href="/government/world/bonaire-st-eustatius-saba">Bonaire/St Eustatius/Saba</a>
|
|
306
|
+
- <a href="/government/world/british-indian-ocean-territory">British Indian Ocean Territory</a>
|
|
307
|
+
- <a href="/government/world/central-african-republic">Central African Republic</a>
|
|
308
|
+
- <a href="/government/world/curacao">Curaçao</a>
|
|
309
|
+
- <a href="/government/world/french-guiana">French Guiana</a>
|
|
310
|
+
- <a href="/government/world/french-polynesia">French Polynesia</a>
|
|
311
|
+
- <a href="/government/world/gabon">Gabon</a>
|
|
312
|
+
- <a href="/government/world/gibraltar">Gibraltar</a>
|
|
313
|
+
- <a href="/government/world/guadeloupe">Guadeloupe</a>
|
|
314
|
+
- <a href="/government/world/martinique">Martinique</a>
|
|
315
|
+
- <a href="/government/world/mayotte">Mayotte</a>
|
|
316
|
+
- <a href="/government/world/monaco">Monaco</a>
|
|
317
|
+
- <a href="/government/world/new-caledonia">New Caledonia</a>
|
|
318
|
+
- <a href="/government/world/reunion">Réunion</a>
|
|
319
|
+
- <a href="/government/world/san-marino">San Marino</a>
|
|
320
|
+
- <a href="/government/world/south-georgia-and-south-sandwich-islands">South Georgia and the South Sandwich Islands</a>
|
|
321
|
+
- <a href="/government/world/st-maarten">St Maarten</a>
|
|
322
|
+
- <a href="/government/world/st-pierre-and-miquelon">St Pierre & Miquelon</a>
|
|
323
|
+
- <a href="/government/world/tonga">Tonga</a>
|
|
324
|
+
- <a href="/government/world/wallis-and-futuna">Wallis and Futuna</a>
|
|
325
|
+
first_published: 5 December 2013
|
|
326
|
+
basic_rtl:
|
|
327
|
+
data:
|
|
328
|
+
direction: rtl
|
|
329
|
+
from: <a href='/government/organisations/cabinet-office'>Cabinet Office</a>
|
|
330
|
+
history: Updated 2 weeks ago
|
|
331
|
+
part_of: <a href='/government/topics/environment'>Environment</a>
|
|
332
|
+
external_link:
|
|
333
|
+
data:
|
|
334
|
+
from: <a href='/government/organisations/cabinet-office'>Cabinet Office</a>
|
|
335
|
+
first_published: 14 June 2014
|
|
336
|
+
other:
|
|
337
|
+
Applies to: England, Scotland, and Wales (see detailed guidance for <a href="http://www.dardni.gov.uk/news-dard-pa022-a-13-new-procedure-for" rel="external">Northern Ireland</a>)
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<%
|
|
2
|
+
list_limit = 5
|
|
3
|
+
remaining = []
|
|
4
|
+
if items.length > (list_limit + 2)
|
|
5
|
+
remaining = items[list_limit..items.length]
|
|
6
|
+
items = items[0...list_limit]
|
|
7
|
+
end
|
|
8
|
+
%>
|
|
9
|
+
<% if remaining.any? %>
|
|
10
|
+
<%= items.to_sentence(last_word_connector: ', ').html_safe %>
|
|
11
|
+
<div class="gem-c-metadata__toggle-wrap">
|
|
12
|
+
<a href="#"
|
|
13
|
+
class="gem-c-metadata__definition-link"
|
|
14
|
+
data-controls="toggle-<%= toggle_id %>"
|
|
15
|
+
data-expanded="false"
|
|
16
|
+
data-toggled-text="<%= t("govuk_component.metadata.toggle_less", default: "Show fewer") %>">
|
|
17
|
+
<%= t("govuk_component.metadata.toggle_more", number: remaining.length, default: "+ #{remaining.length} more") %>
|
|
18
|
+
</a>
|
|
19
|
+
</div>
|
|
20
|
+
<span id="toggle-<%= toggle_id %>" class="js-hidden"><%= remaining.to_sentence.html_safe %></span>
|
|
21
|
+
<% else %>
|
|
22
|
+
<%= items.to_sentence.html_safe %>
|
|
23
|
+
<% end %>
|
|
@@ -13,11 +13,6 @@
|
|
|
13
13
|
<%= stylesheet_link_tag "component_guide/application", media: "screen" %>
|
|
14
14
|
<%= stylesheet_link_tag "#{GovukPublishingComponents::Config.application_stylesheet}" %>
|
|
15
15
|
|
|
16
|
-
<% if GovukPublishingComponents::Config.static %>
|
|
17
|
-
<%= stylesheet_link_tag "component_guide/all_components", media: "screen" %>
|
|
18
|
-
<%= stylesheet_link_tag "component_guide/all_components_print", media: "print" %>
|
|
19
|
-
<% end %>
|
|
20
|
-
|
|
21
16
|
<% if GovukPublishingComponents::Config.application_print_stylesheet %>
|
|
22
17
|
<%= stylesheet_link_tag "#{GovukPublishingComponents::Config.application_print_stylesheet}", media: "print" %>
|
|
23
18
|
<% end %>
|
|
@@ -6,10 +6,8 @@ module GovukPublishingComponents
|
|
|
6
6
|
source_root File.expand_path('../templates', __FILE__)
|
|
7
7
|
|
|
8
8
|
def copy_component_files
|
|
9
|
-
static = GovukPublishingComponents::Config.static
|
|
10
|
-
|
|
11
9
|
@public_name = file_name.dasherize
|
|
12
|
-
@component_prefix =
|
|
10
|
+
@component_prefix = 'app-c-'
|
|
13
11
|
component_directory_name = GovukPublishingComponents::Config.component_directory_name
|
|
14
12
|
|
|
15
13
|
template_dir = "app/views/#{component_directory_name}/"
|
|
@@ -20,14 +18,8 @@ module GovukPublishingComponents
|
|
|
20
18
|
create_directory_if_not_exists(docs_dir)
|
|
21
19
|
create_directory_if_not_exists(scss_dir)
|
|
22
20
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
template 'component.yml.erb', "#{docs_dir}#{@public_name.underscore}.yml"
|
|
26
|
-
else
|
|
27
|
-
template '_component.html.erb', "#{template_dir}_#{@public_name}.html.erb"
|
|
28
|
-
template 'component.yml.erb', "#{docs_dir}#{@public_name}.yml"
|
|
29
|
-
end
|
|
30
|
-
|
|
21
|
+
template '_component.html.erb', "#{template_dir}_#{@public_name}.html.erb"
|
|
22
|
+
template 'component.yml.erb', "#{docs_dir}#{@public_name}.yml"
|
|
31
23
|
template '_component.scss', "#{scss_dir}_#{@public_name}.scss"
|
|
32
24
|
end
|
|
33
25
|
|
|
@@ -4,7 +4,6 @@ module GovukPublishingComponents
|
|
|
4
4
|
end
|
|
5
5
|
|
|
6
6
|
module Config
|
|
7
|
-
STATIC_COMPONENT_DIRECTORY = "govuk_component".freeze
|
|
8
7
|
APP_COMPONENT_DIRECTORY = "components".freeze
|
|
9
8
|
|
|
10
9
|
mattr_accessor :component_guide_title
|
|
@@ -19,11 +18,8 @@ module GovukPublishingComponents
|
|
|
19
18
|
mattr_accessor :application_javascript
|
|
20
19
|
self.application_javascript = "application"
|
|
21
20
|
|
|
22
|
-
mattr_accessor :static
|
|
23
|
-
self.static = false
|
|
24
|
-
|
|
25
21
|
def self.component_directory_name
|
|
26
|
-
|
|
22
|
+
APP_COMPONENT_DIRECTORY
|
|
27
23
|
end
|
|
28
24
|
|
|
29
25
|
def self.gem_directory
|
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.
|
|
4
|
+
version: 9.3.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-06-
|
|
11
|
+
date: 2018-06-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: govuk_app_config
|
|
@@ -325,8 +325,6 @@ files:
|
|
|
325
325
|
- app/assets/javascripts/govuk_publishing_components/lib/history-support.js
|
|
326
326
|
- app/assets/javascripts/govuk_publishing_components/lib/toggle-input-class-on-focus.js
|
|
327
327
|
- app/assets/javascripts/govuk_publishing_components/lib/toggle.js
|
|
328
|
-
- app/assets/stylesheets/component_guide/all_components.scss
|
|
329
|
-
- app/assets/stylesheets/component_guide/all_components_print.scss
|
|
330
328
|
- app/assets/stylesheets/component_guide/application.scss
|
|
331
329
|
- app/assets/stylesheets/govuk_publishing_components/_all_components.scss
|
|
332
330
|
- app/assets/stylesheets/govuk_publishing_components/_all_components_print.scss
|
|
@@ -346,6 +344,7 @@ files:
|
|
|
346
344
|
- app/assets/stylesheets/govuk_publishing_components/components/_inverse-header.scss
|
|
347
345
|
- app/assets/stylesheets/govuk_publishing_components/components/_label.scss
|
|
348
346
|
- app/assets/stylesheets/govuk_publishing_components/components/_lead-paragraph.scss
|
|
347
|
+
- app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss
|
|
349
348
|
- app/assets/stylesheets/govuk_publishing_components/components/_notice.scss
|
|
350
349
|
- app/assets/stylesheets/govuk_publishing_components/components/_organisation-logo.scss
|
|
351
350
|
- app/assets/stylesheets/govuk_publishing_components/components/_phase-banner.scss
|
|
@@ -437,6 +436,7 @@ files:
|
|
|
437
436
|
- app/views/govuk_publishing_components/components/_lead_paragraph.html.erb
|
|
438
437
|
- app/views/govuk_publishing_components/components/_machine_readable_metadata.html.erb
|
|
439
438
|
- app/views/govuk_publishing_components/components/_meta_tags.html.erb
|
|
439
|
+
- app/views/govuk_publishing_components/components/_metadata.html.erb
|
|
440
440
|
- app/views/govuk_publishing_components/components/_notice.html.erb
|
|
441
441
|
- app/views/govuk_publishing_components/components/_organisation_logo.html.erb
|
|
442
442
|
- app/views/govuk_publishing_components/components/_phase_banner.html.erb
|
|
@@ -474,6 +474,7 @@ files:
|
|
|
474
474
|
- app/views/govuk_publishing_components/components/docs/lead_paragraph.yml
|
|
475
475
|
- app/views/govuk_publishing_components/components/docs/machine_readable_metadata.yml
|
|
476
476
|
- app/views/govuk_publishing_components/components/docs/meta_tags.yml
|
|
477
|
+
- app/views/govuk_publishing_components/components/docs/metadata.yml
|
|
477
478
|
- app/views/govuk_publishing_components/components/docs/notice.yml
|
|
478
479
|
- app/views/govuk_publishing_components/components/docs/organisation_logo.yml
|
|
479
480
|
- app/views/govuk_publishing_components/components/docs/phase_banner.yml
|
|
@@ -490,6 +491,7 @@ files:
|
|
|
490
491
|
- app/views/govuk_publishing_components/components/docs/taxonomy_navigation.yml
|
|
491
492
|
- app/views/govuk_publishing_components/components/docs/title.yml
|
|
492
493
|
- app/views/govuk_publishing_components/components/docs/translation-nav.yml
|
|
494
|
+
- app/views/govuk_publishing_components/components/metadata/_sentence.html.erb
|
|
493
495
|
- app/views/govuk_publishing_components/components/related_navigation/_section.html.erb
|
|
494
496
|
- app/views/layouts/govuk_publishing_components/application.html.erb
|
|
495
497
|
- config/initializers/assets.rb
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@import "../govuk_publishing_components/all_components";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@import "../govuk_publishing_components/all_components_print";
|