diff --git a/bun.lockb b/bun.lockb index 124fa2b..70a4bc8 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/src/app.css b/src/app.css index b49b970..443bde6 100644 --- a/src/app.css +++ b/src/app.css @@ -31,7 +31,8 @@ body { } .btn { - @apply font-display flex items-center justify-center overflow-hidden relative cursor-pointer px-4 border-2 border-solid bg-background border-foreground-muted-alt rounded-xl p-2 focus:!outline-none hover:scale-105 transition-all duration-200 active:scale-95; + @apply font-display flex items-center justify-center overflow-hidden relative cursor-pointer px-4 border-2 border-solid bg-background border-foreground-muted-alt rounded-xl p-2 focus:!outline-none hover:scale-105 duration-200 active:scale-95 disabled:opacity-50 disabled:pointer-events-none; + transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease; } .btn-highlight { diff --git a/src/lib/components/functional/Dropdown.svelte b/src/lib/components/functional/Dropdown.svelte index ba867fa..cc1dc98 100644 --- a/src/lib/components/functional/Dropdown.svelte +++ b/src/lib/components/functional/Dropdown.svelte @@ -52,7 +52,7 @@ onclick={toggle} > -
{/key} {#each options as option} -
+
{option}
{/each} diff --git a/src/lib/converters/converter.ts b/src/lib/converters/converter.svelte.ts similarity index 94% rename from src/lib/converters/converter.ts rename to src/lib/converters/converter.svelte.ts index 9c16dbc..1a1b27f 100644 --- a/src/lib/converters/converter.ts +++ b/src/lib/converters/converter.svelte.ts @@ -17,6 +17,7 @@ export class Converter { * @param input The input file. * @param to The format to convert to. Includes the dot. */ + public ready: boolean = $state(false); public async convert( // eslint-disable-next-line @typescript-eslint/no-unused-vars input: OmitBetterStrict