Skip to content

Commit b926e1e

Browse files
committed
chore: update repository url
1 parent f725161 commit b926e1e

File tree

40 files changed

+138
-138
lines changed

40 files changed

+138
-138
lines changed

.github/ISSUE_TEMPLATE/bug-report.zh-CN.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ body:
99
tdesign-mobile-react 的 Issue 列表接受 bug 报告或是新功能请求。也可加入官方社区:<img width="80px" src="https://user-images.githubusercontent.com/15634204/157386871-bf84c2ea-a02f-4c1c-b6fd-577450cdbcf7.png" />
1010
1111
在发布一个 Issue 前,请确保:
12-
- 在 [常见问题](https://tdesign.tencent.com/about/faq)、[更新日志](https://tdesign.tencent.com/about/release) 和 [旧Issue列表](https://github.com/TDesignOteam/tdesign-mobile-react/issues?q=is%3Aissue) 中搜索过你的问题。(你的问题可能已有人提出,也可能已在最新版本中被修正)
12+
- 在 [常见问题](https://tdesign.tencent.com/about/faq)、[更新日志](https://tdesign.tencent.com/about/release) 和 [旧Issue列表](https://github.com/Tencent/tdesign-mobile-react/issues?q=is%3Aissue) 中搜索过你的问题。(你的问题可能已有人提出,也可能已在最新版本中被修正)
1313
- 如果你发现一个已经关闭的旧 Issue 在最新版本中仍然存在,不要在旧 Issue 下面留言,请建一个新的 issue。
1414
1515
- type: input

.github/ISSUE_TEMPLATE/feature-report.zh-CN.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ body:
99
tdesign-mobile-react 的 Issue 列表接受 bug 报告或是新功能请求。也可加入官方社区:<img width="80px" src="https://user-images.githubusercontent.com/15634204/157386871-bf84c2ea-a02f-4c1c-b6fd-577450cdbcf7.png" />
1010
1111
在发布一个 Issue 前,请确保:
12-
- 在 [常见问题](https://tdesign.tencent.com/about/faq)、[更新日志](https://tdesign.tencent.com/about/release) 和 [旧Issue列表](https://github.com/TDesignOteam/tdesign-mobile-react/issues?q=is%3Aissue) 中搜索过你的问题。(你的问题可能已有人提出,也可能已在最新版本中被修正)
12+
- 在 [常见问题](https://tdesign.tencent.com/about/faq)、[更新日志](https://tdesign.tencent.com/about/release) 和 [旧Issue列表](https://github.com/Tencent/tdesign-mobile-react/issues?q=is%3Aissue) 中搜索过你的问题。(你的问题可能已有人提出,也可能已在最新版本中被修正)
1313
- 如果你发现一个已经关闭的旧 Issue 在最新版本中仍然存在,不要在旧 Issue 下面留言,请建一个新的 issue。
1414
1515
- type: textarea

site/doc/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import 'tdesign-mobile-react/dist/tdesign.css'; // 如需样式请添加这行
3030

3131
由于原始样式基于 less 编写,需要自行处理 less 文件的编译(例如安装 less、less-loader)
3232

33-
更多 less 变量定义 [查看这里](https://github.com/TDesignOteam/tdesign-common/blob/main/style/mobile/_variables.less)
33+
更多 less 变量定义 [查看这里](https://github.com/Tencent/tdesign-common/blob/main/style/mobile/_variables.less)
3434

3535
```javascript
3636
import { Button } from 'tdesign-mobile-react/esm/';
@@ -80,7 +80,7 @@ module.exports = {
8080
}
8181
```
8282

83-
npm package 中提供了多种构建产物,可以阅读 [这里](https://github.com/TDesignOteam/tdesign-common/blob/develop/develop-install.md) 了解不同目录下产物的差别。
83+
npm package 中提供了多种构建产物,可以阅读 [这里](https://github.com/Tencent/tdesign-common/blob/develop/develop-install.md) 了解不同目录下产物的差别。
8484

8585
## 浏览器兼容性
8686

src/avatar/avatar.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
className | String | - | 类名 | N
99
style | Object | - | 样式,TS 类型:`React.CSSProperties` | N
1010
alt | String | - | 头像替换文本,仅当图片加载失败时有效 | N
11-
badgeProps | Object | - | 头像右上角提示信息,继承 Badge 组件的全部特性。如:小红点,或者数字。TS 类型:`TdBadgeProps`[Badge API Documents](./badge?tab=api)[详细类型定义](https://github.com/TDesignOteam/tdesign-mobile-react/tree/develop/src/avatar/type.ts) | N
11+
badgeProps | Object | - | 头像右上角提示信息,继承 Badge 组件的全部特性。如:小红点,或者数字。TS 类型:`TdBadgeProps`[Badge API Documents](./badge?tab=api)[详细类型定义](https://github.com/Tencent/tdesign-mobile-react/tree/develop/src/avatar/type.ts) | N
1212
hideOnLoadFailed | Boolean | false | 加载失败时隐藏图片 | N
13-
icon | TElement | - | 图标。TS 类型:`TNode`[通用类型定义](https://github.com/TDesignOteam/tdesign-mobile-react/blob/develop/src/common.ts) | N
13+
icon | TElement | - | 图标。TS 类型:`TNode`[通用类型定义](https://github.com/Tencent/tdesign-mobile-react/blob/develop/src/common.ts) | N
1414
image | String | - | 图片地址 | N
15-
shape | String | circle | 形状。可选项:circle/round。TS 类型:`ShapeEnum ` `type ShapeEnum = 'circle' | 'round'`[详细类型定义](https://github.com/TDesignOteam/tdesign-mobile-react/tree/develop/src/avatar/type.ts) | N
15+
shape | String | circle | 形状。可选项:circle/round。TS 类型:`ShapeEnum ` `type ShapeEnum = 'circle' | 'round'`[详细类型定义](https://github.com/Tencent/tdesign-mobile-react/tree/develop/src/avatar/type.ts) | N
1616
size | String | - | 尺寸,示例值:small/medium/large/24px/38px 等,默认为 large | N
1717
onError | Function | | TS 类型:`() => void`<br/>图片加载失败时触发 | N
1818

@@ -22,7 +22,7 @@ onError | Function | | TS 类型:`() => void`<br/>图片加载失败时触发
2222
-- | -- | -- | -- | --
2323
className | String | - | 类名 | N
2424
style | Object | - | 样式,TS 类型:`React.CSSProperties` | N
25-
cascading | String | 'right-up' | 图片之间的层叠关系,可选值:左侧图片在上和右侧图片在上。可选项:left-up/right-up。TS 类型:`CascadingValue` `type CascadingValue = 'left-up' | 'right-up'`[详细类型定义](https://github.com/TDesignOteam/tdesign-mobile-react/tree/develop/src/avatar/type.ts) | N
26-
collapseAvatar | TNode | - | 头像数量超出时,会出现一个头像折叠元素。该元素内容可自定义。默认为 `+N`。示例:`+5``...`, `更多`。TS 类型:`string | TNode`[通用类型定义](https://github.com/TDesignOteam/tdesign-mobile-react/blob/develop/src/common.ts) | N
25+
cascading | String | 'right-up' | 图片之间的层叠关系,可选值:左侧图片在上和右侧图片在上。可选项:left-up/right-up。TS 类型:`CascadingValue` `type CascadingValue = 'left-up' | 'right-up'`[详细类型定义](https://github.com/Tencent/tdesign-mobile-react/tree/develop/src/avatar/type.ts) | N
26+
collapseAvatar | TNode | - | 头像数量超出时,会出现一个头像折叠元素。该元素内容可自定义。默认为 `+N`。示例:`+5``...`, `更多`。TS 类型:`string | TNode`[通用类型定义](https://github.com/Tencent/tdesign-mobile-react/blob/develop/src/common.ts) | N
2727
max | Number | - | 能够同时显示的最多头像数量 | N
2828
size | String | medium | 尺寸,示例值:small/medium/large/24px/38px 等。优先级低于 Avatar.size | N

src/back-top/back-top.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
className | String | - | 类名 | N
1010
style | Object | - | 样式,TS 类型:`React.CSSProperties` | N
1111
fixed | Boolean | true | 是否绝对定位固定到屏幕右下方 | N
12-
icon | TNode | 'backtop' | 图标。TS 类型:`string | TNode`[通用类型定义](https://github.com/TDesignOteam/tdesign-mobile-react/blob/develop/src/common.ts) | N
12+
icon | TNode | 'backtop' | 图标。TS 类型:`string | TNode`[通用类型定义](https://github.com/Tencent/tdesign-mobile-react/blob/develop/src/common.ts) | N
1313
target | Object | () => window | 定位滚动到指定对象。TS 类型:`() => HTMLElement` | N
1414
text | String | '' | 文案 | N
1515
theme | String | round | 预设的样式类型。可选项:round/half-round/round-dark/half-round-dark | N

src/badge/badge.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
-- | -- | -- | -- | --
88
className | String | - | 类名 | N
99
style | Object | - | 样式,TS 类型:`React.CSSProperties` | N
10-
children | TNode | - | 徽标内容,同 content。TS 类型:`string | TNode`[通用类型定义](https://github.com/TDesignOteam/tdesign-mobile-react/blob/develop/src/common.ts) | N
10+
children | TNode | - | 徽标内容,同 content。TS 类型:`string | TNode`[通用类型定义](https://github.com/Tencent/tdesign-mobile-react/blob/develop/src/common.ts) | N
1111
color | String | - | 颜色 | N
12-
content | TNode | - | 徽标内容。TS 类型:`string | TNode`[通用类型定义](https://github.com/TDesignOteam/tdesign-mobile-react/blob/develop/src/common.ts) | N
13-
count | TNode | 0 | 徽标右上角内容。可以是数字,也可以是文字。如:'new'/3/99+。TS 类型:`string | number | TNode`[通用类型定义](https://github.com/TDesignOteam/tdesign-mobile-react/blob/develop/src/common.ts) | N
12+
content | TNode | - | 徽标内容。TS 类型:`string | TNode`[通用类型定义](https://github.com/Tencent/tdesign-mobile-react/blob/develop/src/common.ts) | N
13+
count | TNode | 0 | 徽标右上角内容。可以是数字,也可以是文字。如:'new'/3/99+。TS 类型:`string | number | TNode`[通用类型定义](https://github.com/Tencent/tdesign-mobile-react/blob/develop/src/common.ts) | N
1414
dot | Boolean | false | 是否为红点 | N
1515
maxCount | Number | 99 | 封顶的数字值 | N
1616
offset | Array | - | 设置状态点的位置偏移,示例:[-10, 20]['10em', '8rem']。TS 类型:`Array<string | number>` | N

src/button/button.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
className | String | - | 类名 | N
99
style | Object | - | 样式,TS 类型:`React.CSSProperties` | N
1010
block | Boolean | false | 是否为块级元素 | N
11-
children | TNode | - | 按钮内容,同 content。TS 类型:`string | TNode`[通用类型定义](https://github.com/TDesignOteam/tdesign-mobile-react/blob/develop/src/common.ts) | N
12-
content | TNode | - | 按钮内容。TS 类型:`string | TNode`[通用类型定义](https://github.com/TDesignOteam/tdesign-mobile-react/blob/develop/src/common.ts) | N
11+
children | TNode | - | 按钮内容,同 content。TS 类型:`string | TNode`[通用类型定义](https://github.com/Tencent/tdesign-mobile-react/blob/develop/src/common.ts) | N
12+
content | TNode | - | 按钮内容。TS 类型:`string | TNode`[通用类型定义](https://github.com/Tencent/tdesign-mobile-react/blob/develop/src/common.ts) | N
1313
disabled | Boolean | false | 是否禁用按钮 | N
1414
ghost | Boolean | false | 是否为幽灵按钮(镂空按钮) | N
15-
icon | TElement | - | 按钮内部图标,可完全自定义。TS 类型:`TNode`[通用类型定义](https://github.com/TDesignOteam/tdesign-mobile-react/blob/develop/src/common.ts) | N
15+
icon | TElement | - | 按钮内部图标,可完全自定义。TS 类型:`TNode`[通用类型定义](https://github.com/Tencent/tdesign-mobile-react/blob/develop/src/common.ts) | N
1616
loading | Boolean | false | 是否显示为加载状态 | N
1717
shape | String | rectangle | 按钮形状,有 4 种:长方形、正方形、圆角长方形、圆形。可选项:rectangle/square/round/circle | N
18-
size | String | medium | 组件尺寸。可选项:small/medium/large。TS 类型:`SizeEnum`[通用类型定义](https://github.com/TDesignOteam/tdesign-mobile-react/blob/develop/src/common.ts) | N
18+
size | String | medium | 组件尺寸。可选项:small/medium/large。TS 类型:`SizeEnum`[通用类型定义](https://github.com/Tencent/tdesign-mobile-react/blob/develop/src/common.ts) | N
1919
theme | String | default | 组件风格,依次为品牌色、危险色。可选项:default/primary/danger | N
2020
type | String | button | 按钮类型。可选项:submit/reset/button | N
2121
variant | String | base | 按钮形式,基础、线框、文字。可选项:base/outline/text | N

src/cell/cell.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ style | Object | - | 样式,TS 类型:`React.CSSProperties` | N
2626
align | String | middle | 内容的对齐方式,默认居中对齐。可选项:top/middle/bottom | N
2727
arrow | Boolean | false | 是否显示右侧箭头 | N
2828
bordered | Boolean | true | 是否显示下边框 | N
29-
description | TNode | - | 下方内容描述。TS 类型:`string | TNode`[通用类型定义](https://github.com/TDesignOteam/tdesign-mobile-react/blob/develop/src/common.ts) | N
29+
description | TNode | - | 下方内容描述。TS 类型:`string | TNode`[通用类型定义](https://github.com/Tencent/tdesign-mobile-react/blob/develop/src/common.ts) | N
3030
hover | Boolean | - | 是否开启点击反馈 | N
31-
image | TNode | - | 主图。TS 类型:`string | TNode`[通用类型定义](https://github.com/TDesignOteam/tdesign-mobile-react/blob/develop/src/common.ts) | N
32-
leftIcon | TElement | - | 左侧图标,出现在单元格标题的左侧。TS 类型:`TNode`[通用类型定义](https://github.com/TDesignOteam/tdesign-mobile-react/blob/develop/src/common.ts) | N
33-
note | TNode | - | 和标题同行的说明文字。TS 类型:`string | TNode`[通用类型定义](https://github.com/TDesignOteam/tdesign-mobile-react/blob/develop/src/common.ts) | N
31+
image | TNode | - | 主图。TS 类型:`string | TNode`[通用类型定义](https://github.com/Tencent/tdesign-mobile-react/blob/develop/src/common.ts) | N
32+
leftIcon | TElement | - | 左侧图标,出现在单元格标题的左侧。TS 类型:`TNode`[通用类型定义](https://github.com/Tencent/tdesign-mobile-react/blob/develop/src/common.ts) | N
33+
note | TNode | - | 和标题同行的说明文字。TS 类型:`string | TNode`[通用类型定义](https://github.com/Tencent/tdesign-mobile-react/blob/develop/src/common.ts) | N
3434
required | Boolean | false | 是否显示表单必填星号 | N
35-
rightIcon | TElement | - | 最右侧图标。TS 类型:`TNode`[通用类型定义](https://github.com/TDesignOteam/tdesign-mobile-react/blob/develop/src/common.ts) | N
36-
title | TNode | - | 标题。TS 类型:`string | TNode`[通用类型定义](https://github.com/TDesignOteam/tdesign-mobile-react/blob/develop/src/common.ts) | N
35+
rightIcon | TElement | - | 最右侧图标。TS 类型:`TNode`[通用类型定义](https://github.com/Tencent/tdesign-mobile-react/blob/develop/src/common.ts) | N
36+
title | TNode | - | 标题。TS 类型:`string | TNode`[通用类型定义](https://github.com/Tencent/tdesign-mobile-react/blob/develop/src/common.ts) | N
3737
url | String | - | 点击后跳转链接地址。如果值为空,则表示不需要跳转 | N
38-
onClick | Function | | TS 类型:`(context: { e: MouseEvent }) => void`<br/>右侧内容。TS 类型:`string | TNode`[通用类型定义](https://github.com/TDesignOteam/tdesign-mobile-react/blob/develop/src/common.ts) | N
38+
onClick | Function | | TS 类型:`(context: { e: MouseEvent }) => void`<br/>右侧内容。TS 类型:`string | TNode`[通用类型定义](https://github.com/Tencent/tdesign-mobile-react/blob/develop/src/common.ts) | N

0 commit comments

Comments
 (0)