Skip to content

Horizontal timeline support

Compare
Choose a tag to compare
@JHBitencourt JHBitencourt released this 16 Sep 14:22
· 2 commits to master since this release
6886b02

[1.0.0]

*** Breaking Changes ***

API changes to support both vertical and horizontal timeline.

  1. TimelineAlign changes:
  • TimelineAlign.left renamed to TimelineAlign.start
  • TimelineAlign.right renamed to TimelineAlign.end
  1. Added TimelineAxis to control the axis.

  2. TimelineTile changes:

  • new parameter TimelineAxis axis
  • rightChild renamed to endChild
  • leftChild renamed to startChild
  • lineX renamed to lineXY
  • topLineStyle renamed to beforeLineStyle
  • bottomLineStyle renamed to afterLineStyle
  1. LineStyle changes:
  • width renamed to thickness
  1. IndicatorStyle changes:
  • indicatorY renamed to indicatorXY
  1. TimelineDivider changes:
  • added parameter axis to support both axis