Skip to content

Comments

chore: filter out attributes for non-public members in CEM config#11174

Open
web-padawan wants to merge 1 commit intomainfrom
chore/cem-remove-protected
Open

chore: filter out attributes for non-public members in CEM config#11174
web-padawan wants to merge 1 commit intomainfrom
chore/cem-remove-protected

Conversation

@web-padawan
Copy link
Member

Summary

  • Attributes whose corresponding field member is protected or private (e.g. type from InputMixin) were not being excluded from the custom elements manifest
  • Adds a filter in the CEM config that removes attributes when their fieldName does not match any remaining public member

Test plan

  • Run yarn release:cem and verify that packages/checkbox/custom-elements.json no longer contains the type attribute
  • Verify other packages (e.g. text-field) are not affected by the change

🤖 Generated with Claude Code

Attributes whose corresponding field member is protected or private
(e.g. `type` from InputMixin) were not being excluded from the manifest.
This adds a filter that removes attributes when their `fieldName` does
not match any remaining public member.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@web-padawan web-padawan requested a review from vursen February 20, 2026 07:52
@web-padawan web-padawan changed the title fix: filter out attributes for non-public members in CEM config chore: filter out attributes for non-public members in CEM config Feb 20, 2026
@sonarqubecloud
Copy link

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.

1 participant