/** * The few Lucide icons the panel uses (ZCode's icon set), as inline SVG so the bundle stays small. * Path data from Lucide (https://lucide.dev), ISC License, Copyright (c) Lucide Contributors 2022, * portions Copyright (c) Cole Bemis 2013-2022 (Feather, MIT). See THIRD_PARTY_NOTICES.txt. */ const PATHS = { search: '', x: '', "chevron-up": '', "chevron-down": '', minus: '', plus: '', ellipsis: '', "panel-left": '', "file-text": '', copy: '', "message-square-plus": '', "message-circle-question": '', check: '', "rotate-cw": '', "arrow-down": '', "arrow-up": '', "folder-open": '', "maximize-2": '', } as const; export type IconName = keyof typeof PATHS; export function Icon({ name, size = 14, className, }: { name: IconName; size?: 12 | 14 | 16 | 28; className?: string; }) { return ( ); } const TYPE_LABEL = { pdf: "PDF", docx: "W", xlsx: "X", pptx: "P" } as const; /** 16px coloured file-type square, used only where a list mixes document kinds. */ export function FileType({ kind }: { kind: keyof typeof TYPE_LABEL }) { return ( ); }