Commit Graph

318 Commits

Author SHA1 Message Date
Benjy Cui
fd3406bd03 style: enable react/jsx-no-bind 2016-03-30 17:06:19 +08:00
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
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
afc163
d7f46a05b3 update docs 2016-03-16 22:06:02 +08:00
afc163
079f2a657d Allow close last tab, fix #1071 2016-03-02 20:25:19 +08: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
9d022ff84c style: update code style to please lint 2016-02-17 15:57:33 +08:00
Benjy Cui
cd1391e6a2 style: update code style for object-curly-spacing 2016-01-27 17:00:58 +08:00
Benjy Cui
d06935528e feat: customized size first 2016-01-27 12:00:27 +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
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
2ab49d7b3c update demo text 2015-12-17 13:44:04 +08:00
afc163
6f3bbce39b update tabs demo 2015-12-17 12:39:26 +08:00
afc163
54087d7488 update tabs doc 2015-12-17 12:36:10 +08:00
afc163
a334065edb Add card tabs on container top 2015-12-17 12:33:34 +08:00
Benjy Cui
7ed1d78150 docs: add doc for tabPosition 2015-12-17 10:04:07 +08:00
afc163
7eb3c04a1e Add tabPostion bottom 2015-12-16 11:53:52 +08:00
afc163
734dcc142a update tabs document 2015-12-15 17:30:06 +08:00
afc163
c43d59dbb4 update editable-card.md 2015-12-15 16:38:53 +08:00
afc163
12c1272354 rewrite editable card 2015-12-15 16:34:02 +08:00
afc163
b115f000f9 Fix some style and react key problems 2015-12-15 11:38:27 +08:00
afc163
349d03e384 update tabs document 2015-12-14 22:20:29 +08:00
afc163
257d90fce1 Add editable tabs example 2015-12-14 22:16:25 +08:00
afc163
6f04d7c1a7 Add type=card tabs 2015-12-14 16:30:15 +08:00
afc163
759baedadd update tabs demo 2015-12-13 20:08:58 +08:00
afc163
23e1ad362b update tabs document 2015-12-10 17:47:51 +08:00
jljsj
ad1a97d0aa add tabs default animation,remove Api animation 2015-12-02 18:06:16 +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
b5e40560bf update demo style 2015-10-31 17:35:50 +08:00
afc163
3a68e2fe1f update tabs demo 2015-10-29 15:27:43 +08:00
afc163
d375942e4b update tabs demo 2015-10-29 15:23:58 +08:00
afc163
753c01ae18 ES6 syntax for demo code
fix antd.notification
2015-10-28 20:55:49 +08:00
yiminghe
17b1ec14f8 add tabs add demo 2015-10-26 10:56:09 +08:00
afc163
6757dc8199 Hide unfinish demo 2015-10-22 23:54:56 +08:00
afc163
415fa383e3 unify all size prop to: large default small 2015-10-22 21:01:52 +08:00
yiminghe
fdee139459 add className for table 2015-10-22 17:28:12 +08:00
afc163
b6cdeb157d Add vertical tabs, fix #398 2015-10-21 20:00:02 +08:00
yiminghe
1e43c9ddc5 upgrade tabs 2015-10-21 14:53:48 +08:00
yiminghe
76b0f673ec beta2 2015-10-20 16:47:55 +08:00
elrrrrrrr
b7a922a895 chore: 迁移 tabs iconfont 2015-10-02 16:36:48 +08:00
afc163
691b0147b1 update eslintrc and fix code 2015-09-01 16:19:39 +08:00
afc163
fdf19520d6 Add component type 2015-08-22 20:16:24 +08:00
afc163
c2933a8e52 update tabs style 2015-08-06 16:47:01 +08:00
jljsj
0673ba9d16 更新转场新增按钮交互与更新motion里的select 2015-08-03 16:04:24 +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
ustccjw
41c35903a4 remove use strict 2015-07-23 21:36:34 +08:00
afc163
fa9914f34a components order 2015-07-20 12:28:36 +08:00
afc163
66c645d4ab update select combobox demo 2015-06-19 17:52:50 +08:00
afc163
b0bbbdd245 add tab mini size demo 2015-06-19 17:26:34 +08:00
afc163
e8fd51f593 fix tabs style 2015-06-19 16:21:59 +08:00
afc163
b6561a9942 fix tabs style 2015-06-19 15:45:40 +08:00
afc163
757a1b3f8b update tabs demos 2015-06-17 20:28:02 +08:00
afc163
d868a30661 prefixClassName ant-tab -> ant-tabs 2015-06-15 20:04:32 +08:00
yiminghe
1316b07cfd rename tab to tabs 2015-06-15 19:56:58 +08:00
afc163
120687c314 tabs -> tab 2015-06-15 16:20:06 +08:00
Yuwei Ba
4c1014d905 添加带有 icon 的样式 2015-06-15 16:11:28 +08:00
afc163
737ef1167d Add info for components 2015-06-14 17:54:08 +08:00
Yuwei Ba
3a4817b236 添加更多 Demo 2015-06-12 20:21:13 +08:00
Yuwei Ba
b870935c91 Tabs -> Tab 2015-06-12 20:03:38 +08:00
afc163
b9b6cd33d0 components order 2015-06-12 17:49:30 +08:00
yiminghe
90241a7efe fix prefixCls 2015-06-12 12:01:02 +08:00