@reach/combobox
Advanced tools
Comparing version 0.0.5 to 0.1.0
@@ -486,3 +486,4 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
role: "option", | ||
"aria-selected": isActive | ||
"aria-selected": isActive, | ||
"data-highlighted": isActive ? "" : undefined | ||
// without this the menu will close from `onBlur`, but with it the | ||
@@ -489,0 +490,0 @@ // element can be `document.activeElement` and then our focus checks in |
@@ -505,3 +505,4 @@ "use strict"; | ||
role: "option", | ||
"aria-selected": isActive | ||
"aria-selected": isActive, | ||
"data-highlighted": isActive ? "" : undefined | ||
// without this the menu will close from `onBlur`, but with it the | ||
@@ -508,0 +509,0 @@ // element can be `document.activeElement` and then our focus checks in |
{ | ||
"name": "@reach/combobox", | ||
"version": "0.0.5", | ||
"version": "0.1.0", | ||
"description": "Accessible React Combobox (Autocomplete).", | ||
@@ -16,3 +16,3 @@ "author": "Ryan Florence <@ryanflorence>", | ||
"@reach/auto-id": "0.2.0", | ||
"@reach/popover": "^0.0.2", | ||
"@reach/popover": "^0.1.0", | ||
"@reach/portal": "^0.2.1", | ||
@@ -19,0 +19,0 @@ "@reach/utils": "^0.2.3", |
@@ -558,2 +558,3 @@ /* eslint-disable jsx-a11y/role-has-required-aria-props */ | ||
aria-selected={isActive} | ||
data-highlighted={isActive ? "" : undefined} | ||
// without this the menu will close from `onBlur`, but with it the | ||
@@ -560,0 +561,0 @@ // element can be `document.activeElement` and then our focus checks in |
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
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
128648
6
2120
1
+ Added@reach/popover@0.1.0(transitive)
- Removed@reach/popover@0.0.2(transitive)
Updated@reach/popover@^0.1.0