@polymer/paper-toast
Advanced tools
Comparing version 3.0.0-pre.6 to 3.0.0-pre.7
{ | ||
"name": "@polymer/paper-toast", | ||
"flat": true, | ||
"version": "3.0.0-pre.6", | ||
"version": "3.0.0-pre.7", | ||
"description": "A material design notification toast", | ||
@@ -22,12 +22,12 @@ "contributors": [ | ||
"dependencies": { | ||
"@polymer/iron-a11y-announcer": "^3.0.0-pre.6", | ||
"@polymer/iron-overlay-behavior": "^3.0.0-pre.6", | ||
"@polymer/iron-fit-behavior": "^3.0.0-pre.6", | ||
"@polymer/polymer": "^3.0.0-pre.6" | ||
"@polymer/iron-a11y-announcer": "^3.0.0-pre.7", | ||
"@polymer/iron-overlay-behavior": "^3.0.0-pre.7", | ||
"@polymer/iron-fit-behavior": "^3.0.0-pre.7", | ||
"@polymer/polymer": "^3.0.0-pre.7" | ||
}, | ||
"devDependencies": { | ||
"@polymer/iron-component-page": "^3.0.0-pre.6", | ||
"@polymer/iron-demo-helpers": "^3.0.0-pre.6", | ||
"@polymer/paper-button": "^3.0.0-pre.6", | ||
"@polymer/test-fixture": "^3.0.0-pre.6", | ||
"@polymer/iron-component-page": "^3.0.0-pre.7", | ||
"@polymer/iron-demo-helpers": "^3.0.0-pre.7", | ||
"@polymer/paper-button": "^3.0.0-pre.7", | ||
"@polymer/test-fixture": "^3.0.0-pre.7", | ||
"wct-browser-legacy": "0.0.1-pre.11", | ||
@@ -34,0 +34,0 @@ "@webcomponents/webcomponentsjs": "^1.0.0" |
@@ -1,4 +0,5 @@ | ||
import '../polymer/polymer.js'; | ||
import '../iron-a11y-announcer/iron-a11y-announcer.js'; | ||
import '../iron-overlay-behavior/iron-overlay-behavior.js'; | ||
import { html, Base } from '../polymer/polymer.js'; | ||
import { IronA11yAnnouncer } from '../iron-a11y-announcer/iron-a11y-announcer.js'; | ||
import { IronOverlayBehavior, IronOverlayBehaviorImpl } from '../iron-overlay-behavior/iron-overlay-behavior.js'; | ||
import { Polymer } from '../polymer/lib/legacy/polymer-fn.js'; | ||
@@ -9,3 +10,3 @@ // Keeps track of the toast currently opened. | ||
Polymer({ | ||
_template: Polymer.html` | ||
_template: html` | ||
<style> | ||
@@ -59,3 +60,3 @@ :host { | ||
behaviors: [ | ||
Polymer.IronOverlayBehavior | ||
IronOverlayBehavior | ||
], | ||
@@ -142,3 +143,3 @@ | ||
get visible() { | ||
Polymer.Base._warn('`visible` is deprecated, use `opened` instead'); | ||
Base._warn('`visible` is deprecated, use `opened` instead'); | ||
return this.opened; | ||
@@ -157,3 +158,3 @@ }, | ||
this._autoClose = null; | ||
Polymer.IronA11yAnnouncer.requestAvailability(); | ||
IronA11yAnnouncer.requestAvailability(); | ||
}, | ||
@@ -172,7 +173,7 @@ | ||
if (property.indexOf('_') === 0) { | ||
Polymer.Base._warn('The property "' + property + '" is private and was not set.'); | ||
Base._warn('The property "' + property + '" is private and was not set.'); | ||
} else if (property in this) { | ||
this[property] = properties[property]; | ||
} else { | ||
Polymer.Base._warn('The property "' + property + '" is not valid.'); | ||
Base._warn('The property "' + property + '" is not valid.'); | ||
} | ||
@@ -231,3 +232,3 @@ } | ||
} | ||
Polymer.IronOverlayBehaviorImpl._openedChanged.apply(this, arguments); | ||
IronOverlayBehaviorImpl._openedChanged.apply(this, arguments); | ||
}, | ||
@@ -234,0 +235,0 @@ |
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
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
31751
13
290