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.4.2 to 3.5.0

lib/Calendar.js

3

examples/ant-design-picker.js

@@ -1,2 +0,1 @@

/** @jsx React.DOM */
require('rc-calendar/assets/index.css');

@@ -9,3 +8,3 @@ var React = require('react');

var GregorianCalendar = require('gregorian-calendar');
var CalendarLocale = require('../lib/locale/zh-cn');
var CalendarLocale = require('rc-calendar/src/locale/zh-cn');

@@ -12,0 +11,0 @@

@@ -1,2 +0,2 @@

/** @jsx React.DOM */
require('rc-calendar/assets/index.css');

@@ -10,3 +10,3 @@

var zhCn = require('gregorian-calendar/lib/locale/zh-cn');
var CalendarLocale = require('../lib/locale/zh-cn');
var CalendarLocale = require('rc-calendar/src/locale/zh-cn');

@@ -13,0 +13,0 @@ var value = new GregorianCalendar(zhCn);

@@ -1,2 +0,2 @@

/** @jsx React.DOM */
require('bootstrap/dist/css/bootstrap.css');

@@ -10,3 +10,3 @@ require('rc-calendar/assets/bootstrap.css');

var GregorianCalendar = require('gregorian-calendar');
var CalendarLocale = require('../lib/locale/zh-cn');
var CalendarLocale = require('rc-calendar/src/locale/zh-cn');

@@ -13,0 +13,0 @@ var Test = React.createClass({

@@ -1,2 +0,2 @@

/** @jsx React.DOM */
require('rc-calendar/assets/bootstrap.css');

@@ -3,0 +3,0 @@ var Calendar = require('rc-calendar');

@@ -1,2 +0,2 @@

/** @jsx React.DOM */
require('bootstrap/dist/css/bootstrap.css');

@@ -10,3 +10,3 @@ require('rc-calendar/assets/bootstrap.css');

var GregorianCalendar = require('gregorian-calendar');
var CalendarLocale = require('../lib/locale/zh-cn');
var CalendarLocale = require('rc-calendar/src/locale/zh-cn');

@@ -13,0 +13,0 @@ var Test = React.createClass({

@@ -1,2 +0,2 @@

/** @jsx React.DOM */
require('rc-calendar/assets/bootstrap.css');

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/** @jsx React.DOM */
require('rc-calendar/assets/classic.css');

@@ -3,0 +3,0 @@ var Calendar = require('rc-calendar');

# History
----
## 3.5.0 / 2015-05-26
`new` publish transformed es5 code to npm
## 3.4.0 / 2015-05-19

@@ -5,0 +9,0 @@

@@ -1,2 +0,1 @@

module.exports = require('./lib/Calendar');
module.exports.Picker = require('./lib/Picker');
module.exports = require('./src/');

@@ -1,7 +0,4 @@

/**
* i18n resources for date-picker
* @ignore
* @author yiminghe@gmail.com
*/
module.exports = ({
'use strict';
module.exports = {
today: 'Today',

@@ -29,3 +26,3 @@ clear: 'Clear',

nextCentury: 'Next century',
format: require('gregorian-calendar-format/lib/locale/en-us')
});
format: require('gregorian-calendar-format/lib/locale/en-us')
};

@@ -1,8 +0,4 @@

/**
* i18n resources for date-picker
* @ignore
* @author yiminghe@gmail.com
*/
'use strict';
module.exports = ({
module.exports = {
today: '今天',

@@ -21,6 +17,5 @@ clear: '清除',

secondPanelTitle: '选择秒',
/*jshint quotmark: false*/
yearFormat: "yyyy'年'",
monthYearFormat: "yyyy'年'M'月'",
dateFormat: "yyyy'年'M'月'd'日'",
yearFormat: 'yyyy\'年\'',
monthYearFormat: 'yyyy\'年\'M\'月\'',
dateFormat: 'yyyy\'年\'M\'月\'d\'日\'',
previousYear: '上一年 (Control键加左方向键)',

@@ -33,2 +28,2 @@ nextYear: '下一年 (Control键加右方向键)',

format: require('gregorian-calendar-format/lib/locale/zh-cn')
});
};

@@ -0,7 +1,9 @@

'use strict';
module.exports = function () {
var prefixCls = this.state.prefixCls;
var args = Array.prototype.slice.call(arguments, 0);
return args.map(s => {
return args.map(function (s) {
return prefixCls + '-' + s;
}).join(' ');
};
};
{
"name": "rc-calendar",
"version": "3.4.2",
"version": "3.5.0",
"description": "calendar ui component for react",

@@ -14,2 +14,3 @@ "keywords": [

],
"main": "lib/index",
"homepage": "http://github.com/react-component/calendar",

@@ -30,2 +31,3 @@ "author": "yiminghe@gmail.com",

"build": "rc-tools run build",
"precommit": "rc-tools run precommit",
"less": "rc-tools run less",

@@ -46,5 +48,5 @@ "gh-pages": "rc-tools run gh-pages",

"precommit-hook": "^1.0.7",
"rc-server": "^2.0.0",
"rc-server": "3.x",
"rc-style": "1.0.x",
"rc-tools": "2.x",
"rc-tools": "3.x",
"react": "^0.13.0"

@@ -64,4 +66,3 @@ },

"precommit": [
"lint",
"less"
"precommit"
],

@@ -68,0 +69,0 @@ "dependencies": {

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