import * as React from "react" import { FeatherAlertTriangle, FeatherArrowDown, FeatherArrowLeft, FeatherArrowLeftRight, FeatherArrowRight, FeatherArrowUp, FeatherAtSign, FeatherBadgeCheck, FeatherBell, FeatherBold, FeatherBook, FeatherBot, FeatherBrain, FeatherCalendar, FeatherCheck, FeatherCheckCircle, FeatherChevronDown, FeatherChevronLeft, FeatherChevronRight, FeatherChevronUp, FeatherChevronsRight, FeatherChevronsUpDown, FeatherCircle, FeatherClipboard, FeatherClock, FeatherCode, FeatherCopy, FeatherCreditCard, FeatherDot, FeatherDownload, FeatherEdit2, FeatherEraser, FeatherExternalLink, FeatherEye, FeatherFileText, FeatherGlobe, FeatherGripVertical, FeatherHeading1, FeatherHeading2, FeatherHeading3, FeatherHelpCircle, FeatherHome, FeatherImage, FeatherInfo, FeatherItalic, FeatherLanguages, FeatherLink, FeatherLink2, FeatherList, FeatherListOrdered, FeatherLoader2, FeatherLock, FeatherLogOut, FeatherMail, FeatherMenu, FeatherMessageCircle, FeatherMessageSquare, FeatherMinus, FeatherMoon, FeatherMoreHorizontal, FeatherMoreVertical, FeatherPaintbrush, FeatherPanelLeft, FeatherPaperclip, FeatherPhone, FeatherPilcrow, FeatherPlay, FeatherPlug, FeatherPlus, FeatherQuote, FeatherRedo, FeatherRefreshCcw, FeatherRefreshCw, FeatherSearch, FeatherSend, FeatherServer, FeatherSettings, FeatherShieldCheck, FeatherSlash, FeatherSparkles, FeatherSquare, FeatherStar, FeatherStore, FeatherStrikethrough, FeatherSun, FeatherText, FeatherTextQuote, FeatherTrash2, FeatherTrendingDown, FeatherTrendingUp, FeatherUnderline, FeatherUndo, FeatherUser, FeatherVariable, FeatherWandSparkles, FeatherWrench, FeatherX, FeatherXCircle, } from "@subframe/core" import { cn } from "~/lib/utils" // AUTO-GENERATED by scripts/migrate-vendor-icons-to-feather.mjs — do not edit by hand. // // Compatibility shim mapping the vendor icons the app used (lucide-react, // @radix-ui/react-icons, @heroicons) onto Subframe @subframe/core Feather icons. // Import sources were repointed here so the whole app renders Subframe's icons. // Feather IS the Lucide set, so lucide swaps are visually identical. /** * The subset of lucide-react's prop surface that app call sites use. Feather * icons render , so only * `className`, `size`, `color` and `style` affect rendering; `strokeWidth` / * `absoluteStrokeWidth` are accepted (for type-compat) but baked into Feather. */ export type LucideProps = React.HTMLAttributes & { size?: number | string strokeWidth?: number | string absoluteStrokeWidth?: boolean color?: string /** SVG-only attribute some call sites pass; accepted for compat, not forwarded. */ focusable?: boolean | "true" | "false" } export type LucideIcon = React.FC type FeatherComponent = React.ComponentType< React.HTMLAttributes & React.RefAttributes > function make(Feather: FeatherComponent): LucideIcon { function Icon({ className, size, color, style, // eslint-disable-next-line @typescript-eslint/no-unused-vars strokeWidth: _strokeWidth, // eslint-disable-next-line @typescript-eslint/no-unused-vars absoluteStrokeWidth: _absoluteStrokeWidth, // eslint-disable-next-line @typescript-eslint/no-unused-vars focusable: _focusable, "aria-hidden": ariaHidden, "aria-label": ariaLabel, ...rest }: LucideProps) { const sizeStyle = size != null ? { width: size, height: size } : undefined // Decorative by default: hide from assistive tech unless the caller gave the // icon its own accessible name (aria-label) or set aria-hidden explicitly. const resolvedAriaHidden = ariaHidden ?? (ariaLabel ? undefined : true) return ( svg]:size-full", size == null && "size-4", className)} style={sizeStyle || color || style ? { ...sizeStyle, color, ...style } : undefined} {...rest} /> ) } return Icon } export const AlertTriangleIcon: LucideIcon = make(FeatherAlertTriangle) export const ArrowDownIcon: LucideIcon = make(FeatherArrowDown) export const ArrowLeftIcon: LucideIcon = make(FeatherArrowLeft) export const ArrowLeftRightIcon: LucideIcon = make(FeatherArrowLeftRight) export const ArrowRightIcon: LucideIcon = make(FeatherArrowRight) export const ArrowUpIcon: LucideIcon = make(FeatherArrowUp) export const AtSignIcon: LucideIcon = make(FeatherAtSign) export const BadgeCheck: LucideIcon = make(FeatherBadgeCheck) export const BellIcon: LucideIcon = make(FeatherBell) export const Bold: LucideIcon = make(FeatherBold) export const BoldIcon: LucideIcon = make(FeatherBold) export const BookIcon: LucideIcon = make(FeatherBook) export const BotIcon: LucideIcon = make(FeatherBot) export const BrainIcon: LucideIcon = make(FeatherBrain) export const Calendar: LucideIcon = make(FeatherCalendar) export const CalendarIcon: LucideIcon = make(FeatherCalendar) export const CaretDownIcon: LucideIcon = make(FeatherChevronDown) export const CaretSortIcon: LucideIcon = make(FeatherChevronsUpDown) export const Check: LucideIcon = make(FeatherCheck) export const CheckCircleIcon: LucideIcon = make(FeatherCheckCircle) export const CheckIcon: LucideIcon = make(FeatherCheck) export const ChevronDown: LucideIcon = make(FeatherChevronDown) export const ChevronDownIcon: LucideIcon = make(FeatherChevronDown) export const ChevronLeftIcon: LucideIcon = make(FeatherChevronLeft) export const ChevronRight: LucideIcon = make(FeatherChevronRight) export const ChevronRightIcon: LucideIcon = make(FeatherChevronRight) export const ChevronsRightIcon: LucideIcon = make(FeatherChevronsRight) export const ChevronsUpDown: LucideIcon = make(FeatherChevronsUpDown) export const ChevronUpIcon: LucideIcon = make(FeatherChevronUp) export const CircleIcon: LucideIcon = make(FeatherCircle) export const ClipboardIcon: LucideIcon = make(FeatherClipboard) export const ClockIcon: LucideIcon = make(FeatherClock) export const Code: LucideIcon = make(FeatherCode) export const CodeIcon: LucideIcon = make(FeatherCode) export const CopyIcon: LucideIcon = make(FeatherCopy) export const CreditCard: LucideIcon = make(FeatherCreditCard) export const Cross2Icon: LucideIcon = make(FeatherX) export const DotIcon: LucideIcon = make(FeatherDot) export const DotsHorizontalIcon: LucideIcon = make(FeatherMoreHorizontal) export const EditIcon: LucideIcon = make(FeatherEdit2) export const Eraser: LucideIcon = make(FeatherEraser) export const EraserIcon: LucideIcon = make(FeatherEraser) export const ExternalLinkIcon: LucideIcon = make(FeatherExternalLink) export const EyeIcon: LucideIcon = make(FeatherEye) export const FileTextIcon: LucideIcon = make(FeatherFileText) export const GearIcon: LucideIcon = make(FeatherSettings) export const GlobeIcon: LucideIcon = make(FeatherGlobe) export const GripVerticalIcon: LucideIcon = make(FeatherGripVertical) export const Heading1: LucideIcon = make(FeatherHeading1) export const Heading2: LucideIcon = make(FeatherHeading2) export const Heading3: LucideIcon = make(FeatherHeading3) export const HelpCircleIcon: LucideIcon = make(FeatherHelpCircle) export const HomeIcon: LucideIcon = make(FeatherHome) export const Image: LucideIcon = make(FeatherImage) export const ImageIcon: LucideIcon = make(FeatherImage) export const ImportIcon: LucideIcon = make(FeatherDownload) export const InfoIcon: LucideIcon = make(FeatherInfo) export const Italic: LucideIcon = make(FeatherItalic) export const ItalicIcon: LucideIcon = make(FeatherItalic) export const LanguagesIcon: LucideIcon = make(FeatherLanguages) export const Link2: LucideIcon = make(FeatherLink2) export const LinkIcon: LucideIcon = make(FeatherLink) export const List: LucideIcon = make(FeatherList) export const ListOrdered: LucideIcon = make(FeatherListOrdered) export const Loader2Icon: LucideIcon = make(FeatherLoader2) export const LoaderCircleIcon: LucideIcon = make(FeatherLoader2) export const LockIcon: LucideIcon = make(FeatherLock) export const LogOut: LucideIcon = make(FeatherLogOut) export const LucideRefreshCcw: LucideIcon = make(FeatherRefreshCcw) export const MailIcon: LucideIcon = make(FeatherMail) export const MenuIcon: LucideIcon = make(FeatherMenu) export const MessageCircleIcon: LucideIcon = make(FeatherMessageCircle) export const MessageSquareIcon: LucideIcon = make(FeatherMessageSquare) export const MinusIcon: LucideIcon = make(FeatherMinus) export const MoonIcon: LucideIcon = make(FeatherMoon) export const MoreHorizontal: LucideIcon = make(FeatherMoreHorizontal) export const MoreHorizontalIcon: LucideIcon = make(FeatherMoreHorizontal) export const MoreVerticalIcon: LucideIcon = make(FeatherMoreVertical) export const NoSymbolIcon: LucideIcon = make(FeatherSlash) export const PaintbrushIcon: LucideIcon = make(FeatherPaintbrush) export const PanelLeftIcon: LucideIcon = make(FeatherPanelLeft) export const PaperclipIcon: LucideIcon = make(FeatherPaperclip) export const PencilIcon: LucideIcon = make(FeatherEdit2) export const PhoneIcon: LucideIcon = make(FeatherPhone) export const PilcrowIcon: LucideIcon = make(FeatherPilcrow) export const PlayIcon: LucideIcon = make(FeatherPlay) export const PlugIcon: LucideIcon = make(FeatherPlug) export const Plus: LucideIcon = make(FeatherPlus) export const PlusIcon: LucideIcon = make(FeatherPlus) export const Quote: LucideIcon = make(FeatherQuote) export const Redo: LucideIcon = make(FeatherRedo) export const RefreshCcwIcon: LucideIcon = make(FeatherRefreshCcw) export const ReloadIcon: LucideIcon = make(FeatherRefreshCw) export const SearchIcon: LucideIcon = make(FeatherSearch) export const SendIcon: LucideIcon = make(FeatherSend) export const ServerStackIcon: LucideIcon = make(FeatherServer) export const ShieldCheckIcon: LucideIcon = make(FeatherShieldCheck) export const SparklesIcon: LucideIcon = make(FeatherSparkles) export const SquareIcon: LucideIcon = make(FeatherSquare) export const StarIcon: LucideIcon = make(FeatherStar) export const StoreIcon: LucideIcon = make(FeatherStore) export const Strikethrough: LucideIcon = make(FeatherStrikethrough) export const SunIcon: LucideIcon = make(FeatherSun) export const Text: LucideIcon = make(FeatherText) export const TextIcon: LucideIcon = make(FeatherText) export const TextQuote: LucideIcon = make(FeatherTextQuote) export const TrashIcon: LucideIcon = make(FeatherTrash2) export const TrendingDownIcon: LucideIcon = make(FeatherTrendingDown) export const TrendingUpIcon: LucideIcon = make(FeatherTrendingUp) export const Underline: LucideIcon = make(FeatherUnderline) export const UnderlineIcon: LucideIcon = make(FeatherUnderline) export const Undo: LucideIcon = make(FeatherUndo) export const UserIcon: LucideIcon = make(FeatherUser) export const VariableIcon: LucideIcon = make(FeatherVariable) export const WandSparkles: LucideIcon = make(FeatherWandSparkles) export const WrenchIcon: LucideIcon = make(FeatherWrench) export const XCircle: LucideIcon = make(FeatherXCircle) export const XCircleIcon: LucideIcon = make(FeatherXCircle) export const XIcon: LucideIcon = make(FeatherX)