Skip to content

Commit

Permalink
feat(dropdown): replace vue-remix-icons with heroicons
Browse files Browse the repository at this point in the history
  • Loading branch information
gravitano committed Aug 23, 2022
1 parent a84580b commit aa23078
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 3 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@ module.exports = {
sourceType: 'module',
},
plugins: ['vue', '@typescript-eslint'],
rules: {},
rules: {
'vue/multi-word-component-names': 'off',
},
};
4 changes: 1 addition & 3 deletions packages/dropdown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@
"@heroicons/vue": "^1.0.6",
"feather-icons": "^4.28.0",
"tailwindcss": "^3.0.23",
"vue": "^3.2.31",
"vue-feather": "^2.0.0",
"vue-remix-icons": "^1.1.1"
"vue": "^3.2.31"
},
"devDependencies": {
"@gits-id/tailwind-config": "^0.10.12",
Expand Down
6 changes: 3 additions & 3 deletions packages/dropdown/src/Dropdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import {Menu, MenuButton, MenuItems} from '@headlessui/vue';
import type {DropdownItemProps} from './types';
import DropdownItem from './DropdownItem.vue';
import {RiArrowDownSLine as IconArrowDown} from 'vue-remix-icons';
import {ChevronDownIcon} from '@heroicons/vue/outline';
withDefaults(
defineProps<{
Expand Down Expand Up @@ -33,7 +33,7 @@ withDefaults(
panelClass: '',
buttonWrapperClass: '',
leftClass: 'left-0',
rightClass: 'right-0'
rightClass: 'right-0',
},
);
</script>
Expand All @@ -44,7 +44,7 @@ withDefaults(
<slot name="activator" :btn-props="btnProps" :label="label">
<MenuButton as="button" v-bind="btnProps">
{{ label }}
<IconArrowDown class="w-5 h-5 inline" aria-hidden="true" />
<ChevronDownIcon class="w-5 h-5 inline" aria-hidden="true" />
</MenuButton>
</slot>
</div>
Expand Down

0 comments on commit aa23078

Please sign in to comment.