@polymer/paper-badge
Advanced tools
Comparing version 3.0.0-pre.6 to 3.0.0-pre.7
@@ -1,2 +0,2 @@ | ||
import '../../polymer/polymer.js'; | ||
import { html } from '../../polymer/polymer.js'; | ||
import '../../paper-icon-button/paper-icon-button.js'; | ||
@@ -6,2 +6,3 @@ import '../../iron-icons/iron-icons.js'; | ||
import '../paper-badge.js'; | ||
import { Polymer } from '../../polymer/lib/legacy/polymer-fn.js'; | ||
/** | ||
@@ -17,3 +18,3 @@ @license | ||
Polymer({ | ||
_template: Polymer.html` | ||
_template: html` | ||
<style> | ||
@@ -20,0 +21,0 @@ :host { |
{ | ||
"name": "@polymer/paper-badge", | ||
"flat": true, | ||
"version": "3.0.0-pre.6", | ||
"version": "3.0.0-pre.7", | ||
"description": "Material design status message for elements", | ||
@@ -23,13 +23,13 @@ "contributors": [ | ||
"dependencies": { | ||
"@polymer/polymer": "^3.0.0-pre.6", | ||
"@polymer/iron-resizable-behavior": "^3.0.0-pre.6", | ||
"@polymer/paper-styles": "^3.0.0-pre.6", | ||
"@polymer/iron-icon": "^3.0.0-pre.6", | ||
"@polymer/iron-flex-layout": "^3.0.0-pre.6" | ||
"@polymer/polymer": "^3.0.0-pre.7", | ||
"@polymer/iron-resizable-behavior": "^3.0.0-pre.7", | ||
"@polymer/paper-styles": "^3.0.0-pre.7", | ||
"@polymer/iron-icon": "^3.0.0-pre.7", | ||
"@polymer/iron-flex-layout": "^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-icon-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-icon-button": "^3.0.0-pre.7", | ||
"@polymer/test-fixture": "^3.0.0-pre.7", | ||
"wct-browser-legacy": "0.0.1-pre.11", | ||
@@ -36,0 +36,0 @@ "@webcomponents/webcomponentsjs": "^1.0.0" |
@@ -1,7 +0,9 @@ | ||
import '../polymer/polymer.js'; | ||
import { html } from '../polymer/polymer.js'; | ||
import '../iron-icon/iron-icon.js'; | ||
import '../iron-flex-layout/iron-flex-layout.js'; | ||
import '../iron-resizable-behavior/iron-resizable-behavior.js'; | ||
import { IronResizableBehavior } from '../iron-resizable-behavior/iron-resizable-behavior.js'; | ||
import '../paper-styles/default-theme.js'; | ||
import '../paper-styles/typography.js'; | ||
import { Polymer } from '../polymer/lib/legacy/polymer-fn.js'; | ||
import { dom } from '../polymer/lib/legacy/polymer.dom.js'; | ||
/** | ||
@@ -65,3 +67,3 @@ @license | ||
Polymer({ | ||
_template: Polymer.html` | ||
_template: html` | ||
<style> | ||
@@ -117,3 +119,3 @@ :host { | ||
behaviors: [ | ||
Polymer.IronResizableBehavior | ||
IronResizableBehavior | ||
], | ||
@@ -209,9 +211,9 @@ | ||
get target () { | ||
var parentNode = Polymer.dom(this).parentNode; | ||
var parentNode = dom(this).parentNode; | ||
// If the parentNode is a document fragment, then we need to use the host. | ||
var ownerRoot = Polymer.dom(this).getOwnerRoot(); | ||
var ownerRoot = dom(this).getOwnerRoot(); | ||
var target; | ||
if (this.for) { | ||
target = Polymer.dom(ownerRoot).querySelector('#' + this.for); | ||
target = dom(ownerRoot).querySelector('#' + this.for); | ||
} else { | ||
@@ -218,0 +220,0 @@ target = parentNode.nodeType == Node.DOCUMENT_FRAGMENT_NODE ? |
@@ -1,3 +0,4 @@ | ||
import '../../polymer/polymer.js'; | ||
import { html } from '../../polymer/polymer.js'; | ||
import '../paper-badge.js'; | ||
import { Polymer } from '../../polymer/lib/legacy/polymer-fn.js'; | ||
/** | ||
@@ -13,3 +14,3 @@ @license | ||
Polymer({ | ||
_template: Polymer.html` | ||
_template: html` | ||
<style> | ||
@@ -16,0 +17,0 @@ :host { |
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
39008
14
338