@tarojs/taro 4.1.7-alpha.0 → 4.1.7-alpha.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/taro",
3
- "version": "4.1.7-alpha.0",
3
+ "version": "4.1.7-alpha.2",
4
4
  "description": "Taro framework",
5
5
  "author": "O2Team",
6
6
  "license": "MIT",
@@ -24,8 +24,8 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@types/postcss-url": "^10.0.4",
27
- "@tarojs/api": "4.1.7-alpha.0",
28
- "@tarojs/runtime": "4.1.7-alpha.0"
27
+ "@tarojs/api": "4.1.7-alpha.2",
28
+ "@tarojs/runtime": "4.1.7-alpha.2"
29
29
  },
30
30
  "devDependencies": {
31
31
  "html-webpack-plugin": "^5.6.0",
@@ -34,9 +34,9 @@
34
34
  "webpack-chain": "^6.5.1",
35
35
  "webpack-dev-server": "^4.15.2",
36
36
  "rollup": "^3.29.4",
37
- "@tarojs/helper": "4.1.7-alpha.0",
38
- "@tarojs/shared": "4.1.7-alpha.0",
39
- "@tarojs/components": "4.1.7-alpha.0"
37
+ "@tarojs/components": "4.1.7-alpha.2",
38
+ "@tarojs/helper": "4.1.7-alpha.2",
39
+ "@tarojs/shared": "4.1.7-alpha.2"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "@types/react": "^18",
@@ -47,9 +47,9 @@
47
47
  "webpack": "^5",
48
48
  "webpack-chain": "^6",
49
49
  "webpack-dev-server": "^4",
50
- "@tarojs/helper": "4.1.7-alpha.0",
51
- "@tarojs/shared": "4.1.7-alpha.0",
52
- "@tarojs/components": "4.1.7-alpha.0"
50
+ "@tarojs/helper": "4.1.7-alpha.2",
51
+ "@tarojs/shared": "4.1.7-alpha.2",
52
+ "@tarojs/components": "4.1.7-alpha.2"
53
53
  },
54
54
  "peerDependenciesMeta": {
55
55
  "@types/react": {
@@ -310,7 +310,7 @@ declare module '../../index' {
310
310
  createBufferURL(
311
311
  /** 需要存入内存的二进制数据 */
312
312
  buffer: ArrayBuffer | TypedArray
313
- ): void
313
+ ): string
314
314
 
315
315
  /** Taro.clearStorage 的同步版本
316
316
  * @supported weapp, alipay, swan, jd, qq, tt, h5, harmony_hybrid
@@ -133,6 +133,12 @@ declare module '../index' {
133
133
  */
134
134
  useOptionMenuClick(callback: () => void): void
135
135
 
136
+ /**
137
+ * 键盘高度变化时的回调。
138
+ * @supported alipay
139
+ */
140
+ useKeyboardHeight(callback: (payload: { height: number }) => void): void
141
+
136
142
  /**
137
143
  * 下拉中断时的回调。
138
144
  * @supported alipay, h5, harmony_hybrid
@@ -45,6 +45,8 @@ declare module './index' {
45
45
  eh?(event: MpEvent): void
46
46
  onLoad(options: Record<string, unknown>): void
47
47
  onOptionMenuClick?(): void
48
+ /** 键盘高度变化时触发 @supported alipay */
49
+ onKeyboardHeight?(opt: { height: number; }): void
48
50
  onPageScroll?(opt: PageScrollObject): void
49
51
  onPopMenuClick?(): void
50
52
  onPullDownRefresh?(): void