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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8778178d28b737c89fedbcaf30738c77c33f38a4826ea907327b80c38f33a434
|
4
|
+
data.tar.gz: 356e6a1bdfbeec1f3d602707e8773f500d86bad394ab6ebef6f79a58b42bc8b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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)
|
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.
|
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-
|
11
|
+
date: 2020-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|