/** * The names the kit's own components draw with, plus the three icons CBAR does * not have. * * The geometry itself lives in `./generated`, one module per CBAR category — * 250 icons, each with an outline and a solid drawing behind a `variant` prop. * What is left here is the thin layer on top: * * 1. **Aliases.** Components inside the kit ask for `ChevronDownIcon`, the name * shadcn and Lucide use; CBAR calls the same drawing `Interface/Caret down`. * Renaming the generated exports would fight the Figma file, and renaming the * call sites would make every ported component read oddly, so the two names * meet here. The aliases carry no geometry of their own — regenerating the * set moves them automatically. * 2. **Three Lucide keepers**, drawn by hand because CBAR's set has no * equivalent. See NOTICE. * * Names that match CBAR's own (`CheckIcon`, `SearchIcon`, `CalendarIcon`, * `ArrowUpIcon`, `ArrowDownIcon`) are not repeated here — they come straight * from `./generated` through the barrel. */ import { Icon, type IconProps } from './icon'; import { CancelIcon, CaretDownIcon, CaretLeftIcon, CaretRightIcon, CaretUpIcon, CloudUploadIcon, CrossIcon, InfoCircleIcon, InfoTriangleIcon, Other1Icon, SortIcon, } from './generated'; /** CBAR `Interface/Caret down`. */ export const ChevronDownIcon = CaretDownIcon; /** CBAR `Interface/Caret left`. */ export const ChevronLeftIcon = CaretLeftIcon; /** CBAR `Interface/Caret right`. */ export const ChevronRightIcon = CaretRightIcon; /** CBAR `Interface/Caret up`. */ export const ChevronUpIcon = CaretUpIcon; /** CBAR `Interface/Sort` — the up/down pair a sortable column header draws. */ export const ChevronsUpDownIcon = SortIcon; /** CBAR `Status/Info-circle`. */ export const InfoIcon = InfoCircleIcon; /** CBAR `Interface/Other 1` — the horizontal ellipsis. */ export const MoreHorizontalIcon = Other1Icon; /** CBAR `Interface/Cancel` — a crossed octagon, the destructive marker. */ export const OctagonXIcon = CancelIcon; /** CBAR `Status/Info-triangle`. */ export const TriangleAlertIcon = InfoTriangleIcon; /** CBAR `Files/Cloud-upload`. */ export const UploadCloudIcon = CloudUploadIcon; /** CBAR `Interface/Cross`. */ export const XIcon = CrossIcon; /** * Kept from Lucide — CBAR's set has no spinner arc. Its nearest icon, * `Interface/Refresh`, is a closed two-arrow cycle, which reads as "reload" * rather than "working", and spins badly because it has no gap. See NOTICE. */ export const Loader2Icon = (props: IconProps) => ( ); /** * Kept from Lucide — CBAR's set has no plain circle, and the radio indicator * needs one. See NOTICE. */ export const CircleIcon = (props: IconProps) => ( ); /** * Kept from Lucide — CBAR's nearest equivalent (`Status/Checked-box`) is a * rounded square, which reads as a checkbox rather than a success mark. See * NOTICE. */ export const CircleCheckIcon = (props: IconProps) => ( );