Releases: smastrom/vue-collapsed
Releases · smastrom/vue-collapsed
v1.3.5
v1.3.4
v1.3.3
v1.3.2
v1.3.1
v1.3.0
Release notes
- Fix a SSR layout shift bug where
<Collapse />was displayed as expanded on initial render until JS was loaded (if collapsed). #22 - Thanks @zhaivoronok - Add a check to control whether
requestAnimationFrameis available
Other
- Setup monorepo
- Migrate playground to Nuxt
- Add more examples to playground
- Migrate demo website to Cloudflare Pages
v1.2.9
Release notes
This patch release doesn't bring any new feature nor fix. It is just a "courtesy-release" to enable from now on, publishments via the newly introduced npm provenance statements.
I also took the chance to improve a bit the (one year old) codebase by:
- Use
defineOptionsin the setup block - Refactor reactivity-related syntax to improve readability using setters
- Enable watch mode for both dev and GUI testing
- Drop the buggy and unstable Cypress webkit testing (support still experimental)
- Update all dependencies
v1.2.8
v1.2.7
v1.2.6
What's improved
- Collapse is now more performant, using only one
requestAnimationFramecall per expand/collapse. This was achieved by streamlining the logic behind retrieving the auto duration value, which is now only captured on mount. - No longer enforcing
margin: 0andborder: 0on the Collapse element fixed styles. - When
baseHeightdynamically updates to 0 on collapsed state,display: hiddenis now added on the Collapse element styles. - Added examples to the README on how to use different easing and durations per expand/collapse.