Socket
Socket
Sign inDemoInstall

focus-trap-react

Package Overview
Dependencies
Maintainers
5
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

focus-trap-react - npm Package Compare versions

Comparing version 8.4.0 to 8.4.1

6

CHANGELOG.md
# Changelog
## 8.4.1
### Patch Changes
- a4c3105: Update PropTypes for clickOutsideDeactivates to match latest focus-trap.
## 8.4.0

@@ -4,0 +10,0 @@

2

dist/focus-trap-react.js

@@ -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([

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc