@vitrosoftware/common-ui-ts 1.1.92 → 1.1.93
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.
package/dist/index.js
CHANGED
|
@@ -61708,7 +61708,7 @@ var Viewer = function Viewer(props) {
|
|
|
61708
61708
|
};
|
|
61709
61709
|
|
|
61710
61710
|
var name = "@vitrosoftware/common-ui-ts";
|
|
61711
|
-
var version$1 = "1.1.
|
|
61711
|
+
var version$1 = "1.1.93";
|
|
61712
61712
|
var description = "vitro software common ui ts";
|
|
61713
61713
|
var author = "";
|
|
61714
61714
|
var license = "MIT";
|
|
@@ -62384,9 +62384,8 @@ var NumberInput = React.forwardRef(function (props, ref) {
|
|
|
62384
62384
|
var secondLocaleSeparator = localeSeparator === CTRL.COMMA ? CTRL.DOT : CTRL.COMMA;
|
|
62385
62385
|
var inputRef = React.useRef();
|
|
62386
62386
|
React.useEffect(function () {
|
|
62387
|
-
|
|
62388
|
-
|
|
62389
|
-
}
|
|
62387
|
+
var value = props.value ? props.value : CTRL.EMPTY;
|
|
62388
|
+
setInputValue(getValue(value.toString()));
|
|
62390
62389
|
}, [props.value]);
|
|
62391
62390
|
React.useImperativeHandle(ref, function () {
|
|
62392
62391
|
return {
|