@stencil/core 4.29.2-dev.1744606919.2f712bc → 4.29.2-dev.1745356698.fd7be97
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/cli/index.cjs +1 -1
- package/cli/index.js +1 -1
- package/cli/package.json +1 -1
- package/compiler/package.json +1 -1
- package/compiler/stencil.js +5 -5
- package/dev-server/client/index.js +1 -1
- package/dev-server/client/package.json +1 -1
- package/dev-server/connector.html +2 -2
- package/dev-server/index.js +1 -1
- package/dev-server/package.json +1 -1
- package/dev-server/server-process.js +2 -2
- package/internal/app-data/package.json +1 -1
- package/internal/client/index.js +18 -3
- package/internal/client/package.json +1 -1
- package/internal/client/patch-browser.js +1 -1
- package/internal/hydrate/index.js +3 -3
- package/internal/hydrate/package.json +1 -1
- package/internal/hydrate/runner.js +5 -5
- package/internal/package.json +1 -1
- package/internal/stencil-core/index.d.ts +1 -0
- package/internal/stencil-core/index.js +4 -3
- package/internal/stencil-public-runtime.d.ts +19 -0
- package/internal/testing/index.js +18 -2
- package/internal/testing/package.json +1 -1
- package/mock-doc/index.cjs +1 -1
- package/mock-doc/index.js +1 -1
- package/mock-doc/package.json +1 -1
- package/package.json +1 -1
- package/screenshot/index.js +1 -1
- package/screenshot/package.json +1 -1
- package/screenshot/pixel-match.js +1 -1
- package/sys/node/index.js +21 -21
- package/sys/node/package.json +1 -1
- package/sys/node/worker.js +1 -1
- package/testing/index.js +1 -1
- package/testing/package.json +1 -1
|
@@ -61,6 +61,7 @@ __export(index_exports, {
|
|
|
61
61
|
registerHost: () => registerHost,
|
|
62
62
|
registerInstance: () => registerInstance,
|
|
63
63
|
registerModule: () => registerModule,
|
|
64
|
+
render: () => render,
|
|
64
65
|
renderVdom: () => renderVdom,
|
|
65
66
|
resetPlatform: () => resetPlatform,
|
|
66
67
|
setAssetPath: () => setAssetPath,
|
|
@@ -2577,7 +2578,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
2577
2578
|
if (import_app_data12.BUILD.vdomAttribute) {
|
|
2578
2579
|
updateElement(null, newVNode2, isSvgMode);
|
|
2579
2580
|
}
|
|
2580
|
-
if (import_app_data12.BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
|
|
2581
|
+
if ((import_app_data12.BUILD.scoped || import_app_data12.BUILD.hydrateServerSide && 128 /* shadowNeedsScopedCss */) && isDef(scopeId) && elm["s-si"] !== scopeId) {
|
|
2581
2582
|
elm.classList.add(elm["s-si"] = scopeId);
|
|
2582
2583
|
}
|
|
2583
2584
|
if (newVNode2.$children$) {
|
|
@@ -2612,7 +2613,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
2612
2613
|
putBackInOriginalLocation(oldParentVNode.$elm$, false);
|
|
2613
2614
|
}
|
|
2614
2615
|
}
|
|
2615
|
-
if (import_app_data12.BUILD.scoped) {
|
|
2616
|
+
if (import_app_data12.BUILD.scoped || import_app_data12.BUILD.hydrateServerSide && 128 /* shadowNeedsScopedCss */) {
|
|
2616
2617
|
addRemoveSlotScopedClass(contentRef, elm, newParentVNode.$elm$, oldParentVNode == null ? void 0 : oldParentVNode.$elm$);
|
|
2617
2618
|
}
|
|
2618
2619
|
}
|
|
@@ -4193,6 +4194,20 @@ var setNonce = (nonce) => plt.$nonce$ = nonce;
|
|
|
4193
4194
|
// src/runtime/platform-options.ts
|
|
4194
4195
|
var setPlatformOptions = (opts) => Object.assign(plt, opts);
|
|
4195
4196
|
|
|
4197
|
+
// src/runtime/render.ts
|
|
4198
|
+
function render(vnode, container) {
|
|
4199
|
+
const cmpMeta = {
|
|
4200
|
+
$flags$: 0,
|
|
4201
|
+
$tagName$: container.tagName
|
|
4202
|
+
};
|
|
4203
|
+
const ref = {
|
|
4204
|
+
$flags$: 0,
|
|
4205
|
+
$cmpMeta$: cmpMeta,
|
|
4206
|
+
$hostElement$: container
|
|
4207
|
+
};
|
|
4208
|
+
renderVdom(ref, vnode);
|
|
4209
|
+
}
|
|
4210
|
+
|
|
4196
4211
|
// src/runtime/vdom/vdom-annotations.ts
|
|
4197
4212
|
var insertVdomAnnotations = (doc, staticComponents) => {
|
|
4198
4213
|
if (doc != null) {
|
|
@@ -4380,6 +4395,7 @@ var insertChildVNodeAnnotations = (doc, vnodeChild, cmpData, hostId, depth, inde
|
|
|
4380
4395
|
registerHost,
|
|
4381
4396
|
registerInstance,
|
|
4382
4397
|
registerModule,
|
|
4398
|
+
render,
|
|
4383
4399
|
renderVdom,
|
|
4384
4400
|
resetPlatform,
|
|
4385
4401
|
setAssetPath,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stencil/core/internal/testing",
|
|
3
|
-
"version": "4.29.2-dev.
|
|
3
|
+
"version": "4.29.2-dev.1745356698.fd7be97",
|
|
4
4
|
"description": "Stencil internal testing platform to be imported by the Stencil Compiler. Breaking changes can and will happen at any time.",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"private": true
|
package/mock-doc/index.cjs
CHANGED
package/mock-doc/index.js
CHANGED
package/mock-doc/package.json
CHANGED
package/package.json
CHANGED
package/screenshot/index.js
CHANGED
package/screenshot/package.json
CHANGED