intelicoreact 1.1.93 → 1.1.95

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.
@@ -146,7 +146,7 @@ var NumericInput = function NumericInput(_ref) {
146
146
  setInputValue(inputValue.toString());
147
147
  },
148
148
  clear: function clear() {
149
- handle.change(min || '');
149
+ handle.change(initialMin || '');
150
150
  },
151
151
  focus: function focus(e) {
152
152
  setIsFocused(true);
@@ -154,7 +154,7 @@ var NumericInput = function NumericInput(_ref) {
154
154
  },
155
155
  blur: function blur(e) {
156
156
  setIsFocused(false);
157
- if (Number.isNaN(inputValue) || inputValue < min) setInputValue(min);
157
+ if (Number.isNaN(inputValue) || inputValue < min) setInputValue(initialMin);
158
158
  if (max && +max < inputValue) setInputValue(max);
159
159
  if (onBlur) onBlur(e);
160
160
  },
@@ -158,6 +158,7 @@ var formatToTwoDigitAfterDot = function formatToTwoDigitAfterDot(value) {
158
158
  exports.formatToTwoDigitAfterDot = formatToTwoDigitAfterDot;
159
159
 
160
160
  var formatToPriceWithUSD = function formatToPriceWithUSD(value) {
161
+ if (isNaN(Number(value))) return value;
161
162
  return intlNumbersFormatter(getSafelyValue(value), {
162
163
  withSymbol: 'currency',
163
164
  currency: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intelicoreact",
3
- "version": "1.1.93",
3
+ "version": "1.1.95",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "files": [