Socket
Socket
Sign inDemoInstall

@radix-ui/react-popper

Package Overview
Dependencies
Maintainers
6
Versions
191
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@radix-ui/react-popper - npm Package Compare versions

Comparing version 1.1.4-rc.1 to 1.1.4-rc.2

13

dist/index.js

@@ -203,3 +203,10 @@ var $50Iv9$babelruntimehelpersextends = require("@babel/runtime/helpers/extends");

(_middlewareData$trans2 = middlewareData.transformOrigin) === null || _middlewareData$trans2 === void 0 ? void 0 : _middlewareData$trans2.y
].join(' ')
].join(' '),
// hide the content if using the hide middleware and should be hidden
// set visibility to hidden and disable pointer events so the UI behaves
// as if the PopperContent isn't there at all
...((_middlewareData$hide = middlewareData.hide) === null || _middlewareData$hide === void 0 ? void 0 : _middlewareData$hide.referenceHidden) && {
visibility: 'hidden',
pointerEvents: 'none'
}
} // Floating UI interally calculates logical alignment based the `dir` attribute on

@@ -224,5 +231,3 @@ ,

// we prevent animations so that users's animation don't kick in too early referring wrong sides
animation: !isPositioned ? 'none' : undefined,
// hide the content if using the hide middleware and should be hidden
visibility: (_middlewareData$hide = middlewareData.hide) !== null && _middlewareData$hide !== void 0 && _middlewareData$hide.referenceHidden ? 'hidden' : undefined
animation: !isPositioned ? 'none' : undefined
}

@@ -229,0 +234,0 @@ }))));

{
"name": "@radix-ui/react-popper",
"version": "1.1.4-rc.1",
"version": "1.1.4-rc.2",
"license": "MIT",

@@ -5,0 +5,0 @@ "exports": {

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

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