-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from lukashornych/dev
Data grid overhaul - property selector, better UX,...
- Loading branch information
Showing
31 changed files
with
1,714 additions
and
490 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<script setup lang="ts"> | ||
/** | ||
* VCardTitle component with close button | ||
*/ | ||
const emit = defineEmits<{ | ||
(e: 'close'): void | ||
}>() | ||
</script> | ||
|
||
<template> | ||
<VCardTitle> | ||
<div class="title-container"> | ||
<span> | ||
<slot /> | ||
</span> | ||
<VBtn | ||
icon | ||
variant="flat" | ||
density="compact" | ||
@click="emit('close')" | ||
> | ||
<VIcon>mdi-close</VIcon> | ||
</VBtn> | ||
</div> | ||
</VCardTitle> | ||
</template> | ||
|
||
<style lang="scss" scoped> | ||
.title-container { | ||
width: 100%; | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
} | ||
</style> |
Oops, something went wrong.