@lynx-js/web-core-canary 0.19.3-canary-20251226-f8b5be81 → 0.19.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.19.3-canary-20251226141420-f8b5be81acbf7b3fed18046c5d1e4100a75a9843
3
+ ## 0.19.3
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - Updated dependencies [[`986761d`](https://github.com/lynx-family/lynx-stack/commit/986761dd1e9e631f8118faec68188f29f78e9236), [`e51b080`](https://github.com/lynx-family/lynx-stack/commit/e51b080350101c40fbae8443a23372bd3169c717), [`ccbf3de`](https://github.com/lynx-family/lynx-stack/commit/ccbf3de1040573d60a3f8068585e36d5230b5e4a)]:
8
- - @lynx-js/web-worker-rpc@0.19.3-canary-20251226141420-f8b5be81acbf7b3fed18046c5d1e4100a75a9843
9
- - @lynx-js/web-elements@0.10.0-canary-20251226141420-f8b5be81acbf7b3fed18046c5d1e4100a75a9843
10
- - @lynx-js/web-constants@0.19.3-canary-20251226141420-f8b5be81acbf7b3fed18046c5d1e4100a75a9843
11
- - @lynx-js/web-worker-runtime@0.19.3-canary-20251226141420-f8b5be81acbf7b3fed18046c5d1e4100a75a9843
12
- - @lynx-js/web-mainthread-apis@0.19.3-canary-20251226141420-f8b5be81acbf7b3fed18046c5d1e4100a75a9843
7
+ - Updated dependencies [[`986761d`](https://github.com/lynx-family/lynx-stack/commit/986761dd1e9e631f8118faec68188f29f78e9236)]:
8
+ - @lynx-js/web-worker-rpc@0.19.3
9
+ - @lynx-js/web-constants@0.19.3
10
+ - @lynx-js/web-worker-runtime@0.19.3
11
+ - @lynx-js/web-mainthread-apis@0.19.3
13
12
 
14
13
  ## 0.19.2
15
14
 
@@ -461,25 +460,25 @@
461
460
  lynxView.initI18nResources = [
462
461
  {
463
462
  options: {
464
- locale: "en",
465
- channel: "1",
466
- fallback_url: "",
463
+ locale: 'en',
464
+ channel: '1',
465
+ fallback_url: '',
467
466
  },
468
467
  resource: {
469
- hello: "hello",
470
- lynx: "lynx web platform1",
468
+ hello: 'hello',
469
+ lynx: 'lynx web platform1',
471
470
  },
472
471
  },
473
472
  ];
474
- lynxView.addEventListener("i18nResourceMissed", (e) => {
473
+ lynxView.addEventListener('i18nResourceMissed', (e) => {
475
474
  console.log(e);
476
475
  });
477
476
 
478
477
  // mts
479
478
  _I18nResourceTranslation({
480
- locale: "en",
481
- channel: "1",
482
- fallback_url: "",
479
+ locale: 'en',
480
+ channel: '1',
481
+ fallback_url: '',
483
482
  });
484
483
  ```
485
484
 
@@ -887,8 +886,8 @@
887
886
  }
888
887
  };`,
889
888
  ],
890
- { type: "text/javascript" }
891
- )
889
+ { type: 'text/javascript' },
890
+ ),
892
891
  ),
893
892
  };
894
893
  lynxView.nativeModulesMap = nativeModulesMap;
@@ -1003,8 +1002,8 @@
1003
1002
  };
1004
1003
  };`,
1005
1004
  ],
1006
- { type: "text/javascript" }
1007
- )
1005
+ { type: 'text/javascript' },
1006
+ ),
1008
1007
  );
1009
1008
 
1010
1009
  const color_methods = URL.createObjectURL(
@@ -1019,8 +1018,8 @@
1019
1018
  };
1020
1019
  };`,
1021
1020
  ],
1022
- { type: "text/javascript" }
1023
- )
1021
+ { type: 'text/javascript' },
1022
+ ),
1024
1023
  );
1025
1024
 
1026
1025
  lynxView.napiModuleMap = {
@@ -1037,7 +1036,7 @@
1037
1036
 
1038
1037
  ```js
1039
1038
  lynxView.onNapiModulesCall = (name, data, moduleName) => {
1040
- if (name === "getColor" && moduleName === "color_methods") {
1039
+ if (name === 'getColor' && moduleName === 'color_methods') {
1041
1040
  return data.color;
1042
1041
  }
1043
1042
  };
@@ -1116,8 +1115,8 @@
1116
1115
  }
1117
1116
  };`,
1118
1117
  ],
1119
- { type: "text/javascript" }
1120
- )
1118
+ { type: 'text/javascript' },
1119
+ ),
1121
1120
  );
1122
1121
  ```
1123
1122
 
@@ -1129,7 +1128,7 @@
1129
1128
 
1130
1129
  ```js
1131
1130
  lynxView.onNativeModulesCall = (name, data, callback) => {
1132
- if (name === "getColor") {
1131
+ if (name === 'getColor') {
1133
1132
  callback(data.color);
1134
1133
  }
1135
1134
  };
@@ -1139,7 +1138,7 @@
1139
1138
 
1140
1139
  ```js
1141
1140
  lynxView.onNativeModulesCall = (name, data, moduleName) => {
1142
- if (name === "getColor" && moduleName === "bridge") {
1141
+ if (name === 'getColor' && moduleName === 'bridge') {
1143
1142
  return data.color;
1144
1143
  }
1145
1144
  };
@@ -1497,7 +1496,7 @@
1497
1496
  This flag changes the behaviour of cascading. It provide a way to do this
1498
1497
 
1499
1498
  ```jsx
1500
- <view class="class-a class-b" />
1499
+ <view class='class-a class-b' />;
1501
1500
  ```
1502
1501
 
1503
1502
  The class-b will override (cascading) styles of class-a.
@@ -1597,11 +1596,11 @@
1597
1596
  There is also a simple way to use this feature
1598
1597
 
1599
1598
  ```javascript
1600
- import { LynxCard } from "@lynx-js/web-core";
1601
- import { loadElement } from "@lynx-js/web-elements/lazy";
1602
- import "@lynx-js/web-elements/index.css";
1603
- import "@lynx-js/web-core/index.css";
1604
- import "./index.css";
1599
+ import { LynxCard } from '@lynx-js/web-core';
1600
+ import { loadElement } from '@lynx-js/web-elements/lazy';
1601
+ import '@lynx-js/web-elements/index.css';
1602
+ import '@lynx-js/web-core/index.css';
1603
+ import './index.css';
1605
1604
 
1606
1605
  const lynxcard = new LynxCard({
1607
1606
  ...beforeConfigs,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/web-core-canary",
3
- "version": "0.19.3-canary-20251226-f8b5be81",
3
+ "version": "0.19.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.19.3-canary-20251226-f8b5be81",
29
- "@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.19.3-canary-20251226-f8b5be81",
30
- "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.19.3-canary-20251226-f8b5be81",
31
- "@lynx-js/web-worker-runtime": "npm:@lynx-js/web-worker-runtime-canary@0.19.3-canary-20251226-f8b5be81"
28
+ "@lynx-js/web-constants": "npm:@lynx-js/web-constants-canary@0.19.3",
29
+ "@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.19.3",
30
+ "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.19.3",
31
+ "@lynx-js/web-worker-runtime": "npm:@lynx-js/web-worker-runtime-canary@0.19.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.10.0-canary-20251226-f8b5be81"
35
+ "@lynx-js/web-elements": "npm:@lynx-js/web-elements-canary@0.10.0"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "@lynx-js/lynx-core": "0.1.3",