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,8 +3,8 @@
Numbered section heading with optional subtitle and pulse dot.
-->
<script lang="ts">
import { cn } from '$shared/shadcn/utils/shadcn-utils';
import { Label } from '$shared/ui';
import clsx from 'clsx';
interface Props {
/**
@@ -41,7 +41,7 @@ let {
const indexStr = $derived(String(index).padStart(2, '0'));
</script>
<div class={cn('flex items-center gap-3 md:gap-4 mb-2', className)}>
<div class={clsx('flex items-center gap-3 md:gap-4 mb-2', className)}>
<div class="flex items-center gap-2">
{#if pulse}
<span class="w-1.5 h-1.5 bg-brand rounded-full animate-pulse"></span>
@@ -3,7 +3,7 @@
A horizontal separator line used to visually separate sections within a page.
-->
<script lang="ts">
import { cn } from '$shared/shadcn/utils/shadcn-utils';
import clsx from 'clsx';
interface Props {
/**
@@ -15,4 +15,4 @@ interface Props {
const { class: className = '' }: Props = $props();
</script>
<div class={cn('w-full h-px bg-swiss-black/5 dark:bg-white/10 my-8 md:my-12', className)}></div>
<div class={clsx('w-full h-px bg-swiss-black/5 dark:bg-white/10 my-8 md:my-12', className)}></div>