Releases: SchweizerischeBundesbahnen/scion-workbench
0.0.0-beta.8 (@scion/workbench)
0.0.0-beta.8 (2018-08-22)
Features
- use native overflow scroll functionality in viewport (8889279)
BREAKING CHANGES
-
Migration if using viewport component and dimension directive
Manifest a dependency toSciViewportModulebecause packaged as separate moduleRemove custom CSS classes specified with
viewportCssClassandviewportClientCssClassinput properties; instead, CSS flexbox layout with flex-flow 'column nowrap' is applied to the viewport with<ng-content>as its flex item(s); migrate by styling<ng-content>as flex items, or provide your viewport client in a containing block and style it accordinglyReplace
overflowAutoinput property withscrollbarStyleinput property; by default, scrollbars are displayed on top of the viewport clientChange selector from
wb-viewporttosci-viewportUse
scrollHeightandscrollWidthto get viewport client dimensionRename
ViewportComponenttoSciViewportComponentif injecting the viewport componentManifest a dependency to
SciDimensionModulebecause packaged as separate moduleChange selector from
wbDimensiontosciDimensionRename
DimensiontoSciDimensionwhich is emitted upon host element's dimension changeRename
wbDimensionChangeoutput property tosciDimensionChangeRename
wbDimensionUseTimerinput property tosciDimensionUseTimer
0.0.0-beta.7 (@scion/workbench)
0.0.0-beta.7 (2018-08-06)
Bug Fixes
- allow to navigate relative to the current activated route (#5) (27adf69)
- fix check which ensures that
Workbench.forRoot()is not used in a lazy context (ea3a1b0), closes #5 - fix wrong typing of injected content children (5a446fd)
- Render correct actions in the activity part header (86b77f1), closes #9
Features
0.0.0-beta.6 (@scion/workbench)
0.0.0-beta.6 (2018-07-24)
Bug Fixes
- make parameter 'extras' of method 'WorkbenchRouter.navigate(any[], WbNavigationExtras)' optional (b971447)
0.0.0-beta.5 (@scion/workbench)
0.0.0-beta.4 (@scion/workbench)
0.0.0-beta.4 (2018-07-19)
Features
- update project dependencies due to potential security vulnerability in one of the dependencies (1fd83a4)
0.0.0-beta.3 (@scion/workbench)
0.0.0-beta.3 (2018-07-19)
Bug Fixes
- add missing exports to 'public_api' (1266e85)
Features
- rename CSS class for workbench icon font from 'wb-font' to 'wb-icons' (94d3b2b)
0.0.0-beta.2 (@scion/workbench)
0.0.0-beta.12 (@scion/workbench)
0.0.0-beta.12 (2018-11-23)
Bug Fixes
- remove static initializers to be compatible with Angular 6 transpiled with TypeScript 2.x (d5ce02e), closes #26
Code Refactoring
- extract
sci-dimension-moduleinto a separate NPM library (eecccb8), closes #44 - extract
sci-viewport-moduleinto a separate NPM library (a390b54), closes #45
Features
- add iframes of remote sites beyond workbench grid to not cover other parts of the workbench like sashes or view dropdown menu (b0bf93e), closes #30
- allow cross-origin communication with remote sites (f492516), closes #31
- allow programmatic registration of activities (efc1344), closes #28
- continue scrolling in custom scrollbars even when the cursor enters or goes past the boundary of an iframe (9cb34a5), closes #41
- control if workbench part content is capable of being moved in the DOM (303d29a), closes #30
- disable vertical scrolling in workbench viewtab bar (e59ff5e), closes #33
- provide message box action texts when spawning the message box (f589764), closes #32
- register activity auxiliary routes only in root injector (0f3c5d4), closes #28
- register view auxiliary routes via
WorkbenchAuxiliaryRoutesRegistratorand set view active state upon view creation (e8718d9), closes #29 - specify view-list dropdown anchor as
ElementRefinstead of native element to be compatible with Angular CDK 6 (d8b1c87), closes #42 - use a separate routing navigate command when closing multiple views all at once (688a3b8), closes #34
- use CDK overlay for the dropdown showing hidden view tabs (53763e7), closes #42
BREAKING CHANGES
- Workbench requires
@scion/viewportas its peer-dependency which you can install as following:
npm install --save @scion/viewport - Workbench requires
@scion/dimensionas its peer-dependency which you can install as following:
npm install --save @scion/dimension.
Why not use ResizeObserver: Web Performance Working Group is working on a W3C recommendation for natively observing changes to Element’s size. The Web API draft is still work in progress and support limited to Google Chrome and Opera. See https://wicg.github.io/ResizeObserver/ - Removed content projection from
RemoteSiteComponentand added it to workbench part level. If using a remote site, wrap entire part content in a<wb-content-as-overlay>element, which causes it to be added to a top-level workbench DOM element and projected into that component's bounding box.
Removed support to useRemoteSiteComponentas a routing component because must be a child of<wb-content-as-overlay>element - Message box action texts are no longer specified when importing the workbench module. Instead, message box texts are provided directly when spawning the message box.
- Removed output property to listen for URL changes because not allowed for cross-origin communication and internally using a timer to detect URL changes (as there is no change event emitted natively and
MutationObserveris not applicable). Usemessageoutput property instead. - Use added
visibleproperty overngIfdirective to show or hide an activity based on a conditional <wb-activity [visible]="conditional">
0.0.0-beta.11 (@scion/workbench)
0.0.0-beta.11 (2018-10-26)
Bug Fixes
- do not enter maximize mode when closing views quickly (3959887)
Features
0.0.0-beta.10 (@scion/workbench)
0.0.0-beta.10 (2018-09-10)
Features
- Allow lazily-loaded views to inject masked injection tokens (3c212d0)