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 : PickList & PickListItem. Add "appearance" prop with "clear" as available option. #978

Closed asangma closed 4 years ago

asangma commented 4 years ago

Description

Update PickList and PickListItem to have a transparent bg-color.

Screen Shot 2020-05-12 at 2 24 28 PM

User Stories

User wants to create a PickList that is visually distinct from other PickLists such as for a list of options that will trigger a drill in using something like FlowItems.

Acceptance Criteria

Out of Scope

Helpful Details

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

asangma commented 4 years ago

@driskull @jcfranco @kat10140 Could use some discussion on how this thing would work. Like would it wrap PickList and PickListItem like ValueList does?

And does it and Flow need to know anything about each other?

driskull commented 4 years ago

@asangma maybe we should meet to discuss.

If I'm understanding correctly, an app would build a value-list or pick-list and a set of corresponding flow-items for each of them. When they are selected in the pick-list/value-list then their corresponding flow-item is added to the flow. Is that right @asangma?

It doesn't seem like there needs to be a new component for this as the workflow is fairly easy.

asangma commented 4 years ago

@driskull yeah...def would like to meet to discuss.

driskull commented 4 years ago

deal

asangma commented 4 years ago

Updated first comment.

asangma commented 4 years ago

@driskull We should discuss how a user would turn off the icon. Also, I'm starting to think about a wrapper thing again.

driskull commented 4 years ago

Let's talk about it at this weeks meeting. We can come up with the best solution.

asangma commented 4 years ago

i like it

jcfranco commented 4 years ago

Moved to Esri/calcite-components#970