@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # @lynx-js/web-core-server
2
2
 
3
- ## 0.18.0-canary-20251010135203-e21c4e23ca87c0783faaa4cfd2f8dfe6ca6d84eb
3
+ ## 0.18.0-canary-20251011064323-7d90ed52a20fd7665a3517507800e7e29426f6f9
4
4
 
5
5
  ## 0.17.2
6
6
 
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-20251010-e21c4e23",
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-elements-template": "npm:@lynx-js/web-elements-template-canary@0.8.8-canary-20251010-e21c4e23",
30
- "@lynx-js/web-constants": "npm:@lynx-js/web-constants-canary@0.18.0-canary-20251010-e21c4e23",
31
- "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.18.0-canary-20251010-e21c4e23",
32
- "@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.18.0-canary-20251010-e21c4e23"
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",