react-focus-lock
Advanced tools
Comparing version 2.4.1 to 2.5.0
@@ -0,1 +1,15 @@ | ||
# [2.5.0](https://github.com/theKashey/react-focus-lock/compare/v2.4.2...v2.5.0) (2020-11-16) | ||
## [2.4.2](https://github.com/theKashey/react-focus-lock/compare/v2.4.1...v2.4.2) (2020-11-16) | ||
### Bug Fixes | ||
* update focus-lock ([30f8459](https://github.com/theKashey/react-focus-lock/commit/30f84595bfcf3b866c6802bfc0662741967ae21b)) | ||
* widen peerDeps to React 17 ([e32e793](https://github.com/theKashey/react-focus-lock/commit/e32e7932043551c3339d2ad5e0a08a925e67f780)) | ||
## [2.4.1](https://github.com/theKashey/react-focus-lock/compare/v2.4.0...v2.4.1) (2020-07-18) | ||
@@ -2,0 +16,0 @@ |
@@ -30,3 +30,3 @@ "use strict"; | ||
*/ | ||
var FocusLockCombination = /*#__PURE__*/React.forwardRef(function (props, ref) { | ||
var FocusLockCombination = /*#__PURE__*/React.forwardRef(function FocusLockUICombination(props, ref) { | ||
return /*#__PURE__*/React.createElement(_Lock["default"], (0, _extends2["default"])({ | ||
@@ -42,4 +42,4 @@ sideCar: _Trap["default"], | ||
FocusLockCombination.propTypes = propTypes; | ||
FocusLockCombination.propTypes = process.env.NODE_ENV !== "production" ? propTypes : {}; | ||
var _default = FocusLockCombination; | ||
exports["default"] = _default; |
@@ -37,3 +37,3 @@ "use strict"; | ||
var emptyArray = []; | ||
var FocusLock = /*#__PURE__*/React.forwardRef(function (props, parentRef) { | ||
var FocusLock = /*#__PURE__*/React.forwardRef(function FocusLockUI(props, parentRef) { | ||
var _objectSpread2; | ||
@@ -40,0 +40,0 @@ |
@@ -15,3 +15,3 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; | ||
var FocusLockCombination = /*#__PURE__*/React.forwardRef(function (props, ref) { | ||
var FocusLockCombination = /*#__PURE__*/React.forwardRef(function FocusLockUICombination(props, ref) { | ||
return /*#__PURE__*/React.createElement(FocusLockUI, _extends({ | ||
@@ -27,3 +27,3 @@ sideCar: FocusTrap, | ||
FocusLockCombination.propTypes = propTypes; | ||
FocusLockCombination.propTypes = process.env.NODE_ENV !== "production" ? propTypes : {}; | ||
export default FocusLockCombination; |
@@ -9,3 +9,3 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
var emptyArray = []; | ||
var FocusLock = /*#__PURE__*/React.forwardRef(function (props, parentRef) { | ||
var FocusLock = /*#__PURE__*/React.forwardRef(function FocusLockUI(props, parentRef) { | ||
var _extends2; | ||
@@ -12,0 +12,0 @@ |
{ | ||
"name": "react-focus-lock", | ||
"version": "2.4.1", | ||
"version": "2.5.0", | ||
"description": "It is a trap! (for a focus)", | ||
@@ -51,3 +51,3 @@ "main": "dist/cjs/index.js", | ||
"peerDependencies": { | ||
"react": "^16.8.0" | ||
"react": "^16.8.0 || ^17.0.0" | ||
}, | ||
@@ -98,3 +98,3 @@ "devDependencies": { | ||
"@babel/runtime": "^7.0.0", | ||
"focus-lock": "^0.7.0", | ||
"focus-lock": "^0.8.1", | ||
"prop-types": "^15.6.2", | ||
@@ -101,0 +101,0 @@ "react-clientside-effect": "^1.2.2", |
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
83043
20
+ Addedfocus-lock@0.8.1(transitive)
+ Addedreact@17.0.2(transitive)
+ Addedtslib@1.14.1(transitive)
- Removedfocus-lock@0.7.0(transitive)
- Removedreact@16.14.0(transitive)
Updatedfocus-lock@^0.8.1