A responsive image cropping tool for React
ISC License
Published by sekoyo 10 months ago
No changes in these releases, it's just to update some NPM info
Published by sekoyo 10 months ago
Published by DominicTobias 11 months ago
overflow: hidden
to the image wrapper so that scaling and rotating doesn't overflow the component since removing overflow: hidden
from the component itselfPublished by DominicTobias 11 months ago
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 🙏:
overflow: hidden
applied, which makes some kinds of customization easier. Also the crop handles now overflow the container instead of getting cut off:Breaking change for users of SASS variables:
:root {
--rc-drag-handle-size: 12px;
--rc-drag-handle-mobile-size: 24px;
--rc-drag-bar-size: 6px; /* The invisible grip size of the crop selection edges */
--rc-drag-handle-background-colour: rgba(0, 0, 0, 0.2);
--rc-border-color: rgba(255, 255, 255, 0.7);
--rc-focus-color: #0088ff;
}
Published by DominicTobias about 1 year ago
Published by DominicTobias about 1 year ago
Published by DominicTobias about 1 year ago
Published by DominicTobias over 1 year ago
Published by DominicTobias over 1 year ago
className="ReactCrop--no-animate"
Published by DominicTobias over 1 year ago
./src/ReactCrop.scss
to package.json exportsPublished by DominicTobias over 1 year ago
Published by DominicTobias over 1 year ago
Published by DominicTobias over 1 year ago
overflow:hidden
on ReactCrop
div element. Fixes #530Don't use this version it introduced a bug and was deprecated
Published by DominicTobias almost 2 years ago
disabled
is true
Published by DominicTobias about 2 years ago
Published by DominicTobias about 2 years ago
PixelCrop
or PercentCrop
) depending on input in makeAspectCrop
and centerCrop
(thanks: @corymharper)Published by DominicTobias about 2 years ago
Published by DominicTobias about 2 years ago
Published by DominicTobias over 2 years ago