Releases: sekoyo/react-image-crop
Releases · sekoyo/react-image-crop
11.0.7
11.0.6
11.0.5
11.0.3 + 11.0.4
No changes in these releases, it's just to update some NPM info
11.0.2
11.0.1
11.0.0
Not a breaking change for most users, but the way crop shadow is done is significantly different, and hopefully solves two problems while not introducing others 🙏:
- fix: crop shadow on circular crop not working in Safari
- improve: component no longer has
overflow: hidden
applied, which makes some kinds of customization easier. Also the crop handles now overflow the container instead of getting cut off:
![Screenshot 2023-12-01 at 00 01 25](https://private-user-images.githubusercontent.com/760314/287107592-d3ec9ad7-81a8-4689-8fba-354d4e8ee726.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzQ0NDIyNTIsIm5iZiI6MTczNDQ0MTk1MiwicGF0aCI6Ii83NjAzMTQvMjg3MTA3NTkyLWQzZWM5YWQ3LTgxYTgtNDY4OS04ZmJhLTM1NGQ0ZThlZTcyNi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQxMjE3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MTIxN1QxMzI1NTJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zY2ExYmQxMGE2MTQ4NWQzMDA5ZDI5YTQ2NzlmZWM1NGI2YWMwYTA2ZmE4ZDY1MDdlZTUwYWZjZWRjMDM5ZjIxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.6Ktzp8DJmfwhTgIxpRAZSXbCOS06XWTJHAVIrRIRthc)
- Breaking change for users of SASS variables:
Variables are now done with CSS Variables. They are as follows:
:root {
--rc-drag-handle-size: 12px;
--rc-drag-handle-mobile-size: 24px;
--rc-drag-handle-bg-colour: rgba(0, 0, 0, 0.2);
--rc-drag-bar-size: 6px; /* The invisible grip size of the crop selection edges */
--rc-border-color: rgba(255, 255, 255, 0.7);
--rc-focus-color: #0088ff;
}
- Fix use of input in a
renderSelectionAddon
#570