govuk_publishing_components 45.10.0 → 46.0.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: e3c082aaa4feaa6d8a0db9a06b6363df3e7f66d4ab725a086ae451b2642ff2da
4
- data.tar.gz: ac59758ae4497c6e14ba6c276f593848efc6290e0db0a9bf3a0f9d072dd9599f
3
+ metadata.gz: ba6618b411d78aa56cf9abaff10626fd71d4f213b1cdcaeddfafc1d2f77984d2
4
+ data.tar.gz: b617f868fad8afb6f02497ac19c276fe1150f0e3f6037d2fde4b4b67dd5fa8e9
5
5
  SHA512:
6
- metadata.gz: 96a02d46ad488ed76b391453cf69392f60405e62658edb1bb5daf91a4ec6f6b97e61b32e3913050d12ca16305f7f40f0a11e1c6009be945541ecf068036fa65b
7
- data.tar.gz: 2996cfb57f6430ee42e873d6425f455423c5509c352064a5f95ff876919e96c40689d479c4ec85f1e4349be9cf7027d8275910e1c9d5e28bef191d7ccc688fd0
6
+ metadata.gz: ea7037c2089b2d7bb288866930dee22f52780aeb0a19c953e1d1003d3092c8d785b4ec8c1570031c9a410216c257300e55f07d61e813567f1fb6de8041796844
7
+ data.tar.gz: 8f5d89fca3b5e18852e09ecb3437fcaa20da070a77b7bcdcdba355cb6e08ad3f622c24adc448a24f455279e3d481e14d005d3b2342c19b337619bbce173c0e48
@@ -10,7 +10,6 @@
10
10
  heading_size = false unless shared_helper.valid_heading_size?(heading_size)
11
11
  error_message ||= nil
12
12
  error_id ||= nil
13
- id ||= nil
14
13
 
15
14
  if error_message
16
15
  error_id = "error-#{SecureRandom.hex(4)}" unless error_id
@@ -27,7 +26,7 @@
27
26
  legend_classes << "govuk-fieldset__legend--#{heading_size}" if heading_size
28
27
  %>
29
28
  <%= tag.div(**component_helper.all_attributes) do %>
30
- <%= tag.fieldset class: fieldset_classes, aria: { describedby: describedby }, role: role, id: id do %>
29
+ <%= tag.fieldset class: fieldset_classes, aria: { describedby: describedby }, role: role do %>
31
30
  <% if heading_level %>
32
31
  <%= tag.legend class: legend_classes do %>
33
32
  <%= content_tag(
@@ -6,6 +6,7 @@ body: |
6
6
  You can use the `text` property or pass `text` as a block.
7
7
  accessibility_criteria: |
8
8
  - must give inputs within the fieldset context with legend text
9
+ uses_component_wrapper_helper: true
9
10
  examples:
10
11
  default:
11
12
  data:
@@ -1,3 +1,3 @@
1
1
  module GovukPublishingComponents
2
- VERSION = "45.10.0".freeze
2
+ VERSION = "46.0.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: 45.10.0
4
+ version: 46.0.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: 2024-11-28 00:00:00.000000000 Z
11
+ date: 2024-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chartkick