Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
401 changes: 138 additions & 263 deletions bun.lock

Large diffs are not rendered by default.

21 changes: 10 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,25 @@
"@inlang/paraglide-js": "^2.5.0",
"@poppanator/sveltekit-svg": "^5.0.1",
"@sveltejs/adapter-static": "^3.0.10",
"@sveltejs/kit": "^2.49.0",
"@sveltejs/vite-plugin-svelte": "^4.0.4",
"@sveltejs/kit": "^2.55.0",
"@sveltejs/vite-plugin-svelte": "7.0.0",
"@types/eslint": "^9.6.1",
"@types/sanitize-html": "^2.16.0",
"autoprefixer": "^10.4.22",
"css-select": "5.1.0",
"eslint": "^9.39.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-svelte": "^2.46.1",
"globals": "^15.15.0",
"prettier": "^3.6.2",
"prettier-plugin-svelte": "^3.4.0",
"prettier-plugin-tailwindcss": "^0.6.14",
"sass": "^1.94.2",
"svelte": "^5.43.14",
"svelte-check": "^4.3.4",
"tailwindcss": "^3.4.18",
"prettier-plugin-tailwindcss": "^0.7.2",
"svelte": "^5.54.1",
"svelte-check": "^4.4.5",
"@tailwindcss/vite": "^4.2.2",
"typescript": "^5.9.3",
"typescript-eslint": "^8.47.0",
"vite": "^5.4.21",
"vite-plugin-top-level-await": "^1.6.0"
"vite": "^8.0.2",
"vite-plugin-top-level-await": "1.6.0"
},
"dependencies": {
"@bjorn3/browser_wasi_shim": "^0.4.2",
Expand All @@ -58,8 +56,9 @@
"riff-file": "^1.0.3",
"sanitize-html": "^2.17.0",
"svelte-stripe": "^1.4.0",
"tailwindcss": "^4.2.2",
"vert-wasm": "^0.0.2",
"vite-plugin-wasm": "^3.5.0"
"vite-plugin-wasm": "^3.6.0"
},
"trustedDependencies": [
"@parcel/watcher",
Expand Down
6 changes: 0 additions & 6 deletions postcss.config.js

This file was deleted.

4 changes: 2 additions & 2 deletions src/lib/components/functional/ConversionPanel.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@
{#if files.files.length > 50}
<div class="w-full px-2 flex gap-4 items-center">
<div
class="flex-shrink-0 -mt-0.5 font-normal text-sm text-muted"
class="shrink-0 -mt-0.5 font-normal text-sm text-muted"
>
{progress}/{length}
</div>
<div class="flex-grow">
<div class="grow">
<ProgressBar min={0} max={length} {progress} />
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions src/lib/components/functional/Dropdown.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@
? 'opacity-50 cursor-auto'
: 'cursor-pointer'} flex items-center {settingsStyle
? 'rounded-xl'
: 'rounded-full'} focus:!outline-none"
: 'rounded-full'} focus:!outline-hidden"
onclick={toggle}
onmouseenter={() => (hover = true)}
onmouseleave={() => (hover = false)}
{disabled}
>
<!-- <p>{selected}</p> -->
<div class="grid grid-cols-1 grid-rows-1 w-fit flex-grow-0">
<div class="grid grid-cols-1 grid-rows-1 w-fit grow-0">
{#key selected}
<p
in:fade={{
Expand Down Expand Up @@ -101,7 +101,7 @@
{/each}
</div>
<ChevronDown
class="w-4 h-4 ml-3 mt-0.5 flex-shrink-0"
class="w-4 h-4 ml-3 mt-0.5 shrink-0"
style="transform: rotate({open
? 180
: 0}deg); transition: transform {duration}ms {transition};"
Expand Down
12 changes: 6 additions & 6 deletions src/lib/components/functional/FormatDropdown.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -354,14 +354,14 @@
bind:this={dropdown}
>
<button
class="relative flex items-center justify-center w-full font-display px-3 py-3.5 bg-button rounded-full overflow-hidden cursor-pointer focus:!outline-none
class="relative flex items-center justify-center w-full font-display px-3 py-3.5 bg-button rounded-full overflow-hidden cursor-pointer focus:!outline-hidden
{disabled ? 'opacity-50 cursor-not-allowed' : 'cursor-pointer'}"
onclick={() => clickDropdown()}
{disabled}
>
<!-- <p>{selected}</p> -->
<div
class="grid grid-cols-1 grid-rows-1 w-fit flex-grow-0 max-h-[2.5rem] overflow-hidden"
class="grid grid-cols-1 grid-rows-1 w-fit grow-0 max-h-[2.5rem] overflow-hidden"
>
{#key selected}
<p
Expand Down Expand Up @@ -389,7 +389,7 @@
{/if}
</div>
<ChevronDown
class="w-4 h-4 ml-3 mt-0.5 flex-shrink-0"
class="w-4 h-4 ml-3 mt-0.5 shrink-0"
style="transform: rotate({open
? 180
: 0}deg); transition: transform {duration}ms {transition};"
Expand Down Expand Up @@ -424,7 +424,7 @@
<input
type="text"
placeholder={m["convert.dropdown.placeholder"]()}
class="flex-grow w-full !pl-11 !pr-3 rounded-lg bg-panel text-foreground"
class="grow w-full !pl-11 !pr-3 rounded-lg bg-panel text-foreground"
bind:value={searchQuery}
oninput={handleSearch}
onkeydown={onEnter}
Expand Down Expand Up @@ -454,9 +454,9 @@
<div class="flex items-center justify-between">
{#each filteredData.categories as category}
<button
class="flex-grow text-lg hover:text-muted/20 border-b-[1px] pb-2 capitalize
class="grow text-lg hover:text-muted/20 border-b-[1px] pb-2 capitalize
{currentCategory === category
? 'text-accent border-b-accent'
? 'text-fg-accent border-b-accent'
: 'border-b-separator text-muted'}"
onclick={() => selectCategory(category)}
>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/layout/Dialogs.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

{#if dialogList.length > 0}
<div
class="fixed inset-0 flex items-center justify-center bg-black bg-opacity-50 backdrop-blur-sm z-40"
class="fixed inset-0 flex items-center justify-center bg-black/50 backdrop-blur-xs z-40"
in:fade={{
duration,
easing: quintOut,
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/layout/Gradients.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
}}
>
<VertVBig
class="fill-[--fg] opacity-10 dynadark:opacity-5 scale-[200%] md:scale-[80%]"
class="fill-(--fg) opacity-10 dynadark:opacity-5 scale-[200%] md:scale-[80%]"
/>
</div>
{/if}
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/layout/PageContent.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
let { children } = $props();
</script>

<div class="grid grid-rows-1 grid-cols-1 h-full flex-grow">
<div class="grid grid-rows-1 grid-cols-1 h-full grow">
{#key page.url.pathname}
<div
class="row-start-1 col-start-1"
Expand Down
12 changes: 6 additions & 6 deletions src/lib/components/layout/UploadRegion.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -17,30 +17,30 @@
></div>
{/if}

<style lang="postcss">
<style>
.dragoverlay {
animation: dragoverlay-animation 3s infinite linear;
}

@keyframes dragoverlay-animation {
0% {
@apply bg-accent-pink;
background-color: var(--accent-pink);
}

25% {
@apply bg-accent-blue;
background-color: var(--accent-blue);
}

50% {
@apply bg-accent-purple;
background-color: var(--accent-purple);
}

75% {
@apply bg-accent-red;
background-color: var(--accent-red);
}

100% {
@apply bg-accent-pink;
background-color: var(--accent-pink);
}
}
</style>
4 changes: 2 additions & 2 deletions src/lib/components/visual/Toast.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
<div class="flex flex-row items-center justify-between w-full gap-4">
<div class="flex items-center gap-2">
<Icon
class="w-6 h-6 text-black flex-shrink-0"
class="w-6 h-6 text-black shrink-0"
size="24"
stroke="2"
fill="none"
Expand All @@ -83,7 +83,7 @@
</p>
</div>
<button
class="text-gray-600 hover:text-black flex-shrink-0"
class="text-gray-600 hover:text-black shrink-0"
onclick={() => ToastManager.remove(id)}
>
<XIcon size="16" />
Expand Down
2 changes: 2 additions & 0 deletions src/lib/components/visual/Tooltip.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@
{/if}

<style lang="postcss">
@reference "../../css/app.css";

.tooltip {
--border-size: 1px;
@apply fixed bg-panel-alt text-foreground border border-stone-400 dynadark:border-white drop-shadow-lg text-xs rounded-full pointer-events-none z-[999] max-w-xs break-words whitespace-normal;
Expand Down
Loading