Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@r365/react-calendar-timeline

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@r365/react-calendar-timeline - npm Package Compare versions

Comparing version 0.25.0-beta.12 to 0.25.0-beta.13

0

CHANGELOG.md

@@ -0,0 +0,0 @@ # Change Log

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

15

lib/lib/Timeline.js

@@ -671,3 +671,4 @@ 'use strict';

children: _propTypes2.default.node,
width: _propTypes2.default.number
width: _propTypes2.default.number,
onUpdateMove: _propTypes2.default.func
};

@@ -744,3 +745,4 @@ ReactCalendarTimeline.defaultProps = {

selected: null
selected: null,
onUpdateMove: null
};

@@ -942,3 +944,5 @@ ReactCalendarTimeline.childContextTypes = {

var keys = _this4.props.keys;
if (_this4.props.onUpdateMove) {
_this4.props.onUpdateMove(item, dragTime, newGroupOrder, 'move');
}
_this4.setState({

@@ -960,2 +964,5 @@ draggingItem: item,

this.resizingItem = function (item, resizeTime, edge) {
if (_this4.props.onUpdateMove) {
_this4.props.onUpdateMove(item, resizeTime, undefined, 'resize', edge);
}
_this4.setState({

@@ -1042,2 +1049,2 @@ resizingItem: item,

exports.default = ReactCalendarTimeline;
exports.default = ReactCalendarTimeline;

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

{
"name": "@r365/react-calendar-timeline",
"version": "0.25.0-beta.12",
"version": "0.25.0-beta.13",
"description": "react calendar timeline",

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

@@ -335,2 +335,7 @@ # React Calendar Timeline

## onUpdateMove(itemId, time, newGroup, action,resizeEdge)
this function is called after moveResizeValidator on every drag update
## headerLabelFormats and subHeaderLabelFormats

@@ -337,0 +342,0 @@

@@ -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 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 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 from 'react'

@@ -0,0 +0,0 @@ import React, { PureComponent } from 'react'

@@ -0,0 +0,0 @@ import PropTypes from 'prop-types'

@@ -0,0 +0,0 @@ import React, { PureComponent } from 'react'

@@ -165,2 +165,3 @@ import PropTypes from 'prop-types'

width: PropTypes.number,
onUpdateMove: PropTypes.func,
}

@@ -242,3 +243,4 @@

selected: null
selected: null,
onUpdateMove: null,
}

@@ -678,3 +680,5 @@

const keys = this.props.keys
if(this.props.onUpdateMove){
this.props.onUpdateMove(item, dragTime, newGroupOrder, 'move')
}
this.setState({

@@ -696,2 +700,5 @@ draggingItem: item,

resizingItem = (item, resizeTime, edge) => {
if(this.props.onUpdateMove){
this.props.onUpdateMove(item, resizeTime, undefined, 'resize', edge)
}
this.setState({

@@ -698,0 +705,0 @@ resizingItem: item,

@@ -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??

Sorry, the diff of this file is not supported yet

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