Closed driskull closed 3 years ago
notable changes:
dragEnabled
in favor of dragEnabled
on each individual list-item so that some can be dragged and others not. Thoughts? @asangma loading
prop to this so that it can be easily toggled. Thoughts? @asangma open
and add it when it has children that are calcite-value-list-item
. Thoughts? @asangma
leading-actions
slotprimary-actions
and secondary-actions
. The primary-actions
would always be displayed if populated (for visibility icon) and the secondary-actions
would only show 1 at most and the rest in the menu.Need feedback on implementation.
Seems like we might need a functional component for the only show one icon and show menu if more
part.
@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.
dragEnabled
loading
Seems legit.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...?
Popover might be the right approach. We probably would set it up to just be above/below instead of anywhere.
@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.
Moved to Esri/calcite-components#968
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