@vertigis/react-ui 13.2.1 → 13.3.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.
@@ -0,0 +1,2 @@
1
+ export { default } from "@mui/material/NoSsr";
2
+ export * from "@mui/material/NoSsr";
package/NoSsr/index.js ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from "@mui/material/NoSsr";
2
+ export * from "@mui/material/NoSsr";
@@ -105,6 +105,10 @@ const NumberInput = forwardRef(function NumberInput({ onChange, onBlur, value, d
105
105
  }
106
106
  setNumericValue(correctValue(value));
107
107
  }
108
+ else {
109
+ setTextValue("");
110
+ setNumericValue(NaN);
111
+ }
108
112
  // eslint-disable-next-line react-hooks/exhaustive-deps -- It's intentional to omit numericValue. We only want this to run when the incoming value changes, not when numericValue changes in handleChange().
109
113
  }, [value, formatNumber, correctValue]);
110
114
  const handleChange = useCallback(event => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertigis/react-ui",
3
- "version": "13.2.1",
3
+ "version": "13.3.1",
4
4
  "description": "Utilities and React components used in VertiGIS applications.",
5
5
  "keywords": [
6
6
  "vertigis",