Skip to content

0.0.0-beta.8 (@scion/workbench)

Choose a tag to compare

@danielwiehl danielwiehl released this 07 Sep 08:34
· 801 commits to master since this release

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 to SciViewportModule because packaged as separate module

    Remove custom CSS classes specified with viewportCssClass and viewportClientCssClass 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 accordingly

    Replace overflowAuto input property with scrollbarStyle input property; by default, scrollbars are displayed on top of the viewport client

    Change selector from wb-viewport to sci-viewport

    Use scrollHeight and scrollWidth to get viewport client dimension

    Rename ViewportComponent to SciViewportComponent if injecting the viewport component

    Manifest a dependency to SciDimensionModule because packaged as separate module

    Change selector from wbDimension to sciDimension

    Rename Dimension to SciDimension which is emitted upon host element's dimension change

    Rename wbDimensionChange output property to sciDimensionChange

    Rename wbDimensionUseTimer input property to sciDimensionUseTimer