Skip to content

Commit

Permalink
Update to 1.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
mrholek committed Nov 13, 2017
1 parent dd05dde commit a1db02c
Show file tree
Hide file tree
Showing 12 changed files with 39 additions and 30 deletions.
7 changes: 7 additions & 0 deletions Vue_Full_Project/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
## [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`
- 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:
Expand Down
2 changes: 1 addition & 1 deletion Vue_Full_Project/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coreui/vue",
"version": "1.0.4",
"version": "1.0.5",
"description": "",
"author": "Łukasz Holeczek",
"homepage": "http://coreui.io",
Expand Down
7 changes: 3 additions & 4 deletions Vue_Full_Project/scss/core/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -338,17 +338,16 @@ app-root {
}
}

.sidebar,
.sidebar-fixed .sidebar {
.sidebar {
position: fixed;
z-index: $zindex-sticky - 1;
width: $mobile-sidebar-width;
// height: 100%;
height: calc(100vh - #{$navbar-height});
margin-left: - $mobile-sidebar-width;

.sidebar-nav,
.nav {
width: $mobile-sidebar-width !important;
width: $mobile-sidebar-width;
min-height: calc(100vh - #{$navbar-height});
}

Expand Down
2 changes: 1 addition & 1 deletion Vue_Full_Project/scss/style.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* CoreUI - Open Source Bootstrap Admin Template
* @version v1.0.4
* @version v1.0.5
* @link http://coreui.io
* Copyright (c) 2017 creativeLabs Łukasz Holeczek
* @license MIT
Expand Down
2 changes: 1 addition & 1 deletion Vue_Full_Project/src/views/Dashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@
</div><!--/.col-->
</div><!--/.row-->
<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"
:fields="tableFields"
head-variant="light"
Expand Down
24 changes: 14 additions & 10 deletions Vue_Full_Project/src/views/components/Forms.vue
Original file line number Diff line number Diff line change
Expand Up @@ -205,53 +205,57 @@
label="Radios"
:label-cols="3"
:horizontal="true">
<b-form-radio
<b-form-radio-group
:plain="true"
:options="[
{text: 'Option 1 ',value: '1'},
{text: 'Option 2 ',value: '2'},
{text: 'Option 3 ',value: '3'}
]"
value="1"
stacked></b-form-radio>
stacked>
</b-form-radio-group>
</b-form-fieldset>
<b-form-fieldset
label="Radios - custom"
:label-cols="3"
:horizontal="true">
<b-form-radio
<b-form-radio-group
:options="[
{text: 'Option 1',value: '1'},
{text: 'Option 2',value: '2'},
{text: 'Option 3',value: '3'}
]"
value="1"
stacked></b-form-radio>
stacked>
</b-form-radio-group>
</b-form-fieldset>
<b-form-fieldset
label="Inline radios"
:label-cols="3"
:horizontal="true">
<b-form-radio
<b-form-radio-group
:plain="true"
:options="[
{text: 'Option 1 ',value: '1'},
{text: 'Option 2 ',value: '2'},
{text: 'Option 3 ',value: '3'}
]"
value="1"></b-form-radio>
value="1">
</b-form-radio-group>
</b-form-fieldset>
<b-form-fieldset
label="Inline radios - custom"
:label-cols="3"
:horizontal="true">
<b-form-radio
<b-form-radio-group
:options="[
{text: 'Option 1',value: '1'},
{text: 'Option 2',value: '2'},
{text: 'Option 3',value: '3'}
]"
value="1"></b-form-radio>
value="1">
</b-form-radio-group>
</b-form-fieldset>
<b-form-fieldset
label="Checkboxes"
Expand Down Expand Up @@ -460,11 +464,11 @@
</div>
<div class="card-body">
<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">
</div>
<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">
<div class="invalid-feedback">
Please provide a valid informations.
Expand Down
2 changes: 1 addition & 1 deletion Vue_Starter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coreui/vue",
"version": "1.0.4",
"version": "1.0.5",
"description": "Open Source Bootstrap Admin Template",
"author": "Łukasz Holeczek",
"homepage": "http://coreui.io",
Expand Down
7 changes: 3 additions & 4 deletions Vue_Starter/scss/core/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -338,17 +338,16 @@ app-root {
}
}

.sidebar,
.sidebar-fixed .sidebar {
.sidebar {
position: fixed;
z-index: $zindex-sticky - 1;
width: $mobile-sidebar-width;
// height: 100%;
height: calc(100vh - #{$navbar-height});
margin-left: - $mobile-sidebar-width;

.sidebar-nav,
.nav {
width: $mobile-sidebar-width !important;
width: $mobile-sidebar-width;
min-height: calc(100vh - #{$navbar-height});
}

Expand Down
2 changes: 1 addition & 1 deletion Vue_Starter/scss/style.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* CoreUI - Open Source Bootstrap Admin Template
* @version v1.0.4
* @version v1.0.5
* @link http://coreui.io
* Copyright (c) 2017 creativeLabs Łukasz Holeczek
* @license MIT
Expand Down
2 changes: 1 addition & 1 deletion Vue_Starter/src/views/Dashboard.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="animated fadeIn">
<p class="text-info">Hello World</p>
Hello World
</div>
</template>

Expand Down
10 changes: 5 additions & 5 deletions Vue_Starter/test/unit/specs/Hello.spec.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
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', () => {
const Constructor = Vue.extend(Dashboard)
const Constructor = Vue.extend(Hello)
const vm = new Constructor().$mount()
expect(vm.$el.querySelector('.text-info').textContent)
.to.equal('Hello World')
expect(vm.$el.querySelector('.hello h1').textContent)
.to.equal('Welcome to Your Vue.js App')
})
})
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coreui/vue",
"version": "1.0.4",
"version": "1.0.5",
"description": "Open Source Vue Admin Template",
"main": "",
"homepage": "http://coreui.io/vue/",
Expand Down

0 comments on commit a1db02c

Please sign in to comment.