Upgrade packages (#444)

This commit is contained in:
Andrey 2017-10-06 07:22:41 +03:00 committed by Paulus Schoutsen
parent b0791abb9a
commit 29acf77eb5
8 changed files with 643 additions and 429 deletions

View File

@ -48,13 +48,13 @@
"paper-tabs": "PolymerElements/paper-tabs#^2.0.0",
"paper-toast": "PolymerElements/paper-toast#^2.0.0",
"paper-toggle-button": "PolymerElements/paper-toggle-button#^2.0.0",
"polymer": "Polymer/polymer#~2.0.2",
"polymer": "^2.1.1",
"vaadin-combo-box": "vaadin/vaadin-combo-box#^2.0.0",
"vaadin-date-picker": "vaadin/vaadin-date-picker#^2.0.0",
"web-animations-js": "^2.2.5",
"webcomponentsjs": "^1.0.10"
},
"devDependencies": {
"web-component-tester": "^6.0.0"
"web-component-tester": "^6.3.0"
}
}

View File

@ -10,7 +10,7 @@ gulp.task('run_rollup', () => {
'js/script-editor/script-editor.js',
'demo_data/demo_data.js',
])
.pipe(rollupEach(rollupConfig))
.pipe(rollupEach(rollupConfig, rollupConfig))
.pipe(gulp.dest('build-temp'));
});

View File

@ -22,7 +22,7 @@
"dependencies": {
"es6-object-assign": "^1.1.0",
"home-assistant-js-websocket": "^1.1.0",
"preact": "^8.2.4"
"preact": "^8.2.5"
},
"devDependencies": {
"babel-core": "^6.26.0",
@ -31,8 +31,8 @@
"babel-plugin-transform-react-jsx": "^6.24.1",
"babel-preset-babili": "^0.1.4",
"babel-preset-es2015": "^6.24.1",
"bower": "^1.8.0",
"css-slam": "^1.2.1",
"bower": "^1.8.2",
"css-slam": "^2.0.2",
"del": "^3.0.0",
"eslint": "^3.19.0",
"eslint-config-airbnb-base": "^11.1.3",
@ -45,29 +45,28 @@
"gulp-html-minifier": "^0.1.8",
"gulp-if": "^2.0.2",
"gulp-rename": "^1.2.2",
"gulp-rollup-each": "^1.0.2",
"gulp-rollup-each": "^2.0.0",
"gulp-uglify": "^3.0.0",
"gulp-util": "^3.0.8",
"html-minifier": "^3.5.3",
"html-minifier": "^3.5.5",
"merge-stream": "^1.0.1",
"parse5": "^3.0.2",
"polymer-analyzer": "^2.2.2",
"polymer-build": "^2.0.0",
"polymer-bundler": "^3.0.1",
"polymer-cli": "^1.5.2",
"polymer-lint": "^0.8.3",
"polymer-analyzer": "^2.3.0",
"polymer-build": "^2.1.0",
"polymer-bundler": "^3.1.0",
"polymer-cli": "^1.5.6",
"require-dir": "^0.3.2",
"rollup": "^0.48.2",
"rollup": "^0.50.0",
"rollup-plugin-babel": "^3.0.2",
"rollup-plugin-commonjs": "^8.2.0",
"rollup-plugin-commonjs": "^8.2.1",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup-plugin-replace": "^1.1.1",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-uglify": "^2.0.1",
"rollup-watch": "^4.3.1",
"run-sequence": "^2.1.0",
"run-sequence": "^2.2.0",
"sw-precache": "^5.2.0",
"uglify-js": "^3.0.28",
"uglify-js": "^3.1.3",
"vulcanize": "^1.16.0",
"web-component-tester": "^6.1.3"
"web-component-tester": "^6.3.0"
}
}

View File

@ -24,10 +24,6 @@
@apply(--layout-horizontal);
@apply(--layout-justified);
}
dom-if {
display: none;
}
</style>
<paper-card>
<div class='card-content'>

View File

@ -9,10 +9,6 @@
<dom-module id="ha-panel-map">
<template>
<link
rel="stylesheet"
href="/static/images/leaflet/leaflet.css"
/>
<style include="ha-style">
#map {
height: calc(100% - 64px);
@ -54,6 +50,12 @@ Polymer({
attached: function () {
var map = this._map = window.L.map(this.$.map);
var style = document.createElement('link');
style.setAttribute('href', window.HASS_DEV ?
'/static/home-assistant-polymer/bower_components/leaflet/dist/leaflet.css' :
'/static/images/leaflet/leaflet.css');
style.setAttribute('rel', 'stylesheet');
this.$.map.parentNode.appendChild(style);
map.setView([51.505, -0.09], 13);
window.L.tileLayer(
'https://cartodb-basemaps-{s}.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png',

View File

@ -95,10 +95,6 @@
padding: 0 8px;
opacity: var(--dark-secondary-opacity);
}
dom-if {
display: none;
}
</style>
<app-toolbar>

View File

@ -22,10 +22,6 @@
ha-entity-toggle {
margin-left: 16px;
}
dom-if {
display: none;
}
</style>
<div class='horizontal justified layout'>

1013
yarn.lock

File diff suppressed because it is too large Load Diff