@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.
@@ -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.1744606919.2f712bc",
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Stencil Mock Doc (CommonJS) v4.29.2-dev.1744606919.2f712bc | MIT Licensed | https://stenciljs.com
2
+ Stencil Mock Doc (CommonJS) v4.29.2-dev.1745356698.fd7be97 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  "use strict";
5
5
  var __defProp = Object.defineProperty;
package/mock-doc/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Stencil Mock Doc v4.29.2-dev.1744606919.2f712bc | MIT Licensed | https://stenciljs.com
2
+ Stencil Mock Doc v4.29.2-dev.1745356698.fd7be97 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
 
5
5
  // src/runtime/runtime-constants.ts
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/mock-doc",
3
- "version": "4.29.2-dev.1744606919.2f712bc",
3
+ "version": "4.29.2-dev.1745356698.fd7be97",
4
4
  "description": "Mock window, document and DOM outside of a browser environment.",
5
5
  "main": "./index.cjs",
6
6
  "module": "./index.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core",
3
- "version": "4.29.2-dev.1744606919.2f712bc",
3
+ "version": "4.29.2-dev.1745356698.fd7be97",
4
4
  "license": "MIT",
5
5
  "main": "./internal/stencil-core/index.cjs",
6
6
  "module": "./internal/stencil-core/index.js",
@@ -1,5 +1,5 @@
1
1
  /*
2
- Stencil Screenshot v4.29.2-dev.1744606919.2f712bc | MIT Licensed | https://stenciljs.com
2
+ Stencil Screenshot v4.29.2-dev.1745356698.fd7be97 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  "use strict";
5
5
  var __create = Object.create;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/screenshot",
3
- "version": "4.29.2-dev.1744606919.2f712bc",
3
+ "version": "4.29.2-dev.1745356698.fd7be97",
4
4
  "description": "Stencil Screenshot.",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
@@ -1,5 +1,5 @@
1
1
  /*
2
- Stencil Screenshot Pixel Match v4.29.2-dev.1744606919.2f712bc | MIT Licensed | https://stenciljs.com
2
+ Stencil Screenshot Pixel Match v4.29.2-dev.1745356698.fd7be97 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  "use strict";
5
5
  var __create = Object.create;