Releases: smastrom/solid-collapse
Releases · smastrom/solid-collapse
v1.1.0
v1.1.0
What's new
- Solid Collapse now calculates the optimal duration according to your content height. You can opt-it by referencing the variable
--sc-auto-durationin your transition property:
.my-transition {
transition: height var(--sc-auto-duration) cubic-bezier(0.65, 0, 0.35, 1);
}onCollapsed,onExpandedcallbacks are now available as props.
What's improved
margin: 0,padding: 0andborder: 0 noneare now always enforced on the collapse element.
Update now: yarn add vue-collapsed@latest