@burdenoff/fe-libs 2026.1021.7 → 2026.1021.8

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.
@@ -2,6 +2,7 @@ import { CSSProperties, ReactNode } from 'react';
2
2
  import { Brand, ThemeMode, Density, Typography, GlassIntensity } from './shell/ThemeProvider';
3
3
  import { TranslationDictionary } from './shell/I18nProvider';
4
4
  import { BurdenoffEventName } from '../events';
5
+ import { TourRouteCatalogEntry } from '../tours/routeCatalog';
5
6
  export interface AppShellConfig {
6
7
  /** Product display name (e.g., "VibeControls", "FluidGrids") */
7
8
  productName: string;
@@ -94,6 +95,18 @@ export interface AppShellConfig {
94
95
  * for any path the shell does not want to name, and the default applies.
95
96
  */
96
97
  tourPageIdFromPath?: (pathname: string) => string | undefined;
98
+ /**
99
+ * The shell's tour route catalog: where each tour `moduleId`/`pageId` lives.
100
+ * Registered for `productSlug` while the shell is mounted, and used by the
101
+ * tour trigger to navigate to a tour's page and by the tour builder to offer
102
+ * the shell's pages. Pass a module constant (a new array identity
103
+ * re-registers). Pair it with
104
+ * `tourPageIdFromPath: createTourPageIdResolver(catalog)` when the shell's
105
+ * pageIds are not the first path segment. Shells that omit it fall back to the
106
+ * built-in catalog in `@burdenoff/fe-libs/shared/tours` for now; that fallback
107
+ * is being removed.
108
+ */
109
+ tourRouteCatalog?: readonly TourRouteCatalogEntry[];
97
110
  /** Resolve workspace RBAC above the tour runtime for permission-targeted tours. */
98
111
  enableWorkspaceTourPermissions?: boolean;
99
112
  }