Socket
Socket
Sign inDemoInstall

@zag-js/popper

Package Overview
Dependencies
Maintainers
1
Versions
883
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zag-js/popper - npm Package Compare versions

Comparing version 0.0.0-dev-20220616090725 to 0.0.0-dev-20220616093310

7

dist/index.js

@@ -315,6 +315,5 @@ "use strict";

apply(data) {
const { reference: reference2, height, width } = data;
if (options.sameWidth) {
Object.assign(floating.style, {
width: `${reference2.width}px`,
width: `${data.rects.reference.width}px`,
minWidth: "unset"

@@ -325,4 +324,4 @@ });

Object.assign(floating.style, {
maxWidth: `${width}px`,
maxHeight: `${height}px`
maxWidth: `${data.availableWidth}px`,
maxHeight: `${data.availableHeight}px`
});

@@ -329,0 +328,0 @@ }

{
"name": "@zag-js/popper",
"version": "0.0.0-dev-20220616090725",
"version": "0.0.0-dev-20220616093310",
"description": "Dynamic positioning logic for ui machines",

@@ -29,3 +29,3 @@ "keywords": [

"@floating-ui/dom": "^0.5.0",
"@zag-js/dom-utils": "0.0.0-dev-20220616090725",
"@zag-js/dom-utils": "0.0.0-dev-20220616093310",
"@zag-js/utils": "0.1.2"

@@ -32,0 +32,0 @@ },

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