Releases: SchweizerischeBundesbahnen/scion-workbench
0.0.0-beta.13 (@scion/workbench)
0.0.0-beta.13 (2019-01-30)
Bug Fixes
- compute native scrollbar track size correctly even if not displayed at application startup (e12718c), closes #87
- do not enter minimize mode when closing views quickly in maximize mode (375dace), closes #24
- reduce the number of 'mousemove' events dispatched between application windows (44c40f4), closes #86
- stretch content of
<sci-viewport>
if it overflows horizontally (31d23d4), closes #77 - use an overlay to render view drop regions to not flicker while dragging views (c738a1a), closes #79
Features
- allow giving CSS classes to workbench elements to have stable selectors available in e2e tests (c985816), closes #78
- allow to display a component in a popup (eeb2390), closes #76
- contribute 'Workbench Application Platform' to allow integrating content from multiple web applications (84e1f08), closes #80
BREAKING CHANGES
-
Properties of
Activity
andWbActivityDirective
to set the activity label and CSS class(es) have changed as follows:- label => itemText
- cssClass => itemCssClass
-
CSS display property of
<sci-viewport>
flex container has changed fromflex
(column nowrap) togrid
(one column).To migrate:
- if having a single content child which stretches vertically by using
flex: auto
, remove that property - if having multiple content children with
flex: none
, wrap them inside a separate flex-container
- if having a single content child which stretches vertically by using
0.0.0-beta.9 (@scion/workbench)
0.0.0-beta.9 (2018-08-23)
Bug Fixes
- upgrade dependencies to fix potential security vulnerability in
[email protected]
(43d70ff)
Features
- use momentum-based scrolling to continue to scroll after finishing the scroll gesture (4a2f085)
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 toSciViewportModule
because packaged as separate moduleRemove custom CSS classes specified with
viewportCssClass
andviewportClientCssClass
input 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
overflowAuto
input property withscrollbarStyle
input property; by default, scrollbars are displayed on top of the viewport clientChange selector from
wb-viewport
tosci-viewport
Use
scrollHeight
andscrollWidth
to get viewport client dimensionRename
ViewportComponent
toSciViewportComponent
if injecting the viewport componentManifest a dependency to
SciDimensionModule
because packaged as separate moduleChange selector from
wbDimension
tosciDimension
Rename
Dimension
toSciDimension
which is emitted upon host element's dimension changeRename
wbDimensionChange
output property tosciDimensionChange
Rename
wbDimensionUseTimer
input 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-module
into a separate NPM library (eecccb8), closes #44 - extract
sci-viewport-module
into 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
WorkbenchAuxiliaryRoutesRegistrator
and set view active state upon view creation (e8718d9), closes #29 - specify view-list dropdown anchor as
ElementRef
instead 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/viewport
as its peer-dependency which you can install as following:
npm install --save @scion/viewport
- Workbench requires
@scion/dimension
as 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
RemoteSiteComponent
and 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 useRemoteSiteComponent
as 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
MutationObserver
is not applicable). Usemessage
output property instead. - Use added
visible
property overngIf
directive to show or hide an activity based on a conditional <wb-activity [visible]="conditional">