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

@spectrum-web-components/overlay

Package Overview
Dependencies
Maintainers
6
Versions
320
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spectrum-web-components/overlay - npm Package Compare versions

Comparing version 0.11.13-alpha.1 to 0.11.13-beta.3

52

custom-elements.json

@@ -7,2 +7,38 @@ {

"kind": "javascript-module",
"path": "active-overlay.ts",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "active-overlay",
"declaration": {
"name": "ActiveOverlay",
"module": "/src/ActiveOverlay.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "overlay-trigger.ts",
"declarations": [],
"exports": [
{
"kind": "custom-element-definition",
"name": "overlay-trigger",
"declaration": {
"name": "OverlayTrigger",
"module": "/src/OverlayTrigger.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "sync/overlay-trigger.ts",
"declarations": [],
"exports": []
},
{
"kind": "javascript-module",
"path": "src/ActiveOverlay.ts",

@@ -454,3 +490,3 @@ "declarations": [

"kind": "method",
"name": "getUpdateComplete",
"name": "_getUpdateComplete",
"privacy": "protected",

@@ -495,3 +531,5 @@ "return": {

"package": "@spectrum-web-components/base"
}
},
"tagName": "active-overlay",
"customElement": true
}

@@ -516,3 +554,3 @@ ],

"kind": "class",
"description": "A overlay trigger component for displaying overlays relative to other content.",
"description": "",
"name": "OverlayTrigger",

@@ -938,3 +976,3 @@ "slots": [

"kind": "method",
"name": "getUpdateComplete",
"name": "_getUpdateComplete",
"privacy": "protected",

@@ -2013,10 +2051,4 @@ "return": {

]
},
{
"kind": "javascript-module",
"path": "sync/overlay-trigger.ts",
"declarations": [],
"exports": []
}
]
}

12

package.json
{
"name": "@spectrum-web-components/overlay",
"version": "0.11.13-alpha.1+d4d43daa6",
"version": "0.11.13-beta.3+c312a8a9a",
"publishConfig": {

@@ -52,6 +52,6 @@ "access": "public"

"@popperjs/core": "^2.2.2",
"@spectrum-web-components/action-button": "^0.5.6-alpha.30+d4d43daa6",
"@spectrum-web-components/base": "^0.4.6-alpha.69+d4d43daa6",
"@spectrum-web-components/shared": "^0.12.8-alpha.69+d4d43daa6",
"@spectrum-web-components/theme": "^0.8.13-alpha.30+d4d43daa6",
"@spectrum-web-components/action-button": "^0.5.6-beta.32+c312a8a9a",
"@spectrum-web-components/base": "^0.4.5",
"@spectrum-web-components/shared": "^0.12.7",
"@spectrum-web-components/theme": "^0.8.13-beta.32+c312a8a9a",
"popper-max-size-modifier": "^0.2.0",

@@ -68,3 +68,3 @@ "tslib": "^2.0.0"

],
"gitHead": "d4d43daa67bd039e78735e15d1b352cd07924710"
"gitHead": "c312a8a9a8c3cf22802a606f03101b30706bee17"
}

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

declare const styles: import("@spectrum-web-components/base").CSSResultGroup;
declare const styles: import("@spectrum-web-components/base").CSSResult;
export default styles;

@@ -22,2 +22,5 @@ import { CSSResultArray, PropertyValues, SpectrumElement, TemplateResult } from '@spectrum-web-components/base';

declare type ContentAnimation = 'spOverlayFadeIn' | 'spOverlayFadeOut';
/**
* @element active-overlay
*/
export declare class ActiveOverlay extends SpectrumElement {

@@ -82,4 +85,4 @@ overlayContent: HTMLElement;

private stealOverlayContentResolver;
protected getUpdateComplete(): Promise<boolean>;
protected _getUpdateComplete(): Promise<boolean>;
}
export {};

@@ -61,2 +61,5 @@ /*

};
/**
* @element active-overlay
*/
export class ActiveOverlay extends SpectrumElement {

@@ -358,4 +361,4 @@ constructor() {

}
async getUpdateComplete() {
const complete = (await super.getUpdateComplete());
async _getUpdateComplete() {
const complete = (await super._getUpdateComplete());
await this.stealOverlayContentPromise;

@@ -362,0 +365,0 @@ return complete;

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

declare const styles: import("@spectrum-web-components/base").CSSResultGroup;
declare const styles: import("@spectrum-web-components/base").CSSResult;
export default styles;

@@ -5,3 +5,2 @@ import { LitElement, CSSResultArray, TemplateResult, PropertyValues } from '@spectrum-web-components/base';

/**
* A overlay trigger component for displaying overlays relative to other content.
* @element overlay-trigger

@@ -58,4 +57,4 @@ *

private openStateResolver;
protected getUpdateComplete(): Promise<boolean>;
protected _getUpdateComplete(): Promise<boolean>;
disconnectedCallback(): void;
}

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

/**
* A overlay trigger component for displaying overlays relative to other content.
* @element overlay-trigger

@@ -264,4 +263,4 @@ *

}
async getUpdateComplete() {
const complete = (await super.getUpdateComplete());
async _getUpdateComplete() {
const complete = (await super._getUpdateComplete());
await this.openStatePromise;

@@ -268,0 +267,0 @@ return complete;

Sorry, the diff of this file is not supported yet

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