playbook_ui 14.8.0.pre.alpha.PLAY1615movenegativetoleftofcurrencysign4539 → 14.8.0.pre.alpha.PLAY1615movenegativetoleftofcurrencysign4543

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fd8c9650b23708306eeea2d36f0a87f8b065d8aa28fbd72bfef581827414c6da
4
- data.tar.gz: e941e09a241073a2641e0a42b5e3b42e67db2cc6ea4fdf903d54bf8986b3e13c
3
+ metadata.gz: f1129b60a8057cb4a47a1cd2a7fbfe1ab4a6566d84a3ee8413f494694d17d13b
4
+ data.tar.gz: 1488209f50dca59f1e932ff6b53183e1772718e0d5664e1d7b05e49c0d2994df
5
5
  SHA512:
6
- metadata.gz: 2ffec4416dafad8b69973e7f96276279ecdfc2aa2a9ada8c002a188fe99061db0b22a2a8a5b662a661bab1562b961b3c3db8f8924959b859383c1e9d17e4483b
7
- data.tar.gz: d2b75f2d74f6ddb913b171976b07a372cbfa539524e06f36ece2f82dd377e66087290830c64735ddf9c158ded7fdb97aaab9fb6c6f1932df364104ef0a661b3e
6
+ metadata.gz: 1e0e520ba271f69218c9f0b812bfac695491c19105b34a4df62d3ba7cfaa209f29a8bcab3dd08900910d2aca5920d1eb72b2d44d9eefb84a60b3538554d8b378
7
+ data.tar.gz: c7ebb609bf8a7f21fb85cb161e0ddd39b798193e493cdef6bfd3d8feb821f8f837a5c6caeb37167d4ca33678fabbdf211dc704d89603fdcbf1d58116bfd4c8e9
@@ -103,7 +103,7 @@ const Currency = (props: CurrencyProps): React.ReactElement => {
103
103
 
104
104
  const swapNegative = size === "sm" && symbol !== ""
105
105
  const handleNegative = amount.startsWith("-") && swapNegative ? "-" : ""
106
- const getAbsoluteAmount = (amountString) => amountString.replace(/^-/,'')
106
+ const getAbsoluteAmount = (amountString: string) => amountString.replace(/^-/,'')
107
107
  const getAbbrOrFormatAmount = abbreviate ? getAbbreviatedValue('amount') : formatAmount(getMatchingDecimalAmount)
108
108
  const getAmount = swapNegative ? getAbsoluteAmount(getAbbrOrFormatAmount) : getAbbrOrFormatAmount
109
109
  const getAbbreviation = abbreviate ? getAbbreviatedValue('unit') : null
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Playbook
4
4
  PREVIOUS_VERSION = "14.8.0"
5
- VERSION = "14.8.0.pre.alpha.PLAY1615movenegativetoleftofcurrencysign4539"
5
+ VERSION = "14.8.0.pre.alpha.PLAY1615movenegativetoleftofcurrencysign4543"
6
6
  end
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.8.0.pre.alpha.PLAY1615movenegativetoleftofcurrencysign4539
4
+ version: 14.8.0.pre.alpha.PLAY1615movenegativetoleftofcurrencysign4543
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX