Features
- Ellipsis: Support
onEllipsis
callback. #6893 - Tabs: Support keyboard navigation for a11y. #6895
- Calendar: Support
cellRender
for customize cell content. #6924 - ImageViewer:
imageRender
support additionalref
param for pass to customize content. #6904
Enhancements
- VirtualInput: Caret position compatible with controlled mode. #6891 #6897 #6926 #6948 #6949
- Swiper: Optimize the render logic to not to re-mount content when
key
reorder. #6929 - Calendar: Not show switch button when
prevMonthButton
nextMonthButton
prevYearButton
nextYearButton
is null. #6944
Bug Fixes
- DatePicker: Fix format string not correct when `precision="week" with some case. #6906
- Swiper: Fix vertical virtual scroll not working as expect/ #6882
- Ellipsis: Fix warning for
useLayoutEffect
when in SSR. #6923 - TextArea: Fix
enterKeyHint
not working for the first focus. #6917 - Avatar: Fix not show fallback when
src
is empty text. #6935
特性
- Ellipsis:支持
onEllipsis
回调。#6893 - Tabs:支持无障碍(a11y)的键盘导航。#6895
- Calendar:支持
cellRender
自定义单元格内容。#6924 - ImageViewer:
imageRender
额外支持传入ref
参数用于自定义内容。#6904
优化
- VirtualInput:光标位置在受控模式下保持兼容。#6891 #6897 #6926 #6948 #6949
- Swiper:优化渲染逻辑,
key
重新排序时不重新挂载内容。#6929 - Calendar:当
prevMonthButton
、nextMonthButton
、prevYearButton
、nextYearButton
为null
时不显示切换按钮。#6944