@olonjs/core 1.0.112 → 1.0.113
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/index.d.ts +5 -23
- package/dist/olonjs-core.js +3684 -3617
- package/dist/olonjs-core.umd.cjs +48 -48
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -402,7 +402,8 @@ export declare interface LibraryImageEntry {
|
|
|
402
402
|
}
|
|
403
403
|
|
|
404
404
|
export declare interface MenuConfig {
|
|
405
|
-
main
|
|
405
|
+
main?: MenuItem[];
|
|
406
|
+
[key: string]: MenuItem[] | undefined;
|
|
406
407
|
}
|
|
407
408
|
|
|
408
409
|
export declare interface MenuItem {
|
|
@@ -681,7 +682,7 @@ export declare function shouldRenderSiteGlobalHeader(page: PageConfig, site: Sit
|
|
|
681
682
|
export declare interface SiteConfig {
|
|
682
683
|
identity: SiteIdentity;
|
|
683
684
|
header?: Section;
|
|
684
|
-
footer
|
|
685
|
+
footer: Section;
|
|
685
686
|
pages: SitePageEntry[];
|
|
686
687
|
}
|
|
687
688
|
|
|
@@ -735,9 +736,7 @@ export declare interface StudioRouteProps {
|
|
|
735
736
|
pageRegistry: Record<string, PageConfig>;
|
|
736
737
|
schemas: JsonPagesConfig['schemas'];
|
|
737
738
|
siteConfig: SiteConfig;
|
|
738
|
-
menuConfig:
|
|
739
|
-
main: MenuItem[];
|
|
740
|
-
};
|
|
739
|
+
menuConfig: MenuConfig;
|
|
741
740
|
themeConfig: JsonPagesConfig['themeConfig'];
|
|
742
741
|
refDocuments?: JsonPagesConfig['refDocuments'];
|
|
743
742
|
tenantCss: string;
|
|
@@ -776,22 +775,10 @@ export declare function syncHeadLink(rel: string, href: string): void;
|
|
|
776
775
|
export declare function syncWebMcpJsonLd(title: string, description: string, url: string): void;
|
|
777
776
|
|
|
778
777
|
export declare interface ThemeBorderRadius {
|
|
779
|
-
sm: string;
|
|
780
|
-
md: string;
|
|
781
|
-
lg: string;
|
|
782
778
|
[key: string]: string;
|
|
783
779
|
}
|
|
784
780
|
|
|
785
781
|
export declare interface ThemeColors {
|
|
786
|
-
primary: string;
|
|
787
|
-
secondary: string;
|
|
788
|
-
accent: string;
|
|
789
|
-
background: string;
|
|
790
|
-
surface: string;
|
|
791
|
-
surfaceAlt: string;
|
|
792
|
-
text: string;
|
|
793
|
-
textMuted: string;
|
|
794
|
-
border: string;
|
|
795
782
|
[key: string]: string;
|
|
796
783
|
}
|
|
797
784
|
|
|
@@ -806,9 +793,6 @@ export declare interface ThemeCssConfig {
|
|
|
806
793
|
}
|
|
807
794
|
|
|
808
795
|
export declare interface ThemeFontFamily {
|
|
809
|
-
primary: string;
|
|
810
|
-
mono: string;
|
|
811
|
-
display?: string;
|
|
812
796
|
[key: string]: string | undefined;
|
|
813
797
|
}
|
|
814
798
|
|
|
@@ -850,9 +834,7 @@ export declare const VisitorRoute: default_2.FC<VisitorRouteProps>;
|
|
|
850
834
|
export declare interface VisitorRouteProps {
|
|
851
835
|
pageRegistry: Record<string, PageConfig>;
|
|
852
836
|
siteConfig: SiteConfig;
|
|
853
|
-
menuConfig:
|
|
854
|
-
main: MenuItem[];
|
|
855
|
-
};
|
|
837
|
+
menuConfig: MenuConfig;
|
|
856
838
|
themeConfig: JsonPagesConfig['themeConfig'];
|
|
857
839
|
refDocuments?: JsonPagesConfig['refDocuments'];
|
|
858
840
|
tenantCss: string;
|