docthub-core-components 2.79.0 → 2.80.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "docthub-core-components",
3
- "version": "2.79.0",
3
+ "version": "2.80.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -1,11 +0,0 @@
1
- /**
2
- * Footer external URLs — QA vs production (`dochub.in` / `dev.dochub.in` vs `docthub.com`).
3
- *
4
- * Same rules as navigation; shared implementation lives in {@link ../routing-env}.
5
- *
6
- * Resolution order:
7
- * 1. VITE_NAV_ENV — explicit override (qa | production | prod | dev)
8
- * 2. window.location.hostname — localhost → QA; *.com → prod; *.in → QA
9
- * 3. import.meta.env.PROD — prod build → prod, dev → QA
10
- */
11
- export { isProdRoutingEnv as isProdFooter, isQaRoutingEnv as isQaFooter, resolveRoutingEnv as resolveFooterEnv, } from '../routing-env';
@@ -1,13 +0,0 @@
1
- /**
2
- * Resolves whether external Docthub links (nav, footer, etc.) should use QA or production URLs.
3
- *
4
- * Resolution order:
5
- * 1. VITE_NAV_ENV — explicit override (qa | production | prod | dev)
6
- * 2. window.location.hostname — localhost → QA; docthub.com → prod; dochub.in → QA
7
- * 3. import.meta.env.PROD — prod build → prod, dev → QA
8
- */
9
- export declare function resolveRoutingEnv(): "qa" | "production";
10
- /** True when external links should point to production (docthub.com). */
11
- export declare function isProdRoutingEnv(): boolean;
12
- /** True when external links should point to QA (dochub.in). */
13
- export declare function isQaRoutingEnv(): boolean;