@lynx-js/web-core-canary 0.18.5-canary-20251204-c475c1e3 → 0.19.0

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 +36 -33
  2. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -1,15 +1,18 @@
1
1
  # @lynx-js/web-core
2
2
 
3
- ## 0.18.5-canary-20251204073453-c475c1e3b6eed071a2fc3cdc51744b2bbace2a80
3
+ ## 0.19.0
4
+
5
+ ### Minor Changes
6
+
7
+ - feat: new flex:val impl ([#1979](https://github.com/lynx-family/lynx-stack/pull/1979))
4
8
 
5
9
  ### Patch Changes
6
10
 
7
- - Updated dependencies [[`55cb796`](https://github.com/lynx-family/lynx-stack/commit/55cb79610b397ede867ad89496c432f8046a6e64), [`40c3a1a`](https://github.com/lynx-family/lynx-stack/commit/40c3a1a0436701e46b505301c4ba66a8f68de7c0), [`46bd5ee`](https://github.com/lynx-family/lynx-stack/commit/46bd5eea324d0c8348f44b3d0b437e745411ab5c)]:
8
- - @lynx-js/web-elements@0.8.12-canary-20251204073453-c475c1e3b6eed071a2fc3cdc51744b2bbace2a80
9
- - @lynx-js/web-mainthread-apis@0.18.5-canary-20251204073453-c475c1e3b6eed071a2fc3cdc51744b2bbace2a80
10
- - @lynx-js/web-worker-runtime@0.18.5-canary-20251204073453-c475c1e3b6eed071a2fc3cdc51744b2bbace2a80
11
- - @lynx-js/web-constants@0.18.5-canary-20251204073453-c475c1e3b6eed071a2fc3cdc51744b2bbace2a80
12
- - @lynx-js/web-worker-rpc@0.18.5-canary-20251204073453-c475c1e3b6eed071a2fc3cdc51744b2bbace2a80
11
+ - Updated dependencies [[`40c3a1a`](https://github.com/lynx-family/lynx-stack/commit/40c3a1a0436701e46b505301c4ba66a8f68de7c0), [`46bd5ee`](https://github.com/lynx-family/lynx-stack/commit/46bd5eea324d0c8348f44b3d0b437e745411ab5c)]:
12
+ - @lynx-js/web-mainthread-apis@0.19.0
13
+ - @lynx-js/web-worker-runtime@0.19.0
14
+ - @lynx-js/web-constants@0.19.0
15
+ - @lynx-js/web-worker-rpc@0.19.0
13
16
 
14
17
  ## 0.18.4
15
18
 
@@ -413,25 +416,25 @@
413
416
  lynxView.initI18nResources = [
414
417
  {
415
418
  options: {
416
- locale: "en",
417
- channel: "1",
418
- fallback_url: "",
419
+ locale: 'en',
420
+ channel: '1',
421
+ fallback_url: '',
419
422
  },
420
423
  resource: {
421
- hello: "hello",
422
- lynx: "lynx web platform1",
424
+ hello: 'hello',
425
+ lynx: 'lynx web platform1',
423
426
  },
424
427
  },
425
428
  ];
426
- lynxView.addEventListener("i18nResourceMissed", (e) => {
429
+ lynxView.addEventListener('i18nResourceMissed', (e) => {
427
430
  console.log(e);
428
431
  });
429
432
 
430
433
  // mts
431
434
  _I18nResourceTranslation({
432
- locale: "en",
433
- channel: "1",
434
- fallback_url: "",
435
+ locale: 'en',
436
+ channel: '1',
437
+ fallback_url: '',
435
438
  });
436
439
  ```
437
440
 
@@ -839,8 +842,8 @@
839
842
  }
840
843
  };`,
841
844
  ],
842
- { type: "text/javascript" }
843
- )
845
+ { type: 'text/javascript' },
846
+ ),
844
847
  ),
845
848
  };
846
849
  lynxView.nativeModulesMap = nativeModulesMap;
@@ -955,8 +958,8 @@
955
958
  };
956
959
  };`,
957
960
  ],
958
- { type: "text/javascript" }
959
- )
961
+ { type: 'text/javascript' },
962
+ ),
960
963
  );
961
964
 
962
965
  const color_methods = URL.createObjectURL(
@@ -971,8 +974,8 @@
971
974
  };
972
975
  };`,
973
976
  ],
974
- { type: "text/javascript" }
975
- )
977
+ { type: 'text/javascript' },
978
+ ),
976
979
  );
977
980
 
978
981
  lynxView.napiModuleMap = {
@@ -989,7 +992,7 @@
989
992
 
990
993
  ```js
991
994
  lynxView.onNapiModulesCall = (name, data, moduleName) => {
992
- if (name === "getColor" && moduleName === "color_methods") {
995
+ if (name === 'getColor' && moduleName === 'color_methods') {
993
996
  return data.color;
994
997
  }
995
998
  };
@@ -1068,8 +1071,8 @@
1068
1071
  }
1069
1072
  };`,
1070
1073
  ],
1071
- { type: "text/javascript" }
1072
- )
1074
+ { type: 'text/javascript' },
1075
+ ),
1073
1076
  );
1074
1077
  ```
1075
1078
 
@@ -1081,7 +1084,7 @@
1081
1084
 
1082
1085
  ```js
1083
1086
  lynxView.onNativeModulesCall = (name, data, callback) => {
1084
- if (name === "getColor") {
1087
+ if (name === 'getColor') {
1085
1088
  callback(data.color);
1086
1089
  }
1087
1090
  };
@@ -1091,7 +1094,7 @@
1091
1094
 
1092
1095
  ```js
1093
1096
  lynxView.onNativeModulesCall = (name, data, moduleName) => {
1094
- if (name === "getColor" && moduleName === "bridge") {
1097
+ if (name === 'getColor' && moduleName === 'bridge') {
1095
1098
  return data.color;
1096
1099
  }
1097
1100
  };
@@ -1449,7 +1452,7 @@
1449
1452
  This flag changes the behaviour of cascading. It provide a way to do this
1450
1453
 
1451
1454
  ```jsx
1452
- <view class="class-a class-b" />
1455
+ <view class='class-a class-b' />;
1453
1456
  ```
1454
1457
 
1455
1458
  The class-b will override (cascading) styles of class-a.
@@ -1549,11 +1552,11 @@
1549
1552
  There is also a simple way to use this feature
1550
1553
 
1551
1554
  ```javascript
1552
- import { LynxCard } from "@lynx-js/web-core";
1553
- import { loadElement } from "@lynx-js/web-elements/lazy";
1554
- import "@lynx-js/web-elements/index.css";
1555
- import "@lynx-js/web-core/index.css";
1556
- import "./index.css";
1555
+ import { LynxCard } from '@lynx-js/web-core';
1556
+ import { loadElement } from '@lynx-js/web-elements/lazy';
1557
+ import '@lynx-js/web-elements/index.css';
1558
+ import '@lynx-js/web-core/index.css';
1559
+ import './index.css';
1557
1560
 
1558
1561
  const lynxcard = new LynxCard({
1559
1562
  ...beforeConfigs,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/web-core-canary",
3
- "version": "0.18.5-canary-20251204-c475c1e3",
3
+ "version": "0.19.0",
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.5-canary-20251204-c475c1e3",
29
- "@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.18.5-canary-20251204-c475c1e3",
30
- "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.18.5-canary-20251204-c475c1e3",
31
- "@lynx-js/web-worker-runtime": "npm:@lynx-js/web-worker-runtime-canary@0.18.5-canary-20251204-c475c1e3"
28
+ "@lynx-js/web-constants": "npm:@lynx-js/web-constants-canary@0.19.0",
29
+ "@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.19.0",
30
+ "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.19.0",
31
+ "@lynx-js/web-worker-runtime": "npm:@lynx-js/web-worker-runtime-canary@0.19.0"
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.12-canary-20251204-c475c1e3"
35
+ "@lynx-js/web-elements": "npm:@lynx-js/web-elements-canary@0.9.0"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "@lynx-js/lynx-core": "0.1.3",