All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres (more or less) to Semantic Versioning.
When you submit a PR, add your changes here!
Plugin support and sticky header!
- Plugins system (pass them as children) @mariusandra #122
- Sticky header (
fixedHeader='sticky'
) @mariusandra #125
- [BREAKING] Removed deprecated option to pass sidebar header content as children. Use
sidebarContent
instead. @mariusandra - [BREAKING] Removed fixedHeader option
absolute
, which was broken and is now replaced with the optionsticky
@mariusandra
- Notice for modern module bundlers @jlubben @mariusandra #128
- Add treeGroups demo
Plenty of bugfixes, tests and new demos in these 0.14 patch releases.
- Fixed bug with
resizeDetector
and with detecting changes insidebarWidth
@mariusandra - Fixed bug where order
0
was evaluated as a falsy @nicocrm #111 - Fix overflow-x with header @signalwerk
- Add meta+wheel modifier that zooms 3x the speed of the normal wheel events @mariusandra
- Refactor
calculateDimensions
to be pure @signalwerk - Convert
groupHeights
andgroupTops
to arrays (from objects) @mariusandra
- Add linkedTimelines demo
- Add elementResize demo
- Add docs about modifier keys for zooming/scrolling @signalwerk
- Use
prop-types
instead ofReact.PropTypes
to support React 15.5+. @mariusandra #110
- Use
headerLabelFormats
andsubHeaderLabelFormats
to customise the header labels. @Slowyn #68 - Optional pluggable
resizeDetector
to detect when the element's container is resized. @Ziller321 #94
- Fix renders with empty
groups
array. @signalwerk #106
- An option to add another sidebar to the right of the Timeline. @goooseman #80
itemRenderer
prop to allow specifying a custom component to render the items @nicocrm #103groupRenderer
prop to allow specifying a custom component to render the groups @nicocrm #103showCursorLine
prop to show a vertical line at the snap position @meikoudras- You can now select multiple items if you take control of the
selected
prop and theonItemSelect
handler. @meengit #71 - Canvas context menu handler
onCanvasContextMenu
@meikoudras
- Calculate width when we receive sidebar width property @jmerriweather #75
- Avoid updating updateDimensions right after updateScrollCanvas @nicocrm #87
- Fix typo collision detection in stack() @nicocrm #96
- Remove dead code @signalwerk #101
- Disable cursor style by interactjs @bkniffler #89
- Fixed header width and Header label weekday support @meikoudras #66
- [Deprecated] To have content above the left sidebar, pass it in a
sidebarContent={<div />}
prop, not as children to the component.
- Without canResize prop in items it gave a Uncaught TypeError. @tgosp
- An option to fully update the calendar at every scroll event. With this change, labels of items are always fully visible, even if looking at a multi day event with a zoom level set at 30min. @mariusandra
- The left resize edge mouse cursor is now a left arrow @mariusandra
- You can also resize items from the left now @mariusandra
- Allow disabling selection clicks on items #58 by @sjchmiela
- Allow passing additional props to
Item
's<div/>
#58 by @sjchmiela - Add
clickTolerance
so dragging more than 3 pixels is no longer a click @mariusandra
- [BREAKING] Same arguments order (groupId, time, e) for onCanvasDoubleClick and onCanvasClick #52 by @signalwerk
- [Deprecated]
onTimeChange
now getsupdateScrollCanvas
as the third argument. Doingthis.updateScrollCanvas
is no longer needed and will be removed soon. - Moved React & Moment from dependencies to peerDependencies #53 by @meikoudras
- Fix resizing when inside DIV #47 by @semargal
- Fix demo for IE11 #44 by @lucidlemon
- Package a .css file, not a .scss file as previously done. @mariusandra