@types/react-autosuggest
Advanced tools
Comparing version 10.1.4 to 10.1.5
@@ -79,3 +79,3 @@ // Type definitions for react-autosuggest 10.1 | ||
value: string; | ||
ref?: React.Ref<HTMLInputElement>; | ||
ref?: React.Ref<HTMLInputElement> | undefined; | ||
} | ||
@@ -86,5 +86,5 @@ | ||
onChange: (event: React.FormEvent<HTMLElement>, params: ChangeEvent) => void; | ||
onBlur?: (event: React.FocusEvent<HTMLElement>, params?: BlurEvent<TSuggestion>) => void; | ||
onBlur?: ((event: React.FocusEvent<HTMLElement>, params?: BlurEvent<TSuggestion>) => void) | undefined; | ||
value: string; | ||
ref?: React.Ref<HTMLInputElement>; | ||
ref?: React.Ref<HTMLInputElement> | undefined; | ||
} | ||
@@ -157,7 +157,7 @@ | ||
*/ | ||
alwaysRenderSuggestions?: boolean; | ||
alwaysRenderSuggestions?: boolean | undefined; | ||
/** | ||
* Set it to false if you don't want Autosuggest to keep the input focused when suggestions are clicked/tapped. | ||
*/ | ||
focusInputOnSuggestionClick?: boolean; | ||
focusInputOnSuggestionClick?: boolean | undefined; | ||
/** | ||
@@ -170,7 +170,7 @@ * Implement it to teach Autosuggest what should be the input value when suggestion is clicked. | ||
*/ | ||
highlightFirstSuggestion?: boolean; | ||
highlightFirstSuggestion?: boolean | undefined; | ||
/** | ||
* Use it only if you have multiple Autosuggest components on a page. | ||
*/ | ||
id?: string; | ||
id?: string | undefined; | ||
/** | ||
@@ -183,7 +183,7 @@ * Pass through arbitrary props to the input. It must contain at least value and onChange. | ||
*/ | ||
containerProps?: ContainerProps; | ||
containerProps?: ContainerProps | undefined; | ||
/** | ||
* Will be called every time the highlighted suggestion changes. | ||
*/ | ||
onSuggestionHighlighted?: OnSuggestionHighlighted; | ||
onSuggestionHighlighted?: OnSuggestionHighlighted | undefined; | ||
/** | ||
@@ -196,15 +196,15 @@ * Will be called every time you need to recalculate suggestions. | ||
*/ | ||
onSuggestionsClearRequested?: OnSuggestionsClearRequested; | ||
onSuggestionsClearRequested?: OnSuggestionsClearRequested | undefined; | ||
/** | ||
* Will be called every time suggestion is selected via mouse or keyboard. | ||
*/ | ||
onSuggestionSelected?: OnSuggestionSelected<TSuggestion>; | ||
onSuggestionSelected?: OnSuggestionSelected<TSuggestion> | undefined; | ||
/** | ||
* Use it only if you need to customize the rendering of the input. | ||
*/ | ||
renderInputComponent?: RenderInputComponent; | ||
renderInputComponent?: RenderInputComponent | undefined; | ||
/** | ||
* Use it if you want to customize things inside the suggestions container beyond rendering the suggestions themselves. | ||
*/ | ||
renderSuggestionsContainer?: RenderSuggestionsContainer; | ||
renderSuggestionsContainer?: RenderSuggestionsContainer | undefined; | ||
/** | ||
@@ -218,7 +218,7 @@ * Use your imagination to define how suggestions are rendered. | ||
*/ | ||
shouldRenderSuggestions?: ShouldRenderSuggestions; | ||
shouldRenderSuggestions?: ShouldRenderSuggestions | undefined; | ||
/** | ||
* Use your imagination to style the Autosuggest. | ||
*/ | ||
theme?: Theme; | ||
theme?: Theme | undefined; | ||
} | ||
@@ -230,3 +230,3 @@ | ||
*/ | ||
multiSection?: false; | ||
multiSection?: false | undefined; | ||
/** | ||
@@ -250,7 +250,7 @@ * These are the suggestions that will be displayed. Items can take an arbitrary shape. | ||
*/ | ||
getSectionSuggestions?: GetSectionSuggestions<TSuggestion, TSection>; | ||
getSectionSuggestions?: GetSectionSuggestions<TSuggestion, TSection> | undefined; | ||
/** | ||
* Use your imagination to define how section titles are rendered. | ||
*/ | ||
renderSectionTitle?: RenderSectionTitle; | ||
renderSectionTitle?: RenderSectionTitle | undefined; | ||
} | ||
@@ -257,0 +257,0 @@ |
{ | ||
"name": "@types/react-autosuggest", | ||
"version": "10.1.4", | ||
"version": "10.1.5", | ||
"description": "TypeScript definitions for react-autosuggest", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-autosuggest", | ||
"license": "MIT", | ||
@@ -59,4 +60,4 @@ "contributors": [ | ||
}, | ||
"typesPublisherContentHash": "6e111034b5eb43964f5ae75a7ea9b552b9584a73f13075c86653af5879163996", | ||
"typeScriptVersion": "3.5" | ||
"typesPublisherContentHash": "e51c73c97ade2ed6523dc8e39008b226905f0ed611b92ac7efad1683b74d98ea", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Mon, 05 Apr 2021 12:01:43 GMT | ||
* Last updated: Wed, 07 Jul 2021 17:02:53 GMT | ||
* Dependencies: [@types/react](https://npmjs.com/package/@types/react) | ||
@@ -14,0 +14,0 @@ * Global values: none |
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
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
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
13913
0