playbook_ui_docs 15.0.0.pre.alpha.PLAY2425textinputaccessibility10328 → 15.0.0.pre.alpha.PLAY2426textfieldaccessibility10330
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_form/docs/_form_form_with.html.erb +1 -0
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_default.html.erb +4 -8
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_default.jsx +0 -5
- data/dist/playbook-doc.js +2 -2
- metadata +1 -2
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_default.md +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99dcfbe827c96cf6b26735e2f95f61a84dfa0a92648b9af2e47f2e837e577b69
|
4
|
+
data.tar.gz: f7d18b3e7cbf3956208c91d3ac4a359d5226a0589bf2c655e473bc71a25109dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ecc5404db616edfc7e4bdf35b251dfc12f7a875decea6e2de0500a0c26b9a2cb4b87b46e028d4aad9d086f5f2815a3c3975350ccdcbc989b86e848ae9f83a20
|
7
|
+
data.tar.gz: 66086cb2137835319fca8568f4ca9b5e3c5aa835b941ce941c75d673ee717b76b2f1c3dfbda2d432f8aef040ed0eb75f39a5b5231622e262e8adc6255f8da28e
|
@@ -91,6 +91,7 @@
|
|
91
91
|
<%= pb_form_with(scope: :example, url: "", method: :get) do |form| %>
|
92
92
|
<%= form.typeahead :example_typeahead, props: { data: { typeahead_example1: true, user: {} }, label: true, placeholder: "Search for a user" } %>
|
93
93
|
<%= form.text_field :example_text_field, props: { label: true } %>
|
94
|
+
<%= form.text_field :example_text_field_2, props: { label: "Text Field Custom Label" } %>
|
94
95
|
<%= form.phone_number_field :example_phone_number_field, props: { label: "Example phone field", hidden_inputs: true } %>
|
95
96
|
<%= form.email_field :example_email_field, props: { label: true } %>
|
96
97
|
<%= form.number_field :example_number_field, props: { label: true } %>
|
@@ -9,27 +9,23 @@
|
|
9
9
|
|
10
10
|
<%= pb_rails("text_input", props: {
|
11
11
|
label: "Last Name",
|
12
|
-
placeholder: "Enter last name"
|
13
|
-
id: "last-name"
|
12
|
+
placeholder: "Enter last name"
|
14
13
|
}) %>
|
15
14
|
|
16
15
|
<%= pb_rails("text_input", props: {
|
17
16
|
label: "Phone Number",
|
18
17
|
type: "phone",
|
19
|
-
placeholder: "Enter phone number"
|
20
|
-
id: "phone"
|
18
|
+
placeholder: "Enter phone number"
|
21
19
|
}) %>
|
22
20
|
|
23
21
|
<%= pb_rails("text_input", props: {
|
24
22
|
label: "Email Address",
|
25
23
|
type: "email",
|
26
|
-
placeholder: "Enter email address"
|
27
|
-
id: "email"
|
24
|
+
placeholder: "Enter email address"
|
28
25
|
}) %>
|
29
26
|
|
30
27
|
<%= pb_rails("text_input", props: {
|
31
28
|
label: "Zip Code",
|
32
29
|
type: "number",
|
33
|
-
placeholder: "Enter zip code"
|
34
|
-
id: "zip"
|
30
|
+
placeholder: "Enter zip code"
|
35
31
|
}) %>
|
@@ -38,7 +38,6 @@ const TextInputDefault = (props) => {
|
|
38
38
|
{...props}
|
39
39
|
/>
|
40
40
|
<TextInput
|
41
|
-
id="last-name"
|
42
41
|
label="Last Name"
|
43
42
|
name="lastName"
|
44
43
|
onChange={handleOnChangeFormField}
|
@@ -47,7 +46,6 @@ const TextInputDefault = (props) => {
|
|
47
46
|
{...props}
|
48
47
|
/>
|
49
48
|
<TextInput
|
50
|
-
id="phone"
|
51
49
|
label="Phone Number"
|
52
50
|
name="phone"
|
53
51
|
onChange={handleOnChangeFormField}
|
@@ -57,7 +55,6 @@ const TextInputDefault = (props) => {
|
|
57
55
|
{...props}
|
58
56
|
/>
|
59
57
|
<TextInput
|
60
|
-
id="email"
|
61
58
|
label="Email Address"
|
62
59
|
name="email"
|
63
60
|
onChange={handleOnChangeFormField}
|
@@ -67,7 +64,6 @@ const TextInputDefault = (props) => {
|
|
67
64
|
{...props}
|
68
65
|
/>
|
69
66
|
<TextInput
|
70
|
-
id="zip"
|
71
67
|
label="Zip Code"
|
72
68
|
name="zip"
|
73
69
|
onChange={handleOnChangeFormField}
|
@@ -88,7 +84,6 @@ const TextInputDefault = (props) => {
|
|
88
84
|
<br />
|
89
85
|
|
90
86
|
<TextInput
|
91
|
-
id="first-name"
|
92
87
|
label="First Name"
|
93
88
|
onChange={handleOnChangeFirstName}
|
94
89
|
placeholder="Enter first name"
|