Problem
When a component uses a "code-only props" container (a Figma layer that holds props meant only for code, not for design), the props inside it are correctly extracted, but the container itself and its children still appear in the anatomy and variant output. This adds noise to the spec — the container is an implementation detail that should be invisible in the final output.
Solution
Fully exclude the code-only props container and its children from anatomy and variant element output. The props extraction already works correctly; the container just needs to be stripped from the remaining output sections.
Acceptance criteria
Implementation details are tracked internally.
Problem
When a component uses a "code-only props" container (a Figma layer that holds props meant only for code, not for design), the props inside it are correctly extracted, but the container itself and its children still appear in the anatomy and variant output. This adds noise to the spec — the container is an implementation detail that should be invisible in the final output.
Solution
Fully exclude the code-only props container and its children from anatomy and variant element output. The props extraction already works correctly; the container just needs to be stripped from the remaining output sections.
Acceptance criteria