@stencil/core 4.18.3-dev.1718946112.63491de → 4.18.3-dev.1719205301.2790882
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/cli/index.cjs +1 -1
- package/cli/index.js +1 -1
- package/cli/package.json +1 -1
- package/compiler/package.json +1 -1
- package/compiler/stencil.js +50 -48
- package/dev-server/client/index.js +1 -1
- package/dev-server/client/package.json +1 -1
- package/dev-server/connector.html +2 -2
- package/dev-server/index.js +1 -1
- package/dev-server/package.json +1 -1
- package/dev-server/server-process.js +2 -2
- package/internal/app-data/package.json +1 -1
- package/internal/client/index.js +515 -497
- package/internal/client/package.json +3 -1
- package/internal/client/patch-browser.js +1 -1
- package/internal/hydrate/index.js +82 -33
- package/internal/hydrate/package.json +1 -1
- package/internal/hydrate/runner.d.ts +29 -11
- package/internal/hydrate/runner.js +235 -258
- package/internal/package.json +1 -1
- package/internal/stencil-private.d.ts +16 -11
- package/internal/stencil-public-compiler.d.ts +13 -0
- package/internal/testing/index.js +416 -393
- package/internal/testing/package.json +1 -1
- package/mock-doc/index.cjs +133 -129
- package/mock-doc/index.d.ts +18 -4
- package/mock-doc/index.js +133 -129
- package/mock-doc/package.json +1 -1
- package/package.json +29 -1
- package/screenshot/index.js +1 -1
- package/screenshot/package.json +1 -1
- package/screenshot/pixel-match.js +1 -1
- package/sys/node/index.js +10 -10
- package/sys/node/package.json +1 -1
- package/sys/node/worker.js +1 -1
- package/testing/index.js +1 -1
- package/testing/package.json +1 -1
package/internal/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stencil/core/internal",
|
|
3
|
-
"version": "4.18.3-dev.
|
|
3
|
+
"version": "4.18.3-dev.1719205301.2790882",
|
|
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",
|
|
@@ -977,29 +977,29 @@ export interface HostElement extends HTMLElement {
|
|
|
977
977
|
*/
|
|
978
978
|
['s-hmr']?: (versionId: string) => void;
|
|
979
979
|
['s-p']?: Promise<void>[];
|
|
980
|
-
componentOnReady?: () => Promise<this
|
|
980
|
+
componentOnReady?: () => Promise<this> | undefined;
|
|
981
981
|
}
|
|
982
982
|
export interface HydrateResults {
|
|
983
983
|
buildId: string;
|
|
984
984
|
diagnostics: Diagnostic[];
|
|
985
985
|
url: string;
|
|
986
|
-
host: string;
|
|
987
|
-
hostname: string;
|
|
988
|
-
href: string;
|
|
989
|
-
port: string;
|
|
990
|
-
pathname: string;
|
|
991
|
-
search: string;
|
|
992
|
-
hash: string;
|
|
993
|
-
html: string;
|
|
986
|
+
host: string | null;
|
|
987
|
+
hostname: string | null;
|
|
988
|
+
href: string | null;
|
|
989
|
+
port: string | null;
|
|
990
|
+
pathname: string | null;
|
|
991
|
+
search: string | null;
|
|
992
|
+
hash: string | null;
|
|
993
|
+
html: string | null;
|
|
994
994
|
components: HydrateComponent[];
|
|
995
995
|
anchors: HydrateAnchorElement[];
|
|
996
996
|
imgs: HydrateImgElement[];
|
|
997
997
|
scripts: HydrateScriptElement[];
|
|
998
998
|
styles: HydrateStyleElement[];
|
|
999
999
|
staticData: HydrateStaticData[];
|
|
1000
|
-
title: string;
|
|
1000
|
+
title: string | null;
|
|
1001
1001
|
hydratedCount: number;
|
|
1002
|
-
httpStatus: number;
|
|
1002
|
+
httpStatus: number | null;
|
|
1003
1003
|
}
|
|
1004
1004
|
export interface HydrateComponent {
|
|
1005
1005
|
tag: string;
|
|
@@ -1713,6 +1713,11 @@ export interface PackageJsonData {
|
|
|
1713
1713
|
name?: string;
|
|
1714
1714
|
version?: string;
|
|
1715
1715
|
main?: string;
|
|
1716
|
+
exports?: {
|
|
1717
|
+
[key: string]: string | {
|
|
1718
|
+
[key: string]: string;
|
|
1719
|
+
};
|
|
1720
|
+
};
|
|
1716
1721
|
description?: string;
|
|
1717
1722
|
bin?: {
|
|
1718
1723
|
[key: string]: string;
|
|
@@ -845,6 +845,19 @@ export interface SerializeDocumentOptions extends HydrateDocumentOptions {
|
|
|
845
845
|
* Remove HTML comments. Defaults to `true`.
|
|
846
846
|
*/
|
|
847
847
|
removeHtmlComments?: boolean;
|
|
848
|
+
/**
|
|
849
|
+
* If set to `false` Stencil will ignore the fact that a component has a `shadow: true`
|
|
850
|
+
* flag and serializes it as a scoped component. If set to `true` the component will
|
|
851
|
+
* be rendered within a Declarative Shadow DOM.
|
|
852
|
+
* @default false
|
|
853
|
+
*/
|
|
854
|
+
serializeShadowRoot?: boolean;
|
|
855
|
+
/**
|
|
856
|
+
* The `fullDocument` flag determines the format of the rendered output. Set it to true to
|
|
857
|
+
* generate a complete HTML document, or false to render only the component.
|
|
858
|
+
* @default true
|
|
859
|
+
*/
|
|
860
|
+
fullDocument?: boolean;
|
|
848
861
|
}
|
|
849
862
|
export interface HydrateFactoryOptions extends SerializeDocumentOptions {
|
|
850
863
|
serializeToHtml: boolean;
|