Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More β†’
Socket
Sign inDemoInstall
Socket

downshift

Package Overview
Dependencies
Maintainers
1
Versions
354
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

downshift - npm Package Compare versions

Comparing version 1.16.3 to 1.16.4

2

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚑️ by Socket Inc