@polymer/paper-menu-button
Advanced tools
Comparing version 3.0.0-pre.6 to 3.0.0-pre.7
{ | ||
"name": "@polymer/paper-menu-button", | ||
"flat": true, | ||
"version": "3.0.0-pre.6", | ||
"version": "3.0.0-pre.7", | ||
"description": "A material design element that composes a trigger and a dropdown menu", | ||
@@ -24,21 +24,21 @@ "contributors": [ | ||
"dependencies": { | ||
"@polymer/polymer": "^3.0.0-pre.6", | ||
"@polymer/iron-a11y-keys-behavior": "^3.0.0-pre.6", | ||
"@polymer/iron-behaviors": "^3.0.0-pre.6", | ||
"@polymer/iron-dropdown": "^3.0.0-pre.6", | ||
"@polymer/iron-fit-behavior": "^3.0.0-pre.6", | ||
"@polymer/neon-animation": "^3.0.0-pre.6", | ||
"@polymer/paper-styles": "^3.0.0-pre.6" | ||
"@polymer/polymer": "^3.0.0-pre.7", | ||
"@polymer/iron-a11y-keys-behavior": "^3.0.0-pre.7", | ||
"@polymer/iron-behaviors": "^3.0.0-pre.7", | ||
"@polymer/iron-dropdown": "^3.0.0-pre.7", | ||
"@polymer/iron-fit-behavior": "^3.0.0-pre.7", | ||
"@polymer/neon-animation": "^3.0.0-pre.7", | ||
"@polymer/paper-styles": "^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-image": "^3.0.0-pre.6", | ||
"@polymer/iron-demo-helpers": "^3.0.0-pre.6", | ||
"@polymer/iron-test-helpers": "^3.0.0-pre.6", | ||
"@polymer/paper-button": "^3.0.0-pre.6", | ||
"@polymer/paper-icon-button": "^3.0.0-pre.6", | ||
"@polymer/paper-item": "^3.0.0-pre.6", | ||
"@polymer/paper-listbox": "^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-image": "^3.0.0-pre.7", | ||
"@polymer/iron-demo-helpers": "^3.0.0-pre.7", | ||
"@polymer/iron-test-helpers": "^3.0.0-pre.7", | ||
"@polymer/paper-button": "^3.0.0-pre.7", | ||
"@polymer/paper-icon-button": "^3.0.0-pre.7", | ||
"@polymer/paper-item": "^3.0.0-pre.7", | ||
"@polymer/paper-listbox": "^3.0.0-pre.7", | ||
"wct-browser-legacy": "0.0.1-pre.11", | ||
@@ -45,0 +45,0 @@ "@webcomponents/webcomponentsjs": "^1.0.0", |
import '../polymer/polymer.js'; | ||
import '../neon-animation/neon-animation-behavior.js'; | ||
import { NeonAnimationBehavior } from '../neon-animation/neon-animation-behavior.js'; | ||
import { Polymer } from '../polymer/lib/legacy/polymer-fn.js'; | ||
/** | ||
@@ -16,3 +17,3 @@ @license | ||
behaviors: [ | ||
Polymer.NeonAnimationBehavior | ||
NeonAnimationBehavior | ||
], | ||
@@ -39,3 +40,3 @@ | ||
behaviors: [ | ||
Polymer.NeonAnimationBehavior | ||
NeonAnimationBehavior | ||
], | ||
@@ -62,3 +63,3 @@ | ||
behaviors: [ | ||
Polymer.NeonAnimationBehavior | ||
NeonAnimationBehavior | ||
], | ||
@@ -85,3 +86,3 @@ | ||
behaviors: [ | ||
Polymer.NeonAnimationBehavior | ||
NeonAnimationBehavior | ||
], | ||
@@ -88,0 +89,0 @@ |
@@ -1,4 +0,4 @@ | ||
import '../polymer/polymer.js'; | ||
import '../iron-a11y-keys-behavior/iron-a11y-keys-behavior.js'; | ||
import '../iron-behaviors/iron-control-state.js'; | ||
import { html } from '../polymer/polymer.js'; | ||
import { IronA11yKeysBehavior } from '../iron-a11y-keys-behavior/iron-a11y-keys-behavior.js'; | ||
import { IronControlState } from '../iron-behaviors/iron-control-state.js'; | ||
import '../iron-dropdown/iron-dropdown.js'; | ||
@@ -10,2 +10,4 @@ import '../neon-animation/animations/fade-in-animation.js'; | ||
import './paper-menu-button-animations.js'; | ||
import { Polymer as Polymer$0 } from '../polymer/lib/legacy/polymer-fn.js'; | ||
import { dom } from '../polymer/lib/legacy/polymer.dom.js'; | ||
@@ -17,4 +19,4 @@ var config = { | ||
var PaperMenuButton = Polymer({ | ||
_template: Polymer.html` | ||
var PaperMenuButton = Polymer$0({ | ||
_template: html` | ||
<style> | ||
@@ -94,4 +96,4 @@ :host { | ||
behaviors: [ | ||
Polymer.IronA11yKeysBehavior, | ||
Polymer.IronControlState | ||
IronA11yKeysBehavior, | ||
IronControlState | ||
], | ||
@@ -300,3 +302,3 @@ | ||
// Polymer 2.x returns slot.assignedNodes which can contain text nodes. | ||
var nodes = Polymer.dom(this.$.content).getDistributedNodes(); | ||
var nodes = dom(this.$.content).getDistributedNodes(); | ||
for (var i = 0, l = nodes.length; i < l; i++) { | ||
@@ -392,3 +394,3 @@ if (nodes[i].nodeType === Node.ELEMENT_NODE) { | ||
_disabledChanged: function(disabled) { | ||
Polymer.IronControlState._disabledChanged.apply(this, arguments); | ||
IronControlState._disabledChanged.apply(this, arguments); | ||
if (disabled && this.opened) { | ||
@@ -401,5 +403,5 @@ this.close(); | ||
var uiEvent = event.detail; | ||
var target = Polymer.dom(uiEvent).rootTarget; | ||
var target = dom(uiEvent).rootTarget; | ||
var trigger = this.$.trigger; | ||
var path = Polymer.dom(uiEvent).path; | ||
var path = dom(uiEvent).path; | ||
@@ -416,2 +418,2 @@ if (path.indexOf(trigger) > -1) { | ||
Polymer.PaperMenuButton = PaperMenuButton; | ||
export { PaperMenuButton }; |
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
46778
14
532