Skip to content

fix(passive): accept documented schSize='small' alias as compact 'sm' symbol - #4882

Open
ducanh3005 wants to merge 1 commit into
tscircuit:mainfrom
ducanh3005:fix/passive-sch-size-small-alias-3106
Open

ducanh3005 wants to merge 1 commit into
tscircuit:mainfrom
ducanh3005:fix/passive-sch-size-small-alias-3106

Conversation

@ducanh3005

Copy link
Copy Markdown

Summary

  • Extends Resistor and Capacitor prop validation and schematic symbol resolution to accept the documented schSize="small" alias alongside "xs" and "sm", mapping "small" to the compact sm schematic symbol (�oxresistor_sm* /
    esistor_sm_* / capacitor_sm_*).
  • Adds a regression test verifying schSize="small" on and .

Fixes #3106
Fixes #3108

@vercel

vercel Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
tscircuit-core-benchmarks Ready Ready Preview Oct 24, 2026 4:26am UTC

Request Review

This branch was successfully deployed

1 active deployment
Preview — 73d9242d Deployed Oct 24, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

capacitor: schSize has no schematic effect resistor: schSize has no schematic effect

1 participant