Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit af8dc9e

Browse files
uyarnRylanBotliweijie0812RSS1102github-actions[bot]
authored
chore: release 1.14.0-naruto (#3719)
* fix(Tree): add `disabled` state check for `draggable` nodes (#3690) * fix(Tree): add `disabled` state check for `draggable` nodes * fix(Tree): ensure draggable class is only applied to non-disabled nodes * chore: @tdesign/site-components instead of tdesign-site-components (#3693) * feat(Textarea): add `allowInputOverMax` prop to control input behavior after exceeding `maxlength` (#3691) * chore: update group code path (#3698) * fix(watermark): fix fontColor for dark mode (#3697) * docs(Table): fix `asyncLoading` state description (#3706) * feat(icons): new version of tdesign icons (#3709) * feat(icons): new version of tdesign icons * feat: specified icon * chore: update snapshot * feat: official version * chore: update snapshot * feat(Tabs): add API `dragSort` and `onDragSort` (#3711) * feat(Tabs): add `dragSort`、`onDragSort` and TabPanelProps api `draggable` * feat: 添加拖拽排序功能到选项卡组件 * feat(Tabs): 增强拖拽排序功能,支持事件回调和数据索引计算 * fix(useDragSort): 移除未使用的 emit 参数 * fix(useDragSort): 优化拖拽排序逻辑,修复拖拽效果和目标状态处理 * fix(useDragSort): 优化拖拽效果处理,简化目标可放置状态判断 * chore: update snapshot * fix: 移动 useDragSort 导入路径至 utils 目录 * fix(useDragSort): 更新面板类型定义,使用 TTabPanel 实例化 * fix(tab-nav): 添加注释说明 onDragSort 属性的用途 * refactor(tab-nav): 替换 useDragSort 为 handleDragSort --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(Dialog): attach should work when showInAttachedElement is true (#3692) * fix(Dialog): attach should work when showInAttachedElement is true * fix(drawer): attach should work when showInAttachedElement is true * docs(skeleton): update doc and default props (#3682) * docs(skeleton): update doc * chore: update snapshot * chore: optimize docs * chore: update snapshot --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Uyarn <[email protected]> * chore(submodule): update common (#3713) * chore(submodule): update common * chore: update snapshot --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat(tabs): extract the remove event to outside the remove-icon-btn (#3686) * refactor(tabs): extract the remove event to outside the remove-icon-btn * fix(tab-nav-item): remove redundant class from CloseIcon component * chore: update common * test(tabs): enhance @remove event handling with separate callbacks for Tabs and TabPanel * fix(tabs): improve `@remove` event handling by separating event data for Tabs and TabPanel * fix(tabs): import missing TdTabPanelProps for proper type handling * chore: update common --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(Tag): prevent click event when click close button (#3715) * fix(Select): return complete option when keys is set (#3716) * fix(Select): return complete option when keys is set * chore: fix lint * chore: release 1.14.0 (#3717) * chore: release 1.14.0 * chore: changelog's changes * chore: changelog's changes --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: release 1.14.0-naruto --------- Co-authored-by: Rylan <[email protected]> Co-authored-by: liweijie0812 <[email protected]> Co-authored-by: 阿菜 Cai <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: TDesign bot <[email protected]>
1 parent 0347e87 commit af8dc9e

File tree

76 files changed

+17566
-4541
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+17566
-4541
lines changed

CHANGELOG.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,46 @@ toc: false
55
docClass: timeline
66
---
77

8+
## 🌈 1.14.0 `2025-09-19`
9+
### 🚀 Features
10+
- `Icon`@uyarn
11+
- `tdesign-icons-vue` 发布 0.4.x 版本,新增 align-bottom、no-result、no-result-filled、 tree-list、wifi-no、 wifi-no-filled、logo-stackblitz-filled、logo-stackblitz、logo-wecom-filled 图标,移除 video-camera-3、video-camera-3-filled、list 图标,此前有依赖以上三个图标升级请注意 ⚠️ ([#3709](https://github.com/Tencent/tdesign-vue/pull/3709))
12+
- 按需加载方式使用的图标资源支持可变粗细功能,通过`strokeWidth`属性进行配置,详情请参考示例和文档 ([#3709](https://github.com/Tencent/tdesign-vue/pull/3709))
13+
- 按需加载方式使用的图标资源支持多色填充功能,通过`strokeColor``fillColor` 属性进行配置,详情请参考示例和文档 ([#3709](https://github.com/Tencent/tdesign-vue/pull/3709))
14+
- `Textarea`: 新增 `allowInputOverMax` API,允许输入超过 `maxlength` @RSS1102 ([#3691](https://github.com/Tencent/tdesign-vue/pull/3691))
15+
- `Tabs`: @RSS1102
16+
- 新增 `dragSort``onDragSort` 方法,用于进行选项卡调换顺序的需求 ([#3711](https://github.com/Tencent/tdesign-vue/pull/3711))
17+
- 将 remove 事件从删除图标移至外层容器, 保证替换图标功能正常使用,有覆盖删除图标样式请注意此变更 ⚠️ ([#3686](https://github.com/Tencent/tdesign-vue/pull/3686))
18+
- `Skeleton`: 修复 `theme` 默认值不符合文档描述的问题,需要 `paragraph` 效果升级后手动设置 `theme` @liweijie0812 ([#3682](https://github.com/Tencent/tdesign-vue/pull/3682))
19+
20+
### 🐞 Bug Fixes
21+
- `Tree`: 修复 `draggable``disabled` 状态下依旧生效的异常 @RylanBot ([#3690](https://github.com/Tencent/tdesign-vue/pull/3690))
22+
- `Watermark`: 修复深色模式下,文字水印内容显示不明显的问题 @liweijie0812 ([#3697](https://github.com/Tencent/tdesign-vue/pull/3697))
23+
- `Dialog`: 修复`1.10.8`版本后,`showInAttachedElement` 不能配合 `attach` 一起使用的问题 @uyarn ([#3692](https://github.com/Tencent/tdesign-vue/pull/3692))
24+
- `Tree`: 修复自定义 icon 场景下,全被设为 open 状态,导致图标颜色错误的问题 @RylanBot([#3713](https://github.com/Tencent/tdesign-vue/pull/3713))
25+
- `Tag`: 修复点击关闭按钮会同时触发点击事件的问题 @uyarn ([#3715](https://github.com/Tencent/tdesign-vue/pull/3715))
26+
- `Select`: 修复设置 `keys` 后, onChange 回调参数中 selectedOptions 参数缺失的问题 @uyarn ([#3716](https://github.com/Tencent/tdesign-vue/pull/3716))
27+
28+
## 🌈 1.14.0 `2025-09-19`
29+
### 🚀 Features
30+
- `Icon`@uyarn
31+
- `tdesign-icons-vue` 发布 0.4.x 版本,新增 align-bottom、no-result、no-result-filled、 tree-list、wifi-no、 wifi-no-filled、logo-stackblitz-filled、logo-stackblitz、logo-wecom-filled 图标,移除 video-camera-3、video-camera-3-filled、list 图标,此前有依赖以上三个图标升级请注意 ⚠️ ([#3709](https://github.com/Tencent/tdesign-vue/pull/3709))
32+
- 按需加载方式使用的图标资源支持可变粗细功能,通过`strokeWidth`属性进行配置,详情请参考示例和文档 ([#3709](https://github.com/Tencent/tdesign-vue/pull/3709))
33+
- 按需加载方式使用的图标资源支持多色填充功能,通过`strokeColor``fillColor` 属性进行配置,详情请参考示例和文档 ([#3709](https://github.com/Tencent/tdesign-vue/pull/3709))
34+
- `Textarea`: 新增 `allowInputOverMax` API,允许输入超过 `maxlength` @RSS1102 ([#3691](https://github.com/Tencent/tdesign-vue/pull/3691))
35+
- `Tabs`: @RSS1102
36+
- 新增 `dragSort``onDragSort` 方法,用于进行选项卡调换顺序的需求 ([#3711](https://github.com/Tencent/tdesign-vue/pull/3711))
37+
- 将 remove 事件从删除图标移至外层容器, 保证替换图标功能正常使用,有覆盖删除图标样式请注意此变更 ⚠️ ([#3686](https://github.com/Tencent/tdesign-vue/pull/3686))
38+
- `Skeleton`: 修复 `theme` 默认值不符合文档描述的问题,需要 `paragraph` 效果升级后手动设置 `theme` @liweijie0812 ([#3682](https://github.com/Tencent/tdesign-vue/pull/3682))
39+
- `tabs`:
40+
### 🐞 Bug Fixes
41+
- `Tree`: 修复 `draggable``disabled` 状态下依旧生效的异常 @RylanBot ([#3690](https://github.com/Tencent/tdesign-vue/pull/3690))
42+
- `Watermark`: 修复深色模式下,文字水印内容显示不明显的问题 @liweijie0812 ([#3697](https://github.com/Tencent/tdesign-vue/pull/3697))
43+
- `Dialog`: 修复`1.10.8`版本后,`showInAttachedElement` 不能配合 `attach` 一起使用的问题 @uyarn ([#3692](https://github.com/Tencent/tdesign-vue/pull/3692))
44+
- `Tree`: 修复自定义 icon 场景下,全被设为 open 状态,导致图标颜色错误的问题 @RylanBot([#3713](https://github.com/Tencent/tdesign-vue/pull/3713))
45+
- `Tag`: 修复点击关闭按钮会同时触发点击事件的问题 @uyarn ([#3715](https://github.com/Tencent/tdesign-vue/pull/3715))
46+
- `Select`: 修复设置 `keys` 后, onChange 回调参数中 selectedOptions 参数缺失的问题 @uyarn ([#3716](https://github.com/Tencent/tdesign-vue/pull/3716))
47+
848
## 🌈 1.13.1 `2025-08-20`
949
### 🚀 Features
1050
- `Table`: 新增切换分页后重置滚动条回到顶部的特性 @RSS1102 ([#3684](https://github.com/Tencent/tdesign-vue/pull/3684))

README-zh_CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ TDesign 欢迎任何愿意参与贡献的参与者。如果需要本地运行代
8484

8585
有任何问题,建议通过 [Github issues](https://github.com/Tencent/tdesign-vue/issues) 反馈或扫码加入用户微信群。
8686

87-
<img src="https://raw.githubusercontent.com/Tencent/tdesign/main/packages/components/src/images/groups/vue2-group.png" width="200" />
87+
<img src="https://raw.githubusercontent.com/Tencent/tdesign/main/packages/site-components/src/images/groups/vue3-group.png" width="200" />
8888

8989
# 开源协议
9090

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Contributing is welcome. Read [guidelines for contributing](https://github.com/T
8686

8787
Create your [Github issues](https://github.com/Tencent/tdesign-vue/issues) or scan the QR code below to join our user groups
8888

89-
<img src="https://raw.githubusercontent.com/Tencent/tdesign/main/packages/components/src/images/groups/vue2-group.png" width="200" />
89+
<img src="https://raw.githubusercontent.com/Tencent/tdesign/main/packages/site-components/src/images/groups/vue3-group.png" width="200" />
9090

9191
# License
9292

helper/attributes.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4816,11 +4816,11 @@
48164816
},
48174817
"t-primary-table/async-loading": {
48184818
"type": "String|TNode",
4819-
"description": "async loading state\n\n异步加载状态。值为 `loading` 显示默认文字 “正在加载中,请稍后”,值为 `loading-more` 显示“点击加载更多”,值为其他,表示完全自定义异步加载区域内容\n\n[docs](https://tdesign.tencent.com/vue/components/table?tab=api#primarytable-props)"
4819+
"description": "async loading state\n\n异步加载状态。值为 `loading` 显示默认文字 “正在加载中,请稍后”,值为 `load-more` 显示“点击加载更多”,值为其他,表示完全自定义异步加载区域内容\n\n[docs](https://tdesign.tencent.com/vue/components/table?tab=api#primarytable-props)"
48204820
},
48214821
"t-table/async-loading": {
48224822
"type": "String|TNode",
4823-
"description": "async loading state\n\n异步加载状态。值为 `loading` 显示默认文字 “正在加载中,请稍后”,值为 `loading-more` 显示“点击加载更多”,值为其他,表示完全自定义异步加载区域内容\n\n[docs](https://tdesign.tencent.com/vue/components/table?tab=api#primarytable-props)"
4823+
"description": "async loading state\n\n异步加载状态。值为 `loading` 显示默认文字 “正在加载中,请稍后”,值为 `load-more` 显示“点击加载更多”,值为其他,表示完全自定义异步加载区域内容\n\n[docs](https://tdesign.tencent.com/vue/components/table?tab=api#primarytable-props)"
48244824
},
48254825
"t-primary-table/column-controller": {
48264826
"type": "Object",

helper/web-types.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10950,7 +10950,7 @@
1095010950
"props": [
1095110951
{
1095210952
"name": "async-loading",
10953-
"description": "async loading state\n\n异步加载状态。值为 `loading` 显示默认文字 “正在加载中,请稍后”,值为 `loading-more` 显示“点击加载更多”,值为其他,表示完全自定义异步加载区域内容",
10953+
"description": "async loading state\n\n异步加载状态。值为 `loading` 显示默认文字 “正在加载中,请稍后”,值为 `load-more` 显示“点击加载更多”,值为其他,表示完全自定义异步加载区域内容",
1095410954
"doc-url": "https://tdesign.tencent.com/vue/components/table?tab=api#primarytable-props",
1095510955
"type": "'loading' | 'load-more' | TNode"
1095610956
},
@@ -11643,12 +11643,12 @@
1164311643
"slots": [
1164411644
{
1164511645
"name": "asyncLoading",
11646-
"description": "async loading state\n\n异步加载状态。值为 `loading` 显示默认文字 “正在加载中,请稍后”,值为 `loading-more` 显示“点击加载更多”,值为其他,表示完全自定义异步加载区域内容类型和参数:'loading' | 'load-more' | TNode",
11646+
"description": "async loading state\n\n异步加载状态。值为 `loading` 显示默认文字 “正在加载中,请稍后”,值为 `load-more` 显示“点击加载更多”,值为其他,表示完全自定义异步加载区域内容类型和参数:'loading' | 'load-more' | TNode",
1164711647
"doc-url": "https://tdesign.tencent.com/vue/components/table?tab=api#primarytable-props"
1164811648
},
1164911649
{
1165011650
"name": "async-loading",
11651-
"description": "async loading state\n\n异步加载状态。值为 `loading` 显示默认文字 “正在加载中,请稍后”,值为 `loading-more` 显示“点击加载更多”,值为其他,表示完全自定义异步加载区域内容类型和参数:'loading' | 'load-more' | TNode",
11651+
"description": "async loading state\n\n异步加载状态。值为 `loading` 显示默认文字 “正在加载中,请稍后”,值为 `load-more` 显示“点击加载更多”,值为其他,表示完全自定义异步加载区域内容类型和参数:'loading' | 'load-more' | TNode",
1165211652
"doc-url": "https://tdesign.tencent.com/vue/components/table?tab=api#primarytable-props"
1165311653
},
1165411654
{
@@ -11783,7 +11783,7 @@
1178311783
"props": [
1178411784
{
1178511785
"name": "async-loading",
11786-
"description": "async loading state\n\n异步加载状态。值为 `loading` 显示默认文字 “正在加载中,请稍后”,值为 `loading-more` 显示“点击加载更多”,值为其他,表示完全自定义异步加载区域内容",
11786+
"description": "async loading state\n\n异步加载状态。值为 `loading` 显示默认文字 “正在加载中,请稍后”,值为 `load-more` 显示“点击加载更多”,值为其他,表示完全自定义异步加载区域内容",
1178711787
"doc-url": "https://tdesign.tencent.com/vue/components/table?tab=api#primarytable-props",
1178811788
"type": "'loading' | 'load-more' | TNode"
1178911789
},
@@ -12476,12 +12476,12 @@
1247612476
"slots": [
1247712477
{
1247812478
"name": "asyncLoading",
12479-
"description": "async loading state\n\n异步加载状态。值为 `loading` 显示默认文字 “正在加载中,请稍后”,值为 `loading-more` 显示“点击加载更多”,值为其他,表示完全自定义异步加载区域内容类型和参数:'loading' | 'load-more' | TNode",
12479+
"description": "async loading state\n\n异步加载状态。值为 `loading` 显示默认文字 “正在加载中,请稍后”,值为 `load-more` 显示“点击加载更多”,值为其他,表示完全自定义异步加载区域内容类型和参数:'loading' | 'load-more' | TNode",
1248012480
"doc-url": "https://tdesign.tencent.com/vue/components/table?tab=api#primarytable-props"
1248112481
},
1248212482
{
1248312483
"name": "async-loading",
12484-
"description": "async loading state\n\n异步加载状态。值为 `loading` 显示默认文字 “正在加载中,请稍后”,值为 `loading-more` 显示“点击加载更多”,值为其他,表示完全自定义异步加载区域内容类型和参数:'loading' | 'load-more' | TNode",
12484+
"description": "async loading state\n\n异步加载状态。值为 `loading` 显示默认文字 “正在加载中,请稍后”,值为 `load-more` 显示“点击加载更多”,值为其他,表示完全自定义异步加载区域内容类型和参数:'loading' | 'load-more' | TNode",
1248512485
"doc-url": "https://tdesign.tencent.com/vue/components/table?tab=api#primarytable-props"
1248612486
},
1248712487
{

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "tdesign-vue",
33
"purename": "tdesign",
4-
"version": "1.13.1-naruto",
4+
"version": "1.14.0-naruto",
55
"description": "tdesign-vue",
66
"title": "tdesign-vue",
77
"keywords": [
@@ -96,7 +96,7 @@
9696
"mitt": "^3.0.0",
9797
"raf": "^3.4.1",
9898
"sortablejs": "^1.15.0",
99-
"tdesign-icons-vue": "^0.3.6",
99+
"tdesign-icons-vue": "^0.4.1",
100100
"tinycolor2": "^1.4.2",
101101
"validator": "^13.5.1"
102102
},
@@ -180,9 +180,8 @@
180180
"rollup-plugin-styles": "^4.0.0",
181181
"rollup-plugin-terser": "~7.0.2",
182182
"rollup-plugin-vue": "^5.1.9",
183-
"tdesign-icons-view": "^0.3.7",
184183
"tdesign-publish-cli": "^0.0.12",
185-
"tdesign-site-components": "^0.13.0",
184+
"@tdesign/site-components": "^0.17.0",
186185
"tdesign-theme-generator": "^1.0.5",
187186
"typescript": "~4.7.4",
188187
"vite": "^2.9.6",

site/src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<script>
99
import enConfig from 'tdesign-vue/es/locale/en_US';
1010
import zhConfig from 'tdesign-vue/es/locale/zh_CN';
11-
import { getLang } from 'tdesign-site-components';
11+
import { getLang } from '@tdesign/site-components';
1212
1313
export default {
1414
computed: {

site/src/main.js

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,15 @@ import 'tdesign-vue/style/index.js';
1414
import '@common/style/web/docs.less';
1515

1616
// import site webcomponents
17-
import 'tdesign-site-components';
18-
import 'tdesign-site-components/lib/styles/style.css';
19-
import 'tdesign-site-components/lib/styles/prism-theme.less';
20-
import 'tdesign-site-components/lib/styles/prism-theme-dark.less';
21-
22-
// import icons webcomponents
23-
import 'tdesign-icons-view';
17+
import '@tdesign/site-components';
18+
import '@tdesign/site-components/lib/styles/style.css';
19+
import '@tdesign/site-components/lib/styles/prism-theme.less';
20+
import '@tdesign/site-components/lib/styles/prism-theme-dark.less';
2421

2522
// 主题生成器挂件
2623
import 'tdesign-theme-generator';
2724

28-
import { registerLocaleChange } from 'tdesign-site-components';
25+
import { registerLocaleChange } from '@tdesign/site-components';
2926

3027
registerLocaleChange();
3128

src/_common

Submodule _common updated 47 files
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
// Vitest Snapshot v1
22

33
exports[`AnchorTarget > <slot> > should render default slot 1`] = `
4-
"<h1 id=\\"test-target\\" class=\\"t-anchor__target\\">this is default slots<svg fill=\\"none\\" viewBox=\\"0 0 24 24\\" width=\\"1em\\" height=\\"1em\\" class=\\"t-icon t-icon-file-copy t-anchor__copy\\">
5-
<path fill=\\"currentColor\\" d=\\"M6 1H15.4142L21 6.58579V19H6V1ZM8 3V17H19V9H13V3H8ZM15 3.41421V7H18.5858L15 3.41421ZM4 5V21H15V23H2V5H4Z\\"></path>
4+
"<h1 id=\\"test-target\\" class=\\"t-anchor__target\\">this is default slots<svg fill=\\"none\\" viewBox=\\"0 0 24 24\\" width=\\"1em\\" height=\\"1em\\" class=\\"t-icon t-icon-file-copy t-anchor__copy\\" style=\\"fill: none;\\">
5+
<g id=\\"file-copy\\">
6+
<path id=\\"fill1\\" fill=\\"transparent\\" d=\\"M7 18V2H14V8H20V18H7Z\\"></path>
7+
<path id=\\"stroke1\\" stroke=\\"currentColor\\" d=\\"M14 2V8H20M14 2H15L20 7V8M14 2H7V18H20V8\\" stroke-width=\\"2\\"></path>
8+
<path id=\\"stroke2\\" stroke=\\"currentColor\\" d=\\"M3 6L3 22H14\\" stroke-linecap=\\"square\\" stroke-width=\\"2\\"></path>
9+
</g>
610
</svg></h1>"
711
`;

0 commit comments

Comments
 (0)