refactor: change camelCase props to kebab-case

This commit is contained in:
woothu
2019-06-03 15:47:41 +02:00
parent 4ce4b01cae
commit 989220f82a
31 changed files with 420 additions and 480 deletions
+35 -35
View File
@@ -169,7 +169,7 @@
header="$1.999,50"
text="Income"
variant="primary"
noPadding
no-padding
>
<CIcon name="settings" width="24"/>
</CWidgetIcon>
@@ -179,7 +179,7 @@
header="$1.999,50"
text="Income"
variant="info"
noPadding
no-padding
>
<CIcon name="laptop" width="24"/>
</CWidgetIcon>
@@ -189,7 +189,7 @@
header="$1.999,50"
text="Income"
variant="warning"
noPadding
no-padding
>
<CIcon name="moon" width="24"/>
</CWidgetIcon>
@@ -199,7 +199,7 @@
header="$1.999,50"
text="Income"
variant="danger"
noPadding
no-padding
>
<CIcon name="bell" width="24"/>
</CWidgetIcon>
@@ -211,7 +211,7 @@
header="$1.999,50"
text="Income"
variant="primary"
noPadding
no-padding
>
<CIcon name="settings" class="c-mx-5 " width="24"/>
</CWidgetIcon>
@@ -221,7 +221,7 @@
header="$1.999,50"
text="Income"
variant="info"
noPadding
no-padding
>
<CIcon name="laptop" class="c-mx-5 " width="24"/>
</CWidgetIcon>
@@ -231,7 +231,7 @@
header="$1.999,50"
text="Income"
variant="warning"
noPadding
no-padding
>
<CIcon name="moon" class="c-mx-5 " width="24"/>
</CWidgetIcon>
@@ -243,7 +243,7 @@
header="$1.999,50"
text="Income"
variant="primary"
noPadding
no-padding
link="#"
>
<CIcon name="settings" class="c-mx-5 " width="24"/>
@@ -254,7 +254,7 @@
header="$1.999,50"
text="Income"
variant="info"
noPadding
no-padding
link="#"
>
<CIcon name="laptop" class="c-mx-5 " width="24"/>
@@ -265,7 +265,7 @@
header="$1.999,50"
text="Income"
variant="warning"
noPadding
no-padding
link="#"
>
<CIcon name="moon" class="c-mx-5" width="24"/>
@@ -474,10 +474,10 @@
<CRow>
<CCol sm="6" lg="3">
<CWidgetSmallText
rightHeader="SALE"
rightFooter="Today 6:43 AM"
leftHeader="$1.890,65"
leftFooter="+432,50 (15,78%)"
right-header="SALE"
right-footer="Today 6:43 AM"
left-header="$1.890,65"
left-footer="+432,50 (15,78%)"
>
<CChartLineSimple style="height:40px"/>
<CChartBarSimple style="height:40px"/>
@@ -486,10 +486,10 @@
<CCol sm="6" lg="3">
<CWidgetSmallText
variant="success"
rightHeader="SALE"
rightFooter="Today 6:43 AM"
leftHeader="$1.890,65"
leftFooter="+432,50 (15,78%)"
right-header="SALE"
right-footer="Today 6:43 AM"
left-header="$1.890,65"
left-footer="+432,50 (15,78%)"
>
<CChartLineSimple style="height:40px"/>
<CChartBarSimple style="height:40px"/>
@@ -498,10 +498,10 @@
<CCol sm="6" lg="3">
<CWidgetSmallText
variant="danger"
rightHeader="SALE"
rightFooter="Today 6:43 AM"
leftHeader="$1.890,65"
leftFooter="+432,50 (15,78%)"
right-header="SALE"
right-footer="Today 6:43 AM"
left-header="$1.890,65"
left-footer="+432,50 (15,78%)"
>
<CChartLineSimple style="height:40px"/>
<CChartBarSimple style="height:40px"/>
@@ -510,10 +510,10 @@
<CCol sm="6" lg="3">
<CWidgetSmallText
variant="warning"
rightHeader="SALE"
rightFooter="Today 6:43 AM"
leftHeader="$1.890,65"
leftFooter="+432,50 (15,78%)"
right-header="SALE"
right-footer="Today 6:43 AM"
left-header="$1.890,65"
left-footer="+432,50 (15,78%)"
>
<CChartLineSimple style="height:40px"/>
<CChartBarSimple style="height:40px"/>
@@ -523,32 +523,32 @@
<CRow>
<CCol sm="4" lg="2">
<CWidgetSimple header="title" text="1,123">
<CChartLineSimple style="height:40px" borderColor="danger"/>
<CChartLineSimple style="height:40px" border-color="danger"/>
</CWidgetSimple>
</CCol>
<CCol sm="4" lg="2">
<CWidgetSimple header="title" text="1,123">
<CChartLineSimple style="height:40px" borderColor="primary"/>
<CChartLineSimple style="height:40px" border-color="primary"/>
</CWidgetSimple>
</CCol>
<CCol sm="4" lg="2">
<CWidgetSimple header="title" text="1,123">
<CChartLineSimple style="height:40px" borderColor="success"/>
<CChartLineSimple style="height:40px" border-color="success"/>
</CWidgetSimple>
</CCol>
<CCol sm="4" lg="2">
<CWidgetSimple header="title" text="1,123">
<CChartBarSimple style="height:40px" backgroundColor="danger"/>
<CWidgetSimple header="title" text="1,123">
<CChartBarSimple style="height:40px" background-color="danger"/>
</CWidgetSimple>
</CCol>
<CCol sm="4" lg="2">
<CWidgetSimple header="title" text="1,123">
<CChartBarSimple style="height:40px" backgroundColor="primary"/>
<CWidgetSimple header="title" text="1,123">
<CChartBarSimple style="height:40px" background-color="primary"/>
</CWidgetSimple>
</CCol>
<CCol sm="4" lg="2">
<CWidgetSimple header="title" text="1,123">
<CChartBarSimple style="height:40px" backgroundColor="success"/>
<CWidgetSimple header="title" text="1,123">
<CChartBarSimple style="height:40px" background-color="success"/>
</CWidgetSimple>
</CCol>
</CRow>
+9 -9
View File
@@ -19,8 +19,8 @@
pointed
class="c-px-3"
style="height:70px"
:dataPoints="[65, 59, 84, 84, 51, 55, 40]"
backgroundColor="primary"
:data-points="[65, 59, 84, 84, 51, 55, 40]"
background-color="primary"
label="Members"
labels="months"
/>
@@ -33,7 +33,7 @@
class="c-float-right"
variant="transparent c-p-0"
placement="bottom-end"
noCaret
no-caret
buttonHtml="<i class='cui-location-pin'></i>"
>
<CDropdownItem>Action</CDropdownItem>
@@ -46,8 +46,8 @@
pointed
class="c-px-3"
style="height:70px"
:dataPoints="[1, 18, 9, 17, 34, 22, 11]"
backgroundColor="info"
:data-points="[1, 18, 9, 17, 34, 22, 11]"
background-color="info"
:options="{ elements: { line: { tension: 0.00001 }}}"
label="Members"
labels="months"
@@ -76,10 +76,10 @@
</template>
<CChartLineSimple
style="height:70px"
backgroundColor="rgba(255,255,255,.2)"
:dataPoints="[78, 81, 80, 45, 34, 12, 40]"
background-color="rgba(255,255,255,.2)"
:data-points="[78, 81, 80, 45, 34, 12, 40]"
:options="{ elements: { line: { borderWidth: 2.5 }}}"
pointHoverBackgroundColor="warning"
point-hover-background-color="warning"
label="Members"
labels="months"
/>
@@ -107,7 +107,7 @@
</template>
<CChartBarSimple
style="height:70px"
backgroundColor="rgb(250, 152, 152)"
background-color="rgb(250, 152, 152)"
label="Members"
labels="months"
/>
+40 -40
View File
@@ -4,10 +4,10 @@
<CCol md="3" sm="6">
<CWidgetSocial
variant="facebook"
rightHeader="89k"
rightFooter="friends"
leftHeader="459"
leftFooter="feeds"
right-header="89k"
right-footer="friends"
left-header="459"
left-footer="feeds"
>
<CIcon
name="socialFacebook"
@@ -16,8 +16,8 @@
/>
<CChartLineSimple
style="height:100px"
backgroundColor="rgba(255,255,255,.1)"
:dataPoints="[65, 59, 84, 84, 51, 55, 40]"
background-color="rgba(255,255,255,.1)"
:data-points="[65, 59, 84, 84, 51, 55, 40]"
label="Friends"
labels="months"
/>
@@ -26,10 +26,10 @@
<CCol md="3" sm="6">
<CWidgetSocial
variant="twitter"
rightHeader="973k"
rightFooter="followers"
leftHeader="1.792"
leftFooter="tweets"
right-header="973k"
right-footer="followers"
left-header="1.792"
left-footer="tweets"
>
<CIcon
name="socialTwitter"
@@ -38,8 +38,8 @@
/>
<CChartLineSimple
style="height:100px"
backgroundColor="rgba(255,255,255,.1)"
:dataPoints="[1, 13, 9, 17, 34, 41, 38]"
background-color="rgba(255,255,255,.1)"
:data-points="[1, 13, 9, 17, 34, 41, 38]"
label="Followers"
labels="months"
/>
@@ -48,10 +48,10 @@
<CCol md="3" sm="6">
<CWidgetSocial
variant="linkedin"
rightHeader="500+"
rightFooter="contracts"
leftHeader="292"
leftFooter="feeds"
right-header="500+"
right-footer="contracts"
left-header="292"
left-footer="feeds"
>
<CIcon
name="socialLinkedin"
@@ -60,8 +60,8 @@
/>
<CChartLineSimple
style="height:100px"
backgroundColor="rgba(255,255,255,.1)"
:dataPoints="[78, 81, 80, 45, 34, 12, 40]"
background-color="rgba(255,255,255,.1)"
:data-points="[78, 81, 80, 45, 34, 12, 40]"
label="Contracts"
labels="months"
/>
@@ -69,10 +69,10 @@
</CCol>
<CCol md="3" sm="6">
<CWidgetSocial
rightHeader="12"
rightFooter="events"
leftHeader="4"
leftFooter="meetings"
right-header="12"
right-footer="events"
left-header="4"
left-footer="meetings"
variant="warning"
>
<CIcon
@@ -82,8 +82,8 @@
/>
<CChartLineSimple
style="height:100px"
backgroundColor="rgba(255,255,255,.1)"
:dataPoints="[35, 23, 56, 22, 97, 23, 64]"
background-color="rgba(255,255,255,.1)"
:data-points="[35, 23, 56, 22, 97, 23, 64]"
label="Followers"
labels="months"
/>
@@ -94,10 +94,10 @@
<CCol md="3" sm="6">
<CWidgetSocial
variant="facebook"
rightHeader="89k"
rightFooter="friends"
leftHeader="459"
leftFooter="feeds"
right-header="89k"
right-footer="friends"
left-header="459"
left-footer="feeds"
>
<CIcon
name="socialFacebook"
@@ -109,10 +109,10 @@
<CCol md="3" sm="6">
<CWidgetSocial
variant="twitter"
rightHeader="973k"
rightFooter="followers"
leftHeader="1.792"
leftFooter="tweets"
right-header="973k"
right-footer="followers"
left-header="1.792"
left-footer="tweets"
>
<CIcon
name="socialTwitter"
@@ -124,10 +124,10 @@
<CCol md="3" sm="6">
<CWidgetSocial
variant="linkedin"
rightHeader="500+"
rightFooter="contracts"
leftHeader="292"
leftFooter="feeds"
right-header="500+"
right-footer="contracts"
left-header="292"
left-footer="feeds"
>
<CIcon
name="socialLinkedin"
@@ -138,10 +138,10 @@
</CCol>
<CCol md="3" sm="6">
<CWidgetSocial
rightHeader="12"
rightFooter="events"
leftHeader="4"
leftFooter="meetings"
right-header="12"
right-footer="events"
left-header="4"
left-footer="meetings"
variant="warning"
>
<CIcon