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

@warp-ds/core

Package Overview
Dependencies
Maintainers
0
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@warp-ds/core - npm Package Compare versions

Comparing version 1.1.7 to 1.1.8

7

dist/attention/utils/helpers.js

@@ -104,4 +104,4 @@ import { computePosition, flip, offset, arrow, autoUpdate, hide, shift, size } from '@floating-ui/dom';

}),
state?.flip && shift({ crossAxis: true }), // shifts the attentionEl to make sure that it stays in view
!state?.noArrow && state?.arrowEl && arrow({ element: state?.arrowEl }),
state?.flip && shift({ crossAxis: true }), // shifts the attentionEl to make sure that it stays in view
hide(), // will hide the attentionEl when it appears detached from the targetEl. Can be called multiple times in the middleware-array if you want to use several strategies. Default strategy is 'referenceHidden'.

@@ -160,7 +160,2 @@ size({

}
// Adjust for shift if applied
const { x: shiftX } = middlewareData.shift || {};
if (typeof shiftX === 'number') {
left = typeof arrowX === 'number' ? `${arrowX - shiftX}px` : left;
}
// Apply the arrow styles

@@ -167,0 +162,0 @@ Object.assign(arrowEl.style, {

2

package.json

@@ -5,3 +5,3 @@ {

"description": "Shared business logic for JS implementations of Warp Design System",
"version": "1.1.7",
"version": "1.1.8",
"type": "module",

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

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