govuk-components 0.7.0 → 0.8.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: 90eede10baca630edcdc6999469783ab08332a02d7c03e7ca6b27bef6fb8e328
4
- data.tar.gz: bfb02cc50490be25acd650a28e2deda67841c5719901db3869919c4d08ac2337
3
+ metadata.gz: 8778178d28b737c89fedbcaf30738c77c33f38a4826ea907327b80c38f33a434
4
+ data.tar.gz: 356e6a1bdfbeec1f3d602707e8773f500d86bad394ab6ebef6f79a58b42bc8b2
5
5
  SHA512:
6
- metadata.gz: bc3c98d97c246ee149dc10856a90214db31951b0d2184b16de886fa62704e9aa32d0e81df90bbc5cbb9763e19120f1be8697d773fcde996a60da17d1615f612e
7
- data.tar.gz: 4a86ca1483dc684ce18163abe7b5ff1b13a22383b3b77fb17e57251ab4d03e77553c83c0a3443378e353203a843d1a675088a867e481fad0e0357e57310eb8ae
6
+ metadata.gz: 7d36cf6f689c2c5890bd7ef3f63c71214f111400637fb72578dc42f6bfb1aa253658ab46fe8737c1c8e96d363e57d871a6cacc998761dc907c76ebdf7214bc8b
7
+ data.tar.gz: 3d5365cf1fa97c3aa62ebed22c90d87a309f9a080f44b9839f24e3face33fd056a47194102754e8ddc857fbb24b58971acf88f9d323db5c64d056daf254c85dc
@@ -3,6 +3,7 @@ class GovukComponent::NotificationBanner < GovukComponent::Base
3
3
 
4
4
  include ViewComponent::Slotable
5
5
  with_slot :heading, collection: true, class_name: 'Heading'
6
+ wrap_slot(:heading)
6
7
 
7
8
  def initialize(title:, success: false, title_heading_level: 2, title_id: "govuk-notification-banner-title", disable_auto_focus: nil, classes: [], html_attributes: {})
8
9
  super(classes: classes, html_attributes: html_attributes)
@@ -1,5 +1,5 @@
1
1
  module Govuk
2
2
  module Components
3
- VERSION = '0.7.0'
3
+ VERSION = '0.8.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk-components
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - DfE developers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-08 00:00:00.000000000 Z
11
+ date: 2020-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails