New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@zag-js/popper

Package Overview
Dependencies
Maintainers
1
Versions
915
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 1.2.1 to 1.3.0

28

dist/index.d.ts

@@ -1,2 +0,2 @@

import { Placement, Boundary, AutoUpdateOptions, ComputePositionReturn, VirtualElement } from '@floating-ui/dom';
import { VirtualElement, Placement, Boundary, AutoUpdateOptions, ComputePositionReturn } from '@floating-ui/dom';
export { AutoUpdateOptions, Boundary, ComputePositionReturn, Placement } from '@floating-ui/dom';

@@ -108,2 +108,25 @@

declare const cssVars: {
arrowSize: {
variable: string;
reference: string;
};
arrowSizeHalf: {
variable: string;
reference: string;
};
arrowBg: {
variable: string;
reference: string;
};
transformOrigin: {
variable: string;
reference: string;
};
arrowOffset: {
variable: string;
reference: string;
};
};
interface GetPlacementStylesOptions {

@@ -114,3 +137,4 @@ placement?: Placement | undefined;

arrow: {
readonly [x: string]: string;
readonly [cssVars.arrowSizeHalf.variable]: `calc(${string} / 2)`;
readonly [cssVars.arrowOffset.variable]: `calc(${string} * -1)`;
readonly position: "absolute";

@@ -117,0 +141,0 @@ readonly width: string;

6

package.json
{
"name": "@zag-js/popper",
"version": "1.2.1",
"version": "1.3.0",
"description": "Dynamic positioning logic for ui machines",

@@ -26,4 +26,4 @@ "keywords": [

"@floating-ui/dom": "1.6.13",
"@zag-js/dom-query": "1.2.1",
"@zag-js/utils": "1.2.1"
"@zag-js/dom-query": "1.3.0",
"@zag-js/utils": "1.3.0"
},

@@ -30,0 +30,0 @@ "devDependencies": {

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