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

@vaadin/popover

Package Overview
Dependencies
Maintainers
0
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/popover - npm Package Compare versions

Comparing version 24.5.0-alpha3 to 24.5.0-alpha4

16

package.json
{
"name": "@vaadin/popover",
"version": "24.5.0-alpha3",
"version": "24.5.0-alpha4",
"publishConfig": {

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

"@open-wc/dedupe-mixin": "^1.3.0",
"@vaadin/a11y-base": "24.5.0-alpha3",
"@vaadin/component-base": "24.5.0-alpha3",
"@vaadin/overlay": "24.5.0-alpha3",
"@vaadin/vaadin-lumo-styles": "24.5.0-alpha3",
"@vaadin/vaadin-material-styles": "24.5.0-alpha3",
"@vaadin/vaadin-themable-mixin": "24.5.0-alpha3",
"@vaadin/a11y-base": "24.5.0-alpha4",
"@vaadin/component-base": "24.5.0-alpha4",
"@vaadin/overlay": "24.5.0-alpha4",
"@vaadin/vaadin-lumo-styles": "24.5.0-alpha4",
"@vaadin/vaadin-material-styles": "24.5.0-alpha4",
"@vaadin/vaadin-themable-mixin": "24.5.0-alpha4",
"lit": "^3.0.0"

@@ -56,3 +56,3 @@ },

],
"gitHead": "9ccd96c77a1568e625fa44f6809e765c0ba91403"
"gitHead": "a2cd3079183a097b793073eeffd3bd59dec2b664"
}

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

import { generateUniqueId } from '@vaadin/component-base/src/unique-id-utils.js';
import { isLastOverlay } from '@vaadin/overlay/src/vaadin-overlay-stack-mixin.js';
import { ThemePropertyMixin } from '@vaadin/vaadin-themable-mixin/vaadin-theme-property-mixin.js';

@@ -504,3 +505,4 @@ import { PopoverPositionMixin } from './vaadin-popover-position-mixin.js';

!event.composedPath().some((el) => el === this._overlayElement || el === this.target) &&
!this.noCloseOnOutsideClick
!this.noCloseOnOutsideClick &&
isLastOverlay(this._overlayElement)
) {

@@ -531,3 +533,10 @@ this._openedStateController.close(true);

__onGlobalKeyDown(event) {
if (event.key === 'Escape' && !this.modal && !this.noCloseOnEsc && this.opened && !this.__isManual) {
if (
event.key === 'Escape' &&
!this.modal &&
!this.noCloseOnEsc &&
this.opened &&
!this.__isManual &&
isLastOverlay(this._overlayElement)
) {
// Prevent closing parent overlay (e.g. dialog)

@@ -534,0 +543,0 @@ event.stopPropagation();

{
"$schema": "https://json.schemastore.org/web-types",
"name": "@vaadin/popover",
"version": "24.5.0-alpha3",
"version": "24.5.0-alpha4",
"description-markup": "markdown",

@@ -6,0 +6,0 @@ "contributions": {

{
"$schema": "https://json.schemastore.org/web-types",
"name": "@vaadin/popover",
"version": "24.5.0-alpha3",
"version": "24.5.0-alpha4",
"description-markup": "markdown",

@@ -6,0 +6,0 @@ "framework": "lit",

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