Commit Graph

410 Commits

Author SHA1 Message Date
Bruce Mitchener
fa65f25b1e Switch RangePicker to ES6 class. 2016-03-31 20:23:39 +07:00
Bruce Mitchener
50d61eb7de Fix RangePicker handleChange callback.
There was a minor typo in 2e86463a6a
which broke the handleChange callback (this.props was replaced with
props.props rather than just props).
2016-03-31 19:32:43 +07:00
Benjy Cui
2a3febfe4c deps: remove useless dependencies 2016-03-31 16:47:03 +08:00
Benjy Cui
d5a6932c15 docs: update documentation format 2016-03-31 14:17:09 +08:00
Benjy Cui
03d09b66e8 docs: update demo format 2016-03-31 09:40:55 +08:00
Benjy Cui
fd3406bd03 style: enable react/jsx-no-bind 2016-03-30 17:06:19 +08:00
Benjy Cui
2e86463a6a refactor: remove mixin 2016-03-30 10:52:15 +08:00
Benjy Cui
6157d21089 refactor: DatePicker 2016-03-30 09:50:44 +08:00
Benjy Cui
193ba74bff style: update code style 2016-03-30 09:41:18 +08:00
afc163
703cf31868 Add dateString to DatePicker & TimePicker onChange
close #1104
2016-03-28 12:18:30 +08:00
Benjy Cui
5e4786440d deps: remove object-assign 2016-03-25 18:16:48 +08:00
afc163
66179b2760 Merge master into develop-1.0.0 2016-03-23 18:41:58 +08:00
afc163
20211d448c Add default width for showTime DatePicker 2016-03-23 15:58:46 +08:00
Bruce Mitchener
11c0a6a203 Name classes without Ant* prefix.
Where necessary, prefix the classes imported from react-component
with 'Rc' rather than prefixing the Ant classes with 'Ant'.

The prefixing of Ant classes wasn't consistent and isn't necessary
in many cases.
2016-03-21 20:16:38 +07:00
Benjy Cui
ebab622add Merge branch 'master' of github.com:ant-design/ant-design into develop-1.0.0 2016-03-15 09:47:55 +08:00
afc163
2482140d2f Change context locale name 2016-03-10 10:32:50 +08:00
afc163
99b58e67ec Add other component for locale 2016-03-10 10:32:49 +08:00
afc163
56fb20b76d Fix date-picker style prop 2016-03-09 11:33:05 +08:00
afc163
8070e05de1 update demo 2016-03-02 15:45:37 +08:00
Benjy Cui
c1659c2ce3 style: update code style to please lint 2016-02-22 10:52:30 +08:00
afc163
812225ea41 Fix DatePicker clear not work when showTime 2016-02-19 17:15:31 +08:00
afc163
c1bd0098d2 update code style 2016-02-19 17:14:53 +08:00
afc163
893248dec7 some style and doc 2016-02-18 21:13:13 +08:00
yiminghe
698ebb13b3 optimize calendar 2016-02-18 19:15:23 +08:00
afc163
72d077be1f rollback time format problem, ref #953 2016-02-18 17:50:29 +08:00
Benjy Cui
29825f20c8 style: update code style to please lint 2016-02-17 18:04:42 +08:00
afc163
411f529242 Add getCalendarContainer prop to DatePicker, close #991 2016-02-03 14:30:58 +08:00
afc163
a92bfa7ac8 update date-picker doc 2016-02-02 17:51:59 +08:00
afc163
11f6582235 Fix date-picker onOk 2016-02-02 17:49:44 +08:00
afc163
21eac259b6 fix dateInput format when contains time-picker, close #953 2016-01-30 16:15:43 +08:00
Benjy Cui
68b51e298d style: update code style for space-before-function-paren 2016-01-27 17:00:58 +08:00
Benjy Cui
cd1391e6a2 style: update code style for object-curly-spacing 2016-01-27 17:00:58 +08:00
Benjy Cui
61df1eb1dc fix: should pass formatter to rc-calendar #917 2016-01-26 10:24:15 +08:00
afc163
5fdb2109f4 fix time-picker demo 2016-01-26 00:28:50 +08:00
afc163
14447cb6ae Merge from master 2016-01-19 18:51:45 +08:00
Benjy Cui
07cfe19095 fix: locale should be passed to timePicker #837 2016-01-19 09:26:24 +08:00
yiminghe
dc3b34510b compatible with rc-form 2016-01-14 19:15:21 +08:00
afc163
a16903009e merge from master 2016-01-13 22:22:33 +08:00
afc163
a479bc8fe3 Fix MonthPicker style, close #848 2016-01-13 17:30:54 +08:00
Benjy Cui
aa5c4f9595 style: update code style to please lint 2016-01-11 09:49:31 +08:00
Benjy Cui
b72d18fd44 style: update code style to please the fucking lint 2016-01-11 09:49:30 +08:00
Benjy Cui
209170e813 style: update demo code style to please lint 2016-01-11 09:49:30 +08:00
Benjy Cui
711d2d7413 style: update code style to please lint 2016-01-11 09:49:30 +08:00
afc163
1e001d2d82 upgrade eslint-config-airbnb 2016-01-11 09:48:29 +08:00
yiminghe
a5efd5d028 fix range picker 2016-01-02 17:03:56 +08:00
afc163
98b899d0cc timePicker en-US, ref #771 2015-12-29 22:40:09 +08:00
afc163
91bd7f22c0 use mountNode replace the long getElementById 2015-12-29 12:08:58 +08:00
yiminghe
1f22b567d2 fix parseDateFromValue 2015-12-28 11:43:43 +08:00
afc163
c45c6877f8 fix lint problems 2015-12-27 16:20:59 +08:00
afc163
e0fb571ebc Add dateInputPlaceholder 2015-12-25 18:04:01 +08:00
afc163
8dea7fbe15 Rollback with-time-picker demo but do not show 2015-12-25 15:34:32 +08:00
afc163
82bb807932 update RangePicker style 2015-12-25 15:27:24 +08:00
afc163
2fd64b4997 update date-picker api 2015-12-25 01:52:52 +08:00
afc163
69faeb9145 Fix button text whitespace 2015-12-25 01:44:06 +08:00
afc163
2ea1fb48a4 rm onSelect 2015-12-25 01:21:46 +08:00
afc163
cbf7d27664 improve rangepicker and add showTime prop 2015-12-25 01:21:03 +08:00
Benjy Cui
afa40dd919 feat: add RangePicker 2015-12-24 14:45:22 +08:00
afc163
56336717ab Add hint for name changing 2015-12-23 19:09:31 +08:00
afc163
41660c3814 fix value prop of DatePicker to controlled prop 2015-12-12 13:38:25 +08:00
afc163
d759d1f489 Datepicker => DatePicker, Timepicker => TimePicker 2015-12-10 16:30:18 +08:00