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

rc-calendar

Package Overview
Dependencies
Maintainers
1
Versions
239
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-calendar - npm Package Compare versions

Comparing version 3.0.1 to 3.1.0

5

HISTORY.md
# History
----
generated by https://github.com/yiminghe/gh-history
## 3.1.0 / 2015-03-23
`improved` [#17](https://github.com/react-component/calendar/issues/17) support today button to select
## 3.0.0 / 2015-03-13

@@ -7,0 +10,0 @@

8

lib/Calendar.js

@@ -104,5 +104,3 @@ /** @jsx React.DOM */

today.setTime(Date.now());
this.setState({
value: today
});
this.handleSelect(today);
}

@@ -114,3 +112,3 @@

function handleSelect(current, event) {
function handleSelect(current, keyDownEvent) {
var props = this.props;

@@ -120,3 +118,3 @@ this.setState({

});
if (!event) {
if (!keyDownEvent) {
props.onSelect(current);

@@ -123,0 +121,0 @@ }

@@ -154,3 +154,3 @@ /** @jsx React.DOM */

var align = domAlign(React.findDOMNode(this.calendarInstance), this.inputInstance.getDOMNode(), {
var align = domAlign(React.findDOMNode(this.calendarInstance), React.findDOMNode(this.inputInstance), {
points: points,

@@ -157,0 +157,0 @@ offset: offset,

@@ -49,3 +49,3 @@ /** @jsx React.DOM */

time[method](number);
this.props.onChange(time, 1);
this.props.onChange(time, e);
}

@@ -52,0 +52,0 @@ };

{
"name": "rc-calendar",
"version": "3.0.1",
"version": "3.1.0",
"description": "calendar ui component for react",

@@ -5,0 +5,0 @@ "keywords": [

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