Skip to content

Commit b100b03

Browse files
committed
Merge remote-tracking branch 'upstream/develop' into feature/insekkei
2 parents fe7cba6 + 1c1ce39 commit b100b03

File tree

96 files changed

+2357
-1503
lines changed

Some content is hidden

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

96 files changed

+2357
-1503
lines changed

.github/workflows/issue-assignees.temp.yml

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -15,38 +15,3 @@ jobs:
1515
issuesOpened: |
1616
👋 @{{ author }},感谢给 TDesign 提出了 issue。
1717
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
18-
19-
# https://docs.github.com/cn/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues
20-
- uses: 94dreamer/issue-assignees@main
21-
id: assignees
22-
with:
23-
project_name: ${{github.event.repository.name}}
24-
issue_title: ${{github.event.issue.title}}
25-
26-
- run: echo ${{ steps.assignees.outputs.contributors }}
27-
- name: Add assigness
28-
if: steps.assignees.outputs.contributors != ''
29-
uses: actions-cool/issues-helper@v3
30-
with:
31-
actions: 'add-assignees'
32-
token: ${{ secrets.GITHUB_TOKEN }}
33-
issue-number: ${{ github.event.issue.number }}
34-
assignees: ${{ steps.assignees.outputs.contributors }}
35-
36-
- run: |
37-
contributors=${{ steps.assignees.outputs.contributors }}
38-
contributorstring=${contributors//,/ @}
39-
echo "::set-output name=string::@$contributorstring"
40-
id: contributors
41-
42-
- name: 通知贡献者
43-
if: steps.assignees.outputs.contributors != ''
44-
uses: actions-cool/[email protected]
45-
with:
46-
token: ${{ secrets.GITHUB_TOKEN }}
47-
body: |
48-
♥️ 有劳 ${{ steps.contributors.outputs.string }} 尽快确认问题。
49-
确认有效后将下一步计划和可能需要的时间回复给 @${{ github.event.issue.user.login }} 。
50-
<!-- AUTO_ASSIGENEES_NOTIFY_HOOK -->
51-
number: ${{ github.event.issue.number }}
52-
body-include: "<!-- AUTO_ASSIGENEES_NOTIFY_HOOK -->"

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@
2525
"source.fixAll.eslint": "explicit"
2626
},
2727
"cSpell.words": ["activable", "actived", "borderless", "Cascader", "Popconfirm", "Swiper", "tdesign"]
28-
}
28+
}

CHANGELOG.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,49 @@ toc: false
55
spline: explain
66
---
77

8+
## 🌈 1.5.5 `2024-03-28`
9+
### 🐞 Bug Fixes
10+
- `ImageViewer`: 修复 `imageReferrerpolicy` 没有对顶部缩略图生效的问题 @uyarn ([#2815](https://github.com/Tencent/tdesign-react/pull/2815))
11+
12+
## 🌈 1.5.4 `2024-03-28`
13+
### 🚀 Features
14+
- `ImageViewer`: 新增`imageReferrerpolicy` API,支持配合 Image 组件的需要配置 Referrerpolicy 的场景 @uyarn ([#2813](https://github.com/Tencent/tdesign-react/pull/2813))
15+
### 🐞 Bug Fixes
16+
- `Select`: 修复 `onRemove` 事件没有正常触发的问题 @Ali-ovo ([#2802](https://github.com/Tencent/tdesign-react/pull/2802))
17+
- `Skeleton`: 修复`children`为必须的类型问题 @uyarn ([#2805](https://github.com/Tencent/tdesign-react/pull/2805))
18+
- `Tabs`: 提供 `action` 区域默认样式 @HaixingOoO ([#2808](https://github.com/Tencent/tdesign-react/pull/2808))
19+
- `Locale`: 修复`image``imageViewer` 英语语言包异常的问题 @uyarn @HaixingOoO ([#2808](https://github.com/Tencent/tdesign-react/pull/2808))
20+
- `Image`: `referrerpolicy` 参数被错误传递到外层 `div` 上,实际传递目标为原生 `image` 标签 @NWYLZW ([#2811](https://github.com/Tencent/tdesign-react/pull/2811))
21+
22+
## 🌈 1.5.3 `2024-03-14`
23+
### 🚀 Features
24+
- `Breadcrumb`: `BreadcrumbItem` 支持 `onClick` 事件 @HaixingOoO ([#2795](https://github.com/Tencent/tdesign-react/pull/2795))
25+
- `tag`: `Tag`组件新增`color`API,支持自定义颜色 @maoyiluo @uyarn ([#2799](https://github.com/Tencent/tdesign-react/pull/2799))
26+
### 🐞 Bug Fixes
27+
- `FormList`: 修复多个`FormList` 卡死的问题 @HaixingOoO ([#2788](https://github.com/Tencent/tdesign-react/pull/2788))
28+
- `DatePicker`: 修复 `format``valueType` 不一致的场景下计算错误的问题 @uyarn ([#2798](https://github.com/Tencent/tdesign-react/pull/2798))
29+
### 🚧 Others
30+
- `Portal`: 添加Portal测试用例 @HaixingOoO ([#2791](https://github.com/Tencent/tdesign-react/pull/2791))
31+
- `List`: 完善 List 测试用例 @HaixingOoO ([#2792](https://github.com/Tencent/tdesign-react/pull/2792))
32+
- `Alert`: 完善 Alert 测试,优化代码 @HaixingOoO ([#2793](https://github.com/Tencent/tdesign-react/pull/2793))
33+
34+
## 🌈 1.5.2 `2024-02-29`
35+
### 🚀 Features
36+
- `Cascader`: 新增`valueDisplay``label` API的支持 @HaixingOoO ([#2736](https://github.com/Tencent/tdesign-react/pull/2736))
37+
- `Descriptions`: `Descriptions` 组件支持嵌套 @HaixingOoO ([#2777](https://github.com/Tencent/tdesign-react/pull/2777))
38+
- `Tabs`: 调整激活 `Tab`下划线与 `TabHeader`边框的层级关系 @uyarn ([#2780](https://github.com/Tencent/tdesign-react/pull/2780))
39+
### 🐞 Bug Fixes
40+
- `Grid`: 尺寸计算错误,宽度兼容异常 @NWYLZW ([#2738](https://github.com/Tencent/tdesign-react/pull/2738))
41+
- `Cascader`: 修复`clearable`点击清除按钮触发三次`onChange`的问题 @HaixingOoO ([#2736](https://github.com/Tencent/tdesign-react/pull/2736))
42+
- `Dialog`: 修复`useDialogPosition`渲染多次绑定事件 @HaixingOoO ([#2749](https://github.com/Tencent/tdesign-react/pull/2749))
43+
- `Guide`: 修复`Guide`自定义内容功能失效 @zhangpaopao0609 ([#2752](https://github.com/Tencent/tdesign-react/pull/2752))
44+
- `Tree`: 修复设置 `keys.children` 后展开图标没有正常变化的问题 @uyarn ([#2746](https://github.com/Tencent/tdesign-react/pull/2746))
45+
- `Tree`: 修复`Tree` 自定义label `setData` 没有渲染的问题 @HaixingOoO ([#2776](https://github.com/Tencent/tdesign-react/pull/2776))
46+
- `Tree`: 修复设置 `Tree` 宽度,`TreeItem``checkbox` 会被压缩,`label` 省略号失效的问题 @HaixingOoO @uyarn ([#2780](https://github.com/Tencent/tdesign-react/pull/2780))
47+
- `Select`: @uyarn
48+
- 修复通过滚动加载选项选中后滚动行为异常的问题 ([#2779](https://github.com/Tencent/tdesign-react/pull/2779))
49+
- 修复使用`size` API时,虚拟滚动的功能异常问题 ([#2756](https://github.com/Tencent/tdesign-react/pull/2756))
50+
851
## 🌈 1.5.1 `2024-01-25`
952
### 🚀 Features
1053
- `Popup`: 支持`Plugin`方式使用。 @HaixingOoO ([#2717](https://github.com/Tencent/tdesign-react/pull/2717))

README-zh_CN.md

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

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

98-
<img src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/doc/React-IM.png" width="200" />
98+
<img src="https://raw.githubusercontent.com/Tencent/tdesign/main/packages/components/src/images/groups/react-group.png" width="200" />
9999

100100
# 开源协议
101101

README.md

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

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

98-
<img src="https://oteam-tdesign-1258344706.cos.ap-guangzhou.myqcloud.com/site/doc/React-IM.png" width="200" />
98+
<img src="https://raw.githubusercontent.com/Tencent/tdesign/main/packages/components/src/images/groups/react-group.png" width="200" />
9999

100100
# License
101101

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "tdesign-react",
33
"purename": "tdesign",
4-
"version": "1.5.1",
4+
"version": "1.5.5",
55
"description": "TDesign Component for React",
66
"title": "tdesign-react",
77
"main": "lib/index.js",
@@ -184,7 +184,7 @@
184184
"start-server-and-test": "^1.14.0",
185185
"tdesign-icons-view": "^0.2.0",
186186
"tdesign-publish-cli": "^0.0.10",
187-
"tdesign-site-components": "^0.13.1",
187+
"tdesign-site-components": "^0.14.6",
188188
"tdesign-theme-generator": "^1.0.0",
189189
"ts-morph": "^13.0.02",
190190
"ts-node": "^10.4.0",
@@ -194,7 +194,7 @@
194194
"vite-plugin-pwa": "^0.12.8",
195195
"vite-plugin-tdoc": "^2.0.1",
196196
"vitest": "^0.24.1",
197-
"workbox-precaching": "^6.3.0"
197+
"workbox-precaching": "^7.0.0"
198198
},
199199
"dependencies": {
200200
"@babel/runtime": "~7.17.2",

script/init-component/config.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,6 @@ function getToBeCreatedFiles(component, pascalCaseName) {
1212
file: `${pascalCaseName}.tsx`,
1313
template: 'component.tsx.tpl',
1414
},
15-
{
16-
file: `api.md`,
17-
template: 'api.md.tpl',
18-
},
19-
{
20-
file: `README.md`,
21-
template: 'readme.md.tpl',
22-
},
2315
],
2416
},
2517
[`src/${component}/_example`]: {

script/init-component/tpl/api.md.tpl

Lines changed: 0 additions & 3 deletions
This file was deleted.

script/init-component/tpl/component.tsx.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { Td<%= PascalCaseComponent %>Props } from '../_type/components/<%= component %>';
2+
import type { Td<%= PascalCaseComponent %>Props } from './type';
33

44
export type <%= PascalCaseComponent %>Props = Td<%= PascalCaseComponent %>Props;
55

script/init-component/tpl/readme.md.tpl

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)