@polymer/paper-progress
Advanced tools
Comparing version 3.0.0-pre.12 to 3.0.0-pre.13
@@ -18,12 +18,14 @@ { | ||
"bower": "^1.8.0", | ||
"@polymer/iron-component-page": "3.0.0-pre.12", | ||
"@polymer/iron-demo-helpers": "3.0.0-pre.12", | ||
"@polymer/paper-button": "3.0.0-pre.12", | ||
"wct-browser-legacy": "0.0.1-pre.11", | ||
"@webcomponents/webcomponentsjs": "^1.0.0" | ||
"webmat": "^0.2.0", | ||
"@polymer/iron-component-page": "^3.0.0-pre.13", | ||
"@polymer/iron-demo-helpers": "^3.0.0-pre.13", | ||
"@polymer/paper-button": "^3.0.0-pre.13", | ||
"wct-browser-legacy": "^0.0.1-pre.11", | ||
"@webcomponents/webcomponentsjs": "^2.0.0-0" | ||
}, | ||
"scripts": { | ||
"update-types": "bower install && gen-typescript-declarations --deleteExisting --outDir ." | ||
"update-types": "bower install && gen-typescript-declarations --deleteExisting --outDir .", | ||
"format": "webmat && npm run update-types" | ||
}, | ||
"version": "3.0.0-pre.12", | ||
"version": "3.0.0-pre.13", | ||
"resolutions": { | ||
@@ -58,7 +60,7 @@ "inherits": "2.0.3", | ||
"dependencies": { | ||
"@polymer/iron-flex-layout": "3.0.0-pre.12", | ||
"@polymer/iron-range-behavior": "3.0.0-pre.12", | ||
"@polymer/paper-styles": "3.0.0-pre.12", | ||
"@polymer/polymer": "3.0.0-pre.12" | ||
"@polymer/iron-flex-layout": "^3.0.0-pre.13", | ||
"@polymer/iron-range-behavior": "^3.0.0-pre.13", | ||
"@polymer/paper-styles": "^3.0.0-pre.13", | ||
"@polymer/polymer": "^3.0.0-pre.13" | ||
} | ||
} |
@@ -1,7 +0,1 @@ | ||
import '@polymer/polymer/polymer-legacy.js'; | ||
import '@polymer/iron-flex-layout/iron-flex-layout.js'; | ||
import { IronRangeBehavior } from '@polymer/iron-range-behavior/iron-range-behavior.js'; | ||
import '@polymer/paper-styles/color.js'; | ||
import { Polymer } from '@polymer/polymer/lib/legacy/polymer-fn.js'; | ||
import { html } from '@polymer/polymer/lib/utils/html-tag.js'; | ||
/** | ||
@@ -90,2 +84,14 @@ @license | ||
*/ | ||
/* | ||
FIXME(polymer-modulizer): the above comments were extracted | ||
from HTML and may be out of place here. Review them and | ||
then delete this comment! | ||
*/ | ||
import '../polymer/polymer-legacy.js'; | ||
import '../iron-flex-layout/iron-flex-layout.js'; | ||
import { IronRangeBehavior } from '../iron-range-behavior/iron-range-behavior.js'; | ||
import '../paper-styles/color.js'; | ||
import { Polymer } from '../polymer/lib/legacy/polymer-fn.js'; | ||
import { html } from '../polymer/lib/utils/html-tag.js'; | ||
Polymer({ | ||
@@ -259,7 +265,4 @@ _template: html` | ||
is: 'paper-progress', | ||
behaviors: [IronRangeBehavior], | ||
behaviors: [ | ||
IronRangeBehavior | ||
], | ||
properties: { | ||
@@ -269,6 +272,3 @@ /** | ||
*/ | ||
secondaryProgress: { | ||
type: Number, | ||
value: 0 | ||
}, | ||
secondaryProgress: {type: Number, value: 0}, | ||
@@ -278,7 +278,3 @@ /** | ||
*/ | ||
secondaryRatio: { | ||
type: Number, | ||
value: 0, | ||
readOnly: true | ||
}, | ||
secondaryRatio: {type: Number, value: 0, readOnly: true}, | ||
@@ -288,7 +284,4 @@ /** | ||
*/ | ||
indeterminate: { | ||
type: Boolean, | ||
value: false, | ||
observer: '_toggleIndeterminate' | ||
}, | ||
indeterminate: | ||
{type: Boolean, value: false, observer: '_toggleIndeterminate'}, | ||
@@ -306,13 +299,11 @@ /** | ||
observers: [ | ||
'_progressChanged(secondaryProgress, value, min, max, indeterminate)' | ||
], | ||
observers: | ||
['_progressChanged(secondaryProgress, value, min, max, indeterminate)'], | ||
hostAttributes: { | ||
role: 'progressbar' | ||
}, | ||
hostAttributes: {role: 'progressbar'}, | ||
_toggleIndeterminate: function(indeterminate) { | ||
// If we use attribute/class binding, the animation sometimes doesn't translate properly | ||
// on Safari 7.1. So instead, we toggle the class here in the update method. | ||
// If we use attribute/class binding, the animation sometimes doesn't | ||
// translate properly on Safari 7.1. So instead, we toggle the class here in | ||
// the update method. | ||
this.toggleClass('indeterminate', indeterminate, this.$.primaryProgress); | ||
@@ -330,3 +321,4 @@ }, | ||
_progressChanged: function(secondaryProgress, value, min, max, indeterminate) { | ||
_progressChanged: function( | ||
secondaryProgress, value, min, max, indeterminate) { | ||
secondaryProgress = this._clampValue(secondaryProgress); | ||
@@ -333,0 +325,0 @@ value = this._clampValue(value); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
34520
8
309
+ Added@polymer/font-roboto@3.0.2(transitive)
+ Added@polymer/iron-flex-layout@3.0.1(transitive)
+ Added@polymer/iron-range-behavior@3.0.1(transitive)
+ Added@polymer/paper-styles@3.0.1(transitive)
+ Added@polymer/polymer@3.5.2(transitive)
- Removed@polymer/font-roboto@3.0.0-pre.12(transitive)
- Removed@polymer/iron-flex-layout@3.0.0-pre.12(transitive)
- Removed@polymer/iron-range-behavior@3.0.0-pre.12(transitive)
- Removed@polymer/paper-styles@3.0.0-pre.12(transitive)
- Removed@polymer/polymer@3.0.0-pre.12(transitive)
- Removed@webcomponents/webcomponentsjs@1.3.3(transitive)