@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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/internal",
3
- "version": "4.18.3-dev.1718946112.63491de",
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;