@react-aria/searchfield
Advanced tools
Comparing version 3.0.0-nightly.693 to 3.0.0-nightly.697
@@ -9,3 +9,3 @@ import { AriaButtonProps } from "@react-types/button"; | ||
/** Props for the input element. */ | ||
inputProps: InputHTMLAttributes<HTMLInputElement>; | ||
inputProps: InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement>; | ||
/** Props for the clear button. */ | ||
@@ -20,4 +20,4 @@ clearButtonProps: AriaButtonProps; | ||
*/ | ||
export function useSearchField(props: AriaSearchFieldProps, state: SearchFieldState, inputRef: RefObject<HTMLInputElement & HTMLTextAreaElement>): SearchFieldAria; | ||
export function useSearchField(props: AriaSearchFieldProps, state: SearchFieldState, inputRef: RefObject<HTMLInputElement | HTMLTextAreaElement>): SearchFieldAria; | ||
//# sourceMappingURL=types.d.ts.map |
{ | ||
"name": "@react-aria/searchfield", | ||
"version": "3.0.0-nightly.693+9d3b925e", | ||
"version": "3.0.0-nightly.697+b8e7a96e", | ||
"description": "Spectrum UI components in React", | ||
@@ -21,10 +21,10 @@ "license": "Apache-2.0", | ||
"@babel/runtime": "^7.6.2", | ||
"@react-aria/i18n": "3.0.0-nightly.693+9d3b925e", | ||
"@react-aria/interactions": "3.0.0-nightly.693+9d3b925e", | ||
"@react-aria/textfield": "3.0.0-nightly.693+9d3b925e", | ||
"@react-aria/utils": "3.0.0-nightly.693+9d3b925e", | ||
"@react-stately/searchfield": "3.0.0-nightly.693+9d3b925e", | ||
"@react-types/button": "3.2.1-nightly.2371+9d3b925e", | ||
"@react-types/searchfield": "3.0.0-nightly.693+9d3b925e", | ||
"@react-types/shared": "3.0.0-nightly.693+9d3b925e" | ||
"@react-aria/i18n": "3.0.0-nightly.697+b8e7a96e", | ||
"@react-aria/interactions": "3.0.0-nightly.697+b8e7a96e", | ||
"@react-aria/textfield": "3.0.0-nightly.697+b8e7a96e", | ||
"@react-aria/utils": "3.0.0-nightly.697+b8e7a96e", | ||
"@react-stately/searchfield": "3.0.0-nightly.697+b8e7a96e", | ||
"@react-types/button": "3.2.1-nightly.2375+b8e7a96e", | ||
"@react-types/searchfield": "3.0.0-nightly.697+b8e7a96e", | ||
"@react-types/shared": "3.0.0-nightly.697+b8e7a96e" | ||
}, | ||
@@ -37,3 +37,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "9d3b925ee5bbea9d63db95a53a32d03e9a1a686e" | ||
"gitHead": "b8e7a96e0b55f9875146f58484f97a1d9c1b04d8" | ||
} |
@@ -26,3 +26,3 @@ /* | ||
/** Props for the input element. */ | ||
inputProps: InputHTMLAttributes<HTMLInputElement>, | ||
inputProps: InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement>, | ||
/** Props for the clear button. */ | ||
@@ -41,3 +41,3 @@ clearButtonProps: AriaButtonProps | ||
state: SearchFieldState, | ||
inputRef: RefObject<HTMLInputElement & HTMLTextAreaElement> | ||
inputRef: RefObject<HTMLInputElement | HTMLTextAreaElement> | ||
): SearchFieldAria { | ||
@@ -44,0 +44,0 @@ let formatMessage = useMessageFormatter(intlMessages); |
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
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
68025