ui-kit-ck-consultant 0.5.204 → 0.5.205

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.
@@ -2107,14 +2107,16 @@ var BarChart = /*#__PURE__*/function (_React$Component) {
2107
2107
  var optionsCurrency = {
2108
2108
  style: 'currency',
2109
2109
  currency: 'EUR',
2110
- minimumFractionDigits: digits
2110
+ minimumFractionDigits: digits,
2111
+ maximumFractionDigits: digits
2111
2112
  };
2112
2113
  var value = new Intl.NumberFormat('fr-FR', optionsCurrency).format(tooltipItem.yLabel);
2113
2114
  return name + " : " + value;
2114
2115
  } else if (_this.props.format === 'percentage') {
2115
2116
  var optionsPercentage = {
2116
2117
  style: 'percent',
2117
- minimumFractionDigits: digits
2118
+ minimumFractionDigits: digits,
2119
+ maximumFractionDigits: digits
2118
2120
  };
2119
2121
 
2120
2122
  var _value = new Intl.NumberFormat('fr-FR', optionsPercentage).format(tooltipItem.yLabel / 100);
@@ -2122,7 +2124,8 @@ var BarChart = /*#__PURE__*/function (_React$Component) {
2122
2124
  return name + " : " + _value;
2123
2125
  } else {
2124
2126
  var options = {
2125
- minimumFractionDigits: digits
2127
+ minimumFractionDigits: digits,
2128
+ maximumFractionDigits: digits
2126
2129
  };
2127
2130
 
2128
2131
  var _value2 = new Intl.NumberFormat('fr-FR', options).format(tooltipItem.yLabel);