@os-design/use-click-outside
Advanced tools
Comparing version 1.0.13 to 1.0.14
@@ -7,4 +7,4 @@ "use strict"; | ||
exports["default"] = void 0; | ||
var _useEvent = _interopRequireDefault(require("@os-design/use-event")); | ||
var _react = require("react"); | ||
var _useEvent = _interopRequireDefault(require("@os-design/use-event")); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
@@ -11,0 +11,0 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } |
@@ -0,3 +1,3 @@ | ||
import useEvent from '@os-design/use-event'; | ||
import { useCallback, useEffect, useRef } from 'react'; | ||
import useEvent from '@os-design/use-event'; | ||
const useClickOutside = (target, listener) => { | ||
@@ -4,0 +4,0 @@ const listenerRef = useRef(); |
{ | ||
"name": "@os-design/use-click-outside", | ||
"version": "1.0.13", | ||
"version": "1.0.14", | ||
"license": "UNLICENSED", | ||
@@ -37,3 +37,3 @@ "repository": "git@gitlab.com:os-team/libs/os-design.git", | ||
}, | ||
"gitHead": "88df07f5c7c0c5534a24b84689854528fa514153" | ||
"gitHead": "0e88d3afc41e36cee61222a039ef1aa4d08115b5" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
8970