Skip to content

Releases: ApryseSDK/webviewer-react-toolkit

v0.7.4

13 Oct 19:23
Compare
Choose a tag to compare

Fixed issue where styling of ButtonGroup breaks for other libraries that imported this library

v0.7.3

07 Oct 15:40
Compare
Choose a tag to compare

Changes:

  • upgraded to use WebViewer 8.1 (was using WebViewer 7.3 before)
  • caught exception and give a warning in console for FileOrganizer component where WebViewer will throw error if trying to create a document with an extension it does not support

v0.7.0

04 Dec 20:27
Compare
Choose a tag to compare

Note: file functionality within toolkit v7 and above requires WebViewer v7 or higher. If you are on a previous version of WebViewer, you can use v0.6.0 of the toolkit:

# Yarn
yarn add @pdftron/webviewer-react-toolkit@0.6.0

# npm
npm install @pdftron/webviewer-react-toolkit@0.6.0

⚠ BREAKING CHANGES

  • file: file now takes pageNumber instead of pageIndex, since WebViewer API has changed in version 7 to take 1-indexed page number values
  • WebViewer: due to breaking changes in WebViewer v7, the toolkit will no longer work with previous version of WebViewer

Features

  • file: pageNumber prop replaces pageIndex to match WebViewer API (216b588)
  • FileOrganizer: thumbnailSize prop, fixed thumbnail auto size check (9c3d65b)

Bug Fixes

  • FileOrganizer: fixed bug that skipped setting thumbnail size (c25d758)
  • useFileSubscribe: correct typing of hook output (953a352)

Build and Dependencies

  • WebViewer: peer dependency on version >=7 of WebViewer (28450e6)

v0.7.0-beta.4

04 Dec 20:26
Compare
Choose a tag to compare
v0.7.0-beta.4 Pre-release
Pre-release

⚠ BREAKING CHANGES

  • file: file now takes pageNumber instead of pageIndex, since WebViewer API has changed in version 7 to take 1-indexed page number values
  • WebViewer: due to breaking changes in WebViewer v7, the toolkit will no longer work with previous version of WebViewer

Features

  • file: pageNumber prop replaces pageIndex to match WebViewer API (216b588)

Build and Dependencies

  • WebViewer: peer dependency on version >=7 of WebViewer (28450e6)

v0.7.0-beta.3

04 Dec 20:26
Compare
Choose a tag to compare
v0.7.0-beta.3 Pre-release
Pre-release

Bug Fixes

  • FileOrganizer: fixed bug that skipped setting thumbnail size (c25d758)

0.7.0-beta.2 (2020-11-20)

v0.7.0-beta.2

04 Dec 20:26
Compare
Choose a tag to compare
v0.7.0-beta.2 Pre-release
Pre-release

Bug Fixes

  • useFileSubscribe: correct typing of hook output (953a352)

0.7.0-beta.1 (2020-11-19)

v0.7.0-beta.1

04 Dec 20:26
Compare
Choose a tag to compare
v0.7.0-beta.1 Pre-release
Pre-release

Features

  • FileOrganizer: thumbnailSize prop, fixed thumbnail auto size check (9c3d65b)

v0.6.0

26 Jun 19:51
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • Thumbnail: removed throttle and isShownOnLoad props as they are no longer required due to ability to cancel position in global queue

Features

  • Choice: added center prop to vertically center the choice (2c6af08)
  • FileOrganizer: added gridRef prop to allow access to react-window grid (77c0c0e)
  • Thumbnail: if label is empty string and no onRename given, hide thumbnail label (04b791e)
  • Toast: added loading toast (95364f5)
  • ToastProvider: added modify toast and exists methods (f04731f)
  • ToastProvider: new props to control position of toast (190c642)

Bug Fixes

  • Button: restored broken padding on small button (f03b079)
  • ToastProvider: using refs to keep exists query up to date (b10d04e)

Refactors

  • useFocusTrap: reduced loop iterations when finding focus index (1fd5232)
  • Thumbnail: queue for expensive file operations (3eb2e55)
  • Thumbnail: fewer file value subscriptions (a148935)

Build and Dependencies

  • dependencies: updated project dependencies (d30a518)
  • Draggable: updated react-dnd-multi-backend (5921815)

v0.6.0-beta.8

09 Jun 16:28
Compare
Choose a tag to compare
v0.6.0-beta.8 Pre-release
Pre-release

Features

  • Choice: added center prop to vertically center the choice (2c6af08)

v0.6.0-beta.7

27 May 20:20
Compare
Choose a tag to compare
v0.6.0-beta.7 Pre-release
Pre-release

Features

  • FileOrganizer: added gridRef prop to allow access to react-window grid (77c0c0e)
  • Thumbnail: if label is empty string and no onRename given, hide thumbnail label (04b791e)