playbook_ui 13.28.0.pre.alpha.PBNTR296dropdownwithform2941 → 13.28.0.pre.alpha.PLAY1349checkboxzindexsticky2947

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: c660f2fd185a40fdeb91e25b442941fafa276a8980f1936e41790d530cd5d4d3
4
+ data.tar.gz: 3ee7fe1d395298984639cbf785a471c1c0212f7014c3f7f58e2b36e40c2ed858
5
5
  SHA512:
6
- metadata.gz: d79b3d42d1756b4c750160ba105a7bfd4657117bc989337d80eba29a791a4dda4517b5c39ebb6b3235ee4b103756ff1ce982d027d3a59a3829c744598c814e90
7
- data.tar.gz: d5c618a19250c08bb283a029d4ac3d125ee40ab012815ed0b110c48abea28e7dc9aaab4bbf8b015f02b84ad0de58b91691fde89e7a84d90c380fc658c2477491
6
+ metadata.gz: 21993c9709fe42fb75413282f5943cfd1c2e448afd28fa77e58abf1fcb0628f3dcfe8f9f5f0bcc2c94f29b405a589a1beb5c2832c9a25655cc7ac4bf7947e4f3
7
+ data.tar.gz: 1fd33474bb45de18416efc4fbc9fdaf61ef2510ee0c5bb38d2236d065104cb43e8fa5928473dfb384fc8a943cf3cb98ae226e7a230b742856726e029d8ba7779
@@ -20,7 +20,6 @@ $transition: $transition_cubic;
20
20
  border: solid $border_light 2px;
21
21
  border-radius: $border_rad_light;
22
22
  height: 22px;
23
- position: relative;
24
23
  transition: background $transition_default ease, box-shadow $transition_default ease;
25
24
  width: 22px;
26
25
  .check_icon,
@@ -28,8 +27,8 @@ $transition: $transition_cubic;
28
27
  color: $white;
29
28
  height: 16px;
30
29
  left: 1px;
31
- position: relative;
32
30
  display: flex;
31
+ margin: auto;
33
32
  opacity: 0;
34
33
  width: 16px;
35
34
  &.hidden {
@@ -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,
@@ -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.PLAY1349checkboxzindexsticky2947"
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.PLAY1349checkboxzindexsticky2947
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-23 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