Releases: musama619/react-files-preview
Releases · musama619/react-files-preview
v2.4.6
What's Changed
- Updated package dependencies
Full Changelog: v2.4.4...v2.4.6
v2.4.4
Added
id
prop for ReactFilePreview Component: Added an optional id prop to the ReactFilePreview component. If id is not provided, a unique id is generated using Date.now(). This change ensures that multiple instances of the component do not conflict with each other.
Fixed
- File Naming Issue: Corrected the use of the nullish coalescing operator (??) in file naming logic to prevent it from always returning the left operand.
Chore
- Dependencies Update: Updated various package dependencies to their latest versions to ensure compatibility and security improvements.
Full Changelog: v2.4.2...v2.4.4
v2.4.2
Release 2.4.2
Bug Fixes:
- Fixed an issue where the download link was always rendered when
downloadFile
is false
- Added conditional checks in the component to disable drag-and-drop actions when
disabled
is true
v2.4.1
Release 2.4.1
Bug Fixes:
- Fixed an issue where the downloaded file's name would change to a random string.
react-photo-editor Dependency Update
Updated the react-photo-editor package dependency from version 1.20 to ^2.1.2.
v1.2.4
- Fixed right margin in full-screen SVG
- Added package description in
package.json
v1.2.3
- refactored component storybook document file
v1.2.1
- Improved resource management by adding revocation of object URLs
v1.1.1
- Added full-screen feature in file slider
- Added
id
attributes in slider component for style customizations:
slider
slider-header
slider-prev-button
slider-next-button
slider-count
- Fixed infinite loop bug, when passing default files to component