Skip to content
Compare
Choose a tag to compare
@roluk roluk released this 08 May 13:11
· 38 commits to master since this release

Breaking changes

  • SavedViewTile: onRename callback can now receive undefined value for newName parameter to indicate that user has canceled rename operation
  • useSavedViews: Rename createSavedView to submitSavedView. When the first argument is a partial SavedView object, this operation will now update or create a Saved View using the supplied information.

Minor changes

  • Add optional creatorId property to SavedView and SavedViewGroup types
  • Add support for placing context menu button within StickyExpandableBlock title
  • ITwinSavedViewsClient.deleteGroup: Delete all views contained within group before attempting to delete the group itself
  • LayeredDropdownMenu: Improve keyboard navigation
  • LayeredMenuItem: Forward className property to wrapping HTML element
  • LayeredMenuItem: Increase spacing between label and right chevron
  • SavedViewOptions: Forward className property to wrapping HTML element
  • useSavedViews:
    • View and Group creation operations now sort stored locally stored Views / Groups
    • Failed View and Group delete operations now restore deleted items to their original spots

Fixes

  • SavedViewTile: Fix context menu button not appearing when options prop receives a function with zero parameters
  • Fix text overflow issues in SavedViewTile and StickyExpandableBlock components by truncating titles with ellipses
  • Fix an issue with useSavedViews failing to load Saved View thumbnails when a cached data source is used

Dependencies

  • Bump @itwin/itwinui-react package version from ^3.0.11 to ^3.8.1
  • Update and bump @itwin/saved-views-client package version specifier from 0.2.0 to ^0.2.1