@reach/combobox
Advanced tools
Comparing version 0.16.4 to 0.16.5
@@ -438,2 +438,3 @@ 'use strict'; | ||
var isControlledRef = React.useRef(false); | ||
var isExpanded = popoverIsExpanded(state); | ||
var context = { | ||
@@ -447,3 +448,3 @@ ariaLabel: ariaLabel, | ||
inputRef: inputRef, | ||
isExpanded: popoverIsExpanded(state), | ||
isExpanded: isExpanded, | ||
listboxId: listboxId, | ||
@@ -468,6 +469,7 @@ onSelect: onSelect || noop.noop, | ||
"data-state": getDataState(state), | ||
"data-expanded": isExpanded || undefined, | ||
ref: forwardedRef | ||
}), typeCheck.isFunction(children) ? children({ | ||
id: id, | ||
isExpanded: popoverIsExpanded(state), | ||
isExpanded: isExpanded, | ||
navigationValue: (_data$navigationValue = data.navigationValue) != null ? _data$navigationValue : null, | ||
@@ -707,2 +709,3 @@ state: state | ||
ref: ref, | ||
"data-expanded": isExpanded || undefined, | ||
position: position, | ||
@@ -709,0 +712,0 @@ targetRef: inputRef |
@@ -433,2 +433,3 @@ 'use strict'; | ||
var isControlledRef = React.useRef(false); | ||
var isExpanded = popoverIsExpanded(state); | ||
var context = { | ||
@@ -442,3 +443,3 @@ ariaLabel: ariaLabel, | ||
inputRef: inputRef, | ||
isExpanded: popoverIsExpanded(state), | ||
isExpanded: isExpanded, | ||
listboxId: listboxId, | ||
@@ -463,6 +464,7 @@ onSelect: onSelect || noop.noop, | ||
"data-state": getDataState(state), | ||
"data-expanded": isExpanded || undefined, | ||
ref: forwardedRef | ||
}), typeCheck.isFunction(children) ? children({ | ||
id: id, | ||
isExpanded: popoverIsExpanded(state), | ||
isExpanded: isExpanded, | ||
navigationValue: (_data$navigationValue = data.navigationValue) != null ? _data$navigationValue : null, | ||
@@ -677,2 +679,3 @@ state: state | ||
ref: ref, | ||
"data-expanded": isExpanded || undefined, | ||
position: position, | ||
@@ -679,0 +682,0 @@ targetRef: inputRef |
@@ -429,2 +429,3 @@ import { forwardRef, useRef, createElement, useContext, useEffect, useCallback, useMemo, Fragment, useState, useReducer } from 'react'; | ||
var isControlledRef = useRef(false); | ||
var isExpanded = popoverIsExpanded(state); | ||
var context = { | ||
@@ -438,3 +439,3 @@ ariaLabel: ariaLabel, | ||
inputRef: inputRef, | ||
isExpanded: popoverIsExpanded(state), | ||
isExpanded: isExpanded, | ||
listboxId: listboxId, | ||
@@ -459,6 +460,7 @@ onSelect: onSelect || noop, | ||
"data-state": getDataState(state), | ||
"data-expanded": isExpanded || undefined, | ||
ref: forwardedRef | ||
}), isFunction(children) ? children({ | ||
id: id, | ||
isExpanded: popoverIsExpanded(state), | ||
isExpanded: isExpanded, | ||
navigationValue: (_data$navigationValue = data.navigationValue) != null ? _data$navigationValue : null, | ||
@@ -698,2 +700,3 @@ state: state | ||
ref: ref, | ||
"data-expanded": isExpanded || undefined, | ||
position: position, | ||
@@ -700,0 +703,0 @@ targetRef: inputRef |
{ | ||
"name": "@reach/combobox", | ||
"version": "0.16.4", | ||
"version": "0.16.5", | ||
"description": "Accessible React Combobox (Autocomplete).", | ||
@@ -5,0 +5,0 @@ "author": "React Training <hello@reacttraining.com>", |
142964
3664