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

@vaadin/dialog

Package Overview
Dependencies
Maintainers
19
Versions
414
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/dialog - npm Package Compare versions

Comparing version 23.0.0-alpha1 to 23.0.0-alpha2

18

package.json
{
"name": "@vaadin/dialog",
"version": "23.0.0-alpha1",
"version": "23.0.0-alpha2",
"publishConfig": {

@@ -38,16 +38,16 @@ "access": "public"

"@polymer/polymer": "^3.0.0",
"@vaadin/component-base": "23.0.0-alpha1",
"@vaadin/vaadin-lumo-styles": "23.0.0-alpha1",
"@vaadin/vaadin-material-styles": "23.0.0-alpha1",
"@vaadin/vaadin-overlay": "23.0.0-alpha1",
"@vaadin/vaadin-themable-mixin": "23.0.0-alpha1"
"@vaadin/component-base": "23.0.0-alpha2",
"@vaadin/vaadin-lumo-styles": "23.0.0-alpha2",
"@vaadin/vaadin-material-styles": "23.0.0-alpha2",
"@vaadin/vaadin-overlay": "23.0.0-alpha2",
"@vaadin/vaadin-themable-mixin": "23.0.0-alpha2"
},
"devDependencies": {
"@esm-bundle/chai": "^4.3.4",
"@vaadin/polymer-legacy-adapter": "23.0.0-alpha1",
"@vaadin/polymer-legacy-adapter": "23.0.0-alpha2",
"@vaadin/testing-helpers": "^0.3.2",
"@vaadin/text-area": "23.0.0-alpha1",
"@vaadin/text-area": "23.0.0-alpha2",
"sinon": "^9.2.1"
},
"gitHead": "fbcb07328fdf88260e3b461088d207426b21c710"
"gitHead": "070f586dead02ca41b66717820c647f48bf1665f"
}

@@ -74,8 +74,10 @@ /**

const isDraggable = e.composedPath().some((node, index) => {
if (node.classList) {
const isDraggableNode = node.classList.contains(this.__dragHandleClassName || 'draggable');
const isDraggableLeafOnly = node.classList.contains('draggable-leaf-only');
const isLeafNode = index === 0;
return (isDraggableLeafOnly && isLeafNode) || (isDraggableNode && (!isDraggableLeafOnly || isLeafNode));
if (!node.classList) {
return false;
}
const isDraggableNode = node.classList.contains(this.__dragHandleClassName || 'draggable');
const isDraggableLeafOnly = node.classList.contains('draggable-leaf-only');
const isLeafNode = index === 0;
return (isDraggableLeafOnly && isLeafNode) || (isDraggableNode && (!isDraggableLeafOnly || isLeafNode));
});

@@ -82,0 +84,0 @@

@@ -214,2 +214,4 @@ import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';

}
default:
break;
}

@@ -216,0 +218,0 @@ });

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

import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
import { OverlayElement } from '@vaadin/vaadin-overlay/src/vaadin-overlay.js';
import { ThemePropertyMixin } from '@vaadin/vaadin-themable-mixin/vaadin-theme-property-mixin.js';

@@ -12,2 +13,7 @@ import { DialogDraggableMixin } from './vaadin-dialog-draggable-mixin.js';

/**
* An element used internally by `<vaadin-dialog>`. Not intended to be used separately.
*/
export class DialogOverlay extends OverlayElement {}
export type DialogRenderer = (root: HTMLElement, dialog?: Dialog) => void;

@@ -164,2 +170,3 @@

'vaadin-dialog': Dialog;
'vaadin-dialog-overlay': DialogOverlay;
}

@@ -166,0 +173,0 @@ }

@@ -43,3 +43,3 @@ /**

*/
class DialogOverlay extends mixinBehaviors(IronResizableBehavior, OverlayElement) {
export class DialogOverlay extends mixinBehaviors(IronResizableBehavior, OverlayElement) {
static get is() {

@@ -77,3 +77,3 @@ return 'vaadin-dialog-overlay';

const overlay = this.$.overlay;
const parsedBounds = Object.assign({}, bounds);
const parsedBounds = { ...bounds };

@@ -80,0 +80,0 @@ if (overlay.style.position !== 'absolute') {

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