@superdispatch/ui 0.26.0 → 0.26.1

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.
@@ -25,14 +25,13 @@ function NumberInputComponent(_ref) {
25
25
  thousandSeparator: thousandSeparator,
26
26
  allowedDecimalSeparators: ['.', ','],
27
27
  onValueChange: (values, sourceInfo) => {
28
- var inputValue = values.value;
29
28
  var {
30
29
  event
31
30
  } = sourceInfo;
32
31
  // eslint-disable-next-line @typescript-eslint/no-unsafe-call
33
32
  onChange === null || onChange === void 0 ? void 0 : onChange(_objectSpread(_objectSpread({}, event), {}, {
34
33
  target: _objectSpread(_objectSpread({}, event === null || event === void 0 ? void 0 : event.target), {}, {
35
- value: inputValue
34
+ value: disableValueParsing ? values.value : values.floatValue
36
35
  })
37
36
  }));
38
37
  }
package/dist-web/index.js CHANGED
@@ -1723,14 +1723,13 @@ function NumberInputComponent(_ref) {
1723
1723
  thousandSeparator: thousandSeparator,
1724
1724
  allowedDecimalSeparators: ['.', ','],
1725
1725
  onValueChange: (values, sourceInfo) => {
1726
- var inputValue = values.value;
1727
1726
  var {
1728
1727
  event
1729
1728
  } = sourceInfo;
1730
1729
  // eslint-disable-next-line @typescript-eslint/no-unsafe-call
1731
1730
  onChange === null || onChange === void 0 ? void 0 : onChange(_objectSpread(_objectSpread({}, event), {}, {
1732
1731
  target: _objectSpread(_objectSpread({}, event === null || event === void 0 ? void 0 : event.target), {}, {
1733
- value: inputValue
1732
+ value: disableValueParsing ? values.value : values.floatValue
1734
1733
  })
1735
1734
  }));
1736
1735
  }