ant-design/components/transfer
kyriewen 5a45276565
feat: Add useMultipleSelect hooks, transfer supports multiple select by holding down the shift key. (#45285)
* feat: add useMultipleSelect hooks

* docs: update README

* chore: update size limit

* refactor:  prevSelectedIndex ref to state、initial value

* refactor: useMultipleSelect

* refactor: reset last select key after deselect

* chore: useMultipleSelect params type

* refactor: should params key be in useMultipleSelect hooks

* feat: getKey must be required

* chore: useless code

* refactor: remove useless code

* feat: onItemSelect params event must be required

* feat: remove params event

* chore: remove onItemSelect params event; refactor transfer listBody onClick fnName

* revert(modal): revert modal demo dark

* refactor: props onItemSelect

* refactor: onItemSelect fn name

* refactor: transfer children type

* refactor: renderList props

* test: add test case

* chore: args -> arguments

* test(transfer): add test case

---------

Signed-off-by: kyriewen <64134946+zbw-zbw@users.noreply.github.com>
Co-authored-by: zbw01218944 <zbw01218944@alibaba-inc.com>
2023-10-26 11:46:22 +08:00
..
__tests__ feat: Add useMultipleSelect hooks, transfer supports multiple select by holding down the shift key. (#45285) 2023-10-26 11:46:22 +08:00
demo feat: Add useMultipleSelect hooks, transfer supports multiple select by holding down the shift key. (#45285) 2023-10-26 11:46:22 +08:00
hooks fix: Transfer with rowKey will be unselectable (#43115) 2023-06-20 13:41:35 +08:00
style fix: transfer label height (#44471) 2023-08-29 17:56:56 +08:00
index.en-US.md feat(transfer):Add a new direction parameter for filterOption func… (#44417) 2023-08-29 22:53:43 +08:00
index.tsx feat: Add useMultipleSelect hooks, transfer supports multiple select by holding down the shift key. (#45285) 2023-10-26 11:46:22 +08:00
index.zh-CN.md chore: merge master into feature 2023-09-01 00:02:50 +08:00
interface.ts feat: Exposes additional props for pagination component on transfer (#33954) 2022-02-10 13:16:45 +08:00
list.tsx feat: Add useMultipleSelect hooks, transfer supports multiple select by holding down the shift key. (#45285) 2023-10-26 11:46:22 +08:00
ListBody.tsx feat: Add useMultipleSelect hooks, transfer supports multiple select by holding down the shift key. (#45285) 2023-10-26 11:46:22 +08:00
ListItem.tsx feat: Add useMultipleSelect hooks, transfer supports multiple select by holding down the shift key. (#45285) 2023-10-26 11:46:22 +08:00
operation.tsx revert: "chore: unified import method (#42149)" (#42180) 2023-05-06 15:49:37 +08:00
search.tsx revert: "chore: unified import method (#42149)" (#42180) 2023-05-06 15:49:37 +08:00