Add part selectors for better control of styling #10605
Labels
0 - new
New issues that need assignment.
calcite-components
Issues specific to the @esri/calcite-components package.
enhancement
Issues tied to a new feature or request.
impact - p1 - need for current milestone
User set priority impact status of p1 - need for current milestone
Check existing issues
Description
We (from Alliander) need a way to update/access styling of elements within the ShadowRoot.
There are two ways of providing this within an open-source design-system:
Acceptance Criteria
Every element that is not a slot, should contain part selectors, so the end-users can update the styling of these elements whenever they do not provide the support needed. With this new behaviour, users can change styling like flex-directions, paddings, margins etc. when these are not set through css variables.
Relevant Info
No dependencies and blockers.
Which Component
All components, since it is a low-effort, high-reward approach of making the components more user-friendly.
Example Use Case
By adding this simple
part
to an element, a user can now style these specific parts through styling like so:Priority impact
impact - p1 - need for current milestone
Calcite package
Esri team
N/A
The text was updated successfully, but these errors were encountered: