focus-trap-react
Advanced tools
Comparing version 8.4.0 to 8.4.1
# Changelog | ||
## 8.4.1 | ||
### Patch Changes | ||
- a4c3105: Update PropTypes for clickOutsideDeactivates to match latest focus-trap. | ||
## 8.4.0 | ||
@@ -4,0 +10,0 @@ |
@@ -229,3 +229,3 @@ "use strict"; | ||
escapeDeactivates: PropTypes.bool, | ||
clickOutsideDeactivates: PropTypes.bool, | ||
clickOutsideDeactivates: PropTypes.oneOfType([PropTypes.bool, PropTypes.func]), | ||
returnFocusOnDeactivate: PropTypes.bool, | ||
@@ -232,0 +232,0 @@ setReturnFocus: PropTypes.oneOfType([PropTypes.instanceOf(ElementType), PropTypes.string, PropTypes.func]), |
{ | ||
"name": "focus-trap-react", | ||
"version": "8.4.0", | ||
"version": "8.4.1", | ||
"description": "A React component that traps focus.", | ||
@@ -5,0 +5,0 @@ "main": "dist/focus-trap-react.js", |
@@ -192,3 +192,6 @@ const React = require('react'); | ||
escapeDeactivates: PropTypes.bool, | ||
clickOutsideDeactivates: PropTypes.bool, | ||
clickOutsideDeactivates: PropTypes.oneOfType([ | ||
PropTypes.bool, | ||
PropTypes.func, | ||
]), | ||
returnFocusOnDeactivate: PropTypes.bool, | ||
@@ -195,0 +198,0 @@ setReturnFocus: PropTypes.oneOfType([ |
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
47328
402