Skip to content

Releases: sekoyo/react-image-crop

11.0.7

09 Sep 13:56
Compare
Choose a tag to compare
  • Compile type defs into single file to fix compat with moduleResolution: "nodenext" @alvarogfn #601

11.0.6

12 Jul 12:36
Compare
Choose a tag to compare
  • Fix SASS deprecation warning #593

11.0.5

15 Jan 08:37
Compare
Choose a tag to compare
  • Fix css v11 regression when users are allowed to click off the crop to remove it #575

11.0.3 + 11.0.4

03 Jan 21:51
Compare
Choose a tag to compare

No changes in these releases, it's just to update some NPM info

11.0.2

26 Dec 19:11
Compare
Choose a tag to compare
  • Fix regression in v11 when using multiple crop instances #572

11.0.1

01 Dec 09:43
Compare
Choose a tag to compare
  • Add overflow: hidden to the image wrapper so that scaling and rotating doesn't overflow the component since removing overflow: hidden from the component itself

11.0.0

01 Dec 00:38
Compare
Choose a tag to compare

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
  • 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

10.1.8

31 Aug 23:00
Compare
Choose a tag to compare
  • Fix a regression determining the min dimension to use when crop is set to aspect

10.1.7

31 Aug 22:43
Compare
Choose a tag to compare
  • Fix 10.1.6 regression when only minWidth or minHeight is set and crop is resized to inverse
  • Ensure new min-dimension crop is always in bounds as its being drawn

10.1.6

31 Aug 21:23
fd78c18
Compare
Choose a tag to compare
  • Fix issue when using minWidth/minHeight where crop can flip over and go out of bounds #554

264620483-3c143e4e-94ca-46e7-b516-d66ccade4ede