"use client" /** * Marker — inline conversation status, bordered row, or labeled separator. * Ported from shadcn Marker (radix). Font Awesome icons at call sites; * Exxat semantic tokens only. */ import * as React from "react" import { cva, type VariantProps } from "class-variance-authority" import { Slot } from "radix-ui" import { cn } from "../../lib/utils" const markerVariants = cva( "group/marker relative flex min-h-4 w-full items-center gap-2 text-start text-sm text-muted-foreground [&_svg:not([class*='size-'])]:size-4 [a]:underline [a]:underline-offset-3 [a]:hover:text-foreground", { variants: { variant: { default: "", separator: "before:me-1 before:h-px before:min-w-0 before:flex-1 before:bg-border after:ms-1 after:h-px after:min-w-0 after:flex-1 after:bg-border", border: "border-b border-border pb-2", }, }, defaultVariants: { variant: "default", }, }, ) function Marker({ className, variant = "default", asChild = false, ...props }: React.ComponentProps<"div"> & VariantProps & { asChild?: boolean }) { const Comp = asChild ? Slot.Root : "div" return ( ) } function MarkerIcon({ className, ...props }: React.ComponentProps<"span">) { return (