@lynx-js/web-core-canary 0.15.7-canary-20250825-e4d116b6 → 0.15.7

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,16 +1,16 @@
1
1
  # @lynx-js/web-core
2
2
 
3
- ## 0.15.7-canary-20250825092028-e4d116b6e5eaf49ced08c505c99f7e878a58dfb1
3
+ ## 0.15.7
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - fix: fake uidisappear event ([#1539](https://github.com/lynx-family/lynx-stack/pull/1539))
8
8
 
9
9
  - Updated dependencies [[`70863fb`](https://github.com/lynx-family/lynx-stack/commit/70863fbc311d8885ebda40855668097b0631f521)]:
10
- - @lynx-js/web-mainthread-apis@0.15.7-canary-20250825092028-e4d116b6e5eaf49ced08c505c99f7e878a58dfb1
11
- - @lynx-js/web-constants@0.15.7-canary-20250825092028-e4d116b6e5eaf49ced08c505c99f7e878a58dfb1
12
- - @lynx-js/web-worker-runtime@0.15.7-canary-20250825092028-e4d116b6e5eaf49ced08c505c99f7e878a58dfb1
13
- - @lynx-js/web-worker-rpc@0.15.7-canary-20250825092028-e4d116b6e5eaf49ced08c505c99f7e878a58dfb1
10
+ - @lynx-js/web-mainthread-apis@0.15.7
11
+ - @lynx-js/web-constants@0.15.7
12
+ - @lynx-js/web-worker-runtime@0.15.7
13
+ - @lynx-js/web-worker-rpc@0.15.7
14
14
 
15
15
  ## 0.15.6
16
16
 
@@ -216,25 +216,25 @@
216
216
  lynxView.initI18nResources = [
217
217
  {
218
218
  options: {
219
- locale: "en",
220
- channel: "1",
221
- fallback_url: "",
219
+ locale: 'en',
220
+ channel: '1',
221
+ fallback_url: '',
222
222
  },
223
223
  resource: {
224
- hello: "hello",
225
- lynx: "lynx web platform1",
224
+ hello: 'hello',
225
+ lynx: 'lynx web platform1',
226
226
  },
227
227
  },
228
228
  ];
229
- lynxView.addEventListener("i18nResourceMissed", (e) => {
229
+ lynxView.addEventListener('i18nResourceMissed', (e) => {
230
230
  console.log(e);
231
231
  });
232
232
 
233
233
  // mts
234
234
  _I18nResourceTranslation({
235
- locale: "en",
236
- channel: "1",
237
- fallback_url: "",
235
+ locale: 'en',
236
+ channel: '1',
237
+ fallback_url: '',
238
238
  });
239
239
  ```
240
240
 
@@ -642,8 +642,8 @@
642
642
  }
643
643
  };`,
644
644
  ],
645
- { type: "text/javascript" }
646
- )
645
+ { type: 'text/javascript' },
646
+ ),
647
647
  ),
648
648
  };
649
649
  lynxView.nativeModulesMap = nativeModulesMap;
@@ -758,8 +758,8 @@
758
758
  };
759
759
  };`,
760
760
  ],
761
- { type: "text/javascript" }
762
- )
761
+ { type: 'text/javascript' },
762
+ ),
763
763
  );
764
764
 
765
765
  const color_methods = URL.createObjectURL(
@@ -774,8 +774,8 @@
774
774
  };
775
775
  };`,
776
776
  ],
777
- { type: "text/javascript" }
778
- )
777
+ { type: 'text/javascript' },
778
+ ),
779
779
  );
780
780
 
781
781
  lynxView.napiModuleMap = {
@@ -792,7 +792,7 @@
792
792
 
793
793
  ```js
794
794
  lynxView.onNapiModulesCall = (name, data, moduleName) => {
795
- if (name === "getColor" && moduleName === "color_methods") {
795
+ if (name === 'getColor' && moduleName === 'color_methods') {
796
796
  return data.color;
797
797
  }
798
798
  };
@@ -871,8 +871,8 @@
871
871
  }
872
872
  };`,
873
873
  ],
874
- { type: "text/javascript" }
875
- )
874
+ { type: 'text/javascript' },
875
+ ),
876
876
  );
877
877
  ```
878
878
 
@@ -884,7 +884,7 @@
884
884
 
885
885
  ```js
886
886
  lynxView.onNativeModulesCall = (name, data, callback) => {
887
- if (name === "getColor") {
887
+ if (name === 'getColor') {
888
888
  callback(data.color);
889
889
  }
890
890
  };
@@ -894,7 +894,7 @@
894
894
 
895
895
  ```js
896
896
  lynxView.onNativeModulesCall = (name, data, moduleName) => {
897
- if (name === "getColor" && moduleName === "bridge") {
897
+ if (name === 'getColor' && moduleName === 'bridge') {
898
898
  return data.color;
899
899
  }
900
900
  };
@@ -1252,7 +1252,7 @@
1252
1252
  This flag changes the behaviour of cascading. It provide a way to do this
1253
1253
 
1254
1254
  ```jsx
1255
- <view class="class-a class-b" />
1255
+ <view class='class-a class-b' />;
1256
1256
  ```
1257
1257
 
1258
1258
  The class-b will override (cascading) styles of class-a.
@@ -1352,11 +1352,11 @@
1352
1352
  There is also a simple way to use this feature
1353
1353
 
1354
1354
  ```javascript
1355
- import { LynxCard } from "@lynx-js/web-core";
1356
- import { loadElement } from "@lynx-js/web-elements/lazy";
1357
- import "@lynx-js/web-elements/index.css";
1358
- import "@lynx-js/web-core/index.css";
1359
- import "./index.css";
1355
+ import { LynxCard } from '@lynx-js/web-core';
1356
+ import { loadElement } from '@lynx-js/web-elements/lazy';
1357
+ import '@lynx-js/web-elements/index.css';
1358
+ import '@lynx-js/web-core/index.css';
1359
+ import './index.css';
1360
1360
 
1361
1361
  const lynxcard = new LynxCard({
1362
1362
  ...beforeConfigs,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/web-core-canary",
3
- "version": "0.15.7-canary-20250825-e4d116b6",
3
+ "version": "0.15.7",
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.3",
28
- "@lynx-js/web-constants": "npm:@lynx-js/web-constants-canary@0.15.7-canary-20250825-e4d116b6",
29
- "@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.15.7-canary-20250825-e4d116b6",
30
- "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.15.7-canary-20250825-e4d116b6",
31
- "@lynx-js/web-worker-runtime": "npm:@lynx-js/web-worker-runtime-canary@0.15.7-canary-20250825-e4d116b6"
28
+ "@lynx-js/web-constants": "npm:@lynx-js/web-constants-canary@0.15.7",
29
+ "@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.15.7",
30
+ "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.15.7",
31
+ "@lynx-js/web-worker-runtime": "npm:@lynx-js/web-worker-runtime-canary@0.15.7"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@lynx-js/lynx-core": "0.1.3",