New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-calendar-timeline

Package Overview
Dependencies
Maintainers
5
Versions
134
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-calendar-timeline - npm Package Compare versions

Comparing version 0.15.8 to 0.15.9

6

CHANGELOG.md

@@ -12,2 +12,8 @@ # Change Log

## 0.15.9
### Fixed
* header positioned incorrectly when not fixed/sticky - caused by #236
## 0.15.8

@@ -14,0 +20,0 @@

9

lib/lib/Timeline.js

@@ -707,3 +707,2 @@ 'use strict';

},
this.header(canvasTimeStart, zoom, canvasTimeEnd, canvasWidth, minUnit, timeSteps, headerLabelGroupHeight, headerLabelHeight),
_react2.default.createElement(

@@ -727,2 +726,3 @@ 'div',

this.todayLine(canvasTimeStart, zoom, canvasTimeEnd, canvasWidth, minUnit, height, headerHeight),
this.header(canvasTimeStart, zoom, canvasTimeEnd, canvasWidth, minUnit, timeSteps, headerLabelGroupHeight, headerLabelHeight),
mouseOverCanvas && showCursorLine ? this.cursorLine(cursorTime, canvasTimeStart, zoom, canvasTimeEnd, canvasWidth, minUnit, height, headerHeight) : null,

@@ -1506,2 +1506,9 @@ this.infoLabel(),

if (_this4.props.onCanvasDoubleClick == null || (0, _domHelpers.hasSomeParentTheClass)(e.target, 'rct-header')) {
// do nothing cuz either we don't have on CanvasdoubleClick or we clicked on header
// TODO: there has got to be a better way of handling this
return;
}
var zoom = visibleTimeEnd - visibleTimeStart;

@@ -1508,0 +1515,0 @@ var canvasTimeEnd = canvasTimeStart + zoom * 3;

2

package.json
{
"name": "react-calendar-timeline",
"version": "0.15.8",
"version": "0.15.9",
"description": "react calendar timeline",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -1387,2 +1387,12 @@ import PropTypes from 'prop-types'

} = this.state
if (
this.props.onCanvasDoubleClick == null ||
hasSomeParentTheClass(e.target, 'rct-header')
) {
// do nothing cuz either we don't have on CanvasdoubleClick or we clicked on header
// TODO: there has got to be a better way of handling this
return
}
const zoom = visibleTimeEnd - visibleTimeStart

@@ -1592,12 +1602,2 @@ const canvasTimeEnd = canvasTimeStart + zoom * 3

>
{this.header(
canvasTimeStart,
zoom,
canvasTimeEnd,
canvasWidth,
minUnit,
timeSteps,
headerLabelGroupHeight,
headerLabelHeight
)}
<div

@@ -1643,2 +1643,12 @@ ref={el => (this.canvasComponent = el)}

)}
{this.header(
canvasTimeStart,
zoom,
canvasTimeEnd,
canvasWidth,
minUnit,
timeSteps,
headerLabelGroupHeight,
headerLabelHeight
)}
{mouseOverCanvas && showCursorLine

@@ -1645,0 +1655,0 @@ ? this.cursorLine(

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc