@lynx-js/web-core-canary 0.19.4-canary-20260104-7634817d → 0.19.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,15 +1,14 @@
1
1
  # @lynx-js/web-core
2
2
 
3
- ## 0.19.4-canary-20260104102004-7634817dabf7aea4a33188ad3472d6feef241d97
3
+ ## 0.19.4
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - Updated dependencies [[`1bb269b`](https://github.com/lynx-family/lynx-stack/commit/1bb269b6c6f58fba293587a98f3fa8e3160cbbba), [`bba05e2`](https://github.com/lynx-family/lynx-stack/commit/bba05e2ed06cca8009ad415fd9777e8334a0887a), [`34065b5`](https://github.com/lynx-family/lynx-stack/commit/34065b5c34d4c753efe23c2752c539b319122248)]:
8
- - @lynx-js/web-elements@0.10.1-canary-20260104102004-7634817dabf7aea4a33188ad3472d6feef241d97
9
- - @lynx-js/web-worker-rpc@0.19.4-canary-20260104102004-7634817dabf7aea4a33188ad3472d6feef241d97
10
- - @lynx-js/web-constants@0.19.4-canary-20260104102004-7634817dabf7aea4a33188ad3472d6feef241d97
11
- - @lynx-js/web-worker-runtime@0.19.4-canary-20260104102004-7634817dabf7aea4a33188ad3472d6feef241d97
12
- - @lynx-js/web-mainthread-apis@0.19.4-canary-20260104102004-7634817dabf7aea4a33188ad3472d6feef241d97
7
+ - Updated dependencies [[`bba05e2`](https://github.com/lynx-family/lynx-stack/commit/bba05e2ed06cca8009ad415fd9777e8334a0887a)]:
8
+ - @lynx-js/web-worker-rpc@0.19.4
9
+ - @lynx-js/web-constants@0.19.4
10
+ - @lynx-js/web-worker-runtime@0.19.4
11
+ - @lynx-js/web-mainthread-apis@0.19.4
13
12
 
14
13
  ## 0.19.3
15
14
 
@@ -471,25 +470,25 @@
471
470
  lynxView.initI18nResources = [
472
471
  {
473
472
  options: {
474
- locale: "en",
475
- channel: "1",
476
- fallback_url: "",
473
+ locale: 'en',
474
+ channel: '1',
475
+ fallback_url: '',
477
476
  },
478
477
  resource: {
479
- hello: "hello",
480
- lynx: "lynx web platform1",
478
+ hello: 'hello',
479
+ lynx: 'lynx web platform1',
481
480
  },
482
481
  },
483
482
  ];
484
- lynxView.addEventListener("i18nResourceMissed", (e) => {
483
+ lynxView.addEventListener('i18nResourceMissed', (e) => {
485
484
  console.log(e);
486
485
  });
487
486
 
488
487
  // mts
489
488
  _I18nResourceTranslation({
490
- locale: "en",
491
- channel: "1",
492
- fallback_url: "",
489
+ locale: 'en',
490
+ channel: '1',
491
+ fallback_url: '',
493
492
  });
494
493
  ```
495
494
 
@@ -897,8 +896,8 @@
897
896
  }
898
897
  };`,
899
898
  ],
900
- { type: "text/javascript" }
901
- )
899
+ { type: 'text/javascript' },
900
+ ),
902
901
  ),
903
902
  };
904
903
  lynxView.nativeModulesMap = nativeModulesMap;
@@ -1013,8 +1012,8 @@
1013
1012
  };
1014
1013
  };`,
1015
1014
  ],
1016
- { type: "text/javascript" }
1017
- )
1015
+ { type: 'text/javascript' },
1016
+ ),
1018
1017
  );
1019
1018
 
1020
1019
  const color_methods = URL.createObjectURL(
@@ -1029,8 +1028,8 @@
1029
1028
  };
1030
1029
  };`,
1031
1030
  ],
1032
- { type: "text/javascript" }
1033
- )
1031
+ { type: 'text/javascript' },
1032
+ ),
1034
1033
  );
1035
1034
 
1036
1035
  lynxView.napiModuleMap = {
@@ -1047,7 +1046,7 @@
1047
1046
 
1048
1047
  ```js
1049
1048
  lynxView.onNapiModulesCall = (name, data, moduleName) => {
1050
- if (name === "getColor" && moduleName === "color_methods") {
1049
+ if (name === 'getColor' && moduleName === 'color_methods') {
1051
1050
  return data.color;
1052
1051
  }
1053
1052
  };
@@ -1126,8 +1125,8 @@
1126
1125
  }
1127
1126
  };`,
1128
1127
  ],
1129
- { type: "text/javascript" }
1130
- )
1128
+ { type: 'text/javascript' },
1129
+ ),
1131
1130
  );
1132
1131
  ```
1133
1132
 
@@ -1139,7 +1138,7 @@
1139
1138
 
1140
1139
  ```js
1141
1140
  lynxView.onNativeModulesCall = (name, data, callback) => {
1142
- if (name === "getColor") {
1141
+ if (name === 'getColor') {
1143
1142
  callback(data.color);
1144
1143
  }
1145
1144
  };
@@ -1149,7 +1148,7 @@
1149
1148
 
1150
1149
  ```js
1151
1150
  lynxView.onNativeModulesCall = (name, data, moduleName) => {
1152
- if (name === "getColor" && moduleName === "bridge") {
1151
+ if (name === 'getColor' && moduleName === 'bridge') {
1153
1152
  return data.color;
1154
1153
  }
1155
1154
  };
@@ -1507,7 +1506,7 @@
1507
1506
  This flag changes the behaviour of cascading. It provide a way to do this
1508
1507
 
1509
1508
  ```jsx
1510
- <view class="class-a class-b" />
1509
+ <view class='class-a class-b' />;
1511
1510
  ```
1512
1511
 
1513
1512
  The class-b will override (cascading) styles of class-a.
@@ -1607,11 +1606,11 @@
1607
1606
  There is also a simple way to use this feature
1608
1607
 
1609
1608
  ```javascript
1610
- import { LynxCard } from "@lynx-js/web-core";
1611
- import { loadElement } from "@lynx-js/web-elements/lazy";
1612
- import "@lynx-js/web-elements/index.css";
1613
- import "@lynx-js/web-core/index.css";
1614
- import "./index.css";
1609
+ import { LynxCard } from '@lynx-js/web-core';
1610
+ import { loadElement } from '@lynx-js/web-elements/lazy';
1611
+ import '@lynx-js/web-elements/index.css';
1612
+ import '@lynx-js/web-core/index.css';
1613
+ import './index.css';
1615
1614
 
1616
1615
  const lynxcard = new LynxCard({
1617
1616
  ...beforeConfigs,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/web-core-canary",
3
- "version": "0.19.4-canary-20260104-7634817d",
3
+ "version": "0.19.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.19.4-canary-20260104-7634817d",
29
- "@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.19.4-canary-20260104-7634817d",
30
- "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.19.4-canary-20260104-7634817d",
31
- "@lynx-js/web-worker-runtime": "npm:@lynx-js/web-worker-runtime-canary@0.19.4-canary-20260104-7634817d"
28
+ "@lynx-js/web-constants": "npm:@lynx-js/web-constants-canary@0.19.4",
29
+ "@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.19.4",
30
+ "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.19.4",
31
+ "@lynx-js/web-worker-runtime": "npm:@lynx-js/web-worker-runtime-canary@0.19.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.10.1-canary-20260104-7634817d"
35
+ "@lynx-js/web-elements": "npm:@lynx-js/web-elements-canary@0.10.1"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "@lynx-js/lynx-core": "0.1.3",