Esri / calcite-design-system

A monorepo containing the packages for Esri's Calcite Design System
https://developers.arcgis.com/calcite-design-system/
Other
269 stars 75 forks source link

[Block and Block Section] Add scale property #9547

Open ashetland opened 3 weeks ago

ashetland commented 3 weeks ago

Check existing issues

Description

Issue #6980 will add scale to Panel and Flow. Block and Block Section should also receive a scale property.

Acceptance Criteria

Utilize existing scaling conventions. In accordance with issue https://github.com/Esri/calcite-design-system/issues/7623

Relevant Info

No response

Which Component

Block Block Section

Example Use Case

No response

Priority impact

impact - p3 - not time sensitive

Calcite package

Esri team

Calcite (design)

RSantosGIS commented 2 days ago

We have a similar need to this for ArcGIS Knowledge Studio. We'd like to be able to control the height of the CalciteBlock header element either with a scale enum or, preferably, with an exposed CSS variable similar to --calcite-block-padding. Basically, I'd like to be able to control the height of the highlighted element below so that I can make it less tall to meet our design:

image