Commit Graph

298 Commits

Author SHA1 Message Date
Bruce Mitchener
63c06e8652 Use ES2015 classes instead of React.createClass.
Make Breadcrumb, Checkbox, Dropdown, Steps and Timeline
components use ES2015 classes rather than React.createClass.

This includes:

* getDefaultProps method becomes a defaultProps value on the
  constructor.
* propTypes becomes a value on the constructor.
2016-03-18 09:35:15 +07:00
闲耘™
e0172caee4 feat(checkbox group): checkbox group support disable specified item. 2016-03-17 11:31:36 +08:00
afc163
ca15c9832e CheckboxGroup support label in option
close #1155, #1025
2016-03-09 21:10:00 +08:00
Benjy Cui
e571fb359c Merge pull request #1029 from ant-design/checkbox-new-usage
Make Checkbox usage same as Radio
2016-03-08 17:17:39 +08:00
afc163
7ce38e39b6 Fix CheckboxGroup value, close #1101 2016-03-01 17:01:03 +08:00
afc163
feaf02b406 make Checkbox usage same as Radio 2016-02-24 20:28:23 +08:00
afc163
c63f0b8060 update demo text 2016-02-21 14:14:59 +08:00
afc163
e539e08f4e Fix CheckboxGroup initial state 2016-02-21 14:13:33 +08:00
Benjy Cui
29825f20c8 style: update code style to please lint 2016-02-17 18:04:42 +08:00
Benjy Cui
cd1391e6a2 style: update code style for object-curly-spacing 2016-01-27 17:00:58 +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
4cd73289b3 update checkbox use instruction, fix #860 2016-01-13 21:56:51 +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
c45c6877f8 fix lint problems 2015-12-27 16:20:59 +08:00
afc163
ca4f159145 update demo name 2015-12-25 11:56:25 +08:00
afc163
e14ee95e8f improve checkbox group
1. Add basic style
2. make it controlled component
3. code style
2015-12-25 11:48:59 +08:00
加缪
1f8e83c649 again fix group.md 2015-12-25 11:48:59 +08:00
加缪
6c5794e8ee fix group.md eslint 2015-12-25 11:48:59 +08:00
加缪
5000fa6b87 fix ant-design eslint 2015-12-25 11:48:59 +08:00
加缪
e0e94ef709 checkbox demo complete 2015-12-25 11:48:58 +08:00
Benjy Cui
7f2957b23b style: unify demos' code style 2015-12-16 15:25:15 +08:00
afc163
d9eaffb0c8 upgrade nico-jsx for marked and babel6 inside it 2015-12-03 17:41:44 +08:00
afc163
d1d3329674 fix boolean attribute lint errors 2015-11-25 18:10:35 +08:00
afc163
16abf46071 Fix markdown eslint errors, update .eslintrc 2015-11-25 18:10:34 +08:00
afc163
753c01ae18 ES6 syntax for demo code
fix antd.notification
2015-10-28 20:55:49 +08:00
afc163
cad3fdff45 lg => large, sm => small 2015-10-26 11:02:48 +08:00
yiminghe
76b0f673ec beta2 2015-10-20 16:47:55 +08:00
Benjy Cui
5b86a4be1d refactor: replace button tag with Button component 2015-10-08 15:13:04 +08:00
afc163
fdf19520d6 Add component type 2015-08-22 20:16:24 +08:00
afc163
dc62d38456 fix code style 2015-08-18 14:03:44 +08:00
ustccjw
b34269a6b1 use es6 module import/export
convert var to const

fix bug

fix bug

fix for jshint

fix import
2015-07-24 11:22:49 +08:00
afc163
fa9914f34a components order 2015-07-20 12:28:36 +08:00
afc163
0e9335246c fix checkbox and radio 2015-07-17 11:06:38 +08:00
jljsj
200b856bba add radio 2015-07-16 18:23:25 +08:00
afc163
f394747429 fix checkbox demo 2015-07-16 14:48:57 +08:00
afc163
1638d49892 update checkbox demos 2015-07-16 14:34:42 +08:00
afc163
d651364968 whitespace 2015-07-16 13:49:36 +08:00
afc163
8a84bb264b Merge 2015-07-16 13:36:04 +08:00
yiminghe
d1cfcc83db update checkbox demo 2015-07-16 12:29:07 +08:00
afc163
86b722671a update checkbox style 2015-07-16 12:27:04 +08:00
yiminghe
5ffcbfefb4 fix checkbox style 2015-07-16 12:20:14 +08:00
蔡伦
40595178ce demo update 2015-07-15 16:01:24 +08:00
蔡伦
26c42c6cec add checkbox 2015-07-15 15:19:24 +08:00