@reach/combobox
Advanced tools
Comparing version 0.16.0 to 0.16.1
@@ -183,2 +183,6 @@ /** | ||
/** | ||
* TODO: Document this! | ||
*/ | ||
index?: number; | ||
/** | ||
* The value to match against when suggesting. | ||
@@ -185,0 +189,0 @@ * |
@@ -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" | ||
} |
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
139134
3582
+ Added@reach/descendants@0.16.1(transitive)
- Removed@reach/descendants@0.16.0(transitive)
Updated@reach/descendants@0.16.1