Benjy Cui
e5699aff68
fix: should not import moment while useless, close : #8013
7 years ago
Benjy Cui
7ea572bfc8
refactor: extract common locale logic ( #7915 )
7 years ago
afc163
cf788d7b4d
Fix TransferProps targetKeys inside Form decorator, close #7807
7 years ago
Benjy Cui
829b5f87bf
feat: make default locale to enUS ( #7553 )
* feat: make default locale to enUS
* test: fix CI
* docs: update getting started
7 years ago
ChaXinyu
14e2a56b75
export components interface ( #7654 )
* export components interface
* export specific props
* fix formItem missed import
7 years ago
afc163
2feef3358c
Fix transfer lazy doc, close #7520
7 years ago
Benjy Cui
8173007402
fix: filterOption of Transfer should be optional, close : #6856
7 years ago
Benjy Cui
0e5431d21b
deps: upgrade antd-tools and code style
8 years ago
Benjy Cui
a081100cdc
refactor: simplify code
8 years ago
wangtao0101
58922a34c6
fix bug #6075 ( #6088 )
* fix bug #6075
* add test for PR #6088
* remove test.only
8 years ago
Tyler
919cb22eb7
Use the prop-types package from npm instead of React.PropTypes ( #6057 )
* Use the prop-types package from npm instead of React.PropTypes
* Remove using of PropTypes from React in docs and site
8 years ago
wangtao0101
0d070d3763
refactor: improve performance of Transfer #5997 ( #6001 )
* fix bug #5997
* change order for review
8 years ago
afc163
c8d9e64809
Fix Transfer selection when searching text, close #5993
8 years ago
偏右
0308138974
[WIP] upgrade deps ( #5455 )
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
8 years ago
偏右
674255bd14
[WIP] upgrade deps ( #5455 )
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
8 years ago
Benjy Cui
8f81594f91
Refactor: introduce injectLocale ( #5289 )
* refactor: extract injectLocale and refactor Pagination, ref: #5103
* refactor: use injectLocale in Popconfirm, ref: #5103
* refactor: use injectLocale in TimePicker
* refactor: use injectLocale in Transfer
* refactor: use injectLocale in TreeSelect
* refactor: remove useless code in AutoComplete
* test: update snapshot
8 years ago
Benjy Cui
00cdb7d888
feat: support Transfer[onScroll], close : #4188 ( #5084 )
8 years ago
tianli.zhao
85ca5ed5ea
[WIP] filter the disabled options ( #4981 )
filter the disabled options
8 years ago
陆离
f54e822930
feat: Transfer on search change ( #4464 )
* add `onSearchChange(direction: 'left'|'right') => void ` of Transfer
* typo
8 years ago
Benjy Cui
d7498c0af6
Test transfer ( #4191 )
* refactor: use Checkbox directly
* test: add test case for Transfer
8 years ago
Benjy Cui
000085eb36
style: update code style for Transfer
8 years ago
Andrey G
a307a7acf7
refactor: remove unnecessary computed props for classNames ( #4055 )
* remove unnecessary computed props for classNames
* rollback autocomplete optimization for possible css style order issue
* update snapshots
* remove more unnecessary computed props at Input
8 years ago
afc163
b69fd4bf9f
fix lints
8 years ago
afc163
733a4cdc40
remove default chinese text in Transfer ( #3768 )
8 years ago
Benjy Cui
7042e09a99
feat: add controlled property Transfer[selectedKeys], close : #3729
8 years ago
Benjy Cui
b39d96ec75
refactor: make variables' name meaningful
8 years ago
afc163
7373ce0758
Add react-lazy-load for Transfer perfermance, close #2860
8 years ago
Benjy Cui
08e21e0a2f
refactor: close : #3490
8 years ago
Benjy Cui
a987e34f6f
fix: Transfer[title] should follow LocaleProvider, ref: #3264 ( #3318 )
8 years ago
Benjy Cui
9c83538621
fix: should work with getFieldDecorator ( #3251 )
8 years ago
Benjy Cui
4663995f69
fix: should follow the targetKeys' order, close : #3152
8 years ago
Benjy Cui
31615c9793
feat: support disabled item for Transfer, close : #3038 ( #3044 )
* feat: support disabled item for Transfer, close : #3038
* refactor: Transfer
8 years ago
feng zhi hao
cad2d19be2
fix: complete loss declaration ( #3068 )
* complete loss declaration
* fix error in ts-lint
* fix Icon name error
8 years ago
Benjy Cui
d644a01f89
feat: add Transfer[onSelectChange], close : #2968 ( #2984 )
8 years ago
afc163
7e77489c8e
Fix ts errors in Transfer
8 years ago
afc163
2e41e35cc6
Fix more tslint problems
8 years ago
偏右
de359d2cf7
fix tslint problems ( #2360 )
8 years ago
yiminghe
94706f1d2c
fix ts
9 years ago
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.
9 years ago
yiminghe
9a0d751f94
refactor to typescript
9 years ago
afc163
3c408e0d22
Improve transfer perfermance, close #2112
9 years ago
Benjy Cui
2144349741
style: enable react/jsx-closing-bracket-location
9 years ago
RaoHai
a243d32dff
remove typeof props.rowKey
9 years ago
RaoHai
d0532db3d7
add rowKey props to Transfer
+ close #1900
9 years ago
jasonslyvia
f4a3b64e14
feat(transfer): add custom render support
9 years ago
RaoHai
190aba24ee
Transfer Datasource 和 CheckedKeys 逻辑修改 ( #1590 )
* Transfer Datasource 和 CheckedKeys 逻辑修改
+ close #1587
+ 当 Transfer 的 Datasource 变化时,会移除组件的 CheckedKeys 中已不在
Datasource 中的 key
* remove leftDataSource and rightDatasource from this.state
9 years ago
Benjy Cui
fd3406bd03
style: enable react/jsx-no-bind
9 years ago
afc163
3eb52e5498
fix a stupid className error
9 years ago
Bruce Mitchener
273e527201
Use static class members for propTypes and friends.
9 years ago
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.
9 years ago