@lynx-js/web-core-canary 0.19.2-canary-20251222-c5da3b2e → 0.19.2

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 +31 -31
  2. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @lynx-js/web-core
2
2
 
3
- ## 0.19.2-canary-20251222040638-c5da3b2e8ffc0298bebb8014a84e7809bcf43ffd
3
+ ## 0.19.2
4
4
 
5
5
  ### Patch Changes
6
6
 
@@ -17,10 +17,10 @@
17
17
  - fix csp issue for mts realm ([#1998](https://github.com/lynx-family/lynx-stack/pull/1998))
18
18
 
19
19
  - Updated dependencies []:
20
- - @lynx-js/web-constants@0.19.2-canary-20251222040638-c5da3b2e8ffc0298bebb8014a84e7809bcf43ffd
21
- - @lynx-js/web-mainthread-apis@0.19.2-canary-20251222040638-c5da3b2e8ffc0298bebb8014a84e7809bcf43ffd
22
- - @lynx-js/web-worker-rpc@0.19.2-canary-20251222040638-c5da3b2e8ffc0298bebb8014a84e7809bcf43ffd
23
- - @lynx-js/web-worker-runtime@0.19.2-canary-20251222040638-c5da3b2e8ffc0298bebb8014a84e7809bcf43ffd
20
+ - @lynx-js/web-constants@0.19.2
21
+ - @lynx-js/web-mainthread-apis@0.19.2
22
+ - @lynx-js/web-worker-rpc@0.19.2
23
+ - @lynx-js/web-worker-runtime@0.19.2
24
24
 
25
25
  ## 0.19.1
26
26
 
@@ -450,25 +450,25 @@
450
450
  lynxView.initI18nResources = [
451
451
  {
452
452
  options: {
453
- locale: "en",
454
- channel: "1",
455
- fallback_url: "",
453
+ locale: 'en',
454
+ channel: '1',
455
+ fallback_url: '',
456
456
  },
457
457
  resource: {
458
- hello: "hello",
459
- lynx: "lynx web platform1",
458
+ hello: 'hello',
459
+ lynx: 'lynx web platform1',
460
460
  },
461
461
  },
462
462
  ];
463
- lynxView.addEventListener("i18nResourceMissed", (e) => {
463
+ lynxView.addEventListener('i18nResourceMissed', (e) => {
464
464
  console.log(e);
465
465
  });
466
466
 
467
467
  // mts
468
468
  _I18nResourceTranslation({
469
- locale: "en",
470
- channel: "1",
471
- fallback_url: "",
469
+ locale: 'en',
470
+ channel: '1',
471
+ fallback_url: '',
472
472
  });
473
473
  ```
474
474
 
@@ -876,8 +876,8 @@
876
876
  }
877
877
  };`,
878
878
  ],
879
- { type: "text/javascript" }
880
- )
879
+ { type: 'text/javascript' },
880
+ ),
881
881
  ),
882
882
  };
883
883
  lynxView.nativeModulesMap = nativeModulesMap;
@@ -992,8 +992,8 @@
992
992
  };
993
993
  };`,
994
994
  ],
995
- { type: "text/javascript" }
996
- )
995
+ { type: 'text/javascript' },
996
+ ),
997
997
  );
998
998
 
999
999
  const color_methods = URL.createObjectURL(
@@ -1008,8 +1008,8 @@
1008
1008
  };
1009
1009
  };`,
1010
1010
  ],
1011
- { type: "text/javascript" }
1012
- )
1011
+ { type: 'text/javascript' },
1012
+ ),
1013
1013
  );
1014
1014
 
1015
1015
  lynxView.napiModuleMap = {
@@ -1026,7 +1026,7 @@
1026
1026
 
1027
1027
  ```js
1028
1028
  lynxView.onNapiModulesCall = (name, data, moduleName) => {
1029
- if (name === "getColor" && moduleName === "color_methods") {
1029
+ if (name === 'getColor' && moduleName === 'color_methods') {
1030
1030
  return data.color;
1031
1031
  }
1032
1032
  };
@@ -1105,8 +1105,8 @@
1105
1105
  }
1106
1106
  };`,
1107
1107
  ],
1108
- { type: "text/javascript" }
1109
- )
1108
+ { type: 'text/javascript' },
1109
+ ),
1110
1110
  );
1111
1111
  ```
1112
1112
 
@@ -1118,7 +1118,7 @@
1118
1118
 
1119
1119
  ```js
1120
1120
  lynxView.onNativeModulesCall = (name, data, callback) => {
1121
- if (name === "getColor") {
1121
+ if (name === 'getColor') {
1122
1122
  callback(data.color);
1123
1123
  }
1124
1124
  };
@@ -1128,7 +1128,7 @@
1128
1128
 
1129
1129
  ```js
1130
1130
  lynxView.onNativeModulesCall = (name, data, moduleName) => {
1131
- if (name === "getColor" && moduleName === "bridge") {
1131
+ if (name === 'getColor' && moduleName === 'bridge') {
1132
1132
  return data.color;
1133
1133
  }
1134
1134
  };
@@ -1486,7 +1486,7 @@
1486
1486
  This flag changes the behaviour of cascading. It provide a way to do this
1487
1487
 
1488
1488
  ```jsx
1489
- <view class="class-a class-b" />
1489
+ <view class='class-a class-b' />;
1490
1490
  ```
1491
1491
 
1492
1492
  The class-b will override (cascading) styles of class-a.
@@ -1586,11 +1586,11 @@
1586
1586
  There is also a simple way to use this feature
1587
1587
 
1588
1588
  ```javascript
1589
- import { LynxCard } from "@lynx-js/web-core";
1590
- import { loadElement } from "@lynx-js/web-elements/lazy";
1591
- import "@lynx-js/web-elements/index.css";
1592
- import "@lynx-js/web-core/index.css";
1593
- import "./index.css";
1589
+ import { LynxCard } from '@lynx-js/web-core';
1590
+ import { loadElement } from '@lynx-js/web-elements/lazy';
1591
+ import '@lynx-js/web-elements/index.css';
1592
+ import '@lynx-js/web-core/index.css';
1593
+ import './index.css';
1594
1594
 
1595
1595
  const lynxcard = new LynxCard({
1596
1596
  ...beforeConfigs,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/web-core-canary",
3
- "version": "0.19.2-canary-20251222-c5da3b2e",
3
+ "version": "0.19.2",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [],
@@ -25,10 +25,10 @@
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.2-canary-20251222-c5da3b2e",
29
- "@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.19.2-canary-20251222-c5da3b2e",
30
- "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.19.2-canary-20251222-c5da3b2e",
31
- "@lynx-js/web-worker-runtime": "npm:@lynx-js/web-worker-runtime-canary@0.19.2-canary-20251222-c5da3b2e"
28
+ "@lynx-js/web-constants": "npm:@lynx-js/web-constants-canary@0.19.2",
29
+ "@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.19.2",
30
+ "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.19.2",
31
+ "@lynx-js/web-worker-runtime": "npm:@lynx-js/web-worker-runtime-canary@0.19.2"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@lynx-js/lynx-core": "0.1.3",