govuk-components 2.0.0rc1 → 2.0.0rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/components/govuk_component/cookie_banner_component/message_component.rb +5 -4
- data/app/components/govuk_component/summary_list_component/row_component.rb +1 -1
- data/app/components/govuk_component/summary_list_component/value_component.rb +1 -1
- data/lib/govuk/components/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9edec9359b5c0de9625e624d8287300e31870ff711796dc930fb344543ed926a
|
4
|
+
data.tar.gz: 29acdd36e71f45b69af12d291466e360bfc4bbc77db3ac48f57469d66912e3dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 146d5279be3e72e4164a0bbf81fa91c1262cfa88c61b28ef0be7dd1e7ccadb486ee998c1e33e6268868834019aa2c4dda0ace1adab701a34c77996db91ab3f0e
|
7
|
+
data.tar.gz: ab5f09b50cf6d80b776c0d2aff7824f85ad788b95c2d3f3b7e19bd998884ccb2cbe4ceb98e2eeff25619b6c5f251f156c8dc31cd2b41fd7d8b50b2ab872449c4
|
@@ -16,9 +16,10 @@ class GovukComponent::CookieBannerComponent::MessageComponent < GovukComponent::
|
|
16
16
|
def call
|
17
17
|
tag.div(class: classes, role: role, hidden: hidden, **html_attributes) do
|
18
18
|
tag.div(class: "govuk-grid-row") do
|
19
|
-
|
20
|
-
safe_join([heading_element, message_element
|
21
|
-
|
19
|
+
safe_join([
|
20
|
+
tag.div(class: "govuk-grid-column-two-thirds") { safe_join([heading_element, message_element]) },
|
21
|
+
actions_element
|
22
|
+
])
|
22
23
|
end
|
23
24
|
end
|
24
25
|
end
|
@@ -30,7 +31,7 @@ private
|
|
30
31
|
end
|
31
32
|
|
32
33
|
def heading_element
|
33
|
-
tag.h2(heading_content, class:
|
34
|
+
tag.h2(heading_content, class: %w(govuk-cookie-banner__heading govuk-heading-m))
|
34
35
|
end
|
35
36
|
|
36
37
|
def heading_content
|
@@ -1,5 +1,5 @@
|
|
1
1
|
class GovukComponent::SummaryListComponent::RowComponent < GovukComponent::Base
|
2
|
-
attr_reader :href, :
|
2
|
+
attr_reader :href, :visually_hidden_text
|
3
3
|
|
4
4
|
renders_one :key, GovukComponent::SummaryListComponent::KeyComponent
|
5
5
|
renders_one :value, GovukComponent::SummaryListComponent::ValueComponent
|
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: 2.0.
|
4
|
+
version: 2.0.0rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DfE developers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-08-
|
11
|
+
date: 2021-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 2.
|
47
|
+
version: 2.36.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 2.
|
54
|
+
version: 2.36.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: pry-byebug
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|