-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(icons): migrate icons to composition API
- Loading branch information
1 parent
6b7729f
commit 3a31d56
Showing
76 changed files
with
312 additions
and
804 deletions.
There are no files selected for viewing
158 changes: 158 additions & 0 deletions
158
packages/_vue3-migration-test/src/components/icons/test-icons.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,158 @@ | ||
<template> | ||
<ArrowDownIcon class="test-icons" /> | ||
<ArrowLeftIcon class="test-icons" /> | ||
<ArrowRightIcon class="test-icons" /> | ||
<ArrowUpIcon class="test-icons" /> | ||
<BagIcon class="test-icons" /> | ||
<BarCodeIcon class="test-icons" /> | ||
<BarcodeTinyIcon class="test-icons" /> | ||
<CartFilledIcon class="test-icons" /> | ||
<CartIcon class="test-icons" /> | ||
<CheckIcon class="test-icons" /> | ||
<CheckTinyIcon class="test-icons" /> | ||
<CheckboxSelectedFilledIcon class="test-icons" /> | ||
<CheckboxSelectedIcon class="test-icons" /> | ||
<CheckboxUnselectedFilledIcon class="test-icons" /> | ||
<CheckboxUnselectedIcon class="test-icons" /> | ||
<ChevronDownIcon class="test-icons" /> | ||
<ChevronLeftIcon class="test-icons" /> | ||
<ChevronRightIcon class="test-icons" /> | ||
<ChevronTinyDownIcon class="test-icons" /> | ||
<ChevronTinyLeftIcon class="test-icons" /> | ||
<ChevronTinyRightIcon class="test-icons" /> | ||
<ChevronTinyUpIcon class="test-icons" /> | ||
<ChevronUpIcon class="test-icons" /> | ||
<CornerArrowLeft class="test-icons" /> | ||
<CornerArrowRight class="test-icons" /> | ||
<CrossIcon class="test-icons" /> | ||
<CrossTinyIcon class="test-icons" /> | ||
<CuratedCheckFilledIcon class="test-icons" /> | ||
<CuratedCheckIcon class="test-icons" /> | ||
<CuratedCheckTinyFilledIcon class="test-icons" /> | ||
<CuratedCheckTinyIcon class="test-icons" /> | ||
<DiagonalArrowLeftDownIcon class="test-icons" /> | ||
<DiagonalArrowLeftTopIcon class="test-icons" /> | ||
<DiagonalArrowRightDownIcon class="test-icons" /> | ||
<DiagonalArrowRightTopIcon class="test-icons" /> | ||
<FiltersIcon class="test-icons" /> | ||
<Grid1ColIcon class="test-icons" /> | ||
<Grid2ColIcon class="test-icons" /> | ||
<Grid2RowsIcon class="test-icons" /> | ||
<Grid4ColIcon class="test-icons" /> | ||
<HeartIcon class="test-icons" /> | ||
<HeartIconFilled class="test-icons" /> | ||
<HideIcon class="test-icons" /> | ||
<HistoryIcon class="test-icons" /> | ||
<HistoryTinyIcon class="test-icons" /> | ||
<LightBulbOff class="test-icons" /> | ||
<LightBulbOn class="test-icons" /> | ||
<MenuIcon class="test-icons" /> | ||
<MinusIcon class="test-icons" /> | ||
<MinusTinyIcon class="test-icons" /> | ||
<PlusIcon class="test-icons" /> | ||
<PlusTinyIcon class="test-icons" /> | ||
<RadioButtonSelectedIcon class="test-icons" /> | ||
<RadioButtonUnselectedIcon class="test-icons" /> | ||
<SearchIcon class="test-icons" /> | ||
<SearchTinyIcon class="test-icons" /> | ||
<SettingsIcon class="test-icons" /> | ||
<ShowIcon class="test-icons" /> | ||
<SortAZIcon class="test-icons" /> | ||
<SortPriceDownIcon class="test-icons" /> | ||
<SortPriceUpIcon class="test-icons" /> | ||
<SortRelevancyIcon class="test-icons" /> | ||
<SortZAIcon class="test-icons" /> | ||
<StarFilledIcon class="test-icons" /> | ||
<StarIcon class="test-icons" /> | ||
<TagFilledIcon class="test-icons" /> | ||
<TagIcon class="test-icons" /> | ||
<TrashIcon class="test-icons" /> | ||
<TrashOpenIcon class="test-icons" /> | ||
<TrendingIcon class="test-icons" /> | ||
<TrendingTinyIcon class="test-icons" /> | ||
<UserFilledIcon class="test-icons" /> | ||
<UserIcon class="test-icons" /> | ||
</template> | ||
<script setup lang="ts"> | ||
import { | ||
ArrowDownIcon, | ||
ArrowLeftIcon, | ||
ArrowRightIcon, | ||
ArrowUpIcon, | ||
BagIcon, | ||
BarCodeIcon, | ||
BarcodeTinyIcon, | ||
CartFilledIcon, | ||
CartIcon, | ||
CheckIcon, | ||
CheckTinyIcon, | ||
CheckboxSelectedFilledIcon, | ||
CheckboxSelectedIcon, | ||
CheckboxUnselectedFilledIcon, | ||
CheckboxUnselectedIcon, | ||
ChevronDownIcon, | ||
ChevronLeftIcon, | ||
ChevronRightIcon, | ||
ChevronTinyDownIcon, | ||
ChevronTinyLeftIcon, | ||
ChevronTinyRightIcon, | ||
ChevronTinyUpIcon, | ||
ChevronUpIcon, | ||
CornerArrowLeft, | ||
CornerArrowRight, | ||
CrossIcon, | ||
CrossTinyIcon, | ||
CuratedCheckFilledIcon, | ||
CuratedCheckIcon, | ||
CuratedCheckTinyFilledIcon, | ||
CuratedCheckTinyIcon, | ||
DiagonalArrowLeftDownIcon, | ||
DiagonalArrowLeftTopIcon, | ||
DiagonalArrowRightDownIcon, | ||
DiagonalArrowRightTopIcon, | ||
FiltersIcon, | ||
Grid1ColIcon, | ||
Grid2ColIcon, | ||
Grid2RowsIcon, | ||
Grid4ColIcon, | ||
HeartIcon, | ||
HeartIconFilled, | ||
HideIcon, | ||
HistoryIcon, | ||
HistoryTinyIcon, | ||
LightBulbOff, | ||
LightBulbOn, | ||
MenuIcon, | ||
MinusIcon, | ||
MinusTinyIcon, | ||
PlusIcon, | ||
PlusTinyIcon, | ||
RadioButtonSelectedIcon, | ||
RadioButtonUnselectedIcon, | ||
SearchIcon, | ||
SearchTinyIcon, | ||
SettingsIcon, | ||
ShowIcon, | ||
SortAZIcon, | ||
SortPriceDownIcon, | ||
SortPriceUpIcon, | ||
SortRelevancyIcon, | ||
SortZAIcon, | ||
StarFilledIcon, | ||
StarIcon, | ||
TagFilledIcon, | ||
TagIcon, | ||
TrashIcon, | ||
TrashOpenIcon, | ||
TrendingIcon, | ||
TrendingTinyIcon, | ||
UserFilledIcon, | ||
UserIcon | ||
} from '../../../../x-components/src/components/icons'; | ||
</script> | ||
<style scoped lang="scss"> | ||
.test-icons { | ||
height: 40px; | ||
width: 40px; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.