ant-design/components/_util
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: menu support z-index manager (#45498) 2023-10-24 22:25:32 +08:00
hooks feat: Add useMultipleSelect hooks, transfer supports multiple select by holding down the shift key. (#45285) 2023-10-26 11:46:22 +08:00
wave feat: Watermark support nest Modal & Drawer (#44104) 2023-08-08 16:48:26 +08:00
ActionButton.tsx refactor: convertLegacyProps function moved to buttonHelpers (#44777) 2023-09-12 11:38:11 +08:00
capitalize.ts refactor: cssinjs for tag (#34422) 2022-03-15 15:33:50 +08:00
colors.ts refactor: merge preset colors (#39742) 2023-01-06 11:06:46 +08:00
easings.ts chore: fix some eslint problems (#24836) 2020-06-08 18:01:50 +08:00
extendsObject.ts fix(list): fix error reported due to incorrect paginator parameters (#39681) 2022-12-24 15:05:33 +08:00
gapSize.ts refactor: extract public methods (#44737) 2023-09-10 14:34:22 +08:00
getRenderPropValue.ts chore: type optimization (#38460) 2022-11-09 17:36:49 +08:00
getScroll.ts chore: remove useless tsx support (#39890) 2022-12-29 18:33:13 +08:00
isNumeric.ts chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0 (#28253) 2020-12-09 17:12:32 +08:00
motion.ts fix: Select like dropdown motion (#43764) 2023-07-25 10:54:58 +08:00
placements.ts fix: Popover shift (#45015) 2023-09-22 15:00:44 +08:00
PurePanel.tsx docs: optimize site layout (#44111) 2023-08-08 19:48:41 +08:00
reactNode.ts type: optimization AnyObject type (#43366) 2023-07-05 16:54:04 +08:00
responsiveObserver.ts feat: Descriptions items.span support responsive config (#44534) 2023-08-30 22:09:32 +08:00
scrollTo.ts type: update any with void (#42690) 2023-05-29 01:26:23 +08:00
statusUtils.ts chore: remove useless tsx support (#39890) 2022-12-29 18:33:13 +08:00
styleChecker.ts refactor: remove Space & Grid IE compatible logic (#44620) 2023-09-05 10:17:56 +08:00
throttleByAnimationFrame.ts refactor: rewrite Affix CC => FC (#42674) 2023-10-07 18:53:14 +08:00
transButton.tsx revert: "chore: unified import method (#42149)" (#42180) 2023-05-06 15:49:37 +08:00
transKeys.ts chore: remove useless tsx support (#39890) 2022-12-29 18:33:13 +08:00
type.ts feat: App support component (#45292) 2023-10-12 11:08:01 +08:00
warning.ts Merge branch 'master' into feature-merge-master 2023-09-16 11:11:47 +08:00
zindexContext.ts feat: Modal & Select support z-index context to manage z-index (#45346) 2023-10-19 02:03:20 -05:00