@ray-js/components 1.5.42 → 1.5.44-beta.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/lib/types/index.d.ts +7 -0
- package/package.json +5 -5
package/lib/types/index.d.ts
CHANGED
@@ -72,6 +72,13 @@ export interface TouchEventHandler {
|
|
72
72
|
* @default undefined
|
73
73
|
*/
|
74
74
|
onLongClick?: (e: TouchEvent) => any;
|
75
|
+
/**
|
76
|
+
* @description.en onLongPress event callback, no longer trigger click event
|
77
|
+
* @description.zh 长按事件回调, 不再触发点击事件
|
78
|
+
* @default undefined
|
79
|
+
* @param e
|
80
|
+
*/
|
81
|
+
onLongPress?: (e: TouchEvent) => any;
|
75
82
|
/**
|
76
83
|
* @description.en onTouchStart
|
77
84
|
* @description.zh 开始触摸事件回调
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ray-js/components",
|
3
|
-
"version": "1.5.
|
3
|
+
"version": "1.5.44-beta.0",
|
4
4
|
"description": "Ray basic components",
|
5
5
|
"keywords": [
|
6
6
|
"ray"
|
@@ -29,8 +29,8 @@
|
|
29
29
|
"dependencies": {
|
30
30
|
"@ray-core/macro": "^0.4.8",
|
31
31
|
"@ray-core/wechat": "^0.4.8",
|
32
|
-
"@ray-js/adapter": "1.5.
|
33
|
-
"@ray-js/framework-shared": "1.5.
|
32
|
+
"@ray-js/adapter": "^1.5.44-beta.0",
|
33
|
+
"@ray-js/framework-shared": "^1.5.44-beta.0",
|
34
34
|
"ahooks": "^3.8.1",
|
35
35
|
"clsx": "^1.2.1",
|
36
36
|
"core-js": "^3.39.0",
|
@@ -40,11 +40,11 @@
|
|
40
40
|
"style-to-object": "^0.3.0"
|
41
41
|
},
|
42
42
|
"devDependencies": {
|
43
|
-
"@ray-js/cli": "1.5.
|
43
|
+
"@ray-js/cli": "^1.5.44-beta.0"
|
44
44
|
},
|
45
45
|
"publishConfig": {
|
46
46
|
"access": "public",
|
47
47
|
"registry": "https://registry.npmjs.com"
|
48
48
|
},
|
49
|
-
"gitHead": "
|
49
|
+
"gitHead": "f7ab69b393a7162439be4a19793c15b773e03848"
|
50
50
|
}
|