@vaadin/vaadin-dialog
Advanced tools
Comparing version 2.0.0-pre.1 to 2.0.0-pre.2
@@ -13,3 +13,3 @@ { | ||
"name": "@vaadin/vaadin-dialog", | ||
"version": "2.0.0-pre.1", | ||
"version": "2.0.0-pre.2", | ||
"main": "vaadin-dialog.js", | ||
@@ -29,3 +29,3 @@ "author": "Vaadin Ltd", | ||
"@polymer/polymer": "^3.0.0-pre.12", | ||
"@vaadin/vaadin-overlay": "^2.1.0-pre.1", | ||
"@vaadin/vaadin-overlay": "^3.0.1-pre.1", | ||
"@vaadin/vaadin-themable-mixin": "^1.1.5-pre.1", | ||
@@ -32,0 +32,0 @@ "@vaadin/vaadin-lumo-styles": "^1.0.0-pre.1", |
![Bower version](https://img.shields.io/bower/v/vaadin-dialog.svg) | ||
[![npm version](https://badge.fury.io/js/%40vaadin%2Fvaadin-dialog.svg)](https://badge.fury.io/js/%40vaadin%2Fvaadin-dialog) | ||
[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/vaadin/vaadin-dialog) | ||
@@ -3,0 +4,0 @@ [![Build Status](https://travis-ci.org/vaadin/vaadin-dialog.svg?branch=master)](https://travis-ci.org/vaadin/vaadin-dialog) |
@@ -1,6 +0,6 @@ | ||
import { PolymerElement } from '../../../@polymer/polymer/polymer-element.js'; | ||
import { templatize } from '../../../@polymer/polymer/lib/utils/templatize.js'; | ||
import { OverlayElement } from '../../../@vaadin/vaadin-overlay/src/vaadin-overlay.js'; | ||
import { ElementMixin } from '../../../@vaadin/vaadin-element-mixin/vaadin-element-mixin.js'; | ||
import { html } from '../../../@polymer/polymer/lib/utils/html-tag.js'; | ||
import { PolymerElement } from '@polymer/polymer/polymer-element.js'; | ||
import '@polymer/polymer/lib/utils/templatize.js'; | ||
import { OverlayElement } from '@vaadin/vaadin-overlay/src/vaadin-overlay.js'; | ||
import { ElementMixin } from '@vaadin/vaadin-element-mixin/vaadin-element-mixin.js'; | ||
import { html } from '@polymer/polymer/lib/utils/html-tag.js'; | ||
@@ -68,3 +68,3 @@ /** | ||
static get version() { | ||
return '2.0.0-pre.1'; | ||
return '2.0.0-pre.2'; | ||
} | ||
@@ -121,17 +121,3 @@ | ||
if (opened && !this._instance) { | ||
this._contentTemplate = this.querySelector('template'); | ||
if (!this._contentTemplate) { | ||
return; | ||
} | ||
const Templatizer = templatize(this._contentTemplate, this, { | ||
forwardHostProp: function(prop, value) { | ||
if (this._instance) { | ||
this._instance.forwardHostProp(prop, value); | ||
} | ||
} | ||
}); | ||
this._instance = new Templatizer({}); | ||
this.$.overlay.content = this._instance.root; | ||
this.$.overlay.template = this.querySelector('template'); | ||
} | ||
@@ -138,0 +124,0 @@ this.$.overlay.opened = opened; |
@@ -1,3 +0,3 @@ | ||
import '../../../../@vaadin/vaadin-lumo-styles/spacing.js'; | ||
import '../../../../@vaadin/vaadin-lumo-styles/mixins/overlay.js'; | ||
import '@vaadin/vaadin-lumo-styles/spacing.js'; | ||
import '@vaadin/vaadin-lumo-styles/mixins/overlay.js'; | ||
const $_documentContainer = document.createElement('div'); | ||
@@ -4,0 +4,0 @@ $_documentContainer.setAttribute('style', 'display: none;'); |
Sorry, the diff of this file is not supported yet
94
62394
203
+ Added@vaadin/vaadin-development-mode-detector@2.0.7(transitive)
+ Added@vaadin/vaadin-element-mixin@2.4.2(transitive)
+ Added@vaadin/vaadin-material-styles@1.3.2(transitive)
+ Added@vaadin/vaadin-overlay@3.5.1(transitive)
+ Added@vaadin/vaadin-usage-statistics@2.1.2(transitive)
- Removed@polymer/iron-a11y-keys-behavior@3.0.1(transitive)
- Removed@polymer/iron-fit-behavior@3.1.0(transitive)
- Removed@polymer/iron-overlay-behavior@3.0.3(transitive)
- Removed@polymer/iron-resizable-behavior@3.0.1(transitive)
- Removed@vaadin/vaadin-overlay@2.1.0-pre.1(transitive)