@tarojs/components 3.6.0-canary.12 → 3.6.0-canary.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +6 -6
- package/types/Input.d.ts +1 -0
- package/types/LivePusher.d.ts +15 -0
- package/types/ShareElement.d.ts +0 -5
- package/types/Textarea.d.ts +1 -0
- package/types/Video.d.ts +6 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarojs/components",
|
|
3
|
-
"version": "3.6.0-canary.
|
|
3
|
+
"version": "3.6.0-canary.13",
|
|
4
4
|
"description": "Taro 组件库",
|
|
5
5
|
"browser": "dist/index.js",
|
|
6
6
|
"main:h5": "dist/index.js",
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"resolve-pathname": "^3.0.0",
|
|
37
37
|
"swiper": "6.8.0",
|
|
38
38
|
"weui": "^1.1.2",
|
|
39
|
-
"@tarojs/components-advanced": "3.6.0-canary.
|
|
40
|
-
"@tarojs/router": "3.6.0-canary.
|
|
41
|
-
"@tarojs/taro": "3.6.0-canary.
|
|
39
|
+
"@tarojs/components-advanced": "3.6.0-canary.13",
|
|
40
|
+
"@tarojs/router": "3.6.0-canary.13",
|
|
41
|
+
"@tarojs/taro": "3.6.0-canary.13"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@babel/generator": "^7.14.5",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"csstype": "^3.1.1",
|
|
56
56
|
"jquery": "^3.4.1",
|
|
57
57
|
"lodash": "^4.17.21",
|
|
58
|
-
"miniapp-types": "1.
|
|
58
|
+
"miniapp-types": "1.2.0",
|
|
59
59
|
"puppeteer": "^19.2.0",
|
|
60
60
|
"stencil-vue2-output-target": "0.0.4",
|
|
61
61
|
"ts-node": "^10.9.1",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
}
|
|
74
74
|
},
|
|
75
75
|
"scripts": {
|
|
76
|
-
"
|
|
76
|
+
"prebuild": "mkdir -p lib",
|
|
77
77
|
"build": "cross-env NODE_ENV=production run-s build:components build:library",
|
|
78
78
|
"build:components": "stencil build --config stencil.config.ts",
|
|
79
79
|
"build:library": "pnpm --filter @tarojs/components-library-react --filter @tarojs/components-library-vue2 --filter @tarojs/components-library-vue3 run build:ci",
|
package/types/Input.d.ts
CHANGED
package/types/LivePusher.d.ts
CHANGED
|
@@ -23,6 +23,12 @@ interface LivePusherProps extends StandardProps {
|
|
|
23
23
|
*/
|
|
24
24
|
autopush?: boolean
|
|
25
25
|
|
|
26
|
+
/** 自定义渲染,允许开发者自行处理所采集的视频帧
|
|
27
|
+
* @default false
|
|
28
|
+
* @supported weapp
|
|
29
|
+
*/
|
|
30
|
+
enableVideoCustomRender?: boolean
|
|
31
|
+
|
|
26
32
|
/** 是否静音。即将废弃,可用 enable-mic 替代
|
|
27
33
|
* @default false
|
|
28
34
|
* @deprecated
|
|
@@ -191,6 +197,12 @@ interface LivePusherProps extends StandardProps {
|
|
|
191
197
|
*/
|
|
192
198
|
pictureInPictureMode?: string | any[]
|
|
193
199
|
|
|
200
|
+
/** 自定义渲染,允许开发者自行处理所采集的视频帧,详见LivePusherContext
|
|
201
|
+
* @supported weapp
|
|
202
|
+
* @default false
|
|
203
|
+
*/
|
|
204
|
+
enableVideoCustomRender?: boolean
|
|
205
|
+
|
|
194
206
|
/** 状态变化事件,detail = {code}
|
|
195
207
|
* @supported weapp, qq
|
|
196
208
|
*/
|
|
@@ -287,6 +299,9 @@ declare namespace LivePusherProps {
|
|
|
287
299
|
|
|
288
300
|
/** audioVolumeType 的合法值 */
|
|
289
301
|
interface AudioVolumeType {
|
|
302
|
+
/** 自动 */
|
|
303
|
+
auto
|
|
304
|
+
|
|
290
305
|
/** 媒体音量 */
|
|
291
306
|
media
|
|
292
307
|
|
package/types/ShareElement.d.ts
CHANGED
package/types/Textarea.d.ts
CHANGED
package/types/Video.d.ts
CHANGED
|
@@ -285,6 +285,7 @@ interface VideoProps extends StandardProps {
|
|
|
285
285
|
/** 使用原生
|
|
286
286
|
* @default true
|
|
287
287
|
* @supported alipay
|
|
288
|
+
* @ignore
|
|
288
289
|
*/
|
|
289
290
|
enableNative?: boolean
|
|
290
291
|
|
|
@@ -352,6 +353,11 @@ interface VideoProps extends StandardProps {
|
|
|
352
353
|
*/
|
|
353
354
|
preferredPeakBitRate?: number
|
|
354
355
|
|
|
356
|
+
/** 是否为直播源
|
|
357
|
+
* @supported weapp
|
|
358
|
+
*/
|
|
359
|
+
isLive?: boolean
|
|
360
|
+
|
|
355
361
|
/** 当开始/继续播放时触发 play 事件
|
|
356
362
|
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
357
363
|
*/
|