Clean up search

This commit is contained in:
Jon Staab
2026-06-24 13:10:06 -07:00
parent 74d3a25461
commit 9955a50add
21 changed files with 482 additions and 457 deletions
+3 -2
View File
@@ -4,12 +4,13 @@
interface Props {
loading?: boolean
children?: import("svelte").Snippet
class?: string
}
const {loading = false, children}: Props = $props()
const {loading = false, children, ...props}: Props = $props()
</script>
<span class="flex min-h-10 items-center">
<span class="flex min-h-10 items-center justify-center {props.class}">
{#if loading}
<span class="pr-3" transition:slide|local={{axis: "x"}}>
<span class="loading loading-spinner" transition:fade|local={{duration: 100}}></span>