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

@reach/combobox

Package Overview
Dependencies
Maintainers
4
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@reach/combobox - npm Package Compare versions

Comparing version 0.16.0 to 0.16.1

4

dist/declarations/src/index.d.ts

@@ -183,2 +183,6 @@ /**

/**
* TODO: Document this!
*/
index?: number;
/**
* The value to match against when suggesting.

@@ -185,0 +189,0 @@ *

5

dist/reach-combobox.cjs.dev.js

@@ -233,3 +233,3 @@ 'use strict';

_excluded4 = ["persistSelection", "as"],
_excluded5 = ["as", "children", "value", "onClick"],
_excluded5 = ["as", "children", "index", "value", "onClick"],
_excluded6 = ["as", "onClick", "onKeyDown"];

@@ -753,2 +753,3 @@

children = _ref5.children,
indexProp = _ref5.index,
value = _ref5.value,

@@ -775,3 +776,3 @@ onClick = _ref5.onClick,

}, [value, element]);
var index = descendants.useDescendant(descendant, ComboboxDescendantContext);
var index = descendants.useDescendant(descendant, ComboboxDescendantContext, indexProp);
var ref = composeRefs.useComposedRefs(forwardedRef, handleRefSet);

@@ -778,0 +779,0 @@ var isActive = navigationValue === value;

@@ -229,3 +229,3 @@ 'use strict';

_excluded4 = ["persistSelection", "as"],
_excluded5 = ["as", "children", "value", "onClick"],
_excluded5 = ["as", "children", "index", "value", "onClick"],
_excluded6 = ["as", "onClick", "onKeyDown"];

@@ -719,2 +719,3 @@

children = _ref5.children,
indexProp = _ref5.index,
value = _ref5.value,

@@ -741,3 +742,3 @@ onClick = _ref5.onClick,

}, [value, element]);
var index = descendants.useDescendant(descendant, ComboboxDescendantContext);
var index = descendants.useDescendant(descendant, ComboboxDescendantContext, indexProp);
var ref = composeRefs.useComposedRefs(forwardedRef, handleRefSet);

@@ -744,0 +745,0 @@ var isActive = navigationValue === value;

@@ -225,3 +225,3 @@ import { forwardRef, useRef, createElement, useContext, useCallback, useEffect, useMemo, Fragment, useState, useReducer } from 'react';

_excluded4 = ["persistSelection", "as"],
_excluded5 = ["as", "children", "value", "onClick"],
_excluded5 = ["as", "children", "index", "value", "onClick"],
_excluded6 = ["as", "onClick", "onKeyDown"];

@@ -745,2 +745,3 @@

children = _ref5.children,
indexProp = _ref5.index,
value = _ref5.value,

@@ -767,3 +768,3 @@ onClick = _ref5.onClick,

}, [value, element]);
var index = useDescendant(descendant, ComboboxDescendantContext);
var index = useDescendant(descendant, ComboboxDescendantContext, indexProp);
var ref = useComposedRefs(forwardedRef, handleRefSet);

@@ -770,0 +771,0 @@ var isActive = navigationValue === value;

{
"name": "@reach/combobox",
"version": "0.16.0",
"version": "0.16.1",
"description": "Accessible React Combobox (Autocomplete).",

@@ -17,3 +17,3 @@ "author": "React Training <hello@reacttraining.com>",

"@reach/auto-id": "0.16.0",
"@reach/descendants": "0.16.0",
"@reach/descendants": "0.16.1",
"@reach/popover": "0.16.0",

@@ -46,3 +46,3 @@ "@reach/portal": "0.16.0",

],
"gitHead": "e4c6093db14e3cc24c26794a002dbd8c866c0387"
"gitHead": "def3e4a96c6bc184ff78725e37854e542225d371"
}
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