@tarojs/components 3.4.3 → 3.4.4

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/components",
3
- "version": "3.4.3",
3
+ "version": "3.4.4",
4
4
  "description": "",
5
5
  "main:h5": "src/index.js",
6
6
  "main": "dist/index.js",
@@ -38,7 +38,7 @@
38
38
  "license": "MIT",
39
39
  "dependencies": {
40
40
  "@stencil/core": "2.9.0",
41
- "@tarojs/taro": "3.4.3",
41
+ "@tarojs/taro": "3.4.4",
42
42
  "better-scroll": "^1.14.1",
43
43
  "classnames": "^2.2.5",
44
44
  "intersection-observer": "^0.7.0",
@@ -55,5 +55,5 @@
55
55
  "simulant": "^0.2.2",
56
56
  "workbox-build": "4.3.1"
57
57
  },
58
- "gitHead": "de55da7a845e9c09ba65528e74c7310e5082c2d5"
58
+ "gitHead": "099d062d74faa3f124ca2499de1154fae0adc4f9"
59
59
  }
package/types/Button.d.ts CHANGED
@@ -372,6 +372,8 @@ declare namespace ButtonProps {
372
372
  encryptedData: string
373
373
  /** 加密算法的初始向量 */
374
374
  iv: string
375
+ /** 动态令牌。可通过动态令牌换取用户手机号。使用方法详情 [phonenumber.getPhoneNumber](https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/phonenumber/phonenumber.getPhoneNumber.html) 接口 */
376
+ code:string
375
377
  }
376
378
 
377
379
  interface onChooseAvatarEventDetail {
@@ -97,10 +97,10 @@ declare namespace PageContainerProps {
97
97
  top
98
98
  /** 下方弹出 */
99
99
  bottom
100
- /** 左边弹出 */
101
- left
102
100
  /** 右边弹出 */
103
101
  right
102
+ /** 中央弹出 */
103
+ center
104
104
  }
105
105
  }
106
106
 
@@ -5,7 +5,7 @@ interface ShareElementProps extends StandardProps {
5
5
  /** 映射标记
6
6
  * @supported weapp
7
7
  */
8
- key: string
8
+ mapkey: string
9
9
 
10
10
  /** 是否进行动画
11
11
  * @default false
@@ -28,8 +28,8 @@ interface ShareElementProps extends StandardProps {
28
28
 
29
29
  /** 共享元素
30
30
  *
31
- * 共享元素是一种动画形式,类似于 [`flutter Hero`](https://flutterchina.club/animations/hero-animations/) 动画,表现为元素像是在页面间穿越一样。该组件需与 [`page-container`](/docs/components/viewContainer/page-container) 组件结合使用。
32
- * 使用时需在当前页放置 `share-element` 组件,同时在 `page-container` 容器中放置对应的 `share-element` 组件,对应关系通过属性值 key 映射。当设置 `page-container` `显示时,transform` 属性为 `true` 的共享元素会产生动画。当前页面容器退出时,会产生返回动画。
31
+ * 共享元素是一种动画形式,类似于 [`flutter Hero`](https://flutterchina.club/animations/hero-animations/) 动画,表现为元素像是在页面间穿越一样。该组件需与 [`PageContainer`](/docs/components/viewContainer/page-container) 组件结合使用。
32
+ * 使用时需在当前页放置 `ShareElement` 组件,同时在 `PageContainer` 容器中放置对应的 `ShareElement` 组件,对应关系通过属性值 key 映射。当设置 `PageContainer` `显示时,transform` 属性为 `true` 的共享元素会产生动画。当前页面容器退出时,会产生返回动画。
33
33
  * @classification viewContainer
34
34
  * @supported weapp
35
35
  * @see https://developers.weixin.qq.com/miniprogram/dev/component/share-element.html