@lynx-js/web-core-server-canary 0.18.0-canary-20251010-e21c4e23 → 0.18.0-canary-20251011-7d90ed52
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 +1 -1
- package/dist/index.js +12 -0
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -1283,6 +1283,18 @@ function createCrossThreadEvent(domEvent, eventName) {
|
|
|
1283
1283
|
targetTouches: isTrusted ? targetTouches.map(toCloneableObject) : targetTouches,
|
|
1284
1284
|
changedTouches: isTrusted ? changedTouches.map(toCloneableObject) : changedTouches
|
|
1285
1285
|
});
|
|
1286
|
+
} else if (type.startsWith('mouse')) {
|
|
1287
|
+
const mouseEvent = domEvent;
|
|
1288
|
+
Object.assign(otherProperties, {
|
|
1289
|
+
button: mouseEvent.button,
|
|
1290
|
+
buttons: mouseEvent.buttons,
|
|
1291
|
+
x: mouseEvent.x,
|
|
1292
|
+
y: mouseEvent.y,
|
|
1293
|
+
pageX: mouseEvent.pageX,
|
|
1294
|
+
pageY: mouseEvent.pageY,
|
|
1295
|
+
clientX: mouseEvent.clientX,
|
|
1296
|
+
clientY: mouseEvent.clientY
|
|
1297
|
+
});
|
|
1286
1298
|
}
|
|
1287
1299
|
const currentTargetDatasetString = currentTargetElement?.getAttribute(lynxDatasetAttribute);
|
|
1288
1300
|
const currentTargetDataset = currentTargetDatasetString ? JSON.parse(decodeURIComponent(currentTargetDatasetString)) : {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynx-js/web-core-server-canary",
|
|
3
|
-
"version": "0.18.0-canary-
|
|
3
|
+
"version": "0.18.0-canary-20251011-7d90ed52",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [],
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"rsbuild-plugin-arethetypeswrong": "0.1.1",
|
|
27
27
|
"rsbuild-plugin-publint": "0.3.3",
|
|
28
28
|
"@lynx-js/offscreen-document": "npm:@lynx-js/offscreen-document-canary@0.1.4",
|
|
29
|
-
"@lynx-js/web-
|
|
30
|
-
"@lynx-js/web-
|
|
31
|
-
"@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.18.0-canary-
|
|
32
|
-
"@lynx-js/web-
|
|
29
|
+
"@lynx-js/web-constants": "npm:@lynx-js/web-constants-canary@0.18.0-canary-20251011-7d90ed52",
|
|
30
|
+
"@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.18.0-canary-20251011-7d90ed52",
|
|
31
|
+
"@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.18.0-canary-20251011-7d90ed52",
|
|
32
|
+
"@lynx-js/web-elements-template": "npm:@lynx-js/web-elements-template-canary@0.8.8-canary-20251011-7d90ed52"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build": "rslib build",
|