Commit Graph

73 Commits

Author SHA1 Message Date
Gray Choi
3a36d65c5e rewrite in typescript
#1846

- [x] Carousel
- [x] Cascader
- [x] Transfer
- [x] Tree

-Tree
-checkable is boolean type, instead of assigning a ReactElement to it,
I use Ternary Operators.
2016-07-01 22:03:51 +09:00
Gray Choi
fb9a6963a3 rewrite in typescript
#1846

- [x] Carousel
- [x] Cascader
- [x] Transfer
- [x] Tree

-Tree
 -checkable is boolean type, instead of assigning a ReactElement to it,
I use Ternary Operators.
2016-07-01 21:52:17 +09:00
Mr.Tone
85141db724 Transfer 组件在render后,马上unmount会报setState错误 (#2206)
* Transfer 组件在render后,马上unmount会报setState错误

如题

* _t => timer
2016-06-28 20:01:02 +08:00
afc163
95351bfffa Merge branch '1.x-stable' 2016-06-27 19:31:38 +08:00
afc163
089f1ae512 update components category name 2016-06-27 18:21:12 +08:00
afc163
ef4c1a4749 Merge branch '1.x-stable' 2016-06-27 17:58:16 +08:00
afc163
cc2b65c815 update transfer demo 2016-06-27 14:53:42 +08:00
yiminghe
9a0d751f94 refactor to typescript 2016-06-22 13:19:48 +08:00
afc163
3c408e0d22 Improve transfer perfermance, close #2112 2016-06-21 17:41:39 +08:00
Benjy Cui
2144349741 style: enable react/jsx-closing-bracket-location 2016-06-06 13:54:10 +08:00
RaoHai
a243d32dff remove typeof props.rowKey 2016-06-02 16:15:19 +08:00
RaoHai
d0532db3d7 add rowKey props to Transfer
+ close #1900
2016-05-30 17:02:08 +08:00
Leon Shi
6a0c21f202 Add demo of custom render for Transfer item 2016-05-18 15:57:09 +08:00
jasonslyvia
f4a3b64e14 feat(transfer): add custom render support 2016-05-17 20:23:33 +08:00
Benjy Cui
8842d9342a site: update components' type 2016-05-16 15:41:55 +08:00
Benjy Cui
ecaa6c56c3 style: enable comma-dangle 2016-05-11 09:32:33 +08:00
RaoHai
190aba24ee Transfer Datasource 和 CheckedKeys 逻辑修改 (#1590)
*  Transfer Datasource 和 CheckedKeys 逻辑修改

 + close #1587
 + 当 Transfer 的 Datasource 变化时,会移除组件的 CheckedKeys 中已不在
 Datasource 中的 key

* remove leftDataSource and rightDatasource from this.state
2016-05-06 12:09:26 +08:00
afc163
03cb74ead5 upgrade eslint-config-airbnb version and fix some problems 2016-04-29 12:13:27 +08:00
afc163
0ca6a1c24a css modularize (#1448)
* css modularize

* Add alert style

* Move more component style

* Move iconfont to common style

* Move layout style

* Move more component style

* Move all components

* Fix lots of mixin deps

* remove css-prefix from less

* fix a button icon style bug

* restructure

* fix index

* add dist

* fix jest

* fix some components style

* clean webpack config

* check more components style

* update tabs

* update scripts

* update scripts

* fix form style

* fix more style

* Fix select width

* Fix form and tabs style
2016-04-27 20:44:36 +08:00
afc163
8a9a1d2334 fix checkbox style 2016-04-15 23:34:40 +08:00
Benjy Cui
9d95313d03 chore: suppress warning 2016-04-14 11:22:53 +08:00
Benjy Cui
df3ba36720 docs: remove useless newline in documentation 2016-04-01 10:08:19 +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
afc163
590692d101 Merge branch 'develop-1.0.0' of github.com:ant-design/ant-design into develop-1.0.0 2016-03-29 17:37:31 +08:00
afc163
ba8d9b7dc3 Merge branch 'master' into develop-1.0.0 2016-03-29 17:36:58 +08:00
afc163
3eb52e5498 fix a stupid className error 2016-03-29 17:19:31 +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
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
Bruce Mitchener
5c5d94c4f9 Typo fix: Incorrect capitalization. 2016-03-25 10:52:27 +07:00
afc163
2fa1d0f9a5 Add component locale support for Transfer 2016-03-10 10:32:50 +08:00
afc163
400b7b8a27 Add notFountContent for transfer, close #1142 2016-03-07 12:01:49 +08:00
afc163
dea88ba37e Fix transfer searchPlaceholder 2016-03-07 11:57:51 +08:00
afc163
80baae87cd Fix Object.assign via spread operator 2016-02-23 16:28:41 +08:00
Benjy Cui
7668473f17 style: update demo's code style 2016-02-22 16:34:16 +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
afc163
949f6f1a12 fix eslint of no-unneeded-ternary 2016-02-06 15:54:39 +08:00
afc163
6327220266 Improve Transfer onChange, close #972 2016-02-01 14:07:17 +08:00
afc163
31ae114a19 fix(transfer): fix compatibility es2015 function, close #944 2016-01-27 16:46:42 +08:00
afc163
a16903009e merge from master 2016-01-13 22:22:33 +08:00
afc163
033acfd0f4 Fix transfer search 2016-01-13 16:28:36 +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
9f48f665a6 Add animation for transfered item 2015-12-29 15:48:51 +08:00
afc163
91bd7f22c0 use mountNode replace the long getElementById 2015-12-29 12:08:58 +08:00