@stencil/core 5.0.0-alpha.8 → 5.0.0-beta.0

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 (50) hide show
  1. package/README.md +94 -0
  2. package/dist/app-data/index.d.ts +2 -0
  3. package/dist/{runtime/app-data → app-data}/index.js +5 -2
  4. package/dist/client-BRu0GtRn.mjs +2368 -0
  5. package/dist/compiler/index.d.mts +167 -3
  6. package/dist/compiler/index.mjs +3 -3
  7. package/dist/compiler/utils/index.d.mts +272 -2
  8. package/dist/compiler/utils/index.mjs +4 -3
  9. package/dist/{compiler-B3pUYg_P.mjs → compiler-NrvbUOX1.mjs} +2904 -1269
  10. package/dist/declarations/stencil-ext-modules.d.ts +5 -5
  11. package/dist/declarations/stencil-public-compiler.d.ts +208 -62
  12. package/dist/declarations/stencil-public-docs.d.ts +9 -0
  13. package/dist/declarations/stencil-public-runtime.d.ts +91 -6
  14. package/dist/fragment-Di1hWOC8.mjs +4 -0
  15. package/dist/{regular-expression-CFVJOTUh.mjs → helpers-Cpp3qc3u.mjs} +31 -15
  16. package/dist/index-BOrz3rbJ.d.mts +100 -0
  17. package/dist/{index-BuveMLxy.d.ts → index-DnISpqrd.d.ts} +150 -10
  18. package/dist/{index-CVhWFUM0.d.mts → index-RrQfiPWK.d.mts} +490 -841
  19. package/dist/index.d.mts +4 -0
  20. package/dist/index.mjs +91 -2
  21. package/dist/jsx-runtime.mjs +2 -1
  22. package/dist/{node-10UamZmn.mjs → node-75gQKkFz.mjs} +60 -58
  23. package/dist/{chunk-z9aeyW2b.mjs → rolldown-runtime-BhDjJH2R.mjs} +1 -1
  24. package/dist/runtime/client/lazy.js +483 -347
  25. package/dist/runtime/client/runtime.d.ts +150 -39
  26. package/dist/runtime/client/runtime.js +483 -347
  27. package/dist/runtime/index.d.ts +6 -32
  28. package/dist/runtime/index.js +482 -345
  29. package/dist/runtime/server/index.d.mts +81 -9
  30. package/dist/runtime/server/index.mjs +419 -193
  31. package/dist/runtime/server/runner.d.mts +3 -0
  32. package/dist/runtime/server/runner.mjs +321 -338
  33. package/dist/signals/index.d.ts +2 -0
  34. package/dist/signals/index.js +5 -2
  35. package/dist/sys/node/index.d.mts +1 -2
  36. package/dist/sys/node/index.mjs +1 -1
  37. package/dist/sys/node/worker.d.mts +1 -1
  38. package/dist/sys/node/worker.mjs +6 -3
  39. package/dist/testing/index.d.mts +4716 -105
  40. package/dist/testing/index.mjs +7744 -791
  41. package/dist/util-IKfWWLJo.mjs +724 -0
  42. package/dist/validation-DAdGTrys.mjs +791 -0
  43. package/package.json +33 -33
  44. package/dist/client-Dd-NB5Ei.mjs +0 -4833
  45. package/dist/index-ch-cf-bZ.d.mts +0 -205
  46. package/dist/runtime/app-data/index.d.ts +0 -2
  47. package/dist/validation-ByxKj8bC.mjs +0 -1458
  48. /package/{LICENSE.md → LICENSE} +0 -0
  49. /package/dist/{runtime/app-globals → app-globals}/index.d.ts +0 -0
  50. /package/dist/{runtime/app-globals → app-globals}/index.js +0 -0
@@ -1,4 +1,6 @@
1
1
  import { ReadonlySignal, ReadonlySignal as ReadonlySignal$1, Signal, batch, computed, effect, signal, untracked } from "@preact/signals-core";
2
+ import "rolldown";
3
+ import "typescript";
2
4
  //#region src/runtime/signals.d.ts
3
5
  declare const STENCIL_SIGNALS_SYMBOL: unique symbol;
4
6
  //#endregion
@@ -16,7 +16,7 @@ import { batch, computed, effect, signal, untracked } from "@preact/signals-core
16
16
  * }
17
17
  * ```
18
18
  *
19
- * `virtual:app-data`, the module that `BUILD` is imported from, is an alias for the `@stencil/core/runtime/app-data`, and is
19
+ * `virtual:app-data`, the module that `BUILD` is imported from, is an alias for `@stencil/core/app-data`, and is
20
20
  * partially referenced by {@link STENCIL_APP_DATA_ID}. The `src/compiler/bundle/app-data-plugin.ts` references
21
21
  * `STENCIL_APP_DATA_ID` uses it to replace these defaults with {@link BuildConditionals} that are derived from a
22
22
  * Stencil project's contents (i.e. metadata from the components). This replacement happens at a Stencil project's
@@ -57,6 +57,7 @@ const BUILD = {
57
57
  vdomListener: true,
58
58
  vdomRef: true,
59
59
  vdomPropOrAttr: true,
60
+ vdomPropOrAttrPrefix: true,
60
61
  vdomRender: true,
61
62
  vdomStyle: true,
62
63
  vdomText: true,
@@ -74,7 +75,7 @@ const BUILD = {
74
75
  isDev: false,
75
76
  isTesting: false,
76
77
  hydrateServerSide: false,
77
- hydrateClientSide: false,
78
+ hydrateClientSide: true,
78
79
  lifecycleDOMEvents: false,
79
80
  lazyLoad: false,
80
81
  profile: false,
@@ -95,6 +96,8 @@ const BUILD = {
95
96
  devTools: false,
96
97
  shadowDelegatesFocus: true,
97
98
  shadowSlotAssignmentManual: false,
99
+ shadowClonable: true,
100
+ shadowSerializable: true,
98
101
  initializeNextTick: false,
99
102
  asyncLoading: true,
100
103
  asyncQueue: false
@@ -1,5 +1,4 @@
1
- import { ei as Logger, vr as CompilerSystem } from "../../index-CVhWFUM0.mjs";
2
-
1
+ import { J as CompilerSystem, jt as Logger } from "../../index-RrQfiPWK.mjs";
3
2
  //#region src/sys/node/logger/index.d.ts
4
3
  /**
5
4
  * Create a logger to run in a Node environment
@@ -1,2 +1,2 @@
1
- import { n as setupNodeProcess, r as createNodeLogger, t as createNodeSys } from "../../node-10UamZmn.mjs";
1
+ import { n as setupNodeProcess, r as createNodeLogger, t as createNodeSys } from "../../node-75gQKkFz.mjs";
2
2
  export { createNodeLogger, createNodeSys, setupNodeProcess };
@@ -1 +1 @@
1
- export { };
1
+ export {}
@@ -1,5 +1,5 @@
1
- import { l as createWorkerMessageHandler } from "../../compiler-B3pUYg_P.mjs";
2
- import { t as createNodeSys } from "../../node-10UamZmn.mjs";
1
+ import { l as createWorkerMessageHandler } from "../../compiler-NrvbUOX1.mjs";
2
+ import { t as createNodeSys } from "../../node-75gQKkFz.mjs";
3
3
  //#region src/sys/node/node-worker-thread.ts
4
4
  /**
5
5
  * Initialize a worker thread, setting up various machinery for managing
@@ -42,7 +42,10 @@ const initNodeWorkerThread = (process, msgHandler) => {
42
42
  errorHandler(-1, e);
43
43
  });
44
44
  };
45
- const msgHandler = createWorkerMessageHandler(createNodeSys({ process }));
45
+ //#endregion
46
+ //#region src/sys/node/worker.ts
47
+ const nodeSys = createNodeSys({ process });
48
+ const msgHandler = createWorkerMessageHandler(nodeSys);
46
49
  initNodeWorkerThread(process, msgHandler);
47
50
  //#endregion
48
51
  export {};