@stencil/core 4.35.1-dev.1751432601.f018c73 → 4.35.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.
Files changed (38) hide show
  1. package/cli/index.cjs +1 -1
  2. package/cli/index.js +1 -1
  3. package/cli/package.json +1 -1
  4. package/compiler/package.json +1 -1
  5. package/compiler/stencil.js +7 -7
  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 +2 -2
  12. package/internal/app-data/package.json +1 -1
  13. package/internal/app-globals/package.json +1 -1
  14. package/internal/client/index.js +180 -216
  15. package/internal/client/package.json +1 -1
  16. package/internal/client/patch-browser.js +1 -1
  17. package/internal/hydrate/index.js +180 -216
  18. package/internal/hydrate/package.json +1 -1
  19. package/internal/hydrate/runner.js +13 -43
  20. package/internal/package.json +1 -1
  21. package/internal/stencil-public-compiler.d.ts +0 -1
  22. package/internal/stencil-public-runtime.d.ts +5 -5
  23. package/internal/testing/index.js +179 -213
  24. package/internal/testing/package.json +1 -1
  25. package/mock-doc/index.cjs +5 -35
  26. package/mock-doc/index.d.ts +0 -16
  27. package/mock-doc/index.js +5 -35
  28. package/mock-doc/package.json +1 -1
  29. package/package.json +1 -1
  30. package/screenshot/index.js +1 -1
  31. package/screenshot/package.json +1 -1
  32. package/screenshot/pixel-match.js +1 -1
  33. package/sys/node/index.js +26 -26
  34. package/sys/node/package.json +1 -1
  35. package/sys/node/worker.js +1 -1
  36. package/testing/index.js +5 -5
  37. package/testing/package.json +1 -1
  38. package/testing/puppeteer/puppeteer-browser.d.ts +5 -5
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/internal/hydrate",
3
- "version": "4.35.1-dev.1751432601.f018c73",
3
+ "version": "4.35.1",
4
4
  "description": "Stencil internal hydrate 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 Hydrate Runner v4.35.1-dev.1751432601.f018c73 | MIT Licensed | https://stenciljs.com
2
+ Stencil Hydrate Runner v4.35.1 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  var __defProp = Object.defineProperty;
5
5
  var __export = (target, all) => {
@@ -10950,18 +10950,10 @@ var MockElement = class extends MockNode2 {
10950
10950
  return shadowRoot;
10951
10951
  }
10952
10952
  blur() {
10953
- if (isCurrentlyDispatching(this, "blur")) {
10954
- return;
10955
- }
10956
- markAsDispatching(this, "blur");
10957
- try {
10958
- dispatchEvent(
10959
- this,
10960
- new MockFocusEvent("blur", { relatedTarget: null, bubbles: true, cancelable: true, composed: true })
10961
- );
10962
- } finally {
10963
- unmarkAsDispatching(this, "blur");
10964
- }
10953
+ dispatchEvent(
10954
+ this,
10955
+ new MockFocusEvent("blur", { relatedTarget: null, bubbles: true, cancelable: true, composed: true })
10956
+ );
10965
10957
  }
10966
10958
  get localName() {
10967
10959
  if (!this.nodeName) {
@@ -11703,28 +11695,6 @@ function setTextContent(elm, text) {
11703
11695
  const textNode = new MockTextNode(elm.ownerDocument, text);
11704
11696
  elm.appendChild(textNode);
11705
11697
  }
11706
- var currentlyDispatching = /* @__PURE__ */ new WeakMap();
11707
- function isCurrentlyDispatching(target, eventType) {
11708
- const dispatchingEvents = currentlyDispatching.get(target);
11709
- return dispatchingEvents != null && dispatchingEvents.has(eventType);
11710
- }
11711
- function markAsDispatching(target, eventType) {
11712
- let dispatchingEvents = currentlyDispatching.get(target);
11713
- if (dispatchingEvents == null) {
11714
- dispatchingEvents = /* @__PURE__ */ new Set();
11715
- currentlyDispatching.set(target, dispatchingEvents);
11716
- }
11717
- dispatchingEvents.add(eventType);
11718
- }
11719
- function unmarkAsDispatching(target, eventType) {
11720
- const dispatchingEvents = currentlyDispatching.get(target);
11721
- if (dispatchingEvents != null) {
11722
- dispatchingEvents.delete(eventType);
11723
- if (dispatchingEvents.size === 0) {
11724
- currentlyDispatching.delete(target);
11725
- }
11726
- }
11727
- }
11728
11698
 
11729
11699
  // src/mock-doc/comment-node.ts
11730
11700
  var MockComment = class _MockComment extends MockNode2 {
@@ -14673,7 +14643,7 @@ var isJsFile = lowerPathParam((p) => p.endsWith(".js") || p.endsWith(".mjs") ||
14673
14643
  import { BUILD as BUILD25 } from "@stencil/core/internal/app-data";
14674
14644
 
14675
14645
  // src/runtime/client-hydrate.ts
14676
- import { BUILD as BUILD14 } from "@stencil/core/internal/app-data";
14646
+ import { BUILD as BUILD13 } from "@stencil/core/internal/app-data";
14677
14647
 
14678
14648
  // src/runtime/dom-extras.ts
14679
14649
  import { BUILD as BUILD10 } from "@stencil/core/internal/app-data";
@@ -14684,11 +14654,8 @@ import { BUILD as BUILD9 } from "@stencil/core/internal/app-data";
14684
14654
  // src/runtime/profile.ts
14685
14655
  import { BUILD as BUILD11 } from "@stencil/core/internal/app-data";
14686
14656
 
14687
- // src/runtime/styles.ts
14688
- import { BUILD as BUILD12 } from "@stencil/core/internal/app-data";
14689
-
14690
14657
  // src/runtime/vdom/h.ts
14691
- import { BUILD as BUILD13 } from "@stencil/core/internal/app-data";
14658
+ import { BUILD as BUILD12 } from "@stencil/core/internal/app-data";
14692
14659
 
14693
14660
  // src/runtime/initialize-component.ts
14694
14661
  import { BUILD as BUILD24 } from "@stencil/core/internal/app-data";
@@ -14736,16 +14703,19 @@ import { BUILD as BUILD23 } from "@stencil/core/internal/app-data";
14736
14703
  import { BUILD as BUILD22 } from "@stencil/core/internal/app-data";
14737
14704
 
14738
14705
  // src/runtime/parse-property-value.ts
14739
- import { BUILD as BUILD15 } from "@stencil/core/internal/app-data";
14706
+ import { BUILD as BUILD14 } from "@stencil/core/internal/app-data";
14740
14707
 
14741
14708
  // src/runtime/update-component.ts
14742
14709
  import { BUILD as BUILD21, NAMESPACE } from "@stencil/core/internal/app-data";
14743
14710
 
14744
14711
  // src/runtime/event-emitter.ts
14745
- import { BUILD as BUILD17 } from "@stencil/core/internal/app-data";
14712
+ import { BUILD as BUILD16 } from "@stencil/core/internal/app-data";
14746
14713
 
14747
14714
  // src/runtime/element.ts
14748
- import { BUILD as BUILD16 } from "@stencil/core/internal/app-data";
14715
+ import { BUILD as BUILD15 } from "@stencil/core/internal/app-data";
14716
+
14717
+ // src/runtime/styles.ts
14718
+ import { BUILD as BUILD17 } from "@stencil/core/internal/app-data";
14749
14719
 
14750
14720
  // src/runtime/vdom/vdom-render.ts
14751
14721
  import { BUILD as BUILD20 } from "@stencil/core/internal/app-data";
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/internal",
3
- "version": "4.35.1-dev.1751432601.f018c73",
3
+ "version": "4.35.1",
4
4
  "description": "Stencil internals only to be imported by the Stencil Compiler. Breaking changes can and will happen at any time.",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
@@ -1869,7 +1869,6 @@ export interface TestingConfig extends JestConfig {
1869
1869
  browserArgs?: string[];
1870
1870
  /**
1871
1871
  * Path to a Chromium or Chrome executable to run instead of the bundled Chromium.
1872
- * @default env.PUPPETEER_EXECUTABLE_PATH || env.CHROME_PATH || puppeteer.computeExecutablePath()
1873
1872
  */
1874
1873
  browserExecutablePath?: string;
1875
1874
  /**
@@ -846,7 +846,7 @@ export declare namespace JSXBase {
846
846
  interface DetailsHTMLAttributes<T> extends HTMLAttributes<T> {
847
847
  open?: boolean;
848
848
  name?: string;
849
- onToggle?: (event: ToggleEvent) => void;
849
+ onToggle?: (event: Event) => void;
850
850
  }
851
851
  interface DelHTMLAttributes<T> extends HTMLAttributes<T> {
852
852
  cite?: string;
@@ -1568,10 +1568,6 @@ export declare namespace JSXBase {
1568
1568
  onCompositionstartCapture?: (event: CompositionEvent) => void;
1569
1569
  onCompositionupdate?: (event: CompositionEvent) => void;
1570
1570
  onCompositionupdateCapture?: (event: CompositionEvent) => void;
1571
- onBeforeToggle?: (event: ToggleEvent) => void;
1572
- onBeforeToggleCapture?: (event: ToggleEvent) => void;
1573
- onToggle?: (event: ToggleEvent) => void;
1574
- onToggleCapture?: (event: ToggleEvent) => void;
1575
1571
  onFocus?: (event: FocusEvent) => void;
1576
1572
  onFocusCapture?: (event: FocusEvent) => void;
1577
1573
  onFocusin?: (event: FocusEvent) => void;
@@ -1590,6 +1586,10 @@ export declare namespace JSXBase {
1590
1586
  onSubmitCapture?: (event: Event) => void;
1591
1587
  onInvalid?: (event: Event) => void;
1592
1588
  onInvalidCapture?: (event: Event) => void;
1589
+ onBeforeToggle?: (event: Event) => void;
1590
+ onBeforeToggleCapture?: (event: Event) => void;
1591
+ onToggle?: (event: Event) => void;
1592
+ onToggleCapture?: (event: Event) => void;
1593
1593
  onLoad?: (event: Event) => void;
1594
1594
  onLoadCapture?: (event: Event) => void;
1595
1595
  onError?: (event: Event) => void;