Skip to content

17.0.0-beta.7 (@scion/workbench)

Compare
Choose a tag to compare
@github-actions 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 the WorkbenchDialog handle. Instead, pass an Error object to the close 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. Use WorkbenchView.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.