Skip to content

Releases: iTwin/saved-views

@itwin/saved-views-client@0.3.0

17 May 09:41
Compare
Choose a tag to compare

Minor changes

  • Add creationTime and lastModified properties to SavedView type

@itwin/saved-views-react@0.3.0

08 May 13:11
Compare
Choose a tag to compare

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

@itwin/saved-views-client@0.2.1

07 May 19:15
Compare
Choose a tag to compare

Fixes

  • Fix ITwinSavedViewsClient.updateSavedView failing when saved view data contains URL fields

@itwin/saved-views-react@0.2.1

24 Apr 09:50
Compare
Choose a tag to compare

Fixes

  • Bump @itwin/saved-views-client dependency version from 0.1.0 to 0.2.0

@itwin/saved-views-react@0.2.0

08 Apr 16:10
Compare
Choose a tag to compare

Breaking changes

  • Component CSS styles are now scoped to itwin-svr CSS layer
  • Add @itwin/core-geometry as peer dependency
  • Add SavedViewsClient.uploadThumbnail method
  • Add SavedViewActions.uploadThumbnail method
  • SavedViewActions.createSavedView method now returns a promise which resolves into created Saved View id

Minor changes

  • Add view capturing functions
    • captureSavedViewData
    • captureSavedViewThumbnail
  • package.json: Define types field to help ES module users that have badly configured tsconfig.json

@itwin/saved-views-client@0.2.0

08 Apr 16:06
Compare
Choose a tag to compare

Breaking changes

  • Remove SavedViewBase type
  • Omit savedViewData property from SavedViewListMinimalResponse type
  • Rename types
    • SavedViewWithDataMinimal -> SavedViewMinimal
    • SavedViewWithDataRepresentation -> SavedViewRepresentation
    • ViewDataItwin3d -> ViewDataITwin3d

Minor changes

  • Add new type guards to discern ViewData union members
    • isViewDataITwin3d
    • isViewDataITwinDrawing
    • isViewDataITwinSheet
  • package.json: Define types field to help ES module users that have badly configured tsconfig.json

Fixes

  • Fix DELETE operations throwing due to empty response body
  • Fix being unable to send Saved View to iTwin Saved Views service when savedViewData contains URL fields

@itwin/saved-views-react@0.1.0

01 Mar 14:48
Compare
Choose a tag to compare

0.1.0 - 2024-02-02

Initial package release.

@itwin/saved-views-client@0.1.0

01 Feb 13:34
Compare
Choose a tag to compare

0.1.0 - 2024-02-01

Initial package release.