@stencil/core 5.0.0-alpha.4 → 5.0.0-alpha.5
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-Dti6fFpE.mjs → client-Dnio47yQ.mjs} +81 -10
- package/dist/compiler/index.d.mts +2 -2
- 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-BYRrEeD-.mjs → compiler-Dxri2g8Z.mjs} +15313 -14822
- package/dist/declarations/stencil-public-compiler.d.ts +288 -132
- package/dist/declarations/stencil-public-compiler.js +2 -3
- package/dist/declarations/stencil-public-runtime.d.ts +2 -0
- package/dist/{index-hS-KBdAP.d.ts → index-D-XN9HW_.d.ts} +1 -1
- package/dist/{index-BwTaN1Nq.d.mts → index-D5zaocDq.d.mts} +357 -189
- package/dist/{index-CyrGY82h.d.ts → index-D61XZw0f.d.ts} +2 -2
- package/dist/{index-9LTuoSiw.d.mts → index-Dat4djoo.d.mts} +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{jsx-runtime-DlDkTqps.d.ts → jsx-runtime-B3vQbWIW.d.ts} +1 -1
- package/dist/jsx-runtime.d.ts +1 -1
- package/dist/jsx-runtime.js +1 -1
- package/dist/{node-BF2jSfWg.mjs → node-pj6rF4Wt.mjs} +66 -69
- package/dist/{regular-expression-D5pGVpCu.mjs → regular-expression-D0_N0PGa.mjs} +44 -26
- package/dist/runtime/app-data/index.d.ts +1 -1
- package/dist/runtime/client/index.d.ts +41 -8
- package/dist/runtime/client/index.js +105 -31
- package/dist/runtime/index.d.ts +29 -5
- package/dist/runtime/index.js +2 -2
- package/dist/runtime/server/index.d.mts +56 -25
- package/dist/runtime/server/index.mjs +122 -37
- package/dist/runtime/server/runner.d.mts +40 -26
- package/dist/runtime/server/runner.mjs +28 -22
- package/dist/{runtime-COEYYPyw.js → runtime-CKyUrF4i.js} +104 -30
- 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 +2 -2
- package/dist/testing/index.mjs +15 -15
- package/dist/{validation-Byxie0Uk.mjs → validation-BA8nzXu_.mjs} +82 -58
- package/package.json +11 -12
|
@@ -29,7 +29,7 @@ const LOG_LEVELS = [
|
|
|
29
29
|
/**
|
|
30
30
|
* The collection of valid export behaviors.
|
|
31
31
|
* Used to generate a type for typed configs as well as output target validation
|
|
32
|
-
* for the `
|
|
32
|
+
* for the `standalone` output target.
|
|
33
33
|
*
|
|
34
34
|
* Adding a value to this const array will automatically add it as a valid option on the
|
|
35
35
|
* output target configuration for `customElementsExportBehavior`.
|
|
@@ -38,8 +38,7 @@ const LOG_LEVELS = [
|
|
|
38
38
|
* - `auto-define-custom-elements`: Enables the auto-definition of a component and its children (recursively) in the custom elements registry. This
|
|
39
39
|
* functionality allows consumers to bypass the explicit call to define a component, its children, its children's
|
|
40
40
|
* children, etc. Users of this flag should be aware that enabling this functionality may increase bundle size.
|
|
41
|
-
* - `bundle`: A `defineCustomElements` function will be exported from the distribution directory.
|
|
42
|
-
* from `dist-custom-elements-bundle` to `dist-custom-elements`.
|
|
41
|
+
* - `bundle`: A `defineCustomElements` function will be exported from the distribution directory.
|
|
43
42
|
* - `single-export-module`: All components will be re-exported from the specified directory's root `index.js` file.
|
|
44
43
|
*/
|
|
45
44
|
const CustomElementsExportBehaviorOptions = [
|
|
@@ -331,6 +331,7 @@ declare const Listen: ListenDecorator;
|
|
|
331
331
|
* and object properties to their string literal values. This allows variables to be
|
|
332
332
|
* used in `@Listen` and `@Event` decorators instead of hardcoded strings.
|
|
333
333
|
*
|
|
334
|
+
*
|
|
334
335
|
* @example
|
|
335
336
|
* ```ts
|
|
336
337
|
* const MY_EVENT = 'myEvent';
|
|
@@ -1154,6 +1155,7 @@ declare namespace JSXBase {
|
|
|
1154
1155
|
importance?: 'low' | 'auto' | 'high';
|
|
1155
1156
|
height?: number | string;
|
|
1156
1157
|
loading?: 'lazy' | 'auto' | 'eager';
|
|
1158
|
+
referrerPolicy?: ReferrerPolicy;
|
|
1157
1159
|
sizes?: string;
|
|
1158
1160
|
src?: string;
|
|
1159
1161
|
srcSet?: string;
|