-
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.
refactor(staggered-fade-and-slide): use Vue native staggered transition
- Loading branch information
1 parent
7137d0a
commit b9b01cb
Showing
9 changed files
with
371 additions
and
37 deletions.
There are no files selected for viewing
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
32 changes: 32 additions & 0 deletions
32
packages/_vue3-migration-test/src/components/test-search.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,32 @@ | ||
<template> | ||
<SearchInput /> | ||
<ClearSearchInput /> | ||
<SearchButton /> | ||
<MainScroll> | ||
<ResultsList v-infinite-scroll:main-scroll> | ||
<BaseVariableColumnGrid | ||
style="--x-size-min-width-grid-item: 150px" | ||
class="x-gap-12" | ||
:columns="4" | ||
> | ||
<template #result="{ item: result }"> | ||
<MainScrollItem :item="result"> | ||
{{ result.name }} | ||
</MainScrollItem> | ||
</template> | ||
</BaseVariableColumnGrid> | ||
</ResultsList> | ||
</MainScroll> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import SearchInput from '../../../x-components/src/x-modules/search-box/components/search-input.vue'; | ||
import MainScroll from '../../../x-components/src/x-modules/scroll/components/main-scroll.vue'; | ||
import MainScrollItem from '../../../x-components/src/x-modules/scroll/components/main-scroll-item.vue'; | ||
import ResultsList from '../../../x-components/src/x-modules/search/components/results-list.vue'; | ||
import BaseVariableColumnGrid from '../../../x-components/src/components/base-variable-column-grid.vue'; | ||
import ClearSearchInput from '../../../x-components/src/x-modules/search-box/components/clear-search-input.vue'; | ||
import SearchButton from '../../../x-components/src/x-modules/search-box/components/search-button.vue'; | ||
</script> | ||
|
||
<style></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
Oops, something went wrong.