Skip to content

Releases: claudijo/react-2d-canvas

v0.7.0

03 Dec 13:48
Compare
Choose a tag to compare
  • Add TextField canvas element to render multiple lines of text f8c1af6

v0.6.0...v0.7.0

v0.6.0

13 Sep 09:00
Compare
Choose a tag to compare
  • Make it possible to stop propagating mouse and wheel events from Shape components to the parent Layer component 485da1c

v0.5.1...v0.6.0

v0.5.1

07 Sep 14:05
Compare
Choose a tag to compare

v0.5.0...v0.5.1

v0.5.0

07 Sep 14:01
Compare
Choose a tag to compare
  • Facilitate global zooming and panning
  • Add some code examples
  • Add support for keyboard and wheel events

v0.4.0...v0.5.0

v0.4.0

10 Apr 08:46
Compare
Choose a tag to compare
  • Ensure mouse events are fired for image shapes and shapes that have either a background color or a background image 2bb73b6

v0.3.1...v0.4.0

v0.3.1

05 Apr 07:13
Compare
Choose a tag to compare
  • Make it possible to clear a background image a1590db

v0.3.0...v0.3.1

v0.3.0

04 Apr 13:05
Compare
Choose a tag to compare
  • Add support for background image on basic shapes 74afb1a
  • Bump react peer dependency max version to 18.x c6ae538
  • Draw final line in polygon by closing path for better visual appearance 5fe5c84

v0.2.1...v0.3.0

v0.2.1

29 Mar 18:26
Compare
Choose a tag to compare
  • Ensure label component is updated when its text content is changed bacfe3c

v0.2.0...v0.2.1

v0.2.0

23 Mar 16:30
Compare
Choose a tag to compare
  • Some refactoring of event handling code bf56fc0
  • Update README f3374d7
  • Add support for touch events aa52d1f

v0.1.0...v0.2.0

v0.1.0

16 Mar 14:38
Compare
Choose a tag to compare
  • Update Readme to cover the Polygon component d857fb6
  • Remove check for attached mouse event handlers on elements since it is actually not a working solution, and instead assume all child components in top most layer might have mouse event handlers attached ccb37fa
  • Fire mouse event on the Layer component with clientX and clientY properties that are adjusted to the current scale factor (same as mouse event that are fired on child shape components) 8ba9a66
  • Add regular polygon shape 0474b3c

v0.0.12...v0.1.0