diff --git a/packages/tdesign-react/.changelog/pr-3950.md b/packages/tdesign-react/.changelog/pr-3950.md deleted file mode 100644 index ca1e61fd11..0000000000 --- a/packages/tdesign-react/.changelog/pr-3950.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -pr_number: 3950 -contributor: RylanBot ---- - -- fix(Dialog): 修复 `mode="modeless"` 的弹窗,点击空白地方会被关闭的问题 @RylanBot ([#3950](https://github.com/Tencent/tdesign-react/pull/3950)) -- fix(Dialog): 修复开启 `draggable` 时,无法选中内部 `Input` 等元素中文本的问题 @RylanBot ([#3950](https://github.com/Tencent/tdesign-react/pull/3950)) -- feat(Dialog): 支持 `mode="full-screen"` 的弹窗 @RylanBot ([#3950](https://github.com/Tencent/tdesign-react/pull/3950)) -- feat(Dialog): 支持 `draggable` 在 `mode="modeless"` 生效 @RylanBot ([#3950](https://github.com/Tencent/tdesign-react/pull/3950)) -- undefined @RylanBot ([#3950](https://github.com/Tencent/tdesign-react/pull/3950)) diff --git a/packages/tdesign-react/.changelog/pr-4005.md b/packages/tdesign-react/.changelog/pr-4005.md deleted file mode 100644 index 01488e9a65..0000000000 --- a/packages/tdesign-react/.changelog/pr-4005.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -pr_number: 4005 -contributor: RylanBot ---- - -- fix(Form): 修复使用 `shouldUpdate` 时,必须给 `FormItem` 加 `key` 才能生效的问题 @RylanBot ([#4005](https://github.com/Tencent/tdesign-react/pull/4005)) -- fix(FormList): 修复子节点存在另一个 Form 时,部分 API 异常的问题 @RylanBot ([#4005](https://github.com/Tencent/tdesign-react/pull/4005)) -- fix(FormList): 修复结合 `shouldUpdate` 使用时,`initialData` 不生效的问题 @RylanBot ([#4005](https://github.com/Tencent/tdesign-react/pull/4005)) -- fix(FormList): 修复 `add` 过程中缺乏拷贝从而污染用户原始数据的问题 @RylanBot ([#4005](https://github.com/Tencent/tdesign-react/pull/4005)) -- undefined @RylanBot ([#4005](https://github.com/Tencent/tdesign-react/pull/4005)) diff --git a/packages/tdesign-react/.changelog/pr-4029.md b/packages/tdesign-react/.changelog/pr-4029.md deleted file mode 100644 index 7a1bd17c9e..0000000000 --- a/packages/tdesign-react/.changelog/pr-4029.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -pr_number: 4029 -contributor: RylanBot ---- - -- fix(Form): 修复自定义控件时 `setFieldsValue` 失败的问题 @RylanBot ([#4029](https://github.com/Tencent/tdesign-react/pull/4029)) -- undefined @RylanBot ([#4029](https://github.com/Tencent/tdesign-react/pull/4029)) diff --git a/packages/tdesign-react/.changelog/pr-4050.md b/packages/tdesign-react/.changelog/pr-4050.md deleted file mode 100644 index a9cfdd9f2a..0000000000 --- a/packages/tdesign-react/.changelog/pr-4050.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -pr_number: 4050 -contributor: RylanBot ---- - -- feat(Form): 支持 `getFieldsValue` 和 `getFieldValue` 返回未渲染的数值 @RylanBot ([#4050](https://github.com/Tencent/tdesign-react/pull/4050)) -- chore(Form): 调整 `useForm` 返回实例的 TS 类型,避免内部变量的暴露 @RylanBot ([#4050](https://github.com/Tencent/tdesign-react/pull/4050)) diff --git a/packages/tdesign-react/.changelog/pr-4056.md b/packages/tdesign-react/.changelog/pr-4056.md deleted file mode 100644 index 7f19fce006..0000000000 --- a/packages/tdesign-react/.changelog/pr-4056.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -pr_number: 4056 -contributor: liweijie0812 ---- - -- fix(Menu): 优化 Safari 浏览器中点击展开图标没有变换方向的问题 @liweijie0812 ([#4056](https://github.com/Tencent/tdesign-react/pull/4056)) -- fix(Select): 优化 Safari 浏览器中点击展开图标没有变换方向的问题 @liweijie0812 ([#4056](https://github.com/Tencent/tdesign-react/pull/4056)) -- fix(TreeSelect): 优化 Safari 浏览器中点击展开图标没有变换方向的问题 @liweijie0812 ([#4056](https://github.com/Tencent/tdesign-react/pull/4056)) -- fix(Cascader): 优化 Safari 浏览器中点击展开图标没有变换方向的问题 @liweijie0812 ([#4056](https://github.com/Tencent/tdesign-react/pull/4056)) diff --git a/packages/tdesign-react/.changelog/pr-4062.md b/packages/tdesign-react/.changelog/pr-4062.md deleted file mode 100644 index 45d99f3876..0000000000 --- a/packages/tdesign-react/.changelog/pr-4062.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -pr_number: 4062 -contributor: RylanBot ---- - -- fix(Cascader): 修复在弹出层可见期间,滚动位置被意外更新的问题 @RylanBot ([#4062](https://github.com/Tencent/tdesign-react/pull/4062)) -- fix(Popup): 修复 `content` 动态修改时,箭头位置不稳定的问题 @RylanBot ([#4062](https://github.com/Tencent/tdesign-react/pull/4062)) \ No newline at end of file diff --git a/packages/tdesign-react/.changelog/pr-4065.md b/packages/tdesign-react/.changelog/pr-4065.md deleted file mode 100644 index d762137883..0000000000 --- a/packages/tdesign-react/.changelog/pr-4065.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -pr_number: 4065 -contributor: TidySongS ---- - -- fix(Dialog): 修复 `closeOnOverlayClick` 为 `false` 时,`onOverlayClick` 无法触发的问题 @TidySongS ([#4065](https://github.com/Tencent/tdesign-react/pull/4065)) diff --git a/packages/tdesign-react/.changelog/pr-4067.md b/packages/tdesign-react/.changelog/pr-4067.md deleted file mode 100644 index b732e809bb..0000000000 --- a/packages/tdesign-react/.changelog/pr-4067.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -pr_number: 4067 -contributor: RylanBot ---- - -- fix(Text): 修复在关闭 `copyable` 的 `Tooltip` 时,元素未同步隐藏的问题 @RylanBot ([#4067](https://github.com/Tencent/tdesign-react/pull/4067)) diff --git a/packages/tdesign-react/.changelog/pr-4070.md b/packages/tdesign-react/.changelog/pr-4070.md deleted file mode 100644 index 70a36d84d4..0000000000 --- a/packages/tdesign-react/.changelog/pr-4070.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -pr_number: 4070 -contributor: RylanBot ---- - -- fix(SelectInput): 修复 `1.16.0` 版本的修复导致点击 `closable` 图标时无法清除选项的问题 @RylanBot ([#4070](https://github.com/Tencent/tdesign-react/pull/4070)) -- fix(SelectInput): 修复传入 `tagInputProps.tagProps.onClose` 时,`onTagChange` 不生效的问题 @RylanBot ([#4070](https://github.com/Tencent/tdesign-react/pull/4070)) -- fix(Select): 修复 `tagInputProps.tagProps` 不生效的问题 @RylanBot ([#4070](https://github.com/Tencent/tdesign-react/pull/4070)) diff --git a/packages/tdesign-react/.changelog/pr-4074.md b/packages/tdesign-react/.changelog/pr-4074.md deleted file mode 100644 index aed1fbbc16..0000000000 --- a/packages/tdesign-react/.changelog/pr-4074.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -pr_number: 4074 -contributor: TidySongS ---- - -- chore(Message): 新增组件的 `displayName` @TidySongS ([#4074](https://github.com/Tencent/tdesign-react/pull/4074)) diff --git a/packages/tdesign-react/.changelog/pr-4082.md b/packages/tdesign-react/.changelog/pr-4082.md deleted file mode 100644 index 0c4bff48d3..0000000000 --- a/packages/tdesign-react/.changelog/pr-4082.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -pr_number: 4082 -contributor: tdesign-bot ---- - -- fix(inputNumber): 修复大数计算前导零被错误清除的问题 @Liumingxun ([common#2394](https://github.com/Tencent/tdesign-common/pull/2394)) ([#4082](https://github.com/Tencent/tdesign-react/pull/4082)) diff --git a/packages/tdesign-react/.changelog/pr-4085.md b/packages/tdesign-react/.changelog/pr-4085.md deleted file mode 100644 index 098d874a2c..0000000000 --- a/packages/tdesign-react/.changelog/pr-4085.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -pr_number: 4085 -contributor: RylanBot ---- - -- fix(Popup): 修复嵌套场景下,外层弹窗隐藏时,内层弹窗无法正常关闭的问题 @RylanBot ([#4085](https://github.com/Tencent/tdesign-react/pull/4085)) -- fix(Popup): 修复 `triggerElement` 被 `disabled` 的场景下,`hover` 时无法正常显示弹出层的问题 @RylanBot ([#4085](https://github.com/Tencent/tdesign-react/pull/4085)) diff --git a/packages/tdesign-react/.changelog/pr-4088.md b/packages/tdesign-react/.changelog/pr-4088.md deleted file mode 100644 index e7834e3476..0000000000 --- a/packages/tdesign-react/.changelog/pr-4088.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -pr_number: 4088 -contributor: RylanBot ---- - -- fix(Textarea): 修复 `count` 计算逻辑没有遵循 `maxcharacter` 或 `maxlength` 的问题 @RylanBot ([#4088](https://github.com/Tencent/tdesign-react/pull/4088)) diff --git a/packages/tdesign-react/.changelog/pr-4089.md b/packages/tdesign-react/.changelog/pr-4089.md deleted file mode 100644 index 0fce779fd7..0000000000 --- a/packages/tdesign-react/.changelog/pr-4089.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -pr_number: 4089 -contributor: uyarn ---- - -- feat(DatePicker): `presets` 支持 ReactNode,用于完全自定义渲染 @uyarn ([#4089](https://github.com/Tencent/tdesign-react/pull/4089)) diff --git a/packages/tdesign-react/CHANGELOG.en-US.md b/packages/tdesign-react/CHANGELOG.en-US.md index 0cb51b3ec1..8490774d81 100644 --- a/packages/tdesign-react/CHANGELOG.en-US.md +++ b/packages/tdesign-react/CHANGELOG.en-US.md @@ -5,6 +5,53 @@ toc: false spline: explain --- +## 🌈 1.16.4 `2026-01-16` + +### 🚀 New Features + +- `DatePicker`: The `presets` now support ReactNode, allowing for complete custom rendering of this component. @uyarn ([#4089](https://github.com/Tencent/tdesign-react/pull/4089)) +- `Dialog`: @RylanBot ([#3950](https://github.com/Tencent/tdesign-react/pull/3950)) + - Pop-ups with `mode="full-screen"` are now supported. + - The `draggable` feature can now be used in `mode="modeless"`. +- `Form`: Methods like `getFieldsValue` and `getFieldValue` now return unrendered values. @RylanBot ([#4050](https://github.com/Tencent/tdesign-react/pull/4050)) + +### 🐞 Bug Fixes + +- `Cascader`: + - The issue where the scroll position was accidentally updated while the pop-up was visible has been fixed. @RylanBot ([#4062](https://github.com/Tencent/tdesign-react/pull/4062)) + - The problem of the expand icon not changing direction when clicked in Safari has been resolved. @liweijie0812 ([#4056](https://github.com/Tencent/tdesign-react/pull/4056)) +- `Dialog`: + - The issue where `onOverlayClick` couldn’t be triggered when `closeOnOverlayClick` was set to `false` has been fixed. @TidySongS ([#4065](https://github.com/Tencent/tdesign-react/pull/4065)) + - Pop-ups in `mode="modeless"` no longer close when the user clicks on blank areas. @RylanBot ([#3950](https://github.com/Tencent/tdesign-react/pull/3950)) + - The problem of not being able to select text within internal elements like `Input` when `draggable` was enabled has been fixed. @RylanBot ([#3950](https://github.com/Tencent/tdesign-react/pull/3950)) +- `Form`: + - The issue where `setFieldsValue` failed when custom controls were used has been fixed. @RylanBot ([#4029](https://github.com/Tencent/tdesign-react/pull/4029)) + - The problem where using `shouldUpdate` required adding a `key` to `FormItem` for it to function correctly has been fixed. @RylanBot ([#4005](https://github.com/Tencent/tdesign-react/pull/4005)) +- `FormList`: @RylanBot ([#4005](https://github.com/Tencent/tdesign-react/pull/4005)) + - The issue of certain APIs malfunctioning when a child node contained another `Form` has been fixed. + - The problem of `initialData` not taking effect when `shouldUpdate` was used has been fixed. + - The issue of the user’s original data being altered due to a lack of copying during the `add` process has been fixed. +- `InputNumber`: Leading zeros were incorrectly removed before calculating large numbers. This issue has been fixed. @Liumingxun ([common#2394](https://github.com/Tencent/tdesign-common/pull/2394)) ([#4082](https://github.com/Tencent/tdesign-react/pull/4082)) +- `Menu`: The problem of the expand icon not changing direction when clicked in Safari has been resolved. @liweijie0812 ([#4056](https://github.com/Tencent/tdesign-react/pull/4056)) +- `Popup`: + - In nested scenarios, the inner popup no longer fails to close when the outer popup is hidden. @RylanBot ([#4085](https://github.com/Tencent/tdesign-react/pull/4085)) + - The popup no longer fails to appear when the `triggerElement` is disabled and the user hovers over it. @RylanBot ([#4085](https://github.com/Tencent/tdesign-react/pull/4085)) + - The issue of the arrow position becoming unstable when the `content` was dynamically modified has been fixed. @RylanBot ([#4062](https://github.com/Tencent/tdesign-react/pull/4062)) +- `Select`: + - The issue where `tagInputProps.tagProps` did not function correctly has been fixed. @RylanBot ([#4070](https://github.com/Tencent/tdesign-react/pull/4070)) + - The problem of the expand icon not changing direction when clicked in Safari has been resolved. @liweijie0812 ([#4056](https://github.com/Tencent/tdesign-react/pull/4056)) +- `SelectInput`: @RylanBot ([#4070](https://github.com/Tencent/tdesign-react/pull/4070)) + - The issue where clicking the `closable` icon did not allow options to be cleared, which was caused by a fix in version `1.16.0`, has been fixed. + - The issue where `onTagChange` did not function correctly when `tagInputProps.tagProps.onClose` was passed as an argument has been fixed. +- `Text`: The element no longer fails to hide simultaneously when the `copyable` property of a `Tooltip` is disabled. @RylanBot ([#4067](https://github.com/Tencent/tdesign-react/pull/4067)) +- `Textarea`: The logic for calculating the `count` value now takes into account the `maxcharacter` or `maxlength` settings. @RylanBot ([#4088](https://github.com/Tencent/tdesign-react/pull/4088)) +- `TreeSelect`: The problem of the expand icon not changing direction when clicked in Safari has been resolved. @liweijie0812 ([#4056](https://github.com/Tencent/tdesign-react/pull/4056)) + +### 🚧 Other Changes + +- `Form`: The TS type of the instance returned by `useForm` has been adjusted to prevent internal variables from being exposed. @RylanBot ([#4050](https://github.com/Tencent/tdesign-react/pull/4050)) +- `Message`: A new `displayName` property has been added to this component. @TidySongS ([#4074](https://github.com/Tencent/tdesign-react/pull/4074)) + ## 🌈 1.16.3 `2026-01-04` ### 🐞 Bug Fixes diff --git a/packages/tdesign-react/CHANGELOG.md b/packages/tdesign-react/CHANGELOG.md index 72817a929e..47333cfaa6 100644 --- a/packages/tdesign-react/CHANGELOG.md +++ b/packages/tdesign-react/CHANGELOG.md @@ -5,6 +5,53 @@ toc: false spline: explain --- +## 🌈 1.16.4 `2026-01-16` + +### 🚀 Features + +- `DatePicker`: `presets` 支持 ReactNode,用于完全自定义渲染 @uyarn ([#4089](https://github.com/Tencent/tdesign-react/pull/4089)) +- `Dialog`: @RylanBot ([#3950](https://github.com/Tencent/tdesign-react/pull/3950)) + - 支持 `mode="full-screen"` 的弹窗 + - 支持 `draggable` 在 `mode="modeless"` 生效 +- `Form`: 支持 `getFieldsValue` 和 `getFieldValue` 返回未渲染的数值 @RylanBot ([#4050](https://github.com/Tencent/tdesign-react/pull/4050)) + +### 🐞 Bug Fixes + +- `Cascader`: + - 修复在弹出层可见期间,滚动位置被意外更新的问题 @RylanBot ([#4062](https://github.com/Tencent/tdesign-react/pull/4062)) + - 优化 Safari 浏览器中点击展开图标没有变换方向的问题 @liweijie0812 ([#4056](https://github.com/Tencent/tdesign-react/pull/4056)) +- `Dialog`: + - 修复 `closeOnOverlayClick` 为 `false` 时,`onOverlayClick` 无法触发的问题 @TidySongS ([#4065](https://github.com/Tencent/tdesign-react/pull/4065)) + - 修复 `mode="modeless"` 的弹窗,点击空白地方会被关闭的问题 @RylanBot ([#3950](https://github.com/Tencent/tdesign-react/pull/3950)) + - 修复开启 `draggable` 时,无法选中内部 `Input` 等元素中文本的问题 @RylanBot ([#3950](https://github.com/Tencent/tdesign-react/pull/3950)) +- `Form`: + - 修复自定义控件时 `setFieldsValue` 失败的问题 @RylanBot ([#4029](https://github.com/Tencent/tdesign-react/pull/4029)) + - 修复使用 `shouldUpdate` 时,必须给 `FormItem` 加 `key` 才能生效的问题 @RylanBot ([#4005](https://github.com/Tencent/tdesign-react/pull/4005)) +- `FormList`: @RylanBot ([#4005](https://github.com/Tencent/tdesign-react/pull/4005)) + - 修复子节点存在另一个 Form 时,部分 API 异常的问题 + - 修复结合 `shouldUpdate` 使用时,`initialData` 不生效的问题 + - 修复 `add` 过程中缺乏拷贝从而污染用户原始数据的问题 @RylanBot +- `InputNumber`: 修复大数计算前导零被错误清除的问题 @Liumingxun ([common#2394](https://github.com/Tencent/tdesign-common/pull/2394)) +- `Menu`: 优化 Safari 浏览器中点击展开图标没有变换方向的问题 @liweijie0812 ([#4056](https://github.com/Tencent/tdesign-react/pull/4056)) +- `Popup`: + - 修复嵌套场景下,外层弹窗隐藏时,内层弹窗无法正常关闭的问题 @RylanBot ([#4085](https://github.com/Tencent/tdesign-react/pull/4085)) + - 修复 `triggerElement` 被 `disabled` 的场景下,`hover` 时无法正常显示弹出层的问题 @RylanBot ([#4085](https://github.com/Tencent/tdesign-react/pull/4085)) + - 修复 `content` 动态修改时,箭头位置不稳定的问题 @RylanBot ([#4062](https://github.com/Tencent/tdesign-react/pull/4062)) +- `Select`: + - 修复 `tagInputProps.tagProps` 不生效的问题 @RylanBot ([#4070](https://github.com/Tencent/tdesign-react/pull/4070)) + - 优化 Safari 浏览器中点击展开图标没有变换方向的问题 @liweijie0812 ([#4056](https://github.com/Tencent/tdesign-react/pull/4056)) +- `SelectInput`: @RylanBot ([#4070](https://github.com/Tencent/tdesign-react/pull/4070)) + - 修复 `1.16.0` 版本的修复导致点击 `closable` 图标时无法清除选项的问题 + - 修复传入 `tagInputProps.tagProps.onClose` 时,`onTagChange` 不生效的问题 +- `Text`: 修复在关闭 `copyable` 的 `Tooltip` 时,元素未同步隐藏的问题 @RylanBot ([#4067](https://github.com/Tencent/tdesign-react/pull/4067)) +- `Textarea`: 修复 `count` 计算逻辑没有遵循 `maxcharacter` 或 `maxlength` 的问题 @RylanBot ([#4088](https://github.com/Tencent/tdesign-react/pull/4088)) +- `TreeSelect`: 优化 Safari 浏览器中点击展开图标没有变换方向的问题 @liweijie0812 ([#4056](https://github.com/Tencent/tdesign-react/pull/4056)) + +### 🚧 Others + +- `Form`: 调整 `useForm` 返回实例的 TS 类型,避免内部变量的暴露 @RylanBot ([#4050](https://github.com/Tencent/tdesign-react/pull/4050)) +- `Message`: 新增组件的 `displayName` @TidySongS ([#4074](https://github.com/Tencent/tdesign-react/pull/4074)) + ## 🌈 1.16.3 `2026-01-04` ### 🐞 Bug Fixes diff --git a/packages/tdesign-react/package.json b/packages/tdesign-react/package.json index cd7c46e61d..743df707a8 100644 --- a/packages/tdesign-react/package.json +++ b/packages/tdesign-react/package.json @@ -1,6 +1,6 @@ { "name": "tdesign-react", - "version": "1.16.3", + "version": "1.16.4", "title": "tdesign-react", "description": "TDesign Component for React", "main": "lib/index.js",