Repository navigation
v0.11.0
This release improves the accuracy of Design System (DS) export resolution and component auditing.
Design System Export Resolution
ds_componentnow resolves any public export by name case-insensitively, returning the import line, JSDoc, signature, referenced props type, and a usage excerpt from the related story file.- Partial name matches (e.g., "Toast") now list the closest exports (e.g.,
ToastProvider,useToast) instead of failing to resolve. ds_searchmatches against export names, and the shadow/control inventory uses the public components defined in the package’sexportscontract.
Shadow Component Auditing
- The auditor now only flags a shadow component if its name matches the DS component (or that plus a generic affix) and the file does not import the DS component, or if a DS-family name hand-writes the DS root class (e.g.,
pl-surface) without importing or rendering the DS component. - Files that import or render the DS component for a locally named file are classified as composition and are never flagged.
- When replies are capped, the output now displays "N of M shown" instead of printing a second, smaller count for the same rule.
Audit Exclusions
- Hand-rolled control audits now skip sanctioned composite
<button>elements that useclassNameand multi-element children, per protoContent#551.