Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@proscom/ui-react

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@proscom/ui-react - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

lib/es/hooks/useDelegateFocus.js

@@ -11,3 +11,3 @@ import { useCallback } from 'react';

export var useDelegateFocus = function (targetRef, _a) {
var onClickProp = (_a === void 0 ? {} : _a).onClick;
var _b = _a === void 0 ? {} : _a, onClickProp = _b.onClick;
var onClick = useCallback(function (event) {

@@ -14,0 +14,0 @@ if (targetRef.current && event.target !== targetRef.current) {

@@ -10,3 +10,3 @@ "use strict";

var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};

@@ -13,0 +13,0 @@ Object.defineProperty(exports, "__esModule", { value: true });

@@ -13,4 +13,4 @@ "use strict";

*/
exports.useDelegateFocus = function (targetRef, _a) {
var onClickProp = (_a === void 0 ? {} : _a).onClick;
var useDelegateFocus = function (targetRef, _a) {
var _b = _a === void 0 ? {} : _a, onClickProp = _b.onClick;
var onClick = react_1.useCallback(function (event) {

@@ -26,2 +26,3 @@ if (targetRef.current && event.target !== targetRef.current) {

};
exports.useDelegateFocus = useDelegateFocus;
//# sourceMappingURL=useDelegateFocus.js.map

@@ -10,3 +10,3 @@ "use strict";

var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};

@@ -13,0 +13,0 @@ Object.defineProperty(exports, "__esModule", { value: true });

@@ -10,3 +10,3 @@ "use strict";

var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};

@@ -13,0 +13,0 @@ Object.defineProperty(exports, "__esModule", { value: true });

{
"name": "@proscom/ui-react",
"version": "0.0.2",
"version": "0.0.3",
"description": "Proscom React utilities",

@@ -36,8 +36,8 @@ "author": "Andrew Starostin <a.starostin@proscom.ru>",

"peerDependencies": {
"react": "^16.8.0"
"react": "^16.8.0 || ^17.0.0"
},
"devDependencies": {
"react": "^16.13.1"
"react": "^17.0.1"
},
"gitHead": "4eb9da7112f5fd1b1089ff28104967a2a400654f"
"gitHead": "c9f33be94a9fa7ae0448e3d57ed3d811efc81660"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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