calcite-design-system icon indicating copy to clipboard operation
calcite-design-system copied to clipboard

fix(action-bar, action-pad)!: Do not modify text-enabled on slotted actions unless expanded is toggled

Open driskull opened this issue 8 months ago • 4 comments

Related Issue: #8886

BREAKING CHANGE: When slotting actions within the component you must now set textEnabled on them if necessary.

Summary

  • updates action-bar and action-pad to only change child actions textEnabled property when the component is expanded or collapsed.
  • If the component is starting in an expanded or collapsed state, the user is responsible for properly setting textEnabled on children.
  • If children are added, they need to be correctly assigned textEnabled
  • cleanup: stores action groups for use within the component
  • update tests

driskull avatar Jun 10 '24 23:06 driskull