Skip to content

Commit 77d2f5b

Browse files
committed
docs: sync api
1 parent 4b910a5 commit 77d2f5b

File tree

5 files changed

+10
-20
lines changed

5 files changed

+10
-20
lines changed

src/action-sheet/__test__/__snapshots__/demo.test.js.snap

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ exports[`ActionSheet ActionSheet list demo works fine 1`] = `
5151
<list>
5252
<t-action-sheet
5353
id="t-action-sheet"
54-
showOverlay="{{false}}"
5554
usingCustomNavbar="{{true}}"
5655
bind:selected="handleSelected"
5756
/>

src/loading/README.en-US.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,18 @@ style | Object | - | CSS(Cascading Style Sheets) | N
1010
custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N
1111
delay | Number | 0 | \- | N
1212
duration | Number | 800 | \- | N
13-
fullscreen | Boolean | true | \- | N
13+
fullscreen | Boolean | false | `1.8.5` | N
1414
indicator | Boolean / Slot | true | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N
1515
inherit-color | Boolean | false | \- | N
1616
layout | String | horizontal | options: horizontal/vertical | N
1717
loading | Boolean | true | \- | N
1818
pause | Boolean | false | \- | N
1919
progress | Number | - | \- | N
2020
reverse | Boolean | - | \- | N
21-
size | String | '40rpx' | \- | N
21+
size | String | '20px' | \- | N
2222
text | String / Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N
2323
theme | String | circular | options: circular/spinner/dots | N
24+
2425
### Loading External Classes
2526

2627
className | Description

src/loading/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,17 +66,18 @@ style | Object | - | 样式 | N
6666
custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N
6767
delay | Number | 0 | 延迟显示加载效果的时间,用于防止请求速度过快引起的加载闪烁,单位:毫秒 | N
6868
duration | Number | 800 | 加载动画执行完成一次的时间,单位:毫秒 | N
69-
fullscreen | Boolean | false | 是否显示为全屏加载 | N
69+
fullscreen | Boolean | false | `1.8.5`是否显示为全屏加载 | N
7070
indicator | Boolean / Slot | true | 加载指示符,值为 true 显示默认指示符,值为 false 则不显示,也可以自定义指示符。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N
7171
inherit-color | Boolean | false | 是否继承父元素颜色 | N
7272
layout | String | horizontal | 对齐方式。可选项:horizontal/vertical | N
7373
loading | Boolean | true | 是否处于加载状态 | N
7474
pause | Boolean | false | 是否暂停动画 | N
7575
progress | Number | - | 加载进度 | N
7676
reverse | Boolean | - | 加载动画是否反向 | N
77-
size | String | '40rpx' | 尺寸,示例:40rpx/20px | N
77+
size | String | '20px' | 尺寸,示例:20px | N
7878
text | String / Slot | - | 加载提示文案。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N
7979
theme | String | circular | 加载组件类型。可选项:circular/spinner/dots,skyline 模式下暂不支持枚举值 circular | N
80+
8081
### Loading External Classes
8182

8283
类名 | 描述

src/loading/props.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ const props: TdLoadingProps = {
2121
type: Boolean,
2222
value: false,
2323
},
24-
/** 组件类名,分别用于设置加载组件外层元素,加载组件文本,加载组件指示符,加载指示符内侧同心圆等元素类名 */
25-
externalClasses: {
26-
type: Array,
27-
},
2824
/** 加载指示符,值为 true 显示默认指示符,值为 false 则不显示,也可以自定义指示符 */
2925
indicator: {
3026
type: Boolean,
@@ -58,10 +54,10 @@ const props: TdLoadingProps = {
5854
reverse: {
5955
type: Boolean,
6056
},
61-
/** 尺寸,示例:40rpx/20px */
57+
/** 尺寸,示例:20px */
6258
size: {
6359
type: String,
64-
value: '40rpx',
60+
value: '20px',
6561
},
6662
/** 加载提示文案 */
6763
text: {

src/loading/type.ts

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,6 @@ export interface TdLoadingProps {
2929
type: BooleanConstructor;
3030
value?: boolean;
3131
};
32-
/**
33-
* 组件类名,分别用于设置加载组件外层元素,加载组件文本,加载组件指示符,加载指示符内侧同心圆等元素类名
34-
*/
35-
externalClasses?: {
36-
type: ArrayConstructor;
37-
value?: ['t-class', 't-class-text', 't-class-indicator'];
38-
};
3932
/**
4033
* 加载指示符,值为 true 显示默认指示符,值为 false 则不显示,也可以自定义指示符
4134
* @default true
@@ -91,8 +84,8 @@ export interface TdLoadingProps {
9184
value?: boolean;
9285
};
9386
/**
94-
* 尺寸,示例:40rpx/20px
95-
* @default '40rpx'
87+
* 尺寸,示例:20px
88+
* @default '20px'
9689
*/
9790
size?: {
9891
type: StringConstructor;

0 commit comments

Comments
 (0)