playbook_ui_docs 14.3.2.pre.alpha.PBNTR480radiocustomchildrenprop3759 → 14.3.2.pre.alpha.PBNTR490multilevelselect3766
Sign up to get free protection for your applications and to get access to all the features.
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: playbook_ui_docs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 14.3.2.pre.alpha.
|
4
|
+
version: 14.3.2.pre.alpha.PBNTR490multilevelselect3766
|
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-09-
|
12
|
+
date: 2024-09-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: playbook_ui
|
@@ -1394,8 +1394,6 @@ files:
|
|
1394
1394
|
- app/pb_kits/playbook/pb_radio/docs/_radio_alignment_swift.md
|
1395
1395
|
- app/pb_kits/playbook/pb_radio/docs/_radio_custom.html.erb
|
1396
1396
|
- app/pb_kits/playbook/pb_radio/docs/_radio_custom.jsx
|
1397
|
-
- app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.html.erb
|
1398
|
-
- app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.md
|
1399
1397
|
- app/pb_kits/playbook/pb_radio/docs/_radio_custom_swift.md
|
1400
1398
|
- app/pb_kits/playbook/pb_radio/docs/_radio_default.html.erb
|
1401
1399
|
- app/pb_kits/playbook/pb_radio/docs/_radio_default.jsx
|
@@ -1,48 +0,0 @@
|
|
1
|
-
<%
|
2
|
-
options = [
|
3
|
-
{ label: "Orange", value: "Orange" },
|
4
|
-
{ label: "Red", value: "Red" },
|
5
|
-
{ label: "Green", value: "Green" },
|
6
|
-
{ label: "Blue", value: "Blue" },
|
7
|
-
]
|
8
|
-
%>
|
9
|
-
|
10
|
-
<%= pb_rails("radio", props: {
|
11
|
-
custom_children: true,
|
12
|
-
label: "Select",
|
13
|
-
name: "Group1",
|
14
|
-
value: "Select",
|
15
|
-
}) do %>
|
16
|
-
<%= pb_rails("select", props: {
|
17
|
-
min_width: "xs",
|
18
|
-
options: options,
|
19
|
-
}) %>
|
20
|
-
<% end %>
|
21
|
-
|
22
|
-
<%= pb_rails("radio", props: {
|
23
|
-
custom_children: true,
|
24
|
-
label: "Typeahead",
|
25
|
-
name: "Group1",
|
26
|
-
value: "Typeahead",
|
27
|
-
}) do %>
|
28
|
-
<%= pb_rails("typeahead", props: {
|
29
|
-
id: "typeahead-radio",
|
30
|
-
is_multi: false,
|
31
|
-
min_width: "xs",
|
32
|
-
options: options,
|
33
|
-
placeholder: "Select...",
|
34
|
-
})
|
35
|
-
%>
|
36
|
-
<% end %>
|
37
|
-
|
38
|
-
<%= pb_rails("radio", props: {
|
39
|
-
custom_children: true,
|
40
|
-
label: "Typography",
|
41
|
-
name: "Group1",
|
42
|
-
value: "Typography",
|
43
|
-
}) do %>
|
44
|
-
<%= pb_rails("title", props: {
|
45
|
-
text: "Custom Typography",
|
46
|
-
})
|
47
|
-
%>
|
48
|
-
<% end %>
|
@@ -1 +0,0 @@
|
|
1
|
-
Use the `custom_children` prop to enable the use of kits instead of text labels.
|