feat: chat overview

This commit is contained in:
Timothy J. Baek
2024-09-17 22:05:19 +02:00
parent bb087a5989
commit d1dbb9a3be
14 changed files with 364 additions and 79 deletions

View File

@@ -3,6 +3,8 @@
import { flyAndScale } from '$lib/utils/transitions';
import { fade, fly, slide } from 'svelte/transition';
const dispatch = createEventDispatcher();
export let show = false;
export let size = 'md';
@@ -47,6 +49,10 @@
document.body.style.overflow = 'unset';
}
$: if (!show) {
dispatch('close');
}
onDestroy(() => {
show = false;
if (modalElement) {