All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.6.1 (2019-07-02)
- handle null return value from msElementsFromPoint (b7a67ad)
- make individual shape focus work on Safari (8f515e5)
2.6.0 (2019-06-19)
- pass handle name prop to resize handle component (1c2fbde)
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.5.2 (2019-05-30)
- make handles disappear at the right level of crampedness (323aff9)
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.5.1 (2019-05-30)
- keep default group selection outline a consistent width (034f286)
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.5.0 (2019-05-30)
- add nativeActive prop to wrapped shapes and resize handles (20bec0f)
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.4.2 (2019-05-30)
- another IE11 fix, this time for el.dataset handling (ad8721f)
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.4.1 (2019-05-30)
- make shift-click work on IE 11 (be5b463)
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.4.0 (2019-05-28)
- use minimumDistanceForSelection to avoid extra selection on click (3e842f7)
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.3.0 (2019-05-21)
- make the delete key also work for deletion (10652c5)
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.2.2 (2019-05-20)
- only trigger change when shape has actually changed (a234277)
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.2.1 (2019-05-20)
- properly update selection on child creation/update/deletion (6bfa94f)
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.2.0 (2019-05-20)
- add prop to customize SelectionComponent's props (2bf3a62)
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.1.2 (2019-05-20)
- remove unnecessary focus clearing on shape add/delete (389c28e)
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.1.1 (2019-05-17)
- remove excess props from svg node (4ea3dfe)
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.1.0 (2019-05-17)
- add props to disable focus-on-add/delete behavior (0d857fb)
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.0.1 (2019-05-17)
- skip unnecessary extra render for selection (7f10dc1)
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.0.0 (2019-05-16)
- remove incorrect parameter sent to constrainResize (695a30e)
- require unique shapeId for each shape (e90014d)
- enable multiple selections with SelectionLayer (5679c45)
- the original width and height of the shape are no longer provided as callback parameters to constrainResize. They can still be derived from the coordinates inside originalMovingCorner and startCorner, however.
- each shape now requires a unique shapeId string
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
1.2.1 (2019-04-26)
- handle case when child node is null (90b4955)
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
1.2.0 (2019-04-25)
- pass the shape props on callbacks for easier render optimization (700bc0f)
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
1.1.1 (2019-04-24)
- avoid unnecessary shape re-render (f9dc010)
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
1.1.0 (2019-04-24)
- add wrapperProps prop to give props directly to wrapper (4be6f1e)
- pass the event object that triggered onDelete to the callback (6201a68)
- use React.PureComponent in the wrapper for performance (622ae10)
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
1.0.1 (2019-04-17)
- make initial focus work after mount (f1bd886)
- rearrange handle order to look better when overlapped (da4c4e0)
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
1.0.0 (2019-04-17)
- move DrawLayer out into its own component (8b4ab74)
- move image layer into its own component (c2a4270)
- allow custom onFocus/onBlur logic (b1a8d7c)
- allow for custom corner component (448ca64)
- implement refocus after deletion, focusing on the previous shape in order (e6e00fc)
- modify deletion focus logic to go to closest neighbor position-wise (a6ae2ff)
- fix slow image rendering performance (28bae81)
- DrawLayer must be added manually, and many props were accordingly migrated away from ShapeEditor to their corresponding components
- planeImageSrc no longer works. Use ImageLayer instead
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
- add fix for big shifts in location during resize at some zoom levels (49b8b52)
- handle some more hairy precision problems (1d708cb)
- add API to restrain movement and resizing (5d7c441)
- add concept of focus to shapes (3f27a6f)
- add deletion via backspace key (a0615de)
- add keyboard shortcuts for moving and resizing (d5a100b)
- add resizing (ac9fa9a)
- add the ability to disable drawing mode (27f9813)
- allow the user to disable interaction on a per-shape basis (c295806)
- allow the user to specify the appearance of the draw preview (fdd9043)
- make it non-scrolling by default (2a7fbf6)
- move shapes (5fe4892)
- provide pre-transform coordinates to the constrict callbacks (686c6fe)
- switch to svg for performance reasons (153fbc9)