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

feat(flow, flow-item)!: avoids removing flow-items from the DOM and adds selected property

Open driskull opened this issue 9 months ago • 5 comments

Related Issue: #5072

BREAKING CHANGE: The new selected property on calcite-flow-item must be used to define which calcite-flow-item is shown.

Summary

  • Add selected property to calcite-flow-item.
  • Sets the last calcite-flow-item as selected if no other is `selected.
  • Requires custom classes implementing FlowItemLikeElement to have a selected property
  • Cleans up animation by removing class after animation is complete
  • update tests
  • update demo and add placeholder image (the url is slow)
  • update stories

driskull avatar May 21 '24 21:05 driskull