calcite-design-system
calcite-design-system copied to clipboard
feat(flow, flow-item)!: avoids removing flow-items from the DOM and adds selected property
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 tocalcite-flow-item
. - Sets the last
calcite-flow-item
asselected
if no other is `selected. - Requires custom classes implementing
FlowItemLikeElement
to have aselected
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