playbook_ui 14.25.0.pre.alpha.PLAY2426textfieldaccessibility9859 → 14.25.0.pre.alpha.PLAY2450iconbuttonaccessibility10050

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.
@@ -6,7 +6,7 @@ module Playbook
6
6
  class FormFieldBuilder < Module
7
7
  def initialize(method_name, kit_name:)
8
8
  define_method method_name do |name, props: {}, **options, &block|
9
- props = props.dup
9
+ props[:label] = @template.label(@object_name, name) if props[:label] == true
10
10
  options = Hash(options)
11
11
 
12
12
  options[:skip_default_ids] = false unless options.key?(:skip_default_ids)
@@ -21,14 +21,6 @@ module Playbook
21
21
 
22
22
  input = super(name, **options, &block)
23
23
 
24
- input_id = input[/\bid="([^"]+)"/, 1] || "#{@object_name}_#{name}"
25
-
26
- if props[:label] == true
27
- props[:label] = @template.label(@object_name, name)
28
- elsif props[:label].is_a?(String)
29
- props[:label] = @template.label_tag(input_id, props[:label])
30
- end
31
-
32
24
  @template.pb_rails(kit_name, props: props) do
33
25
  input
34
26
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Playbook
4
4
  PREVIOUS_VERSION = "14.25.0"
5
- VERSION = "14.25.0.pre.alpha.PLAY2426textfieldaccessibility9859"
5
+ VERSION = "14.25.0.pre.alpha.PLAY2450iconbuttonaccessibility10050"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playbook_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 14.25.0.pre.alpha.PLAY2426textfieldaccessibility9859
4
+ version: 14.25.0.pre.alpha.PLAY2450iconbuttonaccessibility10050
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2025-08-25 00:00:00.000000000 Z
12
+ date: 2025-08-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -972,6 +972,7 @@ files:
972
972
  - app/pb_kits/playbook/pb_date/_date.tsx
973
973
  - app/pb_kits/playbook/pb_date/date.html.erb
974
974
  - app/pb_kits/playbook/pb_date/date.rb
975
+ - app/pb_kits/playbook/pb_date/date.test.js
975
976
  - app/pb_kits/playbook/pb_date/docs/_date_alignment.html.erb
976
977
  - app/pb_kits/playbook/pb_date/docs/_date_alignment.jsx
977
978
  - app/pb_kits/playbook/pb_date/docs/_date_alignment_swift.md
@@ -3650,7 +3651,7 @@ files:
3650
3651
  - app/pb_kits/playbook/utilities/validEmojiChecker.ts
3651
3652
  - dist/chunks/_line_graph-CiVc-Cod.js
3652
3653
  - dist/chunks/_typeahead-BQnvz-Ks.js
3653
- - dist/chunks/_weekday_stacked-CX4YxAHz.js
3654
+ - dist/chunks/_weekday_stacked-Y46PHsPW.js
3654
3655
  - dist/chunks/lazysizes-B7xYodB-.js
3655
3656
  - dist/chunks/lib-CY5ZPzic.js
3656
3657
  - dist/chunks/pb_form_validation-D3b0JKHH.js