From 66888be78e7da914533991494bcb6b03fd4d6c49 Mon Sep 17 00:00:00 2001 From: Kyrie Lin Date: Thu, 24 Aug 2023 11:08:10 +0800 Subject: [PATCH] chore: publish 1.2.2 (#2463) * chore: publish 1.2.2 * chore: changelog's changes --------- Co-authored-by: github-actions[bot] --- CHANGELOG.md | 14 ++++++++++++++ package.json | 2 +- src/_common | 2 +- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d493f9228e..4d44081763 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,20 @@ toc: false spline: explain --- + ## 🌈 1.2.2 `2023-08-24` +### 🚀 Features +- `Table`: + - 树形结构,新增组件实例方法 `removeChildren`,用于移除子节点 @chaishi ([#2453](https://github.com/Tencent/tdesign-react/pull/2453)) + - 树形结构,支持通过属性 `expandedTreeNodes.sync` 自由控制展开节点,非必传属性 @chaishi ([#2453](https://github.com/Tencent/tdesign-react/pull/2453)) +- `Tree`: 新增`scrollTo`方法 支持在虚拟滚动场景下滚动到指定节点的需求 @uyarn ([#2460](https://github.com/Tencent/tdesign-react/pull/2460)) +### 🐞 Bug Fixes +- `taginput`: fix when entering Chinese, it will be blocked by the previous label @Zzongke ([#2438](https://github.com/Tencent/tdesign-react/pull/2438)) +- `Table`: + - 点击行展开/点击行选中,修复 `expandOnRowClick`和 `selectOnRowClick` 无法独立控制行点击执行交互问题 [issue#3254](https://github.com/Tencent/tdesign-vue-next/issues/3254) @chaishi ([#2452](https://github.com/Tencent/tdesign-react/pull/2452)) + - 树形结构,修复组件实例方法 展开全部 `expandAll` 问题 @chaishi ([#2453](https://github.com/Tencent/tdesign-react/pull/2453)) +- `TagInput`: 修复中文展示问题 @Zzongke ([#2438](https://github.com/Tencent/tdesign-react/pull/2438)) +- `Form`: 修复FormList组件使用form setFieldsValue、reset异常 @nickcdon ([#2406](https://github.com/Tencent/tdesign-react/pull/2406)) + ## 🌈 1.2.1 `2023-08-16` ### 🚀 Features - `Anchor`: 新增 `getCurrentAnchor` 支持自定义高亮锚点 @ontheroad1992 ([#2436](https://github.com/Tencent/tdesign-react/pull/2436)) diff --git a/package.json b/package.json index e02578c18b..a1532c5098 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "tdesign-react", "purename": "tdesign", - "version": "1.2.1", + "version": "1.2.2", "description": "TDesign Component for React", "title": "tdesign-react", "main": "lib/index.js", diff --git a/src/_common b/src/_common index 54d0776b97..8fa937b3e9 160000 --- a/src/_common +++ b/src/_common @@ -1 +1 @@ -Subproject commit 54d0776b97c546e5497cb933b37b9eac99df16a1 +Subproject commit 8fa937b3e99df7446c8661142e4e687fa02027cc