tdesign-react@1.18.4
Cascader: 新增columnHeader和columnFooterAPI,用于自定义各级面板的头部和底部内容 @uyarn (#4405)DatePicker: 支持年份选择器滚动到顶部时,自动加载更多过往年份 @RylanBot (#4335)DateRangePicker: 新增支持disabled数组类型,用于单独禁用部分区间 @uyarn (#4404)RangeInput: 新增支持disabled数组类型,用于单独禁用部分区间 @uyarn (#4404)
DatePicker: 修复年份选择器滚动到底部时,意外重置到顶部的问题 @RylanBot (#4335)Dialog: 修复onConfirm等回调执行旧闭包的问题 @RylanBot (#4403)DrawerPlugin: 修复调用update()后仍执行创建时旧回调的问题 @RylanBot (#4403)EnhancedTable: 修复开启虚拟滚动且expandedTreeNodes受控时,展开的子节点无法正确渲染的问题 @RylanBot (#4399)FormList: 修复name为纯数字时,字段解析和初始化错误等问题 @RylanBot (#4397)Table: 修复同时开启虚拟滚动和filterable时,渲染重复筛选框的问题 @RylanBot (#4379)Upload: 修复useMockProgress=false时真实上传进度不回调的问题 @anlyyao (common#2690)
Cascader: Support customizing the content at the top and bottom of each panel through the newcolumnHeaderandcolumnFooterAPIs @uyarn (#4405)DatePicker: Support automatically loading more previous years when the year selector scrolls to the top @RylanBot (#4335)DateRangePicker: Support for thedisabledarray type has been added, enabling individual disabling of certain date ranges @uyarn (#4404)RangeInput: Support for thedisabledarray type has also been added, allowing individual disabling of certain ranges @uyarn (#4404)
DatePicker: The issue where the year selector reset to the top accidentally when scrolling to the bottom has been fixed @RylanBot (#4335)Dialog: Problems with old closures being executed in callbacks such asonConfirmhave been resolved @RylanBot (#4403)DrawerPlugin: The issue where old callbacks continued to be executed after callingupdate()has been fixed @RylanBot (#4403)EnhancedTable: The problem where expanded child nodes could not be rendered correctly when virtual scrolling was enabled andexpandedTreeNodeswas controlled has been resolved @RylanBot (#4399)FormList: Issues such as incorrect field parsing and initialization whennameconsists solely of numbers have been fixed @RylanBot (#4397)Table: The problem of duplicate filtering boxes appearing when both virtual scrolling andfilterablefeatures were used has been resolved @RylanBot (#4379)Upload: The issue where no callback was triggered for the actual upload progress whenuseMockProgress=falsewas set has been fixed @anlyyao (common#2690)
@tdesign-react/chat@1.1.0
- 底层 Web Components 从
tdesign-web-components迁移到@tdesign/web-components-chat@LzhengH (#4381) ChatEngine:
ChatMarkdown: 修复引用块内列表缩进丢失导致样式重叠 @LzhengH (#4381)ChatSender: 修复中文输入法拼音组合阶段按 Enter 误发送 @LzhengH (#4381)
- The underlying Web Components have been migrated from
tdesign-web-componentsto@tdesign/web-components-chat@LzhengH (#4381) ChatEngine:- A generative UI has been added, featuring built-in json-render Catalog/Registry, custom components, Action, and data binding; it supports stream rendering via AG-UI Activity, as well as compatibility with A2UI v0.9 @LzhengH (#4381)
- Compatibility with the latest version of AG-UI’s protocol and its reasoning-related fields @LzhengH (#4381)
- Support for multiple incremental updates of reasoning content and markdown content @LzhengH (#4381)
tdesign-react@1.18.3
Checkbox: 支持tooltipPropsAPI @RylanBot (#4385)Menu: 修改内联的样式为样式类实现,移除过于宽泛的--padding-left变量,方便覆盖修改 @HaixingOoO (#4367)
ColorPicker: 优化开启 alpha 通道后的输入框效果展示 @uyarn (#4384)Form: 修复重渲染时,resetType="initial"无法将未设置initialData的字段重置为空的问题 @RylanBot (#4365)FormList: 修复嵌套 Form 场景下内层组件setFieldsValue异常的问题 @RylanBot (#4361)Icon: 修复 usb 原始图标的图层 ID 错误,在深色模式下渲染错误 @uyarn (icons#298) (#4369)Popup: 修复trigger="hover"时在触发元素与弹层间快速移动导致闪烁的问题 @RylanBot (#4366)Select:TagInput: 修复excessTagsDisplayType="scroll"且readOnly/disabled时,无法滚动的问题 @RylanBot (#4364)Textarea: 修复autosize计算高度不稳定的问题 @RylanBot (#4386)
Checkbox: Supports thetooltipPropsAPI @RylanBot (#4385)Menu: The inline style has been changed to use style classes; the overly generic--padding-leftvariable has been removed to facilitate customizations @HaixingOoO (#4367)
ColorPicker: Improved the display of the input field when the alpha channel is enabled @uyarn (#4384)Form: Fixed an issue whereresetType="initial"failed to reset fields withoutinitialDatato empty values during re-rendering @RylanBot (#4365)FormList: Resolved an abnormality insetFieldsValuefor nested Form components @RylanBot (#4361)Icon: Fixed incorrect layer IDs for the usb icon, which caused rendering issues in dark mode @uyarn (icons#298) (#4369)Popup: Fixed a flickering issue that occurred when moving quickly between the trigger element and the popup withtrigger="hover"@RylanBot (#4366)Select:TagInput: Fixed the problem of inability to scroll whenexcessTagsDisplayType="scroll"is used along withreadOnly/disabledsettings @RylanBot (#4364)Textarea: Fixed an instability issue with the height calculation forautosize@RylanBot (#4386)
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)