ui-beyable 1.0.36-beta.5 → 1.0.36-beta.6
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/lib/cjs/index.js
CHANGED
|
@@ -3059,6 +3059,7 @@ function KpiItem(_a) {
|
|
|
3059
3059
|
:
|
|
3060
3060
|
React.createElement("span", { className: getVariationClass() }, displayPercent(variation, variationNbDecimal))));
|
|
3061
3061
|
}
|
|
3062
|
+
var valueToDisplay = typeof value == 'number' ? getFormattedNumber(value) : value;
|
|
3062
3063
|
return (React.createElement(React.Fragment, null,
|
|
3063
3064
|
React.createElement("div", { className: className.join(' ') },
|
|
3064
3065
|
React.createElement("div", { className: [styles$6.item_header, flex.flex].join(' ') },
|
|
@@ -3073,7 +3074,7 @@ function KpiItem(_a) {
|
|
|
3073
3074
|
prepend &&
|
|
3074
3075
|
React.createElement("div", { className: styles$6.item_value_prepend }, prepend),
|
|
3075
3076
|
React.createElement("span", null,
|
|
3076
|
-
|
|
3077
|
+
valueToDisplay,
|
|
3077
3078
|
unit &&
|
|
3078
3079
|
React.createElement(React.Fragment, null,
|
|
3079
3080
|
"\u00A0",
|