@teambit/base-ui.hook.use-click-outside
Advanced tools
Comparing version 0.5.3 to 0.5.4
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; | ||
result["default"] = mod; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
@@ -13,2 +25,3 @@ }; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.UsingWrapper = exports.UsingClassWithRefPolyfill = exports.UsingHookAndRefPolyfill = exports.UsingHook = void 0; | ||
const react_1 = __importStar(require("react")); | ||
@@ -15,0 +28,0 @@ // @ts-ignore |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ClickOutside = void 0; | ||
const use_click_outside_1 = require("./use-click-outside"); | ||
@@ -4,0 +5,0 @@ /** useClickOutside wrapper, for components that can't use hooks directly */ |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.useClickOutside = exports.ClickOutside = void 0; | ||
var click_outside_1 = require("./click-outside"); | ||
exports.ClickOutside = click_outside_1.ClickOutside; | ||
Object.defineProperty(exports, "ClickOutside", { enumerable: true, get: function () { return click_outside_1.ClickOutside; } }); | ||
var use_click_outside_1 = require("./use-click-outside"); | ||
exports.useClickOutside = use_click_outside_1.useClickOutside; | ||
Object.defineProperty(exports, "useClickOutside", { enumerable: true, get: function () { return use_click_outside_1.useClickOutside; } }); | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.useClickOutside = void 0; | ||
const react_1 = require("react"); | ||
@@ -4,0 +5,0 @@ /** calls handler when clicking in the DOM outside the target component */ |
{ | ||
"name": "@teambit/base-ui.hook.use-click-outside", | ||
"version": "0.5.3", | ||
"version": "0.5.4", | ||
"homepage": "https://bit.dev/teambit/base-ui/hook/use-click-outside", | ||
"main": "dist/index.js", | ||
@@ -8,3 +9,3 @@ "componentId": { | ||
"name": "hook/use-click-outside", | ||
"version": "0.5.3" | ||
"version": "0.5.4" | ||
}, | ||
@@ -16,7 +17,8 @@ "dependencies": { | ||
"react-create-ref": "^1.0.1", | ||
"@types/react-router-dom": "^5.1.5", | ||
"@types/mocha": "8.0.0", | ||
"@types/jest": "~26.0.9", | ||
"@types/react": "16.9.43", | ||
"core-js": "^3.6.5", | ||
"@types/react": "16.9.43", | ||
"@types/jest": "~26.0.9", | ||
"@types/mocha": "8.0.0", | ||
"@types/react-router-dom": "^5.1.5" | ||
"@types/node": "^12.12.27" | ||
}, | ||
@@ -33,15 +35,16 @@ "peerDependencies": { | ||
"dependencies": { | ||
"react": "-", | ||
"@babel/runtime": "^7.8.4" | ||
"@babel/runtime": "^7.8.4", | ||
"react": "-" | ||
}, | ||
"devDependencies": { | ||
"@types/react-router-dom": "^5.1.5", | ||
"@types/mocha": "8.0.0", | ||
"@types/jest": "~26.0.9", | ||
"@types/react": "16.9.43", | ||
"core-js": "^3.6.5", | ||
"@types/react": "16.9.43", | ||
"@types/jest": "~26.0.9", | ||
"@types/mocha": "8.0.0", | ||
"@types/react-router-dom": "^5.1.5" | ||
"@types/node": "^12.12.27" | ||
}, | ||
"peerDependencies": { | ||
"react": "^16.13.1", | ||
"react-dom": "^16.13.1" | ||
"react-dom": "^16.13.1", | ||
"react": "^16.13.1" | ||
} | ||
@@ -48,0 +51,0 @@ } |
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
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
18268
322
7
1