govuk_publishing_components 9.9.1 → 9.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 925b6c1580fe9b960e90984e5e4a50995fe322cd323506a7f2fd8becdb60e23b
4
- data.tar.gz: 43cd17771a0adb23d4e4726f14afb90a24ad753b28a342cb7c3aad1725d9aef7
3
+ metadata.gz: 6f01f7935c466b9be9bf558687ed73647b5f5f4342f60dee61fb6e8970e4307d
4
+ data.tar.gz: 05ae304988442c6c4abebf89afd8eb0b444e59beb4dac9a8bb2e94b624a6b265
5
5
  SHA512:
6
- metadata.gz: 430cbf6a5cd566061cbfddc769d1e09551f9c7b94690a6447768ed949ee77501184efaf538098e310e17950fe8cb7022d8ae76e5e1ba491a36ac086721692c99
7
- data.tar.gz: 5e5ada0b54ea7cbee6cffce21a560a5fccacdd223332c6f2ad28ac567b8ccfccd5d3616cb3ce0c34dc733a31f1c90c65ac37d8432284662e2674ccae2473e838
6
+ metadata.gz: 9770ac9a1420f0d74aa990a711d619e775d4ad3028e3b088b33b1db4db2575cc19680b5c42ed7a7993a4a2033beb327ea5195c3cc09d17d0dab6484c249279c1
7
+ data.tar.gz: df00c0b87c629cc4176d35649b069bdcbca2c39be8a96836794441c4f4ebc7519d65955bba02f1b6721fa5ddd814d32de79b3daf29c25b0cabac99c8c2856973
@@ -186,18 +186,6 @@
186
186
 
187
187
  // Text styles
188
188
 
189
- strong {
190
- font-weight: 400;
191
- }
192
-
193
- // rich-govspeak is a modifier for the govspeak component
194
- // that allows bold text. Used by the highway code manual.
195
- &.rich-govspeak {
196
- strong {
197
- font-weight: bold;
198
- }
199
- }
200
-
201
189
  em,
202
190
  i {
203
191
  font-style: normal;
@@ -1,11 +1,9 @@
1
1
  <%
2
2
  direction_class = "direction-#{direction}" if local_assigns.include?(:direction)
3
- rich_govspeak = local_assigns.fetch(:rich_govspeak) if local_assigns.include?(:rich_govspeak)
4
3
  disable_youtube_expansions = local_assigns.fetch(:disable_youtube_expansions) if local_assigns.include?(:disable_youtube_expansions)
5
4
 
6
5
  classes = []
7
6
  classes << direction_class if direction_class
8
- classes << "rich-govspeak" if rich_govspeak
9
7
  classes << "disable-youtube" if disable_youtube_expansions
10
8
  %>
11
9
 
@@ -2,7 +2,6 @@
2
2
  govspeak_locals = {}
3
3
  govspeak_locals[:content] = local_assigns.fetch(:content) if local_assigns.include?(:content)
4
4
  govspeak_locals[:direction] = local_assigns.fetch(:direction) if local_assigns.include?(:direction)
5
- govspeak_locals[:rich_govspeak] = local_assigns.fetch(:rich_govspeak) if local_assigns.include?(:rich_govspeak)
6
5
  govspeak_locals[:disable_youtube_expansions] = local_assigns.fetch(:disable_youtube_expansions) if local_assigns.include?(:disable_youtube_expansions)
7
6
  %>
8
7
  <div class="gem-c-govspeak-html-publication">
@@ -283,11 +283,6 @@ examples:
283
283
  data:
284
284
  block: |
285
285
  <p>This content has <strong>text in strong tags</strong>, but they are not styled as bold</p>
286
- with_rich_govspeak:
287
- data:
288
- rich_govspeak: true
289
- block: |
290
- <p>This content uses rich govspeak and has <strong>text in strong tags</strong> that are styled as bold</p>
291
286
  with_youtube_embed:
292
287
  data:
293
288
  block: |
@@ -1,3 +1,3 @@
1
1
  module GovukPublishingComponents
2
- VERSION = '9.9.1'.freeze
2
+ VERSION = '9.10.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: 9.9.1
4
+ version: 9.10.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-08-06 00:00:00.000000000 Z
11
+ date: 2018-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: govuk_app_config