@lynx-js/web-core-server-canary 0.18.2-canary-20251030-53eed0a5 → 0.18.3-canary-20251103-fece7d0a
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 +3 -1
- package/dist/index.js +6 -2
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -1275,6 +1275,7 @@ function createCrossThreadEvent(domEvent, eventName) {
|
|
|
1275
1275
|
const params = {};
|
|
1276
1276
|
const isTrusted = domEvent.isTrusted;
|
|
1277
1277
|
const otherProperties = {};
|
|
1278
|
+
let detail = domEvent.detail ?? {};
|
|
1278
1279
|
if (type.match(/^transition/)) Object.assign(params, {
|
|
1279
1280
|
animation_type: 'keyframe-animation',
|
|
1280
1281
|
animation_name: domEvent.propertyName,
|
|
@@ -1313,7 +1314,10 @@ function createCrossThreadEvent(domEvent, eventName) {
|
|
|
1313
1314
|
clientX: mouseEvent.clientX,
|
|
1314
1315
|
clientY: mouseEvent.clientY
|
|
1315
1316
|
});
|
|
1316
|
-
}
|
|
1317
|
+
} else if ('click' === type) detail = {
|
|
1318
|
+
x: domEvent.x,
|
|
1319
|
+
y: domEvent.y
|
|
1320
|
+
};
|
|
1317
1321
|
const currentTargetDatasetString = currentTargetElement?.getAttribute("l-dset");
|
|
1318
1322
|
const currentTargetDataset = currentTargetDatasetString ? JSON.parse(decodeURIComponent(currentTargetDatasetString)) : {};
|
|
1319
1323
|
const targetDatasetString = targetElement.getAttribute("l-dset");
|
|
@@ -1331,7 +1335,7 @@ function createCrossThreadEvent(domEvent, eventName) {
|
|
|
1331
1335
|
dataset: currentTargetDataset,
|
|
1332
1336
|
uniqueId: Number(currentTargetElement.getAttribute("l-uid"))
|
|
1333
1337
|
} : null,
|
|
1334
|
-
detail
|
|
1338
|
+
detail,
|
|
1335
1339
|
params,
|
|
1336
1340
|
...otherProperties
|
|
1337
1341
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynx-js/web-core-server-canary",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.3-canary-20251103-fece7d0a",
|
|
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-
|
|
32
|
-
"@lynx-js/web-
|
|
29
|
+
"@lynx-js/web-constants": "npm:@lynx-js/web-constants-canary@0.18.3-canary-20251103-fece7d0a",
|
|
30
|
+
"@lynx-js/web-elements-template": "npm:@lynx-js/web-elements-template-canary@0.8.10-canary-20251103-fece7d0a",
|
|
31
|
+
"@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.18.3-canary-20251103-fece7d0a",
|
|
32
|
+
"@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.18.3-canary-20251103-fece7d0a"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build": "rslib build",
|