docthub-core-components 2.76.0 → 2.77.0
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.
|
@@ -50,7 +50,10 @@ export declare const FOOTER_ROUTES_QA: FooterRoutes;
|
|
|
50
50
|
*/
|
|
51
51
|
export declare const FOOTER_ROUTES_PROD: FooterRoutes;
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
54
|
-
*
|
|
53
|
+
* Resolves footer URLs for the current runtime (hostname or `VITE_NAV_ENV`).
|
|
54
|
+
* Prefer this over a module-level constant so QA vs production is not frozen
|
|
55
|
+
* at the first import (e.g. SSR or early bundle init without `window`).
|
|
56
|
+
*
|
|
57
|
+
* Same rules as {@link resolveNavEnv} / navigation menu.
|
|
55
58
|
*/
|
|
56
|
-
export declare
|
|
59
|
+
export declare function getFooterRoutes(): FooterRoutes;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { FooterRoutes } from './footer-routes';
|
|
1
2
|
import { FooterBrand, FooterColumn, FooterLink } from './types';
|
|
2
3
|
export declare const consumerFooterBrand: FooterBrand;
|
|
3
|
-
|
|
4
|
-
export declare
|
|
5
|
-
export declare
|
|
4
|
+
/** Default consumer footer columns — URLs from `routes` (call with {@link getFooterRoutes} at render time). */
|
|
5
|
+
export declare function createConsumerFooterColumns(routes: FooterRoutes): FooterColumn[];
|
|
6
|
+
export declare function createConsumerFooterPlatformPolicies(routes: FooterRoutes): FooterLink[];
|
|
7
|
+
export declare function createConsumerFooterEnterprisePolicies(routes: FooterRoutes): FooterLink[];
|
|
6
8
|
export declare const consumerFooterCopyrightText = "\u00A92026 Docthub. All rights reserved.";
|