@tarojs/taro 3.6.11 → 3.6.12-alpha.0

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": "3.6.11",
3
+ "version": "3.6.12-alpha.0",
4
4
  "description": "Taro framework",
5
5
  "homepage": "https://github.com/nervjs/taro/tree/master/packages/taro#readme",
6
6
  "main": "index.js",
@@ -21,11 +21,11 @@
21
21
  "author": "O2Team",
22
22
  "license": "MIT",
23
23
  "dependencies": {
24
- "@tarojs/api": "3.6.11",
25
- "@tarojs/runtime": "3.6.11"
24
+ "@tarojs/api": "3.6.12-alpha.0",
25
+ "@tarojs/runtime": "3.6.12-alpha.0"
26
26
  },
27
27
  "devDependencies": {
28
- "@tarojs/helper": "3.6.11"
28
+ "@tarojs/helper": "3.6.12-alpha.0"
29
29
  },
30
30
  "peerDependenciesMeta": {
31
31
  "@types/react": {
@@ -200,7 +200,7 @@ declare module '../../index' {
200
200
  * Taro.downloadFile({
201
201
  * url: 'https://res.wx.qq.com/wxdoc/dist/assets/img/demo.ef5c5bef.jpg',
202
202
  * success: (res) => {
203
- * wx.showShareImageMenu({
203
+ * Taro.showShareImageMenu({
204
204
  * path: res.tempFilePath
205
205
  * })
206
206
  * }
@@ -85,7 +85,7 @@ declare module '../../index' {
85
85
  showNavigationBarLoading(option?: showNavigationBarLoading.Option): void
86
86
 
87
87
  /** 动态设置当前页面的标题
88
- * @supported weapp, h5, rn, tt
88
+ * @supported weapp, alipay, h5, rn, tt
89
89
  * @example
90
90
  * ```tsx
91
91
  * Taro.setNavigationBarTitle({
@@ -6,7 +6,7 @@ import type { IOption, IPostcssOption } from './util'
6
6
 
7
7
  export interface IRNConfig {
8
8
  /** 设置 RN bundle 中注册应用的名称 */
9
- appName: string
9
+ appName?: string
10
10
 
11
11
  /** entry 利用模块查找规则{name}.{platform}.{ext}自动区分平台 */
12
12
  entry?: string
@@ -53,4 +53,12 @@ export interface IRNConfig {
53
53
 
54
54
  /** 将 svg 文件转换为组件引入。默认值 false,不开启 */
55
55
  enableSvgTransform?: boolean
56
+
57
+ alias?: IOption
58
+
59
+ /** 设计稿尺寸 */
60
+ designWidth?: number | ((size?: string | number | Input) => number)
61
+
62
+ /** 设计稿尺寸换算规则 */
63
+ deviceRatio?: TaroGeneral.TDeviceRatio
56
64
  }