Add key signup, improve message listening

This commit is contained in:
Jon Staab
2024-10-17 10:34:13 -07:00
parent 1055a6d567
commit db0dbbf428
15 changed files with 288 additions and 158 deletions
+11
View File
@@ -0,0 +1,11 @@
<script lang="ts">
import {sleep} from '@welshman/lib'
export let delay = 1
</script>
{#await sleep(delay)}
<!-- pass -->
{:then}
<slot />
{/await}
+1 -1
View File
@@ -11,7 +11,7 @@
transition:fade
on:click={onClose} />
<div
class="card2 bg-alt absolute max-h-[90vh] w-[90vw] overflow-auto text-base-content sm:w-[520px]"
class="relative card2 bg-alt absolute max-h-[90vh] w-[90vw] overflow-auto text-base-content sm:w-[520px]"
transition:fly={{duration: 300}}>
<slot />
</div>
+1 -1
View File
@@ -10,7 +10,7 @@
transition:fade
on:click={onClose} />
<div
class="menu absolute bottom-0 right-0 top-0 w-80 overflow-auto bg-base-200 text-base-content lg:w-96"
class="absolute bottom-0 right-0 top-0 w-80 overflow-auto bg-base-200 text-base-content lg:w-96"
transition:slide={{axis: "x", duration: 300}}>
<slot />
</div>