@burdenoff/fe-libs 2026.1021.7 → 2026.1021.9
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/shared/providers/AppShellProvider.d.ts +13 -0
- package/dist/shared/providers/AppShellProvider.js +196 -193
- package/dist/shared/tours/catalogs.d.ts +21 -0
- package/dist/shared/tours/catalogs.js +981 -0
- package/dist/shared/tours/index.d.ts +3 -1
- package/dist/shared/tours/routeCatalog.d.ts +28 -0
- package/dist/shared/tours/routeCatalog.js +103 -918
- package/dist/shared/tours/useTourRouteCatalog.d.ts +14 -0
- package/dist/shared/tours/useTourRouteCatalog.js +13 -0
- package/dist/shared-tours.js +7 -5
- package/dist/shared.js +12 -10
- package/package.json +10 -3
- package/scripts/i18n/README.md +117 -0
- package/scripts/i18n/bundle.ts +250 -0
- package/scripts/i18n/cli.ts +281 -0
- package/scripts/i18n/commands.ts +370 -0
- package/scripts/i18n/config.ts +178 -0
- package/scripts/i18n/index.ts +63 -0
- package/scripts/i18n/servedTree.ts +270 -0
- package/scripts/i18n/shipped.ts +99 -0
- package/scripts/i18n/types.ts +140 -0
|
@@ -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
|
}
|