govuk_publishing_components 1.3.0 → 1.4.0
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/application.scss +4 -0
- data/app/models/govuk_publishing_components/component_example.rb +4 -0
- data/app/views/govuk_publishing_components/component_guide/component_doc/_component.html.erb +1 -0
- data/lib/govuk_publishing_components/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3bf7c83ba871dac918b4575c950fe9e3cf5a7c18
|
4
|
+
data.tar.gz: 294464f79312ccfaedb8020d2cd8d907114b893a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13834fb4b5486b727623fbe6fb30cd26439582c686f435525bbfe37703c3cde73f345660df1456ed1f6d408c8c8be3ffe27a3cdf95cbae36c238c042dec0da1b
|
7
|
+
data.tar.gz: 36e1e45b459dc88dfafedd4ca0dddb6f4bd5881d2ccb7d035f4a052f9083ab8b3c8ce31a76490f65c71a8f578ee4bd611244a9cd0cdc1668f03deb7cff02563d
|
data/app/views/govuk_publishing_components/component_guide/component_doc/_component.html.erb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
<div class="component-guide-preview
|
2
2
|
<% if example.right_to_left? %>direction-rtl<% end %>
|
3
|
+
<% if example.dark_background? %>dark-background<% end %>
|
3
4
|
<% if preview_page %>component-guide-preview--simple<% end %>" data-content="EXAMPLE">
|
4
5
|
<%= render component_doc.partial_path, example.html_safe_data %>
|
5
6
|
</div>
|
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: 1.
|
4
|
+
version: 1.4.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: 2017-09-
|
11
|
+
date: 2017-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|