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

Tree: update selection affordance in ancestors mode #8227

Closed ashetland closed 1 month ago

ashetland commented 10 months ago

Check existing issues

Description

Update Tree selection-mode="ancestors" to use icons instead of checkboxes. This will visually align Tree with updates from epic #7181.

Acceptance Criteria

Selection icons and hover states updated to match Figma designs.

Relevant Info

@geospatialem @brittneytewks These designs were originally included on a related, but separate issue. Logging this new one for inclusion in epic #7181.

Which Component

Tree, Tree Item

Example Use Case

No response

Priority impact

p3 - want for upcoming milestone

Calcite package

Esri team

Calcite (design)

github-actions[bot] commented 10 months ago

cc @geospatialem, @brittneytewks

github-actions[bot] commented 1 month ago

Installed and assigned for verification.

geospatialem commented 1 month ago

The above was included in PR https://github.com/Esri/calcite-design-system/pull/9849, where the following was added to the tree-item:

https://github.com/Esri/calcite-design-system/blob/f2aa976f3c0d0ce69aa184a835da628e9898a4bd/packages/calcite-components/src/components/tree-item/tree-item.tsx#L235-L245