playbook_ui_docs 14.14.0.pre.alpha.pbntr500currencykithandlingofnullvalues6311 → 14.14.0.pre.alpha.play1852reacthookformsupportradio6318
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_currency/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_currency/docs/index.js +1 -2
- data/app/pb_kits/playbook/pb_radio/docs/_radio_react_hook.jsx +60 -0
- data/app/pb_kits/playbook/pb_radio/docs/_radio_react_hook.md +1 -0
- data/app/pb_kits/playbook/pb_radio/docs/example.yml +2 -1
- data/app/pb_kits/playbook/pb_radio/docs/index.js +1 -0
- data/dist/playbook-doc.js +1 -1
- metadata +3 -3
- data/app/pb_kits/playbook/pb_currency/docs/_currency_null_display.html.erb +0 -22
- data/app/pb_kits/playbook/pb_currency/docs/_currency_null_display.jsx +0 -34
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.14.0.pre.alpha.
|
4
|
+
version: 14.14.0.pre.alpha.play1852reacthookformsupportradio6318
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Power UX
|
@@ -455,8 +455,6 @@ files:
|
|
455
455
|
- app/pb_kits/playbook/pb_currency/docs/_currency_negative.jsx
|
456
456
|
- app/pb_kits/playbook/pb_currency/docs/_currency_no_symbol.html.erb
|
457
457
|
- app/pb_kits/playbook/pb_currency/docs/_currency_no_symbol.jsx
|
458
|
-
- app/pb_kits/playbook/pb_currency/docs/_currency_null_display.html.erb
|
459
|
-
- app/pb_kits/playbook/pb_currency/docs/_currency_null_display.jsx
|
460
458
|
- app/pb_kits/playbook/pb_currency/docs/_currency_props_swift.md
|
461
459
|
- app/pb_kits/playbook/pb_currency/docs/_currency_size.html.erb
|
462
460
|
- app/pb_kits/playbook/pb_currency/docs/_currency_size.jsx
|
@@ -1557,6 +1555,8 @@ files:
|
|
1557
1555
|
- app/pb_kits/playbook/pb_radio/docs/_radio_orientation_swift.md
|
1558
1556
|
- app/pb_kits/playbook/pb_radio/docs/_radio_padding_swift.md
|
1559
1557
|
- app/pb_kits/playbook/pb_radio/docs/_radio_props_swift.md
|
1558
|
+
- app/pb_kits/playbook/pb_radio/docs/_radio_react_hook.jsx
|
1559
|
+
- app/pb_kits/playbook/pb_radio/docs/_radio_react_hook.md
|
1560
1560
|
- app/pb_kits/playbook/pb_radio/docs/_radio_spacing_swift.md
|
1561
1561
|
- app/pb_kits/playbook/pb_radio/docs/_radio_subtitle_swift.md
|
1562
1562
|
- app/pb_kits/playbook/pb_radio/docs/example.yml
|
@@ -1,22 +0,0 @@
|
|
1
|
-
<%= pb_rails("currency", props: {
|
2
|
-
amount: "",
|
3
|
-
label: "Nil",
|
4
|
-
margin_bottom: "md",
|
5
|
-
null_display: "--",
|
6
|
-
size: "sm"
|
7
|
-
}) %>
|
8
|
-
|
9
|
-
<%= pb_rails("currency", props: {
|
10
|
-
amount: "",
|
11
|
-
label: "Nil",
|
12
|
-
margin_bottom: "md",
|
13
|
-
null_display: "$0.00",
|
14
|
-
size: "sm"
|
15
|
-
}) %>
|
16
|
-
|
17
|
-
<%= pb_rails("currency", props: {
|
18
|
-
amount: "",
|
19
|
-
label: "Nil",
|
20
|
-
null_display: " ",
|
21
|
-
size: "sm"
|
22
|
-
}) %>
|
@@ -1,34 +0,0 @@
|
|
1
|
-
import React from 'react'
|
2
|
-
import { Currency } from 'playbook-ui'
|
3
|
-
|
4
|
-
const CurrencyNullDisplay = (props) => {
|
5
|
-
return (
|
6
|
-
<>
|
7
|
-
<Currency
|
8
|
-
amount=""
|
9
|
-
label="Null"
|
10
|
-
marginBottom="md"
|
11
|
-
nullDisplay="--"
|
12
|
-
{...props}
|
13
|
-
/>
|
14
|
-
|
15
|
-
<Currency
|
16
|
-
amount=""
|
17
|
-
label="Null"
|
18
|
-
marginBottom="md"
|
19
|
-
nullDisplay="$0.00"
|
20
|
-
{...props}
|
21
|
-
/>
|
22
|
-
|
23
|
-
<Currency
|
24
|
-
amount=""
|
25
|
-
label="Null"
|
26
|
-
marginBottom="md"
|
27
|
-
nullDisplay=" "
|
28
|
-
{...props}
|
29
|
-
/>
|
30
|
-
</>
|
31
|
-
)
|
32
|
-
}
|
33
|
-
|
34
|
-
export default CurrencyNullDisplay
|