- apps/desktop: electron-vite + React + Tailwind mapped onto design tokens (preflight off; tokens/base.css owns the reset); boots to a Reginald placeholder proving fonts/tokens/core wiring - packages/core: pure TS; gitea label schema (est/*, p/*, deadline/hard) with pessimistic conflict resolution + 15 unit tests - docs/design: full design handoff (tokens, 16 component contracts, interactive 14-screen prototype, Reginald voice rules) - docs/PLAN.md: product plan (purity rule, pm-state repo, deterministic scheduler + Monte Carlo, directive log) - Deliberate deviation from novelpad stack: no ElectricSQL/PGlite — local store is a rebuildable cache over gitea REST/webhooks (better-sqlite3 in main process, arriving in P1) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
18 lines
508 B
Plaintext
18 lines
508 B
Plaintext
/**
|
|
* Square icon-only button; label is mandatory (becomes aria-label + title).
|
|
*/
|
|
export interface IconButtonProps {
|
|
/** Lucide icon name */
|
|
icon: string;
|
|
/** Required accessible label (also the tooltip) */
|
|
label: string;
|
|
/** @default 'ghost' */
|
|
variant?: 'ghost' | 'outline';
|
|
/** @default 'md' */
|
|
size?: 'sm' | 'md';
|
|
disabled?: boolean;
|
|
onClick?: (e: React.MouseEvent) => void;
|
|
style?: React.CSSProperties;
|
|
}
|
|
export declare function IconButton(props: IconButtonProps): JSX.Element;
|