playbook_ui 14.8.0.pre.rc.7 → 14.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_drawer/_drawer.scss +88 -175
- data/app/pb_kits/playbook/pb_drawer/_drawer.tsx +79 -47
- data/app/pb_kits/playbook/pb_drawer/drawer.test.jsx +20 -16
- data/app/pb_kits/playbook/pb_form/docs/_form_form_with.html.erb +2 -2
- data/app/pb_kits/playbook/pb_form/docs/_form_form_with_loading.html.erb +1 -1
- data/app/pb_kits/playbook/pb_form/docs/_form_form_with_validate.html.erb +12 -63
- data/app/pb_kits/playbook/pb_typeahead/index.ts +2 -36
- data/app/pb_kits/playbook/pb_typeahead/typeahead.html.erb +2 -5
- data/app/pb_kits/playbook/pb_typeahead/typeahead.rb +0 -4
- data/dist/chunks/{_typeahead-DPeGdNBp.js → _typeahead-D0PihN_3.js} +2 -2
- data/dist/chunks/_weekday_stacked-uMIX8f-A.js +45 -0
- data/dist/chunks/{lib-GRGYd9YR.js → lib-BC6ESsxG.js} +1 -1
- data/dist/chunks/{pb_form_validation-CS6rgdtE.js → pb_form_validation-B_Z9rEbg.js} +1 -1
- data/dist/chunks/vendor.js +1 -1
- data/dist/playbook-doc.js +1 -1
- data/dist/playbook-rails-react-bindings.js +1 -1
- data/dist/playbook-rails.js +1 -1
- data/dist/playbook.css +1 -1
- data/lib/playbook/forms/builder/typeahead_field.rb +0 -13
- data/lib/playbook/version.rb +1 -1
- metadata +9 -9
- data/dist/chunks/_weekday_stacked-BP8UVQtC.js +0 -45
@@ -5,19 +5,6 @@ module Playbook
|
|
5
5
|
class Builder
|
6
6
|
def typeahead(name, _options = {}, _html_options = {}, props: {})
|
7
7
|
props[:name] = name
|
8
|
-
|
9
|
-
input_id = "#{name}_input"
|
10
|
-
props[:input_options] ||= {}
|
11
|
-
props[:input_options][:id] ||= input_id
|
12
|
-
|
13
|
-
props[:label] = @template.label(@object_name, name, for: props[:input_options][:id]) if props[:label] == true
|
14
|
-
|
15
|
-
if props[:validation]
|
16
|
-
validation_message = props[:validation][:message]
|
17
|
-
props[:input_options][:data] ||= {}
|
18
|
-
props[:input_options][:data][:validation_message] = validation_message
|
19
|
-
end
|
20
|
-
|
21
8
|
@template.pb_rails("typeahead", props: props)
|
22
9
|
end
|
23
10
|
end
|
data/lib/playbook/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: playbook_ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 14.8.0
|
4
|
+
version: 14.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Power UX
|
8
8
|
- Power Devs
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-11-
|
12
|
+
date: 2024-11-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|
@@ -3170,11 +3170,11 @@ files:
|
|
3170
3170
|
- app/pb_kits/playbook/utilities/test/globalProps/truncate.test.js
|
3171
3171
|
- app/pb_kits/playbook/utilities/text.ts
|
3172
3172
|
- app/pb_kits/playbook/utilities/validEmojiChecker.ts
|
3173
|
-
- dist/chunks/_typeahead-
|
3174
|
-
- dist/chunks/_weekday_stacked-
|
3173
|
+
- dist/chunks/_typeahead-D0PihN_3.js
|
3174
|
+
- dist/chunks/_weekday_stacked-uMIX8f-A.js
|
3175
3175
|
- dist/chunks/lazysizes-B7xYodB-.js
|
3176
|
-
- dist/chunks/lib-
|
3177
|
-
- dist/chunks/pb_form_validation-
|
3176
|
+
- dist/chunks/lib-BC6ESsxG.js
|
3177
|
+
- dist/chunks/pb_form_validation-B_Z9rEbg.js
|
3178
3178
|
- dist/chunks/vendor.js
|
3179
3179
|
- dist/menu.yml
|
3180
3180
|
- dist/playbook-doc.js
|
@@ -3256,7 +3256,7 @@ homepage: https://playbook.powerapp.cloud/
|
|
3256
3256
|
licenses:
|
3257
3257
|
- ISC
|
3258
3258
|
metadata: {}
|
3259
|
-
post_install_message:
|
3259
|
+
post_install_message:
|
3260
3260
|
rdoc_options: []
|
3261
3261
|
require_paths:
|
3262
3262
|
- lib
|
@@ -3272,7 +3272,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
3272
3272
|
version: '0'
|
3273
3273
|
requirements: []
|
3274
3274
|
rubygems_version: 3.5.3
|
3275
|
-
signing_key:
|
3275
|
+
signing_key:
|
3276
3276
|
specification_version: 4
|
3277
3277
|
summary: Playbook Design System
|
3278
3278
|
test_files: []
|