govuk_publishing_components 1.4.0 → 1.5.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3bf7c83ba871dac918b4575c950fe9e3cf5a7c18
4
- data.tar.gz: 294464f79312ccfaedb8020d2cd8d907114b893a
3
+ metadata.gz: b207862254886d7f7566147383b4e909b81d06d7
4
+ data.tar.gz: 0da7dab36dedf0afd7963641485212187c81b5b0
5
5
  SHA512:
6
- metadata.gz: 13834fb4b5486b727623fbe6fb30cd26439582c686f435525bbfe37703c3cde73f345660df1456ed1f6d408c8c8be3ffe27a3cdf95cbae36c238c042dec0da1b
7
- data.tar.gz: 36e1e45b459dc88dfafedd4ca0dddb6f4bd5881d2ccb7d035f4a052f9083ab8b3c8ce31a76490f65c71a8f578ee4bd611244a9cd0cdc1668f03deb7cff02563d
6
+ metadata.gz: e3a8ace879c8f22e51142f55eac134aa7d0f4dd93f5b1fcdb5acdf159339c55405fe2a204ec87c468314f3ece7d035ce005ea579566d12a21885f83a53fdbd07
7
+ data.tar.gz: 5964cab14635b8df4d6e58adb23ab1d542c6c05e4333991231d06de1e919ee17742efa9a303fd60491def7dd5d5c017327638d2962bb17cb19cedea9d3804fea
@@ -12,6 +12,8 @@ $border-color: #ccc;
12
12
  }
13
13
 
14
14
  .component-list {
15
+ margin-left: 20px;
16
+
15
17
  li {
16
18
  @include core-19;
17
19
  margin-bottom: $gutter-half;
@@ -1,5 +1,17 @@
1
1
  <%= render 'govuk_component/title', title: GovukPublishingComponents::Config.component_guide_title %>
2
2
 
3
+ <div class="govuk-govspeak">
4
+ <p>Components are packages of template, style, behaviour and documentation that live in your application.</p>
5
+ <p>A component must:</p>
6
+ <ul>
7
+ <li><a href="https://github.com/alphagov/govuk_publishing_components/blob/master/docs/component_principles.md">meet the component principles</a></li>
8
+ <li><a href="https://github.com/alphagov/govuk_publishing_components/blob/master/docs/component_conventions.md">follow component conventions</a></li>
9
+ </ul>
10
+ <p>See the <a href="https://github.com/alphagov/govuk_publishing_components">govuk_publishing_components gem</a> for further details, or <a href="https://docs.publishing.service.gov.uk/manual/components.html#component-guides">a list of all component guides</a>.</p>
11
+ </div>
12
+
13
+ <h2 class="component-doc-h2">Components</h2>
14
+
3
15
  <ul class="component-list">
4
16
  <% @component_docs.each do |component_doc| %>
5
17
  <li>
@@ -1,3 +1,3 @@
1
1
  module GovukPublishingComponents
2
- VERSION = '1.4.0'.freeze
2
+ VERSION = '1.5.0'.freeze
3
3
  end
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.0
4
+ version: 1.5.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-06 00:00:00.000000000 Z
11
+ date: 2017-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails