@stencil/core 5.0.0-alpha.5 → 5.0.0-alpha.7
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/dist/{client-Dnio47yQ.mjs → client-Dd-NB5Ei.mjs} +2324 -2125
- package/dist/compiler/index.d.mts +5 -5
- package/dist/compiler/index.mjs +2 -2
- package/dist/compiler/utils/index.d.mts +2 -2
- package/dist/compiler/utils/index.mjs +3 -3
- package/dist/{compiler-Dxri2g8Z.mjs → compiler-BmT_yLHU.mjs} +13458 -12695
- package/dist/declarations/stencil-public-compiler.d.ts +273 -144
- package/dist/declarations/stencil-public-docs.d.ts +10 -0
- package/dist/declarations/stencil-public-runtime.d.ts +49 -12
- package/dist/{index-D61XZw0f.d.ts → index-BuveMLxy.d.ts} +82 -31
- package/dist/{index-D5zaocDq.d.mts → index-CVhWFUM0.d.mts} +249 -204
- package/dist/{index-Dat4djoo.d.mts → index-ch-cf-bZ.d.mts} +13 -2
- package/dist/index.d.mts +0 -1
- package/dist/index.mjs +1 -1
- package/dist/jsx-runtime.d.mts +18 -0
- package/dist/jsx-runtime.mjs +2 -0
- package/dist/{node-pj6rF4Wt.mjs → node-10UamZmn.mjs} +59 -55
- package/dist/{regular-expression-D0_N0PGa.mjs → regular-expression-CFVJOTUh.mjs} +83 -8
- package/dist/runtime/app-data/index.d.ts +1 -1
- package/dist/runtime/app-data/index.js +15 -9
- package/dist/{runtime-CKyUrF4i.js → runtime/client/lazy.js} +2539 -2199
- package/dist/runtime/client/{index.d.ts → runtime.d.ts} +49 -40
- package/dist/runtime/client/{index.js → runtime.js} +2401 -2185
- package/dist/runtime/index.d.ts +20 -3
- package/dist/runtime/index.js +4956 -2
- package/dist/runtime/server/index.d.mts +30 -39
- package/dist/runtime/server/index.mjs +2369 -2185
- package/dist/runtime/server/runner.d.mts +4 -6
- package/dist/runtime/server/runner.mjs +307 -361
- package/dist/signals/index.d.ts +47 -0
- package/dist/signals/index.js +199 -0
- package/dist/sys/node/index.d.mts +1 -1
- package/dist/sys/node/index.mjs +1 -1
- package/dist/sys/node/worker.mjs +2 -2
- package/dist/testing/index.d.mts +97 -3
- package/dist/testing/index.mjs +199 -50
- package/dist/{validation-BA8nzXu_.mjs → validation-ByxKj8bC.mjs} +21 -32
- package/package.json +41 -27
- package/dist/index-D-XN9HW_.d.ts +0 -30
- package/dist/jsx-runtime-B3vQbWIW.d.ts +0 -28
- package/dist/jsx-runtime.d.ts +0 -2
- package/dist/jsx-runtime.js +0 -2
- /package/dist/{chunk-CjcI7cDX.mjs → chunk-z9aeyW2b.mjs} +0 -0
package/dist/index-D-XN9HW_.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { t as BuildConditionals } from "./index-D61XZw0f.js";
|
|
2
|
-
|
|
3
|
-
//#region src/app-data/index.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* A collection of default build flags for a Stencil project.
|
|
6
|
-
*
|
|
7
|
-
* This collection can be found throughout the Stencil codebase, often imported from the `virtual:app-data` module like so:
|
|
8
|
-
* ```ts
|
|
9
|
-
* import { BUILD } from 'virtual:app-data';
|
|
10
|
-
* ```
|
|
11
|
-
* and is used to determine if a portion of the output of a Stencil _project_'s compilation step can be eliminated.
|
|
12
|
-
*
|
|
13
|
-
* e.g. When `BUILD.allRenderFn` evaluates to `false`, the compiler will eliminate conditional statements like:
|
|
14
|
-
* ```ts
|
|
15
|
-
* if (BUILD.allRenderFn) {
|
|
16
|
-
* // some code that will be eliminated if BUILD.allRenderFn is false
|
|
17
|
-
* }
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* `virtual:app-data`, the module that `BUILD` is imported from, is an alias for the `@stencil/core/runtime/app-data`, and is
|
|
21
|
-
* partially referenced by {@link STENCIL_APP_DATA_ID}. The `src/compiler/bundle/app-data-plugin.ts` references
|
|
22
|
-
* `STENCIL_APP_DATA_ID` uses it to replace these defaults with {@link BuildConditionals} that are derived from a
|
|
23
|
-
* Stencil project's contents (i.e. metadata from the components). This replacement happens at a Stencil project's
|
|
24
|
-
* compile time. Such code can be found at `src/compiler/app-core/app-data.ts`.
|
|
25
|
-
*/
|
|
26
|
-
declare const BUILD: BuildConditionals;
|
|
27
|
-
declare const Env: {};
|
|
28
|
-
declare const NAMESPACE: string;
|
|
29
|
-
//#endregion
|
|
30
|
-
export { Env as n, NAMESPACE as r, BUILD as t };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { b as VNode, h as FunctionalComponent } from "./index-D61XZw0f.js";
|
|
2
|
-
|
|
3
|
-
//#region src/runtime/fragment.d.ts
|
|
4
|
-
declare const Fragment: FunctionalComponent;
|
|
5
|
-
//#endregion
|
|
6
|
-
//#region src/runtime/vdom/jsx-runtime.d.ts
|
|
7
|
-
/**
|
|
8
|
-
* JSX runtime function for creating elements in production mode.
|
|
9
|
-
* Called by TypeScript's jsx transform for elements without static children.
|
|
10
|
-
*
|
|
11
|
-
* @param type - The element type (string tag name or functional component)
|
|
12
|
-
* @param props - The element props (includes children)
|
|
13
|
-
* @param key - Optional key for the element
|
|
14
|
-
* @returns A virtual DOM node
|
|
15
|
-
*/
|
|
16
|
-
declare function jsx(type: any, props: any, key?: string): VNode;
|
|
17
|
-
/**
|
|
18
|
-
* JSX runtime function for creating elements with static children.
|
|
19
|
-
* Called by TypeScript's jsx transform as an optimization when children are static.
|
|
20
|
-
*
|
|
21
|
-
* @param type - The element type (string tag name or functional component)
|
|
22
|
-
* @param props - The element props (includes children)
|
|
23
|
-
* @param key - Optional key for the element
|
|
24
|
-
* @returns A virtual DOM node
|
|
25
|
-
*/
|
|
26
|
-
declare function jsxs(type: any, props: any, key?: string): VNode;
|
|
27
|
-
//#endregion
|
|
28
|
-
export { jsxs as n, Fragment as r, jsx as t };
|
package/dist/jsx-runtime.d.ts
DELETED
package/dist/jsx-runtime.js
DELETED
|
File without changes
|