@polymer/paper-ripple
Advanced tools
Comparing version 3.0.0-pre.6 to 3.0.0-pre.7
{ | ||
"name": "@polymer/paper-ripple", | ||
"flat": true, | ||
"version": "3.0.0-pre.6", | ||
"version": "3.0.0-pre.7", | ||
"description": "Adds a material design ripple to any container", | ||
@@ -21,11 +21,11 @@ "contributors": [ | ||
"dependencies": { | ||
"@polymer/iron-a11y-keys-behavior": "^3.0.0-pre.6", | ||
"@polymer/polymer": "^3.0.0-pre.6" | ||
"@polymer/iron-a11y-keys-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-icon": "^3.0.0-pre.6", | ||
"@polymer/iron-icons": "^3.0.0-pre.6", | ||
"@polymer/iron-test-helpers": "^3.0.0-pre.6", | ||
"@polymer/iron-demo-helpers": "^3.0.0-pre.6", | ||
"@polymer/iron-component-page": "^3.0.0-pre.7", | ||
"@polymer/iron-icon": "^3.0.0-pre.7", | ||
"@polymer/iron-icons": "^3.0.0-pre.7", | ||
"@polymer/iron-test-helpers": "^3.0.0-pre.7", | ||
"@polymer/iron-demo-helpers": "^3.0.0-pre.7", | ||
"wct-browser-legacy": "0.0.1-pre.11", | ||
@@ -32,0 +32,0 @@ "@webcomponents/webcomponentsjs": "^1.0.0" |
@@ -1,3 +0,5 @@ | ||
import '../polymer/polymer.js'; | ||
import '../iron-a11y-keys-behavior/iron-a11y-keys-behavior.js'; | ||
import { html } from '../polymer/polymer.js'; | ||
import { IronA11yKeysBehavior } from '../iron-a11y-keys-behavior/iron-a11y-keys-behavior.js'; | ||
import { dom } from '../polymer/lib/legacy/polymer.dom.js'; | ||
import { Polymer } from '../polymer/lib/legacy/polymer-fn.js'; | ||
@@ -56,3 +58,3 @@ var Utility = { | ||
this.waveContainer.classList.add('wave-container'); | ||
Polymer.dom(this.waveContainer).appendChild(this.wave); | ||
dom(this.waveContainer).appendChild(this.wave); | ||
@@ -284,3 +286,3 @@ this.resetInteractionState(); | ||
remove: function() { | ||
Polymer.dom(this.waveContainer.parentNode).removeChild( | ||
dom(this.waveContainer.parentNode).removeChild( | ||
this.waveContainer | ||
@@ -292,3 +294,3 @@ ); | ||
Polymer({ | ||
_template: Polymer.html` | ||
_template: html` | ||
<style> | ||
@@ -368,3 +370,3 @@ :host { | ||
behaviors: [ | ||
Polymer.IronA11yKeysBehavior | ||
IronA11yKeysBehavior | ||
], | ||
@@ -495,3 +497,3 @@ | ||
if (this.parentNode.nodeType == 11) { // DOCUMENT_FRAGMENT_NODE | ||
this.keyEventTarget = Polymer.dom(this).getOwnerRoot().host; | ||
this.keyEventTarget = dom(this).getOwnerRoot().host; | ||
} else { | ||
@@ -599,3 +601,3 @@ this.keyEventTarget = this.parentNode; | ||
Polymer.dom(this.$.waves).appendChild(ripple.waveContainer); | ||
dom(this.$.waves).appendChild(ripple.waveContainer); | ||
this.$.background.style.backgroundColor = ripple.color; | ||
@@ -602,0 +604,0 @@ this.ripples.push(ripple); |
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
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
48293
13
622