@lynx-js/web-core-canary 0.19.4-canary-20260104-f4b90f3a → 0.19.5-canary-20260107-78c21890

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,15 +1,26 @@
1
1
  # @lynx-js/web-core
2
2
 
3
- ## 0.19.4-canary-20260104112511-f4b90f3a4dfd0a6871d81ef95521aaa42d9d07dd
3
+ ## 0.19.5-canary-20260107061419-78c218907a5246a05acf3aa843b304778cdc4467
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - Updated dependencies [[`1bb269b`](https://github.com/lynx-family/lynx-stack/commit/1bb269b6c6f58fba293587a98f3fa8e3160cbbba), [`bba05e2`](https://github.com/lynx-family/lynx-stack/commit/bba05e2ed06cca8009ad415fd9777e8334a0887a), [`34065b5`](https://github.com/lynx-family/lynx-stack/commit/34065b5c34d4c753efe23c2752c539b319122248)]:
8
- - @lynx-js/web-elements@0.10.1-canary-20260104112511-f4b90f3a4dfd0a6871d81ef95521aaa42d9d07dd
9
- - @lynx-js/web-worker-rpc@0.19.4-canary-20260104112511-f4b90f3a4dfd0a6871d81ef95521aaa42d9d07dd
10
- - @lynx-js/web-constants@0.19.4-canary-20260104112511-f4b90f3a4dfd0a6871d81ef95521aaa42d9d07dd
11
- - @lynx-js/web-worker-runtime@0.19.4-canary-20260104112511-f4b90f3a4dfd0a6871d81ef95521aaa42d9d07dd
12
- - @lynx-js/web-mainthread-apis@0.19.4-canary-20260104112511-f4b90f3a4dfd0a6871d81ef95521aaa42d9d07dd
7
+ - fix: pixelWidth and pixelHeight use client instead of screen ([#2055](https://github.com/lynx-family/lynx-stack/pull/2055))
8
+
9
+ - Updated dependencies []:
10
+ - @lynx-js/web-constants@0.19.5-canary-20260107061419-78c218907a5246a05acf3aa843b304778cdc4467
11
+ - @lynx-js/web-mainthread-apis@0.19.5-canary-20260107061419-78c218907a5246a05acf3aa843b304778cdc4467
12
+ - @lynx-js/web-worker-rpc@0.19.5-canary-20260107061419-78c218907a5246a05acf3aa843b304778cdc4467
13
+ - @lynx-js/web-worker-runtime@0.19.5-canary-20260107061419-78c218907a5246a05acf3aa843b304778cdc4467
14
+
15
+ ## 0.19.4
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies [[`bba05e2`](https://github.com/lynx-family/lynx-stack/commit/bba05e2ed06cca8009ad415fd9777e8334a0887a)]:
20
+ - @lynx-js/web-worker-rpc@0.19.4
21
+ - @lynx-js/web-constants@0.19.4
22
+ - @lynx-js/web-worker-runtime@0.19.4
23
+ - @lynx-js/web-mainthread-apis@0.19.4
13
24
 
14
25
  ## 0.19.3
15
26
 
@@ -3,8 +3,8 @@
3
3
  // LICENSE file in the root directory of this source tree.
4
4
  import { startUIThread, } from '../uiThread/startUIThread.js';
5
5
  const pixelRatio = window.devicePixelRatio;
6
- const screenWidth = window.screen.availWidth * pixelRatio;
7
- const screenHeight = window.screen.availHeight * pixelRatio;
6
+ const screenWidth = document.documentElement.clientWidth * pixelRatio;
7
+ const screenHeight = document.documentElement.clientHeight * pixelRatio;
8
8
  export function createLynxView(configs) {
9
9
  const { shadowRoot, callbacks, templateUrl, globalProps, initData, nativeModulesMap, napiModulesMap, tagMap, lynxGroupId, threadStrategy = 'multi-thread', initI18nResources, ssr, } = configs;
10
10
  return startUIThread(templateUrl, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/web-core-canary",
3
- "version": "0.19.4-canary-20260104-f4b90f3a",
3
+ "version": "0.19.5-canary-20260107-78c21890",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [],
@@ -25,14 +25,14 @@
25
25
  ],
26
26
  "dependencies": {
27
27
  "@lynx-js/offscreen-document": "npm:@lynx-js/offscreen-document-canary@0.1.4",
28
- "@lynx-js/web-constants": "npm:@lynx-js/web-constants-canary@0.19.4-canary-20260104-f4b90f3a",
29
- "@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.19.4-canary-20260104-f4b90f3a",
30
- "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.19.4-canary-20260104-f4b90f3a",
31
- "@lynx-js/web-worker-runtime": "npm:@lynx-js/web-worker-runtime-canary@0.19.4-canary-20260104-f4b90f3a"
28
+ "@lynx-js/web-constants": "npm:@lynx-js/web-constants-canary@0.19.5-canary-20260107-78c21890",
29
+ "@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.19.5-canary-20260107-78c21890",
30
+ "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.19.5-canary-20260107-78c21890",
31
+ "@lynx-js/web-worker-runtime": "npm:@lynx-js/web-worker-runtime-canary@0.19.5-canary-20260107-78c21890"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@lynx-js/lynx-core": "0.1.3",
35
- "@lynx-js/web-elements": "npm:@lynx-js/web-elements-canary@0.10.1-canary-20260104-f4b90f3a"
35
+ "@lynx-js/web-elements": "npm:@lynx-js/web-elements-canary@0.10.1"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "@lynx-js/lynx-core": "0.1.3",