@seafile/seafile-calendar 0.0.17 → 0.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/index.css +1186 -0
- package/dist/rc-calendar.css +1188 -0
- package/dist/rc-calendar.css.map +1 -0
- package/dist/rc-calendar.js +7004 -0
- package/dist/rc-calendar.js.map +1 -0
- package/dist/rc-calendar.min.css +1188 -0
- package/dist/rc-calendar.min.css.map +1 -0
- package/dist/rc-calendar.min.js +1 -0
- package/es/Calendar.js +436 -0
- package/es/FullCalendar.js +182 -0
- package/es/MonthCalendar.js +135 -0
- package/es/Picker.js +245 -0
- package/es/RangeCalendar.js +876 -0
- package/es/calendar/CalendarFooter.js +93 -0
- package/es/calendar/CalendarHeader.js +257 -0
- package/es/calendar/CalendarRightPanel.js +121 -0
- package/es/calendar/OkButton.js +22 -0
- package/es/calendar/TimePickerButton.js +28 -0
- package/es/calendar/TodayButton.js +28 -0
- package/es/date/DateConstants.js +4 -0
- package/es/date/DateInput.js +233 -0
- package/es/date/DateTBody.js +275 -0
- package/es/date/DateTHead.js +78 -0
- package/es/date/DateTable.js +32 -0
- package/es/decade/DecadePanel.js +181 -0
- package/es/full-calendar/CalendarHeader.js +180 -0
- package/es/index.js +3 -0
- package/es/locale/ar_EG.js +27 -0
- package/es/locale/bg_BG.js +27 -0
- package/es/locale/ca_ES.js +27 -0
- package/es/locale/cs_CZ.js +27 -0
- package/es/locale/da_DK.js +27 -0
- package/es/locale/de_DE.js +27 -0
- package/es/locale/el_GR.js +27 -0
- package/es/locale/en_GB.js +27 -0
- package/es/locale/en_US.js +28 -0
- package/es/locale/es_ES.js +27 -0
- package/es/locale/et_EE.js +27 -0
- package/es/locale/fa_IR.js +27 -0
- package/es/locale/fi_FI.js +27 -0
- package/es/locale/fr_BE.js +27 -0
- package/es/locale/fr_FR.js +27 -0
- package/es/locale/he_IL.js +28 -0
- package/es/locale/hi_IN.js +28 -0
- package/es/locale/hr_HR.js +28 -0
- package/es/locale/hu_HU.js +27 -0
- package/es/locale/id_ID.js +28 -0
- package/es/locale/is_IS.js +27 -0
- package/es/locale/it_IT.js +27 -0
- package/es/locale/ja_JP.js +26 -0
- package/es/locale/kn_IN.js +28 -0
- package/es/locale/ko_KR.js +27 -0
- package/es/locale/ku_IQ.js +27 -0
- package/es/locale/lv_LV.js +27 -0
- package/es/locale/mm_MM.js +28 -0
- package/es/locale/mn_MN.js +28 -0
- package/es/locale/ms_MY.js +27 -0
- package/es/locale/nb_NO.js +27 -0
- package/es/locale/nl_BE.js +27 -0
- package/es/locale/nl_NL.js +27 -0
- package/es/locale/pl_PL.js +27 -0
- package/es/locale/pt_BR.js +27 -0
- package/es/locale/pt_PT.js +27 -0
- package/es/locale/ro_RO.js +28 -0
- package/es/locale/ru_RU.js +27 -0
- package/es/locale/sk_SK.js +27 -0
- package/es/locale/sl_SI.js +27 -0
- package/es/locale/sr_RS.js +27 -0
- package/es/locale/sv_SE.js +27 -0
- package/es/locale/ta_IN.js +28 -0
- package/es/locale/th_TH.js +27 -0
- package/es/locale/tr_TR.js +27 -0
- package/es/locale/ug_CN.js +26 -0
- package/es/locale/uk_UA.js +27 -0
- package/es/locale/vi_VN.js +28 -0
- package/es/locale/zh_CN.js +27 -0
- package/es/locale/zh_TW.js +26 -0
- package/es/mixin/CalendarMixin.js +123 -0
- package/es/mixin/CommonMixin.js +85 -0
- package/es/month/MonthPanel.js +154 -0
- package/es/month/MonthTable.js +156 -0
- package/es/picker/placements.js +35 -0
- package/es/range-calendar/CalendarPart.js +151 -0
- package/es/util/dayjs.js +17 -0
- package/es/util/index.js +105 -0
- package/es/util/toTime.js +21 -0
- package/es/year/YearPanel.js +202 -0
- package/lib/Calendar.js +499 -0
- package/lib/FullCalendar.js +221 -0
- package/lib/MonthCalendar.js +172 -0
- package/lib/Picker.js +282 -0
- package/lib/RangeCalendar.js +925 -0
- package/lib/calendar/CalendarFooter.js +134 -0
- package/lib/calendar/CalendarHeader.js +290 -0
- package/lib/calendar/CalendarRightPanel.js +145 -0
- package/lib/calendar/OkButton.js +32 -0
- package/lib/calendar/TimePickerButton.js +41 -0
- package/lib/calendar/TodayButton.js +39 -0
- package/lib/date/DateConstants.js +8 -0
- package/lib/date/DateInput.js +265 -0
- package/lib/date/DateTBody.js +302 -0
- package/lib/date/DateTHead.js +95 -0
- package/lib/date/DateTable.js +54 -0
- package/lib/decade/DecadePanel.js +207 -0
- package/lib/full-calendar/CalendarHeader.js +201 -0
- package/lib/index.js +12 -0
- package/lib/locale/ar_EG.js +31 -0
- package/lib/locale/bg_BG.js +31 -0
- package/lib/locale/ca_ES.js +31 -0
- package/lib/locale/cs_CZ.js +31 -0
- package/lib/locale/da_DK.js +31 -0
- package/lib/locale/de_DE.js +31 -0
- package/lib/locale/el_GR.js +31 -0
- package/lib/locale/en_GB.js +31 -0
- package/lib/locale/en_US.js +32 -0
- package/lib/locale/es_ES.js +31 -0
- package/lib/locale/et_EE.js +31 -0
- package/lib/locale/fa_IR.js +31 -0
- package/lib/locale/fi_FI.js +31 -0
- package/lib/locale/fr_BE.js +31 -0
- package/lib/locale/fr_FR.js +31 -0
- package/lib/locale/he_IL.js +32 -0
- package/lib/locale/hi_IN.js +32 -0
- package/lib/locale/hr_HR.js +32 -0
- package/lib/locale/hu_HU.js +31 -0
- package/lib/locale/id_ID.js +32 -0
- package/lib/locale/is_IS.js +31 -0
- package/lib/locale/it_IT.js +31 -0
- package/lib/locale/ja_JP.js +30 -0
- package/lib/locale/kn_IN.js +32 -0
- package/lib/locale/ko_KR.js +31 -0
- package/lib/locale/ku_IQ.js +31 -0
- package/lib/locale/lv_LV.js +31 -0
- package/lib/locale/mm_MM.js +32 -0
- package/lib/locale/mn_MN.js +32 -0
- package/lib/locale/ms_MY.js +31 -0
- package/lib/locale/nb_NO.js +31 -0
- package/lib/locale/nl_BE.js +31 -0
- package/lib/locale/nl_NL.js +31 -0
- package/lib/locale/pl_PL.js +31 -0
- package/lib/locale/pt_BR.js +31 -0
- package/lib/locale/pt_PT.js +31 -0
- package/lib/locale/ro_RO.js +32 -0
- package/lib/locale/ru_RU.js +31 -0
- package/lib/locale/sk_SK.js +31 -0
- package/lib/locale/sl_SI.js +31 -0
- package/lib/locale/sr_RS.js +31 -0
- package/lib/locale/sv_SE.js +31 -0
- package/lib/locale/ta_IN.js +32 -0
- package/lib/locale/th_TH.js +31 -0
- package/lib/locale/tr_TR.js +31 -0
- package/lib/locale/ug_CN.js +30 -0
- package/lib/locale/uk_UA.js +31 -0
- package/lib/locale/vi_VN.js +32 -0
- package/lib/locale/zh_CN.js +31 -0
- package/lib/locale/zh_TW.js +30 -0
- package/lib/mixin/CalendarMixin.js +153 -0
- package/lib/mixin/CommonMixin.js +106 -0
- package/lib/month/MonthPanel.js +179 -0
- package/lib/month/MonthTable.js +181 -0
- package/lib/picker/placements.js +39 -0
- package/lib/range-calendar/CalendarPart.js +184 -0
- package/lib/util/dayjs.js +46 -0
- package/lib/util/index.js +130 -0
- package/lib/util/toTime.js +28 -0
- package/lib/year/YearPanel.js +227 -0
- package/package.json +1 -1
- package/HISTORY.md +0 -263
@@ -0,0 +1,227 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
exports.__esModule = true;
|
4
|
+
|
5
|
+
var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');
|
6
|
+
|
7
|
+
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
|
8
|
+
|
9
|
+
var _possibleConstructorReturn2 = require('babel-runtime/helpers/possibleConstructorReturn');
|
10
|
+
|
11
|
+
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
|
12
|
+
|
13
|
+
var _inherits2 = require('babel-runtime/helpers/inherits');
|
14
|
+
|
15
|
+
var _inherits3 = _interopRequireDefault(_inherits2);
|
16
|
+
|
17
|
+
var _react = require('react');
|
18
|
+
|
19
|
+
var _react2 = _interopRequireDefault(_react);
|
20
|
+
|
21
|
+
var _propTypes = require('prop-types');
|
22
|
+
|
23
|
+
var _propTypes2 = _interopRequireDefault(_propTypes);
|
24
|
+
|
25
|
+
var _classnames = require('classnames');
|
26
|
+
|
27
|
+
var _classnames2 = _interopRequireDefault(_classnames);
|
28
|
+
|
29
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
|
30
|
+
|
31
|
+
var ROW = 4;
|
32
|
+
var COL = 3;
|
33
|
+
|
34
|
+
function goYear(direction) {
|
35
|
+
var value = this.state.value.clone();
|
36
|
+
value = value.add(direction, 'year');
|
37
|
+
this.setState({
|
38
|
+
value: value
|
39
|
+
});
|
40
|
+
}
|
41
|
+
|
42
|
+
function chooseYear(year) {
|
43
|
+
var value = this.state.value.clone();
|
44
|
+
value = value.year(year);
|
45
|
+
value = value.month(this.state.value.month());
|
46
|
+
this.setState({
|
47
|
+
value: value
|
48
|
+
});
|
49
|
+
this.props.onSelect(value);
|
50
|
+
}
|
51
|
+
|
52
|
+
var YearPanel = function (_React$Component) {
|
53
|
+
(0, _inherits3['default'])(YearPanel, _React$Component);
|
54
|
+
|
55
|
+
function YearPanel(props) {
|
56
|
+
(0, _classCallCheck3['default'])(this, YearPanel);
|
57
|
+
|
58
|
+
var _this = (0, _possibleConstructorReturn3['default'])(this, _React$Component.call(this, props));
|
59
|
+
|
60
|
+
_this.prefixCls = props.rootPrefixCls + '-year-panel';
|
61
|
+
_this.state = {
|
62
|
+
value: props.value || props.defaultValue
|
63
|
+
};
|
64
|
+
_this.nextDecade = goYear.bind(_this, 10);
|
65
|
+
_this.previousDecade = goYear.bind(_this, -10);
|
66
|
+
return _this;
|
67
|
+
}
|
68
|
+
|
69
|
+
YearPanel.prototype.years = function years() {
|
70
|
+
var value = this.state.value;
|
71
|
+
var currentYear = value.year();
|
72
|
+
var startYear = parseInt(currentYear / 10, 10) * 10;
|
73
|
+
var previousYear = startYear - 1;
|
74
|
+
var years = [];
|
75
|
+
var index = 0;
|
76
|
+
for (var rowIndex = 0; rowIndex < ROW; rowIndex++) {
|
77
|
+
years[rowIndex] = [];
|
78
|
+
for (var colIndex = 0; colIndex < COL; colIndex++) {
|
79
|
+
var year = previousYear + index;
|
80
|
+
var content = String(year);
|
81
|
+
years[rowIndex][colIndex] = {
|
82
|
+
content: content,
|
83
|
+
year: year,
|
84
|
+
title: content
|
85
|
+
};
|
86
|
+
index++;
|
87
|
+
}
|
88
|
+
}
|
89
|
+
return years;
|
90
|
+
};
|
91
|
+
|
92
|
+
YearPanel.prototype.render = function render() {
|
93
|
+
var _this2 = this;
|
94
|
+
|
95
|
+
var props = this.props;
|
96
|
+
var value = this.state.value;
|
97
|
+
var locale = props.locale,
|
98
|
+
renderFooter = props.renderFooter;
|
99
|
+
|
100
|
+
var years = this.years();
|
101
|
+
var currentYear = value.year();
|
102
|
+
var startYear = parseInt(currentYear / 10, 10) * 10;
|
103
|
+
var endYear = startYear + 9;
|
104
|
+
var prefixCls = this.prefixCls;
|
105
|
+
|
106
|
+
var yeasEls = years.map(function (row, index) {
|
107
|
+
var tds = row.map(function (yearData) {
|
108
|
+
var _classNameMap;
|
109
|
+
|
110
|
+
var classNameMap = (_classNameMap = {}, _classNameMap[prefixCls + '-cell'] = 1, _classNameMap[prefixCls + '-selected-cell'] = yearData.year === currentYear, _classNameMap[prefixCls + '-last-decade-cell'] = yearData.year < startYear, _classNameMap[prefixCls + '-next-decade-cell'] = yearData.year > endYear, _classNameMap);
|
111
|
+
var clickHandler = void 0;
|
112
|
+
if (yearData.year < startYear) {
|
113
|
+
clickHandler = _this2.previousDecade;
|
114
|
+
} else if (yearData.year > endYear) {
|
115
|
+
clickHandler = _this2.nextDecade;
|
116
|
+
} else {
|
117
|
+
clickHandler = chooseYear.bind(_this2, yearData.year);
|
118
|
+
}
|
119
|
+
return _react2['default'].createElement(
|
120
|
+
'td',
|
121
|
+
{
|
122
|
+
role: 'gridcell',
|
123
|
+
title: yearData.title,
|
124
|
+
key: yearData.content,
|
125
|
+
onClick: clickHandler,
|
126
|
+
className: (0, _classnames2['default'])(classNameMap)
|
127
|
+
},
|
128
|
+
_react2['default'].createElement(
|
129
|
+
'a',
|
130
|
+
{
|
131
|
+
className: prefixCls + '-year'
|
132
|
+
},
|
133
|
+
yearData.content
|
134
|
+
)
|
135
|
+
);
|
136
|
+
});
|
137
|
+
return _react2['default'].createElement(
|
138
|
+
'tr',
|
139
|
+
{ key: index, role: 'row' },
|
140
|
+
tds
|
141
|
+
);
|
142
|
+
});
|
143
|
+
|
144
|
+
var footer = renderFooter && renderFooter('year');
|
145
|
+
|
146
|
+
return _react2['default'].createElement(
|
147
|
+
'div',
|
148
|
+
{ className: this.prefixCls },
|
149
|
+
_react2['default'].createElement(
|
150
|
+
'div',
|
151
|
+
null,
|
152
|
+
_react2['default'].createElement(
|
153
|
+
'div',
|
154
|
+
{ className: prefixCls + '-header' },
|
155
|
+
_react2['default'].createElement('a', {
|
156
|
+
className: prefixCls + '-prev-decade-btn',
|
157
|
+
role: 'button',
|
158
|
+
onClick: this.previousDecade,
|
159
|
+
title: locale.previousDecade
|
160
|
+
}),
|
161
|
+
_react2['default'].createElement(
|
162
|
+
'a',
|
163
|
+
{
|
164
|
+
className: prefixCls + '-decade-select',
|
165
|
+
role: 'button',
|
166
|
+
onClick: props.onDecadePanelShow,
|
167
|
+
title: locale.decadeSelect
|
168
|
+
},
|
169
|
+
_react2['default'].createElement(
|
170
|
+
'span',
|
171
|
+
{ className: prefixCls + '-decade-select-content' },
|
172
|
+
startYear,
|
173
|
+
'-',
|
174
|
+
endYear
|
175
|
+
),
|
176
|
+
_react2['default'].createElement(
|
177
|
+
'span',
|
178
|
+
{ className: prefixCls + '-decade-select-arrow' },
|
179
|
+
'x'
|
180
|
+
)
|
181
|
+
),
|
182
|
+
_react2['default'].createElement('a', {
|
183
|
+
className: prefixCls + '-next-decade-btn',
|
184
|
+
role: 'button',
|
185
|
+
onClick: this.nextDecade,
|
186
|
+
title: locale.nextDecade
|
187
|
+
})
|
188
|
+
),
|
189
|
+
_react2['default'].createElement(
|
190
|
+
'div',
|
191
|
+
{ className: prefixCls + '-body' },
|
192
|
+
_react2['default'].createElement(
|
193
|
+
'table',
|
194
|
+
{ className: prefixCls + '-table', cellSpacing: '0', role: 'grid' },
|
195
|
+
_react2['default'].createElement(
|
196
|
+
'tbody',
|
197
|
+
{ className: prefixCls + '-tbody' },
|
198
|
+
yeasEls
|
199
|
+
)
|
200
|
+
)
|
201
|
+
),
|
202
|
+
footer && _react2['default'].createElement(
|
203
|
+
'div',
|
204
|
+
{ className: prefixCls + '-footer' },
|
205
|
+
footer
|
206
|
+
)
|
207
|
+
)
|
208
|
+
);
|
209
|
+
};
|
210
|
+
|
211
|
+
return YearPanel;
|
212
|
+
}(_react2['default'].Component);
|
213
|
+
|
214
|
+
exports['default'] = YearPanel;
|
215
|
+
|
216
|
+
|
217
|
+
YearPanel.propTypes = {
|
218
|
+
rootPrefixCls: _propTypes2['default'].string,
|
219
|
+
value: _propTypes2['default'].object,
|
220
|
+
defaultValue: _propTypes2['default'].object,
|
221
|
+
renderFooter: _propTypes2['default'].func
|
222
|
+
};
|
223
|
+
|
224
|
+
YearPanel.defaultProps = {
|
225
|
+
onSelect: function onSelect() {}
|
226
|
+
};
|
227
|
+
module.exports = exports['default'];
|
package/package.json
CHANGED
package/HISTORY.md
DELETED
@@ -1,263 +0,0 @@
|
|
1
|
-
# History
|
2
|
-
----
|
3
|
-
## 9.15.0 / 2019-05-26
|
4
|
-
|
5
|
-
- Support Malay locales
|
6
|
-
|
7
|
-
## 9.15.0 / 2019-06-06
|
8
|
-
|
9
|
-
- Add numeric keyboard support
|
10
|
-
|
11
|
-
## 9.14.0 / 2019-05-24
|
12
|
-
|
13
|
-
- Support Latvian locales
|
14
|
-
|
15
|
-
## 9.13.0 / 2019-04-02
|
16
|
-
|
17
|
-
- Support close onBlur
|
18
|
-
|
19
|
-
## 9.12.0 / 2019-03-16
|
20
|
-
|
21
|
-
- RangerPicker support null as start or end
|
22
|
-
|
23
|
-
## 9.11.0 / 2019-03-14
|
24
|
-
|
25
|
-
- RangerPicker can select same month
|
26
|
-
|
27
|
-
## 9.10.0 / 2019-01-02
|
28
|
-
|
29
|
-
- add `focusablePanel` prop.
|
30
|
-
|
31
|
-
## 9.9.0 / 2018-12-23
|
32
|
-
|
33
|
-
- `renderFooter(mode)` support all modes.
|
34
|
-
|
35
|
-
## 9.8.0 / 2018-11-30
|
36
|
-
|
37
|
-
- DateInput support multiple date format
|
38
|
-
|
39
|
-
## 9.7.0 / 2018-08-07
|
40
|
-
|
41
|
-
- Add clearIcon.
|
42
|
-
|
43
|
-
## 9.6.0 / 2018-02-08
|
44
|
-
|
45
|
-
- Add Picker[dropdownClassName]
|
46
|
-
|
47
|
-
## 9.5.0 / 2017-12-26
|
48
|
-
|
49
|
-
- Add Kurdish
|
50
|
-
|
51
|
-
## 9.4.0 / 2017-12-26
|
52
|
-
|
53
|
-
- Add Uyghur
|
54
|
-
|
55
|
-
## 9.2.0 / 2017-11-06
|
56
|
-
|
57
|
-
- React 16 support
|
58
|
-
|
59
|
-
## 9.1.0 / 2017-07-27
|
60
|
-
- Support control panel [#284](https://github.com/react-component/calendar/pull/284)
|
61
|
-
|
62
|
-
## 9.0.0 / 2017-07-27
|
63
|
-
- Replace react string refs with function way [#282](https://github.com/react-component/calendar/pull/282)
|
64
|
-
|
65
|
-
## 8.4.0 / 2017-05-31
|
66
|
-
|
67
|
-
- Supporting Bulgarian.
|
68
|
-
- UX: can select end date first, and then start date.
|
69
|
-
|
70
|
-
## 8.3.0 / 2017-05-18
|
71
|
-
|
72
|
-
- expose hoverValue as controlled property and onHoverChange
|
73
|
-
|
74
|
-
## 8.2.0 / 2017-05-16
|
75
|
-
|
76
|
-
- Time of `Calendar[timePicker]` & `RangeCalendar[timePicker]` could be set now
|
77
|
-
- Fix that two panels of RangeCalendar should not be the same month
|
78
|
-
|
79
|
-
## 8.1.0 / 2017-04-10
|
80
|
-
|
81
|
-
- Add locale fi_FI
|
82
|
-
|
83
|
-
## 8.0.0 / 2017-04-07
|
84
|
-
|
85
|
-
- Improve UX of RangeCalendar
|
86
|
-
- A breaking change for hidden API
|
87
|
-
|
88
|
-
## 7.8.0 / 2017-04-01
|
89
|
-
|
90
|
-
- zh-TW locale
|
91
|
-
- tr-TR locale
|
92
|
-
|
93
|
-
## 7.6.0 / 2017-01-11
|
94
|
-
|
95
|
-
- remove arrow inside year and century panel
|
96
|
-
|
97
|
-
## 7.5.0 / 2016-11-16
|
98
|
-
|
99
|
-
- add showToday for RangeCalendar
|
100
|
-
|
101
|
-
## 7.4.0 / 2016-11-01
|
102
|
-
|
103
|
-
- add monthCellContentRender/cellContentRender for MonthCalendar
|
104
|
-
|
105
|
-
## 7.3.0 / 2016-10-18
|
106
|
-
|
107
|
-
- disabledTime support type param for range-calendar
|
108
|
-
|
109
|
-
## 7.2.0 / 2016-09-23
|
110
|
-
|
111
|
-
- add week calendar example
|
112
|
-
- support renderSidebar, renderFooter prop
|
113
|
-
- add type prop to support start-end-range example
|
114
|
-
- picker remove onClose, change onOpen to onOpenChange
|
115
|
-
|
116
|
-
## 7.1.0 / 2016-09-10
|
117
|
-
|
118
|
-
- use css pseudo after: https://github.com/react-component/calendar/pull/152
|
119
|
-
|
120
|
-
## 7.0.0 / 2016-08-06
|
121
|
-
|
122
|
-
- goodbye gregorian-calendar, hello moment
|
123
|
-
|
124
|
-
## 6.0.0 / 2016-07-13
|
125
|
-
|
126
|
-
- use rc-time-picker/lib/module/panel as timepicker element
|
127
|
-
- merge date input and time input. formatter can control time part.
|
128
|
-
|
129
|
-
## 5.6.0 / 2016-06-20
|
130
|
-
|
131
|
-
- optimize keyboard, add onKeyDown for Picker children
|
132
|
-
|
133
|
-
## 5.5.0 / 2016-03-22
|
134
|
-
|
135
|
-
- support monthCellContentRender/dateCellContentRender
|
136
|
-
|
137
|
-
## 5.3.0 / 2016-01-18
|
138
|
-
|
139
|
-
- support clear for RangeCalendar
|
140
|
-
|
141
|
-
## 5.1.0 / 2015-12-25
|
142
|
-
|
143
|
-
- support dateInputPlaceholder for RangeCalendar
|
144
|
-
|
145
|
-
## 5.0.0 / 2015-12-21
|
146
|
-
|
147
|
-
- use rc-time-picker, add timePicker, disabledTime props
|
148
|
-
- remove showTime props
|
149
|
-
- remove bootstrap style
|
150
|
-
|
151
|
-
## 4.0.0 / 2015-11-18
|
152
|
-
|
153
|
-
- refactor!
|
154
|
-
- support input inside rc-calendar
|
155
|
-
- change MonthCalendar to require('rc-calendar/lib/MonthCalendar')
|
156
|
-
- change Picker to require('rc-calendar/lib/Picker')
|
157
|
-
- change Picker's orient to placement and align as rc-trigger
|
158
|
-
- add RangeCalendar: require('rc-calendar/lib/RangeCalendar')
|
159
|
-
- add FullCalendar: require('rc-calendar/lib/FullCalendar')
|
160
|
-
|
161
|
-
## 3.16.0 / 2015-08-25
|
162
|
-
|
163
|
-
-- add Calendar.MonthCalendar component
|
164
|
-
|
165
|
-
## 3.15.0 / 2015-08-24
|
166
|
-
|
167
|
-
-- add onChange prop
|
168
|
-
|
169
|
-
## 3.14.0 / 2015-08-21
|
170
|
-
|
171
|
-
-- remove renderCalendarToBody. defaults to true
|
172
|
-
|
173
|
-
## 3.13.0 / 2015-08-15
|
174
|
-
|
175
|
-
- support controlled open prop for Picker
|
176
|
-
- add onOpen/onClose callback for Picker
|
177
|
-
|
178
|
-
## 3.12.0 / 2015-07-30
|
179
|
-
|
180
|
-
use rc-animate & rc-align (css change)
|
181
|
-
|
182
|
-
## 3.11.0 / 2015-07-20
|
183
|
-
|
184
|
-
support disabled prop for picker
|
185
|
-
|
186
|
-
## 3.10.1 / 2015-07-02
|
187
|
-
|
188
|
-
add adjustOrientOnCalendarOverflow prop for picker
|
189
|
-
|
190
|
-
## 3.10.0 / 2015-07-01
|
191
|
-
|
192
|
-
`new` support picker animation [#39](https://github.com/react-component/calendar/issues/39)
|
193
|
-
|
194
|
-
## 3.9.0 / 2015-06-11
|
195
|
-
|
196
|
-
`improved` fix by #33 #34 #35
|
197
|
-
|
198
|
-
## 3.8.0 / 2015-06-03
|
199
|
-
|
200
|
-
`improved` refactor by split components
|
201
|
-
|
202
|
-
## 3.7.0 / 2015-06-01
|
203
|
-
|
204
|
-
`improved` move nextDecade and prevDecade button to YearPanel body, optimize disable style for ant-design
|
205
|
-
|
206
|
-
## 3.5.0 / 2015-05-26
|
207
|
-
|
208
|
-
`new` publish transformed es5 code to npm
|
209
|
-
|
210
|
-
## 3.4.0 / 2015-05-19
|
211
|
-
|
212
|
-
`new` [#21](https://github.com/react-component/calendar/issues/21) add trigger prop for DatePicker
|
213
|
-
|
214
|
-
## 3.3.0 / 2015-05-13
|
215
|
-
|
216
|
-
use jsx as extension name
|
217
|
-
|
218
|
-
## 3.2.0 / 2015-05-11
|
219
|
-
|
220
|
-
add ant-design theme(index.css).
|
221
|
-
|
222
|
-
## 3.1.1 / 2015-04-21
|
223
|
-
|
224
|
-
fix ie broken focus
|
225
|
-
|
226
|
-
## 3.1.0 / 2015-03-23
|
227
|
-
|
228
|
-
`improved` [#17](https://github.com/react-component/calendar/issues/17) support today button to select
|
229
|
-
|
230
|
-
## 3.0.0 / 2015-03-13
|
231
|
-
|
232
|
-
upgrade to react 0.13 and es6
|
233
|
-
|
234
|
-
## 2.1.0 / 2015-03-10
|
235
|
-
|
236
|
-
`new` [#16](https://github.com/react-component/calendar/issues/16) support clear button
|
237
|
-
|
238
|
-
## 2.0.0 / 2015-03-04
|
239
|
-
|
240
|
-
`new` [#15](https://github.com/react-component/calendar/issues/15) support defaultValue
|
241
|
-
`improved` upgrade gregorian-calendar and gregorian-calendar-format to 3.x
|
242
|
-
|
243
|
-
## 1.5.0 / 2015-01-22
|
244
|
-
|
245
|
-
`new` [#13](https://github.com/react-component/calendar/issues/13) support DatePicker
|
246
|
-
|
247
|
-
## 1.4.0 / 2015-01-05
|
248
|
-
|
249
|
-
`new` [#12](https://github.com/react-component/calendar/issues/12) support time select ([@yiminghe](https://github.com/yiminghe))
|
250
|
-
|
251
|
-
`new` [#11](https://github.com/react-component/calendar/issues/11) support prefixCls ([@yiminghe](https://github.com/yiminghe))
|
252
|
-
|
253
|
-
`new` [#10](https://github.com/react-component/calendar/issues/10) support nextMonth previousMonth in calendar panel ([@yiminghe](https://github.com/yiminghe))
|
254
|
-
|
255
|
-
## 1.3.0 / 2014-12-30
|
256
|
-
|
257
|
-
`new` [#9](https://github.com/react-component/calendar/issues/9) support className prop ([@yiminghe](https://github.com/yiminghe))
|
258
|
-
|
259
|
-
`new` [#8](https://github.com/react-component/calendar/issues/8) support orient prop ([@yiminghe](https://github.com/yiminghe))
|
260
|
-
|
261
|
-
## 1.2.4 / 2014-12-26
|
262
|
-
|
263
|
-
`new` [#7](https://github.com/react-component/calendar/issues/7) release 1.2.4 ([@yiminghe](https://github.com/yiminghe))
|