Socket
Socket
Sign inDemoInstall

@vaadin/overlay

Package Overview
Dependencies
8
Maintainers
12
Versions
218
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 24.4.0-rc1 to 24.5.0-alpha1

src/vaadin-overlay-utils.d.ts

14

package.json
{
"name": "@vaadin/overlay",
"version": "24.4.0-rc1",
"version": "24.5.0-alpha1",
"publishConfig": {

@@ -39,7 +39,7 @@ "access": "public"

"@polymer/polymer": "^3.0.0",
"@vaadin/a11y-base": "24.4.0-rc1",
"@vaadin/component-base": "24.4.0-rc1",
"@vaadin/vaadin-lumo-styles": "24.4.0-rc1",
"@vaadin/vaadin-material-styles": "24.4.0-rc1",
"@vaadin/vaadin-themable-mixin": "24.4.0-rc1",
"@vaadin/a11y-base": "24.5.0-alpha1",
"@vaadin/component-base": "24.5.0-alpha1",
"@vaadin/vaadin-lumo-styles": "24.5.0-alpha1",
"@vaadin/vaadin-material-styles": "24.5.0-alpha1",
"@vaadin/vaadin-themable-mixin": "24.5.0-alpha1",
"lit": "^3.0.0"

@@ -52,3 +52,3 @@ },

},
"gitHead": "a81e3b927d44c56613fa4e1307494a2acc81005f"
"gitHead": "57806caac5468532a3b4e3dbdda730cd0fca193a"
}

@@ -7,2 +7,3 @@ /**

import { getAncestorRootNodes } from '@vaadin/component-base/src/dom-utils.js';
import { observeMove } from './vaadin-overlay-utils.js';

@@ -157,2 +158,8 @@ const PROP_NAMES_VERTICAL = {

});
if (this.positionTarget) {
this.__observePositionTargetMove = observeMove(this.positionTarget, () => {
this._updatePosition();
});
}
}

@@ -171,2 +178,7 @@

}
if (this.__observePositionTargetMove) {
this.__observePositionTargetMove();
this.__observePositionTargetMove = null;
}
}

@@ -226,2 +238,7 @@

if (targetRect.width === 0 && targetRect.height === 0 && this.opened) {
this.opened = false;
return;
}
// Detect the desired alignment and update the layout accordingly

@@ -228,0 +245,0 @@ const shouldAlignStartVertically = this.__shouldAlignStartVertically(targetRect);

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc