Skip to content

List Item Group #8039

@asangma

Description

@asangma

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

background color problem

Current hover state

background color hover problem

Using foreground-1 or transparent

background color suggestion

background color hover solution

Alignment

Labels don't align. This might be from the selection border?
alignment

Caret spacing

It appears that the spacing is 1rem start and 0.75rem end. Visually, this feels imbalanced.

caret spacing

Expand/collapse versus selection

The hit area for expand/collapse versus selection is confusing. Suggest visually distinguishing between the two hover states.

expands hit

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/calcite-components
  • @esri/calcite-components-react
  • @esri/calcite-design-tokens
  • @esri/eslint-plugin-calcite-components

Esri team

ArcGIS Maps SDK for JavaScript

Metadata

Metadata

Labels

4 - verifiedIssues that have been tested, confirmed as mitigated, and are ready to close.ArcGIS Maps SDK for JavaScriptIssues logged by ArcGIS SDK for JavaScript team members.c-listIssues that pertain to the calcite-list componentcalcite-componentsIssues specific to the @esri/calcite-components package.designIssues that need design consultation prior to, or during, development.enhancementIssues tied to a new feature or request.p - lowIssue is non core or affecting less that 10% of people using the libraryready for devIssues ready for development implementation.visual changesIssues with visual changes that are added for consistency, but are not backwards compatible.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions