Skip to content

Releases: musama619/react-files-preview

v2.4.6

28 Jun 06:00
Compare
Choose a tag to compare

What's Changed

  • Updated package dependencies

Full Changelog: v2.4.4...v2.4.6

v2.4.4

27 Jun 18:40
Compare
Choose a tag to compare

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

09 Jun 20:29
Compare
Choose a tag to compare

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

03 Jun 17:39
Compare
Choose a tag to compare

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.

v2.2.0

17 Aug 13:15
Compare
Choose a tag to compare

v1.2.4

31 Jul 12:28
Compare
Choose a tag to compare
  • Fixed right margin in full-screen SVG
  • Added package description in package.json

v1.2.3

26 Jul 10:01
Compare
Choose a tag to compare
  • refactored component storybook document file

v1.2.1

18 Jul 10:29
Compare
Choose a tag to compare
  • Improved resource management by adding revocation of object URLs

v1.2.0

22 Jun 07:05
Compare
Choose a tag to compare
  • Added disabled prop

v1.1.1

21 Jun 06:12
Compare
Choose a tag to compare
  • 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