From ae303ebb83b73663d52a42f1c99829bd19bcd2a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Brugarolas?= Date: Thu, 18 Apr 2019 20:53:47 +0200 Subject: [PATCH] Design changes #3 --- .babelrc | 6 -- package.json | 6 +- src/App.vue | 2 +- src/api/lastfm/adapt.js | 12 ++-- src/api/youtube/widget.js | 24 ++++--- src/assets/styles/colors.less | 22 +++--- src/assets/styles/details.less | 11 +-- src/assets/styles/loading.less | 23 ++++++ src/assets/styles/main.less | 16 +---- src/components/Album.vue | 86 ++++++++++++++--------- src/components/Artist.vue | 64 +++++++++++------ src/components/Result.vue | 8 +-- src/components/Search.vue | 4 +- src/components/Song.vue | 7 +- src/components/artist/Albums.vue | 6 +- src/components/artist/Similar.vue | 44 ++++++------ src/components/player/ButtonsPanel.vue | 10 +-- src/components/player/Player.vue | 19 ++--- src/components/player/Playlist.vue | 4 +- src/components/player/ProgressBar.vue | 14 ++-- src/components/player/SoundControl.vue | 12 ++-- src/components/player/VolumeBar.vue | 14 ++-- src/components/playlist/Song.vue | 2 +- src/components/static/Header.vue | 6 +- src/index.html | 1 - src/partials/spinners/bouncing-balls.html | 5 +- webpack.config.js | 5 +- 27 files changed, 246 insertions(+), 187 deletions(-) delete mode 100644 .babelrc create mode 100644 src/assets/styles/loading.less diff --git a/.babelrc b/.babelrc deleted file mode 100644 index 4d55b2e..0000000 --- a/.babelrc +++ /dev/null @@ -1,6 +0,0 @@ -{ - "presets": [ - [ "minify", { "builtIns": false } ], - [ "@babel/env", { "targets": { "browsers": [ "last 2 versions" ] }, "useBuiltIns": "usage", "modules": false } ] - ] -} diff --git a/package.json b/package.json index 54e6ae4..df55b8a 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,8 @@ "gh-pages": "cross-env NODE_ENV=production PUBLIC_PATH=bruga-music webpack -p --progress --hide-modules" }, "dependencies": { + "core-js": "^3.0.1", + "@babel/runtime-corejs3": "^7.4.3", "vue": "^2.6.10", "vue-router": "^3.0.3", "vuex": "^3.1.0", @@ -34,7 +36,7 @@ "@babel/cli": "^7.4.3", "@babel/core": "^7.4.3", "@babel/preset-env": "^7.4.3", - "@babel/polyfill": "^7.4.3", + "@babel/plugin-transform-runtime": "^7.4.3", "babel-preset-minify": "^0.5.0", "less": "^3.9.0", "cross-env": "^5.2.0", @@ -46,8 +48,8 @@ "vue-template-compiler": "^2.6.10", "html-webpack-plugin": "^3.2.0", "mini-css-extract-plugin": "^0.6.0", - "html-webpack-include-assets-plugin": "^1.0.7", "remote-file-webpack-plugin": "^1.0.2", + "html-webpack-include-assets-plugin": "^1.0.10", "webpack": "^4.29.6", "webpack-dev-server": "^3.3.1", "webpack-cli": "^3.3.0", diff --git a/src/App.vue b/src/App.vue index e855f4f..90a3bb2 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,7 +1,7 @@