refactor: minor refactors, fixes, code clean and snapshots update

This commit is contained in:
woothu
2019-12-04 19:54:15 +01:00
parent 6c91472ae5
commit cbeebb7152
39 changed files with 7532 additions and 6826 deletions
@@ -17,7 +17,12 @@ exports[`Breadcrumbs.vue renders correctly 1`] = `
class="c-icon"
viewBox="0 0 64 64"
xmlns="http://www.w3.org/2000/svg"
/>
>
<title>
cilJustifyCenter
</title>
undefined
</svg>
<strong>
Bootstrap Breadcrumb
</strong>
@@ -78,7 +78,12 @@ exports[`Cards.vue renders correctly 1`] = `
class="c-icon"
viewBox="0 0 64 64"
xmlns="http://www.w3.org/2000/svg"
/>
>
<title>
cilCheck
</title>
undefined
</svg>
Card with icon
</header>
@@ -441,7 +446,7 @@ exports[`Cards.vue renders correctly 1`] = `
class="col-sm-6 col-md-4"
>
<div
class="card text-center bg-primary"
class="card text-center bg-primary text-white"
>
<div
class="card-body"
@@ -471,7 +476,7 @@ exports[`Cards.vue renders correctly 1`] = `
class="col-sm-6 col-md-4"
>
<div
class="card text-center bg-success"
class="card text-center bg-success text-white"
>
<div
class="card-body"
@@ -501,7 +506,7 @@ exports[`Cards.vue renders correctly 1`] = `
class="col-sm-6 col-md-4"
>
<div
class="card text-center bg-info"
class="card text-center bg-info text-white"
>
<div
class="card-body"
@@ -531,7 +536,7 @@ exports[`Cards.vue renders correctly 1`] = `
class="col-sm-6 col-md-4"
>
<div
class="card text-center bg-warning"
class="card text-center bg-warning text-white"
>
<div
class="card-body"
@@ -561,7 +566,7 @@ exports[`Cards.vue renders correctly 1`] = `
class="col-sm-6 col-md-4"
>
<div
class="card text-center bg-danger"
class="card text-center bg-danger text-white"
>
<div
class="card-body"
@@ -625,7 +630,7 @@ exports[`Cards.vue renders correctly 1`] = `
class="col-sm-6 col-md-4"
>
<div
class="card bg-primary"
class="card bg-primary text-white"
>
<div
class="card-body"
@@ -641,7 +646,7 @@ exports[`Cards.vue renders correctly 1`] = `
class="col-sm-6 col-md-4"
>
<div
class="card bg-success"
class="card bg-success text-white"
>
<div
class="card-body"
@@ -657,7 +662,7 @@ exports[`Cards.vue renders correctly 1`] = `
class="col-sm-6 col-md-4"
>
<div
class="card bg-info"
class="card bg-info text-white"
>
<div
class="card-body"
@@ -673,7 +678,7 @@ exports[`Cards.vue renders correctly 1`] = `
class="col-sm-6 col-md-4"
>
<div
class="card bg-warning"
class="card bg-warning text-white"
>
<div
class="card-body"
@@ -689,7 +694,7 @@ exports[`Cards.vue renders correctly 1`] = `
class="col-sm-6 col-md-4"
>
<div
class="card bg-danger"
class="card bg-danger text-white"
>
<div
class="card-body"
@@ -726,7 +731,12 @@ exports[`Cards.vue renders correctly 1`] = `
class="c-icon"
viewBox="0 0 64 64"
xmlns="http://www.w3.org/2000/svg"
/>
>
<title>
cilSettings
</title>
undefined
</svg>
</a>
<a
@@ -738,7 +748,12 @@ exports[`Cards.vue renders correctly 1`] = `
class="c-icon"
viewBox="0 0 64 64"
xmlns="http://www.w3.org/2000/svg"
/>
>
<title>
cilChevronBottom
</title>
undefined
</svg>
</a>
<a
@@ -750,7 +765,12 @@ exports[`Cards.vue renders correctly 1`] = `
class="c-icon"
viewBox="0 0 64 64"
xmlns="http://www.w3.org/2000/svg"
/>
>
<title>
cilXCircle
</title>
undefined
</svg>
</a>
</div>
</header>
@@ -17,7 +17,12 @@ exports[`Carousels.vue renders correctly 1`] = `
class="c-icon"
viewBox="0 0 64 64"
xmlns="http://www.w3.org/2000/svg"
/>
>
<title>
cilJustifyCenter
</title>
undefined
</svg>
<strong>
Bootstrap Carousel
@@ -46,26 +51,33 @@ exports[`Carousels.vue renders correctly 1`] = `
>
<div
class="carousel slide"
data-v-9c4fbe64=""
style="height: 400px;"
>
<ol
class="carousel-indicators"
data-v-9c4fbe64=""
>
<li
class="active"
data-v-9c4fbe64=""
/>
<li
class=""
data-v-9c4fbe64=""
/>
<li
class=""
data-v-9c4fbe64=""
/>
</ol>
<div
class="carousel-inner"
data-v-9c4fbe64=""
>
<div
class="carousel-item active"
data-v-9c4fbe64=""
>
<img
class="d-block w-100 h-100 img-fluid"
@@ -85,6 +97,7 @@ exports[`Carousels.vue renders correctly 1`] = `
<div
class="carousel-item"
data-v-9c4fbe64=""
>
<svg
class="d-block w-100 h-100 img-fluid"
@@ -104,6 +117,7 @@ exports[`Carousels.vue renders correctly 1`] = `
<div
class="carousel-item"
data-v-9c4fbe64=""
>
<img
class="d-block w-100 h-100 img-fluid"
@@ -114,18 +128,22 @@ exports[`Carousels.vue renders correctly 1`] = `
</div>
<a
class="carousel-control-prev"
data-v-9c4fbe64=""
>
<span
aria-label="Previous"
class="carousel-control-prev-icon"
data-v-9c4fbe64=""
/>
</a>
<a
class="carousel-control-next"
data-v-9c4fbe64=""
>
<span
aria-label="Next"
class="carousel-control-next-icon"
data-v-9c4fbe64=""
/>
</a>
</div>
@@ -17,7 +17,12 @@ exports[`Collapses.vue renders correctly 1`] = `
class="c-icon"
viewBox="0 0 64 64"
xmlns="http://www.w3.org/2000/svg"
/>
>
<title>
cilJustifyCenter
</title>
undefined
</svg>
<strong>
Bootstrap Collapse
@@ -4,6 +4,7 @@ exports[`Jumbotrons.vue renders correctly 1`] = `
<div>
<crow-stub
gutters="true"
tag="div"
>
<ccol-stub
tag="div"
@@ -156,6 +157,7 @@ exports[`Jumbotrons.vue renders correctly 1`] = `
<crow-stub
gutters="true"
tag="div"
>
<ccol-stub
tag="div"
@@ -4,6 +4,7 @@ exports[`ListGroups.vue renders correctly 1`] = `
<div>
<crow-stub
gutters="true"
tag="div"
>
<ccol-stub
md="6"
@@ -184,6 +185,7 @@ exports[`ListGroups.vue renders correctly 1`] = `
<crow-stub
gutters="true"
tag="div"
>
<ccol-stub
md="6"
@@ -349,6 +351,7 @@ exports[`ListGroups.vue renders correctly 1`] = `
<crow-stub
gutters="true"
tag="div"
>
<ccol-stub
md="6"
@@ -530,6 +533,7 @@ exports[`ListGroups.vue renders correctly 1`] = `
<crow-stub
gutters="true"
tag="div"
>
<ccol-stub
md="6"
@@ -811,6 +815,7 @@ exports[`ListGroups.vue renders correctly 1`] = `
<crow-stub
gutters="true"
tag="div"
>
<ccol-stub
col="12"
@@ -834,6 +839,7 @@ exports[`ListGroups.vue renders correctly 1`] = `
<ccardbody-stub>
<ccardgroup-stub
deck="true"
tag="div"
>
<ccard-stub>
<ccardheader-stub>
@@ -885,6 +891,7 @@ exports[`ListGroups.vue renders correctly 1`] = `
<ccardtext-stub
class="mt-2"
tag="p"
>
Quis magna Lorem anim amet ipsum do mollit sit cillum voluptate ex
@@ -961,6 +968,7 @@ exports[`ListGroups.vue renders correctly 1`] = `
<crow-stub
gutters="true"
tag="div"
>
<ccol-stub
md="6"
@@ -47,6 +47,7 @@ exports[`Navbars.vue renders correctly 1`] = `
exactactiveclass="active"
href="#"
routertag="a"
tag="div"
target="_self"
>
NavBar
@@ -224,6 +225,7 @@ exports[`Navbars.vue renders correctly 1`] = `
exactactiveclass="active"
href="#"
routertag="a"
tag="div"
target="_self"
>
<img
@@ -271,6 +273,7 @@ exports[`Navbars.vue renders correctly 1`] = `
event="click"
exactactiveclass="active"
routertag="a"
tag="div"
target="_self"
>
CoreuiVue
@@ -512,6 +512,7 @@ exports[`Navs.vue renders correctly 1`] = `
<ccardbody-stub>
<crow-stub
gutters="true"
tag="div"
>
<ccol-stub
class="m-0"
@@ -4,6 +4,7 @@ exports[`Switches.vue renders correctly 1`] = `
<div>
<crow-stub
gutters="true"
tag="div"
>
<ccol-stub
md="6"
@@ -135,6 +136,7 @@ exports[`Switches.vue renders correctly 1`] = `
<crow-stub
gutters="true"
tag="div"
>
<ccol-stub
md="6"
@@ -4,6 +4,7 @@ exports[`Tables.vue renders correctly 1`] = `
<div>
<crow-stub
gutters="true"
tag="div"
>
<ccol-stub
lg="6"
@@ -31,6 +32,7 @@ exports[`Tables.vue renders correctly 1`] = `
<crow-stub
gutters="true"
tag="div"
>
<ccol-stub
lg="6"
@@ -60,6 +62,7 @@ exports[`Tables.vue renders correctly 1`] = `
<crow-stub
gutters="true"
tag="div"
>
<ccol-stub
sm="12"
@@ -80,6 +83,7 @@ exports[`Tables.vue renders correctly 1`] = `
<crow-stub
gutters="true"
tag="div"
>
<ccol-stub
sm="12"
@@ -4,6 +4,7 @@ exports[`Tabs.vue renders correctly 1`] = `
<div>
<crow-stub
gutters="true"
tag="div"
>
<ccol-stub
lg="6"
@@ -40,6 +40,7 @@ exports[`Tooltips.vue renders correctly 1`] = `
<ccardbody-stub>
<crow-stub
gutters="true"
tag="div"
>
<ccol-stub
col="6"
@@ -111,6 +112,7 @@ exports[`Tooltips.vue renders correctly 1`] = `
>
<crow-stub
gutters="true"
tag="div"
>
<ccol-stub
class="py-4 text-center"