Commit Graph

71 Commits

Author SHA1 Message Date
二货机器人
317c6469a2
Revert "feat: add api for transfer (#29288)" (#29541)
This reverts commit 15580483ce.
2021-02-28 11:00:44 +08:00
Eating-Eating
15580483ce
feat: add api for transfer (#29288)
* feat: add api for transfer

* feat: Transfer new feature

* Update components/transfer/__tests__/index.test.js

Co-authored-by: afc163 <afc163@gmail.com>

* Update components/transfer/demo/advanced.md

Co-authored-by: afc163 <afc163@gmail.com>

* Update components/transfer/index.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>

* Update components/transfer/index.tsx

Co-authored-by: afc163 <afc163@gmail.com>

* fix: change another way

* fix: add test

* fix: defaultFooterRender test failed

* fix: comment in English

* fix: delete unnecessary blank line

* fix: fix describe error

* fix: add version and Type Guard

* fix: transfer docs

* fix: docs

* fix: docs grammar err

Co-authored-by: SimpleZhang <simplezhang@yeahka.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-02-22 18:41:02 +08:00
偏右
a0eb9d31de
chore: merge master into feature (#28751)
* fix: Transfer dataSource cannot be immutable (#28675)

close #28662

* docs: fix errors in example code (#28677)

* ci: expand ie check (#28673)

* ci: expand ie check

* Update issue-open-check.yml

* perf(📦): reduce @babel/runtime package size (#28678)

* perf(📦): reduce @babel/runtime package size

04cd73dea1

* chore(🆙): upgrade @ant-design/react-slick to esm support version

* upgrade @ant-design/tools

* ci: add open condition (#28682)

* fix(Slider): forcePopupAlign null when unmounted (#28699)

* docs: Update overview.zh-CN.md (#28703)

* docs: Update resources.en-US.md (#28701)

* chore: bump rc-select to 12.1.0 (#28715)

* fix: stylelint plugin (#28730)

* Update package.json

* perf(📦): upgrade rc-image to 5.x (#28727)

* refactor: upgrade rc-image to 5.x

reduce bundle size

* upgrade rc-image

* upgrade @ant-design/tools

https://github.com/ant-design/antd-tools/pull/226

* rc-image 5.0.0

* fix image preview icon missing

* refactor code

* docs: example of synchronous rc-tree (#28648)

* ci: fix outputs type

过程中的使用 string。奇怪啊,之前测试过的,今天点的时候发现不行了

* Update package.json

* fix: site overflow cause sticky invalid (#28741)

* fix: site overflow cause sticky invalid

* disable auto scroll

* chore: upgrade rc-dialog and rc-drawer (#28749)

* chore: upgrade rc-dialog and rc-drawer (#28687)

* chore: upgrade rc-dialog and rc-drawer

* upgrade rc-util

* update snapshots

* upgrade rc-util

* upgrade rc-util

* update snapshots

* upgrade rc-dialog

* perf: remove duplicated rc-dialog

Co-authored-by: 骗你是小猫咪 <darryshaw@gmail.com>

Co-authored-by: bigbigbo <zxb141242@163.com>
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: Yann Pringault <yann.pringault@gmail.com>
Co-authored-by: godfather <greenday.wj@foxmail.com>
Co-authored-by: Mateusz Wierzbicki <22788841+mateusz-wierzbicki@users.noreply.github.com>
Co-authored-by: Kermit <kermitlx@outlook.com>
Co-authored-by: AkiJoey <akijoey1010635951@gmail.com>
Co-authored-by: qqabcv520 <605655316@qq.com>
Co-authored-by: 骗你是小猫咪 <darryshaw@gmail.com>
2021-01-08 10:14:01 +08:00
afc163
7057556379 refactor: Transfer demo to hooks 2020-12-12 12:14:14 +08:00
偏右
07a38653ee
refactor: simplify Transfer dom structure (#26334)
* refactor: simplify Transfer dom structure

* fix eslint
2020-08-22 17:55:09 +08:00
xrkffgg
efdbb21f08
docs: reduce demo transfer/upload (#25487) 2020-07-08 08:58:45 +08:00
二货机器人
b0e528d14c
feat: Transfer support oneWay (#24041)
* use flex

* show clear btn

* support one way

* add dropdown

* add pagination

* support pagination

* use flex

* operation stretch

* pagination works

* update selection logic

* no need to show checkbox on pagination

* fix tree demo

* support invert selection

* remove current pages

* update style

* update snapshot

* clean up

* update test case

* update test case

* update snapshot

* fix lint

* add deps

* update doc

* update hover style

* update hover checked style

* adjust demo & active region

* fix lint

* update snapshot
2020-05-13 19:15:40 +08:00
Teng YANG
347fea69ee
feat: resolve #20728 customize header checkbox labels in Transfer (#21139)
* add checkboxLabels prop in Transfer

* change prop to `selectAllLabels` and add demo

* update transfer demo test snapshot

* refine param in one object and update demo
2020-02-04 10:16:23 +08:00
二货机器人
1168cb5909
docs: Update demo remove table background (#20593) 2020-01-02 15:47:30 +08:00
orzyyyy
b054ce3874 chore: adjust indent & revert demo & fix lint problem 2019-08-06 15:36:13 +08:00
orzyyyy
872ada07e7 fix: lint:demo 2019-08-06 15:31:59 +08:00
afc163
94ad706e53
Resolve conflict with feature branch 2019-05-07 17:22:47 +08:00
zombieJ
543b620dd2
feat: Support Transfer render (#16026)
* clean up

* refactor select all logic

* omit old api to render children

* add search

* remove useless code

* fix logic

* Table demo

* update demo

* fixed min-height

* fix normal style

* style update

* update snapshot

* update snapshot

* update version

* update doc

* update md desc

* update test case

* fix test typo

* update demo

* update snapshot

* typescript correction

* update docs

* add Tree Transfer demo

* default expand all

* update demo
2019-05-07 17:10:42 +08:00
afc163
b780070351
💄 prittier all files 2019-05-07 14:57:32 +08:00
afc163
7c5029cf17
📝 improve transfer doc 2018-12-07 14:23:04 +08:00
zombiej
9f5d421cd6 merge master 2018-11-30 14:48:37 +08:00
afc163
83c192ea3e
💄 fix eslint problems 2018-11-28 15:11:02 +08:00
zombieJ
ca080ac6ea Transfer support onSearch (#12422)
* add onSearch

* add warning

* update doc

* add test case

* add legacy onSearchChange test
2018-10-12 23:47:42 +08:00
zombieJ
f9dd709e2f Transfer support disabled (#12084) 2018-09-15 15:18:59 +08:00
afc163
009ed08580 upgrade eslint-config-airbnb 2018-06-27 16:09:58 +08:00
afc163
475e4ff23d upgrade eslint-config-airbnb 2017-10-09 13:27:35 +08:00
Benjy Cui
12a6060304 docs: fix code style 2017-05-15 14:37:22 +08:00
Benjy Cui
00cdb7d888 feat: support Transfer[onScroll], close: #4188 (#5084) 2017-03-01 11:07:19 +08:00
bang
fcf9bafb18 docs: Rewrite Transfer demos to ES6 component 2017-02-19 19:51:40 +07: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
Benjy Cui
3e17551b7e site: improve build speed 2017-01-19 15:22:53 +08:00
Wei Zhu
d20572bdab test: demo snapshot testing (#3916)
* Run snapshot testing against all demos

* Split demo tests

* ignore coverage folder

* Upgrade antd-demo-jest

* enable cache

* intergate with coveralls.io

* Add node test

* Set worker to 2

https://github.com/facebook/jest/issues/1742

* config coverage

* Set default supportServerRender to true
2016-11-22 13:43:53 +08:00
afc163
733a4cdc40 remove default chinese text in Transfer (#3768) 2016-11-09 20:30:31 +08:00
Benjy Cui
7042e09a99 feat: add controlled property Transfer[selectedKeys], close: #3729 2016-11-07 13:52:24 +08:00
afc163
7373ce0758 Add react-lazy-load for Transfer perfermance, close #2860 2016-11-04 15:08:39 +08:00
afc163
84b70ac140 fix key={0} in demo, close #3546 2016-10-24 11:06:31 +08:00
Benjy Cui
31615c9793 feat: support disabled item for Transfer, close: #3038 (#3044)
* feat: support disabled item for Transfer, close: #3038

* refactor: Transfer
2016-09-19 17:52:20 +08:00
Benjy Cui
d644a01f89 feat: add Transfer[onSelectChange], close: #2968 (#2984) 2016-09-18 10:44:22 +08:00
afc163
da6b65f7f0 Merge 1.x-stable 2016-08-12 14:47:01 +08:00
afc163
cd98aab871 Fix transfer list item overflow style, close #2674 2016-08-10 17:46:36 +08:00
afc163
b200f8a2d8 Merge 1.x-stable 2016-08-08 14:12:02 +08:00
Benjy Cui
6687c12b82 feat: support Transfer[filterOption], close: #2324 2016-08-05 10:49:54 +08:00
Benjy Cui
37a3861c65 docs: sync, ref: #2607 2016-08-04 09:45:50 +08:00
Marius Ileana
05ba63bccc docs: Review of transfer / demo / advanced.md (#2608) 2016-08-04 09:25:07 +08:00
Benjy Cui
95c353de63 docs: sync, ref: #2609 2016-08-04 09:23:10 +08:00
Marius Ileana
77940b77f0 docs: Review of transfer / demo / basic.md (#2609) 2016-08-04 09:13:36 +08:00
lixiaochou077
6f620b0e91 docs: translate transfer (#2586) 2016-08-03 10:10:13 +08:00
afc163
8bf0a7e7f7 update demo 2016-07-07 18:09:17 +08:00
afc163
cc2b65c815 update transfer demo 2016-06-27 14:53:42 +08:00
Benjy Cui
2144349741 style: enable react/jsx-closing-bracket-location 2016-06-06 13:54:10 +08:00
Leon Shi
6a0c21f202 Add demo of custom render for Transfer item 2016-05-18 15:57:09 +08:00
Benjy Cui
ecaa6c56c3 style: enable comma-dangle 2016-05-11 09:32:33 +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