playbook_ui_docs 14.1.0.pre.alpha.pbntr373enablekitsforradio3595 → 14.2.0.pre.alpha.PLAY15063618
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.
|
4
|
+
version: 14.2.0.pre.alpha.PLAY15063618
|
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-08-
|
12
|
+
date: 2024-08-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: playbook_ui
|
@@ -1382,7 +1382,6 @@ files:
|
|
1382
1382
|
- app/pb_kits/playbook/pb_radio/docs/_radio_alignment.html.erb
|
1383
1383
|
- app/pb_kits/playbook/pb_radio/docs/_radio_alignment.jsx
|
1384
1384
|
- app/pb_kits/playbook/pb_radio/docs/_radio_alignment_swift.md
|
1385
|
-
- app/pb_kits/playbook/pb_radio/docs/_radio_children.jsx
|
1386
1385
|
- app/pb_kits/playbook/pb_radio/docs/_radio_custom.html.erb
|
1387
1386
|
- app/pb_kits/playbook/pb_radio/docs/_radio_custom.jsx
|
1388
1387
|
- app/pb_kits/playbook/pb_radio/docs/_radio_custom_swift.md
|
@@ -1,51 +0,0 @@
|
|
1
|
-
import React from 'react'
|
2
|
-
import Radio from '../_radio'
|
3
|
-
import Typeahead from '../../pb_typeahead/_typeahead'
|
4
|
-
import Dropdown from '../../pb_dropdown/_dropdown'
|
5
|
-
import Title from '../../pb_title/_title'
|
6
|
-
|
7
|
-
const RadioChildren = (props) => {
|
8
|
-
|
9
|
-
|
10
|
-
const options = [
|
11
|
-
{ label: 'Orange', value: '#FFA500' },
|
12
|
-
{ label: 'Red', value: '#FF0000' },
|
13
|
-
{ label: 'Green', value: '#00FF00' },
|
14
|
-
{ label: 'Blue', value: '#0000FF' },
|
15
|
-
]
|
16
|
-
|
17
|
-
return (
|
18
|
-
<div>
|
19
|
-
<Radio
|
20
|
-
label="Power"
|
21
|
-
name="Group2"
|
22
|
-
tabIndex={0}
|
23
|
-
value="Power"
|
24
|
-
{...props}
|
25
|
-
>
|
26
|
-
<Dropdown options={options}/>
|
27
|
-
</Radio>
|
28
|
-
<br />
|
29
|
-
<Radio
|
30
|
-
defaultChecked={false}
|
31
|
-
label="Nitro"
|
32
|
-
name="Group2"
|
33
|
-
value="Nitro"
|
34
|
-
{...props}
|
35
|
-
>
|
36
|
-
<Typeahead options={options} />
|
37
|
-
</Radio>
|
38
|
-
<br />
|
39
|
-
<Radio
|
40
|
-
defaultChecked={false}
|
41
|
-
label="Google"
|
42
|
-
name="Group2"
|
43
|
-
value="Google"
|
44
|
-
{...props}
|
45
|
-
>
|
46
|
-
<Title text="Custom Typography" />
|
47
|
-
</Radio>
|
48
|
-
</div>
|
49
|
-
)
|
50
|
-
}
|
51
|
-
export default RadioChildren
|