@lynx-js/web-core-canary 0.17.2-canary-20251001-4e011e08 → 0.17.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.17.2-canary-20251001091711-4e011e08e092843aea57d625a5faaa7686b7b791
3
+ ## 0.17.2
4
4
 
5
5
  ### Patch Changes
6
6
 
@@ -12,10 +12,10 @@
12
12
  - support to add a breakpoint in chrome after reloading the web page
13
13
 
14
14
  - Updated dependencies [[`a35a245`](https://github.com/lynx-family/lynx-stack/commit/a35a2452e5355bda3c475f9a750a86085e0cf56a)]:
15
- - @lynx-js/web-worker-runtime@0.17.2-canary-20251001091711-4e011e08e092843aea57d625a5faaa7686b7b791
16
- - @lynx-js/web-constants@0.17.2-canary-20251001091711-4e011e08e092843aea57d625a5faaa7686b7b791
17
- - @lynx-js/web-mainthread-apis@0.17.2-canary-20251001091711-4e011e08e092843aea57d625a5faaa7686b7b791
18
- - @lynx-js/web-worker-rpc@0.17.2-canary-20251001091711-4e011e08e092843aea57d625a5faaa7686b7b791
15
+ - @lynx-js/web-worker-runtime@0.17.2
16
+ - @lynx-js/web-constants@0.17.2
17
+ - @lynx-js/web-mainthread-apis@0.17.2
18
+ - @lynx-js/web-worker-rpc@0.17.2
19
19
 
20
20
  ## 0.17.1
21
21
 
@@ -330,25 +330,25 @@
330
330
  lynxView.initI18nResources = [
331
331
  {
332
332
  options: {
333
- locale: "en",
334
- channel: "1",
335
- fallback_url: "",
333
+ locale: 'en',
334
+ channel: '1',
335
+ fallback_url: '',
336
336
  },
337
337
  resource: {
338
- hello: "hello",
339
- lynx: "lynx web platform1",
338
+ hello: 'hello',
339
+ lynx: 'lynx web platform1',
340
340
  },
341
341
  },
342
342
  ];
343
- lynxView.addEventListener("i18nResourceMissed", (e) => {
343
+ lynxView.addEventListener('i18nResourceMissed', (e) => {
344
344
  console.log(e);
345
345
  });
346
346
 
347
347
  // mts
348
348
  _I18nResourceTranslation({
349
- locale: "en",
350
- channel: "1",
351
- fallback_url: "",
349
+ locale: 'en',
350
+ channel: '1',
351
+ fallback_url: '',
352
352
  });
353
353
  ```
354
354
 
@@ -756,8 +756,8 @@
756
756
  }
757
757
  };`,
758
758
  ],
759
- { type: "text/javascript" }
760
- )
759
+ { type: 'text/javascript' },
760
+ ),
761
761
  ),
762
762
  };
763
763
  lynxView.nativeModulesMap = nativeModulesMap;
@@ -872,8 +872,8 @@
872
872
  };
873
873
  };`,
874
874
  ],
875
- { type: "text/javascript" }
876
- )
875
+ { type: 'text/javascript' },
876
+ ),
877
877
  );
878
878
 
879
879
  const color_methods = URL.createObjectURL(
@@ -888,8 +888,8 @@
888
888
  };
889
889
  };`,
890
890
  ],
891
- { type: "text/javascript" }
892
- )
891
+ { type: 'text/javascript' },
892
+ ),
893
893
  );
894
894
 
895
895
  lynxView.napiModuleMap = {
@@ -906,7 +906,7 @@
906
906
 
907
907
  ```js
908
908
  lynxView.onNapiModulesCall = (name, data, moduleName) => {
909
- if (name === "getColor" && moduleName === "color_methods") {
909
+ if (name === 'getColor' && moduleName === 'color_methods') {
910
910
  return data.color;
911
911
  }
912
912
  };
@@ -985,8 +985,8 @@
985
985
  }
986
986
  };`,
987
987
  ],
988
- { type: "text/javascript" }
989
- )
988
+ { type: 'text/javascript' },
989
+ ),
990
990
  );
991
991
  ```
992
992
 
@@ -998,7 +998,7 @@
998
998
 
999
999
  ```js
1000
1000
  lynxView.onNativeModulesCall = (name, data, callback) => {
1001
- if (name === "getColor") {
1001
+ if (name === 'getColor') {
1002
1002
  callback(data.color);
1003
1003
  }
1004
1004
  };
@@ -1008,7 +1008,7 @@
1008
1008
 
1009
1009
  ```js
1010
1010
  lynxView.onNativeModulesCall = (name, data, moduleName) => {
1011
- if (name === "getColor" && moduleName === "bridge") {
1011
+ if (name === 'getColor' && moduleName === 'bridge') {
1012
1012
  return data.color;
1013
1013
  }
1014
1014
  };
@@ -1366,7 +1366,7 @@
1366
1366
  This flag changes the behaviour of cascading. It provide a way to do this
1367
1367
 
1368
1368
  ```jsx
1369
- <view class="class-a class-b" />
1369
+ <view class='class-a class-b' />;
1370
1370
  ```
1371
1371
 
1372
1372
  The class-b will override (cascading) styles of class-a.
@@ -1466,11 +1466,11 @@
1466
1466
  There is also a simple way to use this feature
1467
1467
 
1468
1468
  ```javascript
1469
- import { LynxCard } from "@lynx-js/web-core";
1470
- import { loadElement } from "@lynx-js/web-elements/lazy";
1471
- import "@lynx-js/web-elements/index.css";
1472
- import "@lynx-js/web-core/index.css";
1473
- import "./index.css";
1469
+ import { LynxCard } from '@lynx-js/web-core';
1470
+ import { loadElement } from '@lynx-js/web-elements/lazy';
1471
+ import '@lynx-js/web-elements/index.css';
1472
+ import '@lynx-js/web-core/index.css';
1473
+ import './index.css';
1474
1474
 
1475
1475
  const lynxcard = new LynxCard({
1476
1476
  ...beforeConfigs,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/web-core-canary",
3
- "version": "0.17.2-canary-20251001-4e011e08",
3
+ "version": "0.17.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.17.2-canary-20251001-4e011e08",
29
- "@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.17.2-canary-20251001-4e011e08",
30
- "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.17.2-canary-20251001-4e011e08",
31
- "@lynx-js/web-worker-runtime": "npm:@lynx-js/web-worker-runtime-canary@0.17.2-canary-20251001-4e011e08"
28
+ "@lynx-js/web-constants": "npm:@lynx-js/web-constants-canary@0.17.2",
29
+ "@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.17.2",
30
+ "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.17.2",
31
+ "@lynx-js/web-worker-runtime": "npm:@lynx-js/web-worker-runtime-canary@0.17.2"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@lynx-js/lynx-core": "0.1.3",