@filerobot/common
Advanced tools
Comparing version 0.0.0-beta.33 to 0.0.0-beta.34
@@ -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" |
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
198245
3871
+ Added@filerobot/icons@0.0.0-beta.34(transitive)
+ Added@filerobot/utils@0.0.0-beta.34(transitive)
- Removed@filerobot/icons@0.0.0-beta.33(transitive)
- Removed@filerobot/utils@0.0.0-beta.33(transitive)