@lynx-js/web-core-canary 0.19.6-canary-20260123-01c77389 → 0.19.6

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.6-canary-20260123084618-01c77389764854235c8fb342680143b565f55877
3
+ ## 0.19.6
4
4
 
5
5
  ### Patch Changes
6
6
 
@@ -9,10 +9,10 @@
9
9
  - feat: support lynx.reload() ([#2127](https://github.com/lynx-family/lynx-stack/pull/2127))
10
10
 
11
11
  - Updated dependencies [[`179f984`](https://github.com/lynx-family/lynx-stack/commit/179f9844adf00ff4b2cd450ffb943649441c87d3), [`f7133c1`](https://github.com/lynx-family/lynx-stack/commit/f7133c137f094063e991dfa0e993ea92177aa173), [`6c2b51a`](https://github.com/lynx-family/lynx-stack/commit/6c2b51a661ae244eb40671f63f29ee971e084ed4), [`556fe9f`](https://github.com/lynx-family/lynx-stack/commit/556fe9fded90945a7926093897288d5302c314d3), [`5b589ab`](https://github.com/lynx-family/lynx-stack/commit/5b589ab53b01a8e2357d3ccbb159edab004086d3)]:
12
- - @lynx-js/web-constants@0.19.6-canary-20260123084618-01c77389764854235c8fb342680143b565f55877
13
- - @lynx-js/web-mainthread-apis@0.19.6-canary-20260123084618-01c77389764854235c8fb342680143b565f55877
14
- - @lynx-js/web-worker-rpc@0.19.6-canary-20260123084618-01c77389764854235c8fb342680143b565f55877
15
- - @lynx-js/web-worker-runtime@0.19.6-canary-20260123084618-01c77389764854235c8fb342680143b565f55877
12
+ - @lynx-js/web-constants@0.19.6
13
+ - @lynx-js/web-mainthread-apis@0.19.6
14
+ - @lynx-js/web-worker-rpc@0.19.6
15
+ - @lynx-js/web-worker-runtime@0.19.6
16
16
 
17
17
  ## 0.19.5
18
18
 
@@ -496,25 +496,25 @@
496
496
  lynxView.initI18nResources = [
497
497
  {
498
498
  options: {
499
- locale: "en",
500
- channel: "1",
501
- fallback_url: "",
499
+ locale: 'en',
500
+ channel: '1',
501
+ fallback_url: '',
502
502
  },
503
503
  resource: {
504
- hello: "hello",
505
- lynx: "lynx web platform1",
504
+ hello: 'hello',
505
+ lynx: 'lynx web platform1',
506
506
  },
507
507
  },
508
508
  ];
509
- lynxView.addEventListener("i18nResourceMissed", (e) => {
509
+ lynxView.addEventListener('i18nResourceMissed', (e) => {
510
510
  console.log(e);
511
511
  });
512
512
 
513
513
  // mts
514
514
  _I18nResourceTranslation({
515
- locale: "en",
516
- channel: "1",
517
- fallback_url: "",
515
+ locale: 'en',
516
+ channel: '1',
517
+ fallback_url: '',
518
518
  });
519
519
  ```
520
520
 
@@ -922,8 +922,8 @@
922
922
  }
923
923
  };`,
924
924
  ],
925
- { type: "text/javascript" }
926
- )
925
+ { type: 'text/javascript' },
926
+ ),
927
927
  ),
928
928
  };
929
929
  lynxView.nativeModulesMap = nativeModulesMap;
@@ -1038,8 +1038,8 @@
1038
1038
  };
1039
1039
  };`,
1040
1040
  ],
1041
- { type: "text/javascript" }
1042
- )
1041
+ { type: 'text/javascript' },
1042
+ ),
1043
1043
  );
1044
1044
 
1045
1045
  const color_methods = URL.createObjectURL(
@@ -1054,8 +1054,8 @@
1054
1054
  };
1055
1055
  };`,
1056
1056
  ],
1057
- { type: "text/javascript" }
1058
- )
1057
+ { type: 'text/javascript' },
1058
+ ),
1059
1059
  );
1060
1060
 
1061
1061
  lynxView.napiModuleMap = {
@@ -1072,7 +1072,7 @@
1072
1072
 
1073
1073
  ```js
1074
1074
  lynxView.onNapiModulesCall = (name, data, moduleName) => {
1075
- if (name === "getColor" && moduleName === "color_methods") {
1075
+ if (name === 'getColor' && moduleName === 'color_methods') {
1076
1076
  return data.color;
1077
1077
  }
1078
1078
  };
@@ -1151,8 +1151,8 @@
1151
1151
  }
1152
1152
  };`,
1153
1153
  ],
1154
- { type: "text/javascript" }
1155
- )
1154
+ { type: 'text/javascript' },
1155
+ ),
1156
1156
  );
1157
1157
  ```
1158
1158
 
@@ -1164,7 +1164,7 @@
1164
1164
 
1165
1165
  ```js
1166
1166
  lynxView.onNativeModulesCall = (name, data, callback) => {
1167
- if (name === "getColor") {
1167
+ if (name === 'getColor') {
1168
1168
  callback(data.color);
1169
1169
  }
1170
1170
  };
@@ -1174,7 +1174,7 @@
1174
1174
 
1175
1175
  ```js
1176
1176
  lynxView.onNativeModulesCall = (name, data, moduleName) => {
1177
- if (name === "getColor" && moduleName === "bridge") {
1177
+ if (name === 'getColor' && moduleName === 'bridge') {
1178
1178
  return data.color;
1179
1179
  }
1180
1180
  };
@@ -1532,7 +1532,7 @@
1532
1532
  This flag changes the behaviour of cascading. It provide a way to do this
1533
1533
 
1534
1534
  ```jsx
1535
- <view class="class-a class-b" />
1535
+ <view class='class-a class-b' />;
1536
1536
  ```
1537
1537
 
1538
1538
  The class-b will override (cascading) styles of class-a.
@@ -1632,11 +1632,11 @@
1632
1632
  There is also a simple way to use this feature
1633
1633
 
1634
1634
  ```javascript
1635
- import { LynxCard } from "@lynx-js/web-core";
1636
- import { loadElement } from "@lynx-js/web-elements/lazy";
1637
- import "@lynx-js/web-elements/index.css";
1638
- import "@lynx-js/web-core/index.css";
1639
- import "./index.css";
1635
+ import { LynxCard } from '@lynx-js/web-core';
1636
+ import { loadElement } from '@lynx-js/web-elements/lazy';
1637
+ import '@lynx-js/web-elements/index.css';
1638
+ import '@lynx-js/web-core/index.css';
1639
+ import './index.css';
1640
1640
 
1641
1641
  const lynxcard = new LynxCard({
1642
1642
  ...beforeConfigs,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/web-core-canary",
3
- "version": "0.19.6-canary-20260123-01c77389",
3
+ "version": "0.19.6",
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.6-canary-20260123-01c77389",
29
- "@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.19.6-canary-20260123-01c77389",
30
- "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.19.6-canary-20260123-01c77389",
31
- "@lynx-js/web-worker-runtime": "npm:@lynx-js/web-worker-runtime-canary@0.19.6-canary-20260123-01c77389"
28
+ "@lynx-js/web-constants": "npm:@lynx-js/web-constants-canary@0.19.6",
29
+ "@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.19.6",
30
+ "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.19.6",
31
+ "@lynx-js/web-worker-runtime": "npm:@lynx-js/web-worker-runtime-canary@0.19.6"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@lynx-js/lynx-core": "0.1.3",