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

rc-dialog

Package Overview
Dependencies
Maintainers
11
Versions
164
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-dialog - npm Package Compare versions

Comparing version 9.5.1 to 9.5.2

2

es/Dialog/Content/index.js

@@ -35,3 +35,3 @@ import _extends from "@babel/runtime/helpers/esm/extends";

var elementOffset = offset(dialogRef.current);
setTransformOrigin(mousePosition !== null && mousePosition !== void 0 && mousePosition.x && mousePosition !== null && mousePosition !== void 0 && mousePosition.y ? "".concat(mousePosition.x - elementOffset.left, "px ").concat(mousePosition.y - elementOffset.top, "px") : '');
setTransformOrigin(mousePosition && (mousePosition.x || mousePosition.y) ? "".concat(mousePosition.x - elementOffset.left, "px ").concat(mousePosition.y - elementOffset.top, "px") : '');
}

@@ -38,0 +38,0 @@

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

var elementOffset = (0, _util.offset)(dialogRef.current);
setTransformOrigin(mousePosition !== null && mousePosition !== void 0 && mousePosition.x && mousePosition !== null && mousePosition !== void 0 && mousePosition.y ? "".concat(mousePosition.x - elementOffset.left, "px ").concat(mousePosition.y - elementOffset.top, "px") : '');
setTransformOrigin(mousePosition && (mousePosition.x || mousePosition.y) ? "".concat(mousePosition.x - elementOffset.left, "px ").concat(mousePosition.y - elementOffset.top, "px") : '');
}

@@ -48,0 +48,0 @@

{
"name": "rc-dialog",
"version": "9.5.1",
"version": "9.5.2",
"description": "dialog ui component for react",

@@ -5,0 +5,0 @@ "keywords": [

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