@stencil/core 4.45.2-dev.1794287161.bb880de → 4.45.2-dev.1794432084.9be802b

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/mock-doc/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Stencil Mock Doc v4.45.2-dev.1794287161.bb880de | MIT Licensed | https://stenciljs.com
2
+ Stencil Mock Doc v4.45.2-dev.1794432084.9be802b | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  var __defProp = Object.defineProperty;
5
5
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
@@ -6787,22 +6787,26 @@ var MockNodeList = class {
6787
6787
  this.length = length;
6788
6788
  }
6789
6789
  };
6790
+ var MockElementInternals = class {
6791
+ states = /* @__PURE__ */ new Set();
6792
+ setFormValue() {
6793
+ }
6794
+ setValidity() {
6795
+ }
6796
+ checkValidity() {
6797
+ return true;
6798
+ }
6799
+ reportValidity() {
6800
+ return true;
6801
+ }
6802
+ };
6790
6803
  var MockElement = class extends MockNode2 {
6791
6804
  __namespaceURI;
6792
6805
  __attributeMap;
6793
6806
  __shadowRoot;
6794
6807
  __style;
6795
6808
  attachInternals() {
6796
- return new Proxy({}, {
6797
- get: function(_target, prop, _receiver) {
6798
- if ("process" in globalThis && globalThis.process.env.__STENCIL_SPEC_TESTS__) {
6799
- console.error(
6800
- `NOTE: Property ${String(prop)} was accessed on ElementInternals, but this property is not implemented.
6801
- Testing components with ElementInternals is fully supported in e2e tests.`
6802
- );
6803
- }
6804
- }
6805
- });
6809
+ return new MockElementInternals();
6806
6810
  }
6807
6811
  constructor(ownerDocument, nodeName, namespaceURI = null) {
6808
6812
  super(ownerDocument, 1 /* ELEMENT_NODE */, typeof nodeName === "string" ? nodeName : null, null);
@@ -7076,7 +7080,9 @@ var MockElement = class extends MockNode2 {
7076
7080
  return this.hasAttributeNS(null, "hidden");
7077
7081
  }
7078
7082
  set hidden(isHidden) {
7079
- if (isHidden === true) {
7083
+ if (isHidden === "until-found") {
7084
+ this.setAttributeNS(null, "hidden", "until-found");
7085
+ } else if (isHidden === true) {
7080
7086
  this.setAttributeNS(null, "hidden", "");
7081
7087
  } else {
7082
7088
  this.removeAttributeNS(null, "hidden");
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/mock-doc",
3
- "version": "4.45.2-dev.1794287161.bb880de",
3
+ "version": "4.45.2-dev.1794432084.9be802b",
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.45.2-dev.1794287161.bb880de",
3
+ "version": "4.45.2-dev.1794432084.9be802b",
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.45.2-dev.1794287161.bb880de | MIT Licensed | https://stenciljs.com
2
+ Stencil Screenshot v4.45.2-dev.1794432084.9be802b | 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.45.2-dev.1794287161.bb880de",
3
+ "version": "4.45.2-dev.1794432084.9be802b",
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.45.2-dev.1794287161.bb880de | MIT Licensed | https://stenciljs.com
2
+ Stencil Screenshot Pixel Match v4.45.2-dev.1794432084.9be802b | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  "use strict";
5
5
  var __create = Object.create;