@lynx-js/web-core-canary 0.18.3-canary-20251106-5eb6d949 → 0.18.3

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +32 -33
  2. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -1,15 +1,14 @@
1
1
  # @lynx-js/web-core
2
2
 
3
- ## 0.18.3-canary-20251106114651-5eb6d9491672d27febb47566085f21ce10defb9e
3
+ ## 0.18.3
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - Updated dependencies [[`fece7d0`](https://github.com/lynx-family/lynx-stack/commit/fece7d0a92fa76948488373757a27dff52a90437), [`04f2c39`](https://github.com/lynx-family/lynx-stack/commit/04f2c39cc028d88b2bc694c32433747e9a468478), [`e1db63f`](https://github.com/lynx-family/lynx-stack/commit/e1db63fac8a351f98711b9b47acbb871f7a23701), [`ebc1a60`](https://github.com/lynx-family/lynx-stack/commit/ebc1a606318e9809e8a07457e18536b59be12a18), [`c282f54`](https://github.com/lynx-family/lynx-stack/commit/c282f54b636d64e9cb899faaad7dcd8e5695544a)]:
8
- - @lynx-js/web-mainthread-apis@0.18.3-canary-20251106114651-5eb6d9491672d27febb47566085f21ce10defb9e
9
- - @lynx-js/web-elements@0.8.10-canary-20251106114651-5eb6d9491672d27febb47566085f21ce10defb9e
10
- - @lynx-js/web-worker-runtime@0.18.3-canary-20251106114651-5eb6d9491672d27febb47566085f21ce10defb9e
11
- - @lynx-js/web-constants@0.18.3-canary-20251106114651-5eb6d9491672d27febb47566085f21ce10defb9e
12
- - @lynx-js/web-worker-rpc@0.18.3-canary-20251106114651-5eb6d9491672d27febb47566085f21ce10defb9e
7
+ - Updated dependencies [[`fece7d0`](https://github.com/lynx-family/lynx-stack/commit/fece7d0a92fa76948488373757a27dff52a90437), [`e1db63f`](https://github.com/lynx-family/lynx-stack/commit/e1db63fac8a351f98711b9b47acbb871f7a23701), [`ebc1a60`](https://github.com/lynx-family/lynx-stack/commit/ebc1a606318e9809e8a07457e18536b59be12a18)]:
8
+ - @lynx-js/web-mainthread-apis@0.18.3
9
+ - @lynx-js/web-worker-runtime@0.18.3
10
+ - @lynx-js/web-constants@0.18.3
11
+ - @lynx-js/web-worker-rpc@0.18.3
13
12
 
14
13
  ## 0.18.2
15
14
 
@@ -391,25 +390,25 @@
391
390
  lynxView.initI18nResources = [
392
391
  {
393
392
  options: {
394
- locale: "en",
395
- channel: "1",
396
- fallback_url: "",
393
+ locale: 'en',
394
+ channel: '1',
395
+ fallback_url: '',
397
396
  },
398
397
  resource: {
399
- hello: "hello",
400
- lynx: "lynx web platform1",
398
+ hello: 'hello',
399
+ lynx: 'lynx web platform1',
401
400
  },
402
401
  },
403
402
  ];
404
- lynxView.addEventListener("i18nResourceMissed", (e) => {
403
+ lynxView.addEventListener('i18nResourceMissed', (e) => {
405
404
  console.log(e);
406
405
  });
407
406
 
408
407
  // mts
409
408
  _I18nResourceTranslation({
410
- locale: "en",
411
- channel: "1",
412
- fallback_url: "",
409
+ locale: 'en',
410
+ channel: '1',
411
+ fallback_url: '',
413
412
  });
414
413
  ```
415
414
 
@@ -817,8 +816,8 @@
817
816
  }
818
817
  };`,
819
818
  ],
820
- { type: "text/javascript" }
821
- )
819
+ { type: 'text/javascript' },
820
+ ),
822
821
  ),
823
822
  };
824
823
  lynxView.nativeModulesMap = nativeModulesMap;
@@ -933,8 +932,8 @@
933
932
  };
934
933
  };`,
935
934
  ],
936
- { type: "text/javascript" }
937
- )
935
+ { type: 'text/javascript' },
936
+ ),
938
937
  );
939
938
 
940
939
  const color_methods = URL.createObjectURL(
@@ -949,8 +948,8 @@
949
948
  };
950
949
  };`,
951
950
  ],
952
- { type: "text/javascript" }
953
- )
951
+ { type: 'text/javascript' },
952
+ ),
954
953
  );
955
954
 
956
955
  lynxView.napiModuleMap = {
@@ -967,7 +966,7 @@
967
966
 
968
967
  ```js
969
968
  lynxView.onNapiModulesCall = (name, data, moduleName) => {
970
- if (name === "getColor" && moduleName === "color_methods") {
969
+ if (name === 'getColor' && moduleName === 'color_methods') {
971
970
  return data.color;
972
971
  }
973
972
  };
@@ -1046,8 +1045,8 @@
1046
1045
  }
1047
1046
  };`,
1048
1047
  ],
1049
- { type: "text/javascript" }
1050
- )
1048
+ { type: 'text/javascript' },
1049
+ ),
1051
1050
  );
1052
1051
  ```
1053
1052
 
@@ -1059,7 +1058,7 @@
1059
1058
 
1060
1059
  ```js
1061
1060
  lynxView.onNativeModulesCall = (name, data, callback) => {
1062
- if (name === "getColor") {
1061
+ if (name === 'getColor') {
1063
1062
  callback(data.color);
1064
1063
  }
1065
1064
  };
@@ -1069,7 +1068,7 @@
1069
1068
 
1070
1069
  ```js
1071
1070
  lynxView.onNativeModulesCall = (name, data, moduleName) => {
1072
- if (name === "getColor" && moduleName === "bridge") {
1071
+ if (name === 'getColor' && moduleName === 'bridge') {
1073
1072
  return data.color;
1074
1073
  }
1075
1074
  };
@@ -1427,7 +1426,7 @@
1427
1426
  This flag changes the behaviour of cascading. It provide a way to do this
1428
1427
 
1429
1428
  ```jsx
1430
- <view class="class-a class-b" />
1429
+ <view class='class-a class-b' />;
1431
1430
  ```
1432
1431
 
1433
1432
  The class-b will override (cascading) styles of class-a.
@@ -1527,11 +1526,11 @@
1527
1526
  There is also a simple way to use this feature
1528
1527
 
1529
1528
  ```javascript
1530
- import { LynxCard } from "@lynx-js/web-core";
1531
- import { loadElement } from "@lynx-js/web-elements/lazy";
1532
- import "@lynx-js/web-elements/index.css";
1533
- import "@lynx-js/web-core/index.css";
1534
- import "./index.css";
1529
+ import { LynxCard } from '@lynx-js/web-core';
1530
+ import { loadElement } from '@lynx-js/web-elements/lazy';
1531
+ import '@lynx-js/web-elements/index.css';
1532
+ import '@lynx-js/web-core/index.css';
1533
+ import './index.css';
1535
1534
 
1536
1535
  const lynxcard = new LynxCard({
1537
1536
  ...beforeConfigs,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/web-core-canary",
3
- "version": "0.18.3-canary-20251106-5eb6d949",
3
+ "version": "0.18.3",
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.18.3-canary-20251106-5eb6d949",
29
- "@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.18.3-canary-20251106-5eb6d949",
30
- "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.18.3-canary-20251106-5eb6d949",
31
- "@lynx-js/web-worker-runtime": "npm:@lynx-js/web-worker-runtime-canary@0.18.3-canary-20251106-5eb6d949"
28
+ "@lynx-js/web-constants": "npm:@lynx-js/web-constants-canary@0.18.3",
29
+ "@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.18.3",
30
+ "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.18.3",
31
+ "@lynx-js/web-worker-runtime": "npm:@lynx-js/web-worker-runtime-canary@0.18.3"
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.8.10-canary-20251106-5eb6d949"
35
+ "@lynx-js/web-elements": "npm:@lynx-js/web-elements-canary@0.8.10"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "@lynx-js/lynx-core": "0.1.3",