Open macandcheese opened 2 weeks ago
unless we need this to persist when text is displayed conditionally based on expanded behavior of parent Action Bar / Group ??)
Yes, this is so that users don't have to add/remove text in order to toggle it being displayed.
Yeah that makes sense. Might be work using collapse-disabled
or something if we are making other breaking changes to make the use-case for standalone Actions simpler.
Check existing issues
Description
Currently, an Action has a required
text
property, and alabel
property that will fallback to thetext
property value if not provided.However, it can be valid to not display text within the Action. Currently - to do this you need to pass
text=""
and it creates undesired visuals within anexpanded
parent:Acceptance Criteria
The user should be able to display an action without text - and have it remain accessible through use of a
label
property.label
is made requiredtext
is made optionaltext-enabled
(?? - we could just display it based on presence of text - unless we need this to persist when text is displayed conditionally based onexpanded
behavior of parent Action Bar / Group ??)Relevant Info
No response
Which Component
Action, Action Bar, Action Group, Action Pad
Example Use Case
No response
Priority impact
impact - p3 - not time sensitive
Calcite package
Esri team
Calcite (design)