sass-template-common 0.0.63 → 0.0.65
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/sass-template-common.d.ts +23 -5
- package/dist/sass-template-common.js +3740 -3612
- package/dist/sass-template-common.umd.cjs +33 -33
- package/package.json +1 -1
|
@@ -53,7 +53,7 @@ export declare type Analytics = {
|
|
|
53
53
|
comscore: string | undefined;
|
|
54
54
|
};
|
|
55
55
|
|
|
56
|
-
export declare const AssetsPreconnect: () =>
|
|
56
|
+
export declare const AssetsPreconnect: () => false | "" | JSX.Element | undefined;
|
|
57
57
|
|
|
58
58
|
export declare interface Author {
|
|
59
59
|
firstname: string;
|
|
@@ -697,9 +697,9 @@ export declare const getDynamicSlots: (axiosApi: AxiosInstance, config: Config,
|
|
|
697
697
|
[key: string]: any;
|
|
698
698
|
}>;
|
|
699
699
|
|
|
700
|
-
export declare const getEnvironmentUrl: () =>
|
|
700
|
+
export declare const getEnvironmentUrl: () => string | undefined;
|
|
701
701
|
|
|
702
|
-
export declare const getEnvironmentUrlFront: () =>
|
|
702
|
+
export declare const getEnvironmentUrlFront: () => string | undefined;
|
|
703
703
|
|
|
704
704
|
export declare const getImageUrl: (imageUrl: string) => Promise<string>;
|
|
705
705
|
|
|
@@ -940,8 +940,26 @@ declare type LazyLoaderProps = {
|
|
|
940
940
|
};
|
|
941
941
|
|
|
942
942
|
export declare type LibraryConfig = {
|
|
943
|
+
PUBLIC_API_HOST?: string;
|
|
944
|
+
PUBLIC_API_FRONT?: string;
|
|
945
|
+
PUBLIC_API_PATH?: string;
|
|
946
|
+
PUBLIC_API_PATH_VERSION?: string;
|
|
947
|
+
PUBLIC_X_SECURITY_TOKEN?: string;
|
|
948
|
+
PUBLIC_PUBLICATION_ID?: string;
|
|
949
|
+
PUBLIC_TAG_TYPE?: string;
|
|
950
|
+
PUBLIC_ENV?: string;
|
|
951
|
+
PUBLIC_LNG?: string;
|
|
952
|
+
PUBLIC_SERVICE_PREFIX?: string;
|
|
953
|
+
PUBLIC_IS_SUB_PUBLICATION?: string;
|
|
954
|
+
PUBLIC_USERNAME_OFFLINE?: string;
|
|
955
|
+
PUBLIC_PASSWORD_OFFLINE?: string;
|
|
943
956
|
PUBLIC_IS_OFFLINE?: string;
|
|
944
|
-
|
|
957
|
+
PUBLIC_OFFLINE_SITE?: string;
|
|
958
|
+
PUBLIC_WP_API_HOST?: string;
|
|
959
|
+
PUBLIC_X_SECURITY_WAF_TOKEN?: string;
|
|
960
|
+
DEPLOY_BUCKET?: string;
|
|
961
|
+
PUBLIC_ASSETS_URL?: string;
|
|
962
|
+
PUBLIC_BUILD_ID?: string;
|
|
945
963
|
};
|
|
946
964
|
|
|
947
965
|
export declare interface Link {
|
|
@@ -1409,7 +1427,7 @@ export declare const pathnameSplit: (pathname: string) => {
|
|
|
1409
1427
|
export declare interface PreloadImage {
|
|
1410
1428
|
href: string;
|
|
1411
1429
|
media?: string;
|
|
1412
|
-
fetchPriority?:
|
|
1430
|
+
fetchPriority?: 'high' | 'low' | 'auto';
|
|
1413
1431
|
}
|
|
1414
1432
|
|
|
1415
1433
|
export declare const PreloadImages: default_2.FC<PreloadImagesProps>;
|