chore: format

This commit is contained in:
2025-07-04 22:24:20 +02:00
parent b0d3651888
commit 5b600017d5
68 changed files with 822 additions and 837 deletions

View File

@@ -1,7 +1,7 @@
import Root from "./progress.svelte";
import Root from './progress.svelte';
export {
Root,
//
Root as Progress,
Root,
//
Root as Progress,
};

View File

@@ -20,7 +20,9 @@
{...restProps}
>
<div
class="bg-primary h-full w-full flex-1 transition-all {indeterminate ? 'animate-slide' : ''} rounded-lg"
class="bg-primary h-full w-full flex-1 transition-all {indeterminate
? 'animate-slide'
: ''} rounded-lg"
style={`transform: translateX(-${100 - (100 * ((indeterminate ? max : value) ?? 0)) / (max ?? 1)}%);`}
></div>
</ProgressPrimitive.Root>
@@ -31,13 +33,13 @@
}
@keyframes indeterminate {
0%,
2%,
98%,
100% {
2%,
98%,
100% {
transform: translateX(-99%);
}
49%,
51% {
51% {
transform: translateX(99%);
}
}