mirror of
https://github.com/directus/directus.git
synced 2026-02-19 10:14:33 -05:00
List group (#173)
* mvp list groups * list group updates * updated readme and list group to use css vars and icons * added supgroups to story * add list group test * Expand Transition / Transitions Folder (#187) * add expand transition to components folder * expand readme * test sorta * test is dumb * dummy component to test * oops * Add tests for capitalize first * Rename v-transition-expand to expand-transition, inline util in test * Update src/components/transitions/expand/expand-methods.ts * Update src/components/transitions/expand/expand-methods.ts * Update src/components/transitions/expand/expand-methods.ts * Rename some more things, add storybook entry * Use expand transition in detail drawer * Improve readme Co-authored-by: rijkvanzanten <rijkvanzanten@me.com> * Refactor out groupable top level component + indentLevel prop * Fix tests * Update readme Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
This commit is contained in:
@@ -8,9 +8,13 @@
|
||||
{{ title }}
|
||||
</div>
|
||||
</button>
|
||||
<div class="content" v-show="active">
|
||||
<slot />
|
||||
</div>
|
||||
<transition-expand>
|
||||
<div v-show="active">
|
||||
<div class="content">
|
||||
<slot />
|
||||
</div>
|
||||
</div>
|
||||
</transition-expand>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user