@fixefy/fixefy-ui-components 0.3.61 → 0.3.62

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.
@@ -22,7 +22,7 @@ const FxProgressCircle = ({ radius = 70, border = 70, value, hasLabel = true, ma
22
22
  const strokeWidth = border;
23
23
  const strokeDashoffset = p * (1 - _value);
24
24
  const strokeDasharray = p;
25
- const label = type === 'progress' ? `${value}/${max}` : `${value.toFixed()}%`;
25
+ const label = type === 'progress' ? `${new Intl.NumberFormat('en-US', {}).format(Number(value))}/${new Intl.NumberFormat('en-US', {}).format(Number(max))}` : `${value.toFixed()}%`;
26
26
  return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_progress_circlestyles.Container, {
27
27
  children: [
28
28
  hasLabel && type === 'progress' && /*#__PURE__*/ (0, _jsxruntime.jsx)(_progress_circlestyles.Label, {
package/package.json CHANGED
@@ -69,5 +69,5 @@
69
69
  "require": "./dist/index.js"
70
70
  }
71
71
  },
72
- "version": "0.3.61"
72
+ "version": "0.3.62"
73
73
  }