mirror of
https://github.com/penpot/penpot.git
synced 2026-05-07 09:08:33 +00:00
Change isVariant() return type from boolean to 'this is LibraryVariantComponent', enabling TypeScript users to directly access variants, variantProps, and variantError after a type-narrowing check. Update MCP instructions with improved variant navigation guidance. Closes #9185 Co-authored-by: Claude (Anthropic) <noreply@anthropic.com>