ant-design/components/transfer/__tests__
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
..
__snapshots__ feat: dropdown support z-index manager (#45486) 2023-10-23 06:46:08 -05:00
customize.test.tsx Revert "chore: migrate to vitest (#42506)" (#42900) 2023-06-07 21:59:21 +08:00
demo-extend.test.ts
demo.test.ts
dropdown.test.tsx Revert "chore: migrate to vitest (#42506)" (#42900) 2023-06-07 21:59:21 +08:00
image.test.ts
index.test.tsx feat: Add useMultipleSelect hooks, transfer supports multiple select by holding down the shift key. (#45285) 2023-10-26 11:46:22 +08:00
list.test.tsx feat: Add useMultipleSelect hooks, transfer supports multiple select by holding down the shift key. (#45285) 2023-10-26 11:46:22 +08:00
search.test.tsx docs: mark deprecated for date-picker defaultPickerValue prop (#43781) 2023-09-07 17:56:55 +08:00