Releases: simonwep/selection
Releases · simonwep/selection
v3.2.5
v3.2.4
Breaking changes
Only for those who are using jsdelivr or importing the lib files directly.
With this release the dist files changed! Check the corresponding README for the package you're using for how to use it with jsdelivr or other CDNs!
E.g. @viselect/vanilla/lib/viselect.esm.js is now @viselect/vanilla/dist/viselect.mjs
Bug fixes
v3.2.3
v3.2.2
v3.2.1
v3.2.0
Bug fixes
- Performing a range-select after manually selecting an element now behaves as expected (the first element is used as root) (#184)
Features
- It's now possible to pass an
id
to the contain in react/preact (#176, thanks to @Olivia-li!) getComposePath
is now stable enough to use it directly instead of using a polyfill!clearSelection
now behaves the same way asdeselect
and triggers both themove
andstop
events - less things to handle yourself when clearing a selection 🥳- Remove legacy
trigger
function and do no longer return a boolean indeselect
.
v3.1.1
v3.1.0
This release brings many long awaited bug-fixes and improvements :)
Bug fixes
- Fix issue with not properly cleared state after manual (de-)selection. (#161)
- On manual selection the
stop
andstart
-event are now emitted as well, making it easier to control it via JS. - Fix broken scrolling on Safari. (#140)
Improvements
- Dependency updates, the react-package for example is now using
createRoot
. - Add missing documentation to the README.
v3.0.0
This is a small release with an update for vue and a long awaited bug-fix. I plan to investigate currently reported issues / implement requested features this summer.
Bug fixes
- The current selection is now available in the
stop
-event. (#157)
Improvements
<script setup>
is now used for the vue component which gives us full type-script support for theSelectionArea
-component.