playbook_ui_docs 14.14.0.pre.alpha.pbntr500currencykithandlingofnullvalues6311 → 14.14.0.pre.alpha.play1755pbcontenttag6327
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/dist/playbook-doc.js +1 -1
- metadata +2 -4
- 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.play1755pbcontenttag6327
|
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: 2025-02-
|
12
|
+
date: 2025-02-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: playbook_ui
|
@@ -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
|
@@ -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
|