Closed asangma closed 6 months ago
cc @driskull
From a UI standpoint, IMO the List Item Group is an extremely heavy element, the combination of vertical height and font weight make these Lists quite ... large. I guess this applies to the items themselves, not just the groups. Maybe we can look to reduce the height of all of these by a bit. Over an entire UI this could be a drastic improvement.
@macandcheese Agreed! :)
This Figma file covers designs for this issue and multiple related design revisions for List. cc @driskull
cc @geospatialem, @brittneytewks
Installed and assigned for verification.
🍯 Verified on 2.8.0-next.10
Check existing issues
Description
Some UI enhancement requests for ListItemGroup.
Background color and hover states
ListItemGroup uses foreground-2. This can conflict with anything that use ui-background. It also makes for weird hover states. Suggest foreground-1 or even transparent.
Current
Current hover state
Using foreground-1 or transparent
Alignment
Labels don't align. This might be from the selection border?
Caret spacing
It appears that the spacing is 1rem start and 0.75rem end. Visually, this feels imbalanced.
Expand/collapse versus selection
The hit area for expand/collapse versus selection is confusing. Suggest visually distinguishing between the two hover states.
This may require updating the "invisible" selection border color on hover.
Acceptance Criteria
Not breaking stuff.
Relevant Info
No response
Which Component
List Item Group
Example Use Case
SDK LayerList, BasemapLayerList, and TableList.
Priority impact
p3 - want for upcoming milestone
Calcite package
Esri team
ArcGIS Maps SDK for JavaScript