diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index f11ceb2..9fd0d72 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,3 +1,16 @@ + + +

Table of Contents

+ +- [Expected Behavior](#expected-behavior) +- [Current Behavior](#current-behavior) +- [Possible Solution](#possible-solution) +- [Steps to Reproduce (for bugs)](#steps-to-reproduce-for-bugs) +- [Context](#context) +- [Your Environment](#your-environment) + + + diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index d1b5f31..c57390d 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,3 +1,16 @@ + + +

Table of Contents

+ +- [Description](#description) +- [Motivation and Context](#motivation-and-context) +- [How Has This Been Tested?](#how-has-this-been-tested) +- [Screenshots (if appropriate):](#screenshots-if-appropriate) +- [Types of changes](#types-of-changes) +- [Checklist:](#checklist) + + + diff --git a/lib/index.js b/lib/index.js index 1adb725..23b3a0e 100644 --- a/lib/index.js +++ b/lib/index.js @@ -114,18 +114,18 @@ var Calendar = (0, _createReactClass2.default)({ displayName: 'DatePickerCalendar', propTypes: { - selectedDate: _react2.default.PropTypes.object, - displayDate: _react2.default.PropTypes.object.isRequired, - minDate: _react2.default.PropTypes.string, - maxDate: _react2.default.PropTypes.string, - onChange: _react2.default.PropTypes.func.isRequired, - dayLabels: _react2.default.PropTypes.array.isRequired, - cellPadding: _react2.default.PropTypes.string.isRequired, - weekStartsOn: _react2.default.PropTypes.number, - showTodayButton: _react2.default.PropTypes.bool, - todayButtonLabel: _react2.default.PropTypes.string, - roundedCorners: _react2.default.PropTypes.bool, - showWeeks: _react2.default.PropTypes.bool + selectedDate: _propTypes2.default.object, + displayDate: _propTypes2.default.object.isRequired, + minDate: _propTypes2.default.string, + maxDate: _propTypes2.default.string, + onChange: _propTypes2.default.func.isRequired, + dayLabels: _propTypes2.default.array.isRequired, + cellPadding: _propTypes2.default.string.isRequired, + weekStartsOn: _propTypes2.default.number, + showTodayButton: _propTypes2.default.bool, + todayButtonLabel: _propTypes2.default.string, + roundedCorners: _propTypes2.default.bool, + showWeeks: _propTypes2.default.bool }, handleClick: function handleClick(e) { diff --git a/package.json b/package.json index afa115f..7e06184 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "picker" ], "main": "lib/index.js", - "version": "5.0.1", + "version": "5.1.1", "description": "React-Bootstrap based date picker.", "directories": { "test": "test"