Skip to content

fix(cem): handle cssStates and cssParts for classes with leading event decorators#13769

Open
nnaydenow wants to merge 1 commit into
mainfrom
cem-fix
Open

fix(cem): handle cssStates and cssParts for classes with leading event decorators#13769
nnaydenow wants to merge 1 commit into
mainfrom
cem-fix

Conversation

@nnaydenow

@nnaydenow nnaydenow commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

When an @event decorator precedes the class JSDoc, TypeScript does not attach the JSDoc to the class node, causing the default CEM analyzer to silently drop @cssState and @csspart tags. processClass now explicitly extracts and populates cssStates and cssParts from the parsed JSDoc, matching the existing handling for @implements.

@nnaydenow nnaydenow changed the title fix(cem): handle cssStates and cssParts for classes with leading even… fix(cem): handle cssStates and cssParts for classes with leading event decorators Jul 1, 2026
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.

2 participants