Skip to content

Commit 234fde3

Browse files
authoredJun 5, 2018
Merge pull request #93 from coreui/dev-ie-getstyles
chore(release): v2.0.0-beta.3
2 parents 7a8847b + 1ed3681 commit 234fde3

8 files changed

+19
-23
lines changed
 

‎CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## [vue](./README.md) version `changelog`
22

3+
##### `v2.0.0-beta.3`
4+
- refactor: `getStyles()` back to `@coreui/coreui` version `^2.0.2`
5+
- fix(Dashboard): `width` card-line*-chart-example `ie` issue
6+
37
##### `v2.0.0-beta.2`
48
- refactor: `HeaderDropdown` with new slots `header` and `dropdown` *breaking change*
59
- chore: update `@coreui/vue` to `2.0.0-beta.1`

‎package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@coreui/coreui-free-vue-admin-template",
3-
"version": "2.0.0-beta.2",
3+
"version": "2.0.0-beta.3",
44
"description": "Open Source Bootstrap Admin Template",
55
"author": "Łukasz Holeczek",
66
"homepage": "http://coreui.io",
@@ -17,7 +17,7 @@
1717
"build": "node build/build.js"
1818
},
1919
"dependencies": {
20-
"@coreui/coreui": "^2.0.1",
20+
"@coreui/coreui": "^2.0.2",
2121
"@coreui/coreui-plugin-chartjs-custom-tooltips": "^1.2.0",
2222
"@coreui/icons": "^0.2.0",
2323
"@coreui/vue": "^2.0.0-beta.1",

‎src/utils/getStyle.js

-10
This file was deleted.

‎src/views/Dashboard.vue

+9-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<h4 class="mb-0">9.823</h4>
1717
<p>Members online</p>
1818
</b-card-body>
19-
<card-line1-chart-example chartId="card-chart-01" class="chart-wrapper px-3" style="height:70px;" height="70"/>
19+
<card-line1-chart-example chartId="card-chart-01" class="chart-wrapper px-3" style="height:70px;" :height="70"/>
2020
</b-card>
2121
</b-col>
2222
<b-col sm="6" lg="3">
@@ -34,7 +34,7 @@
3434
<h4 class="mb-0">9.823</h4>
3535
<p>Members online</p>
3636
</b-card-body>
37-
<card-line2-chart-example chartId="card-chart-02" class="chart-wrapper px-3" style="height:70px;" height="70"/>
37+
<card-line2-chart-example chartId="card-chart-02" class="chart-wrapper px-3" style="height:70px;" :height="70"/>
3838
</b-card>
3939
</b-col>
4040
<b-col sm="6" lg="3">
@@ -568,3 +568,10 @@ export default {
568568
}
569569
}
570570
</script>
571+
572+
<style>
573+
/* IE fix */
574+
#card-chart-01, #card-chart-02 {
575+
width: 100% !important;
576+
}
577+
</style>

‎src/views/dashboard/CalloutChartExample.vue

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<script>
22
import { Line } from 'vue-chartjs'
33
import { CustomTooltips } from '@coreui/coreui-plugin-chartjs-custom-tooltips'
4-
// import { getStyle } from '@coreui/coreui/dist/js/coreui-utilities'
5-
import getStyle from '../../utils/getStyle'
4+
import { getStyle } from '@coreui/coreui/dist/js/coreui-utilities'
65
76
export default {
87
components: {

‎src/views/dashboard/CardLine1ChartExample.vue

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<script>
22
import { Line } from 'vue-chartjs'
33
import { CustomTooltips } from '@coreui/coreui-plugin-chartjs-custom-tooltips'
4-
// import { getStyle } from '@coreui/coreui/dist/js/coreui-utilities'
5-
import getStyle from '../../utils/getStyle'
4+
import { getStyle } from '@coreui/coreui/dist/js/coreui-utilities'
65
76
export default {
87
extends: Line,

‎src/views/dashboard/CardLine2ChartExample.vue

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<script>
22
import { Line } from 'vue-chartjs'
33
import { CustomTooltips } from '@coreui/coreui-plugin-chartjs-custom-tooltips'
4-
// import { getStyle } from '@coreui/coreui/dist/js/coreui-utilities'
5-
import getStyle from '../../utils/getStyle'
4+
import { getStyle } from '@coreui/coreui/dist/js/coreui-utilities'
65
76
export default {
87
extends: Line,

‎src/views/dashboard/MainChartExample.vue

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
<script>
22
import { Line } from 'vue-chartjs'
3-
// import { getStyle, hexToRgba } from '@coreui/coreui/dist/js/coreui-utilities'
4-
import { hexToRgba } from '@coreui/coreui/dist/js/coreui-utilities'
3+
import { getStyle, hexToRgba } from '@coreui/coreui/dist/js/coreui-utilities'
54
import { CustomTooltips } from '@coreui/coreui-plugin-chartjs-custom-tooltips'
6-
import getStyle from '../../utils/getStyle'
75
86
function random (min, max) {
97
return Math.floor(Math.random() * (max - min + 1) + min)

0 commit comments

Comments
 (0)