react-onclickoutside
Advanced tools
Comparing version 6.12.2 to 6.13.0
@@ -130,9 +130,7 @@ 'use strict';Object.defineProperty(exports,'__esModule',{value:true});var react=require('react'),reactDom=require('react-dom');function _inheritsLoose(subClass, superClass) { | ||
function getEventHandlerOptions(instance, eventName) { | ||
var handlerOptions = null; | ||
var handlerOptions = {}; | ||
var isTouchEvent = touchEvents.indexOf(eventName) !== -1; | ||
if (isTouchEvent && passiveEventSupport) { | ||
handlerOptions = { | ||
passive: !instance.props.preventDefault | ||
}; | ||
handlerOptions.passive = !instance.props.preventDefault; | ||
} | ||
@@ -139,0 +137,0 @@ |
@@ -130,9 +130,7 @@ import {createElement,Component}from'react';import {findDOMNode}from'react-dom';function _inheritsLoose(subClass, superClass) { | ||
function getEventHandlerOptions(instance, eventName) { | ||
var handlerOptions = null; | ||
var handlerOptions = {}; | ||
var isTouchEvent = touchEvents.indexOf(eventName) !== -1; | ||
if (isTouchEvent && passiveEventSupport) { | ||
handlerOptions = { | ||
passive: !instance.props.preventDefault | ||
}; | ||
handlerOptions.passive = !instance.props.preventDefault; | ||
} | ||
@@ -139,0 +137,0 @@ |
@@ -130,9 +130,7 @@ (function(g,f){typeof exports==='object'&&typeof module!=='undefined'?f(exports,require('react'),require('react-dom')):typeof define==='function'&&define.amd?define(['exports','react','react-dom'],f):(g=typeof globalThis!=='undefined'?globalThis:g||self,f(g.onClickOutside={},g.React,g.ReactDOM));}(this,(function(exports, react, reactDom){'use strict';function _inheritsLoose(subClass, superClass) { | ||
function getEventHandlerOptions(instance, eventName) { | ||
var handlerOptions = null; | ||
var handlerOptions = {}; | ||
var isTouchEvent = touchEvents.indexOf(eventName) !== -1; | ||
if (isTouchEvent && passiveEventSupport) { | ||
handlerOptions = { | ||
passive: !instance.props.preventDefault | ||
}; | ||
handlerOptions.passive = !instance.props.preventDefault; | ||
} | ||
@@ -139,0 +137,0 @@ |
@@ -130,9 +130,7 @@ (function(g,f){typeof exports==='object'&&typeof module!=='undefined'?f(exports,require('react'),require('react-dom')):typeof define==='function'&&define.amd?define(['exports','react','react-dom'],f):(g=typeof globalThis!=='undefined'?globalThis:g||self,f(g.onClickOutside={},g.React,g.ReactDOM));}(this,(function(exports, react, reactDom){'use strict';function _inheritsLoose(subClass, superClass) { | ||
function getEventHandlerOptions(instance, eventName) { | ||
var handlerOptions = null; | ||
var handlerOptions = {}; | ||
var isTouchEvent = touchEvents.indexOf(eventName) !== -1; | ||
if (isTouchEvent && passiveEventSupport) { | ||
handlerOptions = { | ||
passive: !instance.props.preventDefault | ||
}; | ||
handlerOptions.passive = !instance.props.preventDefault; | ||
} | ||
@@ -139,0 +137,0 @@ |
{ | ||
"name": "react-onclickoutside", | ||
"version": "6.12.2", | ||
"version": "6.13.0", | ||
"description": "An onClickOutside wrapper for React components", | ||
@@ -5,0 +5,0 @@ "main": "dist/react-onclickoutside.cjs.js", |
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
65295
7
1122