@tarojs/components 4.0.0-alpha.35 → 4.0.0-alpha.37
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 +5 -5
- package/types/common.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarojs/components",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.37",
|
|
4
4
|
"description": "Taro 组件库",
|
|
5
5
|
"browser": "dist/index.js",
|
|
6
6
|
"main:h5": "dist/index.js",
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
"resolve-pathname": "^3.0.0",
|
|
41
41
|
"swiper": "6.8.0",
|
|
42
42
|
"tslib": "^2.6.2",
|
|
43
|
-
"@tarojs/runtime": "4.0.0-alpha.
|
|
44
|
-
"@tarojs/components-advanced": "4.0.0-alpha.
|
|
45
|
-
"@tarojs/taro": "4.0.0-alpha.
|
|
43
|
+
"@tarojs/runtime": "4.0.0-alpha.37",
|
|
44
|
+
"@tarojs/components-advanced": "4.0.0-alpha.37",
|
|
45
|
+
"@tarojs/taro": "4.0.0-alpha.37"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@babel/generator": "^7.21.4",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"jest-cli": "27.5.1",
|
|
69
69
|
"jest-runner": "27.5.1",
|
|
70
70
|
"jest-environment-node": "27.5.1",
|
|
71
|
-
"@tarojs/helper": "4.0.0-alpha.
|
|
71
|
+
"@tarojs/helper": "4.0.0-alpha.37"
|
|
72
72
|
},
|
|
73
73
|
"peerDependenciesMeta": {
|
|
74
74
|
"@types/react": {
|
package/types/common.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { CSSProperties, LegacyRef, ReactNode } from 'react'
|
|
|
3
3
|
export interface StandardProps<T = any, TouchEvent extends BaseTouchEvent<any> = ITouchEvent> extends EventProps<TouchEvent> {
|
|
4
4
|
/** 组件的唯一标示, 保持整个页面唯一 */
|
|
5
5
|
id?: string
|
|
6
|
-
/** 同 `class`,在 React/
|
|
6
|
+
/** 同 `class`,在 React/Preact 里一般使用 `className` 作为 `class` 的代称 */
|
|
7
7
|
className?: string
|
|
8
8
|
/** 组件的内联样式, 可以动态设置的内联样式 */
|
|
9
9
|
style?: string | CSSProperties
|