Commit Graph

83 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
72db02ef04 Add icon prop for Button, close #1199 2016-03-25 18:13:51 +08:00
闲耘™
8d817e6eee update(propTypes): more restrictions on propTypes 2016-03-16 11:27:27 +08:00
闲耘™
1c35bd3d9d refact(regexp): better regexp 2016-03-15 21:39:23 +08:00
afc163
ed3cda06a2 update button docs 2016-03-13 13:19:43 +08:00
afc163
f7fb5b29f9 Fix click effect in Popconfirm button 2016-03-03 21:33:02 +08:00
afc163
4446e73fda remove button border-radius fallback 2016-02-23 16:24:07 +08:00
afc163
c3014c26a1 Fix button click arguments 2016-02-23 00:05:26 +08:00
afc163
be3a90fbc6 Add click effect for primary button, close #942 2016-02-22 13:52:52 +08:00
Benjy Cui
29825f20c8 style: update code style to please lint 2016-02-17 18:04:42 +08:00
afc163
78d3653620 update button group demo 2016-01-28 14:23:09 +08:00
afc163
fcbd6015bd fix button-group disable button border, close #926 2016-01-25 21:06:32 +08:00
afc163
d271e92b8e Merge master 2016-01-14 15:35:21 +08:00
afc163
413e816c98 update button doc 2016-01-14 15:24:54 +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
c5df2c0fac update button demo text 2015-12-28 13:57:02 +08:00
afc163
2699f5075c update button loading 2015-12-28 13:49:58 +08:00
afc163
5e1f611863 Add dashed button, ref #413 2015-11-30 18:26: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
ce76ebfe9b replace rcUtil.classSet by classnames, ref react-component/util#1 2015-11-24 20:03:57 +08:00
Benjy Cui
5fd6999866 feat: make Button easy to use 2015-11-03 14:25:36 +08:00
afc163
25368de60b update button demo style 2015-10-30 17:04:22 +08:00
afc163
f526703bf8 update disabled button demo 2015-10-30 17:00:06 +08:00
偏右
4eef432425 Update index.md 2015-10-29 23:17:25 +08:00
afc163
753c01ae18 ES6 syntax for demo code
fix antd.notification
2015-10-28 20:55:49 +08:00
afc163
7c9892a9c7 Add Button propsType 2015-10-28 15:45:31 +08:00
afc163
602c2d1f9d support border radius in ie8 via css3pie 2015-10-27 16:26:56 +08:00
afc163
5a50df6b78 use ghost button to match primary button 2015-10-26 11:08:36 +08:00
afc163
cad3fdff45 lg => large, sm => small 2015-10-26 11:02:48 +08:00
afc163
415fa383e3 unify all size prop to: large default small 2015-10-22 21:01:52 +08:00
yiminghe
76b0f673ec beta2 2015-10-20 16:47:55 +08:00
Benjy Cui
1e45e02e8a feat: add support for htmlType 2015-10-09 16:55:07 +08:00
Benjy Cui
f4ca0798de refactor: generate className with rcUtil.classSet 2015-10-09 16:42:08 +08:00
Benjy Cui
5b86a4be1d refactor: replace button tag with Button component 2015-10-08 15:13:04 +08:00
afc163
93c181677a Merge branch develop-0.10.0 2015-10-06 12:55:01 +08:00
Benjy Cui
2f771b0482 feat: button should be a component 2015-10-05 15:19:07 +08:00
elrrrrrrr
bcc4265201 chore: 迁移 button iconfont
- 手动加上 margin-right 8px
2015-10-02 15:04:28 +08:00
afc163
47bb3d620d update button/index.md 2015-08-25 16:49:27 +08:00
afc163
fdf19520d6 Add component type 2015-08-22 20:16:24 +08:00
afc163
6313d98349 update button demo 2015-08-21 15:58:04 +08:00
afc163
43c53f1d8d loading button should be unhandlable 2015-07-30 11:15:03 +08:00
afc163
b8ef693afc button loading animation effect 2015-07-29 22:23:55 +08:00
afc163
9acba5d4ae change category 2015-07-29 16:30:26 +08:00
afc163
a83b90decc button 2015-07-05 17:42:56 +08:00
afc163
0110b82ad9 update 2015-07-05 17:40:52 +08:00