@types/react-autosuggest
Advanced tools
Comparing version 9.3.9 to 9.3.10
@@ -15,3 +15,12 @@ // Type definitions for react-autosuggest 9.3 | ||
declare class Autosuggest<T = any> extends React.Component<Autosuggest.AutosuggestProps<T>> {} | ||
declare class Autosuggest<T = any> extends React.Component< | ||
Autosuggest.AutosuggestProps<T>, | ||
Autosuggest.AutosuggestState<T> | ||
> { | ||
/** | ||
* Autosuggest exposes these class properties to the parent component. | ||
* They can be accessed through `ref`. | ||
*/ | ||
input: HTMLInputElement | undefined; | ||
} | ||
@@ -203,2 +212,11 @@ export = Autosuggest; | ||
} | ||
interface AutosuggestState<TSuggestion> { | ||
isFocused: boolean; | ||
isCollapsed: boolean; | ||
highlightedSectionIndex: number | null; | ||
highlightedSuggestionIndex: number | null; | ||
highlightedSuggestion: TSuggestion | null; | ||
valueBeforeUpDown: TSuggestion | null; | ||
} | ||
} |
{ | ||
"name": "@types/react-autosuggest", | ||
"version": "9.3.9", | ||
"version": "9.3.10", | ||
"description": "TypeScript definitions for react-autosuggest", | ||
@@ -54,4 +54,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "304c4fc5e2f21acacb3d29fed4caab07659572052a464a2579fb440edb6d3ba9", | ||
"typesPublisherContentHash": "1713759d660d7242fbbb9323f91d066513255da3c2606eb4ed9cd617b812502e", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -5,3 +5,3 @@ # Installation | ||
# Summary | ||
This package contains type definitions for react-autosuggest ( http://react-autosuggest.js.org/ ). | ||
This package contains type definitions for react-autosuggest (http://react-autosuggest.js.org/). | ||
@@ -12,3 +12,3 @@ # Details | ||
Additional Details | ||
* Last updated: Sun, 16 Jun 2019 06:59:11 GMT | ||
* Last updated: Thu, 01 Aug 2019 21:52:22 GMT | ||
* Dependencies: @types/react | ||
@@ -18,2 +18,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Nicolas Schmitt <https://github.com/nicolas-schmitt>, Philip Ottesen <https://github.com/pjo256>, Robert Essig <https://github.com/robessog>, Terry Bayne <https://github.com/tbayne>, Christopher Deutsch <https://github.com/cdeutsch>, Kevin Ross <https://github.com/rosskevin>, Thomas den Hollander <https://github.com/ThomasdenH>. | ||
These definitions were written by Nicolas Schmitt <https://github.com/nicolas-schmitt>, Philip Ottesen <https://github.com/pjo256>, Robert Essig <https://github.com/robessog>, Terry Bayne <https://github.com/tbayne>, Christopher Deutsch <https://github.com/cdeutsch>, Kevin Ross <https://github.com/rosskevin>, and Thomas den Hollander <https://github.com/ThomasdenH>. |
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
11848
202