17.0.0-beta.3 (@scion/workbench)
github-actions
released this
23 Jan 18:13
·
160 commits
to master
since this release
17.0.0-beta.3 (2024-01-23)
Bug Fixes
- workbench/dialog: consider minimum size in resizing constraints (408676c)
- workbench/dialog: do not block dialogs of other views (0c1b88e)
- workbench/dialog: propagate view context (c22222f)
- workbench/popup: propagate view context (31e9700)
- workbench/message-box: open message box in a dialog (bdcd02b), closes #438
- workbench: throw error for objects not available for dependency injection (a36ae5e)
Features
- workbench/dialog: support custom header and footer (5c6a4d6)
BREAKING CHANGES
-
workbench/message-box: Consolidation of the MessageBox API has introduced a breaking change.
Refer to the documentation for migration examples: https://github.com/SchweizerischeBundesbahnen/scion-workbench/blob/master/docs/site/howto/how-to-open-message-box.md
To migrate:
MessageBoxService
is nowWorkbenchMessageBoxService
.MessageBoxConfig
is nowWorkbenchMessageBoxOptions
.- Signature of
WorkbenchMessageBoxService#open
method has changed. Pass the message (text or component) as the first argument, not via options object. injector
option has been moved to a top-level property (previouslyMessageBoxConfig#componentConstructOptions
).viewContainerRef
option has been removed (no replacement).componentInput
option has been renamed toinputs
with the type changed to a dictionary. Inputs are now available as input properties in the component, previously viaMessageBox#input
handle.MessageBox
handle has been removed. Configure the message box when opening the message box.- Registration of custom action handlers has been removed (no replacement).
- Pressing the Escape key no longer closes the message box for an action with the 'close' key.
-
workbench/dialog: Support for custom header and footer has introduced a breaking change.
To migrate:
- Type of
WorkbenchDialog.padding
is nowboolean
. Set tofalse
to remove the padding, or set the CSS variable--sci-workbench-dialog-padding
for a custom padding. --sci-workbench-dialog-header-divider-color
CSS variable has been removed (no replacement).
- Type of