update components

This commit is contained in:
Luke Pulverenti 2016-04-23 22:43:52 -04:00
parent 049bc4aeac
commit 13580d0378
7 changed files with 19 additions and 34 deletions

View File

@ -16,12 +16,12 @@
}, },
"devDependencies": {}, "devDependencies": {},
"ignore": [], "ignore": [],
"version": "1.2.36", "version": "1.2.37",
"_release": "1.2.36", "_release": "1.2.37",
"_resolution": { "_resolution": {
"type": "version", "type": "version",
"tag": "1.2.36", "tag": "1.2.37",
"commit": "2591ac7438857801f4c144ff428bfaaf3e56446f" "commit": "3755b689ecaafe8e9c10971876412fb9b7721357"
}, },
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git", "_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
"_target": "^1.2.0", "_target": "^1.2.0",

View File

@ -1,4 +1,4 @@
define(['layoutManager', 'MaterialSpinner', 'css!./loading'], function (layoutManager) { define(['MaterialSpinner', 'css!./loading'], function () {
return { return {
show: function () { show: function () {
@ -11,10 +11,6 @@ define(['layoutManager', 'MaterialSpinner', 'css!./loading'], function (layoutMa
elem.classList.add('mdl-spinner'); elem.classList.add('mdl-spinner');
elem.classList.add('mdl-js-spinner'); elem.classList.add('mdl-js-spinner');
if (layoutManager.tv) {
elem.classList.add('tv');
}
document.body.appendChild(elem); document.body.appendChild(elem);
componentHandler.upgradeElement(elem, 'MaterialSpinner'); componentHandler.upgradeElement(elem, 'MaterialSpinner');
} }

View File

@ -1,21 +1,14 @@
.docspinner { .docspinner {
margin-top: -4vh; margin-top: -5vh;
margin-left: -4vh; margin-left: -5vh;
width: 7vh; width: 10vh;
height: 7vh; height: 10vh;
position: fixed; position: fixed;
top: 50%; top: 50%;
left: 50%; left: 50%;
z-index: 9999999; z-index: 9999999;
} }
.docspinner.tv {
margin-top: -5vh;
margin-left: -5vh;
width: 10vh;
height: 10vh;
}
.loadingHide { .loadingHide {
display: none !important; display: none !important;
} }

View File

@ -1,4 +1,4 @@
define(['layoutManager', 'paper-spinner', 'css!./loading'], function (layoutManager) { define(['paper-spinner', 'css!./loading'], function () {
return { return {
show: function () { show: function () {
@ -9,10 +9,6 @@ define(['layoutManager', 'paper-spinner', 'css!./loading'], function (layoutMana
elem = document.createElement("paper-spinner"); elem = document.createElement("paper-spinner");
elem.classList.add('docspinner'); elem.classList.add('docspinner');
if (layoutManager.tv) {
elem.classList.add('tv');
}
document.body.appendChild(elem); document.body.appendChild(elem);
} }

View File

@ -32,14 +32,14 @@
"web-component-tester": "^4.0.0", "web-component-tester": "^4.0.0",
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
}, },
"homepage": "https://github.com/polymerelements/iron-icon", "homepage": "https://github.com/PolymerElements/iron-icon",
"_release": "1.0.8", "_release": "1.0.8",
"_resolution": { "_resolution": {
"type": "version", "type": "version",
"tag": "v1.0.8", "tag": "v1.0.8",
"commit": "f36b38928849ef3853db727faa8c9ef104d611eb" "commit": "f36b38928849ef3853db727faa8c9ef104d611eb"
}, },
"_source": "git://github.com/polymerelements/iron-icon.git", "_source": "git://github.com/PolymerElements/iron-icon.git",
"_target": "^1.0.0", "_target": "^1.0.0",
"_originalSource": "polymerelements/iron-icon" "_originalSource": "PolymerElements/iron-icon"
} }

View File

@ -45,7 +45,7 @@
"tag": "v1.0.11", "tag": "v1.0.11",
"commit": "e3c1ab0c72905b58fb4d9adc2921ea73b5c085a5" "commit": "e3c1ab0c72905b58fb4d9adc2921ea73b5c085a5"
}, },
"_source": "git://github.com/PolymerElements/paper-behaviors.git", "_source": "git://github.com/polymerelements/paper-behaviors.git",
"_target": "^1.0.0", "_target": "^1.0.0",
"_originalSource": "PolymerElements/paper-behaviors" "_originalSource": "polymerelements/paper-behaviors"
} }

View File

@ -32,14 +32,14 @@
"iron-test-helpers": "PolymerElements/iron-test-helpers#^1.0.0" "iron-test-helpers": "PolymerElements/iron-test-helpers#^1.0.0"
}, },
"ignore": [], "ignore": [],
"homepage": "https://github.com/PolymerElements/paper-ripple", "homepage": "https://github.com/polymerelements/paper-ripple",
"_release": "1.0.5", "_release": "1.0.5",
"_resolution": { "_resolution": {
"type": "version", "type": "version",
"tag": "v1.0.5", "tag": "v1.0.5",
"commit": "d72e7a9a8ab518b901ed18dde492df3b87a93be5" "commit": "d72e7a9a8ab518b901ed18dde492df3b87a93be5"
}, },
"_source": "git://github.com/PolymerElements/paper-ripple.git", "_source": "git://github.com/polymerelements/paper-ripple.git",
"_target": "^1.0.0", "_target": "^1.0.0",
"_originalSource": "PolymerElements/paper-ripple" "_originalSource": "polymerelements/paper-ripple"
} }