Skip to content

Commit 83fe458

Browse files
committed
chore: update CIcon component imports to 1.0.0 version
1 parent f4710c0 commit 83fe458

File tree

6 files changed

+22
-7
lines changed

6 files changed

+22
-7
lines changed

src/components/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ export * from './toast'
3333
export * from './toggler'
3434
export * from './widgets'
3535

36-
import CIcon from '@coreui/icons-vue/CIcon.vue'
36+
import CIcon from '@coreui/icons-vue/src/CIconRaw.vue'
3737
export { CIcon }

src/components/sidebar/CSidebarNavDropdown.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
</template>
1717

1818
<script>
19-
import CIcon from '@coreui/icons-vue/CIcon.vue'
19+
import CIcon from '@coreui/icons-vue/src/CIconRaw.vue'
2020
import CSidebarNavItem from './CSidebarNavItem'
2121
2222
export default {

src/components/sidebar/CSidebarNavItem.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<script>
2424
import CLink, { props as linkProps } from '../link/CLink'
2525
import CBadge from '../badge/CBadge'
26-
import CIcon from '@coreui/icons-vue/CIcon.vue'
26+
import CIcon from '@coreui/icons-vue/src/CIconRaw.vue'
2727
2828
const props = Object.assign(
2929
{},

src/components/sidebar/tests/__snapshots__/CSidebarNavDropdown.spec.js.snap

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,12 @@ exports[`CSidebarNavDropdown renders correctly 1`] = `
1111
class="c-sidebar-nav-icon"
1212
viewBox="0 0 64 64"
1313
xmlns="http://www.w3.org/2000/svg"
14-
/>
14+
>
15+
<title>
16+
cuiSettings
17+
</title>
18+
undefined
19+
</svg>
1520
1621
<!---->
1722

src/components/sidebar/tests/__snapshots__/CSidebarNavItem.spec.js.snap

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@ exports[`CSidebarNavItem.vue renders correctly 1`] = `
1414
class="c-sidebar-nav-icon"
1515
viewBox="0 0 64 64"
1616
xmlns="http://www.w3.org/2000/svg"
17-
/>
17+
>
18+
<title>
19+
cuiSettings
20+
</title>
21+
undefined
22+
</svg>
1823
1924
<!---->
2025
@@ -45,7 +50,12 @@ exports[`CSidebarNavItem.vue renders correctly in label mode 1`] = `
4550
class="c-sidebar-nav-icon"
4651
viewBox="0 0 64 64"
4752
xmlns="http://www.w3.org/2000/svg"
48-
/>
53+
>
54+
<title>
55+
cuiSettings
56+
</title>
57+
undefined
58+
</svg>
4959
5060
<!---->
5161

src/components/table/CDataTable.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@
211211
<script>
212212
import CSpinner from '../spinner/CSpinner'
213213
import CPagination from '../pagination/CPagination'
214-
import CIcon from '@coreui/icons-vue/CIcon.vue'
214+
import CIcon from '@coreui/icons-vue/src/CIconRaw.vue'
215215
import { cilArrowTop, cilBan } from '@coreui/icons'
216216
217217
export default {

0 commit comments

Comments
 (0)