Update to 1.0.5

This commit is contained in:
Łukasz Holeczek
2017-11-13 11:38:39 +01:00
parent dd05ddee61
commit a1db02c4d0
12 changed files with 39 additions and 30 deletions
+7
View File
@@ -1,5 +1,12 @@
## [vue](./README.md) version `changelog` ## [vue](./README.md) version `changelog`
###### `v1.0.5`
- fix: use `<b-form-radio-group>` instead of `<b-form-radio>` **[breaking change](https://bootstrap-vue.js.org/docs/components/form-radios)** :fire:
###### `v1.0.4`
- refactor: import Bootstrap 4 SCSS files from node_modules
- fix: callouts styles
###### `v1.0.3` ###### `v1.0.3`
- update: Bootstrap version to `4.0.0-beta.2` - update: Bootstrap version to `4.0.0-beta.2`
- update: vue-chartjs to `3.0.0` **[breaking change](https://github.com/apertureless/vue-chartjs/releases/tag/v3.0.0)** :fire: - update: vue-chartjs to `3.0.0` **[breaking change](https://github.com/apertureless/vue-chartjs/releases/tag/v3.0.0)** :fire:
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@coreui/vue", "name": "@coreui/vue",
"version": "1.0.4", "version": "1.0.5",
"description": "", "description": "",
"author": "Łukasz Holeczek", "author": "Łukasz Holeczek",
"homepage": "http://coreui.io", "homepage": "http://coreui.io",
+3 -4
View File
@@ -338,17 +338,16 @@ app-root {
} }
} }
.sidebar, .sidebar {
.sidebar-fixed .sidebar {
position: fixed; position: fixed;
z-index: $zindex-sticky - 1; z-index: $zindex-sticky - 1;
width: $mobile-sidebar-width; width: $mobile-sidebar-width;
// height: 100%; height: calc(100vh - #{$navbar-height});
margin-left: - $mobile-sidebar-width; margin-left: - $mobile-sidebar-width;
.sidebar-nav, .sidebar-nav,
.nav { .nav {
width: $mobile-sidebar-width !important; width: $mobile-sidebar-width;
min-height: calc(100vh - #{$navbar-height}); min-height: calc(100vh - #{$navbar-height});
} }
+1 -1
View File
@@ -1,6 +1,6 @@
/*! /*!
* CoreUI - Open Source Bootstrap Admin Template * CoreUI - Open Source Bootstrap Admin Template
* @version v1.0.4 * @version v1.0.5
* @link http://coreui.io * @link http://coreui.io
* Copyright (c) 2017 creativeLabs Łukasz Holeczek * Copyright (c) 2017 creativeLabs Łukasz Holeczek
* @license MIT * @license MIT
+1 -1
View File
@@ -497,7 +497,7 @@
</div><!--/.col--> </div><!--/.col-->
</div><!--/.row--> </div><!--/.row-->
<br/> <br/>
<b-table class="table-outline table-responsive-sm b-0" hover <b-table class="table-outline table-responsive-sm mb-0" hover
:items="tableItems" :items="tableItems"
:fields="tableFields" :fields="tableFields"
head-variant="light" head-variant="light"
+14 -10
View File
@@ -205,7 +205,7 @@
label="Radios" label="Radios"
:label-cols="3" :label-cols="3"
:horizontal="true"> :horizontal="true">
<b-form-radio <b-form-radio-group
:plain="true" :plain="true"
:options="[ :options="[
{text: 'Option 1 ',value: '1'}, {text: 'Option 1 ',value: '1'},
@@ -213,45 +213,49 @@
{text: 'Option 3 ',value: '3'} {text: 'Option 3 ',value: '3'}
]" ]"
value="1" value="1"
stacked></b-form-radio> stacked>
</b-form-radio-group>
</b-form-fieldset> </b-form-fieldset>
<b-form-fieldset <b-form-fieldset
label="Radios - custom" label="Radios - custom"
:label-cols="3" :label-cols="3"
:horizontal="true"> :horizontal="true">
<b-form-radio <b-form-radio-group
:options="[ :options="[
{text: 'Option 1',value: '1'}, {text: 'Option 1',value: '1'},
{text: 'Option 2',value: '2'}, {text: 'Option 2',value: '2'},
{text: 'Option 3',value: '3'} {text: 'Option 3',value: '3'}
]" ]"
value="1" value="1"
stacked></b-form-radio> stacked>
</b-form-radio-group>
</b-form-fieldset> </b-form-fieldset>
<b-form-fieldset <b-form-fieldset
label="Inline radios" label="Inline radios"
:label-cols="3" :label-cols="3"
:horizontal="true"> :horizontal="true">
<b-form-radio <b-form-radio-group
:plain="true" :plain="true"
:options="[ :options="[
{text: 'Option 1 ',value: '1'}, {text: 'Option 1 ',value: '1'},
{text: 'Option 2 ',value: '2'}, {text: 'Option 2 ',value: '2'},
{text: 'Option 3 ',value: '3'} {text: 'Option 3 ',value: '3'}
]" ]"
value="1"></b-form-radio> value="1">
</b-form-radio-group>
</b-form-fieldset> </b-form-fieldset>
<b-form-fieldset <b-form-fieldset
label="Inline radios - custom" label="Inline radios - custom"
:label-cols="3" :label-cols="3"
:horizontal="true"> :horizontal="true">
<b-form-radio <b-form-radio-group
:options="[ :options="[
{text: 'Option 1',value: '1'}, {text: 'Option 1',value: '1'},
{text: 'Option 2',value: '2'}, {text: 'Option 2',value: '2'},
{text: 'Option 3',value: '3'} {text: 'Option 3',value: '3'}
]" ]"
value="1"></b-form-radio> value="1">
</b-form-radio-group>
</b-form-fieldset> </b-form-fieldset>
<b-form-fieldset <b-form-fieldset
label="Checkboxes" label="Checkboxes"
@@ -460,11 +464,11 @@
</div> </div>
<div class="card-body"> <div class="card-body">
<div class="form-group"> <div class="form-group">
<label class="form-col-form-label" for="inputSuccess1">Input with success</label> <label class="col-form-label" for="inputSuccess1">Input with success</label>
<input type="text" class="form-control is-valid" id="inputSuccess1"> <input type="text" class="form-control is-valid" id="inputSuccess1">
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="form-col-form-label" for="inputError1">Input with error</label> <label class="col-form-label" for="inputError1">Input with error</label>
<input type="text" class="form-control is-invalid" id="inputError1"> <input type="text" class="form-control is-invalid" id="inputError1">
<div class="invalid-feedback"> <div class="invalid-feedback">
Please provide a valid informations. Please provide a valid informations.
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@coreui/vue", "name": "@coreui/vue",
"version": "1.0.4", "version": "1.0.5",
"description": "Open Source Bootstrap Admin Template", "description": "Open Source Bootstrap Admin Template",
"author": "Łukasz Holeczek", "author": "Łukasz Holeczek",
"homepage": "http://coreui.io", "homepage": "http://coreui.io",
+3 -4
View File
@@ -338,17 +338,16 @@ app-root {
} }
} }
.sidebar, .sidebar {
.sidebar-fixed .sidebar {
position: fixed; position: fixed;
z-index: $zindex-sticky - 1; z-index: $zindex-sticky - 1;
width: $mobile-sidebar-width; width: $mobile-sidebar-width;
// height: 100%; height: calc(100vh - #{$navbar-height});
margin-left: - $mobile-sidebar-width; margin-left: - $mobile-sidebar-width;
.sidebar-nav, .sidebar-nav,
.nav { .nav {
width: $mobile-sidebar-width !important; width: $mobile-sidebar-width;
min-height: calc(100vh - #{$navbar-height}); min-height: calc(100vh - #{$navbar-height});
} }
+1 -1
View File
@@ -1,6 +1,6 @@
/*! /*!
* CoreUI - Open Source Bootstrap Admin Template * CoreUI - Open Source Bootstrap Admin Template
* @version v1.0.4 * @version v1.0.5
* @link http://coreui.io * @link http://coreui.io
* Copyright (c) 2017 creativeLabs Łukasz Holeczek * Copyright (c) 2017 creativeLabs Łukasz Holeczek
* @license MIT * @license MIT
+1 -1
View File
@@ -1,6 +1,6 @@
<template> <template>
<div class="animated fadeIn"> <div class="animated fadeIn">
<p class="text-info">Hello World</p> Hello World
</div> </div>
</template> </template>
+5 -5
View File
@@ -1,11 +1,11 @@
import Vue from 'vue' import Vue from 'vue'
import Dashboard from '@/views/Dashboard' import Hello from '@/components/Hello'
describe('Dashboard.vue', () => { describe('Hello.vue', () => {
it('should render correct contents', () => { it('should render correct contents', () => {
const Constructor = Vue.extend(Dashboard) const Constructor = Vue.extend(Hello)
const vm = new Constructor().$mount() const vm = new Constructor().$mount()
expect(vm.$el.querySelector('.text-info').textContent) expect(vm.$el.querySelector('.hello h1').textContent)
.to.equal('Hello World') .to.equal('Welcome to Your Vue.js App')
}) })
}) })
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@coreui/vue", "name": "@coreui/vue",
"version": "1.0.4", "version": "1.0.5",
"description": "Open Source Vue Admin Template", "description": "Open Source Vue Admin Template",
"main": "", "main": "",
"homepage": "http://coreui.io/vue/", "homepage": "http://coreui.io/vue/",