govuk_design_system_formbuilder 6.3.0 → 6.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dfdf0864ed3515a6d8288ba92293650d4430b91f9cf1e72663d2b813c6576ba6
4
- data.tar.gz: 640b2dc86d4d105734f069c16c80ed5fc9f777935ff1c2e10333d7c9d9807c57
3
+ metadata.gz: 630a9d4d9a938e084e977d7a538621b94c0e1a65622a1055223b746510698893
4
+ data.tar.gz: c284ee18297c356f5051952f79a8f8b1eaf3a4b9c189a936f62f270280dfa2d2
5
5
  SHA512:
6
- metadata.gz: ea11dba93d248dcd5a767fb22def76b7d25d95a117d4091c58a5c6110c761167d38094b4e2a460f88ec98767a9e64948ff65a5d990d2b2d48063d35cc51c7bb5
7
- data.tar.gz: 32ea4ccb138206c492aa2e484baf58bd7c6be8769cb4dee660126a6a616027540b658812032bd9957bd08fbfb7f955138019f45abad5747ecdf9734866466c39
6
+ metadata.gz: 23fca31ffd58c4a0913ffc06e838fc248d2b74db900149e02a50a0c20bf975cab4087a1f8519d1f815ddaba63f5418ea18a9bee3f0fba2280abf0b68c16f2ca2
7
+ data.tar.gz: b240b075033a4f736041324cd3b6c3c6a901e1163e10986bc6b76151cb0ca668e98ba66f604029f8c556c5ed58af3f911a3623150dc08b6fb2869281f33c0b67
data/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
  [![Gem version](https://badge.fury.io/rb/govuk_design_system_formbuilder.svg)](https://badge.fury.io/rb/govuk_design_system_formbuilder)
5
5
  [![Gem](https://img.shields.io/gem/dt/govuk_design_system_formbuilder?logo=rubygems)](https://rubygems.org/gems/govuk_design_system_formbuilder)
6
6
  ![GitHub license](https://img.shields.io/github/license/x-govuk/govuk-form-builder)
7
- [![GOV.UK Design System version](https://img.shields.io/badge/GOV.UK%20Design%20System-6.3.0-brightgreen)](https://design-system.service.gov.uk)
7
+ [![GOV.UK Design System version](https://img.shields.io/badge/GOV.UK%20Design%20System-6.4.0-brightgreen)](https://design-system.service.gov.uk)
8
8
  [![Rails](https://img.shields.io/badge/Rails-7.2.3%20%E2%95%B1%208.0.1%20%E2%95%B1%208.1.2-E16D6D)](https://weblog.rubyonrails.org/releases/)
9
9
  [![Ruby](https://img.shields.io/badge/Ruby-3.2.10%20%20%E2%95%B1%203.4.8%20%20%E2%95%B1%204.0.1-E16D6D)](https://www.ruby-lang.org/en/downloads/)
10
10
 
@@ -329,7 +329,7 @@ module GOVUKDesignSystemFormBuilder
329
329
  label: {},
330
330
  caption: {},
331
331
  form_group: {},
332
- show_password_text: nil,
332
+ show_password_text: config.default_show_password_text,
333
333
  hide_password_text: nil,
334
334
  show_password_aria_label_text: nil,
335
335
  hide_password_aria_label_text: nil,
@@ -51,7 +51,7 @@ module GOVUKDesignSystemFormBuilder
51
51
  end
52
52
 
53
53
  def file_with_javascript_markup
54
- tag.div(class: "#{brand}-drop-zone", data: { module: "#{brand}-file-upload" }, **i18n_data) { file }
54
+ tag.div(class: "#{brand}-file-upload-wrapper", data: { module: "#{brand}-file-upload" }, **i18n_data) { file }
55
55
  end
56
56
 
57
57
  def options
@@ -68,7 +68,7 @@ module GOVUKDesignSystemFormBuilder
68
68
  end
69
69
 
70
70
  def classes
71
- build_classes('input', 'password-input__input', 'js-password-input-input', %(password-input--error) => has_errors?).prefix(brand)
71
+ build_classes('input', 'password-input__input', 'js-password-input-input', %(input--error) => has_errors?).prefix(brand)
72
72
  end
73
73
 
74
74
  def wrapper_classes
@@ -1,3 +1,3 @@
1
1
  module GOVUKDesignSystemFormBuilder
2
- VERSION = '6.3.0'.freeze
2
+ VERSION = '6.4.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_design_system_formbuilder
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.3.0
4
+ version: 6.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Yates
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-06-30 00:00:00.000000000 Z
11
+ date: 2026-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: html-attributes-utils