Skip to content

Commit

Permalink
Merge branch 'master' of github.com:ElderAS/vue-elder-stepper
Browse files Browse the repository at this point in the history
  • Loading branch information
crsten committed Aug 1, 2024
2 parents eba5231 + 74782ce commit 04a95f6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@
},
"homepage": "https://github.com/ElderAS/vue-elder-stepper#readme",
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.27",
"@fortawesome/free-solid-svg-icons": "^5.12.1",
"@fortawesome/vue-fontawesome": "^0.1.9"
"@kvass/vue2-icon": "^1.0.3"
},
"devDependencies": {
"cz-conventional-changelog": "^2.1.0",
Expand Down
10 changes: 5 additions & 5 deletions src/component.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="elder-stepper">
<div class="elder-stepper__breadcrumbs">
<template v-for="(item, index) in value">
<FontAwesomeIcon
<Icon
v-if="index > 0"
class="elder-stepper__breadcrumb-arrow"
:icon="icon"
Expand All @@ -27,7 +27,8 @@
@click="state.set(item.id)"
>
<span class="elder-stepper__breadcrumb-icon">
<FontAwesomeIcon v-if="item.icon" :icon="item.icon" size="sm" />
<Icon v-if="item.icon" :icon="item.icon" size="sm" />

<template v-else>{{ index + 1 }}</template>
</span>
<span>{{ item.label }}</span>
Expand Down Expand Up @@ -120,11 +121,10 @@
icon,
}
*/
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
import Icon from '@kvass/vue2-icon'
import { iconBinding } from './utils'
import { Options } from '../index'
import States from './states'
import './icons'
export default {
props: {
Expand Down Expand Up @@ -190,7 +190,7 @@ export default {
},
},
components: {
FontAwesomeIcon,
Icon,
},
}
</script>
Expand Down
4 changes: 0 additions & 4 deletions src/icons.js

This file was deleted.

0 comments on commit 04a95f6

Please sign in to comment.