tdesign-react@1.18.2
Comment:actions支持单个TNode@RSS1102 (#4354)Form: 末尾表单项增加--last标识,保证margin样式正常生效 @uyarn (#4356)Tag:title支持Boolean类型,传入false则不会显示title,不传或传入true则显示默认的内容。 @Wesley-0808 (#4336)
Button:- 移除组件不合理的默认
margin:0和z-index:0@RylanBot (common#2636) - 修复自定义 SVG 图标与文字之间缺少间距的问题 @xy200303 (common#2639)
- 移除组件不合理的默认
Comment: 修复操作项图标与文字未垂直居中的问题 @RSS1102 (#4354)ConfigProvider: 修复table.sortIcon不生效的问题 @RylanBot (#4338)EnhancedTable:Form: 修复嵌套表单在触发validate后重渲染导致数值丢失的问题 @RylanBot (#4350)Popup: 修复鼠标在浮层上左键长按或右键点击后,移出浮层无法自动关闭的问题 @RylanBot (#4287)SelectInput: 修复1.18.1的调整,导致单选且未开启filterable时,valueDisplay为自定义字符串导致的 DOM 结构变更问题 @RylanBot (#4351)Steps:- 修复
layout='vertical'时,连接线不对齐和上下图标距离不一致的问题 @RylanBot (common#2670) - 修复默认和选中态的连接线粗细不一致的问题 @RylanBot (common#2670)
- 修复
Table:
Comment: Theactionsproperty now supports a singleTNode@RSS1102 (#4354)Form: A--lastidentifier is added to the last form field to ensure that themarginstyle is applied correctly @uyarn (#4356)Tag: Thetitleproperty acceptsBooleanvalues; iffalseis specified, the title will not be displayed, while if no value is specified ortrueis used, the default text will be shown. @Wesley-0808 (#4336)
Button:- The default
margin:0andz-index:0values of this component have been removed @RylanBot (common#2636) - The issue of insufficient spacing between custom SVG icons and text has been resolved @xy200303 (common#2639)
- The default
Comment: Fixed the issue where the icons and text associated with action items were not vertically centered @RSS1102 (#4354)ConfigProvider: Fixed the problem wheretable.sortIcondid not function as intended @RylanBot (#4338)EnhancedTable:Form: Fixed the issue where nested forms lost their numerical values after thevalidatefunction was triggered, resulting in re-rendering @RylanBot (#4350)Popup: Fixed the problem where the popup would not close automatically when the mouse button was held down or clicked right on it after leaving the popup area @RylanBot (#4287)SelectInput: Fixed issues caused by adjustments in version1.18.1, which led to changes in the DOM structure when using a single-selection option withoutfilterableenabled and a customvalueDisplaystring being used @RylanBot (#4351)Steps:- Fixed issues with alignment of connection lines and inconsistent distances from the surrounding icons when
layout='vertical'was used @RylanBot (common#2670) - Fixed the connection line thickness inconsistency between the default and selected states @RylanBot (common#2670)
- Fixed issues with alignment of connection lines and inconsistent distances from the surrounding icons when
Table:
tdesign-react@1.18.1
SelectInput: 支持focus时的内容为valueDisplay的对应值。 @RylanBot (#3891)
Button: 优化斜八度的动画效果 @uyarn (#4331)ColorPicker:Menu: 修复弹出窗口位置在左侧宽度不够向右侧翻转时的间距错误问题 @RSS1102 (common#2631)Select:- 修复
label为非string类型时,开启filterable搜索后报错的问题。 @RylanBot (#3891) - 修复使用
label/content/children自定义元素时,下拉框选项的高度没有撑开的问题。 (common#2537) @RylanBot
- 修复
SelectInput:Table: 在非 Chromium 内核浏览器时,由于min-width兼容性问题,降级到width@RylanBot (#4219)TagInput: 修复带 label 且已有 tag 时输入内容垂直对齐偏差的问题 @DaZuiZui (common#2564)
SelectInput: Allows the content to be set to the corresponding value ofvalueDisplaywhen the element is infocusstate. @RylanBot (#3891)
Button: Improved the animation effect for diagonal tilts. @uyarn (#4331)ColorPicker:Menu: Fix the incorrect spacing when a popup positioned on the left side flips to the right due to insufficient width. @RSS1102 (common#2631)Select:- Fixed an error that occurred when
labelwas not of typestringandfilterablesearch was enabled. @RylanBot (#3891) - Fixed the issue where the height of the dropdown options was not properly adjusted when using
label/content/childrento customize the elements. (common#2537) @RylanBot
- Fixed an error that occurred when
SelectInput:- Fixed the problem where, in the case of a radio button with a custom
valueDisplayelement, the input content could not be displayed whenfilterablewas enabled. @RylanBot (#3891) - Fixed the issue where
inputProps.inputClassdid not have the desired effect; previously,inputProps.classNamewas incorrectly applied at the same level ast-class, which renderedinputProps.inputClassineffective. Businesses that use this property should be aware of this change.⚠️ @RylanBot (#3891)
- Fixed the problem where, in the case of a radio button with a custom
Table: In browsers that don’t use the Chromium engine, compatibility issues withmin-widthcause the property to be fallbacked towidth. @RylanBot (#4219)TagInput: Fixed alignment issues when entering text alongside existing tags @DaZuiZui (common#2564)
tdesign-react@1.18.0
Button: 优化variant为outline和dashed时的 hover 背景色 @uyarn (common#2569)ConfigProvider:HeadMenu: 子菜单浮层新增最大高度,超出最大高度将会显示滚动条 @HaixingOoO (#4283)InputNumber: 新增autofocus属性 @betavs (#4278)TagInput: 新增tagDisplayAPI,用于完全自定义单个标签的渲染效果 @RylanBot (#4275)
Cascader: 多选时输入框内的选中项顺序由 “options顺序” 调整为 “用户选择顺序“,之前依赖相关交互的业务注意此变更⚠️ @RylanBot (#4281)TreeSelect: 多选时输入框内的选中项顺序由 “options顺序” 调整为 “用户选择顺序“,之前依赖相关交互的业务注意此变更⚠️ @RylanBot (#4281)Steps: 修复sequence='reverse'时跳转逻辑异常的问题 @RylanBot (#4267)Table: 修复 filter 英文翻译文案错误 @liweijie0812 (common#2553)TagInput:Tree:
Button: Optimized the hover background color whenvariantis set tooutlineordashed. @uyarn (common#2569)ConfigProvider:HeadMenu: A maximum height was set for the sub-menu overlay; scroll bars will appear if the content exceeds this height @HaixingOoO (#4283)InputNumber: A newautofocusproperty was added @betavs (#4278)TagInput: A newtagDisplayAPI was introduced, allowing for full customization of how individual tags are displayed @RylanBot (#4275)
Cascader: When multiple options are selected, the order of the selected items in the input field has been changed from “the order defined inoptions” to “the order in which the user selects them”. Businesses that rely on this functionality should be aware of this change⚠️ @RylanBot (#4281)TreeSelect: When multiple options are selected, the order of the selected items in the input field has been changed from “the order defined inoptions” to “the order in which the user selects them”. Businesses that rely on this functionality should be aware of this change⚠️ @RylanBot (#4281)Steps: An issue with abnormal navigation logic whensequence='reverse'was fixed @RylanBot (#4267)Table: Errors in the translation of filter-related text were corrected @liweijie0812 (common#2553)TagInput:- Issues such as the absence of horizontal scroll bars when
excessTagsDisplayType="scroll"was fixed @RSS1102 (#4210) - A clear button is now displayed even when only text is entered, provided that
clearableis enabled @RSS1102 (#4210) - Problems with vertical alignment of input content when there are existing tags along with a
labelwere fixed @DaZuiZui (#4292)
- Issues such as the absence of horizontal scroll bars when
Tree:
tdesign-react@1.17.1
Menu: 修复子菜单图标与文字间隔的问题 @liweijie0812 (common#2512)Select: 修复在输入搜索过滤选项时,出现系统的自动输入选项的问题 @liweijie0812 (#4261)Tabs: 修复disabled时,点击组件还会触发动画效果的问题 @RylanBot (#4264)TagInput: 修复value为 undefined 时报错的问题 @RylanBot (#4249)
Tabs: 加强组件的泛型支持,便于value与onChange联动 @RylanBot (#4260)
Menu: Fixed the issue with the spacing between sub-menu icons and text @liweijie0812 (common#2512)Select: Fixed the problem where the system’s auto-complete options appeared when searching for filter options @liweijie0812 (#4261)Tabs: Fixed an issue where animations were still triggered when clicking on a disabled tab component @RylanBot (#4264)TagInput: Fixed an error that occurred whenvaluewas undefined @RylanBot (#4249)
Tabs: Improved the component’s support for generics, making it easier to integratevalueandonChangefunctionality @RylanBot (#4260)
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)