Skip to content

3.0.0

Compare
Choose a tag to compare
@sinedied sinedied released this 25 Nov 09:47
· 19 commits to main since this release

3.0.0 (2021-11-25)

Features

  • rename spanning mode and media queries (66c7a62)
  • upgrade to latest APF (5ac1ca9)

BREAKING CHANGES

  • This library now requires Angular v13 or latest.
    Use the previous versions of this library if you require compatibility with older Angular version.
  • To better match the new viewport browser API, the spanning modes and media queries have been renamed.
    It now matches the number of segments on a given axis instead of the fold axis,
    which should be less confusing.

You can migrate by performing these replacements:

  • ScreenSpanning.Vertical -> ScreenSpanning.DualHorizontal
  • ScreenSpanning.Horizontal -> ScreenSpanning.DualVertical
  • 'fold-horizontal' -> 'dual-vertical'
  • 'fold-vertical' -> 'dual-horizontal'
  • singleFoldHorizontal -> dualVerticalViewport
  • singleFoldVertical -> dualHorizontalViewport