playbook_ui 13.28.0.pre.alpha.PBNTR296dropdownwithform2941 → 13.28.0.pre.alpha.PLAY1209fixformgroupdatepickerborderradiusreact2953

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 23b40f1dc75c9aeee50d8645aef9128ef124c62f6dbb8a1149dea01b62c8ed98
4
- data.tar.gz: f3d5ca8c8af146f9e223a24c92ca01a7d4b7df7703a9ad231b5bdfc3d727f9ad
3
+ metadata.gz: bf1ef5aa4f13d490c2feff561c4b8c1af473211075188cfe1e49fa4615f03d25
4
+ data.tar.gz: 16aaf7c3503105d1cb8bdb65ab004d17152e7b23e84dc41ab53749544657316c
5
5
  SHA512:
6
- metadata.gz: d79b3d42d1756b4c750160ba105a7bfd4657117bc989337d80eba29a791a4dda4517b5c39ebb6b3235ee4b103756ff1ce982d027d3a59a3829c744598c814e90
7
- data.tar.gz: d5c618a19250c08bb283a029d4ac3d125ee40ab012815ed0b110c48abea28e7dc9aaab4bbf8b015f02b84ad0de58b91691fde89e7a84d90c380fc658c2477491
6
+ metadata.gz: be40f2d6569f259456c1ef342e1b42afd680f62b9575d4e19d20e44624354abc48f238f4925ac8b4f21780362efdd4612840fc4a238f010802d094b1a53abbe4
7
+ data.tar.gz: 72d60c35ef30ddb6f3872c0ec52d7eeff032b1ea9fbd0bce34f76b93a7800af56e0a2a14f5470b8ecd69c9bb3fe443946a06e7f306361a53ee72c7b4f52be9dd
@@ -13,15 +13,6 @@
13
13
  ]
14
14
  %>
15
15
 
16
- <%
17
- example_dropdown_options = [
18
- { label: 'United States', value: 'United States', id: 'us' },
19
- { label: 'Canada', value: 'Canada', id: 'ca' },
20
- { label: 'Pakistan', value: 'Pakistan', id: 'pk' },
21
- ]
22
-
23
- %>
24
-
25
16
  <%= pb_form_with(scope: :example, url: "", method: :get) do |form| %>
26
17
  <%= form.typeahead :example_user, props: { data: { typeahead_example1: true, user: {} }, placeholder: "Search for a user" } %>
27
18
  <%= form.text_field :example_text_field, props: { label: true } %>
@@ -32,7 +23,6 @@
32
23
  <%= form.password_field :example_password_field, props: { label: true } %>
33
24
  <%= form.url_field :example_url_field, props: { label: true } %>
34
25
  <%= form.text_area :example_text_area, props: { label: true } %>
35
- <%= form.dropdown_field :example_dropdown, props: { label: true, options: example_dropdown_options } %>
36
26
  <%= form.select :example_select, [ ["Yes", 1], ["No", 2] ], props: { label: true } %>
37
27
  <%= form.collection_select :example_collection_select, example_collection, :value, :name, props: { label: true } %>
38
28
  <%= form.check_box :example_checkbox,
@@ -107,7 +107,7 @@
107
107
  }
108
108
 
109
109
  & > [class^=pb_date_picker_kit]:not(:last-child) {
110
- .text_input_wrapper input, [class^=pb_text_input_kit] .text_input_wrapper .flatpickr-wrapper {
110
+ .input_wrapper input, [class^=pb_text_input_kit] .date_picker_input_wrapper .flatpickr-wrapper {
111
111
  border-bottom-right-radius: 0;
112
112
  border-top-right-radius: 0;
113
113
  border-right-width: 0;
@@ -115,7 +115,7 @@
115
115
  }
116
116
 
117
117
  & > [class^=pb_date_picker_kit]:not(:first-child) {
118
- .text_input_wrapper input, [class^=pb_text_input_kit] .text_input_wrapper .flatpickr-wrapper {
118
+ .input_wrapper input, [class^=pb_text_input_kit] .date_picker_input_wrapper .flatpickr-wrapper {
119
119
  border-bottom-left-radius: 0;
120
120
  border-top-left-radius: 0;
121
121
  }
@@ -13,7 +13,6 @@ module Playbook
13
13
  require_relative "builder/intl_telephone_field"
14
14
  require_relative "builder/multi_level_select_field"
15
15
  require_relative "builder/phone_number_field"
16
- require_relative "builder/dropdown_field"
17
16
 
18
17
  prepend(FormFieldBuilder.new(:email_field, kit_name: "text_input"))
19
18
  prepend(FormFieldBuilder.new(:number_field, kit_name: "text_input"))
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Playbook
4
4
  PREVIOUS_VERSION = "13.28.0"
5
- VERSION = "13.28.0.pre.alpha.PBNTR296dropdownwithform2941"
5
+ VERSION = "13.28.0.pre.alpha.PLAY1209fixformgroupdatepickerborderradiusreact2953"
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: 13.28.0.pre.alpha.PBNTR296dropdownwithform2941
4
+ version: 13.28.0.pre.alpha.PLAY1209fixformgroupdatepickerborderradiusreact2953
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: 2024-05-22 00:00:00.000000000 Z
12
+ date: 2024-05-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -2930,7 +2930,6 @@ files:
2930
2930
  - lib/playbook/forms/builder/checkbox_field.rb
2931
2931
  - lib/playbook/forms/builder/collection_select_field.rb
2932
2932
  - lib/playbook/forms/builder/date_picker_field.rb
2933
- - lib/playbook/forms/builder/dropdown_field.rb
2934
2933
  - lib/playbook/forms/builder/form_field_builder.rb
2935
2934
  - lib/playbook/forms/builder/intl_telephone_field.rb
2936
2935
  - lib/playbook/forms/builder/multi_level_select_field.rb
@@ -1,14 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Playbook
4
- module Forms
5
- class Builder
6
- def dropdown_field(name, props: {})
7
- props[:name] = name
8
- props[:margin_bottom] = "sm"
9
- props[:label] = @template.label(@object_name, name) if props[:label] == true
10
- @template.pb_rails("dropdown", props: props)
11
- end
12
- end
13
- end
14
- end