From cf6b5cb46eb5868c574ce14ecca17459e7856037 Mon Sep 17 00:00:00 2001 From: Asva Date: Sun, 30 Dec 2018 23:51:39 +0300 Subject: [PATCH] minor --- package.json | 2 +- .../progress-bars/Widgets/StandardBars.vue | 5 +- src/router/index.js | 8 ++-- .../progress-types/CircleProgressBar.demo.vue | 46 +++++++++---------- .../progress-types/CircleProgressBar.vue | 45 +++++++----------- yarn.lock | 8 ++-- 6 files changed, 49 insertions(+), 65 deletions(-) diff --git a/package.json b/package.json index 1c36fd772..8bd7997f2 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "v-tooltip": "^2.0.0-rc.30", "vee-validate": "2.0.9", "vue": "^2.5.17", - "vue-book": "0.1.0-alpha.6", + "vue-book": "0.1.0-alpha.9", "vue-bulma-expanding": "0.0.1", "vue-chartjs": "^3.4.0", "vue-color": "^2.7.0", diff --git a/src/components/statistics/progress-bars/Widgets/StandardBars.vue b/src/components/statistics/progress-bars/Widgets/StandardBars.vue index 8c2311f5d..38f206374 100644 --- a/src/components/statistics/progress-bars/Widgets/StandardBars.vue +++ b/src/components/statistics/progress-bars/Widgets/StandardBars.vue @@ -59,12 +59,9 @@ export default { name: 'standard-bars', data () { return { - value: 0, + value: 100, } }, - mounted () { - this.value = 100 - } } diff --git a/src/router/index.js b/src/router/index.js index 24fe2c960..79c48a4fa 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -8,18 +8,20 @@ Vue.use(Router) const demoRoutes = [] if (process.env.NODE_ENV === 'development') { - const createRoute = require('vue-book').createRoute + const VueBook = require('vue-book') demoRoutes.push( - createRoute({ + VueBook.createRoute({ requireContext: require.context('./..', true, /.demo.vue$/), path: '/demo', }), - createRoute({ + VueBook.createRoute({ requireContext: require.context('./../components', true, /.vue$/), path: '/presentation', }), ) + + Vue.use(VueBook.VueBookComponents) } const EmptyParentComponent = { diff --git a/src/vuestic-theme/vuestic-components/vuestic-progress-bar/progress-types/CircleProgressBar.demo.vue b/src/vuestic-theme/vuestic-components/vuestic-progress-bar/progress-types/CircleProgressBar.demo.vue index 083c1bac0..cc9771912 100644 --- a/src/vuestic-theme/vuestic-components/vuestic-progress-bar/progress-types/CircleProgressBar.demo.vue +++ b/src/vuestic-theme/vuestic-components/vuestic-progress-bar/progress-types/CircleProgressBar.demo.vue @@ -1,53 +1,49 @@ @@ -146,8 +137,6 @@ export default { } &.circle-bar__progress-bar { - float: left; - position: relative; transition: background-color ease .5s, width 3s linear !important; width: $progress-bar-circle-diameter; height: $progress-bar-circle-diameter; diff --git a/yarn.lock b/yarn.lock index 8751fbcfd..d04e8fd36 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7832,10 +7832,10 @@ vm-browserify@0.0.4: dependencies: indexof "0.0.1" -vue-book@0.1.0-alpha.6: - version "0.1.0-alpha.6" - resolved "https://registry.yarnpkg.com/vue-book/-/vue-book-0.1.0-alpha.6.tgz#02c21e4af8713a6cde0113c1cadcae4f1714f9b6" - integrity sha512-U4bPAL+eIVAaX5zbwNau5CbGm6IADouvhDHiJAs0QiAazQYw+ECdiOxne/06fbWojSRaNmavIwzywqzx5/S45A== +vue-book@0.1.0-alpha.9: + version "0.1.0-alpha.9" + resolved "https://registry.yarnpkg.com/vue-book/-/vue-book-0.1.0-alpha.9.tgz#ba8ba32a2a16096a5bf6f84a27567c4707a9a988" + integrity sha512-qPlKYgSY3Pn/2j7sjogy2b+rm9AYquEMNibAg/IF/mVYW86hjgJAlhU2TB0UKvQC+sU83ALNEOeXJQgd8CWd7Q== vue-bulma-expanding@0.0.1: version "0.0.1"