Skip to content

Commit b6ada6f

Browse files
HaixingOoOuyarngithub-actions[bot]
authored
chore: release 1.12.3 (#3616)
* chore: release 1.12.3 * chore: update docs * chore: update docs * chore: changelog's changes --------- Co-authored-by: wū yāng <uyarnchen@gmail.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 2d29d80 commit b6ada6f

File tree

4 files changed

+28
-8
lines changed

4 files changed

+28
-8
lines changed

packages/tdesign-react/CHANGELOG.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,23 @@ toc: false
55
spline: explain
66
---
77

8+
## 🌈 1.12.3 `2025-06-13`
9+
### 🚀 Features
10+
- `Form`: 新增`requiredMarkPosition`API,可定义必填符号的位置 @Wesley-0808 ([#3586](https://github.com/Tencent/tdesign-react/pull/3586))
11+
- `GlobalConfig`: `FormConfig` 新增 `requiredMaskPosition` 配置 @Wesley-0808 ([#3586](https://github.com/Tencent/tdesign-react/pull/3586))
12+
### 🐞 Bug Fixes
13+
- `drawer`: 修复 `cancel-btn``confirm-btn` 的类型缺失`null` 声明的问题 @RSS1102 ([#3602](https://github.com/Tencent/tdesign-react/pull/3602))
14+
- `TreeSelect`: `label` 无法正常显示 @RylanBot ([#3603](https://github.com/Tencent/tdesign-react/pull/3603))
15+
- `ImageViewer`: 当显示错误图片时,小窗口图片查看器尺寸异常 @RylanBot([#3607](https://github.com/Tencent/tdesign-react/pull/3607))
16+
- `Select`: 修复 `checkAll` 设为 `disabled` 后依旧会触发全选的问题 @RylanBot ([#3563](https://github.com/Tencent/tdesign-react/pull/3563))
17+
- `Table`: 优化关闭列配置弹窗时,选择列数据与所展示列数据不一致的问题 @RSS1102 ([#3608](https://github.com/Tencent/tdesign-react/pull/3608))
18+
- `Tabs`: 修复 TabPanel 通过 style 设置 display 属性无法正常生效的问题 @uyarn ([#3609](https://github.com/Tencent/tdesign-react/pull/3609))
19+
- `Menu`: `popupProps``delay` 属性在 `SubMenu` 中无法生效 @RylanBot ([#3599](https://github.com/Tencent/tdesign-react/pull/3599))
20+
- `Menu`: 开启 `expandMutex` 后,如果存在二级 `SubMenu`,菜单无法展开 @RylanBot ([#3601](https://github.com/Tencent/tdesign-react/pull/3601))
21+
- `Tabs`: 修复初始化值还是会渲染第一个`TabPanel`的bug @HaixingOoO ([#3614](https://github.com/Tencent/tdesign-react/pull/3614))
22+
### 🚧 Others
23+
- docs: A new contributor graph that evaluates community activities from all dimensions @ONLY-yours ([#3584](https://github.com/Tencent/tdesign-react/pull/3584))
24+
825
## 🌈 1.12.2 `2025-05-30`
926
### 🚀 Features
1027
- `Cascader`: 新增支持使用 `option` 方法自定义下拉选项内容的能力 @huangchen1031 ([#3565](https://github.com/Tencent/tdesign-react/pull/3565))
@@ -1101,4 +1118,4 @@ DOUBLE-DENG ([icon#9f4acfd](https://github.com/Tencent/tdesign-icons/commit/9f4a
11011118
- `Dropdown`: 修复多层超长菜单的位置异常问题 @uyarn ([#1964](https://github.com/Tencent/tdesign-react/pull/1964))
11021119

11031120
## 🌈 0.x `2021-03-26 - 2023-02-08`
1104-
前往 [GitHub](https://github.com/Tencent/tdesign-react/blob/develop/packages/tdesign-react/CHANGELOG-0.x.md) 查看 `0.x` 更新日志
1121+
前往 [GitHub](https://github.com/Tencent/tdesign-react/blob/develop/packages/tdesign-react/CHANGELOG-0.x.md) 查看 `0.x` 更新日志

packages/tdesign-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tdesign-react",
3-
"version": "1.12.2",
3+
"version": "1.12.3",
44
"title": "tdesign-react",
55
"description": "TDesign Component for React",
66
"main": "lib/index.js",

packages/tdesign-react/site/docs/getting-started.en-US.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ module.exports = {
8686
}
8787
```
8888

89+
### How to use in React 19
90+
91+
If you need to use TDesign React in React 19, please install version `tdesign-react@1.12.0`. Since it cannot simultaneously support React 16–19, we will soon provide a branch version for long-term compatibility with React 19.
92+
8993
### How to use React with Next.js
9094

9195
`Next.js` does not support importing `css` style files by default. But the `es` bundle of tdesign-react automatically includes the corresponding css style file, which causes errors in the project. To solve this, we have provided a set of style-free component library codes stored in the `lib` bundle.
@@ -103,9 +107,7 @@ In addition, the code exported by the `lib` package is written in `es6` and is l
103107

104108
```js
105109
const nextConfig = {
106-
experimental: {
107-
transpilePackages: ['tdesign-react'],
108-
},
110+
transpilePackages: ['tdesign-react'],
109111
};
110112

111113
module.exports = nextConfig;

packages/tdesign-react/site/docs/getting-started.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ module.exports = {
8989
}],
9090
}
9191
```
92+
### 如何在 React 19 中使用
93+
94+
如果您需要在 React 19 中使用,请安装 `tdesign-react@1.12.0` 这个版本;因为无法同时兼容React 16 -19,我们接下来会专门提供一个分支版本,长期支持在 React 19 的使用 TDesign React。
9295

9396
### 如何在 Next.js 中使用
9497

@@ -107,9 +110,7 @@ import 'tdesign-react/dist/tdesign.css'; // 全局引入所有组件样式代码
107110

108111
```js
109112
const nextConfig = {
110-
experimental: {
111-
transpilePackages: ['tdesign-react'],
112-
},
113+
transpilePackages: ['tdesign-react'],
113114
};
114115

115116
module.exports = nextConfig;

0 commit comments

Comments
 (0)