playbook_ui 12.26.0.pre.alpha.multiselectfixes825 → 12.26.0.pre.alpha.railsmultilevelimprovements805

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Playbook
4
+ module Forms
5
+ class Builder
6
+ def multi_level_select(name, props: {})
7
+ props[:name] = name
8
+ @template.pb_rails("multi_level_select", props: props)
9
+ end
10
+ end
11
+ end
12
+ end
@@ -10,6 +10,7 @@ module Playbook
10
10
  require_relative "builder/form_field_builder"
11
11
  require_relative "builder/select_field"
12
12
  require_relative "builder/typeahead_field"
13
+ require_relative "builder/multi_level_select_field"
13
14
 
14
15
  prepend(FormFieldBuilder.new(:email_field, kit_name: "text_input"))
15
16
  prepend(FormFieldBuilder.new(:number_field, kit_name: "text_input"))
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Playbook
4
4
  PREVIOUS_VERSION = "12.26.0"
5
- VERSION = "12.26.0.pre.alpha.multiselectfixes825"
5
+ VERSION = "12.26.0.pre.alpha.railsmultilevelimprovements805"
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: 12.26.0.pre.alpha.multiselectfixes825
4
+ version: 12.26.0.pre.alpha.railsmultilevelimprovements805
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: 2023-06-22 00:00:00.000000000 Z
12
+ date: 2023-06-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -1435,6 +1435,9 @@ files:
1435
1435
  - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_return_all_selected.html.erb
1436
1436
  - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_return_all_selected.jsx
1437
1437
  - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_return_all_selected.md
1438
+ - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_return_complete_data.html.erb
1439
+ - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_return_complete_data.jsx
1440
+ - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_form.html.erb
1438
1441
  - app/pb_kits/playbook/pb_multi_level_select/docs/example.yml
1439
1442
  - app/pb_kits/playbook/pb_multi_level_select/docs/index.js
1440
1443
  - app/pb_kits/playbook/pb_multi_level_select/multi_level_select.html.erb
@@ -2449,6 +2452,7 @@ files:
2449
2452
  - lib/playbook/forms/builder/collection_select_field.rb
2450
2453
  - lib/playbook/forms/builder/date_picker_field.rb
2451
2454
  - lib/playbook/forms/builder/form_field_builder.rb
2455
+ - lib/playbook/forms/builder/multi_level_select_field.rb
2452
2456
  - lib/playbook/forms/builder/select_field.rb
2453
2457
  - lib/playbook/forms/builder/typeahead_field.rb
2454
2458
  - lib/playbook/justify_content.rb