@lynx-js/web-core-server-canary 0.15.6-canary-20250812-aeea97c5 → 0.15.6-canary-20250813-32088c02
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.
- package/CHANGELOG.md +1 -1
- package/dist/index.js +7 -0
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -730,6 +730,7 @@ const mainThreadInjectVars = [
|
|
|
730
730
|
'__SetDataset',
|
|
731
731
|
'__SetID',
|
|
732
732
|
'__UpdateComponentID',
|
|
733
|
+
'__UpdateComponentInfo',
|
|
733
734
|
'__GetConfig',
|
|
734
735
|
'__UpdateListCallbacks',
|
|
735
736
|
'__AppendElement',
|
|
@@ -1333,6 +1334,11 @@ const __SetDataset = /*#__PURE__*/ (element, dataset)=>{
|
|
|
1333
1334
|
};
|
|
1334
1335
|
const __UpdateComponentID = /*#__PURE__*/ (element, componentID)=>element.setAttribute(componentIdAttribute, componentID);
|
|
1335
1336
|
const __GetClasses = /*#__PURE__*/ (element)=>(element.getAttribute('class') ?? '').split(' ').filter((e)=>e);
|
|
1337
|
+
const __UpdateComponentInfo = /*#__PURE__*/ (element, params)=>{
|
|
1338
|
+
void 0 !== params.componentID && __UpdateComponentID(element, params.componentID);
|
|
1339
|
+
void 0 !== params.cssID && element.setAttribute(cssIdAttribute, params.cssID + '');
|
|
1340
|
+
void 0 !== params.name && element.setAttribute('name', params.name);
|
|
1341
|
+
};
|
|
1336
1342
|
const __SetCSSId = /*#__PURE__*/ (elements, cssId)=>{
|
|
1337
1343
|
for (const element of elements)element.setAttribute(cssIdAttribute, cssId + '');
|
|
1338
1344
|
};
|
|
@@ -1823,6 +1829,7 @@ function createMainThreadGlobalThis(config) {
|
|
|
1823
1829
|
__SetDataset: __SetDataset,
|
|
1824
1830
|
__SetID: __SetID,
|
|
1825
1831
|
__UpdateComponentID: __UpdateComponentID,
|
|
1832
|
+
__UpdateComponentInfo: __UpdateComponentInfo,
|
|
1826
1833
|
__CreateElement,
|
|
1827
1834
|
__CreateView,
|
|
1828
1835
|
__CreateText,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynx-js/web-core-server-canary",
|
|
3
|
-
"version": "0.15.6-canary-
|
|
3
|
+
"version": "0.15.6-canary-20250813-32088c02",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [],
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"README.md"
|
|
24
24
|
],
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@lynx-js/web-constants": "npm:@lynx-js/web-constants-canary@0.15.6-canary-20250812-aeea97c5",
|
|
27
26
|
"@lynx-js/offscreen-document": "npm:@lynx-js/offscreen-document-canary@0.1.3",
|
|
28
|
-
"@lynx-js/web-
|
|
29
|
-
"@lynx-js/web-
|
|
30
|
-
"@lynx-js/web-
|
|
27
|
+
"@lynx-js/web-elements-template": "npm:@lynx-js/web-elements-template-canary@0.8.4",
|
|
28
|
+
"@lynx-js/web-constants": "npm:@lynx-js/web-constants-canary@0.15.6-canary-20250813-32088c02",
|
|
29
|
+
"@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.15.6-canary-20250813-32088c02",
|
|
30
|
+
"@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.15.6-canary-20250813-32088c02"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
33
|
"build": "rslib build",
|