'use client'; import * as React from 'react'; import * as HoverCardPrimitive from '@radix-ui/react-hover-card'; import { cn } from '../../shared/utils'; /** * Preview overlay shown on cursor hover. * * @description * Natively optimized with hover timeouts and debounces to avoid cluttering * the UX when the cursor passes quickly over the trigger. Ideal for user * profile previews, link cards, or entity summaries. * * @ai-rules * 1. If used under `` or raw `` elements, remember to add `asChild` to ``. * 2. For quick one-line hints, use `` instead — HoverCard is for rich preview content. */ function HoverCard({ ...props }: React.ComponentProps) { return ; } function HoverCardTrigger({ ...props }: React.ComponentProps) { return ; } function HoverCardContent({ className, align = 'center', sideOffset = 4, ...props }: React.ComponentProps) { return ( ); } export { HoverCard, HoverCardTrigger, HoverCardContent };