Skip to content

Commit 872b196

Browse files
authored
refactor(types): sync components types
1 parent b00546d commit 872b196

12 files changed

+16
-16
lines changed

docs/components/media/video.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ export default class PageView extends Component {
242242
| VideoProps.onPause | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ |
243243
| VideoProps.onEnded | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ |
244244
| VideoProps.onTimeUpdate | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ |
245-
| VideoProps.onFullscreenChange | | | ✔️ | | | | ✔️ | ✔️ | | ✔️ |
245+
| VideoProps.onFullscreenChange | | | | | | | ✔️ | ✔️ | | ✔️ |
246246
| VideoProps.onWaiting | ✔️ | ✔️ | | ✔️ | ✔️ | ✔️ | | | | |
247247
| VideoProps.onError | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ |
248248
| VideoProps.onProgress | ✔️ | | | ✔️ | ✔️ | | ✔️ | | | ✔️ |

docs/components/skyline/grid-builder.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: GridBuilder
33
sidebar_label: GridBuilder
44
---
55

6-
网格构造器,仅支持作为 `<scroll-view type="custom">` 模式的直接子节点,仅 Skyline 支持。
6+
网格构造器,仅支持作为 <scroll-view type="custom"> 模式的直接子节点,仅 Skyline 支持。
77

88
支持情况:<img title="微信小程序" src={require('@site/static/img/platform/weapp.png').default} className="icon_platform" width="25px"/> <img title="H5" src={require('@site/static/img/platform/h5.png').default} className="icon_platform icon_platform--not-support" width="25px"/> <img title="React Native" src={require('@site/static/img/platform/rn.png').default} className="icon_platform icon_platform--not-support" width="25px"/> <img title="Harmony" src={require('@site/static/img/platform/harmony.png').default} className="icon_platform icon_platform--not-support" width="25px"/>
99

docs/components/skyline/list-builder.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: ListBuilder
33
sidebar_label: ListBuilder
44
---
55

6-
列表构造器,仅支持作为 `<scroll-view type="custom">` 模式的直接子节点,仅 Skyline 支持。
6+
列表构造器,仅支持作为 <scroll-view type="custom"> 模式的直接子节点,仅 Skyline 支持。
77

88
支持情况:<img title="微信小程序" src={require('@site/static/img/platform/weapp.png').default} className="icon_platform" width="25px"/> <img title="H5" src={require('@site/static/img/platform/h5.png').default} className="icon_platform icon_platform--not-support" width="25px"/> <img title="React Native" src={require('@site/static/img/platform/rn.png').default} className="icon_platform icon_platform--not-support" width="25px"/> <img title="Harmony" src={require('@site/static/img/platform/harmony.png').default} className="icon_platform icon_platform--not-support" width="25px"/>
99

docs/components/skyline/nested-scroll-body.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sidebar_label: NestedScrollBody
44
---
55

66
嵌套 scroll-view 场景中属于里层 scroll-view 的节点,
7-
仅支持作为 `<scroll-view type="nested">` 模式的直接子节点。
7+
仅支持作为 <scroll-view type="nested"> 模式的直接子节点。
88
不支持复数子节点,渲染时会取其第一个子节点来渲染。具体用法可参考 scroll-view
99

1010
支持情况:<img title="微信小程序" src={require('@site/static/img/platform/weapp.png').default} className="icon_platform" width="25px"/> <img title="H5" src={require('@site/static/img/platform/h5.png').default} className="icon_platform icon_platform--not-support" width="25px"/> <img title="React Native" src={require('@site/static/img/platform/rn.png').default} className="icon_platform icon_platform--not-support" width="25px"/> <img title="Harmony" src={require('@site/static/img/platform/harmony.png').default} className="icon_platform icon_platform--not-support" width="25px"/>

docs/components/skyline/nested-scroll-header.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sidebar_label: NestedScrollHeader
44
---
55

66
嵌套 scroll-view 场景中属于外层 scroll-view 的节点,
7-
仅支持作为 `<scroll-view type="nested">` 模式的直接子节点。
7+
仅支持作为 <scroll-view type="nested"> 模式的直接子节点。
88
不支持复数子节点,渲染时会取其第一个子节点来渲染。具体用法可参考 scroll-view
99

1010
支持情况:<img title="微信小程序" src={require('@site/static/img/platform/weapp.png').default} className="icon_platform" width="25px"/> <img title="H5" src={require('@site/static/img/platform/h5.png').default} className="icon_platform icon_platform--not-support" width="25px"/> <img title="React Native" src={require('@site/static/img/platform/rn.png').default} className="icon_platform icon_platform--not-support" width="25px"/> <img title="Harmony" src={require('@site/static/img/platform/harmony.png').default} className="icon_platform icon_platform--not-support" width="25px"/>

docs/components/skyline/open-container.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ sidebar_label: OpenContainer
44
---
55

66
容器转场动画组件
7-
点击 OpenContainer 组件,当使用 wx.navigateTo 跳转下一页面时,对其子节点和下一个页面进行过渡。
8-
下个页面从 OpenContainer 所在位置大小渐显放大,同时 OpenContainer 内容渐隐,过渡效果包含背景色、圆角和阴影。
9-
源页面 OpenContainer 为 closed 状态,转场动画后为 open 状态。
7+
点击 <open-container> 组件,当使用 wx.navigateTo 跳转下一页面时,对其子节点和下一个页面进行过渡。
8+
下个页面从 <open-container> 所在位置大小渐显放大,同时 <open-container> 内容渐隐,过渡效果包含背景色、圆角和阴影。
9+
源页面 <open-container> 为 closed 状态,转场动画后为 open 状态。
1010

1111
支持情况:<img title="微信小程序" src={require('@site/static/img/platform/weapp.png').default} className="icon_platform" width="25px"/> <img title="H5" src={require('@site/static/img/platform/h5.png').default} className="icon_platform icon_platform--not-support" width="25px"/> <img title="React Native" src={require('@site/static/img/platform/rn.png').default} className="icon_platform icon_platform--not-support" width="25px"/> <img title="Harmony" src={require('@site/static/img/platform/harmony.png').default} className="icon_platform icon_platform--not-support" width="25px"/>
1212

packages/taro-components/types/GridBuilder.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ interface GridBuilderProps extends StandardProps {
6363
}
6464

6565
/**
66-
* 网格构造器,仅支持作为 `<scroll-view type="custom">` 模式的直接子节点,仅 Skyline 支持。
66+
* 网格构造器,仅支持作为 <scroll-view type="custom"> 模式的直接子节点,仅 Skyline 支持。
6767
* @classification skyline
6868
* @supported weapp
6969
* @see https://developers.weixin.qq.com/miniprogram/dev/component/grid-builder.html

packages/taro-components/types/ListBuilder.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ interface ListBuilderProps extends StandardProps {
4646
}
4747

4848
/**
49-
* 列表构造器,仅支持作为 `<scroll-view type="custom">` 模式的直接子节点,仅 Skyline 支持。
49+
* 列表构造器,仅支持作为 <scroll-view type="custom"> 模式的直接子节点,仅 Skyline 支持。
5050
* @classification skyline
5151
* @supported weapp
5252
* @see https://developers.weixin.qq.com/miniprogram/dev/component/list-builder.html

packages/taro-components/types/NestedScrollBody.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ interface NestedScrollBodyProps extends StandardProps {}
55

66
/**
77
* 嵌套 scroll-view 场景中属于里层 scroll-view 的节点,
8-
* 仅支持作为 `<scroll-view type="nested">` 模式的直接子节点。
8+
* 仅支持作为 <scroll-view type="nested"> 模式的直接子节点。
99
* 不支持复数子节点,渲染时会取其第一个子节点来渲染。具体用法可参考 scroll-view
1010
* @classification skyline
1111
* @supported weapp

packages/taro-components/types/NestedScrollHeader.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ interface NestedScrollHeaderProps extends StandardProps {}
55

66
/**
77
* 嵌套 scroll-view 场景中属于外层 scroll-view 的节点,
8-
* 仅支持作为 `<scroll-view type="nested">` 模式的直接子节点。
8+
* 仅支持作为 <scroll-view type="nested"> 模式的直接子节点。
99
* 不支持复数子节点,渲染时会取其第一个子节点来渲染。具体用法可参考 scroll-view
1010
* @classification skyline
1111
* @supported weapp

packages/taro-components/types/OpenContainer.d.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ interface OpenContainerProps extends StandardProps {
6363

6464
/**
6565
* 容器转场动画组件
66-
* 点击 OpenContainer 组件,当使用 wx.navigateTo 跳转下一页面时,对其子节点和下一个页面进行过渡。
67-
* 下个页面从 OpenContainer 所在位置大小渐显放大,同时 OpenContainer 内容渐隐,过渡效果包含背景色、圆角和阴影。
68-
* 源页面 OpenContainer 为 closed 状态,转场动画后为 open 状态。
66+
* 点击 <open-container> 组件,当使用 wx.navigateTo 跳转下一页面时,对其子节点和下一个页面进行过渡。
67+
* 下个页面从 <open-container> 所在位置大小渐显放大,同时 <open-container> 内容渐隐,过渡效果包含背景色、圆角和阴影。
68+
* 源页面 <open-container> 为 closed 状态,转场动画后为 open 状态。
6969
* @classification skyline
7070
* @supported weapp
7171
* @see https://developers.weixin.qq.com/miniprogram/dev/component/open-container.html

packages/taro-components/types/Video.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ interface VideoProps extends StandardProps {
315315
onTimeUpdate?: CommonEventFunction<VideoProps.onTimeUpdateEventDetail>
316316
/** 当视频进入和退出全屏时触发
317317
*
318-
* @supported alipay, h5, rn, harmony_hybrid
318+
* @supported h5, rn, harmony_hybrid
319319
*/
320320
onFullscreenChange?: CommonEventFunction<VideoProps.onFullscreenChangeEventDetail>
321321
/** 视频出现缓冲时触发

0 commit comments

Comments
 (0)