playbook_ui 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/_currency.tsx +31 -46
- data/app/pb_kits/playbook/pb_currency/currency.html.erb +8 -15
- data/app/pb_kits/playbook/pb_currency/currency.rb +2 -17
- 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_select/select.html.erb +1 -5
- data/app/pb_kits/playbook/pb_selectable_card/selectable_card.html.erb +1 -5
- data/app/pb_kits/playbook/pb_selectable_card_icon/selectable_card_icon.html.erb +1 -4
- data/app/pb_kits/playbook/pb_selectable_icon/selectable_icon.html.erb +1 -5
- data/dist/chunks/_weekday_stacked-C3in3hCo.js +45 -0
- data/dist/chunks/vendor.js +1 -1
- data/dist/playbook-doc.js +1 -1
- data/lib/playbook/version.rb +1 -1
- metadata +3 -5
- 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
- data/dist/chunks/_weekday_stacked-BrSrpj7J.js +0 -45
data/lib/playbook/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: playbook_ui
|
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: actionpack
|
@@ -825,8 +825,6 @@ files:
|
|
825
825
|
- app/pb_kits/playbook/pb_currency/docs/_currency_negative.jsx
|
826
826
|
- app/pb_kits/playbook/pb_currency/docs/_currency_no_symbol.html.erb
|
827
827
|
- app/pb_kits/playbook/pb_currency/docs/_currency_no_symbol.jsx
|
828
|
-
- app/pb_kits/playbook/pb_currency/docs/_currency_null_display.html.erb
|
829
|
-
- app/pb_kits/playbook/pb_currency/docs/_currency_null_display.jsx
|
830
828
|
- app/pb_kits/playbook/pb_currency/docs/_currency_props_swift.md
|
831
829
|
- app/pb_kits/playbook/pb_currency/docs/_currency_size.html.erb
|
832
830
|
- app/pb_kits/playbook/pb_currency/docs/_currency_size.jsx
|
@@ -3350,7 +3348,7 @@ files:
|
|
3350
3348
|
- app/pb_kits/playbook/utilities/text.ts
|
3351
3349
|
- app/pb_kits/playbook/utilities/validEmojiChecker.ts
|
3352
3350
|
- dist/chunks/_typeahead-PqkcDf1H.js
|
3353
|
-
- dist/chunks/_weekday_stacked-
|
3351
|
+
- dist/chunks/_weekday_stacked-C3in3hCo.js
|
3354
3352
|
- dist/chunks/lazysizes-B7xYodB-.js
|
3355
3353
|
- dist/chunks/lib-D3us1bGD.js
|
3356
3354
|
- dist/chunks/pb_form_validation-BpihMSOQ.js
|
@@ -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
|