Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: remove drawer v1 component (#7965)
boojackfadb117ef4fc
diff --git a/frontend/src/components/Drawer.vue b/frontend/src/components/Drawer.vuedeleted file mode 100644index db2bf83e37..0000000000--- a/frontend/src/components/Drawer.vue+++ /dev/null@@ -1,75 +0,0 @@-<template>- <Transition name="slide">- <div- v-if="show"- class="fixed top-0 right-0 h-screen bg-white shadow-xl outline-none"- :style="`width: ${width}px`"- tabindex="0"- @keyup.esc="handleClose"- >- <header- class="flex flex-row justify-between items-center w-full h-16 p-4 border-b"- >- <h2 class="font-semibold">{{ title }}</h2>-- <i- class="w-6 h-6 hover:bg-slate-200 hover:cursor-pointer rounded-md"- @click="handleClose"- ><heroicons-outline:x class="h-6 w-6"- /></i>- </header>- <div class="h-full flex flex-col justify-between">- <section class="p-4 overflow-auto">- <slot name="body"></slot>- </section>- <footer class="w-full h-40 mb-16">- <slot name="footer"></slot>- </footer>- </div>- </div>- </Transition>-</template>--<script lang="ts" setup>-const props = defineProps({- show: {- type: Boolean,- default: false,- },- width: {- type: Number,- default: 320,- },- title: {- type: String,- default: "",- },- onClose: {- type: Function,- required: false,- default: () => {- /* do nth by default */- },- },-});--const emit = defineEmits(["close-drawer"]);--const handleClose = () => {- const { onClose } = props;- emit("close-drawer");- onClose();-};-</script>--<style scoped>-.slide-enter-active,-.slide-leave-active {- transition: all 0.3s ease;-}--.slide-enter-from,-.slide-leave-to {- transform: translateX(100%);-}-</style>