ant-design/components/table/__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: menu support z-index manager (#45498) 2023-10-24 22:25:32 +08:00
demo-extend.test.ts feat: Table support virtual (#44349) 2023-08-28 17:36:23 +08:00
demo.test.ts feat: Table support virtual (#44349) 2023-08-28 17:36:23 +08:00
empty.test.tsx fix: Table virtual with narrow columns (#44818) 2023-09-13 17:53:54 +08:00
image.test.ts feat: Table support virtual (#44349) 2023-08-28 17:36:23 +08:00
Table.expand.test.tsx fix: table expandable row header has no top left border radius (#39781) 2022-12-24 14:14:07 +08:00
Table.filter.test.tsx type: fix type errors of React.Key (#44938) 2023-09-20 11:01:49 +08:00
Table.IE.test.tsx feat: Table support scrollTo reference (#45245) 2023-10-11 13:55:20 +08:00
Table.order.test.tsx Revert "chore: migrate to vitest (#42506)" (#42900) 2023-06-07 21:59:21 +08:00
Table.pagination.test.tsx Revert "chore: migrate to vitest (#42506)" (#42900) 2023-06-07 21:59:21 +08:00
Table.rowSelection.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
Table.sorter.test.tsx fix: Table sorter tooltip cannot be open when showSorterTooltip is a object (#45403) 2023-10-19 10:08:10 +08:00
Table.test.tsx feat: Table support scrollTo reference (#45245) 2023-10-11 13:55:20 +08:00
Table.virtual.test.tsx fix: Table virtual with narrow columns (#44818) 2023-09-13 17:53:54 +08:00
type.test.tsx type: Table pagination.position support none as value (#45398) 2023-10-18 13:33:25 +08:00