@burdenoff/fe-libs 2026.1021.6 → 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.
- package/dist/chrome/AccountSwitcher.js +7 -7
- package/dist/chrome/AutoBreadcrumbs.js +3 -3
- package/dist/chrome/Breadcrumbs.js +24 -24
- package/dist/chrome/ContextSwitcher.js +7 -7
- package/dist/chrome/DynamicFooter.js +3 -3
- package/dist/chrome/HeaderThemeSwitcher.js +14 -14
- package/dist/chrome/LanguagePickerSheet.js +7 -7
- package/dist/chrome/NativeTopBar.js +4 -4
- package/dist/chrome/NavCustomizeDialog.js +12 -12
- package/dist/chrome/ProductPickerSheet.js +7 -7
- package/dist/chrome/SideNavigation.js +17 -17
- package/dist/chrome/Sidebar.js +34 -34
- package/dist/chrome/Tabs.js +20 -20
- package/dist/chrome/ThemePreferences.js +188 -188
- package/dist/shared/assistant/ui/AssistantChatArea.js +4 -4
- package/dist/shared/components/ContextConversationWidget.js +7 -7
- package/dist/shared/components/QuotaUpgradeBridge.js +13 -13
- package/dist/shared/pages/AiPage.js +6 -6
- package/dist/shared/providers/AppShellProvider.d.ts +13 -0
- package/dist/shared/providers/AppShellProvider.js +196 -193
- package/dist/shared/providers/shell/ProfileI18nBridge.js +11 -11
- 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-hooks-shell.js +7 -7
- package/dist/shared-providers-shell.js +6 -6
- package/dist/shared-tours.js +7 -5
- package/dist/shared.js +12 -10
- package/dist/ui/branded-splash.d.ts +25 -2
- package/dist/ui/branded-splash.js +48 -31
- package/dist/ui/cta-overflow-menu.js +17 -17
- package/dist/ui/guidance.js +19 -19
- package/dist/ui/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { TourRouteCatalogEntry } from './routeCatalog';
|
|
2
|
+
/**
|
|
3
|
+
* The runtime route catalog for a product, re-read whenever a shell registers
|
|
4
|
+
* or cleans up a catalog. Use this instead of `getTourRouteCatalog` in render,
|
|
5
|
+
* because a shell registers its catalog in an effect that runs after its
|
|
6
|
+
* children first render.
|
|
7
|
+
*/
|
|
8
|
+
export declare function useTourRouteCatalog(productId: string | null | undefined): TourRouteCatalogEntry[];
|
|
9
|
+
/**
|
|
10
|
+
* Registers a shell's route catalog for as long as the calling component is
|
|
11
|
+
* mounted. Pass a stable array (a module constant or a memoised value); a new
|
|
12
|
+
* array identity re-registers. A missing product id or catalog is a no-op.
|
|
13
|
+
*/
|
|
14
|
+
export declare function useRegisterTourRouteCatalog(productId: string | null | undefined, entries: readonly TourRouteCatalogEntry[] | null | undefined): void;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { getTourRouteCatalog as e, getTourRouteCatalogVersion as t, registerTourRouteCatalog as n, subscribeTourRouteCatalogs as r } from "./routeCatalog.js";
|
|
2
|
+
import { useLayoutEffect as i, useMemo as a, useSyncExternalStore as o } from "react";
|
|
3
|
+
//#region src/shared/tours/useTourRouteCatalog.ts
|
|
4
|
+
function s(n) {
|
|
5
|
+
return a(() => e(n), [n, o(r, t, t)]);
|
|
6
|
+
}
|
|
7
|
+
function c(e, t) {
|
|
8
|
+
i(() => {
|
|
9
|
+
if (t) return n(e, t);
|
|
10
|
+
}, [e, t]);
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
export { c as useRegisterTourRouteCatalog, s as useTourRouteCatalog };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { useI18n as e } from "./shared/providers/shell/I18nProvider.js";
|
|
2
|
+
import { useAuth as t } from "./shared/providers/shell/AuthProvider.js";
|
|
3
|
+
import { useActiveContext as n } from "./shared/providers/shell/ActiveContextProvider.js";
|
|
4
|
+
import { useNavRegistryStore as r } from "./shared/hooks/shell/useNavRegistry.js";
|
|
5
|
+
import { useFooterRegistryStore as i } from "./shared/hooks/shell/useFooterRegistry.js";
|
|
6
|
+
import { useTheme as a, useThemeOrNull as o } from "./shared/providers/shell/ThemeProvider.js";
|
|
7
7
|
import { useFeatureFlags as s } from "./shared/feature-flags/FeatureFlagProvider.js";
|
|
8
8
|
import { useGlobalUi as c } from "./shared/providers/shell/GlobalUiProvider.js";
|
|
9
9
|
import { useShellUi as l } from "./shared/providers/shell/ShellUiProvider.js";
|
|
@@ -13,4 +13,4 @@ import { useEffectiveContext as f, useEffectiveWorkspaceId as p } from "./shared
|
|
|
13
13
|
import { useGlobalSearch as m } from "./shared/hooks/shell/useGlobalSearch.js";
|
|
14
14
|
import { useProducts as h } from "./shared/hooks/shell/useProducts.js";
|
|
15
15
|
import { useLanguages as g } from "./shared/hooks/shell/useLanguages.js";
|
|
16
|
-
export {
|
|
16
|
+
export { n as useActiveContext, t as useAuth, u as useContextManager, f as useEffectiveContext, p as useEffectiveWorkspaceId, s as useFeatureFlags, i as useFooterRegistryStore, d as useGeography, m as useGlobalSearch, c as useGlobalUi, e as useI18n, g as useLanguages, r as useNavRegistryStore, h as useProducts, l as useShellUi, a as useTheme, o as useThemeOrNull };
|
|
@@ -2,11 +2,11 @@ import { ProfileStorageManager_exports as e, clearActiveProfileId as t, getActiv
|
|
|
2
2
|
import { clearWorkspaceWideSelection as u, isWorkspaceWideSelection as d, selectWorkspaceWide as f } from "./shared/providers/shell/WorkspaceWideSelection.js";
|
|
3
3
|
import { AuthBridgeClient as p, destroyAuthBridge as m, getAuthBridge as h, initAuthBridge as g, isAuthBridgeInitialized as _ } from "./shared/providers/shell/AuthBridgeClient.js";
|
|
4
4
|
import { AppShellContextProvider as v, useAppShell as y } from "./shared/providers/shell/AppShellContext.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
5
|
+
import { I18nProvider as b, LOCALE_DIRECTION as x, clearTranslationCache as S, isTranslationAttempted as C, localeDirection as w, useI18n as T, useOptionalI18n as E } from "./shared/providers/shell/I18nProvider.js";
|
|
6
|
+
import { useShellLabel as D } from "./shared/providers/shell/useShellLabel.js";
|
|
7
|
+
import { AuthProvider as O, useAuth as k } from "./shared/providers/shell/AuthProvider.js";
|
|
8
|
+
import { ActiveContextProvider as A, useActiveContext as j } from "./shared/providers/shell/ActiveContextProvider.js";
|
|
9
|
+
import { ThemeProvider as M, useTheme as N } from "./shared/providers/shell/ThemeProvider.js";
|
|
10
10
|
import { PermissionProvider as P, SUPER_ADMIN_ACTOR_TYPE as F, SUPER_ADMIN_ROLE as I, hasMatchingPermission as L, isSuperAdminBypass as R, matchPermission as z, usePermission as B, usePermissionLoading as V, usePermissions as H, useRole as U, useSafePermissions as W } from "./shared/providers/shell/PermissionProvider.js";
|
|
11
11
|
import { FeatureFlagsProvider as G, useFeatureFlags as K } from "./shared/providers/shell/FeatureFlagsProvider.js";
|
|
12
12
|
import { FeatureFlagProvider as q } from "./shared/feature-flags/FeatureFlagProvider.js";
|
|
@@ -25,4 +25,4 @@ import { GatewayRoute as ge, getMicrofrontendGateway as _e, withGateway as ve }
|
|
|
25
25
|
import { ProfileI18nBridge as ye } from "./shared/providers/shell/ProfileI18nBridge.js";
|
|
26
26
|
import { ProfileGeographyBridge as be } from "./shared/providers/shell/ProfileGeographyBridge.js";
|
|
27
27
|
import { PageConversationContextProvider as xe, usePageConversationContext as Se, useRegisterPageConversationContext as Ce } from "./shared/providers/shell/PageConversationContextProvider.js";
|
|
28
|
-
export {
|
|
28
|
+
export { A as ActiveContextProvider, v as AppShellContextProvider, p as AuthBridgeClient, O as AuthProvider, fe as AuthTokenProvider, ne as ContextManagerProvider, oe as EVERYTHING_SURFACE_ID, q as FeatureFlagProvider, G as FeatureFlagsProvider, Z as FeatureGate, ge as GatewayRoute, ie as GeographyProvider, Q as GlobalUiProvider, b as I18nProvider, x as LOCALE_DIRECTION, me as MultiGatewayProvider, he as ObservabilityProvider, xe as PageConversationContextProvider, P as PermissionProvider, se as PersonaSurfaceProvider, be as ProfileGeographyBridge, ye as ProfileI18nBridge, e as ProfileStorage, F as SUPER_ADMIN_ACTOR_TYPE, I as SUPER_ADMIN_ROLE, ee as ShellUiProvider, M as ThemeProvider, t as clearActiveProfileId, S as clearTranslationCache, u as clearWorkspaceWideSelection, m as destroyAuthBridge, n as getActiveContext, r as getActiveTokens, i as getActiveUser, h as getAuthBridge, _e as getMicrofrontendGateway, a as getProfileLocale, L as hasMatchingPermission, g as initAuthBridge, _ as isAuthBridgeInitialized, R as isSuperAdminBypass, C as isTranslationAttempted, d as isWorkspaceWideSelection, w as localeDirection, o as logoutActiveProfile, z as matchPermission, s as removeAllProfiles, ce as resolveSurfaceForRoles, f as selectWorkspaceWide, c as setProfileLocale, l as setProfiles, le as synthesizeSimulatedPermissionStrings, j as useActiveContext, y as useAppShell, k as useAuth, pe as useAuthToken, re as useContextManager, J as useFeatureFlag, Y as useFeatureFlagDetails, X as useFeatureFlagValue, K as useFeatureFlags, ae as useGeography, $ as useGlobalUi, T as useI18n, E as useOptionalI18n, Se as usePageConversationContext, B as usePermission, V as usePermissionLoading, H as usePermissions, ue as usePersonaSurface, Ce as useRegisterPageConversationContext, U as useRole, W as useSafePermissions, de as useSafePersonaSurface, D as useShellLabel, te as useShellUi, N as useTheme, ve as withGateway };
|
package/dist/shared-tours.js
CHANGED
|
@@ -5,8 +5,10 @@ import { TourSpotlight as i } from "./shared/tours/TourSpotlight.js";
|
|
|
5
5
|
import { TourTooltip as a } from "./shared/tours/TourTooltip.js";
|
|
6
6
|
import { TourPlayerProvider as o, useIsTourPlaying as s, useStartTour as c, useStopTour as l, useTourPlayerContext as u } from "./shared/tours/TourPlayerProvider.js";
|
|
7
7
|
import { TourPlayer as d, TourTriggerButton as f, usePlayTour as p } from "./shared/tours/TourPlayer.js";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
|
|
8
|
+
import { BIGCONSOLE_TOUR_ROUTE_CATALOG as m, BUILDMYIQ_TOUR_ROUTE_CATALOG as h, BUILT_IN_TOUR_ROUTE_CATALOGS as g, COLLABKIN_TOUR_ROUTE_CATALOG as _, FLUIDGRIDS_TOUR_ROUTE_CATALOG as v, INTELWATCHTOWER_TOUR_ROUTE_CATALOG as y, MANUFACTUREDOPS_TOUR_ROUTE_CATALOG as b, VIBECONTROLS_TOUR_ROUTE_CATALOG as x, getBuiltInTourRouteCatalog as S, listBuiltInTourRouteCatalogProductIds as C } from "./shared/tours/catalogs.js";
|
|
9
|
+
import { createTourPageIdResolver as w, getTourContextRank as T, getTourRouteCatalog as E, getTourRouteCatalogVersion as D, getTourRouteModules as O, getTourRoutePages as k, hasRegisteredTourRouteCatalog as A, isTourVisibleForContext as j, normalizeTourPath as M, registerTourRouteCatalog as N, resolveTourTargetPath as P, subscribeTourRouteCatalogs as F } from "./shared/tours/routeCatalog.js";
|
|
10
|
+
import { ToursProvider as I, useAutoStartTour as L, useSafeToursContext as R, useTours as z, useToursContext as B } from "./shared/tours/ToursContext.js";
|
|
11
|
+
import { TourInitializer as V } from "./shared/tours/TourInitializer.js";
|
|
12
|
+
import { useRegisterTourRouteCatalog as H, useTourRouteCatalog as U } from "./shared/tours/useTourRouteCatalog.js";
|
|
13
|
+
import { TourTrigger as W } from "./shared/tours/TourTrigger.js";
|
|
14
|
+
export { m as BIGCONSOLE_TOUR_ROUTE_CATALOG, h as BUILDMYIQ_TOUR_ROUTE_CATALOG, g as BUILT_IN_TOUR_ROUTE_CATALOGS, _ as COLLABKIN_TOUR_ROUTE_CATALOG, v as FLUIDGRIDS_TOUR_ROUTE_CATALOG, y as INTELWATCHTOWER_TOUR_ROUTE_CATALOG, b as MANUFACTUREDOPS_TOUR_ROUTE_CATALOG, V as TourInitializer, d as TourPlayer, o as TourPlayerProvider, i as TourSpotlight, a as TourTooltip, W as TourTrigger, f as TourTriggerButton, I as ToursProvider, x as VIBECONTROLS_TOUR_ROUTE_CATALOG, w as createTourPageIdResolver, t as detectDeviceType, S as getBuiltInTourRouteCatalog, n as getResponsiveSelector, T as getTourContextRank, E as getTourRouteCatalog, D as getTourRouteCatalogVersion, O as getTourRouteModules, k as getTourRoutePages, A as hasRegisteredTourRouteCatalog, j as isTourVisibleForContext, C as listBuiltInTourRouteCatalogProductIds, M as normalizeTourPath, N as registerTourRouteCatalog, P as resolveTourTargetPath, F as subscribeTourRouteCatalogs, L as useAutoStartTour, s as useIsTourPlaying, p as usePlayTour, H as useRegisterTourRouteCatalog, R as useSafeToursContext, c as useStartTour, l as useStopTour, r as useTourPlayer, u as useTourPlayerContext, U as useTourRouteCatalog, z as useTours, B as useToursContext, e as withTourProgressStatus };
|
package/dist/shared.js
CHANGED
|
@@ -129,18 +129,20 @@ import { TourSpotlight as vo } from "./shared/tours/TourSpotlight.js";
|
|
|
129
129
|
import { TourTooltip as yo } from "./shared/tours/TourTooltip.js";
|
|
130
130
|
import { TourPlayerProvider as bo, useIsTourPlaying as xo, useStartTour as So, useStopTour as Co, useTourPlayerContext as wo } from "./shared/tours/TourPlayerProvider.js";
|
|
131
131
|
import { TourPlayer as To, TourTriggerButton as Eo, usePlayTour as Do } from "./shared/tours/TourPlayer.js";
|
|
132
|
-
import {
|
|
133
|
-
import {
|
|
134
|
-
import {
|
|
135
|
-
import {
|
|
136
|
-
import {
|
|
137
|
-
import {
|
|
132
|
+
import { BIGCONSOLE_TOUR_ROUTE_CATALOG as Oo, BUILDMYIQ_TOUR_ROUTE_CATALOG as ko, BUILT_IN_TOUR_ROUTE_CATALOGS as Ao, COLLABKIN_TOUR_ROUTE_CATALOG as jo, FLUIDGRIDS_TOUR_ROUTE_CATALOG as Mo, INTELWATCHTOWER_TOUR_ROUTE_CATALOG as No, MANUFACTUREDOPS_TOUR_ROUTE_CATALOG as Po, VIBECONTROLS_TOUR_ROUTE_CATALOG as Fo, getBuiltInTourRouteCatalog as Io, listBuiltInTourRouteCatalogProductIds as Lo } from "./shared/tours/catalogs.js";
|
|
133
|
+
import { createTourPageIdResolver as Ro, getTourContextRank as zo, getTourRouteCatalog as Bo, getTourRouteCatalogVersion as Vo, getTourRouteModules as Ho, getTourRoutePages as Uo, hasRegisteredTourRouteCatalog as Wo, isTourVisibleForContext as Go, normalizeTourPath as Ko, registerTourRouteCatalog as qo, resolveTourTargetPath as Jo, subscribeTourRouteCatalogs as Yo } from "./shared/tours/routeCatalog.js";
|
|
134
|
+
import { ToursProvider as Xo, useAutoStartTour as Zo, useSafeToursContext as Qo, useTours as $o, useToursContext as es } from "./shared/tours/ToursContext.js";
|
|
135
|
+
import { TourInitializer as ts } from "./shared/tours/TourInitializer.js";
|
|
136
|
+
import { useRegisterTourRouteCatalog as ns, useTourRouteCatalog as rs } from "./shared/tours/useTourRouteCatalog.js";
|
|
137
|
+
import { AppShellProvider as is, resolveAppShellObservabilityConfig as as } from "./shared/providers/AppShellProvider.js";
|
|
138
|
+
import { MicrofrontendProvider as os } from "./shared-providers.js";
|
|
139
|
+
import { TourTrigger as ss } from "./shared/tours/TourTrigger.js";
|
|
138
140
|
import "./shared-tours.js";
|
|
139
|
-
import { acknowledgeNativePurchase as
|
|
140
|
-
import { getPushOptInController as
|
|
141
|
+
import { acknowledgeNativePurchase as cs, getNativeProducts as ls, getNativePurchases as us, installNativeIAP as ds, isNativeIAPAvailable as fs, purchaseNativeProduct as ps, restoreNativePurchases as ms } from "./shared/native/purchases.js";
|
|
142
|
+
import { getPushOptInController as hs, recordPushPermissionPromptDismissed as gs, registerPushOptInController as _s, shouldPromptForPushPermission as vs } from "./shared/native/push-optin.js";
|
|
141
143
|
import "./shared-native.js";
|
|
142
144
|
import "./shared/actors/index.js";
|
|
143
145
|
//#region src/shared/index.ts
|
|
144
|
-
var
|
|
146
|
+
var ys = "1.0.0";
|
|
145
147
|
//#endregion
|
|
146
|
-
export { Li as ASSISTANT_WIDGET_TOGGLE_EVENT, Lr as AccessDenied, Or as ActorIdentity, na as AnalyticsConsentBanner, It as ApolloClient, Lt as ApolloProvider, qr as AppErrorBoundary, Rn as AppInitializer, Ho as AppShellProvider, Ri as AssistantWidget, it as BACKEND_ERROR_EVENT, ze as BOTMANOR_PRODUCT_SLUG, ha as BREAKPOINTS, ta as BackendAuditSink, ea as BroadcastChannelSink, m as CHART_SERIES_COUNT, Ge as COMMON_SHELL_LESS_ROUTES, at as CONNECTION_STATUS_EVENT, Wr as ConditionalShell, Gn as ConsoleTransport, ei as ContextConversationWidget, h as DATA_TYPES, Ze as DEFAULT_PAGE_SIZE, bi as DEFAULT_QUOTA_UPGRADE_COPY, Ke as DEFAULT_SHELL_CONFIG, te as DESKTOP_UPDATE_UNSUPPORTED, ne as DESKTOP_WINDOW_STATE_DEFAULT, Qi as DesktopUpdateToast, $i as DevtoolsSink, g as EDGE_KINDS, jr as ErrorBoundary, zr as ErrorFallback, ca as EventBusProvider, rs as FE_SHARED_VERSION, Jr as FeatureFlagProvider, $r as FeatureGate, Qe as GATEWAYS, za as GLOBAL_SHORTCUT_CATEGORIES, Ot as GatewayProvider, or as INLINE_ENCODE, Rt as InMemoryCache, mi as KeyboardHelpDialogWrapper, Mi as LandingGateView, Ni as LandingOrDashboardRedirect, Br as LoadingFallback, Vn as LogLevel, Un as LogManager, Hn as Logger, Pa as MODIFIER_KEYS, zi as Markdown, fo as MicrofrontendContext, Ur as MicrofrontendErrorBoundary, Wo as MicrofrontendProvider, _ as NODE_CATEGORIES, v as NODE_STATES, sa as OtelBrowserSink, to as PLAN_USAGE_SNAPSHOT_EVENT, Fa as PLATFORM_TYPES, Be as PRODUCTS, Ne as PRODUCT_SLUG_EMIT, Pe as PRODUCT_SLUG_RENAMES, Ve as PRODUCT_URLS, Cr as PULL_TO_REFRESH_THRESHOLD, qa as PUSH_DEVICE_ID_STORAGE_KEY, Kr as PWAInstallBanner, Vr as PageLoadingFallback, Pr as PermissionButton, Rr as PermissionDenied, Fr as PermissionGate, Ir as PermissionLink, Zn as QUOTA_EXHAUSTED_CODE, Qa as QUOTA_EXHAUSTED_EVENT, hi as QuotaMeter, xi as QuotaUpgradeBridge, Qn as RESOURCE_CAP_EXCEEDED_CODE, Mr as RequireAuth, Nr as RequireGuest, ra as RybbitSink, St as SSELink, bn as SSORedirectSpinner, En as SSO_DEPOSITED_PARAM, $n as STORAGE_QUOTA_EXCEEDED_CODE, yr as SafeAreaView, Hr as SectionLoadingFallback, Vo as TourInitializer, To as TourPlayer, bo as TourPlayerProvider, vo as TourSpotlight, yo as TourTooltip, Go as TourTrigger, Eo as TourTriggerButton, Io as ToursProvider, oo as UNSAVED_CHANGE_LABEL_MAX, er as UPGRADE_ERROR_CODES, gi as UPGRADE_PROMPT_EVENT, yi as UpgradeInlineBanner, _i as UpgradePromptModal, Pt as WsLink, Ko as acknowledgeNativePurchase, r as alertTokens, io as appendContextToPath, gn as assignLocationWithAllowlist, Gt as attemptTokenRefresh, Dn as beginSsoNavigation, re as bootDesktopShell, kr as buildActorFallback, tr as buildQuotaExhaustedMessage, On as buildSsoDepositUrl, j as capitalizeFirst, M as capitalizeWords, Si as captureQuotaDialogOwners, i as categoryTokens, y as chartSeriesColor, b as chartSeriesIndex, xn as checkRemoteSLO, Sn as checkSLO, Ci as claimQuotaDialog, Kt as clearAuthSessionStorage, pt as clearGraphqlFetchResponseCache, Cn as clearLocalAuthState, Zt as clearSSoCookie, Qt as clearShellSsoCookies, kn as clearSsoDepositState, An as clearSsoNavigation, Kn as clearUserContext, lr as cn, wr as computePullOffset, Tr as computePullProgress, jn as consumeSsoDepositMarker, n as createApolloClient, la as createEventBus, Ba as createGlobalShortcuts, Ct as createGraphQLClient, Yn as createProfileScopedStorage, x as dataTypeColor, S as dataTypeTextClasses, ie as desktopCheckForUpdates, ae as desktopDeepLinkToPath, oe as desktopInstallUpdate, se as desktopNotify, ce as desktopOpenExternal, le as desktopSetBadgeCount, ue as desktopSetLocale, de as desktopSetTheme, fe as desktopSetTrayQuickActions, ho as detectDeviceType, ti as detectPlatform, ot as dispatchBackendErrorEvent, wi as dispatchProductQuotaExhausted, $a as dispatchQuotaExhausted, vi as dispatchUpgradePrompt, sr as downscaleImage, C as edgeColor, Fe as emitProductSlug, st as extractBackendError, nr as extractQuotaExhaustedExtensions, rr as extractUpgradeErrorExtensions, He as findProductConfig, N as formatBytes, P as formatCompactNumber, F as formatCurrency, I as formatCurrencyCompact, L as formatDate, R as formatDateTime, z as formatDuration, ni as formatKeyCombo, B as formatList, V as formatNumber, H as formatOrdinal, U as formatPercentage, W as formatRelativeTime, G as formatTime, a as getAlertTokens, $ as getCapacitorPlatform, o as getCategoryTokens, pe as getDesktopAuthBridgeConfig, me as getDesktopBridge, he as getDesktopGatewayBases, ge as getDesktopGatewayUrls, _e as getDesktopRuntimeConfig, ve as getDesktopUpdateState, ye as getDesktopWindowState, ri as getDisplayKeysForPlatform, $e as getGatewayConfig, et as getGatewayUrl, wt as getGlobalClient, Va as getGlobalShortcutsByCategory, tt as getGraphQLEndpoint, be as getLegacyDesktopRuntime, on as getNativeBridge, Ai as getNativeEntryRoutes, qo as getNativeProducts, Jo as getNativePurchases, Ja as getOrCreatePushDeviceId, sn as getPlatform, Ue as getProductUrl, We as getProductsWithUrls, Xn as getProfileScopedKey, s as getProgressTokens, $o as getPushOptInController, go as getResponsiveSelector, wn as getSSORedirectUrl, $t as getSSoCookie, qe as getShellConfig, ii as getShortcutLabel, c as getStatusBadgeTokens, l as getStatusTokens, mt as getStoredAuthToken, ht as getStoredLocale, gt as getStoredOrganizationId, _t as getStoredProjectId, vt as getStoredWorkspaceId, yt as getStoredWorkspaceToken, Oo as getTourContextRank, ko as getTourRouteCatalog, Ao as getTourRouteModules, jo as getTourRoutePages, u as getTrendTokens, Tt as getWorkspaceClient, nt as getWorkspaceTokenPayload, zt as gql, bt as graphqlFetch, qt as hasAuthGraphQLErrors, Pi as hasStoredValidSession, Et as initializeAppClients, qn as initializeLogger, xe as installDesktopDeepLinkHandler, Se as installDesktopNavigateHandler, Oe as installGatewayFetchRewrite, Yo as installNativeIAP, ct as isAbortError, _n as isAllowedRedirectUrl, cn as isAndroid, Jt as isAuthGraphQLError, Yt as isAuthNetworkError, lt as isBackendErrorDisplay, ee as isCapacitorNative, Z as isChunkLoadError, Ce as isDesktop, ln as isElectron, un as isIOS, dn as isInstalledApp, ai as isMac, oi as isMobileDevice, fn as isNative, Xo as isNativeIAPAvailable, ir as isQuotaExhaustedError, Ie as isSameProductSlug, en as isSharedSsoCookieDomain, Je as isShellLessRoute, Mn as isSsoNavigationPending, pn as isStandalonePWA, si as isTabletDevice, Mo as isTourVisibleForContext, ut as isTransportError, tn as isTrustedSsoOrigin, ar as isUpgradeError, mn as isWeb, hn as isWebBrowser, rt as isWorkspaceTokenValidForContext, Q as lazyWithRetry, Le as legacyProductSlug, so as listUnsavedChanges, Wn as logManager, dt as markConnectionHealthy, Nn as markSsoDepositDone, Pn as markSsoDepositPending, ci as matchesKeyCombo, Ha as mergeShortcuts, Fn as mintSsoSessionTokens, ur as nativeActionSheet, dr as nativeConfirm, fr as nativeCopyText, pr as nativeImpact, mr as nativeNotify, hr as nativeOpenUrl, gr as nativeSelection, _r as nativeShare, vr as nativeToast, w as nodeCategoryClasses, T as nodeCategoryColor, E as nodeCategorySubtleColor, D as nodeStateColor, O as nodeStateRingClasses, li as normalizeKey, ui as normalizePlatformCombo, Re as normalizeProductSlug, No as normalizeTourPath, we as onDesktopUpdateState, Te as onDesktopWindowState, vn as openUrlInNewTabWithAllowlist, di as parseKeyCombo, K as pluralize, Ft as prepareWorkspaceRequest, d as progressTokens, no as publishPlanUsageSnapshot, Zo as purchaseNativeProduct, Ti as quotaEventKind, ia as readAnalyticsConsent, aa as readAnalyticsConsentChoice, br as readInitialNetworkStatus, nn as readShellSsoCookie, In as readSsoDepositState, es as recordPushPermissionPromptDismissed, Xt as redirectToLogin, Tn as redirectToSSO, xr as reduceNetworkStatus, Ee as registerDesktopNavigator, Ya as registerPushDevice, ts as registerPushOptInController, Po as registerTourRouteCatalog, co as registerUnsavedChange, yn as replaceLocationWithAllowlist, Dt as resetAppClients, qi as resolveActionSheetOutcome, Uo as resolveAppShellObservabilityConfig, je as resolveAuthBridgeConfig, ke as resolveGatewayBases, xt as resolveGatewayUrl, De as resolveGatewayUrls, Fi as resolveLandingGate, Ei as resolveQuotaUpgradeCopy, Me as resolveShellAuthBridgeConfig, Fo as resolveTourTargetPath, Qo as restoreNativePurchases, cr as selectInlineBase64, oa as setAnalyticsConsent, rn as setSSoCookie, an as setShellSsoCookies, Jn as setUserContext, Ln as shouldAttemptSsoDeposit, fi as shouldEnableKeyboardShortcuts, pi as shouldIgnoreShortcut, ns as shouldPromptForPushPermission, Ye as shouldShowBreadcrumb, ji as shouldShowNativeWelcome, Xe as shouldShowSidebar, ft as shouldToastBackendError, q as slugify, f as statusTokens, Ae as suppressConsole, J as toCamelCase, k as toDataType, A as toNodeCategory, Y as toPascalCase, p as trendTokens, X as truncateText, Xa as unregisterPushDevice, lo as unsavedChangesBlocking, Ji as useActionSheet, Ar as useActorProfiles, Bt as useApolloClient, Ui as useAppState, Ma as useAsync, Na as useAsyncImmediate, Lo as useAutoStartTour, ga as useBreakpoint, Oa as useConditionalToggle, e as useCopyToClipboard, ao as useCurrentContextSearchParams, pa as useDebounce, Yi as useDesktop, Xi as useDesktopUpdateState, Zi as useDesktopWindowState, Wi as useDeviceInfo, ua as useEvent, da as useEventBus, fa as useEventEmitter, Sa as useExclusiveMenu, Xr as useFeatureFlag, Zr as useFeatureFlagDetails, Qr as useFeatureFlagValue, Yr as useFeatureFlags, kt as useGateway, At as useGatewayClient, Gi as useHaptics, Wa as useHasAnimated, Nt as useHasAuthToken, La as useHotkeys, xo as useIsTourPlaying, ba as useKeyPress, xa as useKeyboardShortcut, Ia as useKeyboardShortcuts, Vt as useLazyQuery, Ca as useLocalStorage, Ua as useLogger, t as useMediaQuery, po as useMicrofrontendContext, _a as useMobileBreakpoint, Ht as useMutation, Hi as useNativeKeyboard, Bi as useNativePlatform, Sr as useNetworkStatus, va as useOnClickOutside, ya as useOnClickOutsideWithRef, Gr as usePWA, ja as usePagination, Do as usePlayTour, Ta as usePrevious, Ea as usePreviousDistinct, Da as usePreviousHistory, Er as usePullToRefresh, Za as usePushDeviceRegistration, Ut as useQuery, Di as useQuotaDialogOwnership, eo as useQuotaErrorToast, Oi as useQuotaUpgradeBridge, Ka as useRecordProductVisit, Ga as useReferralAttribution, zn as useRegistryHelpers, Dr as useReturnFocus, Vi as useSafeArea, jt as useSafeGateway, Mt as useSafeGatewayClient, Ro as useSafeToursContext, wa as useSessionStorage, Bn as useShellNavigate, Ra as useShortcutHelp, So as useStartTour, Ki as useStatusBar, Co as useStopTour, Wt as useSubscription, ma as useThrottle, ka as useToggle, Aa as useToggleObject, _o as useTourPlayer, wo as useTourPlayerContext, zo as useTours, Bo as useToursContext, uo as useUnsavedChanges, ro as useUpgradePrompt, Ii as useVoiceInput, ki as withQuotaDialogOwnership, mo as withTourProgressStatus };
|
|
148
|
+
export { Li as ASSISTANT_WIDGET_TOGGLE_EVENT, Lr as AccessDenied, Or as ActorIdentity, na as AnalyticsConsentBanner, It as ApolloClient, Lt as ApolloProvider, qr as AppErrorBoundary, Rn as AppInitializer, is as AppShellProvider, Ri as AssistantWidget, it as BACKEND_ERROR_EVENT, Oo as BIGCONSOLE_TOUR_ROUTE_CATALOG, ze as BOTMANOR_PRODUCT_SLUG, ha as BREAKPOINTS, ko as BUILDMYIQ_TOUR_ROUTE_CATALOG, Ao as BUILT_IN_TOUR_ROUTE_CATALOGS, ta as BackendAuditSink, ea as BroadcastChannelSink, m as CHART_SERIES_COUNT, jo as COLLABKIN_TOUR_ROUTE_CATALOG, Ge as COMMON_SHELL_LESS_ROUTES, at as CONNECTION_STATUS_EVENT, Wr as ConditionalShell, Gn as ConsoleTransport, ei as ContextConversationWidget, h as DATA_TYPES, Ze as DEFAULT_PAGE_SIZE, bi as DEFAULT_QUOTA_UPGRADE_COPY, Ke as DEFAULT_SHELL_CONFIG, te as DESKTOP_UPDATE_UNSUPPORTED, ne as DESKTOP_WINDOW_STATE_DEFAULT, Qi as DesktopUpdateToast, $i as DevtoolsSink, g as EDGE_KINDS, jr as ErrorBoundary, zr as ErrorFallback, ca as EventBusProvider, ys as FE_SHARED_VERSION, Mo as FLUIDGRIDS_TOUR_ROUTE_CATALOG, Jr as FeatureFlagProvider, $r as FeatureGate, Qe as GATEWAYS, za as GLOBAL_SHORTCUT_CATEGORIES, Ot as GatewayProvider, or as INLINE_ENCODE, No as INTELWATCHTOWER_TOUR_ROUTE_CATALOG, Rt as InMemoryCache, mi as KeyboardHelpDialogWrapper, Mi as LandingGateView, Ni as LandingOrDashboardRedirect, Br as LoadingFallback, Vn as LogLevel, Un as LogManager, Hn as Logger, Po as MANUFACTUREDOPS_TOUR_ROUTE_CATALOG, Pa as MODIFIER_KEYS, zi as Markdown, fo as MicrofrontendContext, Ur as MicrofrontendErrorBoundary, os as MicrofrontendProvider, _ as NODE_CATEGORIES, v as NODE_STATES, sa as OtelBrowserSink, to as PLAN_USAGE_SNAPSHOT_EVENT, Fa as PLATFORM_TYPES, Be as PRODUCTS, Ne as PRODUCT_SLUG_EMIT, Pe as PRODUCT_SLUG_RENAMES, Ve as PRODUCT_URLS, Cr as PULL_TO_REFRESH_THRESHOLD, qa as PUSH_DEVICE_ID_STORAGE_KEY, Kr as PWAInstallBanner, Vr as PageLoadingFallback, Pr as PermissionButton, Rr as PermissionDenied, Fr as PermissionGate, Ir as PermissionLink, Zn as QUOTA_EXHAUSTED_CODE, Qa as QUOTA_EXHAUSTED_EVENT, hi as QuotaMeter, xi as QuotaUpgradeBridge, Qn as RESOURCE_CAP_EXCEEDED_CODE, Mr as RequireAuth, Nr as RequireGuest, ra as RybbitSink, St as SSELink, bn as SSORedirectSpinner, En as SSO_DEPOSITED_PARAM, $n as STORAGE_QUOTA_EXCEEDED_CODE, yr as SafeAreaView, Hr as SectionLoadingFallback, ts as TourInitializer, To as TourPlayer, bo as TourPlayerProvider, vo as TourSpotlight, yo as TourTooltip, ss as TourTrigger, Eo as TourTriggerButton, Xo as ToursProvider, oo as UNSAVED_CHANGE_LABEL_MAX, er as UPGRADE_ERROR_CODES, gi as UPGRADE_PROMPT_EVENT, yi as UpgradeInlineBanner, _i as UpgradePromptModal, Fo as VIBECONTROLS_TOUR_ROUTE_CATALOG, Pt as WsLink, cs as acknowledgeNativePurchase, r as alertTokens, io as appendContextToPath, gn as assignLocationWithAllowlist, Gt as attemptTokenRefresh, Dn as beginSsoNavigation, re as bootDesktopShell, kr as buildActorFallback, tr as buildQuotaExhaustedMessage, On as buildSsoDepositUrl, j as capitalizeFirst, M as capitalizeWords, Si as captureQuotaDialogOwners, i as categoryTokens, y as chartSeriesColor, b as chartSeriesIndex, xn as checkRemoteSLO, Sn as checkSLO, Ci as claimQuotaDialog, Kt as clearAuthSessionStorage, pt as clearGraphqlFetchResponseCache, Cn as clearLocalAuthState, Zt as clearSSoCookie, Qt as clearShellSsoCookies, kn as clearSsoDepositState, An as clearSsoNavigation, Kn as clearUserContext, lr as cn, wr as computePullOffset, Tr as computePullProgress, jn as consumeSsoDepositMarker, n as createApolloClient, la as createEventBus, Ba as createGlobalShortcuts, Ct as createGraphQLClient, Yn as createProfileScopedStorage, Ro as createTourPageIdResolver, x as dataTypeColor, S as dataTypeTextClasses, ie as desktopCheckForUpdates, ae as desktopDeepLinkToPath, oe as desktopInstallUpdate, se as desktopNotify, ce as desktopOpenExternal, le as desktopSetBadgeCount, ue as desktopSetLocale, de as desktopSetTheme, fe as desktopSetTrayQuickActions, ho as detectDeviceType, ti as detectPlatform, ot as dispatchBackendErrorEvent, wi as dispatchProductQuotaExhausted, $a as dispatchQuotaExhausted, vi as dispatchUpgradePrompt, sr as downscaleImage, C as edgeColor, Fe as emitProductSlug, st as extractBackendError, nr as extractQuotaExhaustedExtensions, rr as extractUpgradeErrorExtensions, He as findProductConfig, N as formatBytes, P as formatCompactNumber, F as formatCurrency, I as formatCurrencyCompact, L as formatDate, R as formatDateTime, z as formatDuration, ni as formatKeyCombo, B as formatList, V as formatNumber, H as formatOrdinal, U as formatPercentage, W as formatRelativeTime, G as formatTime, a as getAlertTokens, Io as getBuiltInTourRouteCatalog, $ as getCapacitorPlatform, o as getCategoryTokens, pe as getDesktopAuthBridgeConfig, me as getDesktopBridge, he as getDesktopGatewayBases, ge as getDesktopGatewayUrls, _e as getDesktopRuntimeConfig, ve as getDesktopUpdateState, ye as getDesktopWindowState, ri as getDisplayKeysForPlatform, $e as getGatewayConfig, et as getGatewayUrl, wt as getGlobalClient, Va as getGlobalShortcutsByCategory, tt as getGraphQLEndpoint, be as getLegacyDesktopRuntime, on as getNativeBridge, Ai as getNativeEntryRoutes, ls as getNativeProducts, us as getNativePurchases, Ja as getOrCreatePushDeviceId, sn as getPlatform, Ue as getProductUrl, We as getProductsWithUrls, Xn as getProfileScopedKey, s as getProgressTokens, hs as getPushOptInController, go as getResponsiveSelector, wn as getSSORedirectUrl, $t as getSSoCookie, qe as getShellConfig, ii as getShortcutLabel, c as getStatusBadgeTokens, l as getStatusTokens, mt as getStoredAuthToken, ht as getStoredLocale, gt as getStoredOrganizationId, _t as getStoredProjectId, vt as getStoredWorkspaceId, yt as getStoredWorkspaceToken, zo as getTourContextRank, Bo as getTourRouteCatalog, Vo as getTourRouteCatalogVersion, Ho as getTourRouteModules, Uo as getTourRoutePages, u as getTrendTokens, Tt as getWorkspaceClient, nt as getWorkspaceTokenPayload, zt as gql, bt as graphqlFetch, qt as hasAuthGraphQLErrors, Wo as hasRegisteredTourRouteCatalog, Pi as hasStoredValidSession, Et as initializeAppClients, qn as initializeLogger, xe as installDesktopDeepLinkHandler, Se as installDesktopNavigateHandler, Oe as installGatewayFetchRewrite, ds as installNativeIAP, ct as isAbortError, _n as isAllowedRedirectUrl, cn as isAndroid, Jt as isAuthGraphQLError, Yt as isAuthNetworkError, lt as isBackendErrorDisplay, ee as isCapacitorNative, Z as isChunkLoadError, Ce as isDesktop, ln as isElectron, un as isIOS, dn as isInstalledApp, ai as isMac, oi as isMobileDevice, fn as isNative, fs as isNativeIAPAvailable, ir as isQuotaExhaustedError, Ie as isSameProductSlug, en as isSharedSsoCookieDomain, Je as isShellLessRoute, Mn as isSsoNavigationPending, pn as isStandalonePWA, si as isTabletDevice, Go as isTourVisibleForContext, ut as isTransportError, tn as isTrustedSsoOrigin, ar as isUpgradeError, mn as isWeb, hn as isWebBrowser, rt as isWorkspaceTokenValidForContext, Q as lazyWithRetry, Le as legacyProductSlug, Lo as listBuiltInTourRouteCatalogProductIds, so as listUnsavedChanges, Wn as logManager, dt as markConnectionHealthy, Nn as markSsoDepositDone, Pn as markSsoDepositPending, ci as matchesKeyCombo, Ha as mergeShortcuts, Fn as mintSsoSessionTokens, ur as nativeActionSheet, dr as nativeConfirm, fr as nativeCopyText, pr as nativeImpact, mr as nativeNotify, hr as nativeOpenUrl, gr as nativeSelection, _r as nativeShare, vr as nativeToast, w as nodeCategoryClasses, T as nodeCategoryColor, E as nodeCategorySubtleColor, D as nodeStateColor, O as nodeStateRingClasses, li as normalizeKey, ui as normalizePlatformCombo, Re as normalizeProductSlug, Ko as normalizeTourPath, we as onDesktopUpdateState, Te as onDesktopWindowState, vn as openUrlInNewTabWithAllowlist, di as parseKeyCombo, K as pluralize, Ft as prepareWorkspaceRequest, d as progressTokens, no as publishPlanUsageSnapshot, ps as purchaseNativeProduct, Ti as quotaEventKind, ia as readAnalyticsConsent, aa as readAnalyticsConsentChoice, br as readInitialNetworkStatus, nn as readShellSsoCookie, In as readSsoDepositState, gs as recordPushPermissionPromptDismissed, Xt as redirectToLogin, Tn as redirectToSSO, xr as reduceNetworkStatus, Ee as registerDesktopNavigator, Ya as registerPushDevice, _s as registerPushOptInController, qo as registerTourRouteCatalog, co as registerUnsavedChange, yn as replaceLocationWithAllowlist, Dt as resetAppClients, qi as resolveActionSheetOutcome, as as resolveAppShellObservabilityConfig, je as resolveAuthBridgeConfig, ke as resolveGatewayBases, xt as resolveGatewayUrl, De as resolveGatewayUrls, Fi as resolveLandingGate, Ei as resolveQuotaUpgradeCopy, Me as resolveShellAuthBridgeConfig, Jo as resolveTourTargetPath, ms as restoreNativePurchases, cr as selectInlineBase64, oa as setAnalyticsConsent, rn as setSSoCookie, an as setShellSsoCookies, Jn as setUserContext, Ln as shouldAttemptSsoDeposit, fi as shouldEnableKeyboardShortcuts, pi as shouldIgnoreShortcut, vs as shouldPromptForPushPermission, Ye as shouldShowBreadcrumb, ji as shouldShowNativeWelcome, Xe as shouldShowSidebar, ft as shouldToastBackendError, q as slugify, f as statusTokens, Yo as subscribeTourRouteCatalogs, Ae as suppressConsole, J as toCamelCase, k as toDataType, A as toNodeCategory, Y as toPascalCase, p as trendTokens, X as truncateText, Xa as unregisterPushDevice, lo as unsavedChangesBlocking, Ji as useActionSheet, Ar as useActorProfiles, Bt as useApolloClient, Ui as useAppState, Ma as useAsync, Na as useAsyncImmediate, Zo as useAutoStartTour, ga as useBreakpoint, Oa as useConditionalToggle, e as useCopyToClipboard, ao as useCurrentContextSearchParams, pa as useDebounce, Yi as useDesktop, Xi as useDesktopUpdateState, Zi as useDesktopWindowState, Wi as useDeviceInfo, ua as useEvent, da as useEventBus, fa as useEventEmitter, Sa as useExclusiveMenu, Xr as useFeatureFlag, Zr as useFeatureFlagDetails, Qr as useFeatureFlagValue, Yr as useFeatureFlags, kt as useGateway, At as useGatewayClient, Gi as useHaptics, Wa as useHasAnimated, Nt as useHasAuthToken, La as useHotkeys, xo as useIsTourPlaying, ba as useKeyPress, xa as useKeyboardShortcut, Ia as useKeyboardShortcuts, Vt as useLazyQuery, Ca as useLocalStorage, Ua as useLogger, t as useMediaQuery, po as useMicrofrontendContext, _a as useMobileBreakpoint, Ht as useMutation, Hi as useNativeKeyboard, Bi as useNativePlatform, Sr as useNetworkStatus, va as useOnClickOutside, ya as useOnClickOutsideWithRef, Gr as usePWA, ja as usePagination, Do as usePlayTour, Ta as usePrevious, Ea as usePreviousDistinct, Da as usePreviousHistory, Er as usePullToRefresh, Za as usePushDeviceRegistration, Ut as useQuery, Di as useQuotaDialogOwnership, eo as useQuotaErrorToast, Oi as useQuotaUpgradeBridge, Ka as useRecordProductVisit, Ga as useReferralAttribution, ns as useRegisterTourRouteCatalog, zn as useRegistryHelpers, Dr as useReturnFocus, Vi as useSafeArea, jt as useSafeGateway, Mt as useSafeGatewayClient, Qo as useSafeToursContext, wa as useSessionStorage, Bn as useShellNavigate, Ra as useShortcutHelp, So as useStartTour, Ki as useStatusBar, Co as useStopTour, Wt as useSubscription, ma as useThrottle, ka as useToggle, Aa as useToggleObject, _o as useTourPlayer, wo as useTourPlayerContext, rs as useTourRouteCatalog, $o as useTours, es as useToursContext, uo as useUnsavedChanges, ro as useUpgradePrompt, Ii as useVoiceInput, ki as withQuotaDialogOwnership, mo as withTourProgressStatus };
|
|
@@ -17,10 +17,33 @@ import { HTMLAttributes } from 'react';
|
|
|
17
17
|
* (`--color-accent-primary`) auto-applies. All motion is CSS-based and disabled
|
|
18
18
|
* under `prefers-reduced-motion` / `data-reduce-motion` (Boff UI 2.0), and a
|
|
19
19
|
* short anti-flash delay avoids a flicker on sub-200ms loads.
|
|
20
|
+
*
|
|
21
|
+
* Copy is localised through the shell i18n service (`splash.*` keys, English
|
|
22
|
+
* fallback, never throws outside an `I18nProvider`). A shell names the step it
|
|
23
|
+
* is waiting on with `phase` instead of hard-coding English:
|
|
24
|
+
*
|
|
25
|
+
* <BrandedSplash phase="checkingAccess" />
|
|
26
|
+
* <BrandedSplash phase="signingIn" showTagline />
|
|
27
|
+
*
|
|
28
|
+
* Precedence for the status line: `label` (literal) → `phase` → `splash.default`.
|
|
20
29
|
*/
|
|
30
|
+
/** The loading steps a shell can name; each resolves the `splash.<phase>` key. */
|
|
31
|
+
export type BrandedSplashPhase = 'default' | 'signingIn' | 'checkingAccess' | 'validatingSession' | 'redirecting' | 'preparingDashboard';
|
|
21
32
|
export interface BrandedSplashProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
22
|
-
/**
|
|
33
|
+
/**
|
|
34
|
+
* Literal status line under the wordmark; wins over `phase`. Defaults to the
|
|
35
|
+
* localised `splash.default` ("Loading <product>…").
|
|
36
|
+
*/
|
|
23
37
|
label?: string;
|
|
38
|
+
/** Localised status line for a named loading step (`splash.<phase>`). */
|
|
39
|
+
phase?: BrandedSplashPhase;
|
|
40
|
+
/**
|
|
41
|
+
* Show the product tagline under the wordmark. Text: `tagline`, else the
|
|
42
|
+
* localised `splash.tagline`, else the AppShell tagline. Default false.
|
|
43
|
+
*/
|
|
44
|
+
showTagline?: boolean;
|
|
45
|
+
/** Literal tagline (implies nothing unless `showTagline` is set). */
|
|
46
|
+
tagline?: string;
|
|
24
47
|
/** `fullscreen` (fixed overlay) or `inline` (fills its container). */
|
|
25
48
|
variant?: 'fullscreen' | 'inline';
|
|
26
49
|
/** Logo asset; defaults to the shell PWA icon. */
|
|
@@ -28,4 +51,4 @@ export interface BrandedSplashProps extends Omit<HTMLAttributes<HTMLDivElement>,
|
|
|
28
51
|
/** Anti-flash delay in ms before the splash appears (0 shows immediately). */
|
|
29
52
|
delayMs?: number;
|
|
30
53
|
}
|
|
31
|
-
export declare function BrandedSplash({ label, variant, logoSrc, delayMs, className, ...rest }: BrandedSplashProps): import('react/jsx-runtime').JSX.Element | null;
|
|
54
|
+
export declare function BrandedSplash({ label, phase, showTagline, tagline, variant, logoSrc, delayMs, className, ...rest }: BrandedSplashProps): import('react/jsx-runtime').JSX.Element | null;
|
|
@@ -1,31 +1,42 @@
|
|
|
1
1
|
import { useAppShell as e } from "../shared/providers/shell/AppShellContext.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { useShellLabel as t } from "../shared/providers/shell/useShellLabel.js";
|
|
3
|
+
import { cn as n } from "../shared-utils.js";
|
|
4
|
+
import { useEffect as r, useState as i } from "react";
|
|
5
|
+
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
5
6
|
//#region src/ui/branded-splash.tsx
|
|
6
|
-
function
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
function s(e, t, n) {
|
|
8
|
+
switch (t) {
|
|
9
|
+
case "signingIn": return e("splash.signingIn", "Signing you in…");
|
|
10
|
+
case "checkingAccess": return e("splash.checkingAccess", "Checking workspace access…");
|
|
11
|
+
case "validatingSession": return e("splash.validatingSession", "Validating session…");
|
|
12
|
+
case "redirecting": return e("splash.redirecting", "Redirecting…");
|
|
13
|
+
case "preparingDashboard": return e("splash.preparingDashboard", "Preparing your dashboard…");
|
|
14
|
+
case "default": return e("splash.default", "Loading {{product}}…", { product: n });
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
function c({ label: c, phase: l = "default", showTagline: u = !1, tagline: d, variant: f = "fullscreen", logoSrc: p = "/icons/icon.svg", delayMs: m = 150, className: h, ...g }) {
|
|
18
|
+
let { productName: _, brandInitial: v, tagline: y } = e(), b = t(), [x, S] = i(m <= 0), [C, w] = i(!1);
|
|
19
|
+
if (r(() => {
|
|
20
|
+
if (m <= 0) return;
|
|
21
|
+
let e = setTimeout(() => S(!0), m);
|
|
11
22
|
return () => clearTimeout(e);
|
|
12
|
-
}, [
|
|
13
|
-
let
|
|
14
|
-
return /* @__PURE__ */
|
|
23
|
+
}, [m]), !x) return null;
|
|
24
|
+
let T = c ?? s(b, l, _), E = u ? d ?? b("splash.tagline", y) : null;
|
|
25
|
+
return /* @__PURE__ */ o("div", {
|
|
15
26
|
role: "status",
|
|
16
27
|
"aria-live": "polite",
|
|
17
|
-
"aria-label":
|
|
18
|
-
className:
|
|
19
|
-
...
|
|
28
|
+
"aria-label": T,
|
|
29
|
+
className: n("flex flex-col items-center justify-center gap-6 motion-safe:animate-in motion-safe:fade-in-0 motion-safe:duration-300", f === "fullscreen" ? "fixed inset-0 z-[9000] bg-bg-canvas px-6 pt-[env(safe-area-inset-top)] pb-[env(safe-area-inset-bottom)]" : "min-h-[60vh] w-full px-6 py-12", h),
|
|
30
|
+
...g,
|
|
20
31
|
children: [
|
|
21
|
-
/* @__PURE__ */
|
|
32
|
+
/* @__PURE__ */ a("div", {
|
|
22
33
|
"aria-hidden": "true",
|
|
23
34
|
className: "pointer-events-none absolute inset-0 -z-10",
|
|
24
35
|
style: { backgroundImage: "radial-gradient(circle at 30% 25%, color-mix(in oklab, var(--color-accent-primary) 8%, transparent), transparent 55%),radial-gradient(circle at 70% 78%, color-mix(in oklab, var(--color-accent-secondary, var(--color-accent-primary)) 5%, transparent), transparent 55%)" }
|
|
25
36
|
}),
|
|
26
|
-
/* @__PURE__ */
|
|
37
|
+
/* @__PURE__ */ o("div", {
|
|
27
38
|
className: "relative flex h-20 w-20 items-center justify-center",
|
|
28
|
-
children: [/* @__PURE__ */
|
|
39
|
+
children: [/* @__PURE__ */ a("span", {
|
|
29
40
|
"aria-hidden": "true",
|
|
30
41
|
className: "absolute inset-0 rounded-full motion-safe:animate-spin",
|
|
31
42
|
style: {
|
|
@@ -33,32 +44,38 @@ function o({ label: o, variant: s = "fullscreen", logoSrc: c = "/icons/icon.svg"
|
|
|
33
44
|
filter: "blur(6px)",
|
|
34
45
|
animationDuration: "5s"
|
|
35
46
|
}
|
|
36
|
-
}),
|
|
47
|
+
}), C ? /* @__PURE__ */ a("span", {
|
|
37
48
|
className: "relative flex h-16 w-16 items-center justify-center rounded-2xl bg-action-primary-bg text-action-primary-text text-2xl font-semibold shadow-elevation-1 motion-safe:animate-pulse",
|
|
38
|
-
children:
|
|
39
|
-
}) : /* @__PURE__ */
|
|
40
|
-
src:
|
|
49
|
+
children: v
|
|
50
|
+
}) : /* @__PURE__ */ a("img", {
|
|
51
|
+
src: p,
|
|
41
52
|
alt: "",
|
|
42
53
|
"aria-hidden": "true",
|
|
43
|
-
onError: () =>
|
|
54
|
+
onError: () => w(!0),
|
|
44
55
|
className: "relative h-16 w-16 rounded-2xl motion-safe:animate-pulse"
|
|
45
56
|
})]
|
|
46
57
|
}),
|
|
47
|
-
/* @__PURE__ */
|
|
58
|
+
/* @__PURE__ */ o("div", {
|
|
48
59
|
className: "flex flex-col items-center gap-3",
|
|
49
60
|
children: [
|
|
50
|
-
/* @__PURE__ */
|
|
51
|
-
className: "
|
|
52
|
-
children:
|
|
61
|
+
/* @__PURE__ */ o("div", {
|
|
62
|
+
className: "flex flex-col items-center gap-1 text-center",
|
|
63
|
+
children: [/* @__PURE__ */ a("h1", {
|
|
64
|
+
className: "text-lg font-semibold text-text-primary",
|
|
65
|
+
children: _
|
|
66
|
+
}), E ? /* @__PURE__ */ a("p", {
|
|
67
|
+
className: "text-sm text-text-secondary",
|
|
68
|
+
children: E
|
|
69
|
+
}) : null]
|
|
53
70
|
}),
|
|
54
|
-
/* @__PURE__ */
|
|
71
|
+
/* @__PURE__ */ a("div", {
|
|
55
72
|
className: "flex items-center gap-1.5",
|
|
56
73
|
"aria-hidden": "true",
|
|
57
74
|
children: [
|
|
58
75
|
0,
|
|
59
76
|
1,
|
|
60
77
|
2
|
|
61
|
-
].map((e) => /* @__PURE__ */
|
|
78
|
+
].map((e) => /* @__PURE__ */ a("span", {
|
|
62
79
|
className: "h-1.5 w-1.5 rounded-full bg-action-primary-bg opacity-60 motion-safe:animate-pulse",
|
|
63
80
|
style: {
|
|
64
81
|
animationDelay: `${e * .15}s`,
|
|
@@ -66,9 +83,9 @@ function o({ label: o, variant: s = "fullscreen", logoSrc: c = "/icons/icon.svg"
|
|
|
66
83
|
}
|
|
67
84
|
}, e))
|
|
68
85
|
}),
|
|
69
|
-
/* @__PURE__ */
|
|
86
|
+
/* @__PURE__ */ a("p", {
|
|
70
87
|
className: "text-xs text-text-secondary",
|
|
71
|
-
children:
|
|
88
|
+
children: T
|
|
72
89
|
})
|
|
73
90
|
]
|
|
74
91
|
})
|
|
@@ -76,4 +93,4 @@ function o({ label: o, variant: s = "fullscreen", logoSrc: c = "/icons/icon.svg"
|
|
|
76
93
|
});
|
|
77
94
|
}
|
|
78
95
|
//#endregion
|
|
79
|
-
export {
|
|
96
|
+
export { c as BrandedSplash };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { useShellLabel as e } from "../shared/providers/shell/useShellLabel.js";
|
|
2
|
+
import { cn as t } from "../shared-utils.js";
|
|
3
|
+
import { Button as n } from "./button.js";
|
|
4
|
+
import { DropdownMenu as r, DropdownMenuContent as i, DropdownMenuItem as a, DropdownMenuTrigger as o } from "./dropdown-menu.js";
|
|
5
5
|
import { MoreHorizontal as s } from "lucide-react";
|
|
6
6
|
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
7
7
|
//#region src/ui/cta-overflow-menu.tsx
|
|
8
8
|
function u({ primary: u, actions: d, align: f = "end", className: p }) {
|
|
9
|
-
let m =
|
|
9
|
+
let m = e();
|
|
10
10
|
return /* @__PURE__ */ l("div", {
|
|
11
|
-
className:
|
|
12
|
-
children: [u ? /* @__PURE__ */ l(
|
|
11
|
+
className: t("flex items-center gap-2", p),
|
|
12
|
+
children: [u ? /* @__PURE__ */ l(n, {
|
|
13
13
|
type: "button",
|
|
14
14
|
variant: "default",
|
|
15
15
|
onClick: u.onSelect,
|
|
16
16
|
disabled: u.disabled,
|
|
17
17
|
children: [u.icon, u.label]
|
|
18
|
-
}) : null, d.length > 0 ? /* @__PURE__ */ l(
|
|
18
|
+
}) : null, d.length > 0 ? /* @__PURE__ */ l(r, { children: [/* @__PURE__ */ c(o, {
|
|
19
19
|
asChild: !0,
|
|
20
|
-
children: /* @__PURE__ */ c(
|
|
20
|
+
children: /* @__PURE__ */ c(n, {
|
|
21
21
|
type: "button",
|
|
22
22
|
variant: "outline",
|
|
23
23
|
size: "icon",
|
|
24
24
|
"aria-label": m("common.moreActions", "More actions"),
|
|
25
25
|
children: /* @__PURE__ */ c(s, {})
|
|
26
26
|
})
|
|
27
|
-
}), /* @__PURE__ */ c(
|
|
27
|
+
}), /* @__PURE__ */ c(i, {
|
|
28
28
|
align: f,
|
|
29
|
-
children: d.map((
|
|
30
|
-
"data-tour":
|
|
31
|
-
disabled:
|
|
32
|
-
onSelect:
|
|
33
|
-
className:
|
|
34
|
-
children: [
|
|
35
|
-
}, `${
|
|
29
|
+
children: d.map((e, n) => /* @__PURE__ */ l(a, {
|
|
30
|
+
"data-tour": e.dataTour,
|
|
31
|
+
disabled: e.disabled,
|
|
32
|
+
onSelect: e.onSelect,
|
|
33
|
+
className: t("gap-2", e.intent === "destructive" && "text-status-error-text focus:text-status-error-text focus:bg-status-error-bg-subtle"),
|
|
34
|
+
children: [e.icon, e.label]
|
|
35
|
+
}, `${e.label}-${n}`))
|
|
36
36
|
})] }) : null]
|
|
37
37
|
});
|
|
38
38
|
}
|
package/dist/ui/guidance.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { useShellLabel as e } from "../shared/providers/shell/useShellLabel.js";
|
|
2
|
+
import { cn as t } from "../shared-utils.js";
|
|
3
3
|
import { useEffect as n, useState as r } from "react";
|
|
4
4
|
import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
5
5
|
//#region src/ui/guidance.tsx
|
|
@@ -17,13 +17,13 @@ var s = ({ className: e }) => /* @__PURE__ */ o("svg", {
|
|
|
17
17
|
opacity: "0.6"
|
|
18
18
|
})]
|
|
19
19
|
});
|
|
20
|
-
function c({ children:
|
|
20
|
+
function c({ children: e, icon: n, learnMoreHref: r, learnMoreLabel: s = "Learn more", className: c }) {
|
|
21
21
|
return /* @__PURE__ */ o("p", {
|
|
22
|
-
className:
|
|
22
|
+
className: t("flex items-start gap-2 text-sm leading-relaxed text-text-secondary", c),
|
|
23
23
|
children: [n && /* @__PURE__ */ a("span", {
|
|
24
24
|
className: "mt-0.5 shrink-0 text-text-muted",
|
|
25
25
|
children: n
|
|
26
|
-
}), /* @__PURE__ */ o("span", { children: [
|
|
26
|
+
}), /* @__PURE__ */ o("span", { children: [e, r && /* @__PURE__ */ o(i, { children: [" ", /* @__PURE__ */ a("a", {
|
|
27
27
|
href: r,
|
|
28
28
|
className: "font-medium text-text-link underline-offset-2 hover:underline",
|
|
29
29
|
target: r.startsWith("http") ? "_blank" : void 0,
|
|
@@ -35,7 +35,7 @@ function c({ children: t, icon: n, learnMoreHref: r, learnMoreLabel: s = "Learn
|
|
|
35
35
|
c.displayName = "PagePurpose";
|
|
36
36
|
var l = "boff-nextsteps-";
|
|
37
37
|
function u({ steps: i, title: c, storageKey: u, className: d }) {
|
|
38
|
-
let f =
|
|
38
|
+
let f = e(), p = c ?? f("guidance.title", "Suggested next steps"), m = l + u, [h, g] = r(!1);
|
|
39
39
|
n(() => {
|
|
40
40
|
try {
|
|
41
41
|
g(localStorage.getItem(m) === "1");
|
|
@@ -51,13 +51,13 @@ function u({ steps: i, title: c, storageKey: u, className: d }) {
|
|
|
51
51
|
if (h) return /* @__PURE__ */ o("button", {
|
|
52
52
|
type: "button",
|
|
53
53
|
onClick: () => _(!1),
|
|
54
|
-
className:
|
|
54
|
+
className: t("inline-flex items-center gap-1.5 rounded-full border border-border-seam bg-[var(--color-surface-glass)] px-3 py-1.5 text-xs font-medium text-text-secondary shadow-elevation-1 backdrop-blur-[var(--blur-glass)] transition-[box-shadow,border-color] hover:border-border-strong hover:text-text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-focus-ring)]", d),
|
|
55
55
|
children: [/* @__PURE__ */ a(s, { className: "size-3.5 text-[var(--color-action-primary-bg)]" }), "Show suggestions"]
|
|
56
56
|
});
|
|
57
57
|
let v = i.filter((e) => !e.done).length;
|
|
58
58
|
return /* @__PURE__ */ o("section", {
|
|
59
59
|
"aria-label": p,
|
|
60
|
-
className:
|
|
60
|
+
className: t("relative overflow-hidden rounded-card border border-border-seam bg-bg-surface bg-accent-wash shadow-[var(--shadow-pop)]", d),
|
|
61
61
|
children: [/* @__PURE__ */ o("div", {
|
|
62
62
|
className: "flex items-center justify-between gap-3 px-4 pt-3.5",
|
|
63
63
|
children: [/* @__PURE__ */ o("h3", {
|
|
@@ -90,15 +90,15 @@ function u({ steps: i, title: c, storageKey: u, className: d }) {
|
|
|
90
90
|
})]
|
|
91
91
|
}), /* @__PURE__ */ a("ul", {
|
|
92
92
|
className: "flex flex-col gap-1 p-2.5 pt-2",
|
|
93
|
-
children: i.map((
|
|
94
|
-
...
|
|
93
|
+
children: i.map((e) => /* @__PURE__ */ a("li", { children: /* @__PURE__ */ o(e.href ? "a" : "button", {
|
|
94
|
+
...e.href ? { href: e.href } : {
|
|
95
95
|
type: "button",
|
|
96
|
-
onClick:
|
|
96
|
+
onClick: e.onClick
|
|
97
97
|
},
|
|
98
|
-
className:
|
|
98
|
+
className: t("group flex w-full items-start gap-3 rounded-lg px-2.5 py-2 text-left transition-colors hover:bg-[var(--color-surface-glass)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-focus-ring)]", e.done && "opacity-60"),
|
|
99
99
|
children: [/* @__PURE__ */ a("span", {
|
|
100
|
-
className:
|
|
101
|
-
children:
|
|
100
|
+
className: t("mt-0.5 grid size-7 shrink-0 place-items-center rounded-full border text-[var(--color-action-primary-bg)]", e.done ? "border-border-subtle bg-bg-muted text-text-muted" : "border-[color-mix(in_oklab,var(--color-action-primary-bg)_35%,transparent)] bg-[color-mix(in_oklab,var(--color-action-primary-bg)_12%,transparent)]"),
|
|
101
|
+
children: e.done ? /* @__PURE__ */ a("svg", {
|
|
102
102
|
viewBox: "0 0 24 24",
|
|
103
103
|
className: "size-4",
|
|
104
104
|
fill: "none",
|
|
@@ -110,18 +110,18 @@ function u({ steps: i, title: c, storageKey: u, className: d }) {
|
|
|
110
110
|
strokeLinecap: "round",
|
|
111
111
|
strokeLinejoin: "round"
|
|
112
112
|
})
|
|
113
|
-
}) :
|
|
113
|
+
}) : e.icon ?? /* @__PURE__ */ a(s, { className: "size-4" })
|
|
114
114
|
}), /* @__PURE__ */ o("span", {
|
|
115
115
|
className: "min-w-0 flex-1",
|
|
116
116
|
children: [/* @__PURE__ */ a("span", {
|
|
117
117
|
className: "block text-sm font-medium text-text-primary",
|
|
118
|
-
children:
|
|
119
|
-
}),
|
|
118
|
+
children: e.label
|
|
119
|
+
}), e.description && /* @__PURE__ */ a("span", {
|
|
120
120
|
className: "block text-xs text-text-secondary",
|
|
121
|
-
children:
|
|
121
|
+
children: e.description
|
|
122
122
|
})]
|
|
123
123
|
})]
|
|
124
|
-
}) },
|
|
124
|
+
}) }, e.id))
|
|
125
125
|
})]
|
|
126
126
|
});
|
|
127
127
|
}
|
package/dist/ui/index.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ export { GlassCard, glassCardVariants, type GlassCardProps } from './glass-card'
|
|
|
36
36
|
export { EmphasisPanel, type EmphasisPanelProps } from './emphasis-panel';
|
|
37
37
|
export { ShowMore, type ShowMoreProps } from './show-more';
|
|
38
38
|
export { CTAOverflowMenu, type CTAOverflowMenuProps, type CTAAction, type CTAPrimaryAction, } from './cta-overflow-menu';
|
|
39
|
-
export { BrandedSplash, type BrandedSplashProps } from './branded-splash';
|
|
39
|
+
export { BrandedSplash, type BrandedSplashPhase, type BrandedSplashProps } from './branded-splash';
|
|
40
40
|
export { ModernLanding, type ModernLandingProps, type ModernLandingFeature, } from './modern-landing';
|
|
41
41
|
export { AuroraBackground, type AuroraBackgroundProps } from './aurora-background';
|
|
42
42
|
export { Illustration, type IllustrationProps, IllustratedEmptyState, type IllustratedEmptyStateProps, } from './illustration';
|