-
Notifications
You must be signed in to change notification settings - Fork 21
Labels
📦 componentsRelated to the @swisspost/design-system-components packageRelated to the @swisspost/design-system-components package
Milestone
Description
Regarding our discussion here, we must update some of our component part names and properly merge them to main.
User Story
As a developer of the Swiss Post Design System, I want to ensure our components internal ::part names are properly scoped to the component, so chances are smaller, that a selector can bleed through other components, creating unwanted side-effects.
Acceptance Criterias
- Update the part names of the
post-accordion-itemcomponent.
Already part of this pr fix(components, docs): fixpost-accordiondesign discrepancies and remove or updatepost-accordion-itemparts #6676. - Update the part names of the
post-menucomponent. - Update the part names of the
post-tabscomponent. - Add an ADR out of the poll, which declares the naming convention (e.g. part names must align the component tag, followed by a dash and a single word explaining the element they represent).
- Implement a eslint rule to enforce the naming convention (there are some stencil related custom rules around already).
Be aware, all of these changes are breaking!
Metadata
Metadata
Assignees
Labels
📦 componentsRelated to the @swisspost/design-system-components packageRelated to the @swisspost/design-system-components package
Type
Projects
Status
🧐 In Review