@lynx-js/lynx-ui-common 3.133.1 → 3.135.3
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/CHANGELOG.md
CHANGED
|
@@ -15,19 +15,61 @@ import type { TouchEvent } from '@lynx-js/types';
|
|
|
15
15
|
* ```
|
|
16
16
|
*/
|
|
17
17
|
export declare const useRegisteredEvents: (events: Record<string, any>, registeredEventsMapping: Record<string, string>) => {
|
|
18
|
-
bindtouchstart?: (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
18
|
+
bindtouchstart?: ((event: TouchEvent) => void) | undefined;
|
|
19
|
+
bindtouchmove?: ((event: TouchEvent) => void) | undefined;
|
|
20
|
+
bindtouchend?: ((event: TouchEvent) => void) | undefined;
|
|
21
|
+
bindtouchcancel?: ((event: TouchEvent) => void) | undefined;
|
|
22
|
+
catchtouchstart?: ((event: TouchEvent) => void) | undefined;
|
|
23
|
+
catchtouchmove?: ((event: TouchEvent) => void) | undefined;
|
|
24
|
+
catchtouchend?: ((event: TouchEvent) => void) | undefined;
|
|
25
|
+
catchtouchcancel?: ((event: TouchEvent) => void) | undefined;
|
|
26
|
+
"capture-bindtouchstart"?: ((event: TouchEvent) => void) | undefined;
|
|
27
|
+
"capture-bindtouchmove"?: ((event: TouchEvent) => void) | undefined;
|
|
28
|
+
"capture-bindtouchend"?: ((event: TouchEvent) => void) | undefined;
|
|
29
|
+
"capture-bindtouchcancel"?: ((event: TouchEvent) => void) | undefined;
|
|
30
|
+
"capture-catchtouchstart"?: ((event: TouchEvent) => void) | undefined;
|
|
31
|
+
"capture-catchtouchmove"?: ((event: TouchEvent) => void) | undefined;
|
|
32
|
+
"capture-catchtouchend"?: ((event: TouchEvent) => void) | undefined;
|
|
33
|
+
"capture-catchtouchcancel"?: ((event: TouchEvent) => void) | undefined;
|
|
34
|
+
bindmousedown?: ((event: import("@lynx-js/types").MouseEvent) => void) | undefined;
|
|
35
|
+
bindmousemove?: ((event: import("@lynx-js/types").MouseEvent) => void) | undefined;
|
|
36
|
+
bindmouseup?: ((event: import("@lynx-js/types").MouseEvent) => void) | undefined;
|
|
37
|
+
catchmousedown?: ((event: import("@lynx-js/types").MouseEvent) => void) | undefined;
|
|
38
|
+
catchmousemove?: ((event: import("@lynx-js/types").MouseEvent) => void) | undefined;
|
|
39
|
+
catchmouseup?: ((event: import("@lynx-js/types").MouseEvent) => void) | undefined;
|
|
40
|
+
"capture-bindmousedown"?: ((event: import("@lynx-js/types").MouseEvent) => void) | undefined;
|
|
41
|
+
"capture-bindmousemove"?: ((event: import("@lynx-js/types").MouseEvent) => void) | undefined;
|
|
42
|
+
"capture-bindmouseup"?: ((event: import("@lynx-js/types").MouseEvent) => void) | undefined;
|
|
43
|
+
"capture-catchmousedown"?: ((event: import("@lynx-js/types").MouseEvent) => void) | undefined;
|
|
44
|
+
"capture-catchmousemove"?: ((event: import("@lynx-js/types").MouseEvent) => void) | undefined;
|
|
45
|
+
"capture-catchmouseup"?: ((event: import("@lynx-js/types").MouseEvent) => void) | undefined;
|
|
46
|
+
"main-thread:bindtouchstart"?: ((event: import("@lynx-js/types/main-thread").TouchEvent) => void) | undefined;
|
|
47
|
+
"main-thread:bindtouchmove"?: ((event: import("@lynx-js/types/main-thread").TouchEvent) => void) | undefined;
|
|
48
|
+
"main-thread:bindtouchend"?: ((event: import("@lynx-js/types/main-thread").TouchEvent) => void) | undefined;
|
|
49
|
+
"main-thread:bindtouchcancel"?: ((event: import("@lynx-js/types/main-thread").TouchEvent) => void) | undefined;
|
|
50
|
+
"main-thread:catchtouchstart"?: ((event: import("@lynx-js/types/main-thread").TouchEvent) => void) | undefined;
|
|
51
|
+
"main-thread:catchtouchmove"?: ((event: import("@lynx-js/types/main-thread").TouchEvent) => void) | undefined;
|
|
52
|
+
"main-thread:catchtouchend"?: ((event: import("@lynx-js/types/main-thread").TouchEvent) => void) | undefined;
|
|
53
|
+
"main-thread:catchtouchcancel"?: ((event: import("@lynx-js/types/main-thread").TouchEvent) => void) | undefined;
|
|
54
|
+
"main-thread:capture-bindtouchstart"?: ((event: import("@lynx-js/types/main-thread").TouchEvent) => void) | undefined;
|
|
55
|
+
"main-thread:capture-bindtouchmove"?: ((event: import("@lynx-js/types/main-thread").TouchEvent) => void) | undefined;
|
|
56
|
+
"main-thread:capture-bindtouchend"?: ((event: import("@lynx-js/types/main-thread").TouchEvent) => void) | undefined;
|
|
57
|
+
"main-thread:capture-bindtouchcancel"?: ((event: import("@lynx-js/types/main-thread").TouchEvent) => void) | undefined;
|
|
58
|
+
"main-thread:capture-catchtouchstart"?: ((event: import("@lynx-js/types/main-thread").TouchEvent) => void) | undefined;
|
|
59
|
+
"main-thread:capture-catchtouchmove"?: ((event: import("@lynx-js/types/main-thread").TouchEvent) => void) | undefined;
|
|
60
|
+
"main-thread:capture-catchtouchend"?: ((event: import("@lynx-js/types/main-thread").TouchEvent) => void) | undefined;
|
|
61
|
+
"main-thread:capture-catchtouchcancel"?: ((event: import("@lynx-js/types/main-thread").TouchEvent) => void) | undefined;
|
|
62
|
+
"main-thread:bindmousedown"?: ((event: import("@lynx-js/types/main-thread").MouseEvent) => void) | undefined;
|
|
63
|
+
"main-thread:bindmousemove"?: ((event: import("@lynx-js/types/main-thread").MouseEvent) => void) | undefined;
|
|
64
|
+
"main-thread:bindmouseup"?: ((event: import("@lynx-js/types/main-thread").MouseEvent) => void) | undefined;
|
|
65
|
+
"main-thread:catchmousedown"?: ((event: import("@lynx-js/types/main-thread").MouseEvent) => void) | undefined;
|
|
66
|
+
"main-thread:catchmousemove"?: ((event: import("@lynx-js/types/main-thread").MouseEvent) => void) | undefined;
|
|
67
|
+
"main-thread:catchmouseup"?: ((event: import("@lynx-js/types/main-thread").MouseEvent) => void) | undefined;
|
|
68
|
+
"main-thread:capture-bindmousedown"?: ((event: import("@lynx-js/types/main-thread").MouseEvent) => void) | undefined;
|
|
69
|
+
"main-thread:capture-bindmousemove"?: ((event: import("@lynx-js/types/main-thread").MouseEvent) => void) | undefined;
|
|
70
|
+
"main-thread:capture-bindmouseup"?: ((event: import("@lynx-js/types/main-thread").MouseEvent) => void) | undefined;
|
|
71
|
+
"main-thread:capture-catchmousedown"?: ((event: import("@lynx-js/types/main-thread").MouseEvent) => void) | undefined;
|
|
72
|
+
"main-thread:capture-catchmousemove"?: ((event: import("@lynx-js/types/main-thread").MouseEvent) => void) | undefined;
|
|
73
|
+
"main-thread:capture-catchmouseup"?: ((event: import("@lynx-js/types/main-thread").MouseEvent) => void) | undefined;
|
|
32
74
|
};
|
|
33
75
|
//# sourceMappingURL=useRegisteredEvents.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useRegisteredEvents.d.ts","sourceRoot":"","sources":["../../src/hooks/useRegisteredEvents.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAmChD;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,mBAAmB,GAE9B,QAAQ,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC3B,yBAAyB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC
|
|
1
|
+
{"version":3,"file":"useRegisteredEvents.d.ts","sourceRoot":"","sources":["../../src/hooks/useRegisteredEvents.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAmChD;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,mBAAmB,GAE9B,QAAQ,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC3B,yBAAyB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoChD,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynx-js/lynx-ui-common",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.135.3",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/lynx-family/lynx-ui.git",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@lynx-js/gesture-runtime": "2.1.1",
|
|
29
|
-
"@lynx-js/react-use": "0.
|
|
29
|
+
"@lynx-js/react-use": "0.2.2"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@lynx-js/react": "0.114.0",
|