Allow for overriding scales for CalciteIcon
s
#8006
Labels
4 - verified
Issues that have been released and confirmed resolved.
ArcGIS StoryMaps
Issues logged by ArcGIS StoryMaps team members
enhancement
Issues tied to a new feature or request.
estimate - 1
Very small fix or change (potentially a single line), doesn't require updates to tests.
impact - p1 - need for current milestone
User set priority impact status of p1 - need for current milestone
low risk
Issues with low risk for consideration in low risk milestones
p - high
Issue should be addressed in the current milestone, impacts component or core functionality
Milestone
Check existing issues
Description
To be able to override CalciteIcon scales.
Acceptance Criteria
To be able to override the CalciteIcon scales. This way we can account for when the base size for rem differs from the default and rescale them if necessary. For example we override it to 65.2%.
Relevant Info
This is blocking us from upgrading to JSSDK 4.28 since they recently have refactored a couple widgets to use CalciteIcon components. We can't override any of these that are nested in other Calcite components due to the shadow dom.
Please look at channel discussion here
We use Calcite Icons (just the icons) ourselves and we don't have any issues with their sizes and we'd like the consistent with any
CalciteIcon
components being used in the JSSDK.Which Component
CalciteIcon
Example Use Case
There are cases where websites override the base size for rem to 65.2%, which is what we currently do.
Here's a code pen of a JSSDK example.
https://codepen.io/meescool/pen/gOZQEja
Priority impact
p1 - need for current milestone
Calcite package
Esri team
ArcGIS StoryMaps
The text was updated successfully, but these errors were encountered: