Releases: ApryseSDK/webviewer-react-toolkit
Releases · ApryseSDK/webviewer-react-toolkit
v0.2.0
⚠ BREAKING CHANGES
- FileOrganizer: removed virtualizeThreshold prop since the organizer is always virtualized
- Thumbnail: removed hideExtension prop, no longer necessary since Thumbnail will not display extension due to it being included in File.name
Features
- ToastProvider: added noTimeout prop to persist specified types (d783400)
- FileOrganizer: grid size based on first item, not hard-coded (30eada0)
- FileOrganizer: multi-directional movement and focusing (a835a48)
- ButtonGroup: added prop to center buttons on mobile widths (a3e10be)
- FileOrganizer: is now always virtualized and full height (96aa70e), closes #9
- File: clone accepts overrides arg to override any properties (84a1e6c)
- File: added updateDocumentObj method for updating documentObj (57d1760)
- File: added clone function to safely duplicate files (2597af1)
Bug Fixes
- Overlay: position fixed instead of absolute (5eb0fe8)
- Draggable: prevent flicker when dragging items (d0740ad), closes #6
- Thumbnail: no longer displays extension, now included in name (6360abd)
Build and Dependencies
- updated tslib (09fb887)
v0.2.0-beta.5
v0.2.0-beta.4
v0.2.0-beta.3
Features
- File: clone accepts overrides arg to override any properties (84a1e6c)
v0.2.0-beta.2
Features
- File: added updateDocumentObj method for updating documentObj (57d1760)
v0.2.0-beta.1
⚠ BREAKING CHANGES
- Thumbnail: removed hideExtension prop, no longer necessary since Thumbnail will not display extension due to it being included in File.name
Features
- File: added clone function to safely duplicate files (2597af1)
Bug Fixes
- Thumbnail: no longer displays extension, now included in name (6360abd)
v0.1.0
⚠ BREAKING CHANGES
- Overlay: removed blockClicks and darkOverlay from Overlay, will be moved into components that require these properties
- colors: since color-blue-gray-4 was unused, shifted every color-blue-gray over so there is no longer a color-blue-gray-7, and every color above color-blue-gray-3 has been updated
- padding: padding-half renamed to padding-small, padding-small renamed to padding-medium
- breakpoints: media queries do not work with CSS variables, so created new Sass file for breakpoints, and removed breakpoints from mixins file
- css: renamed tablet-lower-boundary to breakpoint-tablet, and desktop-lower-boundary to breakpoint-desktop
- sass and css are now in
/dist/scss
and/dist/css
respectively (moved from/lib/
) - renamed white color variables to contrast since they are no longer white when dark theme is enabled
Features
- ButtonGroup: added button group for easy button layout (9457c44)
- IconButton: added icon button (6fa450b)
- icons: exposed single and multi page icons (a45e459)
- icons: exposed some icons that are used internally (0a35b58)
- Modal: added focus lock to modal to ensure user can't tab out (7b005a8)
- Modal: added modal component for displaying confirmations and info (8a69e44)
- ToastProvider: if added toast has timeout of 0 will not timeout (c8c4f3c)
- useUnmountDelay: added hook for delayed unmounts, used in Modal (1ef4338)
- FocusTrap: added FocusTrap and useFocusTrap hook (b691590)
- Toast: added the Toast visual component (b7b5eb0)
- ToastProvider: added toast provider to access toast management (1452669)
- useToast: added hook for accessing adding and removal of toasts (34b7e5d)
- Overlay: created component (946772c)
Bug Fixes
- Overlay: no longer unmounts when first item removed (52ae549)
- Button: now works with svg icon children (2c40b9d)
- css: breakpoints renamed to breakpoint-<device> (e0aeafc)
- FileOrganizer: fix to spacing issue with non-virtualized items (804aa66), closes #1
Styles
- colors: removed unused color-blue-gray-4 (89a4a5a)
- IconButton: added padding to make button square given square icon (39caaca)
- breakpoints: moved breakpoints to own file, removed CSS variables (39b1c4c)
- font: made webkit font smoothing auto instead of antialiased (0b2dca7)
- padding: renamed paddings to be more obvious as to size (bef4c39)
- Spinner: references new spinner mixin for animation (477cdc1)
- mixins: use CSS variables in mixins instead of Sass variables (4fbe555)
- theme: implemented dark theme across all components and docs (5e075cb)
Refactors
- Draggable: prevent unnecessary onDragChange calls (5ec004a)
- Overlay: correct memoization of props to avoid rerenders (6e2879c)
Build and Dependencies
v0.1.0-beta.8
⚠ BREAKING CHANGES
- Overlay: removed blockClicks and darkOverlay from Overlay, will be moved into components that require these properties
- colors: since color-blue-gray-4 was unused, shifted every color-blue-gray over so there is no longer a color-blue-gray-7, and every color above color-blue-gray-3 has been updated
Features
- ButtonGroup: added button group for easy button layout (9457c44)
- IconButton: added icon button (6fa450b)
- icons: exposed single and multi page icons (a45e459)
- icons: exposed some icons that are used internally (0a35b58)
- Modal: added focus lock to modal to ensure user can't tab out (7b005a8)
- Modal: added modal component for displaying confirmations and info (8a69e44)
- ToastProvider: if added toast has timeout of 0 will not timeout (c8c4f3c)
- useUnmountDelay: added hook for delayed unmounts, used in Modal (1ef4338)
Bug Fixes
- Overlay: no longer unmounts when first item removed (52ae549)
Styles
v0.1.0-beta.7
⚠ BREAKING CHANGES
- padding: padding-half renamed to padding-small, padding-small renamed to padding-medium
- breakpoints: media queries do not work with CSS variables, so created new Sass file for breakpoints, and removed breakpoints from mixins file
Features
- FocusTrap: added FocusTrap and useFocusTrap hook (b691590)
- Toast: added the Toast visual component (b7b5eb0)
- ToastProvider: added toast provider to access toast management (1452669)
- useToast: added hook for accessing adding and removal of toasts (34b7e5d)
Bug Fixes
- Button: now works with svg icon children (2c40b9d)
Styles
v0.1.0-beta.6
Refactors
- Overlay: correct memoization of props to avoid rerenders (6e2879c)