-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add animations for citations and descendants tree
- Loading branch information
José Luis Pereira
committed
Aug 12, 2022
1 parent
04bb9c2
commit 19f85c6
Showing
7 changed files
with
126 additions
and
28 deletions.
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,15 @@ | ||
| <template> | ||
| <transition | ||
| enter-active-class="duration-500 ease-out origin-top" | ||
| enter-from-class="transform opacity-0 scale-y-0" | ||
| enter-to-class="opacity-100 scale-y-100" | ||
| leave-active-class="duration-200 ease-in origin-top" | ||
| leave-from-class="opacity-100 scale-y-100" | ||
| leave-to-class="transform opacity-0 scale-y-0" | ||
| > | ||
| <slot /> | ||
| </transition> | ||
| </template> | ||
|
|
||
| <script setup> | ||
| </script> |
This file contains hidden or 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 hidden or 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 hidden or 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
31 changes: 31 additions & 0 deletions
31
src/modules/otus/components/Citation/CitationRowShowMore.vue
This file contains hidden or 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,31 @@ | ||
| <template> | ||
| <div | ||
| class=" | ||
| flex | ||
| justify-start | ||
| border-b | ||
| p-3 | ||
| px-4 | ||
| last:border-b-0 | ||
| dark:border-b-slate-700" | ||
| > | ||
| <div | ||
| class="h-5 w-5 text-secondary-color opacity-60 mr-2 cursor-pointer" | ||
| @click="isExpanded = !isExpanded" | ||
| > | ||
| <IconPlusCircle | ||
| class="h-5 w-5" | ||
| /> | ||
| </div> | ||
| <span>... Show all ... ({{ count }})</span> | ||
| </div> | ||
| </template> | ||
|
|
||
| <script setup> | ||
| defineProps({ | ||
| count: { | ||
| type: Number, | ||
| required: true | ||
| } | ||
| }) | ||
| </script> |
This file contains hidden or 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