Commit Graph

592 Commits

Author SHA1 Message Date
Bruce Mitchener
273e527201 Use static class members for propTypes and friends. 2016-03-29 13:01:10 +07:00
Bruce Mitchener
71594b0e5c Remove manual binding for 'this'.
Use ES7 style class members for event handlers so that 'this' is
automatically bound and each definition site doesn't need to manually
invoke 'bind'.

This makes all existing ES2015 class usages in components use the
same mechanism for binding.
2016-03-28 20:36:11 +07:00
afc163
09b27ed288 warn => warning, close #1225 2016-03-28 17:43:38 +08:00
Bruce Mitchener
50a2163518 Don't directly import Component, use React.Component.
This is another step towards making the code internally consistent.
2016-03-26 16:22:39 +07:00
Benjy Cui
c1659c2ce3 style: update code style to please lint 2016-02-22 10:52:30 +08:00
Benjy Cui
29825f20c8 style: update code style to please lint 2016-02-17 18:04:42 +08:00
Benjy Cui
41ed04e977 style: update code style to please lint 2016-01-14 16:46:38 +08:00
Benjy Cui
aa5c4f9595 style: update code style to please lint 2016-01-11 09:49:31 +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
afc163
91bd7f22c0 use mountNode replace the long getElementById 2015-12-29 12:08:58 +08:00
afc163
74036396fe fix calendar switch, close #753 2015-12-28 11:28:00 +08:00
afc163
679d377e87 fix select error of calendar 2015-12-27 23:39:33 +08:00
afc163
c45c6877f8 fix lint problems 2015-12-27 16:20:59 +08:00
afc163
d759d1f489 Datepicker => DatePicker, Timepicker => TimePicker 2015-12-10 16:30:18 +08:00
afc163
16abf46071 Fix markdown eslint errors, update .eslintrc 2015-11-25 18:10:34 +08:00
yiminghe
697fb5d8f9 add locale for calendar 2015-11-16 20:24:37 +08:00
yiminghe
162bcf3aca upgrade calendar 2015-11-16 20:10:29 +08:00
血诺
37437014ae add header select minWidth style 2015-11-16 15:07:02 +08:00
afc163
d907ce62da better code style 2015-11-16 14:20:15 +08:00
血诺
d517a2d030 fix mode change when click month cell 2015-11-16 14:20:15 +08:00
afc163
652195c9f7 Fix calendar controlled value 2015-11-15 21:40:01 +08:00
afc163
e54cd51162 make calendar value can be changed from outside 2015-11-15 15:46:05 +08:00
afc163
081be0c842 Add notice calendar demo 2015-11-13 22:34:49 +08:00
afc163
077f7de4ba improve calendar style 2015-11-13 21:24:25 +08:00
afc163
5540ac7c9c type => mode 2015-11-13 20:32:54 +08:00
afc163
cf48526655 props.value is original Date object now 2015-11-13 20:20:54 +08:00
afc163
e8bc6f58ba rm NoteList, it should be in demo 2015-11-13 19:56:34 +08:00
afc163
4b4b2dbe36 custom render demo 2015-11-13 19:19:08 +08:00
afc163
756cea0524 typo 2015-11-13 18:21:13 +08:00
afc163
1dadd262b9 update calendar 2015-11-13 18:20:22 +08:00
血诺
4c50d5caf2 docs add onTypeChange 2015-11-13 17:27:30 +08:00
血诺
62bc47300a add onTypeChange 2015-11-13 15:11:38 +08:00
血诺
522c3fb0e7 remove selected cell style 2015-11-13 14:56:16 +08:00
血诺
1ec5bbb66f fix details 2015-11-12 23:51:38 +08:00
血诺
d950c63c80 improve calendar 2015-11-12 21:34:33 +08:00
血诺
6c5a051d92 change listdata to listData 2015-11-11 14:32:58 +08:00
血诺
a2e7ff51fb fix details 2015-11-11 14:30:15 +08:00
血诺
a3e4043567 fix cols 2015-11-11 13:41:22 +08:00
血诺
7f4854a2c1 fix&improve 2015-11-11 13:11:47 +08:00
血诺
4db12ff733 add components/calendar 2015-11-11 13:11:47 +08:00