feat(Text): decouple visual heading variants from semantic HTML#393
feat(Text): decouple visual heading variants from semantic HTML#393mattrothenberg wants to merge 3 commits intomainfrom
Conversation
949ef98 to
38be0f6
Compare
commit: |
Docs PreviewCommit: |
|
/bonk review pls |
Review of PR #393This is a well-architected change that properly decouples visual presentation from semantic HTML structure. Here's my assessment: ✅ What's Good1. Clean Implementation 2. Type Safety 3. Documentation
4. Demo Updates 5. Changeset
|













































Decouples visual heading variants from semantic HTML elements in the Text component. Previously,
heading1/heading2/heading3variants auto-rendered<h1>/<h2>/<h3>tags, which coupled visual presentation to semantic HTML and led to incorrect document outlines.Changes:
<span>by defaultasprop is restricted to valid text elements:h1-h6,p,spanTextcomponentMigration: