@stencil/core 4.42.0-dev.1770355537.e4eeb37 → 4.42.1-dev.1770615146.e130b7a

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 (40) 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 +176 -4
  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 +1 -1
  15. package/internal/client/package.json +1 -1
  16. package/internal/client/patch-browser.js +1 -1
  17. package/internal/hydrate/index.js +1 -1
  18. package/internal/hydrate/package.json +1 -1
  19. package/internal/hydrate/runner.js +1 -1
  20. package/internal/package.json +1 -1
  21. package/internal/stencil-public-compiler.d.ts +34 -0
  22. package/internal/testing/package.json +1 -1
  23. package/mock-doc/index.cjs +1 -1
  24. package/mock-doc/index.js +1 -1
  25. package/mock-doc/package.json +1 -1
  26. package/package.json +1 -1
  27. package/screenshot/index.js +1 -1
  28. package/screenshot/package.json +1 -1
  29. package/screenshot/pixel-match.js +1 -1
  30. package/sys/node/460.node-fetch.js +3 -3
  31. package/sys/node/autoprefixer.js +2 -2
  32. package/sys/node/glob.js +1 -1
  33. package/sys/node/graceful-fs.js +1 -1
  34. package/sys/node/index.js +1 -1
  35. package/sys/node/node-fetch.js +4 -4
  36. package/sys/node/package.json +1 -1
  37. package/sys/node/prompts.js +1 -1
  38. package/sys/node/worker.js +1 -1
  39. package/testing/index.js +12 -1
  40. package/testing/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/internal",
3
- "version": "4.42.0-dev.1770355537.e4eeb37",
3
+ "version": "4.42.1-dev.1770615146.e130b7a",
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",
@@ -2337,6 +2337,40 @@ export interface OutputTargetDistCustomElements extends OutputTargetValidationCo
2337
2337
  * If omitted, no auto-definition behavior or re-exporting will happen.
2338
2338
  */
2339
2339
  customElementsExportBehavior?: CustomElementsExportBehavior;
2340
+ /**
2341
+ * Generate an auto-loader script that uses MutationObserver to lazily load
2342
+ * and define custom elements as they appear in the DOM.
2343
+ *
2344
+ * When set to `true`, generates a `loader.js` file that auto-starts on import.
2345
+ * Can also be configured with an object for more control:
2346
+ * - `fileName`: Custom filename for the loader (default: 'loader.js')
2347
+ * - `autoStart`: Whether to auto-start the loader on import (default: true)
2348
+ *
2349
+ * @example
2350
+ * ```typescript
2351
+ * // Simple usage
2352
+ * autoLoader: true
2353
+ *
2354
+ * // With options
2355
+ * autoLoader: {
2356
+ * fileName: 'my-loader.js',
2357
+ * autoStart: false
2358
+ * }
2359
+ * ```
2360
+ */
2361
+ autoLoader?: boolean | {
2362
+ /**
2363
+ * Custom filename for the generated loader script.
2364
+ * @default 'loader.js'
2365
+ */
2366
+ fileName?: string;
2367
+ /**
2368
+ * Whether to automatically start the loader when the script is imported.
2369
+ * If false, you must call `start()` manually.
2370
+ * @default true
2371
+ */
2372
+ autoStart?: boolean;
2373
+ };
2340
2374
  }
2341
2375
  /**
2342
2376
  * The base type for output targets. All output targets should extend this base type.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/internal/testing",
3
- "version": "4.42.0-dev.1770355537.e4eeb37",
3
+ "version": "4.42.1-dev.1770615146.e130b7a",
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.42.0-dev.1770355537.e4eeb37 | MIT Licensed | https://stenciljs.com
2
+ Stencil Mock Doc (CommonJS) v4.42.1-dev.1770615146.e130b7a | 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.42.0-dev.1770355537.e4eeb37 | MIT Licensed | https://stenciljs.com
2
+ Stencil Mock Doc v4.42.1-dev.1770615146.e130b7a | 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;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/mock-doc",
3
- "version": "4.42.0-dev.1770355537.e4eeb37",
3
+ "version": "4.42.1-dev.1770615146.e130b7a",
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.42.0-dev.1770355537.e4eeb37",
3
+ "version": "4.42.1-dev.1770615146.e130b7a",
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.42.0-dev.1770355537.e4eeb37 | MIT Licensed | https://stenciljs.com
2
+ Stencil Screenshot v4.42.1-dev.1770615146.e130b7a | 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.42.0-dev.1770355537.e4eeb37",
3
+ "version": "4.42.1-dev.1770615146.e130b7a",
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.42.0-dev.1770355537.e4eeb37 | MIT Licensed | https://stenciljs.com
2
+ Stencil Screenshot Pixel Match v4.42.1-dev.1770615146.e130b7a | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  "use strict";
5
5
  var __create = Object.create;
@@ -3,8 +3,8 @@ exports.id = 460;
3
3
  exports.ids = [460];
4
4
  exports.modules = {
5
5
 
6
- /***/ 460:
7
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
6
+ /***/ 460
7
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
8
8
 
9
9
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
10
10
  /* harmony export */ toFormData: () => (/* binding */ toFormData)
@@ -445,7 +445,7 @@ async function toFormData(Body, ct) {
445
445
  }
446
446
 
447
447
 
448
- /***/ })
448
+ /***/ }
449
449
 
450
450
  };
451
451
  ;