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: ActionPad. Add horizontal orientation #967

Closed asangma closed 4 years ago

asangma commented 4 years ago

Description

Add a property that will allow users to set the orientation of the ActionPad to horizontal.

Acceptance Criteria

image image

Relevant Info

| vs –

Which Component

ActionPad and ActionGroup

Example Use Case

Toolbars for table editing or chart configuring.

cc @driskull

driskull commented 4 years ago

Would this ever make it to the action-bar?

driskull commented 4 years ago

@asangma @jcfranco can you help name this property?

We could go with:

My vote would be toward layout or direction

layout is used here: https://github.com/Esri/calcite-components/blob/ad9ca1559f54326e66d47619cb78f3f9f4174547/src/components/calcite-radio-group/calcite-radio-group.tsx#L87

jcfranco commented 4 years ago

I like layout and it's also the consistent option.

driskull commented 4 years ago

Ok cool. We can talk about it at the next meeting. I could remove all deprecated things and we would be at V 6.0

driskull commented 4 years ago

Decision was to use layout, remove all deprecations, and do a major release.

kat10140 commented 4 years ago

verf!