@stencil/core 4.39.0 → 4.40.1-dev.1766552834.64f6089

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 (39) hide show
  1. package/cli/index.cjs +1616 -41
  2. package/cli/index.js +1616 -41
  3. package/cli/package.json +1 -1
  4. package/compiler/package.json +1 -1
  5. package/compiler/stencil.js +2791 -2515
  6. package/dev-server/client/index.js +1 -1
  7. package/dev-server/client/package.json +1 -1
  8. package/dev-server/connector.html +2 -2
  9. package/dev-server/index.js +1 -1
  10. package/dev-server/package.json +1 -1
  11. package/dev-server/server-process.js +1665 -90
  12. package/internal/app-data/index.cjs +1 -0
  13. package/internal/app-data/index.js +1 -0
  14. package/internal/app-data/package.json +1 -1
  15. package/internal/app-globals/package.json +1 -1
  16. package/internal/client/index.js +1746 -105
  17. package/internal/client/package.json +1 -1
  18. package/internal/client/patch-browser.js +1 -1
  19. package/internal/hydrate/index.js +1770 -133
  20. package/internal/hydrate/package.json +1 -1
  21. package/internal/hydrate/runner.js +1794 -104
  22. package/internal/package.json +1 -1
  23. package/internal/stencil-private.d.ts +25 -2
  24. package/internal/stencil-public-compiler.d.ts +33 -3
  25. package/internal/stencil-public-runtime.d.ts +14 -3
  26. package/internal/testing/index.js +1758 -133
  27. package/internal/testing/package.json +1 -1
  28. package/mock-doc/index.cjs +8 -1
  29. package/mock-doc/index.js +8 -1
  30. package/mock-doc/package.json +1 -1
  31. package/package.json +1 -1
  32. package/screenshot/index.js +1608 -30
  33. package/screenshot/package.json +1 -1
  34. package/screenshot/pixel-match.js +1 -1
  35. package/sys/node/index.js +28 -28
  36. package/sys/node/package.json +1 -1
  37. package/sys/node/worker.js +1 -1
  38. package/testing/index.js +1696 -109
  39. package/testing/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/internal/testing",
3
- "version": "4.39.0",
3
+ "version": "4.40.1-dev.1766552834.64f6089",
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.39.0 | MIT Licensed | https://stenciljs.com
2
+ Stencil Mock Doc (CommonJS) v4.40.1-dev.1766552834.64f6089 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  "use strict";
5
5
  var __defProp = Object.defineProperty;
@@ -6201,6 +6201,9 @@ function* streamToHtml(node, opts, output) {
6201
6201
  if (attrName === "style") {
6202
6202
  continue;
6203
6203
  }
6204
+ if (tag === "template" && isShadowRoot && (attrName === "shadowrootmode" || attrName === "shadowrootdelegatesfocus")) {
6205
+ continue;
6206
+ }
6204
6207
  let attrValue = attr.value;
6205
6208
  if (opts.removeEmptyAttributes && attrValue === "" && REMOVE_EMPTY_ATTR.has(attrName)) {
6206
6209
  continue;
@@ -6236,6 +6239,9 @@ function* streamToHtml(node, opts, output) {
6236
6239
  attrValue = attr.value = attrValue.split(" ").filter((t) => t !== "").sort().join(" ").trim();
6237
6240
  }
6238
6241
  if (attrValue === "") {
6242
+ if (attrName === "shadowrootdelegatesfocus") {
6243
+ continue;
6244
+ }
6239
6245
  if (opts.removeBooleanAttributeQuotes && BOOLEAN_ATTR.has(attrName)) {
6240
6246
  continue;
6241
6247
  }
@@ -6540,6 +6546,7 @@ var BOOLEAN_ATTR = /* @__PURE__ */ new Set([
6540
6546
  "scoped",
6541
6547
  "seamless",
6542
6548
  "selected",
6549
+ "shadowrootdelegatesfocus",
6543
6550
  "sortable",
6544
6551
  "truespeed",
6545
6552
  "typemustmatch",
package/mock-doc/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Stencil Mock Doc v4.39.0 | MIT Licensed | https://stenciljs.com
2
+ Stencil Mock Doc v4.40.1-dev.1766552834.64f6089 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
 
5
5
  // src/runtime/runtime-constants.ts
@@ -6148,6 +6148,9 @@ function* streamToHtml(node, opts, output) {
6148
6148
  if (attrName === "style") {
6149
6149
  continue;
6150
6150
  }
6151
+ if (tag === "template" && isShadowRoot && (attrName === "shadowrootmode" || attrName === "shadowrootdelegatesfocus")) {
6152
+ continue;
6153
+ }
6151
6154
  let attrValue = attr.value;
6152
6155
  if (opts.removeEmptyAttributes && attrValue === "" && REMOVE_EMPTY_ATTR.has(attrName)) {
6153
6156
  continue;
@@ -6183,6 +6186,9 @@ function* streamToHtml(node, opts, output) {
6183
6186
  attrValue = attr.value = attrValue.split(" ").filter((t) => t !== "").sort().join(" ").trim();
6184
6187
  }
6185
6188
  if (attrValue === "") {
6189
+ if (attrName === "shadowrootdelegatesfocus") {
6190
+ continue;
6191
+ }
6186
6192
  if (opts.removeBooleanAttributeQuotes && BOOLEAN_ATTR.has(attrName)) {
6187
6193
  continue;
6188
6194
  }
@@ -6487,6 +6493,7 @@ var BOOLEAN_ATTR = /* @__PURE__ */ new Set([
6487
6493
  "scoped",
6488
6494
  "seamless",
6489
6495
  "selected",
6496
+ "shadowrootdelegatesfocus",
6490
6497
  "sortable",
6491
6498
  "truespeed",
6492
6499
  "typemustmatch",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/mock-doc",
3
- "version": "4.39.0",
3
+ "version": "4.40.1-dev.1766552834.64f6089",
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.39.0",
3
+ "version": "4.40.1-dev.1766552834.64f6089",
4
4
  "license": "MIT",
5
5
  "main": "./internal/stencil-core/index.cjs",
6
6
  "module": "./internal/stencil-core/index.js",