@react-stately/numberfield
Advanced tools
Comparing version 3.0.0-nightly.992 to 3.0.0-nightly.994
@@ -73,3 +73,3 @@ var { | ||
setNumberValue(NaN); | ||
setInputValue(''); | ||
setInputValue(value === undefined ? '' : format(numberValue)); | ||
return; | ||
@@ -76,0 +76,0 @@ } // if it failed to parse, then reset input to formatted version of current number |
@@ -53,3 +53,3 @@ import { useCallback, useEffect, useMemo, useRef, useState } from "react"; | ||
setNumberValue(NaN); | ||
setInputValue(''); | ||
setInputValue(value === undefined ? '' : format(numberValue)); | ||
return; | ||
@@ -56,0 +56,0 @@ } // if it failed to parse, then reset input to formatted version of current number |
{ | ||
"name": "@react-stately/numberfield", | ||
"version": "3.0.0-nightly.992+d1844573", | ||
"version": "3.0.0-nightly.994+faa93480", | ||
"description": "Spectrum UI components in React", | ||
@@ -21,6 +21,6 @@ "license": "Apache-2.0", | ||
"@babel/runtime": "^7.6.2", | ||
"@internationalized/number": "3.0.0-nightly.2672+d1844573", | ||
"@react-stately/utils": "3.0.0-nightly.992+d1844573", | ||
"@react-types/numberfield": "3.0.0-nightly.2672+d1844573", | ||
"@react-types/shared": "3.0.0-nightly.992+d1844573" | ||
"@internationalized/number": "3.0.0-nightly.2674+faa93480", | ||
"@react-stately/utils": "3.0.0-nightly.994+faa93480", | ||
"@react-types/numberfield": "3.0.0-nightly.2674+faa93480", | ||
"@react-types/shared": "3.0.0-nightly.994+faa93480" | ||
}, | ||
@@ -33,3 +33,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "d1844573fa992f7a34285ebafdc08cb407829095" | ||
"gitHead": "faa9348097bf62403e37e32daf897cdad5512e09" | ||
} |
@@ -116,3 +116,3 @@ /* | ||
setNumberValue(NaN); | ||
setInputValue(''); | ||
setInputValue(value === undefined ? '' : format(numberValue)); | ||
return; | ||
@@ -119,0 +119,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
77620