downshift
Advanced tools
Comparing version 1.16.3 to 1.16.4
{ | ||
"name": "downshift", | ||
"version": "1.16.3", | ||
"version": "1.16.4", | ||
"description": "A set of primitives to build simple, flexible, WAI-ARIA compliant React autocomplete components", | ||
@@ -5,0 +5,0 @@ "main": "dist/downshift.cjs.js", |
@@ -20,3 +20,3 @@ <h1 align="center"> | ||
[![All Contributors](https://img.shields.io/badge/all_contributors-42-orange.svg?style=flat-square)](#contributors) | ||
[![All Contributors](https://img.shields.io/badge/all_contributors-43-orange.svg?style=flat-square)](#contributors) | ||
[![PRs Welcome][prs-badge]][prs] | ||
@@ -661,2 +661,3 @@ [![Chat][chat-badge]][chat] | ||
| [<img src="https://avatars1.githubusercontent.com/u/3241922?v=4" width="100px;"/><br /><sub><b>usΝ‘anΜΈdfΝrienΝdsΝ </b></sub>](http://ronak.io/)<br />[π](https://github.com/paypal/downshift/issues?q=author%3Ausandfriends "Bug reports") [π»](https://github.com/paypal/downshift/commits?author=usandfriends "Code") [β οΈ](https://github.com/paypal/downshift/commits?author=usandfriends "Tests") | [<img src="https://avatars0.githubusercontent.com/u/474248?v=4" width="100px;"/><br /><sub><b>Robin Drexler</b></sub>](https://www.robin-drexler.com/)<br />[π](https://github.com/paypal/downshift/issues?q=author%3Arobin-drexler "Bug reports") [π»](https://github.com/paypal/downshift/commits?author=robin-drexler "Code") | [<img src="https://avatars0.githubusercontent.com/u/7406639?v=4" width="100px;"/><br /><sub><b>Arturo Romero</b></sub>](http://arturoromero.info/)<br />[π‘](#example-arturoromeroslc "Examples") | [<img src="https://avatars0.githubusercontent.com/u/3998604?v=4" width="100px;"/><br /><sub><b>Dave Garwacke</b></sub>](http://www.warbyparker.com)<br />[π](https://github.com/paypal/downshift/commits?author=ifyoumakeit "Documentation") | [<img src="https://avatars3.githubusercontent.com/u/11758660?v=4" width="100px;"/><br /><sub><b>Ivan Pazhitnykh</b></sub>](http://linkedin.com/in/drapegnik)<br />[π»](https://github.com/paypal/downshift/commits?author=Drapegnik "Code") [β οΈ](https://github.com/paypal/downshift/commits?author=Drapegnik "Tests") | [<img src="https://avatars0.githubusercontent.com/u/61776?v=4" width="100px;"/><br /><sub><b>Luis Merino</b></sub>](https://github.com/Rendez)<br />[π](https://github.com/paypal/downshift/commits?author=Rendez "Documentation") | [<img src="https://avatars0.githubusercontent.com/u/8746094?v=4" width="100px;"/><br /><sub><b>Andrew Hansen</b></sub>](http://twitter.com/arahansen)<br />[π»](https://github.com/paypal/downshift/commits?author=arahansen "Code") [β οΈ](https://github.com/paypal/downshift/commits?author=arahansen "Tests") | | ||
| [<img src="https://avatars3.githubusercontent.com/u/20307225?v=4" width="100px;"/><br /><sub><b>John Whiles</b></sub>](http://www.johnwhiles.com)<br />[π»](https://github.com/paypal/downshift/commits?author=Jwhiles "Code") | | ||
<!-- ALL-CONTRIBUTORS-LIST:END --> | ||
@@ -663,0 +664,0 @@ |
import * as React from 'react' | ||
export interface DownshiftProps { | ||
children: ChildrenFunction | ||
defaultSelectedItem?: any | ||
defaultHighlightedIndex?: number | null | ||
defaultSelectedItem?: any | ||
defaultInputValue?: string | ||
defaultIsOpen?: boolean | ||
itemToString?: (item: any) => string | ||
selectedItemChanged?: (prevItem: any, item: any) => boolean | ||
getA11yStatusMessage?: (options: A11yStatusMessageOptions) => any | ||
itemToString?: (item: any) => string | ||
onChange?: ( | ||
@@ -15,3 +15,6 @@ selectedItem: any, | ||
) => void | ||
onOuterClick?: () => void | ||
onSelect?: ( | ||
selectedItem: any, | ||
stateAndHelpers: ControllerStateAndHelpers, | ||
) => void | ||
onStateChange?: ( | ||
@@ -21,13 +24,19 @@ options: StateChangeOptions, | ||
) => void | ||
onUserAction?: ( | ||
options: StateChangeOptions, | ||
onInputValueChange?: ( | ||
inputValue: string, | ||
stateAndHelpers: ControllerStateAndHelpers, | ||
) => void | ||
itemCount?: number | ||
highlightedIndex?: number | ||
inputValue?: string | ||
isOpen?: boolean | ||
selectedItem?: any | ||
isOpen?: boolean | ||
inputValue?: string | ||
highlightedIndex?: number | ||
children: ChildrenFunction | ||
id?: string | ||
environment?: Environment | ||
onOuterClick?: () => void | ||
onUserAction?: ( | ||
options: StateChangeOptions, | ||
stateAndHelpers: ControllerStateAndHelpers, | ||
) => void | ||
} | ||
@@ -34,0 +43,0 @@ |
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
544371
6598
713