Releases: musama619/react-photo-editor
v3.0.0
What's Changed
- build(deps): bump rollup from 4.18.0 to 4.24.0 by @dependabot in #223
- build(deps-dev): bump vite from 5.3.2 to 5.4.9 by @dependabot in #225
- build(deps-dev): bump vitest and @vitest/coverage-v8 by @dependabot in #251
- build(deps-dev): bump vite from 5.4.9 to 5.4.14 by @dependabot in #252
- V3.0.0 by @musama619 in #271
Full Changelog: v2.1.4...3.0.0
v2.1.4
New Features:
New Props for ReactPhotoEditor Component:
modalWidth: Customize the width of the photo editor modal. You can specify this as a number (pixels) or string (CSS value). Default is '40rem'.
canvasWidth: Set the width of the canvas element used for editing the image. Accepts either a number (pixels) or string (CSS value). Default is 'auto'.
canvasHeight: Set the height of the canvas element used for editing the image. Accepts either a number or string (CSS value). Default is 'auto'.
maxCanvasHeight: Specify the maximum height of the canvas element. Accepts either a number or string (CSS value). Default is '22rem'.
maxCanvasWidth: Specify the maximum width of the canvas element. Accepts either a number or string (CSS value). Default is '36rem'.
labels: Customize labels or text options for various elements in the photo editor. This allows you to override default text for buttons, tooltips, etc. (thanks to @JosefSchovanec #188 (comment))
Added usePhotoEditor Hook:
A new hook for integrating image editing functionality into your custom components. This hook provides full control over image editing features like brightness, contrast, rotation, and more.
Fixes:
v2.1.3
What's Changed
- build(deps-dev): bump vite from 5.0.10 to 5.0.12 by @dependabot in #129
- update README.md by @musama619 in #179
Full Changelog: v2.1.2...v2.1.3
v2.1.2
What's Changed
5330567: Fixed panning issue when the image is flipped and improved reset canvas behavior
- Resolved an issue where panning behaved incorrectly when the image was flipped. Updated
handlePointerDownandhandlePointerMovefunctions to ensure proper panning behavior regardless of image flipping. - Moved the
resetImage()function call inside the blob callback.
v2.1.0
What's Changed
- feat: add photo panning feature, tooltip enhancement, and typescript type export by @musama619 in #171
Full Details: https://github.com/musama619/react-photo-editor/releases/tag/v2.1.0-Release-Candidate
v2.1.0-Release-Candidate
react-photo-editor@2.1.0-rc.0
🚀 Photo Panning Feature:
- Added the ability to pan the image.
- This release addresses Feature Request #167. Thanks to @zehawki for the insightful suggestion.
Thanks to Roko C. Buljan's answer on Stackoverflow
🚀 Tooltip Enhancement:
- Implemented tooltips for button icons to provide users with contextual information when hovering over buttons.
- This release addresses Feature Request #77
npm i react-photo-editor@2.1.0-rc.0