ant-design/components/table/hooks
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
..
useFilter fix: dropdown not trigger onOpenChange when click menu item (#45378) 2023-10-17 14:50:54 +08:00
useContainerWidth.ts fix: Table virtual with narrow columns (#44818) 2023-09-13 17:53:54 +08:00
useLazyKVMap.ts revert: "chore: unified import method (#42149)" (#42180) 2023-05-06 15:49:37 +08:00
usePagination.ts chore: TypeScript definition optimization (#41415) 2023-03-25 13:59:21 +08:00
useSelection.tsx feat: Add useMultipleSelect hooks, transfer supports multiple select by holding down the shift key. (#45285) 2023-10-26 11:46:22 +08:00
useSorter.tsx fix: Table sorter tooltip cannot be open when showSorterTooltip is a object (#45403) 2023-10-19 10:08:10 +08:00
useTitleColumns.ts revert: "chore: unified import method (#42149)" (#42180) 2023-05-06 15:49:37 +08:00