17.0.0-beta.7 (@scion/workbench)
github-actions
released this
29 Mar 09:45
·
125 commits
to master
since this release
17.0.0-beta.7 (2024-03-29)
Bug Fixes
- workbench/view: do not overwrite CSS classes set in different scopes (02bc372), closes #394
- workbench/view: handle
undefined
keydown event key (66358dd) - workbench/view: render tab content when dragging view quickly into the window (73645d8)
Code Refactoring
- workbench/dialog: consolidate API for closing a dialog (40414c4)
- workbench/view: move navigational state from route data to view handle (3d6a5ca)
Features
- workbench/dialog: enable microfrontend display in a dialog (11d762b)
BREAKING CHANGES
-
workbench/dialog: The method
closeWithError
has been removed from theWorkbenchDialog
handle. Instead, pass anError
object to theclose
method.Before
import {WorkbenchDialog} from '@scion/workbench'; inject(WorkbenchDialog).closeWithError('some error');
After
import {WorkbenchDialog} from '@scion/workbench'; inject(WorkbenchDialog).close(new Error('some error'));
-
workbench/view: Removed
WorkbenchView.cssClasses
property for reading CSS classes. UseWorkbenchView.cssClass
for both reading and setting CSS class(es) instead. -
workbench/view: Moving navigational state to the view handle has introduced a breaking change.
To migrate, read the navigational view state from the view handle instead of the activated route data, as follows:
WorkbenchView.state
.