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