@vaadin/vaadin-overlay
Advanced tools
Comparing version 3.1.0-alpha3 to 3.1.0-beta1
@@ -14,3 +14,3 @@ { | ||
"name": "@vaadin/vaadin-overlay", | ||
"version": "3.1.0-alpha3", | ||
"version": "3.1.0-beta1", | ||
"main": "vaadin-overlay.js", | ||
@@ -30,20 +30,20 @@ "author": "Vaadin Ltd", | ||
"@polymer/polymer": "^3.0.0", | ||
"@vaadin/vaadin-themable-mixin": "^1.2.0-alpha2", | ||
"@vaadin/vaadin-lumo-styles": "^1.1.0-alpha3", | ||
"@vaadin/vaadin-material-styles": "^1.1.0-alpha2", | ||
"@polymer/iron-overlay-behavior": "^3.0.0-pre.12" | ||
"@vaadin/vaadin-themable-mixin": "^1.2.1", | ||
"@vaadin/vaadin-lumo-styles": "^1.1.0-beta1", | ||
"@vaadin/vaadin-material-styles": "^1.1.0-beta1", | ||
"@polymer/iron-overlay-behavior": "^3.0.0-pre.18" | ||
}, | ||
"devDependencies": { | ||
"@vaadin/vaadin-demo-helpers": "^2.0.0-alpha2", | ||
"@polymer/iron-component-page": "^3.0.0-pre.12", | ||
"@polymer/iron-demo-helpers": "^3.0.0-pre.12", | ||
"@polymer/iron-test-helpers": "^3.0.0-pre.12", | ||
"@vaadin/vaadin-button": "^2.1.0-alpha2", | ||
"@vaadin/vaadin-text-field": "^2.1.0-alpha2", | ||
"@polymer/iron-form": "^3.0.0-pre.12", | ||
"@polymer/iron-input": "^3.0.0-pre.12", | ||
"@polymer/paper-button": "^3.0.0-pre.12", | ||
"@polymer/paper-input": "^3.0.0-pre.12", | ||
"wct-browser-legacy": "0.0.1-pre.11" | ||
"@vaadin/vaadin-demo-helpers": "^2.0.1", | ||
"@polymer/iron-component-page": "^3.0.0-pre.18", | ||
"@polymer/iron-demo-helpers": "^3.0.0-pre.18", | ||
"@polymer/iron-test-helpers": "^3.0.0-pre.18", | ||
"@vaadin/vaadin-button": "^2.1.0-beta1", | ||
"@vaadin/vaadin-text-field": "^2.1.0-beta1", | ||
"@polymer/iron-form": "^3.0.0-pre.18", | ||
"@polymer/iron-input": "^3.0.0-pre.18", | ||
"@polymer/paper-button": "^3.0.0-pre.18", | ||
"@polymer/paper-input": "^3.0.0-pre.18", | ||
"wct-browser-legacy": "^1.0.1" | ||
} | ||
} |
@@ -0,2 +1,8 @@ | ||
/** | ||
@license | ||
Copyright (c) 2017 Vaadin Ltd. | ||
This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ | ||
*/ | ||
import { PolymerElement } from '@polymer/polymer/polymer-element.js'; | ||
import { templatize } from '@polymer/polymer/lib/utils/templatize.js'; | ||
@@ -450,2 +456,6 @@ import { afterNextRender } from '@polymer/polymer/lib/utils/render-status.js'; | ||
_ensureTemplatized() { | ||
this._setTemplateFromNodes(Array.from(this.children)); | ||
} | ||
/** | ||
@@ -456,2 +466,6 @@ * @event vaadin-overlay-open | ||
_openedChanged(opened) { | ||
if (!this._instance) { | ||
this._ensureTemplatized(); | ||
} | ||
if (opened) { | ||
@@ -458,0 +472,0 @@ this._animatedOpening(); |
import '@vaadin/vaadin-lumo-styles/mixins/overlay.js'; | ||
const $_documentContainer = document.createElement('div'); | ||
$_documentContainer.setAttribute('style', 'display: none;'); | ||
const $_documentContainer = document.createElement('template'); | ||
@@ -13,2 +12,2 @@ $_documentContainer.innerHTML = `<dom-module id="lumo-vaadin-overlay" theme-for="vaadin-overlay"> | ||
document.head.appendChild($_documentContainer); | ||
document.head.appendChild($_documentContainer.content); |
import '@vaadin/vaadin-material-styles/mixins/overlay.js'; | ||
const $_documentContainer = document.createElement('div'); | ||
$_documentContainer.setAttribute('style', 'display: none;'); | ||
const $_documentContainer = document.createElement('template'); | ||
@@ -13,2 +12,2 @@ $_documentContainer.innerHTML = `<dom-module id="material-vaadin-overlay" theme-for="vaadin-overlay"> | ||
document.head.appendChild($_documentContainer); | ||
document.head.appendChild($_documentContainer.content); |
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
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
94033
652
1