playbook_ui 14.25.0.pre.alpha.PLAY2426textfieldaccessibility9859 → 14.25.0.pre.alpha.play1986inlineloadingsolidvariant9963
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 +4 -4
- data/app/pb_kits/playbook/pb_date/date.test.js +506 -0
- data/app/pb_kits/playbook/pb_form/docs/_form_form_with.html.erb +0 -1
- data/app/pb_kits/playbook/pb_loading_inline/_loading_inline.tsx +3 -1
- data/app/pb_kits/playbook/pb_loading_inline/docs/_loading_inline_variant.html.erb +5 -0
- data/app/pb_kits/playbook/pb_loading_inline/docs/_loading_inline_variant.jsx +24 -0
- data/app/pb_kits/playbook/pb_loading_inline/docs/example.yml +2 -0
- data/app/pb_kits/playbook/pb_loading_inline/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_loading_inline/loading_inline.html.erb +1 -1
- data/app/pb_kits/playbook/pb_loading_inline/loading_inline.rb +11 -0
- data/dist/chunks/{_weekday_stacked-CX4YxAHz.js → _weekday_stacked-BkvHv3ZO.js} +1 -1
- data/dist/chunks/vendor.js +1 -1
- data/dist/playbook-doc.js +1 -1
- data/lib/playbook/forms/builder/form_field_builder.rb +1 -9
- data/lib/playbook/version.rb +1 -1
- metadata +6 -3
@@ -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
|
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
|
data/lib/playbook/version.rb
CHANGED
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.
|
4
|
+
version: 14.25.0.pre.alpha.play1986inlineloadingsolidvariant9963
|
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-
|
12
|
+
date: 2025-08-27 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
|
@@ -2119,6 +2120,8 @@ files:
|
|
2119
2120
|
- app/pb_kits/playbook/pb_loading_inline/docs/_loading_inline_custom.jsx
|
2120
2121
|
- app/pb_kits/playbook/pb_loading_inline/docs/_loading_inline_default.html.erb
|
2121
2122
|
- app/pb_kits/playbook/pb_loading_inline/docs/_loading_inline_default.jsx
|
2123
|
+
- app/pb_kits/playbook/pb_loading_inline/docs/_loading_inline_variant.html.erb
|
2124
|
+
- app/pb_kits/playbook/pb_loading_inline/docs/_loading_inline_variant.jsx
|
2122
2125
|
- app/pb_kits/playbook/pb_loading_inline/docs/example.yml
|
2123
2126
|
- app/pb_kits/playbook/pb_loading_inline/docs/index.js
|
2124
2127
|
- app/pb_kits/playbook/pb_loading_inline/loading_inline.html.erb
|
@@ -3650,7 +3653,7 @@ files:
|
|
3650
3653
|
- app/pb_kits/playbook/utilities/validEmojiChecker.ts
|
3651
3654
|
- dist/chunks/_line_graph-CiVc-Cod.js
|
3652
3655
|
- dist/chunks/_typeahead-BQnvz-Ks.js
|
3653
|
-
- dist/chunks/_weekday_stacked-
|
3656
|
+
- dist/chunks/_weekday_stacked-BkvHv3ZO.js
|
3654
3657
|
- dist/chunks/lazysizes-B7xYodB-.js
|
3655
3658
|
- dist/chunks/lib-CY5ZPzic.js
|
3656
3659
|
- dist/chunks/pb_form_validation-D3b0JKHH.js
|