@lynx-js/web-core-canary 0.18.4-canary-20251121-e1a9493a → 0.18.4

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,17 +1,16 @@
1
1
  # @lynx-js/web-core
2
2
 
3
- ## 0.18.4-canary-20251121034851-e1a9493a1d565fd077d55cba818ba12fbefc30a1
3
+ ## 0.18.4
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - feat: builtinTagTransformMap add `'x-input-ng': 'x-input'` ([#1932](https://github.com/lynx-family/lynx-stack/pull/1932))
8
8
 
9
- - Updated dependencies [[`e71e423`](https://github.com/lynx-family/lynx-stack/commit/e71e4234aa1fa40b393fad9ff77d230d9ec5f3b1)]:
10
- - @lynx-js/web-elements@0.8.11-canary-20251121034851-e1a9493a1d565fd077d55cba818ba12fbefc30a1
11
- - @lynx-js/web-constants@0.18.4-canary-20251121034851-e1a9493a1d565fd077d55cba818ba12fbefc30a1
12
- - @lynx-js/web-mainthread-apis@0.18.4-canary-20251121034851-e1a9493a1d565fd077d55cba818ba12fbefc30a1
13
- - @lynx-js/web-worker-rpc@0.18.4-canary-20251121034851-e1a9493a1d565fd077d55cba818ba12fbefc30a1
14
- - @lynx-js/web-worker-runtime@0.18.4-canary-20251121034851-e1a9493a1d565fd077d55cba818ba12fbefc30a1
9
+ - Updated dependencies []:
10
+ - @lynx-js/web-constants@0.18.4
11
+ - @lynx-js/web-mainthread-apis@0.18.4
12
+ - @lynx-js/web-worker-rpc@0.18.4
13
+ - @lynx-js/web-worker-runtime@0.18.4
15
14
 
16
15
  ## 0.18.3
17
16
 
@@ -403,25 +402,25 @@
403
402
  lynxView.initI18nResources = [
404
403
  {
405
404
  options: {
406
- locale: "en",
407
- channel: "1",
408
- fallback_url: "",
405
+ locale: 'en',
406
+ channel: '1',
407
+ fallback_url: '',
409
408
  },
410
409
  resource: {
411
- hello: "hello",
412
- lynx: "lynx web platform1",
410
+ hello: 'hello',
411
+ lynx: 'lynx web platform1',
413
412
  },
414
413
  },
415
414
  ];
416
- lynxView.addEventListener("i18nResourceMissed", (e) => {
415
+ lynxView.addEventListener('i18nResourceMissed', (e) => {
417
416
  console.log(e);
418
417
  });
419
418
 
420
419
  // mts
421
420
  _I18nResourceTranslation({
422
- locale: "en",
423
- channel: "1",
424
- fallback_url: "",
421
+ locale: 'en',
422
+ channel: '1',
423
+ fallback_url: '',
425
424
  });
426
425
  ```
427
426
 
@@ -829,8 +828,8 @@
829
828
  }
830
829
  };`,
831
830
  ],
832
- { type: "text/javascript" }
833
- )
831
+ { type: 'text/javascript' },
832
+ ),
834
833
  ),
835
834
  };
836
835
  lynxView.nativeModulesMap = nativeModulesMap;
@@ -945,8 +944,8 @@
945
944
  };
946
945
  };`,
947
946
  ],
948
- { type: "text/javascript" }
949
- )
947
+ { type: 'text/javascript' },
948
+ ),
950
949
  );
951
950
 
952
951
  const color_methods = URL.createObjectURL(
@@ -961,8 +960,8 @@
961
960
  };
962
961
  };`,
963
962
  ],
964
- { type: "text/javascript" }
965
- )
963
+ { type: 'text/javascript' },
964
+ ),
966
965
  );
967
966
 
968
967
  lynxView.napiModuleMap = {
@@ -979,7 +978,7 @@
979
978
 
980
979
  ```js
981
980
  lynxView.onNapiModulesCall = (name, data, moduleName) => {
982
- if (name === "getColor" && moduleName === "color_methods") {
981
+ if (name === 'getColor' && moduleName === 'color_methods') {
983
982
  return data.color;
984
983
  }
985
984
  };
@@ -1058,8 +1057,8 @@
1058
1057
  }
1059
1058
  };`,
1060
1059
  ],
1061
- { type: "text/javascript" }
1062
- )
1060
+ { type: 'text/javascript' },
1061
+ ),
1063
1062
  );
1064
1063
  ```
1065
1064
 
@@ -1071,7 +1070,7 @@
1071
1070
 
1072
1071
  ```js
1073
1072
  lynxView.onNativeModulesCall = (name, data, callback) => {
1074
- if (name === "getColor") {
1073
+ if (name === 'getColor') {
1075
1074
  callback(data.color);
1076
1075
  }
1077
1076
  };
@@ -1081,7 +1080,7 @@
1081
1080
 
1082
1081
  ```js
1083
1082
  lynxView.onNativeModulesCall = (name, data, moduleName) => {
1084
- if (name === "getColor" && moduleName === "bridge") {
1083
+ if (name === 'getColor' && moduleName === 'bridge') {
1085
1084
  return data.color;
1086
1085
  }
1087
1086
  };
@@ -1439,7 +1438,7 @@
1439
1438
  This flag changes the behaviour of cascading. It provide a way to do this
1440
1439
 
1441
1440
  ```jsx
1442
- <view class="class-a class-b" />
1441
+ <view class='class-a class-b' />;
1443
1442
  ```
1444
1443
 
1445
1444
  The class-b will override (cascading) styles of class-a.
@@ -1539,11 +1538,11 @@
1539
1538
  There is also a simple way to use this feature
1540
1539
 
1541
1540
  ```javascript
1542
- import { LynxCard } from "@lynx-js/web-core";
1543
- import { loadElement } from "@lynx-js/web-elements/lazy";
1544
- import "@lynx-js/web-elements/index.css";
1545
- import "@lynx-js/web-core/index.css";
1546
- import "./index.css";
1541
+ import { LynxCard } from '@lynx-js/web-core';
1542
+ import { loadElement } from '@lynx-js/web-elements/lazy';
1543
+ import '@lynx-js/web-elements/index.css';
1544
+ import '@lynx-js/web-core/index.css';
1545
+ import './index.css';
1547
1546
 
1548
1547
  const lynxcard = new LynxCard({
1549
1548
  ...beforeConfigs,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/web-core-canary",
3
- "version": "0.18.4-canary-20251121-e1a9493a",
3
+ "version": "0.18.4",
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.4-canary-20251121-e1a9493a",
29
- "@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.18.4-canary-20251121-e1a9493a",
30
- "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.18.4-canary-20251121-e1a9493a",
31
- "@lynx-js/web-worker-runtime": "npm:@lynx-js/web-worker-runtime-canary@0.18.4-canary-20251121-e1a9493a"
28
+ "@lynx-js/web-constants": "npm:@lynx-js/web-constants-canary@0.18.4",
29
+ "@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.18.4",
30
+ "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.18.4",
31
+ "@lynx-js/web-worker-runtime": "npm:@lynx-js/web-worker-runtime-canary@0.18.4"
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.11-canary-20251121-e1a9493a"
35
+ "@lynx-js/web-elements": "npm:@lynx-js/web-elements-canary@0.8.11"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "@lynx-js/lynx-core": "0.1.3",