All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Updated to styled-components ^5.0.0.
- Click event handling via
onClick
prop.
- Ensure empty
transform
styles return identity matrix.
snapXTo
andsnapYTo
options to independently control horizontal and vertical snapping.
- When using
snapTo
with grouped elements, the element that is being interacted with via mouse will snap, with all other elements simply following along.
- Keyboard-based movement can be disabled
- Resize mouse cursor adjusts based on rotation of TransformBox.
- Resize's shift-to-lock-aspect ratio can be toggled mid-resize.
- Expose Component prop interfaces.
- Rotation can be snapped to 15° intervals by holding shift.
TransformBox
uses border instead of outline for consistency in Firefox.TransformBox
border and handles scale inverse to their ancestors. This keeps their size consistent despite ancestor transforms.
- Initial public release