@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 +18 -7
- package/dist/apis/createLynxView.js +2 -2
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,15 +1,26 @@
|
|
|
1
1
|
# @lynx-js/web-core
|
|
2
2
|
|
|
3
|
-
## 0.19.
|
|
3
|
+
## 0.19.5-canary-20260107061419-78c218907a5246a05acf3aa843b304778cdc4467
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
- @lynx-js/web-constants@0.19.
|
|
11
|
-
- @lynx-js/web-
|
|
12
|
-
- @lynx-js/web-
|
|
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 =
|
|
7
|
-
const screenHeight =
|
|
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.
|
|
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.
|
|
29
|
-
"@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.19.
|
|
30
|
-
"@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.19.
|
|
31
|
-
"@lynx-js/web-worker-runtime": "npm:@lynx-js/web-worker-runtime-canary@0.19.
|
|
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
|
|
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",
|