@stencil/core 5.0.0-alpha.5 → 5.0.0-alpha.6

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 (43) hide show
  1. package/dist/{client-Dnio47yQ.mjs → client-fWOou5EW.mjs} +2324 -2125
  2. package/dist/compiler/index.d.mts +5 -5
  3. package/dist/compiler/index.mjs +2 -2
  4. package/dist/compiler/utils/index.d.mts +2 -2
  5. package/dist/compiler/utils/index.mjs +3 -3
  6. package/dist/{compiler-Dxri2g8Z.mjs → compiler-CdUbDTbV.mjs} +13329 -12670
  7. package/dist/declarations/stencil-public-compiler.d.ts +254 -121
  8. package/dist/declarations/stencil-public-docs.d.ts +10 -0
  9. package/dist/declarations/stencil-public-runtime.d.ts +49 -12
  10. package/dist/{index-D5zaocDq.d.mts → index-D8vvsppY.d.mts} +228 -180
  11. package/dist/{index-D61XZw0f.d.ts → index-Dap2E02-.d.ts} +82 -31
  12. package/dist/{index-Dat4djoo.d.mts → index-UUlemGuu.d.mts} +13 -2
  13. package/dist/index.d.mts +0 -1
  14. package/dist/index.mjs +1 -1
  15. package/dist/jsx-runtime.d.mts +18 -0
  16. package/dist/jsx-runtime.mjs +2 -0
  17. package/dist/{node-pj6rF4Wt.mjs → node-klLZLdDe.mjs} +59 -55
  18. package/dist/{regular-expression-D0_N0PGa.mjs → regular-expression-DUdhF3Ei.mjs} +72 -6
  19. package/dist/runtime/app-data/index.d.ts +1 -1
  20. package/dist/runtime/app-data/index.js +15 -9
  21. package/dist/{runtime-CKyUrF4i.js → runtime/client/lazy.js} +2539 -2199
  22. package/dist/runtime/client/{index.d.ts → runtime.d.ts} +49 -40
  23. package/dist/runtime/client/{index.js → runtime.js} +2401 -2185
  24. package/dist/runtime/index.d.ts +20 -3
  25. package/dist/runtime/index.js +4956 -2
  26. package/dist/runtime/server/index.d.mts +30 -39
  27. package/dist/runtime/server/index.mjs +2369 -2185
  28. package/dist/runtime/server/runner.d.mts +4 -6
  29. package/dist/runtime/server/runner.mjs +307 -361
  30. package/dist/signals/index.d.ts +47 -0
  31. package/dist/signals/index.js +199 -0
  32. package/dist/sys/node/index.d.mts +1 -1
  33. package/dist/sys/node/index.mjs +1 -1
  34. package/dist/sys/node/worker.mjs +2 -2
  35. package/dist/testing/index.d.mts +97 -3
  36. package/dist/testing/index.mjs +199 -47
  37. package/dist/{validation-BA8nzXu_.mjs → validation-2QipI30K.mjs} +21 -32
  38. package/package.json +41 -27
  39. package/dist/index-D-XN9HW_.d.ts +0 -30
  40. package/dist/jsx-runtime-B3vQbWIW.d.ts +0 -28
  41. package/dist/jsx-runtime.d.ts +0 -2
  42. package/dist/jsx-runtime.js +0 -2
  43. /package/dist/{chunk-CjcI7cDX.mjs → chunk-z9aeyW2b.mjs} +0 -0
@@ -1,5 +1,4 @@
1
- import { _ as JSXBase, a as ComponentRuntimeHostListener, b as VNode, c as HostElement, d as PlatformRuntime, f as RenderNode, g as HTMLStencilElement, i as ComponentConstructorChangeHandlers, l as HostRef, m as CustomElementsDefineOptions, n as ChildType, o as ComponentRuntimeMeta, p as RuntimeRef, r as ComponentConstructor, s as ComponentRuntimeMetaCompact, u as LazyBundlesRuntimeData, v as ResolutionHandler, y as TagTransformer } from "../index-D61XZw0f.js";
2
- import { n as jsxs, r as Fragment, t as jsx } from "../jsx-runtime-B3vQbWIW.js";
1
+ import { S as VNode, _ as FunctionalComponent, a as ComponentConstructor, b as ResolutionHandler, c as ComponentRuntimeMeta, d as HostRef, f as LazyBundlesRuntimeData, g as CustomElementsDefineOptions, h as RuntimeRef, i as ChildType, l as ComponentRuntimeMetaCompact, m as RenderNode, o as ComponentConstructorChangeHandlers, p as PlatformRuntime, s as ComponentRuntimeHostListener, u as HostElement, v as HTMLStencilElement, x as TagTransformer, y as JSXBase } from "../index-Dap2E02-.js";
3
2
 
4
3
  //#region src/runtime/asset-path.d.ts
5
4
  declare const getAssetPath: (path: string) => string;
@@ -10,6 +9,10 @@ declare const defineCustomElement: (Cstr: any, compactMeta: ComponentRuntimeMeta
10
9
  declare const proxyCustomElement: (Cstr: any, compactMeta: ComponentRuntimeMetaCompact) => any;
11
10
  declare const forceModeUpdate: (elm: RenderNode) => void;
12
11
  //#endregion
12
+ //#region src/runtime/registry.d.ts
13
+ declare const setRegistry: (registry: CustomElementRegistry) => void;
14
+ declare const getRegistry: () => CustomElementRegistry;
15
+ //#endregion
13
16
  //#region src/runtime/bootstrap-loader.d.ts
14
17
  declare const bootstrapLazy: (lazyBundles: LazyBundlesRuntimeData, options?: CustomElementsDefineOptions) => void;
15
18
  //#endregion
@@ -39,6 +42,9 @@ declare const createEvent: (ref: RuntimeRef, name: string, flags: number) => {
39
42
  emit: (detail: any) => CustomEvent<any>;
40
43
  };
41
44
  //#endregion
45
+ //#region src/runtime/fragment.d.ts
46
+ declare const Fragment: FunctionalComponent;
47
+ //#endregion
42
48
  //#region src/runtime/host-listener.d.ts
43
49
  declare const addHostEventListeners: (elm: HostElement, hostRef: HostRef, listeners?: ComponentRuntimeHostListener[]) => void;
44
50
  //#endregion
@@ -191,6 +197,17 @@ declare const forceUpdate: (ref: any) => boolean;
191
197
  declare const h: (nodeName: any, vnodeData: any, ...children: ChildType[]) => VNode;
192
198
  declare const Host: {};
193
199
  //#endregion
200
+ //#region src/runtime/vdom/jsx-runtime.d.ts
201
+ declare function jsx(type: any, props: any, key?: string): VNode;
202
+ /**
203
+ * @alias
204
+ */
205
+ declare const jsxs: typeof jsx;
206
+ /**
207
+ * @alias
208
+ */
209
+ declare const jsxDEV: typeof jsx;
210
+ //#endregion
194
211
  //#region src/runtime/vdom/vdom-annotations.d.ts
195
212
  /**
196
213
  * Updates the DOM generated on the server with annotations such as node attributes and
@@ -219,4 +236,4 @@ declare const insertVdomAnnotations: (doc: Document, staticComponents: string[])
219
236
  */
220
237
  declare const renderVdom: (hostRef: HostRef, renderFnResults: VNode | VNode[], isInitialLoad?: boolean) => void;
221
238
  //#endregion
222
- export { Fragment, type HTMLStencilElement, HYDRATED_STYLE_ID, Host, type JSXBase, Mixin, addHostEventListeners, bootstrapLazy, connectedCallback, createEvent, defineCustomElement, disconnectedCallback, forceModeUpdate, forceUpdate, getAssetPath, getElement, getMode, getRenderingRef, getShadowRoot, getValue, h, insertVdomAnnotations, jsx, jsxs, normalizeWatchers, parsePropertyValue, postUpdateComponent, proxyComponent, proxyCustomElement, render, renderVdom, setAssetPath, setMode, setNonce, setPlatformOptions, setTagTransformer, setValue, transformTag };
239
+ export { Fragment, type HTMLStencilElement, HYDRATED_STYLE_ID, Host, type JSXBase, Mixin, addHostEventListeners, bootstrapLazy, connectedCallback, createEvent, defineCustomElement, disconnectedCallback, forceModeUpdate, forceUpdate, getAssetPath, getElement, getMode, getRegistry, getRenderingRef, getShadowRoot, getValue, h, insertVdomAnnotations, jsx, jsxDEV, jsxs, normalizeWatchers, parsePropertyValue, postUpdateComponent, proxyComponent, proxyCustomElement, render, renderVdom, setAssetPath, setMode, setNonce, setPlatformOptions, setRegistry, setTagTransformer, setValue, transformTag };