@oliasoft-open-source/react-ui-library 3.4.1 → 3.4.2

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -10,7 +10,7 @@ import * as PropTypes from "prop-types";
10
10
  import PropTypes__default from "prop-types";
11
11
  import { jsx, jsxs, Fragment as Fragment$1 } from "react/jsx-runtime";
12
12
  import ReactDOM, { createPortal, unstable_batchedUpdates, findDOMNode as findDOMNode$2, render } from "react-dom";
13
- import { validateNumber, validNumberSchema, toNum } from "@oliasoft-open-source/units";
13
+ import { validateNumber, toNum } from "@oliasoft-open-source/units";
14
14
  const global$2 = "";
15
15
  var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
16
16
  function getDefaultExportFromCjs(x2) {
@@ -70624,7 +70624,7 @@ const NumberInput = ({
70624
70624
  const [validationError, setValidationError] = useState(null);
70625
70625
  const stringName = (name2 == null ? void 0 : name2.fieldName) || name2;
70626
70626
  const validateInputValue = (value2) => {
70627
- let validation = validateNumber(value2, validNumberSchema);
70627
+ let validation = validateNumber(value2);
70628
70628
  if (allowEmpty && value2 === "" || validation.valid) {
70629
70629
  return {
70630
70630
  ...validation,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oliasoft-open-source/react-ui-library",
3
- "version": "3.4.1",
3
+ "version": "3.4.2",
4
4
  "description": "Reusable UI components for React projects",
5
5
  "homepage": "https://oliasoft-open-source.gitlab.io/react-ui-library",
6
6
  "bugs": {