Allow themed
to specify token target for inherited, internal CSS props
#10569
Labels
0 - new
New issues that need assignment.
estimate - 5
A few days of work, definitely requires updates to tests.
needs milestone
Planning workflow - pending milestone assignment, has priority and/or estimate.
p - low
Issue is non core or affecting less that 10% of people using the library
tooling
Issues relating to build system fixes or improvements.
Priority impact
p - low
Summary
Components that inherit internal component props for reused styles (e.g., https://github.com/Esri/calcite-design-system/pull/10532/files), need to define CSS props on a different element (e.g., parent
tabs
instead oftab-title
).themed
should introduce a new prop to target a different element to apply the parent props to.The current, brittle, work around is to provide internal CSS props as input to
themed
.Desired Outcome
A new prop for
TestSelectToken
to specify a different style target than the component under test.Resources
No response
The text was updated successfully, but these errors were encountered: