Skip to content

Commit 452af28

Browse files
committed
fix: small fixes
1 parent b24bdc4 commit 452af28

File tree

8 files changed

+38
-37
lines changed

8 files changed

+38
-37
lines changed

src/containers/_nav.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default [
1010
icon: 'cui-speedometer',
1111
badge: {
1212
color: 'primary',
13-
textHtml: 'NEW'
13+
text: 'NEW'
1414
}
1515
}
1616
}
@@ -296,7 +296,7 @@ export default [
296296
icon: 'cui-star',
297297
badge: {
298298
color: 'info',
299-
textHtml: 'NEW'
299+
text: 'NEW'
300300
}
301301
}
302302
}
@@ -374,7 +374,7 @@ export default [
374374
icon: 'cui-calculator',
375375
badge: {
376376
color: 'primary',
377-
textHtml: 'NEW',
377+
text: 'NEW',
378378
pill: true
379379
}
380380
}

src/views/base/Breadcrumbs.vue

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,51 +32,51 @@ export default {
3232
return {
3333
items: [
3434
{
35-
textHtml: '<b>Admin</b>',
35+
text: '<b>Admin</b>',
3636
href: '#'
3737
},
3838
{
39-
textHtml: 'Manage',
39+
text: 'Manage',
4040
href: '#'
4141
},
4242
{
43-
textHtml: 'Library'
43+
text: 'Library'
4444
}
4545
],
4646
4747
4848
items2: [
4949
{
50-
textHtml: 'Go to dashboard',
50+
text: 'Go to dashboard',
5151
to: '/dashboard'
5252
},
5353
{
54-
textHtml: 'Go to widgets',
54+
text: 'Go to widgets',
5555
to: '/Widgets'
5656
},
5757
{
58-
textHtml: 'Go to Google',
58+
text: 'Go to Google',
5959
href: 'http://google.com'
6060
},
6161
{
62-
textHtml: 'Current page'
62+
text: 'Current page'
6363
}
6464
],
6565
6666
6767
items3: [
6868
{
69-
textHtml: 'Added',
69+
text: 'Added',
7070
to: '#2',
7171
addClasses: 'font-xl'
7272
},
7373
{
74-
textHtml: 'Custom',
74+
text: 'Custom',
7575
to: '#3',
7676
addClasses: 'font-xl'
7777
},
7878
{
79-
textHtml: 'Classes',
79+
text: 'Classes',
8080
to: '#4',
8181
addClasses: 'font-xl text-danger'
8282
}

src/views/base/Navbars.vue

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
</CCardHeader>
1818
<CCardBody>
1919
<CNavbar
20-
toggleable="md"
20+
expandable="md"
2121
color="info"
2222
>
23-
<CNavbarToggler @click="show=!show"/>
23+
<CToggler inNavbar @click="show=!show"/>
2424
<CNavbarBrand href="#">NavBar</CNavbarBrand>
2525
<CCollapse :show="show" navbar>
2626
<CNavbarNav>
@@ -87,7 +87,7 @@
8787
</CCardHeader>
8888
<CCardBody>
8989
<CNavbar toggleable="sm" light color="light">
90-
<CNavbarToggle @click="navbarText=!navbarText"></CNavbarToggle>
90+
<CToggler inNavbar @click="navbarText=!navbarText"/>
9191
<CNavbarBrand>CoreuiVue</CNavbarBrand>
9292
<CCollapse :show="navbarText" navbar>
9393
<CNavbarNav>
@@ -103,16 +103,16 @@
103103
<small>dropdown</small>
104104
</CCardHeader>
105105
<CCardBody>
106-
<CNavbar toggleable="sm" color="primary">
107-
<CNavbarToggle @click="navbarDropdown = !navbarDropdown"></CNavbarToggle>
106+
<CNavbar expandable="sm" color="primary" >
107+
<CToggler inNavbar @click="navbarDropdown = !navbarDropdown"/>
108108
<CCollapse :show="navbarDropdown" navbar>
109109
<CNavbarNav>
110110
<CNavItem href="#">Home</CNavItem>
111111
<CNavItem href="#">Link</CNavItem>
112112
<!-- Navbar dropdowns -->
113113
<CDropdown
114114
toggler-text="Lang"
115-
right
115+
placement="bottom-end"
116116
nav
117117
>
118118
<CDropdownItem>EN</CDropdownItem>
@@ -122,7 +122,7 @@
122122
</CDropdown>
123123
<CDropdown
124124
toggler-text="User"
125-
right
125+
placement="bottom-end"
126126
nav
127127
>
128128
<CDropdownItem>Account</CDropdownItem>

src/views/notifications/Alerts.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,10 @@
125125
class="position-absolute"
126126
color="secondary"
127127
style="right:10px;top: 50%;transform: translateY(-50%);"
128-
textHtml="<i>Close</i>"
129128
@click="dismiss"
130-
/>
129+
>
130+
<i>Close</i>
131+
</CButton>
131132
</CAlert>
132133
<CButton
133134
@click="showDismissibleAlerts"

src/views/notifications/Badges.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<CCardFooter>
2727
<CButton color="primary">
2828
Notifications
29-
<CBadge color="light" :style="{position: 'static'}">4</CBadge>
29+
<CBadge color="light" class="ml-2 position-static">4</CBadge>
3030
</CButton>
3131
</CCardFooter>
3232
</CCard>

src/views/notifications/Modals.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,11 +161,11 @@
161161
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
162162
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
163163
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
164-
<template #header="{hide}">
164+
<template #header>
165165
<h6 class="modal-title">Custom smaller modal title</h6>
166-
<CButtonClose @click="hide()" class="text-white"/>
166+
<CButtonClose @click="darkModal = false" class="text-white"/>
167167
</template>
168-
<template #footer="{hide}">
168+
<template #footer>
169169
<CButton @click="darkModal = false" color="danger">Discard</CButton>
170170
<CButton @click="darkModal = false" color="success">Accept</CButton>
171171
</template>

src/views/widgets/Widgets.vue

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
header="$1.999,50"
141141
text="Income"
142142
color="primary"
143-
no-icon-padding
143+
:icon-padding="false"
144144
>
145145
<CIcon name="settings" width="24"/>
146146
</CWidgetIcon>
@@ -150,7 +150,7 @@
150150
header="$1.999,50"
151151
text="Income"
152152
color="info"
153-
no-icon-padding
153+
:icon-padding="false"
154154
>
155155
<CIcon name="laptop" width="24"/>
156156
</CWidgetIcon>
@@ -160,7 +160,7 @@
160160
header="$1.999,50"
161161
text="Income"
162162
color="warning"
163-
no-icon-padding
163+
:icon-padding="false"
164164
>
165165
<CIcon name="moon" width="24"/>
166166
</CWidgetIcon>
@@ -170,7 +170,7 @@
170170
header="$1.999,50"
171171
text="Income"
172172
color="danger"
173-
no-icon-padding
173+
:icon-padding="false"
174174
>
175175
<CIcon name="bell" width="24"/>
176176
</CWidgetIcon>
@@ -182,7 +182,7 @@
182182
header="$1.999,50"
183183
text="Income"
184184
color="primary"
185-
no-icon-padding
185+
:icon-padding="false"
186186
>
187187
<CIcon name="settings" class="mx-5 " width="24"/>
188188
</CWidgetIcon>
@@ -192,7 +192,7 @@
192192
header="$1.999,50"
193193
text="Income"
194194
color="info"
195-
no-icon-padding
195+
:icon-padding="false"
196196
>
197197
<CIcon name="laptop" class="mx-5 " width="24"/>
198198
</CWidgetIcon>
@@ -202,7 +202,7 @@
202202
header="$1.999,50"
203203
text="Income"
204204
color="warning"
205-
no-icon-padding
205+
:icon-padding="false"
206206
>
207207
<CIcon name="moon" class="mx-5 " width="24"/>
208208
<template #footer>
@@ -225,7 +225,7 @@
225225
header="$1.999,50"
226226
text="Income"
227227
color="primary"
228-
no-icon-padding
228+
:icon-padding="false"
229229
link="#"
230230
>
231231
<CIcon name="settings" class="mx-5 " width="24"/>
@@ -236,7 +236,7 @@
236236
header="$1.999,50"
237237
text="Income"
238238
color="info"
239-
no-icon-padding
239+
:icon-padding="false"
240240
link="#"
241241
>
242242
<CIcon name="laptop" class="mx-5 " width="24"/>
@@ -247,7 +247,7 @@
247247
header="$1.999,50"
248248
text="Income"
249249
color="warning"
250-
no-icon-padding
250+
:icon-padding="false"
251251
link="#"
252252
>
253253
<CIcon name="moon" class="mx-5" width="24"/>

src/views/widgets/WidgetsDropdown.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
class="float-right"
3838
color="transparent p-0"
3939
placement="bottom-end"
40-
no-caret
40+
:caret="false"
4141
buttonHtml="<i class='cui-___location-pin'></i>"
4242
>
4343
<template #toggler-content>

0 commit comments

Comments
 (0)