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

@filerobot/common

Package Overview
Dependencies
Maintainers
1
Versions
1531
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@filerobot/common - npm Package Compare versions

Comparing version 0.0.0-beta.33 to 0.0.0-beta.34

24

lib/BackdropOverlay.js

@@ -6,3 +6,2 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

import { useEffect } from 'react';
import { createPortal } from 'react-dom';
import { jsx as _jsx } from "react/jsx-runtime";

@@ -60,18 +59,13 @@

var baseClass = 'uploader-common-BackdropOverlay';
var render = function render() {
return /*#__PURE__*/_jsx("div", _extends({
className: "" + baseClass + (floatyColored ? " " + baseClass + "--floaty-colored" : '')
}, props, {
style: _extends({
zIndex: zIndex
}, props.style),
onClick: handleOnClicking,
onContextMenu: handleOnClicking
}));
};
return createPortal(render(), document.querySelector('body'));
return /*#__PURE__*/_jsx("div", _extends({
className: "" + baseClass + (floatyColored ? " " + baseClass + "--floaty-colored" : '')
}, props, {
style: _extends({
zIndex: zIndex
}, props.style),
onClick: handleOnClicking,
onContextMenu: handleOnClicking
}));
};
export default BackdropOverlay;
{
"name": "@filerobot/common",
"version": "0.0.0-beta.33",
"version": "0.0.0-beta.34",
"description": "The common components shared between filerobot uploader modules",

@@ -17,4 +17,4 @@ "homepage": "",

"dependencies": {
"@filerobot/icons": "0.0.0-beta.33",
"@filerobot/utils": "0.0.0-beta.33",
"@filerobot/icons": "0.0.0-beta.34",
"@filerobot/utils": "0.0.0-beta.34",
"react": "^17.0.1",

@@ -21,0 +21,0 @@ "react-dom": "^17.0.1"

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