tdesign-react@1.17.0
Message: 调整组件的z-index为 6000,之前依赖该属性的业务注意此变更⚠️ @RylanBot (#4235)
EnhancedTable: 优化拖拽时的预览效果,使展开子行与父行一起移动,同时禁止子行跨级拖拽 @RylanBot (#4229)ImageViewer: 优化组件行为,支持视口之外的图片向中心缩放 @RSS1102 (#4184)Slider:
Avatar: 修复图片加载时加载失败图标不显示的问题 @liweijie0812 (#4227)Dialog: 修复弹出动画未从点击位置展开的问题 @RylanBot (#4165)Form:Image: 修复错误提示字体大小错误的问题 @liweijie0812 (#4227)Slider:Table:TagInput:Tree:Upload:
Dropdown: 优化下拉菜单获取子元素的逻辑 @HaixingOoO (#4206)
Message: Thez-indexof the component has been adjusted to 6000. Please note this change for any services that rely on this property⚠️ @RylanBot (#4235)
EnhancedTable: Improved the preview effect during dragging. Now, when a sub-row is expanded, it moves together with the parent row. Additionally, cross-level dragging of sub-rows is now prohibited. @RylanBot (#4229)ImageViewer: Improved the behavior of the ImageViewer so that images outside the viewport are zoomed in to the center. @RSS1102 (#4184)Slider:
Avatar: Fixed an issue where the loading icon wasn’t displayed when images failed to load. @liweijie0812 (#4227)Dialog: Fixed an issue where the popup didn’t open from the clicked position. @RylanBot (#4165)Form:Image: Fixed an issue with incorrect font size in error messages. @liweijie0812 (#4227)Slider:Table:TagInput:Tree:Upload:
Dropdown: Improved the logic for retrieving child elements in the dropdown menu. @HaixingOoO (#4206)
tdesign-react@1.16.9
Cascader: 支持valueType="full"在不同层级节点的 value 相同的场景中使用 @RylanBot (#4145)RadioGroup: 新增directionAPI,支持添加垂直排列特性 @liweijie0812 (#4214)
Affix: 修复offsetBottom模式下容器滚出视口时top计算为负值的问题 @RylanBot (#4172)Cascader:Form:RadioGroup: 修复variant="primary-filled"时,某些场景下首次高亮异常的问题 @RylanBot (#4081)Table: 修复存在fixed列时,吸顶表头和吸底表尾和表格不对齐的问题 @RylanBot (#4172)
Configprovider: 添加全局配置Plugin函数使用文档 @HaixingOoO (#4218)
RadioGroup: 加强组件的泛型支持,便于value与onChange联动 @RylanBot (#4081)
Cascader: Supports usingvalueType="full"in scenarios where values across nested nodes are the same. @RylanBot (#4145)RadioGroup: AddeddirectionAPI to enable vertical arrangement. @liweijie0812 (#4214)
Affix: Fixed an issue wheretopbecame negative when the container scrolled out of view inoffsetBottommode. @RylanBot (#4172)Cascader:Form:RadioGroup: Fixed an issue where initial highlighting didn’t work correctly in certain scenarios whenvariant="primary-filled"was used. @RylanBot (#4081)Table: Fixed an issue where the table header and footer weren’t aligned properly when there werefixedcolumns. @RylanBot (#4172)
Configprovider: Added documentation for using the global configurationPluginfunction. @HaixingOoO (#4218)
RadioGroup: Improved generic support for the component, making it easier to synchronizevalueandonChangeevents. @RylanBot (#4081)
tdesign-react@1.16.8
- 新增导出当前版本号,用于具体业务中判断版本号进行下一步逻辑处理 @uyarn (#4199)
DatePicker:DateRangePicker:
Calendar: 修复className没传参时,被转为undefined字符串的问题 @RylanBot (#4175)EnhancedTable: 修复disableDataPage不生效的问题 @HaixingOoO (#4186)Form: 修复initialData覆盖setFieldsValue设置值的问题 @RylanBot (#4201)FormList:MessagePlugin: 修复zIndex不生效的问题 @TidySongS (#4077)Select: 修复onScrollToBottom在浏览器缩放时无法触发的问题 @RylanBot (#4181)TagInput: 修复excessTagsDisplayType="break-line"时,suffix没有固定在右侧的问题 @RylanBot (#4178)
tdesign-react@1.16.7
Progress: 当theme=plump时,当进度条填色区域大小足够容下百分比内容时,百分比内容将显示于进度条填色区域内,否则将显示于进度条填色区域的右侧,具体呈现请参考文档示例 @RSS1102 (#4154)
Affix:FormList: 修复setFieldsValue缺乏拷贝从而污染数据的问题 @RylanBot (#4155)InputNumber: 修复disabled时,hover 对应颜色异常的问题 @RylanBot (common#2402)Popconfirm: 修复className没传参时,被转为undefined字符串的问题 @RylanBot (#4159)SelectInput: 修复多选时,点击删除图标会打开Popup的问题 @RylanBot (#4158)Table:TagInput:Typography: 修复开启ellipsis时,字符串被渲染为 HTML 标签的问题 @RylanBot (#4117)
Progress: Whentheme=plump, if the colored area of the progress bar is large enough to display the percentage value, it will be shown within that area. Otherwise, it will be displayed to the right of the colored area. For details, refer to the documentation example @RSS1102 (#4154)
Affix:FormList: Fixed an issue wheresetFieldsValuedidn’t properly copy data, leading to data corruption @RylanBot (#4155)InputNumber: Fixed an issue where the hover color was incorrect whendisabledwas set @RylanBot (common#2402)Popconfirm: Fixed an issue whereclassNamebecameundefinedwhen no value was passed @RylanBot (#4159)SelectInput: Fixed an issue where clicking the delete icon in multiple-selection mode would trigger thePopup@RylanBot (#4158)Table:- Fixed an issue where merged cells disappeared during virtual scrolling @RylanBot (#4131)
- Fixed an issue where the width of empty rows exceeded that of the table during responsive layout @RylanBot (#4131)
- Fixed an issue with alignment of fixed headers, footers, and scroll bars with the table when used inside a
Dialog@RylanBot (#4131)
TagInput:Typography: Fixed an issue where strings were rendered as HTML tags whenellipsiswas enabled @RylanBot (#4117)
tdesign-react@1.16.6
DatePicker: 新增onYearChange和onMonthChange回调方法 @uyarn (#4138)DateRangePicker:
DateRangePicker: 确保右侧面板年份始终大于左侧面板年份 @uyarn (#4137)Drawer: 修复首次打开时,无法使用esc关闭组件的问题 @RylanBot (#4115)Form: 修复getFieldsValue数据被错误覆盖的问题 @RylanBot (#4125)FormList: 修复add读取到旧索引导致remove异常的问题 @RylanBot (#4135)Popup: 修复trigger="focus"在封装组件中不生效的问题 @RylanBot (#4143)Table: 修复开启虚拟滚动时,footerSummary不生效的问题 @RylanBot (#4112)Typography: 修复copyable.onCopy在初始化时被立即执行的问题 @RSS1102 (#4105)
Dialog: 移除冗余的useDialogEschook @RylanBot (#4115)
DatePicker: AddedonYearChangeandonMonthChangecallback methods @uyarn (#4138)DateRangePicker:
DateRangePicker: Ensured that the year in the right panel is always greater than that in the left panel @uyarn (#4137)Drawer: Fixed an issue where the component couldn’t be closed using theesckey when it was opened for the first time @RylanBot (#4115)Form: Fixed an issue where the data returned bygetFieldsValuewas incorrectly overwritten @RylanBot (#4125)FormList: Fixed an issue where using an old index duringaddoperations caused exceptions inremoveoperations @RylanBot (#4135)Popup: Fixed an issue where thetrigger="focus"property didn’t work in encapsulated components @RylanBot (#4143)Table: Fixed an issue wherefooterSummarywasn’t displayed when virtual scrolling was enabled @RylanBot (#4112)Typography: Fixed an issue wherecopyable.onCopywas executed immediately upon initialization @RSS1102 (#4105)
Dialog: Removed redundantuseDialogEschook @RylanBot (#4115)
@tdesign-react/chat@1.0.2
ChatEngine:- 支持AG-UI Activity-Snapshot/Delta事件的适配,新增useAgentActivity注册hook,并增加示例 @carolin913 (#4119)
- 增加在无 UI 场景下使用 ChatEngine 事件总线机制,并增加示例 @carolin913 (#4119)
- ToolCallRender 增加错误边界处理 @carolin913 (#4119)
- AG-UI协议下几个Delta事件,支持自动初始化接收无Snapshot情况下SSE Chunk流 @carolin913 (#4119)
- Immutable JSON Patch 性能优化,并支持append操作用来追加字符串 @carolin913 (#4119)
ChatMarkdown: 大幅优化依赖CherryMarkdown造成的打包体积膨胀问题,不再内置highlight代码块样式高亮,需要业务自行引入配置 @LzhengH @carolin913 (#4119)ChatSender: 支持readyToSend可以接管发送前校验 @LzhengH (#4119)
tdesign-react@1.16.5
Dialog: 增强dialogClassName属性以支持多种格式 @RSS1102 (#4096)Icon: 新增 217 个与人工智能、文档、徽标和文件相关的图标 @uyarn (#4097)ImageViewer: 添加innerClassName,内容部分的类名,支持多种格式 @RSS1102 (#4087)
Cascader: 修复在弹出层可见期间,滚动位置被意外更新的问题 @RylanBot (#4094)Dialog: 修复1.16.4版本导致点击蒙层时,onOverlayClick和onClose无法触发的问题 @RylanBot (#4098)ImageViewer: 修复className和style属性失效的问题 @RSS1102 (#4087)Popup:Typography: 修复开启ellipsis时,将一个完整英文单词切割放在两行的问题 @RylanBot (#3997)
Popup: 优化开启destroyOnClose时的内部状态,确保逻辑正常 @uyarn (#4099)
Dialog: ThedialogClassNameproperty has been enhanced to support multiple formats. @RSS1102 (#4096)Icon: 217 new icons related to artificial intelligence, documents, logos, and files have been added. @uyarn (#4097)ImageViewer: TheinnerClassNameproperty has been introduced to allow for customization of the content area’s class name. Multiple formats are now supported. @RSS1102 (#4087)
Cascader: An issue where the scroll position was accidentally updated while the pop-up was visible has been fixed. @RylanBot (#4094)Dialog: A problem in version 1.16.4 whereonOverlayClickandonCloseevents did not trigger upon clicking the overlay has been resolved. @RylanBot (#4098)ImageViewer: Issues with theclassNameandstyleproperties not taking effect have been fixed. @RSS1102 (#4087)Popup:Typography: An issue where a complete English word was split into two lines whenellipsiswas enabled has been fixed. @RylanBot (#3997)
Popup: The internal state during thedestroyOnCloseprocess has been optimized to ensure proper functionality. @uyarn (#4099)
tdesign-react@1.16.4
DatePicker:presets支持 ReactNode,用于完全自定义渲染 @uyarn (#4089)Dialog: @RylanBot (#3950)- 支持
mode="full-screen"的弹窗 - 支持
draggable在mode="modeless"生效
- 支持
Form: 支持getFieldsValue和getFieldValue返回未渲染的数值 @RylanBot (#4050)
Cascader:Dialog:Form:FormList: @RylanBot (#4005)- 修复子节点存在另一个 Form 时,部分 API 异常的问题
- 修复结合
shouldUpdate使用时,initialData不生效的问题 - 修复
add过程中缺乏拷贝从而污染用户原始数据的问题 @RylanBot
InputNumber: 修复大数计算前导零被错误清除的问题 @Liumingxun (common#2394)Menu: 优化 Safari 浏览器中点击展开图标没有变换方向的问题 @liweijie0812 (#4056)Popup:Select:SelectInput: @RylanBot (#4070)- 修复
1.16.0版本的修复导致点击closable图标时无法清除选项的问题 - 修复传入
tagInputProps.tagProps.onClose时,onTagChange不生效的问题
- 修复
Text: 修复在关闭copyable的Tooltip时,元素未同步隐藏的问题 @RylanBot (#4067)Textarea: 修复count计算逻辑没有遵循maxcharacter或maxlength的问题 @RylanBot (#4088)TreeSelect: 优化 Safari 浏览器中点击展开图标没有变换方向的问题 @liweijie0812 (#4056)
Form: 调整useForm返回实例的 TS 类型,避免内部变量的暴露 @RylanBot (#4050)Message: 新增组件的displayName@TidySongS (#4074)
DatePicker: Thepresetsnow support ReactNode, allowing for complete custom rendering of this component. @uyarn (#4089)Dialog: @RylanBot (#3950)- Pop-ups with
mode="full-screen"are now supported. - The
draggablefeature can now be used inmode="modeless".
- Pop-ups with
Form: Methods likegetFieldsValueandgetFieldValuenow return unrendered values. @RylanBot (#4050)
Cascader:Dialog:- The issue where
onOverlayClickcouldn’t be triggered whencloseOnOverlayClickwas set tofalsehas been fixed. @TidySongS (#4065) - Pop-ups in
mode="modeless"no longer close when the user clicks on blank areas. @RylanBot (#3950) - The problem of not being able to select text within internal elements like
Inputwhendraggablewas enabled has been fixed. @RylanBot (#3950)
- The issue where
Form:FormList: @RylanBot (#4005)- The issue of certain APIs malfunctioning when a child node contained another
Formhas been fixed. - The problem of
initialDatanot taking effect whenshouldUpdatewas used has been fixed. - The issue of the user’s original data being altered due to a lack of copying during the
addprocess has been fixed.
- The issue of certain APIs malfunctioning when a child node contained another
InputNumber: Leading zeros were incorrectly removed before calculating large numbers. This issue has been fixed. @Liumingxun (common#2394) (#4082)Menu: The problem of the expand icon not changing direction when clicked in Safari has been resolved. @liweijie0812 (#4056)Popup:- In nested scenarios, the inner popup no longer fails to close when the outer popup is hidden. @RylanBot (#4085)
- The popup no longer fails to appear when the
triggerElementis disabled and the user hovers over it. @RylanBot (#4085) - The issue of the arrow position becoming unstable when the
contentwas dynamically modified has been fixed. @RylanBot (#4062)
Select:SelectInput: @RylanBot (#4070)- The issue where clicking the
closableicon did not allow options to be cleared, which was caused by a fix in version1.16.0, has been fixed. - The issue where
onTagChangedid not function correctly whentagInputProps.tagProps.onClosewas passed as an argument has been fixed.
- The issue where clicking the
Text: The element no longer fails to hide simultaneously when thecopyableproperty of aTooltipis disabled. @RylanBot (#4067)Textarea: The logic for calculating thecountvalue now takes into account themaxcharacterormaxlengthsettings. @RylanBot (#4088)TreeSelect: The problem of the expand icon not changing direction when clicked in Safari has been resolved. @liweijie0812 (#4056)
tdesign-react@1.16.3
Dialog: 修复1.16.0的优化导致无法使用esc键关闭嵌套对话框的问题 @RylanBot (#4030)Popup: @RylanBot (#4057)- 修复
1.16.0版本的重构导致trigger为 SVG 等元素时弹出层无法出现的问题 - 修复
1.16.0版本的重构导致trigger被disabled依旧能触发弹出层的问题
- 修复
Dialog: Fixed an issue where the optimization implemented in version1.16.0prevented the use of theesckey to close nested dialog boxes @RylanBot (#4030)Popup: @RylanBot (#4057)- Fixed an issue where a refactor in version
1.16.0caused the popup layer not to appear when thetriggerelement was an SVG or similar type - Fixed an issue where a refactor in version
1.16.0allowed the popup layer to be triggered even when thetriggerelement was set todisabled
- Fixed an issue where a refactor in version
tdesign-react@1.16.2
Popup:Select:
Popup:- Fixed an issue where the popup would unexpectedly close when
'trigger='hover'was enabled and external elements were dynamically updated, due to the restructuring in version1.16.0@RylanBot (#4046) - Fixed an issue where the position of the popup became unstable in certain scenarios after the restructuring in version
1.16.0@xiaody (#4046) - Improved the optimization for arrow offset when there is not enough space, implemented in version
1.16.0@RylanBot (#4042)
- Fixed an issue where the popup would unexpectedly close when
Select:- Fixed an issue where the
onClosecallback function ofvalueDisplaywould receiveundefinedas a value @RSS1102 (#4047) - Fixed an issue where values that were not included in the
optionslist could not be rendered when themultipleoption was enabled after version1.15.7@RylanBot (#4037) - Fixed an issue where, after the
filterableoption was enabled, the highlighted items in the keyboard navigation would not update even when the options changed @RylanBot (#4037)
- Fixed an issue where the