Esri / calcite-design-system

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

[Design] Consistent width-scale , height-scale values across components #7616

Open macandcheese opened 1 year ago

macandcheese commented 1 year ago

Check existing issues

Description

Components like Shell Panel, Sheet, and Modal have width-scale properties - we should consolidate these into a shared set of widths if possible, and reference those. Same for height-scale.

Dropdown also has width - but that property might not be needed anymore - just have it set by the scale, or longest text string.

Acceptance Criteria

A shared set of default width values is available for components that use width-scale and height-scale

Relevant Info

cc @ashetland @SkyeSeitz

Which Component

Shell Panel, Sheet, Modal, Dropdown (?)

Example Use Case

No response

Priority impact

p4 - not time sensitive

Calcite package

Esri team

Calcite (design)

geospatialem commented 3 months ago

For design expertise - to confirm components prior to assigning to a future dev milestone.