Skip to content

Releases: simonwep/selection

v3.2.4

05 Jan 17:56
Compare
Choose a tag to compare

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

  • Fix issues with scrolling (#190)
  • Fix missing source map (#189)

v3.2.3

28 Dec 14:31
Compare
Choose a tag to compare

Bug fixes

  • Add missing events for the react / preact / vue packages. (#188)

v3.2.2

24 Nov 17:17
Compare
Choose a tag to compare

Bug fixes

  • Fix incorrectly fired events when selection starts (#186)

v3.2.1

23 Nov 13:25
Compare
Choose a tag to compare

Bug fixes

  • Fix issues with scrollable containers (#185)

v3.2.0

22 Nov 17:11
Compare
Choose a tag to compare

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 as deselect and triggers both the move and stop events - less things to handle yourself when clearing a selection 🥳
  • Remove legacy trigger function and do no longer return a boolean in deselect.

v3.1.1

16 Sep 16:07
Compare
Choose a tag to compare

Bug fixes

  • Fix possible error with very large amounts of selectables (#175)

v3.1.0

03 Sep 14:31
Compare
Choose a tag to compare

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 and start-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

15 Jul 12:40
Compare
Choose a tag to compare

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 the SelectionArea-component.

v3.0.0-beta.13

19 Dec 15:21
Compare
Choose a tag to compare

Bug fixes

  • Fix auto-scrolling (#150 )

Improvements

  • Improve type-base for react/preact (#149)

v3.0.0-beta.12

20 Nov 13:19
Compare
Choose a tag to compare

Bug fixes

  • Fix incorrect reference element for range selections (#138)

Improvements

  • Each frame is now aligned with the current framerate (#96)