easy3wui 1.5.40-beta1 → 1.5.40-beta2

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.
@@ -493,7 +493,11 @@ var _initialiseProps = function _initialiseProps() {
493
493
  var strText = text;
494
494
  if (text || text === 0 || isNaN(text)) {
495
495
  if (typeof text === 'string') {
496
- strText = text;
496
+ if (/^\d+(\.\d+)?$/.test(text)) {
497
+ strText = (0, _numeral2['default'])(text).format('0,0.00');
498
+ } else {
499
+ strText = text;
500
+ }
497
501
  } else if (typeof text === 'number') {
498
502
  if (Number.isInfinite(text) || isNaN(NaN)) {
499
503
  strText = text;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easy3wui",
3
- "version": "1.5.40-beta1",
3
+ "version": "1.5.40-beta2",
4
4
  "description": "easy3wui components for react",
5
5
  "keywords": [
6
6
  "react",