react-calendar-timeline
Advanced tools
Comparing version 0.24.0-beta.4 to 0.25.0-beta.0
@@ -10,2 +10,4 @@ # Change Log | ||
## 0.24.0 | ||
### Custom Headers | ||
@@ -12,0 +14,0 @@ |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -38,2 +38,3 @@ 'use strict'; | ||
_this.props.scrollRef(el); | ||
_this.el.addEventListener('wheel', _this.handleWheel), { passive: false }; | ||
}; | ||
@@ -180,2 +181,7 @@ | ||
_createClass(ScrollElement, [{ | ||
key: 'componentWillUnmount', | ||
value: function componentWillUnmount() { | ||
this.componentRef.current.removeEventListener('wheel', this.handleWheel); | ||
} | ||
}, { | ||
key: 'render', | ||
@@ -205,3 +211,2 @@ value: function render() { | ||
onScroll: this.handleScroll, | ||
onWheel: this.handleWheel, | ||
onMouseDown: this.handleMouseDown, | ||
@@ -208,0 +213,0 @@ onMouseMove: this.handleMouseMove, |
@@ -990,2 +990,2 @@ 'use strict'; | ||
exports.default = ReactCalendarTimeline; | ||
exports.default = ReactCalendarTimeline; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ # The MIT License (MIT) |
{ | ||
"name": "react-calendar-timeline", | ||
"version": "0.24.0-beta.4", | ||
"version": "0.25.0-beta.0", | ||
"description": "react calendar timeline", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -0,0 +0,0 @@ # React Calendar Timeline |
@@ -0,0 +0,0 @@ import Timeline from './lib/Timeline' |
@@ -0,0 +0,0 @@ import PropTypes from 'prop-types' |
@@ -0,0 +0,0 @@ export const defaultKeys = { |
export const LEFT_VARIANT= 'left' | ||
export const RIGHT_VARIANT= 'right' | ||
@@ -0,0 +0,0 @@ import React from 'react' |
@@ -0,0 +0,0 @@ import React from 'react' |
@@ -0,0 +0,0 @@ import React from 'react' |
@@ -0,0 +0,0 @@ import React from 'react' |
@@ -0,0 +0,0 @@ import React from 'react' |
@@ -0,0 +0,0 @@ import React from 'react' |
@@ -0,0 +0,0 @@ import React, { Component } from 'react' |
@@ -0,0 +0,0 @@ import React from 'react' |
@@ -0,0 +0,0 @@ import PropTypes from 'prop-types' |
@@ -0,0 +0,0 @@ export const overridableStyles = { |
@@ -0,0 +0,0 @@ import PropTypes from 'prop-types' |
@@ -0,0 +0,0 @@ import PropTypes from 'prop-types' |
@@ -0,0 +0,0 @@ import React from 'react' |
@@ -0,0 +0,0 @@ import React from 'react' |
@@ -0,0 +0,0 @@ import React from 'react' |
@@ -0,0 +0,0 @@ import React from 'react' |
@@ -0,0 +0,0 @@ import React from 'react' |
@@ -0,0 +0,0 @@ import createReactContext from 'create-react-context' |
@@ -0,0 +0,0 @@ export const TimelineMarkerType = { |
@@ -0,0 +0,0 @@ import React from 'react' |
@@ -0,0 +0,0 @@ import React from 'react' |
@@ -0,0 +0,0 @@ // Is this necessary? The initial reason for including this is for organization sake in the |
@@ -0,0 +0,0 @@ import React from 'react' |
@@ -0,0 +0,0 @@ import React from 'react' |
@@ -0,0 +0,0 @@ import React from 'react' |
@@ -0,0 +0,0 @@ import React, { Component } from 'react' |
@@ -0,0 +0,0 @@ import PropTypes from 'prop-types' |
@@ -28,2 +28,3 @@ import React, { Component } from 'react' | ||
this.props.scrollRef(el) | ||
this.el.addEventListener('wheel', this.handleWheel), {passive: false}; | ||
} | ||
@@ -166,2 +167,6 @@ | ||
componentWillUnmount(){ | ||
this.componentRef.current.removeEventListener('wheel', this.handleWheel); | ||
} | ||
render() { | ||
@@ -185,3 +190,2 @@ const { width, height, children } = this.props | ||
onScroll={this.handleScroll} | ||
onWheel={this.handleWheel} | ||
onMouseDown={this.handleMouseDown} | ||
@@ -188,0 +192,0 @@ onMouseMove={this.handleMouseMove} |
@@ -0,0 +0,0 @@ import PropTypes from 'prop-types' |
@@ -0,0 +0,0 @@ import React from 'react' |
@@ -0,0 +0,0 @@ import moment from 'moment' |
@@ -0,0 +0,0 @@ // TODO: can we use getBoundingClientRect instead?? |
@@ -0,0 +0,0 @@ import isEqual from 'lodash.isequal' |
@@ -0,0 +0,0 @@ import elementResizeDetectorMaker from 'element-resize-detector' |
@@ -0,0 +0,0 @@ function addListener(component) { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
449883
9337