@react-aria/numberfield
Advanced tools
Comparing version 3.0.0-nightly.1210 to 3.0.0-nightly.1217
@@ -204,3 +204,5 @@ var { | ||
onKeyDown, | ||
onKeyUp | ||
onKeyUp, | ||
description, | ||
errorMessage | ||
} = props; | ||
@@ -305,3 +307,5 @@ let { | ||
labelProps, | ||
inputProps: textFieldProps | ||
inputProps: textFieldProps, | ||
descriptionProps, | ||
errorMessageProps | ||
} = useFormattedTextField({ | ||
@@ -327,3 +331,5 @@ label, | ||
onKeyDown, | ||
onKeyUp | ||
onKeyUp, | ||
description, | ||
errorMessage | ||
}, state, inputRef); | ||
@@ -412,3 +418,5 @@ let inputProps = mergeProps(spinButtonProps, textFieldProps, focusProps, { | ||
incrementButtonProps, | ||
decrementButtonProps | ||
decrementButtonProps, | ||
errorMessageProps, | ||
descriptionProps | ||
}; | ||
@@ -415,0 +423,0 @@ } |
@@ -171,3 +171,5 @@ import { useSpinButton } from "@react-aria/spinbutton"; | ||
onKeyDown, | ||
onKeyUp | ||
onKeyUp, | ||
description, | ||
errorMessage | ||
} = props; | ||
@@ -272,3 +274,5 @@ let { | ||
labelProps, | ||
inputProps: textFieldProps | ||
inputProps: textFieldProps, | ||
descriptionProps, | ||
errorMessageProps | ||
} = useFormattedTextField({ | ||
@@ -294,3 +298,5 @@ label, | ||
onKeyDown, | ||
onKeyUp | ||
onKeyUp, | ||
description, | ||
errorMessage | ||
}, state, inputRef); | ||
@@ -379,5 +385,7 @@ let inputProps = mergeProps(spinButtonProps, textFieldProps, focusProps, { | ||
incrementButtonProps, | ||
decrementButtonProps | ||
decrementButtonProps, | ||
errorMessageProps, | ||
descriptionProps | ||
}; | ||
} | ||
//# sourceMappingURL=module.js.map |
@@ -16,2 +16,6 @@ import { AriaButtonProps } from "@react-types/button"; | ||
decrementButtonProps: AriaButtonProps; | ||
/** Props for the number field's description element. */ | ||
descriptionProps: HTMLAttributes<HTMLElement>; | ||
/** Props for the number field's error message element. */ | ||
errorMessageProps: HTMLAttributes<HTMLElement>; | ||
} | ||
@@ -18,0 +22,0 @@ /** |
{ | ||
"name": "@react-aria/numberfield", | ||
"version": "3.0.0-nightly.1210+07f8cb4ec", | ||
"version": "3.0.0-nightly.1217+a69f2bd2f", | ||
"description": "Spectrum UI components in React", | ||
@@ -21,13 +21,13 @@ "license": "Apache-2.0", | ||
"@babel/runtime": "^7.6.2", | ||
"@react-aria/i18n": "3.0.0-nightly.1210+07f8cb4ec", | ||
"@react-aria/interactions": "3.0.0-nightly.1210+07f8cb4ec", | ||
"@react-aria/live-announcer": "3.0.0-nightly.1210+07f8cb4ec", | ||
"@react-aria/spinbutton": "3.0.0-nightly.1210+07f8cb4ec", | ||
"@react-aria/textfield": "3.0.0-nightly.1210+07f8cb4ec", | ||
"@react-aria/utils": "3.0.0-nightly.1210+07f8cb4ec", | ||
"@react-stately/numberfield": "3.0.0-nightly.1210+07f8cb4ec", | ||
"@react-types/button": "3.4.2-nightly.2895+07f8cb4ec", | ||
"@react-types/numberfield": "3.0.2-nightly.2895+07f8cb4ec", | ||
"@react-types/shared": "3.0.0-nightly.1210+07f8cb4ec", | ||
"@react-types/textfield": "3.0.0-nightly.1210+07f8cb4ec" | ||
"@react-aria/i18n": "3.0.0-nightly.1217+a69f2bd2f", | ||
"@react-aria/interactions": "3.0.0-nightly.1217+a69f2bd2f", | ||
"@react-aria/live-announcer": "3.0.0-nightly.1217+a69f2bd2f", | ||
"@react-aria/spinbutton": "3.0.0-nightly.1217+a69f2bd2f", | ||
"@react-aria/textfield": "3.0.0-nightly.1217+a69f2bd2f", | ||
"@react-aria/utils": "3.0.0-nightly.1217+a69f2bd2f", | ||
"@react-stately/numberfield": "3.0.0-nightly.1217+a69f2bd2f", | ||
"@react-types/button": "3.4.2-nightly.2902+a69f2bd2f", | ||
"@react-types/numberfield": "3.0.2-nightly.2902+a69f2bd2f", | ||
"@react-types/shared": "3.0.0-nightly.1217+a69f2bd2f", | ||
"@react-types/textfield": "3.0.0-nightly.1217+a69f2bd2f" | ||
}, | ||
@@ -41,3 +41,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "07f8cb4ecc7cee38d9574524388865e5ce3da57d" | ||
"gitHead": "a69f2bd2f8a74977ecb99e0ddb22d3d34f0e0dbb" | ||
} |
@@ -48,3 +48,7 @@ /* | ||
/** Props for the decrement button, to be passed to [useButton](useButton.html). */ | ||
decrementButtonProps: AriaButtonProps | ||
decrementButtonProps: AriaButtonProps, | ||
/** Props for the number field's description element. */ | ||
descriptionProps: HTMLAttributes<HTMLElement>, | ||
/** Props for the number field's error message element. */ | ||
errorMessageProps: HTMLAttributes<HTMLElement> | ||
} | ||
@@ -74,3 +78,5 @@ | ||
onKeyDown, | ||
onKeyUp | ||
onKeyUp, | ||
description, | ||
errorMessage | ||
} = props; | ||
@@ -171,3 +177,3 @@ | ||
let {labelProps, inputProps: textFieldProps} = useFormattedTextField({ | ||
let {labelProps, inputProps: textFieldProps, descriptionProps, errorMessageProps} = useFormattedTextField({ | ||
label, | ||
@@ -191,3 +197,5 @@ autoFocus, | ||
onKeyDown, | ||
onKeyUp | ||
onKeyUp, | ||
description, | ||
errorMessage | ||
}, state, inputRef); | ||
@@ -281,4 +289,6 @@ | ||
incrementButtonProps, | ||
decrementButtonProps | ||
decrementButtonProps, | ||
errorMessageProps, | ||
descriptionProps | ||
}; | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
125108
1078