@ray-js/components 1.5.42 → 1.5.43

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.
@@ -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.42",
3
+ "version": "1.5.43",
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.42",
33
- "@ray-js/framework-shared": "1.5.42",
32
+ "@ray-js/adapter": "1.5.43",
33
+ "@ray-js/framework-shared": "1.5.43",
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.42"
43
+ "@ray-js/cli": "1.5.43"
44
44
  },
45
45
  "publishConfig": {
46
46
  "access": "public",
47
47
  "registry": "https://registry.npmjs.com"
48
48
  },
49
- "gitHead": "3694e85574ec5b7d92cf7d2df362926adf5a03cd"
49
+ "gitHead": "c6cf58bb53a876297646bfd7f030e9cd920dde8f"
50
50
  }