@tarojs/plugin-platform-weapp 3.4.1 → 3.4.2

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarojs/plugin-platform-weapp",
3
- "version": "3.4.1",
3
+ "version": "3.4.2",
4
4
  "description": "微信小程序平台插件",
5
5
  "author": "drchan",
6
6
  "homepage": "https://github.com/nervjs/taro/tree/master/packages/taro-weapp#readme",
@@ -27,9 +27,9 @@
27
27
  "url": "https://github.com/NervJS/taro/issues"
28
28
  },
29
29
  "dependencies": {
30
- "@tarojs/components": "3.4.1",
31
- "@tarojs/service": "3.4.1",
32
- "@tarojs/shared": "3.4.1"
30
+ "@tarojs/components": "3.4.2",
31
+ "@tarojs/service": "3.4.2",
32
+ "@tarojs/shared": "3.4.2"
33
33
  },
34
- "gitHead": "a2437215b1966fd0b6dd09311bcb4fd894a871d0"
34
+ "gitHead": "26b329326c6a7da652e8d712ee33df01ab8d2d0e"
35
35
  }
@@ -1,82 +0,0 @@
1
- import { ComponentType } from 'react'
2
- import { StandardProps } from '@tarojs/components'
3
-
4
- interface PageContainerProps extends StandardProps {
5
- /**
6
- * @description 是否显示容器组件
7
- * @default false
8
- */
9
- show?: boolean
10
-
11
- /**
12
- * @description 动画时长,单位毫秒
13
- * @default 300
14
- */
15
- duration?: number
16
-
17
-
18
- /**
19
- * @description z-index 层级
20
- * @default 300
21
- */
22
- zIndex?: number
23
-
24
- /**
25
- * @description 是否显示遮罩层
26
- * @default true
27
- */
28
- overlay?: boolean
29
-
30
- /**
31
- * @description 弹出位置,可选值为 top bottom right center
32
- * @default 'bottom'
33
- */
34
- position?: PageContainerProps.position
35
-
36
- /**
37
- * @description 是否显示圆角
38
- * @default false
39
- */
40
- round?: boolean
41
-
42
- /**
43
- * @description 是否在下滑一段距离后关闭
44
- * @default false
45
- */
46
- closeOnSlideDown?: boolean
47
-
48
- /** @description 自定义遮罩层样式 */
49
- overlayStyle?: string
50
-
51
-
52
- /** @description 自定义弹出层样式 */
53
- customStyle?: string
54
-
55
- /** @description 进入前触发 */
56
- onBeforeEnter?: () => void
57
- /** @description 进入中触发 */
58
- onEnter?: () => void
59
- /** @description 进入后触发 */
60
- onAfterEnter?: () => void
61
- /** @description 离开前触发 */
62
- onBeforeLeave?: () => void
63
- /** @description 离开中触发 */
64
- onLeave?: () => void
65
- /** @description 离开后触发 */
66
- onAfterLeave?: () => void
67
- /** @description 点击遮罩层时触发 */
68
- onClickOverlay?: () => void
69
- }
70
-
71
- declare namespace PageContainerProps {
72
- type position = 'top' | 'bottom' | 'right' | 'center'
73
- }
74
-
75
- declare module '@tarojs/components' {
76
- /** 页面容器
77
- * @classification PageContainer
78
- * @supported weapp
79
- * @see https://developers.weixin.qq.com/miniprogram/dev/component/page-container.html
80
- */
81
- export const PageContainer: ComponentType<PageContainerProps>
82
- }