playbook_ui 13.27.0.pre.alpha.PBNTR48phonenumberform2852 → 13.27.0.pre.alpha.PLAY1250fixTextInpputaddonborderradiusformgroup2862
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_form/docs/_form_form_with.html.erb +1 -1
- data/app/pb_kits/playbook/pb_form/docs/_form_form_with_validate.html.erb +1 -1
- data/app/pb_kits/playbook/pb_form_group/_form_group.scss +15 -0
- data/lib/playbook/forms/builder.rb +0 -1
- data/lib/playbook/version.rb +1 -1
- metadata +1 -2
- data/lib/playbook/forms/builder/phone_number_field.rb +0 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13b6125e3cb0229c3dcf449f12ae4ca3f34084a498dfea3d1c18095be1c65fd9
|
4
|
+
data.tar.gz: 319fb35a1e6950bd4b80cbae57ae064f35cddbf19adb2ce7685a883abbe016c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '087378f8eff02db4a21cdb6228e5ff5f109ec480840ae44df5735f56a538a9900e42f490847bea7cf175658670ccca90171c8b360ce724fb28abd47436134ad8'
|
7
|
+
data.tar.gz: 572e3262a0d53319e5b7e578dd83ea4126b19e3a1f72a0272ff0e3d81f21d9dc744b03a7f43b1c31fba883d4f0614ed390dda5a235965fb1650b444b3662012e
|
@@ -16,7 +16,7 @@
|
|
16
16
|
<%= pb_form_with(scope: :example, url: "", method: :get) do |form| %>
|
17
17
|
<%= form.typeahead :example_user, props: { data: { typeahead_example1: true, user: {} }, placeholder: "Search for a user" } %>
|
18
18
|
<%= form.text_field :example_text_field, props: { label: true } %>
|
19
|
-
<%= form.
|
19
|
+
<%= form.telephone_field :example_phone_field, props: { label: true } %>
|
20
20
|
<%= form.email_field :example_email_field, props: { label: true } %>
|
21
21
|
<%= form.number_field :example_number_field, props: { label: true } %>
|
22
22
|
<%= form.search_field :example_search_field, props: { label: true } %>
|
@@ -15,7 +15,7 @@
|
|
15
15
|
|
16
16
|
<%= pb_form_with(scope: :example, method: :get, url: "", validate: true) do |form| %>
|
17
17
|
<%= form.text_field :example_text_field, props: { label: true, required: true } %>
|
18
|
-
<%= form.
|
18
|
+
<%= form.telephone_field :example_phone_field, props: { label: true, required: true, validation: { pattern: "[0-9]{3}-[0-9]{3}-[0-9]{4}", message: "Please enter a valid phone number (example: 888-888-8888)." } } %>
|
19
19
|
<%= form.email_field :example_email_field, props: { label: true, required: true } %>
|
20
20
|
<%= form.number_field :example_number_field, props: { label: true, required: true } %>
|
21
21
|
<%= form.search_field :example_project_number, props: { label: true, required: true, validation: { pattern: "[0-9]{2}-[0-9]{5}", message: "Please enter a valid project number (example: 33-12345)." } } %>
|
@@ -33,6 +33,17 @@
|
|
33
33
|
outline-offset: -1px;
|
34
34
|
}
|
35
35
|
}
|
36
|
+
.text_input_wrapper_add_on .add-on-right [class^=pb_card_kit] {
|
37
|
+
border-bottom-right-radius: 0;
|
38
|
+
border-top-right-radius: 0;
|
39
|
+
border-right-width: 0;
|
40
|
+
}
|
41
|
+
.text_input_wrapper_add_on .add-on-right.border_left_on .card-right-aligned {
|
42
|
+
border-left: 1px $border_light solid;
|
43
|
+
&.dark {
|
44
|
+
border-left: 1px rgba($white, 0.15) solid;
|
45
|
+
}
|
46
|
+
}
|
36
47
|
}
|
37
48
|
|
38
49
|
& > [class^=pb_text_input_kit]:not(:first-child) {
|
@@ -40,6 +51,10 @@
|
|
40
51
|
border-bottom-left-radius: 0;
|
41
52
|
border-top-left-radius: 0;
|
42
53
|
}
|
54
|
+
.text_input_wrapper_add_on .add-on-left [class^=pb_card_kit] {
|
55
|
+
border-bottom-left-radius: 0;
|
56
|
+
border-top-left-radius: 0;
|
57
|
+
}
|
43
58
|
}
|
44
59
|
|
45
60
|
& > [class^=pb_button_kit]:not(:last-child) {
|
@@ -12,7 +12,6 @@ module Playbook
|
|
12
12
|
require_relative "builder/typeahead_field"
|
13
13
|
require_relative "builder/intl_telephone_field"
|
14
14
|
require_relative "builder/multi_level_select_field"
|
15
|
-
require_relative "builder/phone_number_field"
|
16
15
|
|
17
16
|
prepend(FormFieldBuilder.new(:email_field, kit_name: "text_input"))
|
18
17
|
prepend(FormFieldBuilder.new(:number_field, kit_name: "text_input"))
|
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: 13.27.0.pre.alpha.
|
4
|
+
version: 13.27.0.pre.alpha.PLAY1250fixTextInpputaddonborderradiusformgroup2862
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Power UX
|
@@ -2898,7 +2898,6 @@ files:
|
|
2898
2898
|
- lib/playbook/forms/builder/form_field_builder.rb
|
2899
2899
|
- lib/playbook/forms/builder/intl_telephone_field.rb
|
2900
2900
|
- lib/playbook/forms/builder/multi_level_select_field.rb
|
2901
|
-
- lib/playbook/forms/builder/phone_number_field.rb
|
2902
2901
|
- lib/playbook/forms/builder/select_field.rb
|
2903
2902
|
- lib/playbook/forms/builder/typeahead_field.rb
|
2904
2903
|
- lib/playbook/hover.rb
|