Skip to content

Releases: simonwep/selection

v3.8.1

12 Jan 08:24
Compare
Choose a tag to compare

What's Changed

  • Fix incorrect handling of behaviour.triggers when multiple are provided (#241)

Full Changelog: v3.8.0...v3.8.1

v3.8.0 (react/preact)

03 Jan 13:13
Compare
Choose a tag to compare

Breaking changes

For react and preact the component is now a named import:

-- import SelectionArea, {SelectionEvent} from '@viselect/react';
++ import {SelectionArea, SelectionEvent} from '@viselect/react';

What's Changed

  • The minimum version for react is now v19 due to breaking changes in react, see #230. Use an older @viselect/react version if you're still using react <19.

Full Changelog: v3.7.1...v3.8.0

v3.7.1

02 Jan 07:37
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.7.0...v3.7.1

v3.7.0

22 Nov 12:42
Compare
Choose a tag to compare
  • Remove usage of DOMRect to allow unit testing it with jsdom and happy-dom (#213)
  • Minor build improvements reducing the bundle size by ~5%

v3.6.0

29 Sep 07:08
Compare
Choose a tag to compare
  • Add new deselectOnBlur feature. If enabled, you can deselect elements by clicking next to a selectable inside of an boundary. Note that this may not work as expected in Safari due to having "invisible" overlay scrollbars. (#228)
  • Docs improvements.

v3.5.1

24 Apr 16:21
Compare
Choose a tag to compare
  • Fix duplicate stop events when using single-select (#227)
  • Fix preact builds (#221)

v3.5.0

16 Dec 13:39
Compare
Choose a tag to compare
  • Add trigger option to specify mouse button and meta buttons to press when starting a selection (#218, #214)
  • Support custom container element in react packages (#220)

v3.4.1

13 Nov 15:31
Compare
Choose a tag to compare
  • Fix not exported types in package.json exports (#211, #209)

v3.4.0

06 Sep 06:18
Compare
Choose a tag to compare
  • Fix issues in Safari when using the mouse wheel (#206)
  • Improve event-listeners in vue and react packages (#201)

v3.3.1

24 Jul 11:55
Compare
Choose a tag to compare

Fix missing type paths in package.json files.