chore: purge shadcn from codebase. Replace with bits-ui components and other tools

This commit is contained in:
Ilia Mashkov
2026-04-17 13:37:44 +03:00
parent 0004b81e40
commit 8a93c7b545
55 changed files with 90 additions and 351 deletions
+3 -3
View File
@@ -11,7 +11,7 @@
<script lang="ts" generics="T">
import { createVirtualizer } from '$shared/lib';
import { throttle } from '$shared/lib/utils';
import { cn } from '$shared/shadcn/utils/shadcn-utils';
import clsx from 'clsx';
import type { Snippet } from 'svelte';
import type { HTMLAttributes } from 'svelte/elements';
@@ -295,13 +295,13 @@ $effect(() => {
{/snippet}
{#if useWindowScroll}
<div class={cn('relative w-full', className)} bind:this={viewportRef} {...rest}>
<div class={clsx('relative w-full', className)} bind:this={viewportRef} {...rest}>
{@render content()}
</div>
{:else}
<div
bind:this={viewportRef}
class={cn(
class={clsx(
'relative overflow-y-auto overflow-x-hidden',
'rounded-md bg-background',
'w-full',