@ceed/ads 1.32.2 → 1.33.0-next.1
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.
- package/dist/components/CurrencyInput/CurrencyInput.d.ts +2 -1
- package/dist/components/CurrencyInput/hooks/use-currency-setting.d.ts +2 -1
- package/dist/components/CurrencyInput/types.d.ts +4 -0
- package/dist/index.browser.js +1 -1
- package/dist/index.browser.js.map +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/framer/index.js +1 -1
- package/package.json +3 -2
package/dist/index.cjs
CHANGED
|
@@ -2182,7 +2182,7 @@ var useCurrencySetting = (props) => {
|
|
|
2182
2182
|
const symbol = parts.find((p) => p.type === "currency")?.value ?? "$";
|
|
2183
2183
|
const thousandSeparator = parts.find((p) => p.type === "group")?.value ?? ",";
|
|
2184
2184
|
const decimalSeparator = parts.find((p) => p.type === "decimal")?.value;
|
|
2185
|
-
const decimalScale = CURRENCY_DECIMAL_MAP[currency];
|
|
2185
|
+
const decimalScale = CURRENCY_DECIMAL_MAP[currency.toUpperCase()];
|
|
2186
2186
|
return {
|
|
2187
2187
|
symbol: `${symbol} `,
|
|
2188
2188
|
thousandSeparator,
|
package/dist/index.js
CHANGED
|
@@ -2040,7 +2040,7 @@ var useCurrencySetting = (props) => {
|
|
|
2040
2040
|
const symbol = parts.find((p) => p.type === "currency")?.value ?? "$";
|
|
2041
2041
|
const thousandSeparator = parts.find((p) => p.type === "group")?.value ?? ",";
|
|
2042
2042
|
const decimalSeparator = parts.find((p) => p.type === "decimal")?.value;
|
|
2043
|
-
const decimalScale = CURRENCY_DECIMAL_MAP[currency];
|
|
2043
|
+
const decimalScale = CURRENCY_DECIMAL_MAP[currency.toUpperCase()];
|
|
2044
2044
|
return {
|
|
2045
2045
|
symbol: `${symbol} `,
|
|
2046
2046
|
thousandSeparator,
|