playbook_ui 14.14.0.pre.alpha.pbntr500currencykithandlingofnullvalues6275 → 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 +32 -48
- data/app/pb_kits/playbook/pb_currency/currency.html.erb +8 -15
- data/app/pb_kits/playbook/pb_currency/currency.rb +0 -3
- 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_icon_button/_icon_button.tsx +71 -0
- data/app/pb_kits/playbook/pb_icon_button/docs/_icon_button_default.jsx +17 -0
- data/app/pb_kits/playbook/pb_icon_button/docs/_icon_button_sizes.jsx +61 -0
- data/app/pb_kits/playbook/pb_icon_button/docs/example.yml +4 -0
- data/app/pb_kits/playbook/pb_icon_button/docs/index.js +2 -0
- data/app/pb_kits/playbook/pb_icon_button/icon_button.test.jsx +39 -0
- data/app/pb_kits/playbook/pb_progress_step/progress_step_item.html.erb +2 -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/app/pb_kits/playbook/pb_tooltip/index.js +1 -1
- data/dist/chunks/_weekday_stacked-C3in3hCo.js +45 -0
- data/dist/chunks/vendor.js +1 -1
- data/dist/menu.yml +1 -1
- data/dist/playbook-doc.js +1 -1
- data/lib/playbook/version.rb +1 -1
- metadata +8 -5
- data/app/pb_kits/playbook/pb_currency/docs/_currency_null_display.html.erb +0 -20
- data/app/pb_kits/playbook/pb_currency/docs/_currency_null_display.jsx +0 -34
- data/dist/chunks/_weekday_stacked-BhC8Xp9l.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
|
@@ -1624,11 +1622,16 @@ files:
|
|
1624
1622
|
- app/pb_kits/playbook/pb_icon/icon.rb
|
1625
1623
|
- app/pb_kits/playbook/pb_icon/icon.test.js
|
1626
1624
|
- app/pb_kits/playbook/pb_icon_button/_icon_button.scss
|
1625
|
+
- app/pb_kits/playbook/pb_icon_button/_icon_button.tsx
|
1627
1626
|
- app/pb_kits/playbook/pb_icon_button/docs/_icon_button_default.html.erb
|
1627
|
+
- app/pb_kits/playbook/pb_icon_button/docs/_icon_button_default.jsx
|
1628
1628
|
- app/pb_kits/playbook/pb_icon_button/docs/_icon_button_sizes.html.erb
|
1629
|
+
- app/pb_kits/playbook/pb_icon_button/docs/_icon_button_sizes.jsx
|
1629
1630
|
- app/pb_kits/playbook/pb_icon_button/docs/example.yml
|
1631
|
+
- app/pb_kits/playbook/pb_icon_button/docs/index.js
|
1630
1632
|
- app/pb_kits/playbook/pb_icon_button/icon_button.html.erb
|
1631
1633
|
- app/pb_kits/playbook/pb_icon_button/icon_button.rb
|
1634
|
+
- app/pb_kits/playbook/pb_icon_button/icon_button.test.jsx
|
1632
1635
|
- app/pb_kits/playbook/pb_icon_circle/_icon_circle.scss
|
1633
1636
|
- app/pb_kits/playbook/pb_icon_circle/_icon_circle.tsx
|
1634
1637
|
- app/pb_kits/playbook/pb_icon_circle/docs/_description.md
|
@@ -3345,7 +3348,7 @@ files:
|
|
3345
3348
|
- app/pb_kits/playbook/utilities/text.ts
|
3346
3349
|
- app/pb_kits/playbook/utilities/validEmojiChecker.ts
|
3347
3350
|
- dist/chunks/_typeahead-PqkcDf1H.js
|
3348
|
-
- dist/chunks/_weekday_stacked-
|
3351
|
+
- dist/chunks/_weekday_stacked-C3in3hCo.js
|
3349
3352
|
- dist/chunks/lazysizes-B7xYodB-.js
|
3350
3353
|
- dist/chunks/lib-D3us1bGD.js
|
3351
3354
|
- dist/chunks/pb_form_validation-BpihMSOQ.js
|
@@ -1,20 +0,0 @@
|
|
1
|
-
<%= pb_rails("currency", props: {
|
2
|
-
amount: "",
|
3
|
-
label: "Nil",
|
4
|
-
margin_bottom: "md",
|
5
|
-
null_display: "--",
|
6
|
-
}) %>
|
7
|
-
|
8
|
-
<%= pb_rails("currency", props: {
|
9
|
-
amount: "",
|
10
|
-
label: "Nil",
|
11
|
-
margin_bottom: "md",
|
12
|
-
null_display: "$0.00",
|
13
|
-
}) %>
|
14
|
-
|
15
|
-
<%= pb_rails("currency", props: {
|
16
|
-
amount: "",
|
17
|
-
label: "Nil",
|
18
|
-
margin_bottom: "md",
|
19
|
-
null_display: " ",
|
20
|
-
}) %>
|
@@ -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
|