ant-design/components/_util
kiner-tang(星河) 5236fa8d26
feat: Optimized closable component's aria props (#53410)
* feat: Optimized closable component's aria props

* Update components/_util/hooks/useClosable.tsx

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: kiner-tang(星河) <1127031143@qq.com>

* feat: opt code

* feat: opt code

* feat: opt code

* feat: opt code

* feat: opt code

* feat: opt code

* feat: opt code

* feat: opt code

* chore: add a11y def

* chore: update a11y ts

* chore: clean up

* chore: clean up

* docs: update demo

---------

Signed-off-by: kiner-tang(星河) <1127031143@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-04-24 18:36:18 +08:00
..
__tests__ chore: auto merge branches (#53354) 2025-03-31 11:12:17 +00:00
hooks feat: Optimized closable component's aria props (#53410) 2025-04-24 18:36:18 +08:00
wave type: React.CSSProperties shoule support CSS var (#52721) 2025-02-13 15:25:21 +08:00
ActionButton.tsx enhance: not trigger scroll on ActionButton (#51647) 2024-11-15 14:51:43 +08:00
aria-data-attrs.ts feat: make statistic component support html role and data-* and aria-* attributes (#47149) 2024-01-26 15:27:02 +08:00
capitalize.ts refactor: cssinjs for tag (#34422) 2022-03-15 15:33:50 +08:00
colors.ts docs: format code (#48309) 2024-04-08 14:04:08 +08:00
ContextIsolator.tsx refactor: add boime lint and fix lint errrors (#49536) 2024-06-22 21:59:12 +08:00
convertToTooltipProps.ts feat(float-button): support TooltipProps (#53138) 2025-03-13 11:02:06 +08:00
easings.ts chore(deps): update dependency eslint to v9 (#50690) 2024-09-19 03:30:19 +08:00
extendsObject.ts chore: type refactor (#46346) 2023-12-09 13:31:45 +08:00
gapSize.ts refactor: extract public methods (#44737) 2023-09-10 14:34:22 +08:00
getAllowClear.tsx fix: color picker controlled value (#47816) 2024-03-25 20:10:47 +08:00
getRenderPropValue.ts chore: type refactor (#46346) 2023-12-09 13:31:45 +08:00
getScroll.ts refactor: add boime lint and fix lint errrors (#49536) 2024-06-22 21:59:12 +08:00
index.en-US.md docs: Fixed typo (#48393) 2024-04-11 12:09:37 +08:00
index.zh-CN.md docs: update components/_util/index.zh-CN.md (#50235) 2024-08-05 12:50:19 +08:00
isPrimitive.ts fix(dropdown): support ReactNode type value (#50174) 2024-12-14 23:17:52 +08:00
mediaQueryUtil.ts refactor: optimization compatible logic (#53107) 2025-03-24 10:24:12 +08:00
motion.ts chore(deps): update dependency eslint to v9 (#50690) 2024-09-19 03:30:19 +08:00
placements.ts chore(deps): update dependency eslint to v9 (#50690) 2024-09-19 03:30:19 +08:00
PurePanel.tsx type: replace any type with React.ComponentType (#52480) 2025-01-20 10:05:11 +08:00
reactNode.ts refactor: add boime lint and fix lint errrors (#49536) 2024-06-22 21:59:12 +08:00
responsiveObserver.ts chore: auto merge branches (#53354) 2025-03-31 11:12:17 +00:00
scrollTo.ts chore: rm useless second param (#49426) 2024-06-15 15:39:01 +08:00
statusUtils.ts chore(deps): update dependency eslint to v9 (#50690) 2024-09-19 03:30:19 +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
toList.ts test: add test case for toList candidate branch (#53344) 2025-03-30 23:00:22 +08:00
transKeys.ts feat: improve Transfer key type (#47879) 2024-03-14 21:14:21 +08:00
type.ts feat(Button): support variant and color (#50051) 2024-09-03 17:39:02 +08:00
warning.ts chore(deps): update dependency eslint to v9 (#50690) 2024-09-19 03:30:19 +08:00
zindexContext.ts fix: Dropdown with nest menu zIndex error (#45761) 2023-11-09 19:07:22 +08:00