Consistently name custom element classes #10843
Labels
0 - new
New issues that need assignment.
ArcGIS Maps SDK for JavaScript
Issues logged by ArcGIS SDK for JavaScript team members.
calcite-components
Issues specific to the @esri/calcite-components package.
enhancement
Issues tied to a new feature or request.
impact - p3 - not time sensitive
User set priority impact status of p3 - not time sensitive
needs triage
Planning workflow - pending design/dev review.
Check existing issues
Description
Most Calcite custom element class names don't start with
Calcite
:calcite-design-system/packages/calcite-components/src/components/button/button.tsx
Line 53 in 1cde584
However, 5 classes do start with
Calcite
prefix:calcite-design-system/packages/calcite-components/src/components/menu/menu.tsx
Line 29 in 1cde584
Acceptance Criteria
Every class name starts or does not start with
Calcite
for consistency.Relevant Info
While not a promoted use case, these class names may be imported directly in consumer apps (rather than
HTMLCalciteMenuElement
), so the rename would be a breaking change.Which Component
5 components listed above
Example Use Case
No response
Priority impact
impact - p3 - not time sensitive
Calcite package
Esri team
ArcGIS Maps SDK for JavaScript
The text was updated successfully, but these errors were encountered: