@stencil/core 4.36.0 → 4.36.1

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.
@@ -4006,22 +4006,22 @@ var proxyCustomElement = (Cstr, compactMeta) => {
4006
4006
  if (import_app_data20.BUILD.shadowDom && !supportsShadow && cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
4007
4007
  cmpMeta.$flags$ |= 8 /* needsShadowDomShim */;
4008
4008
  }
4009
- if (import_app_data20.BUILD.experimentalSlotFixes) {
4010
- if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
4009
+ if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && cmpMeta.$flags$ & 256 /* hasRenderFn */) {
4010
+ if (import_app_data20.BUILD.experimentalSlotFixes) {
4011
4011
  patchPseudoShadowDom(Cstr.prototype);
4012
- }
4013
- } else {
4014
- if (import_app_data20.BUILD.slotChildNodesFix) {
4015
- patchChildSlotNodes(Cstr.prototype);
4016
- }
4017
- if (import_app_data20.BUILD.cloneNodeFix) {
4018
- patchCloneNode(Cstr.prototype);
4019
- }
4020
- if (import_app_data20.BUILD.appendChildSlotFix) {
4021
- patchSlotAppendChild(Cstr.prototype);
4022
- }
4023
- if (import_app_data20.BUILD.scopedSlotTextContentFix && cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {
4024
- patchTextContent(Cstr.prototype);
4012
+ } else {
4013
+ if (import_app_data20.BUILD.slotChildNodesFix) {
4014
+ patchChildSlotNodes(Cstr.prototype);
4015
+ }
4016
+ if (import_app_data20.BUILD.cloneNodeFix) {
4017
+ patchCloneNode(Cstr.prototype);
4018
+ }
4019
+ if (import_app_data20.BUILD.appendChildSlotFix) {
4020
+ patchSlotAppendChild(Cstr.prototype);
4021
+ }
4022
+ if (import_app_data20.BUILD.scopedSlotTextContentFix && cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {
4023
+ patchTextContent(Cstr.prototype);
4024
+ }
4025
4025
  }
4026
4026
  }
4027
4027
  if (import_app_data20.BUILD.hydrateClientSide && import_app_data20.BUILD.shadowDom) {
@@ -4236,22 +4236,22 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
4236
4236
  return (_a3 = getHostRef(this)) == null ? void 0 : _a3.$onReadyPromise$;
4237
4237
  }
4238
4238
  };
4239
- if (import_app_data21.BUILD.experimentalSlotFixes) {
4240
- if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
4239
+ if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && cmpMeta.$flags$ & 256 /* hasRenderFn */) {
4240
+ if (import_app_data21.BUILD.experimentalSlotFixes) {
4241
4241
  patchPseudoShadowDom(HostElement.prototype);
4242
- }
4243
- } else {
4244
- if (import_app_data21.BUILD.slotChildNodesFix) {
4245
- patchChildSlotNodes(HostElement.prototype);
4246
- }
4247
- if (import_app_data21.BUILD.cloneNodeFix) {
4248
- patchCloneNode(HostElement.prototype);
4249
- }
4250
- if (import_app_data21.BUILD.appendChildSlotFix) {
4251
- patchSlotAppendChild(HostElement.prototype);
4252
- }
4253
- if (import_app_data21.BUILD.scopedSlotTextContentFix && cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {
4254
- patchTextContent(HostElement.prototype);
4242
+ } else {
4243
+ if (import_app_data21.BUILD.slotChildNodesFix) {
4244
+ patchChildSlotNodes(HostElement.prototype);
4245
+ }
4246
+ if (import_app_data21.BUILD.cloneNodeFix) {
4247
+ patchCloneNode(HostElement.prototype);
4248
+ }
4249
+ if (import_app_data21.BUILD.appendChildSlotFix) {
4250
+ patchSlotAppendChild(HostElement.prototype);
4251
+ }
4252
+ if (import_app_data21.BUILD.scopedSlotTextContentFix && cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {
4253
+ patchTextContent(HostElement.prototype);
4254
+ }
4255
4255
  }
4256
4256
  }
4257
4257
  if (import_app_data21.BUILD.formAssociated && cmpMeta.$flags$ & 64 /* formAssociated */) {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/internal/testing",
3
- "version": "4.36.0",
3
+ "version": "4.36.1",
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.36.0 | MIT Licensed | https://stenciljs.com
2
+ Stencil Mock Doc (CommonJS) v4.36.1 | 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.36.0 | MIT Licensed | https://stenciljs.com
2
+ Stencil Mock Doc v4.36.1 | 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.36.0",
3
+ "version": "4.36.1",
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.36.0",
3
+ "version": "4.36.1",
4
4
  "license": "MIT",
5
5
  "main": "./internal/stencil-core/index.cjs",
6
6
  "module": "./internal/stencil-core/index.js",
package/readme.md CHANGED
@@ -90,5 +90,5 @@ In many cases, Stencil can be used as a drop in replacement for traditional fron
90
90
  ### Contributing
91
91
 
92
92
  Thanks for your interest in contributing!
93
- Please take a moment to read up on our guidelines for [contributing](https://github.com/stenciljs/core/blob/main/CONTRIBUTING.md).
93
+ Please take a moment to read up on our guidelines for [contributing](https://github.com/stenciljs/core/blob/main/CONTRIBUTING.md). We've created comprehensive technical documentation for contributors that explains Stencil's internal architecture, including the compiler, runtime, build system, and other core components in the [/docs](/docs/) directory.
94
94
  Please note that this project is released with a [Contributor Code of Conduct](https://github.com/stenciljs/core/blob/main/CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.
@@ -1,5 +1,5 @@
1
1
  /*
2
- Stencil Screenshot v4.36.0 | MIT Licensed | https://stenciljs.com
2
+ Stencil Screenshot v4.36.1 | 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.36.0",
3
+ "version": "4.36.1",
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.36.0 | MIT Licensed | https://stenciljs.com
2
+ Stencil Screenshot Pixel Match v4.36.1 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  "use strict";
5
5
  var __create = Object.create;