playbook_ui_docs 14.3.1.pre.alpha.dhhuynh2patch13743 → 14.3.2.pre.alpha.PBNTR480radiocustomchildrenprop3759
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_radio/docs/_radio_custom_children.html.erb +48 -0
- data/app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.md +1 -0
- data/app/pb_kits/playbook/pb_radio/docs/example.yml +1 -1
- data/app/pb_kits/playbook/pb_radio/docs/index.js +0 -1
- data/dist/playbook-doc.js +1 -1
- metadata +4 -3
- data/app/pb_kits/playbook/pb_radio/docs/_radio_children.jsx +0 -56
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.
|
4
|
+
version: 14.3.2.pre.alpha.PBNTR480radiocustomchildrenprop3759
|
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-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: playbook_ui
|
@@ -1392,9 +1392,10 @@ files:
|
|
1392
1392
|
- app/pb_kits/playbook/pb_radio/docs/_radio_alignment.html.erb
|
1393
1393
|
- app/pb_kits/playbook/pb_radio/docs/_radio_alignment.jsx
|
1394
1394
|
- app/pb_kits/playbook/pb_radio/docs/_radio_alignment_swift.md
|
1395
|
-
- app/pb_kits/playbook/pb_radio/docs/_radio_children.jsx
|
1396
1395
|
- app/pb_kits/playbook/pb_radio/docs/_radio_custom.html.erb
|
1397
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
|
1398
1399
|
- app/pb_kits/playbook/pb_radio/docs/_radio_custom_swift.md
|
1399
1400
|
- app/pb_kits/playbook/pb_radio/docs/_radio_default.html.erb
|
1400
1401
|
- app/pb_kits/playbook/pb_radio/docs/_radio_default.jsx
|
@@ -1,56 +0,0 @@
|
|
1
|
-
import React from 'react'
|
2
|
-
import Radio from '../_radio'
|
3
|
-
import Select from '../../pb_select/_select'
|
4
|
-
import Typeahead from '../../pb_typeahead/_typeahead'
|
5
|
-
import Title from '../../pb_title/_title'
|
6
|
-
|
7
|
-
const RadioChildren = (props) => {
|
8
|
-
|
9
|
-
|
10
|
-
const options = [
|
11
|
-
{ label: 'Orange', value: 'Orange' },
|
12
|
-
{ label: 'Red', value: 'Red' },
|
13
|
-
{ label: 'Green', value: 'Green' },
|
14
|
-
{ label: 'Blue', value: 'Blue' },
|
15
|
-
]
|
16
|
-
|
17
|
-
return (
|
18
|
-
<div>
|
19
|
-
<Radio
|
20
|
-
label="Select"
|
21
|
-
name="Group1"
|
22
|
-
tabIndex={0}
|
23
|
-
value="Select"
|
24
|
-
{...props}
|
25
|
-
>
|
26
|
-
<Select
|
27
|
-
minWidth="xs"
|
28
|
-
options={options}
|
29
|
-
/>
|
30
|
-
</Radio>
|
31
|
-
<Radio
|
32
|
-
label="Typeahead"
|
33
|
-
name="Group1"
|
34
|
-
tabIndex={0}
|
35
|
-
value="Typeahead"
|
36
|
-
{...props}
|
37
|
-
>
|
38
|
-
<Typeahead
|
39
|
-
minWidth="xs"
|
40
|
-
options={options}
|
41
|
-
/>
|
42
|
-
</Radio>
|
43
|
-
<br />
|
44
|
-
<Radio
|
45
|
-
defaultChecked={false}
|
46
|
-
label="Typography"
|
47
|
-
name="Group1"
|
48
|
-
value="Typography"
|
49
|
-
{...props}
|
50
|
-
>
|
51
|
-
<Title text="Custom Typography" />
|
52
|
-
</Radio>
|
53
|
-
</div>
|
54
|
-
)
|
55
|
-
}
|
56
|
-
export default RadioChildren
|