Skip to content

Commit

Permalink
Merge pull request #45 from lukashornych/dev
Browse files Browse the repository at this point in the history
Data grid overhaul - property selector, better UX,...
  • Loading branch information
lukashornych authored Oct 3, 2023
2 parents e21a330 + 8d6d87b commit 8ccebf8
Show file tree
Hide file tree
Showing 31 changed files with 1,714 additions and 490 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"uuid": "^9.0.0",
"vue": "^3.2.0",
"vue-codemirror": "^6.1.1",
"vue-hotkeys-rt": "^0.2.3",
"vue-markdown-render": "^2.0.1",
"vue-router": "^4.0.0",
"vue-toastification": "^2.0.0-rc.5",
Expand Down
36 changes: 36 additions & 0 deletions src/components/base/VClosableCardTitle.vue
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>
Loading

0 comments on commit 8ccebf8

Please sign in to comment.