@burdenoff/fe-libs 2026.928.1 → 2026.928.3
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/SideNavigation.d.ts.map +1 -1
- package/dist/chrome/SideNavigation.js +71 -68
- package/dist/chrome/sideNavigation/sideNavEscape.d.ts +41 -0
- package/dist/chrome/sideNavigation/sideNavEscape.d.ts.map +1 -0
- package/dist/chrome/sideNavigation/sideNavEscape.js +8 -0
- package/dist/chrome/sideNavigation/useSideNavigationState.d.ts +8 -1
- package/dist/chrome/sideNavigation/useSideNavigationState.d.ts.map +1 -1
- package/dist/chrome/sideNavigation/useSideNavigationState.js +35 -23
- package/dist/shared/assistant/ui/AIAssistantPanel.d.ts.map +1 -1
- package/dist/shared/assistant/ui/AIAssistantPanel.js +82 -79
- package/dist/shared/assistant/ui/AssistantOverlay.d.ts.map +1 -1
- package/dist/shared/assistant/ui/AssistantOverlay.js +86 -84
- package/dist/shared/assistant/ui/assistantOverlayState.d.ts +31 -8
- package/dist/shared/assistant/ui/assistantOverlayState.d.ts.map +1 -1
- package/dist/shared/assistant/ui/assistantOverlayState.js +22 -16
- package/dist/shared/assistant/ui/panelOverlays.d.ts +31 -0
- package/dist/shared/assistant/ui/panelOverlays.d.ts.map +1 -1
- package/dist/shared/assistant/ui/panelOverlays.js +11 -8
- package/dist/shared/assistant/ui/voice/AssistantVoiceSession.d.ts.map +1 -1
- package/dist/shared/assistant/ui/voice/AssistantVoiceSession.js +78 -74
- package/dist/shared/assistant/ui/voice/VoiceTranscriptDrawer.d.ts.map +1 -1
- package/dist/shared/assistant/ui/voice/VoiceTranscriptDrawer.js +40 -39
- package/dist/shared/assistant/ui/voice/voiceSessionEscape.d.ts.map +1 -1
- package/dist/shared/assistant/ui/voice/voiceSessionEscape.js +7 -10
- package/dist/shared/assistant/useAssistantKeyboardShortcuts.d.ts +3 -1
- package/dist/shared/assistant/useAssistantKeyboardShortcuts.d.ts.map +1 -1
- package/dist/shared/assistant/useAssistantKeyboardShortcuts.js +25 -25
- package/dist/shared/graphql/fetch.d.ts +12 -1
- package/dist/shared/graphql/fetch.d.ts.map +1 -1
- package/dist/shared/graphql/fetch.js +101 -80
- package/dist/shared/hooks/index.d.ts +1 -0
- package/dist/shared/hooks/index.d.ts.map +1 -1
- package/dist/shared/hooks/useReturnFocus.d.ts +56 -0
- package/dist/shared/hooks/useReturnFocus.d.ts.map +1 -0
- package/dist/shared/hooks/useReturnFocus.js +41 -0
- package/dist/shared/providers/AppShellProvider.d.ts +12 -1
- package/dist/shared/providers/AppShellProvider.d.ts.map +1 -1
- package/dist/shared/providers/AppShellProvider.js +175 -161
- package/dist/shared/providers/shell/ActiveContextProvider.d.ts.map +1 -1
- package/dist/shared/providers/shell/ActiveContextProvider.js +28 -26
- package/dist/shared/providers/shell/PersonaSurfaceProvider.d.ts.map +1 -1
- package/dist/shared/providers/shell/PersonaSurfaceProvider.js +165 -193
- package/dist/shared/providers/shell/personaSurfaceRemote.d.ts +8 -2
- package/dist/shared/providers/shell/personaSurfaceRemote.d.ts.map +1 -1
- package/dist/shared/providers/shell/personaSurfaceRemote.js +37 -15
- package/dist/shared/providers/shell/useRemoteNavPreferences.d.ts +30 -0
- package/dist/shared/providers/shell/useRemoteNavPreferences.d.ts.map +1 -0
- package/dist/shared/providers/shell/useRemoteNavPreferences.js +43 -0
- package/dist/shared-assistant.js +76 -76
- package/dist/shared-hooks.js +34 -33
- package/dist/shared.js +89 -88
- package/dist/ui/modal-shell.d.ts.map +1 -1
- package/dist/ui/modal-shell.js +23 -13
- package/package.json +2 -2
package/dist/shared.js
CHANGED
|
@@ -42,98 +42,99 @@ import { nativeActionSheet as Vn, nativeConfirm as Hn, nativeCopyText as Un, nat
|
|
|
42
42
|
import { SafeAreaView as Xn } from "./shared/native/SafeAreaView.js";
|
|
43
43
|
import { readInitialNetworkStatus as Zn, reduceNetworkStatus as Qn, useNetworkStatus as $n } from "./shared/native/hooks/useNetworkStatus.js";
|
|
44
44
|
import { PULL_TO_REFRESH_THRESHOLD as er, computePullOffset as tr, computePullProgress as nr, usePullToRefresh as rr } from "./shared/native/hooks/usePullToRefresh.js";
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
45
|
+
import { useReturnFocus as ir } from "./shared/hooks/useReturnFocus.js";
|
|
46
|
+
import { ActorIdentity as ar } from "./shared/actors/ActorIdentity.js";
|
|
47
|
+
import { buildActorFallback as or, useActorProfiles as sr } from "./shared/actors/useActorProfiles.js";
|
|
48
|
+
import { ErrorBoundary as cr } from "./shared/components/ErrorBoundary.js";
|
|
49
|
+
import { RequireAuth as lr, RequireGuest as ur } from "./shared/components/RequireAuth.js";
|
|
50
|
+
import { PermissionButton as dr, PermissionGate as fr, PermissionLink as pr } from "./shared/components/PermissionGate.js";
|
|
51
|
+
import { AccessDenied as mr, PermissionDenied as hr } from "./shared/components/AccessDenied.js";
|
|
52
|
+
import { ErrorFallback as gr } from "./shared/components/ErrorFallback.js";
|
|
53
|
+
import { LoadingFallback as _r, PageLoadingFallback as vr, SectionLoadingFallback as yr } from "./shared/components/LoadingFallback.js";
|
|
54
|
+
import { MicrofrontendErrorBoundary as br } from "./shared/components/MicrofrontendErrorBoundary.js";
|
|
55
|
+
import { ConditionalShell as xr } from "./shared/components/ConditionalShell.js";
|
|
56
|
+
import { usePWA as Sr } from "./shared/hooks/usePWA.js";
|
|
57
|
+
import { PWAInstallBanner as Cr } from "./shared/components/PWAInstallBanner.js";
|
|
58
|
+
import { ErrorBoundary as wr } from "./shared/components/AppErrorBoundary.js";
|
|
59
|
+
import { FeatureFlagProvider as Tr, useFeatureFlags as Er } from "./shared/feature-flags/FeatureFlagProvider.js";
|
|
60
|
+
import { useFeatureFlag as Dr, useFeatureFlagDetails as Or, useFeatureFlagValue as kr } from "./shared/feature-flags/useFeatureFlag.js";
|
|
61
|
+
import { FeatureGate as Ar } from "./shared/feature-flags/FeatureGate.js";
|
|
61
62
|
import "./shared-feature-flags.js";
|
|
62
|
-
import { ContextConversationWidget as
|
|
63
|
-
import { detectPlatform as
|
|
64
|
-
import { KeyboardHelpDialogWrapper as
|
|
65
|
-
import { QuotaMeter as
|
|
66
|
-
import { UPGRADE_PROMPT_EVENT as
|
|
67
|
-
import { UpgradeInlineBanner as
|
|
68
|
-
import { useVoiceInput as
|
|
69
|
-
import { ASSISTANT_WIDGET_TOGGLE_EVENT as
|
|
70
|
-
import { Markdown as
|
|
71
|
-
import { useNativePlatform as
|
|
72
|
-
import { useSafeArea as
|
|
73
|
-
import { useNativeKeyboard as
|
|
74
|
-
import { useAppState as
|
|
75
|
-
import { useDeviceInfo as
|
|
76
|
-
import { useHaptics as
|
|
77
|
-
import { useStatusBar as
|
|
78
|
-
import { resolveActionSheetOutcome as
|
|
79
|
-
import { useDesktop as
|
|
80
|
-
import { useDesktopUpdateState as
|
|
81
|
-
import { useDesktopWindowState as
|
|
82
|
-
import { DesktopUpdateToast as
|
|
63
|
+
import { ContextConversationWidget as jr } from "./shared/components/ContextConversationWidget.js";
|
|
64
|
+
import { detectPlatform as Mr, formatKeyCombo as Nr, getDisplayKeysForPlatform as Pr, getShortcutLabel as Fr, isMac as Ir, isMobileDevice as Lr, isTabletDevice as Rr, matchesKeyCombo as zr, normalizeKey as Br, normalizePlatformCombo as Vr, parseKeyCombo as Hr, shouldEnableKeyboardShortcuts as Ur, shouldIgnoreShortcut as Wr } from "./shared/keyboard/utils.js";
|
|
65
|
+
import { KeyboardHelpDialogWrapper as Gr } from "./shared/components/KeyboardHelpDialogWrapper.js";
|
|
66
|
+
import { QuotaMeter as Kr } from "./shared/components/QuotaMeter.js";
|
|
67
|
+
import { UPGRADE_PROMPT_EVENT as qr, UpgradePromptModal as Jr, dispatchUpgradePrompt as Yr } from "./shared/components/UpgradePromptModal.js";
|
|
68
|
+
import { UpgradeInlineBanner as Xr } from "./shared/components/UpgradeInlineBanner.js";
|
|
69
|
+
import { useVoiceInput as Zr } from "./shared/components/assistantWidget/useVoiceInput.js";
|
|
70
|
+
import { ASSISTANT_WIDGET_TOGGLE_EVENT as Qr, AssistantWidget as $r } from "./shared/components/assistantWidget/AssistantWidget.js";
|
|
71
|
+
import { Markdown as ei } from "./shared/components/Markdown.js";
|
|
72
|
+
import { useNativePlatform as ti } from "./shared/native/hooks/useNativePlatform.js";
|
|
73
|
+
import { useSafeArea as ni } from "./shared/native/hooks/useSafeArea.js";
|
|
74
|
+
import { useNativeKeyboard as ri } from "./shared/native/hooks/useNativeKeyboard.js";
|
|
75
|
+
import { useAppState as ii } from "./shared/native/hooks/useAppState.js";
|
|
76
|
+
import { useDeviceInfo as ai } from "./shared/native/hooks/useDeviceInfo.js";
|
|
77
|
+
import { useHaptics as oi } from "./shared/native/hooks/useHaptics.js";
|
|
78
|
+
import { useStatusBar as si } from "./shared/native/hooks/useStatusBar.js";
|
|
79
|
+
import { resolveActionSheetOutcome as ci, useActionSheet as li } from "./shared/native/hooks/useActionSheet.js";
|
|
80
|
+
import { useDesktop as ui } from "./shared/native/hooks/useDesktop.js";
|
|
81
|
+
import { useDesktopUpdateState as di } from "./shared/native/hooks/useDesktopUpdateState.js";
|
|
82
|
+
import { useDesktopWindowState as fi } from "./shared/native/hooks/useDesktopWindowState.js";
|
|
83
|
+
import { DesktopUpdateToast as pi } from "./shared/components/DesktopUpdateToast.js";
|
|
83
84
|
import "./shared-components.js";
|
|
84
|
-
import { DevtoolsSink as
|
|
85
|
-
import { BroadcastChannelSink as
|
|
86
|
-
import { BackendAuditSink as
|
|
87
|
-
import { AnalyticsConsentBanner as
|
|
88
|
-
import { OtelBrowserSink as
|
|
89
|
-
import { EventBusProvider as
|
|
90
|
-
import { useDebounce as
|
|
91
|
-
import { useThrottle as
|
|
92
|
-
import { BREAKPOINTS as
|
|
93
|
-
import { useOnClickOutside as
|
|
94
|
-
import { useKeyPress as
|
|
95
|
-
import { useExclusiveMenu as
|
|
96
|
-
import { useLocalStorage as
|
|
97
|
-
import { useSessionStorage as
|
|
98
|
-
import { usePrevious as
|
|
99
|
-
import { useConditionalToggle as
|
|
100
|
-
import { usePagination as
|
|
101
|
-
import { useAsync as
|
|
102
|
-
import { MODIFIER_KEYS as
|
|
103
|
-
import { useKeyboardShortcuts as
|
|
104
|
-
import { useHotkeys as
|
|
105
|
-
import { useShortcutHelp as
|
|
106
|
-
import { GLOBAL_SHORTCUT_CATEGORIES as
|
|
107
|
-
import { useLogger as
|
|
108
|
-
import { useHasAnimated as
|
|
109
|
-
import { useReferralAttribution as
|
|
110
|
-
import { useRecordProductVisit as
|
|
111
|
-
import { PUSH_DEVICE_ID_STORAGE_KEY as
|
|
112
|
-
import { usePushDeviceRegistration as
|
|
113
|
-
import { QUOTA_EXHAUSTED_EVENT as
|
|
114
|
-
import { PLAN_USAGE_SNAPSHOT_EVENT as
|
|
115
|
-
import { appendContextToPath as
|
|
116
|
-
import { MicrofrontendContext as
|
|
117
|
-
import { detectDeviceType as
|
|
118
|
-
import { useTourPlayer as
|
|
119
|
-
import { TourSpotlight as
|
|
120
|
-
import { TourTooltip as
|
|
121
|
-
import { TourPlayerProvider as
|
|
122
|
-
import { TourPlayer as
|
|
123
|
-
import { getTourContextRank as
|
|
124
|
-
import { withTourProgressStatus as
|
|
125
|
-
import { ToursProvider as
|
|
126
|
-
import { TourInitializer as
|
|
127
|
-
import { AppShellProvider as
|
|
128
|
-
import { MicrofrontendProvider as
|
|
129
|
-
import { TourTrigger as
|
|
85
|
+
import { DevtoolsSink as mi } from "./shared/events/sinks/DevtoolsSink.js";
|
|
86
|
+
import { BroadcastChannelSink as hi } from "./shared/events/sinks/BroadcastChannelSink.js";
|
|
87
|
+
import { BackendAuditSink as gi } from "./shared/events/sinks/BackendAuditSink.js";
|
|
88
|
+
import { AnalyticsConsentBanner as _i, RybbitSink as vi, readAnalyticsConsent as yi, readAnalyticsConsentChoice as bi, setAnalyticsConsent as xi } from "./shared/events/sinks/RybbitSink.js";
|
|
89
|
+
import { OtelBrowserSink as Si } from "./shared/events/sinks/OtelBrowserSink.js";
|
|
90
|
+
import { EventBusProvider as Ci, createEventBus as wi, useEvent as Ti, useEventBus as Ei, useEventEmitter as Di } from "./shared-events.js";
|
|
91
|
+
import { useDebounce as Oi } from "./shared/hooks/useDebounce.js";
|
|
92
|
+
import { useThrottle as ki } from "./shared/hooks/useThrottle.js";
|
|
93
|
+
import { BREAKPOINTS as Ai, useBreakpoint as ji, useMobileBreakpoint as Mi } from "./shared/hooks/useBreakpoint.js";
|
|
94
|
+
import { useOnClickOutside as Ni, useOnClickOutsideWithRef as Pi } from "./shared/hooks/useOnClickOutside.js";
|
|
95
|
+
import { useKeyPress as Fi, useKeyboardShortcut as Ii } from "./shared/hooks/useKeyPress.js";
|
|
96
|
+
import { useExclusiveMenu as Li } from "./shared/hooks/useExclusiveMenu.js";
|
|
97
|
+
import { useLocalStorage as Ri } from "./shared/hooks/useLocalStorage.js";
|
|
98
|
+
import { useSessionStorage as zi } from "./shared/hooks/useSessionStorage.js";
|
|
99
|
+
import { usePrevious as Bi, usePreviousDistinct as Vi, usePreviousHistory as Hi } from "./shared/hooks/usePrevious.js";
|
|
100
|
+
import { useConditionalToggle as Ui, useToggle as Wi, useToggleObject as Gi } from "./shared/hooks/useToggle.js";
|
|
101
|
+
import { usePagination as Ki } from "./shared/hooks/usePagination.js";
|
|
102
|
+
import { useAsync as qi, useAsyncImmediate as Ji } from "./shared/hooks/useAsync.js";
|
|
103
|
+
import { MODIFIER_KEYS as Yi, PLATFORM_TYPES as Xi } from "./shared/keyboard/types.js";
|
|
104
|
+
import { useKeyboardShortcuts as Zi } from "./shared/keyboard/useKeyboardShortcuts.js";
|
|
105
|
+
import { useHotkeys as Qi } from "./shared/keyboard/useHotkeys.js";
|
|
106
|
+
import { useShortcutHelp as $i } from "./shared/keyboard/useShortcutHelp.js";
|
|
107
|
+
import { GLOBAL_SHORTCUT_CATEGORIES as ea, createGlobalShortcuts as ta, getGlobalShortcutsByCategory as na, mergeShortcuts as ra } from "./shared/keyboard/globalShortcuts.js";
|
|
108
|
+
import { useLogger as ia } from "./shared/logger/useLogger.js";
|
|
109
|
+
import { useHasAnimated as aa } from "./shared/hooks/useHasAnimated.js";
|
|
110
|
+
import { useReferralAttribution as oa } from "./shared/hooks/useReferralAttribution.js";
|
|
111
|
+
import { useRecordProductVisit as sa } from "./shared/hooks/useRecordProductVisit.js";
|
|
112
|
+
import { PUSH_DEVICE_ID_STORAGE_KEY as ca, getOrCreatePushDeviceId as la, registerPushDevice as ua, unregisterPushDevice as da } from "./shared/native/push-registration.js";
|
|
113
|
+
import { usePushDeviceRegistration as fa } from "./shared/hooks/usePushDeviceRegistration.js";
|
|
114
|
+
import { QUOTA_EXHAUSTED_EVENT as pa, dispatchQuotaExhausted as ma, useQuotaErrorToast as ha } from "./shared/hooks/useQuotaErrorToast.js";
|
|
115
|
+
import { PLAN_USAGE_SNAPSHOT_EVENT as ga, publishPlanUsageSnapshot as _a, useUpgradePrompt as va } from "./shared/hooks/useUpgradePrompt.js";
|
|
116
|
+
import { appendContextToPath as ya, useCurrentContextSearchParams as ba } from "./shared/hooks/useCurrentContextSearchParams.js";
|
|
117
|
+
import { MicrofrontendContext as xa, useMicrofrontendContext as Sa } from "./shared-hooks.js";
|
|
118
|
+
import { detectDeviceType as Ca, getResponsiveSelector as wa } from "./shared/tours/types.js";
|
|
119
|
+
import { useTourPlayer as Ta } from "./shared/tours/useTourPlayer.js";
|
|
120
|
+
import { TourSpotlight as Ea } from "./shared/tours/TourSpotlight.js";
|
|
121
|
+
import { TourTooltip as Da } from "./shared/tours/TourTooltip.js";
|
|
122
|
+
import { TourPlayerProvider as Oa, useIsTourPlaying as ka, useStartTour as Aa, useStopTour as ja, useTourPlayerContext as Ma } from "./shared/tours/TourPlayerProvider.js";
|
|
123
|
+
import { TourPlayer as Na, TourTriggerButton as Pa, usePlayTour as Fa } from "./shared/tours/TourPlayer.js";
|
|
124
|
+
import { getTourContextRank as Ia, getTourRouteCatalog as La, getTourRouteModules as Ra, getTourRoutePages as za, isTourVisibleForContext as Ba, normalizeTourPath as Va, registerTourRouteCatalog as Ha, resolveTourTargetPath as Ua } from "./shared/tours/routeCatalog.js";
|
|
125
|
+
import { withTourProgressStatus as Wa } from "./shared/tours/progress.js";
|
|
126
|
+
import { ToursProvider as Ga, useAutoStartTour as Ka, useSafeToursContext as qa, useTours as Ja, useToursContext as Ya } from "./shared/tours/ToursContext.js";
|
|
127
|
+
import { TourInitializer as Xa } from "./shared/tours/TourInitializer.js";
|
|
128
|
+
import { AppShellProvider as Za, resolveAppShellObservabilityConfig as Qa } from "./shared/providers/AppShellProvider.js";
|
|
129
|
+
import { MicrofrontendProvider as $a } from "./shared-providers.js";
|
|
130
|
+
import { TourTrigger as eo } from "./shared/tours/TourTrigger.js";
|
|
130
131
|
import "./shared-tours.js";
|
|
131
|
-
import { acknowledgeNativePurchase as
|
|
132
|
-
import { getNativeEntryRoutes as
|
|
133
|
-
import { getPushOptInController as
|
|
132
|
+
import { acknowledgeNativePurchase as to, getNativeProducts as no, getNativePurchases as ro, installNativeIAP as io, isNativeIAPAvailable as ao, purchaseNativeProduct as oo, restoreNativePurchases as so } from "./shared/native/purchases.js";
|
|
133
|
+
import { getNativeEntryRoutes as co, shouldShowNativeWelcome as lo } from "./shared/native/entry.js";
|
|
134
|
+
import { getPushOptInController as uo, registerPushOptInController as fo } from "./shared/native/push-optin.js";
|
|
134
135
|
import "./shared-native.js";
|
|
135
136
|
import "./shared/actors/index.js";
|
|
136
137
|
//#region src/shared/index.ts
|
|
137
|
-
var
|
|
138
|
+
var po = "1.0.0";
|
|
138
139
|
//#endregion
|
|
139
|
-
export {
|
|
140
|
+
export { Qr as ASSISTANT_WIDGET_TOGGLE_EVENT, mr as AccessDenied, ar as ActorIdentity, _i as AnalyticsConsentBanner, vt as ApolloClient, yt as ApolloProvider, wr as AppErrorBoundary, hn as AppInitializer, Za as AppShellProvider, $r as AssistantWidget, Ve as BACKEND_ERROR_EVENT, Se as BOTMANOR_PRODUCT_SLUG, Ai as BREAKPOINTS, gi as BackendAuditSink, hi as BroadcastChannelSink, Oe as COMMON_SHELL_LESS_ROUTES, He as CONNECTION_STATUS_EVENT, xr as ConditionalShell, Sn as ConsoleTransport, jr as ContextConversationWidget, Pe as DEFAULT_PAGE_SIZE, ke as DEFAULT_SHELL_CONFIG, R as DESKTOP_UPDATE_UNSUPPORTED, z as DESKTOP_WINDOW_STATE_DEFAULT, pi as DesktopUpdateToast, mi as DevtoolsSink, cr as ErrorBoundary, gr as ErrorFallback, Ci as EventBusProvider, po as FE_SHARED_VERSION, Tr as FeatureFlagProvider, Ar as FeatureGate, Fe as GATEWAYS, ea as GLOBAL_SHORTCUT_CATEGORIES, dt as GatewayProvider, Ln as INLINE_ENCODE, bt as InMemoryCache, Gr as KeyboardHelpDialogWrapper, _r as LoadingFallback, vn as LogLevel, bn as LogManager, yn as Logger, Yi as MODIFIER_KEYS, ei as Markdown, xa as MicrofrontendContext, br as MicrofrontendErrorBoundary, $a as MicrofrontendProvider, Si as OtelBrowserSink, ga as PLAN_USAGE_SNAPSHOT_EVENT, Xi as PLATFORM_TYPES, Ce as PRODUCTS, ge as PRODUCT_SLUG_EMIT, _e as PRODUCT_SLUG_RENAMES, we as PRODUCT_URLS, er as PULL_TO_REFRESH_THRESHOLD, ca as PUSH_DEVICE_ID_STORAGE_KEY, Cr as PWAInstallBanner, vr as PageLoadingFallback, dr as PermissionButton, hr as PermissionDenied, fr as PermissionGate, pr as PermissionLink, On as QUOTA_EXHAUSTED_CODE, pa as QUOTA_EXHAUSTED_EVENT, Kr as QuotaMeter, kn as RESOURCE_CAP_EXCEEDED_CODE, lr as RequireAuth, ur as RequireGuest, vi as RybbitSink, at as SSELink, Zt as SSORedirectSpinner, nn as SSO_DEPOSITED_PARAM, An as STORAGE_QUOTA_EXCEEDED_CODE, Xn as SafeAreaView, yr as SectionLoadingFallback, Xa as TourInitializer, Na as TourPlayer, Oa as TourPlayerProvider, Ea as TourSpotlight, Da as TourTooltip, eo as TourTrigger, Pa as TourTriggerButton, Ga as ToursProvider, jn as UPGRADE_ERROR_CODES, qr as UPGRADE_PROMPT_EVENT, Xr as UpgradeInlineBanner, Jr as UpgradePromptModal, _t as WsLink, to as acknowledgeNativePurchase, r as alertTokens, ya as appendContextToPath, Dt as attemptTokenRefresh, rn as beginSsoNavigation, B as bootDesktopShell, or as buildActorFallback, Mn as buildQuotaExhaustedMessage, an as buildSsoDepositUrl, m as capitalizeFirst, h as capitalizeWords, i as categoryTokens, Qt as checkRemoteSLO, $t as checkSLO, Ot as clearAuthSessionStorage, Xe as clearGraphqlFetchResponseCache, en as clearLocalAuthState, Nt as clearSSoCookie, Pt as clearShellSsoCookies, on as clearSsoDepositState, sn as clearSsoNavigation, Cn as clearUserContext, Bn as cn, tr as computePullOffset, nr as computePullProgress, cn as consumeSsoDepositMarker, n as createApolloClient, wi as createEventBus, ta as createGlobalShortcuts, ot as createGraphQLClient, En as createProfileScopedStorage, V as desktopCheckForUpdates, H as desktopDeepLinkToPath, U as desktopInstallUpdate, W as desktopNotify, G as desktopOpenExternal, K as desktopSetBadgeCount, q as desktopSetLocale, J as desktopSetTheme, Y as desktopSetTrayQuickActions, Ca as detectDeviceType, Mr as detectPlatform, Ue as dispatchBackendErrorEvent, ma as dispatchQuotaExhausted, Yr as dispatchUpgradePrompt, Rn as downscaleImage, ve as emitProductSlug, We as extractBackendError, Nn as extractQuotaExhaustedExtensions, Pn as extractUpgradeErrorExtensions, Te as findProductConfig, g as formatBytes, _ as formatCompactNumber, v as formatCurrency, y as formatCurrencyCompact, b as formatDate, x as formatDateTime, S as formatDuration, Nr as formatKeyCombo, C as formatList, w as formatNumber, T as formatOrdinal, E as formatPercentage, D as formatRelativeTime, O as formatTime, a as getAlertTokens, I as getCapacitorPlatform, o as getCategoryTokens, X as getDesktopAuthBridgeConfig, Z as getDesktopBridge, Q as getDesktopGatewayBases, $ as getDesktopGatewayUrls, ee as getDesktopRuntimeConfig, te as getDesktopUpdateState, ne as getDesktopWindowState, Pr as getDisplayKeysForPlatform, Ie as getGatewayConfig, Le as getGatewayUrl, st as getGlobalClient, na as getGlobalShortcutsByCategory, Re as getGraphQLEndpoint, re as getLegacyDesktopRuntime, Vt as getNativeBridge, co as getNativeEntryRoutes, no as getNativeProducts, ro as getNativePurchases, la as getOrCreatePushDeviceId, Ht as getPlatform, Ee as getProductUrl, De as getProductsWithUrls, Dn as getProfileScopedKey, s as getProgressTokens, uo as getPushOptInController, wa as getResponsiveSelector, tn as getSSORedirectUrl, Ft as getSSoCookie, Ae as getShellConfig, Fr as getShortcutLabel, c as getStatusBadgeTokens, l as getStatusTokens, Ze as getStoredAuthToken, Qe as getStoredLocale, $e as getStoredOrganizationId, et as getStoredProjectId, tt as getStoredWorkspaceId, nt as getStoredWorkspaceToken, Ia as getTourContextRank, La as getTourRouteCatalog, Ra as getTourRouteModules, za as getTourRoutePages, u as getTrendTokens, ct as getWorkspaceClient, ze as getWorkspaceTokenPayload, xt as gql, rt as graphqlFetch, kt as hasAuthGraphQLErrors, lt as initializeAppClients, wn as initializeLogger, ie as installDesktopDeepLinkHandler, ae as installDesktopNavigateHandler, de as installGatewayFetchRewrite, io as installNativeIAP, Ge as isAbortError, Ut as isAndroid, At as isAuthGraphQLError, jt as isAuthNetworkError, Ke as isBackendErrorDisplay, L as isCapacitorNative, P as isChunkLoadError, oe as isDesktop, Wt as isElectron, Gt as isIOS, Kt as isInstalledApp, Ir as isMac, Lr as isMobileDevice, qt as isNative, ao as isNativeIAPAvailable, Fn as isQuotaExhaustedError, ye as isSameProductSlug, It as isSharedSsoCookieDomain, je as isShellLessRoute, ln as isSsoNavigationPending, Jt as isStandalonePWA, Rr as isTabletDevice, Ba as isTourVisibleForContext, qe as isTransportError, Lt as isTrustedSsoOrigin, In as isUpgradeError, Yt as isWeb, Xt as isWebBrowser, Be as isWorkspaceTokenValidForContext, F as lazyWithRetry, be as legacyProductSlug, xn as logManager, Je as markConnectionHealthy, un as markSsoDepositDone, dn as markSsoDepositPending, zr as matchesKeyCombo, ra as mergeShortcuts, fn as mintSsoSessionTokens, Vn as nativeActionSheet, Hn as nativeConfirm, Un as nativeCopyText, Wn as nativeImpact, Gn as nativeNotify, Kn as nativeOpenUrl, qn as nativeSelection, Jn as nativeShare, Yn as nativeToast, Br as normalizeKey, Vr as normalizePlatformCombo, xe as normalizeProductSlug, Va as normalizeTourPath, se as onDesktopUpdateState, ce as onDesktopWindowState, Hr as parseKeyCombo, k as pluralize, d as progressTokens, _a as publishPlanUsageSnapshot, oo as purchaseNativeProduct, yi as readAnalyticsConsent, bi as readAnalyticsConsentChoice, Zn as readInitialNetworkStatus, Rt as readShellSsoCookie, pn as readSsoDepositState, Mt as redirectToLogin, Qn as reduceNetworkStatus, le as registerDesktopNavigator, ua as registerPushDevice, fo as registerPushOptInController, Ha as registerTourRouteCatalog, ut as resetAppClients, ci as resolveActionSheetOutcome, Qa as resolveAppShellObservabilityConfig, me as resolveAuthBridgeConfig, fe as resolveGatewayBases, it as resolveGatewayUrl, ue as resolveGatewayUrls, he as resolveShellAuthBridgeConfig, Ua as resolveTourTargetPath, so as restoreNativePurchases, zn as selectInlineBase64, xi as setAnalyticsConsent, zt as setSSoCookie, Bt as setShellSsoCookies, Tn as setUserContext, mn as shouldAttemptSsoDeposit, Ur as shouldEnableKeyboardShortcuts, Wr as shouldIgnoreShortcut, Me as shouldShowBreadcrumb, lo as shouldShowNativeWelcome, Ne as shouldShowSidebar, Ye as shouldToastBackendError, A as slugify, f as statusTokens, pe as suppressConsole, j as toCamelCase, M as toPascalCase, p as trendTokens, N as truncateText, da as unregisterPushDevice, li as useActionSheet, sr as useActorProfiles, St as useApolloClient, ii as useAppState, qi as useAsync, Ji as useAsyncImmediate, Ka as useAutoStartTour, ji as useBreakpoint, Ui as useConditionalToggle, e as useCopyToClipboard, ba as useCurrentContextSearchParams, Oi as useDebounce, ui as useDesktop, di as useDesktopUpdateState, fi as useDesktopWindowState, ai as useDeviceInfo, Ti as useEvent, Ei as useEventBus, Di as useEventEmitter, Li as useExclusiveMenu, Dr as useFeatureFlag, Or as useFeatureFlagDetails, kr as useFeatureFlagValue, Er as useFeatureFlags, ft as useGateway, pt as useGatewayClient, oi as useHaptics, aa as useHasAnimated, gt as useHasAuthToken, Qi as useHotkeys, ka as useIsTourPlaying, Fi as useKeyPress, Ii as useKeyboardShortcut, Zi as useKeyboardShortcuts, Ct as useLazyQuery, Ri as useLocalStorage, ia as useLogger, t as useMediaQuery, Sa as useMicrofrontendContext, Mi as useMobileBreakpoint, wt as useMutation, ri as useNativeKeyboard, ti as useNativePlatform, $n as useNetworkStatus, Ni as useOnClickOutside, Pi as useOnClickOutsideWithRef, Sr as usePWA, Ki as usePagination, Fa as usePlayTour, Bi as usePrevious, Vi as usePreviousDistinct, Hi as usePreviousHistory, rr as usePullToRefresh, fa as usePushDeviceRegistration, Tt as useQuery, ha as useQuotaErrorToast, sa as useRecordProductVisit, oa as useReferralAttribution, gn as useRegistryHelpers, ir as useReturnFocus, ni as useSafeArea, mt as useSafeGateway, ht as useSafeGatewayClient, qa as useSafeToursContext, zi as useSessionStorage, _n as useShellNavigate, $i as useShortcutHelp, Aa as useStartTour, si as useStatusBar, ja as useStopTour, Et as useSubscription, ki as useThrottle, Wi as useToggle, Gi as useToggleObject, Ta as useTourPlayer, Ma as useTourPlayerContext, Ja as useTours, Ya as useToursContext, va as useUpgradePrompt, Zr as useVoiceInput, Wa as withTourProgressStatus };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal-shell.d.ts","sourceRoot":"","sources":["../../src/ui/modal-shell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"modal-shell.d.ts","sourceRoot":"","sources":["../../src/ui/modal-shell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAY/C,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,SAAS,CAAC;IACpB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACjC,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB;AASD;;;;;;;;;GASG;AACH,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,OAAO,EACP,KAAK,EACL,WAAW,EACX,QAAQ,EACR,IAAW,EACX,MAAM,GACP,EAAE,eAAe,2CA2DjB"}
|
package/dist/ui/modal-shell.js
CHANGED
|
@@ -1,30 +1,40 @@
|
|
|
1
1
|
import { ResponsiveDialog as e, ResponsiveDialogContent as t, ResponsiveDialogDescription as n, ResponsiveDialogFooter as r, ResponsiveDialogHeader as i, ResponsiveDialogTitle as a } from "./responsive-dialog.js";
|
|
2
|
-
import {
|
|
2
|
+
import { focusWasDropped as o, focusedControl as s, returnFocusTo as c } from "../shared/hooks/useReturnFocus.js";
|
|
3
|
+
import { useRef as l } from "react";
|
|
4
|
+
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
3
5
|
//#region src/ui/modal-shell.tsx
|
|
4
|
-
var
|
|
6
|
+
var f = {
|
|
5
7
|
sm: "sm:max-w-sm",
|
|
6
8
|
md: "sm:max-w-lg",
|
|
7
9
|
lg: "sm:max-w-2xl",
|
|
8
10
|
xl: "sm:max-w-3xl"
|
|
9
11
|
};
|
|
10
|
-
function
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
function p({ open: p, onClose: m, title: h, description: g, children: _, size: v = "md", footer: y }) {
|
|
13
|
+
let b = l(null);
|
|
14
|
+
return /* @__PURE__ */ u(e, {
|
|
15
|
+
open: p,
|
|
13
16
|
onOpenChange: (e) => {
|
|
14
|
-
e ||
|
|
17
|
+
e || m();
|
|
15
18
|
},
|
|
16
|
-
children: /* @__PURE__ */
|
|
17
|
-
className:
|
|
19
|
+
children: /* @__PURE__ */ d(t, {
|
|
20
|
+
className: f[v],
|
|
21
|
+
onOpenAutoFocus: () => {
|
|
22
|
+
b.current = s(document);
|
|
23
|
+
},
|
|
24
|
+
onCloseAutoFocus: (e) => {
|
|
25
|
+
let t = b.current;
|
|
26
|
+
b.current = null, o(document) && c(document, [t]) && e.preventDefault();
|
|
27
|
+
},
|
|
18
28
|
children: [
|
|
19
|
-
/* @__PURE__ */
|
|
20
|
-
/* @__PURE__ */
|
|
29
|
+
/* @__PURE__ */ d(i, { children: [h && /* @__PURE__ */ u(a, { children: h }), g && /* @__PURE__ */ u(n, { children: g })] }),
|
|
30
|
+
/* @__PURE__ */ u("div", {
|
|
21
31
|
className: "max-h-[60dvh] overflow-y-auto overscroll-contain pr-1",
|
|
22
|
-
children:
|
|
32
|
+
children: _
|
|
23
33
|
}),
|
|
24
|
-
|
|
34
|
+
y && /* @__PURE__ */ u(r, { children: y })
|
|
25
35
|
]
|
|
26
36
|
})
|
|
27
37
|
});
|
|
28
38
|
}
|
|
29
39
|
//#endregion
|
|
30
|
-
export {
|
|
40
|
+
export { p as ModalShell };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@burdenoff/fe-libs",
|
|
3
|
-
"version": "2026.928.
|
|
3
|
+
"version": "2026.928.3",
|
|
4
4
|
"description": "Burdenoff frontend primitives and domain libraries",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -307,7 +307,7 @@
|
|
|
307
307
|
"format": "prettier --config shared/config/prettier.config.mjs --write \"src/**/*.{ts,tsx}\" \"!src/config/*.config.ts\"",
|
|
308
308
|
"type:check": "bash scripts/build-limits.sh tsc --noEmit",
|
|
309
309
|
"test:package-css-exports": "node scripts/validate-package-css-exports.mjs",
|
|
310
|
-
"test": "bun test scripts/graphql-schema-drift/__tests__ scripts/a11y-audit/__tests__ src/credentials src/storage src/shared/assistant src/shared/components src/shared/graphql/links/sse-link.test.ts src/shared/graphql/fetch.test.ts src/shared/config/gatewayUrls.test.ts src/shared/config/authBridgeUrls.test.ts src/shared/config/gatewayFallback.test.ts src/shared/config/products.test.ts src/shared/config/productSlug.test.ts src/shared/hooks/shell/useProducts.test.ts src/shared/providers/shell/brandAttribute.test.ts src/chrome/ProductSwitcher.test.ts src/shared/utils/gatewayFetchRewrite.test.ts src/shared/utils/authCookie.test.ts src/shared/providers/AppShellProvider.test.ts src/shared/providers/shell/interpolate.test.ts src/shared/providers/shell/resolveTranslation.test.ts src/shared/providers/shell/I18nProvider.render.test.tsx src/shared/events/sinks/RybbitSink.test.ts src/shell-native src/shared/native src/chrome/__tests__ src/ui/__tests__",
|
|
310
|
+
"test": "bun test scripts/graphql-schema-drift/__tests__ scripts/a11y-audit/__tests__ src/credentials src/storage src/shared/assistant src/shared/components src/shared/graphql/links/sse-link.test.ts src/shared/graphql/fetch.test.ts src/shared/config/gatewayUrls.test.ts src/shared/config/authBridgeUrls.test.ts src/shared/config/gatewayFallback.test.ts src/shared/config/products.test.ts src/shared/config/productSlug.test.ts src/shared/hooks/shell/useProducts.test.ts src/shared/providers/shell/brandAttribute.test.ts src/chrome/ProductSwitcher.test.ts src/shared/utils/gatewayFetchRewrite.test.ts src/shared/utils/authCookie.test.ts src/shared/providers/AppShellProvider.test.ts src/shared/providers/shell/interpolate.test.ts src/shared/providers/shell/resolveTranslation.test.ts src/shared/providers/shell/I18nProvider.render.test.tsx src/shared/providers/shell/personaSurfaceRemote.test.ts src/shared/providers/shell/workspaceSwitch.client.test.tsx src/shared/events/sinks/RybbitSink.test.ts src/shell-native src/shared/native src/chrome/__tests__ src/ui/__tests__",
|
|
311
311
|
"sanity": "bash scripts/build-limits.sh --gate bash -c 'bun run lint:sanity && bun run format && bun run type:check && bun run test && bun run build'",
|
|
312
312
|
"switch:status": "bun scripts/deps-mode.ts status",
|
|
313
313
|
"switch:remote": "bun scripts/deps-mode.ts remote",
|