Releases: iTwin/saved-views
Releases · iTwin/saved-views
@itwin/saved-views-client@0.3.0
Minor changes
- Add
creationTime
andlastModified
properties toSavedView
type
@itwin/saved-views-react@0.3.0
Breaking changes
SavedViewTile
:onRename
callback can now receiveundefined
value fornewName
parameter to indicate that user has canceled rename operationuseSavedViews
: RenamecreateSavedView
tosubmitSavedView
. When the first argument is a partialSavedView
object, this operation will now update or create a Saved View using the supplied information.
Minor changes
- Add optional
creatorId
property toSavedView
andSavedViewGroup
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 itselfLayeredDropdownMenu
: Improve keyboard navigationLayeredMenuItem
: ForwardclassName
property to wrapping HTML elementLayeredMenuItem
: Increase spacing between label and right chevronSavedViewOptions
: ForwardclassName
property to wrapping HTML elementuseSavedViews
:- 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 whenoptions
prop receives a function with zero parameters- Fix text overflow issues in
SavedViewTile
andStickyExpandableBlock
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 from0.2.0
to^0.2.1
@itwin/saved-views-client@0.2.1
Fixes
- Fix
ITwinSavedViewsClient.updateSavedView
failing when saved view data contains URL fields
@itwin/saved-views-react@0.2.1
Fixes
- Bump
@itwin/saved-views-client
dependency version from0.1.0
to0.2.0
@itwin/saved-views-react@0.2.0
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
: Definetypes
field to help ES module users that have badly configuredtsconfig.json
@itwin/saved-views-client@0.2.0
Breaking changes
- Remove
SavedViewBase
type - Omit
savedViewData
property fromSavedViewListMinimalResponse
type - Rename types
SavedViewWithDataMinimal
->SavedViewMinimal
SavedViewWithDataRepresentation
->SavedViewRepresentation
ViewDataItwin3d
->ViewDataITwin3d
Minor changes
- Add new type guards to discern
ViewData
union membersisViewDataITwin3d
isViewDataITwinDrawing
isViewDataITwinSheet
package.json
: Definetypes
field to help ES module users that have badly configuredtsconfig.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
0.1.0 - 2024-02-02
Initial package release.
@itwin/saved-views-client@0.1.0
0.1.0 - 2024-02-01
Initial package release.