Skip to content

Releases: simonwep/selection

v3.0.0-beta.2

27 Jun 15:02
Compare
Choose a tag to compare

Breaking changes

  • New option structure, see usage for more informations. Most settings have either been moved to behaviour or features.

Features

  • New range option for features to disable / enable range-selection (#121).
  • The container element can now be given a class via selectionContainerClass (#114).

v3.0.0-beta.1

27 Jun 13:57
Compare
Choose a tag to compare

See #122 (feedback goes there).

Breaking changes

  • @simonwep/selection-js renamed to @viselect/vanilla.
  • keepSelection doesn't have to be called anymore, it's the default behaviour.
  • The class option is now areaClass (this will change again in the next beta version).

Features

  • Support for react, preact and vue.

v2.1.2

12 Jun 11:31
Compare
Choose a tag to compare

Improvements

  • destroy now not only removes the selection-area but cancels the selection and removes all event-listeners (see #120).

v2.1.1

01 Jun 16:27
Compare
Choose a tag to compare

Bug fixes

  • Fix no longer applied z-index on clipping element (#114)

v2.1.0

07 May 15:14
Compare
Choose a tag to compare

Improvements

  • Minor improvements to how selection works when you're pressing shift (#106)
  • Selection is now more OS-like (#108)

v2.0.3

02 Apr 08:12
Compare
Choose a tag to compare

Improvements

  • preventDefault is no longer called during selection. You'll now have full control over text-selection. #99 many thanks to @getreworked!

v2.0.2

14 Mar 11:08
Compare
Choose a tag to compare

Bug fixes

  • It wasn't possible to un-select text in content-editable elements #97, many thanks to @getreworked!

v2.0.1

25 Feb 19:26
Compare
Choose a tag to compare

Bug fixes

  • Fix not exported types (#95)

v2.0.0

13 Jan 19:06
Compare
Choose a tag to compare

Bug fixes

  • Fix auto-scroll speed #92

Improvements

  • EventEmitter is now generic (internal)

v2.0.0-beta.5

04 Jan 19:48
Compare
Choose a tag to compare

Bug fixes

  • Fix broken singleClick handler (#91)