Esri / calcite-app-components

A collection of calcite components for building single page applications
https://esri.github.io/calcite-app-components/
Other
39 stars 10 forks source link

Enhancement: Modify value-list to support layer-list design #980

Closed driskull closed 3 years ago

driskull commented 4 years ago

Description

https://codepen.io/mtb-alan/pen/PoqQOBJ

Acceptance Criteria

Relevant Info

Which Component

Example Use Case

Component could be used internally within the layerlist, tablelist and basemaplayerlist API widgets.

CC ISSUE https://github.com/Esri/calcite-components/issues/968

driskull commented 4 years ago

notable changes:

calcite-value-list

calcite-value-list-item

Need feedback on implementation.

Seems like we might need a functional component for the only show one icon and show menu if more part.

driskull commented 4 years ago

@asangma would it be possible to use the calite-dropdown for the places we have the [...] button? Is there a transparent version of it? I guess not because we use action. I think we'll have to have our own version.

asangma commented 4 years ago

calcite-value-list

calcite-value-list-item

asangma commented 4 years ago

re: calcite-dropdown There are some things about the style that lends it to more like choosing table view or list view kinna thing. I think if it can start accepting CalciteActions...?

Or we use Popover...?

driskull commented 4 years ago

Popover might be the right approach. We probably would set it up to just be above/below instead of anywhere.

driskull commented 4 years ago

@asangma or @kat10140 can you create an issue for me to update all areas where menu-actions slot is used to use the calcite-popover for positioning.

jcfranco commented 3 years ago

Moved to Esri/calcite-components#968