Commit Graph

188 Commits

Author SHA1 Message Date
Benjy Cui
fe33e76479 refactor: extract Input.TextArea 2017-07-03 17:26:29 +08:00
afc163
448a3ff4dd Fix operations typo of Transfer, close #6401 2017-06-08 10:37:08 +08:00
Benjy Cui
0e5431d21b deps: upgrade antd-tools and code style 2017-05-25 16:54:15 +08:00
Benjy Cui
12a6060304 docs: fix code style 2017-05-15 14:37:22 +08:00
Benjy Cui
a081100cdc refactor: simplify code 2017-05-11 11:38:32 +08:00
wangtao0101
58922a34c6 fix bug #6075 (#6088)
* fix bug #6075

* add test for PR #6088

* remove test.only
2017-05-11 10:41:14 +08:00
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
2017-05-09 13:40:33 +08:00
wangtao0101
0d070d3763 refactor: improve performance of Transfer #5997 (#6001)
* fix bug #5997

* change order for review
2017-05-08 16:40:12 +08:00
偏右
1a775b1d3b Merge pull request #5964 from megawac/active-item-bg
Add @active-item-bg to control hover and active states
2017-05-04 12:02:55 +08:00
Graeme Yeates
d8d17a6401 Seperate @active-item-bg into 2 variables 2017-05-03 10:57:14 -04:00
afc163
c8d9e64809 Fix Transfer selection when searching text, close #5993 2017-05-03 19:05:31 +08:00
Graeme Yeates
4eb2855871 Add @active-item-bg to control hover and active states 2017-05-02 11:05:28 -04:00
afc163
ac660d9f3c Fix transfer search bug, close #5631 2017-05-02 15:47:51 +08:00
afc163
f4413a6758 Fix Transfor moving item background 2017-04-15 14:57:20 +08:00
afc163
fc199e47b8 fix snap 2017-04-13 11:18:31 +08:00
Wei Zhu
1a8e738142 Set snapshotSerializers 2017-04-02 18:09:23 +08:00
William Yang
8c8a1797e9 docs:fix api table (#5524) 2017-03-28 10:41:14 +08:00
偏右
674255bd14 [WIP] upgrade deps (#5455)
* upgrade deps

* autofix some tslint problems

* Fix tslint problems manually
2017-03-23 21:15:49 +08:00
Wei Zhu
f6b1e942e3 Jest 19 (#5361)
* Upgeade to jest 19

* Use jest.spyOn
2017-03-17 18:56:30 +08:00
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
2017-03-17 15:23:25 +08:00
afc163
a0cdce4d00 fix test case 2017-03-10 19:22:18 +08:00
Wei Zhu
67bbae9ea8 Merge branch 'feature-2.8' 2017-03-05 21:34:57 +08:00
Benjy Cui
00cdb7d888 feat: support Transfer[onScroll], close: #4188 (#5084) 2017-03-01 11:07:19 +08:00
Benjy Cui
758559f718 test: update snapshots 2017-02-28 16:14:53 +08:00
tianli.zhao
85ca5ed5ea [WIP] filter the disabled options (#4981)
filter the disabled options
2017-02-24 19:08:02 +08:00
bang
fcf9bafb18 docs: Rewrite Transfer demos to ES6 component 2017-02-19 19:51:40 +07:00
afc163
18ec5933b7 fix old react documentation links 2017-02-19 17:02:58 +08:00
Benjy Cui
200b88246f docs: update docs format 2017-02-13 10:55:53 +08:00
afc163
0eb5c689a3 remove type="ghost" from demo 2017-02-04 22:35:33 +08:00
Graeme Yeates
1006015ef0 Add border customization variables (#4734)
* Add border customization variables (#4712)

* Make border styles customizable (fixes #4712)
2017-01-31 16:05:10 +08:00
afc163
f2bb4afd4d Merge from master 2017-01-27 17:23:51 +08:00
paranoidjk
f2e19c16be fix(transfer): checkall should response to filter result; fix #4654 (#4665) 2017-01-27 17:08:12 +08:00
Wei Zhu
77b78a9389 docs: Unify type naming (#4636)
* Unify name of ReactNode type in document

* Lowser all string type name

* Lowercase all number type name

* Lowercase all boolean type name

* Unify array type

* Lowercase all object type name

* Unify mutilple types
2017-01-20 20:10:50 +08:00
afc163
35523be6e9 Merge from master 2017-01-20 18:28:09 +08:00
Benjy Cui
3e17551b7e site: improve build speed 2017-01-19 15:22:53 +08:00
陆离
f54e822930 feat: Transfer on search change (#4464)
*  add `onSearchChange(direction: 'left'|'right') => void ` of Transfer

* typo
2017-01-08 19:14:02 +08:00
偏右
d811ebee5c New color system (#4426)
* Add new color patterns algorithm

* Add color palettes

* update other colors

* fix gray color

* update more tint/shade to colorPalette

* new font color

* Update doc for new color system

* improve doc style
2017-01-01 22:20:06 +08:00
Rex
1b8a280614 support suffix (#4283)
* support suffix

* optimize prefix and suffix

* 1. Optimize prefix and suffix implementation
2. Improve the api document
3. Optimize `Input.Search` implementation

* update snapshots
2017-01-01 01:06:19 +08:00
Benjy Cui
d7498c0af6 Test transfer (#4191)
* refactor: use Checkbox directly

* test: add test case for Transfer
2016-12-16 17:59:52 +08:00
Wei Zhu
07103b9fb6 Don't ignore test files. 2016-12-14 14:48:09 +08:00
Wei Zhu
17a0a33283 Restructure tests. 2016-12-14 14:41:39 +08:00
Benjy Cui
000085eb36 style: update code style for Transfer 2016-12-07 18:08:52 +08:00
afc163
4ac50c660c improve transfer style 2016-12-04 17:08:29 +08:00
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
2016-11-30 10:20:23 +08:00
Benjy Cui
932443099a css: use @component-background, ref: #4040 2016-11-29 11:56:10 +08:00
cathayandy
addb6e44dc Fix #4039. Replace background-color: #fff with background: @body-background (#4040) 2016-11-29 09:54:54 +08:00
afc163
6b0c34bb24 fix tslint 2016-11-28 19:14:43 +08:00
Wei Zhu
bd55d21f83 style: Fix jsx-no-multiline-js (#3994)
* Fix jsx-no-multiline-js

* TimePicker addon test

* Transfer search test
2016-11-25 12:03:39 +08:00
afc163
9183ef0ede Fix Transfer notFound, close #3996 2016-11-24 17:22:54 +08:00
Wei Zhu
52f6f992b3 style: Fix jsx self close, #3966 (#3968) 2016-11-24 14:09:43 +08:00