@polymer/paper-toast
Advanced tools
Comparing version 3.0.0-pre.3 to 3.0.0-pre.4
{ | ||
"name": "@polymer/paper-toast", | ||
"flat": true, | ||
"version": "3.0.0-pre.3", | ||
"version": "3.0.0-pre.4", | ||
"description": "A material design notification toast", | ||
@@ -22,13 +22,13 @@ "contributors": [ | ||
"dependencies": { | ||
"@polymer/iron-a11y-announcer": "^3.0.0-pre.3", | ||
"@polymer/iron-overlay-behavior": "^3.0.0-pre.3", | ||
"@polymer/iron-fit-behavior": "^3.0.0-pre.3", | ||
"@polymer/polymer": "^3.0.0-pre.3" | ||
"@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" | ||
}, | ||
"devDependencies": { | ||
"@polymer/iron-component-page": "^3.0.0-pre.3", | ||
"@polymer/iron-demo-helpers": "^3.0.0-pre.3", | ||
"@polymer/paper-button": "^3.0.0-pre.3", | ||
"@polymer/test-fixture": "^3.0.0-pre.3", | ||
"wct-browser-legacy": "0.0.1-pre.11", | ||
"@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", | ||
"@webcomponents/webcomponentsjs": "^1.0.0" | ||
@@ -35,0 +35,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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
31714
290
0