@burdenoff/fe-libs 2026.527.7 → 2026.528.2

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.
Files changed (57) hide show
  1. package/dist/button/Button.d.ts +2 -2
  2. package/dist/chrome/AppShellLayout.d.ts +6 -0
  3. package/dist/chrome/AppShellLayout.d.ts.map +1 -1
  4. package/dist/chrome/AppShellLayout.js +9 -3
  5. package/dist/chrome/PageHeader.d.ts +17 -0
  6. package/dist/chrome/PageHeader.d.ts.map +1 -0
  7. package/dist/chrome/PageHeader.js +67 -0
  8. package/dist/chrome/index.d.ts +2 -0
  9. package/dist/chrome/index.d.ts.map +1 -1
  10. package/dist/chrome.js +33 -32
  11. package/dist/form/FormLabel.d.ts +4 -2
  12. package/dist/form/FormLabel.d.ts.map +1 -1
  13. package/dist/form/FormLabel.js +17 -10
  14. package/dist/form/FormSection.d.ts +18 -0
  15. package/dist/form/FormSection.d.ts.map +1 -0
  16. package/dist/form/FormSection.js +78 -0
  17. package/dist/form/index.d.ts +2 -0
  18. package/dist/form/index.d.ts.map +1 -1
  19. package/dist/form.js +11 -10
  20. package/dist/shared/native/SafeAreaView.d.ts +15 -0
  21. package/dist/shared/native/SafeAreaView.d.ts.map +1 -0
  22. package/dist/shared/native/SafeAreaView.js +22 -0
  23. package/dist/shared/native/index.d.ts +1 -0
  24. package/dist/shared/native/index.d.ts.map +1 -1
  25. package/dist/shared-hooks.js +10 -10
  26. package/dist/shared-native.js +9 -8
  27. package/dist/shared.js +67 -66
  28. package/dist/storage/SaveToFilesDialog.js +7 -7
  29. package/dist/ui/badge.d.ts +1 -1
  30. package/dist/ui/bottom-sheet.d.ts +16 -0
  31. package/dist/ui/bottom-sheet.d.ts.map +1 -0
  32. package/dist/ui/bottom-sheet.js +89 -0
  33. package/dist/ui/button.d.ts +2 -2
  34. package/dist/ui/empty-state.d.ts +13 -0
  35. package/dist/ui/empty-state.d.ts.map +1 -0
  36. package/dist/ui/empty-state.js +34 -0
  37. package/dist/ui/index.d.ts +7 -0
  38. package/dist/ui/index.d.ts.map +1 -1
  39. package/dist/ui/optional-fields.d.ts +16 -0
  40. package/dist/ui/optional-fields.d.ts.map +1 -0
  41. package/dist/ui/optional-fields.js +55 -0
  42. package/dist/ui/responsive-dialog.d.ts +18 -0
  43. package/dist/ui/responsive-dialog.d.ts.map +1 -0
  44. package/dist/ui/responsive-dialog.js +38 -0
  45. package/dist/ui/responsive-stack.d.ts +15 -0
  46. package/dist/ui/responsive-stack.d.ts.map +1 -0
  47. package/dist/ui/responsive-stack.js +65 -0
  48. package/dist/ui/responsive-table.d.ts +24 -0
  49. package/dist/ui/responsive-table.d.ts.map +1 -0
  50. package/dist/ui/responsive-table.js +84 -0
  51. package/dist/ui/sheet.js +2 -2
  52. package/dist/ui/stepper.d.ts +16 -0
  53. package/dist/ui/stepper.d.ts.map +1 -0
  54. package/dist/ui/stepper.js +79 -0
  55. package/dist/ui.js +31 -24
  56. package/package.json +1 -1
  57. package/shared/config/eslint.config.mjs +39 -0
package/dist/shared.js CHANGED
@@ -1,62 +1,62 @@
1
- import { createApolloClient as e } from "./shared/utils/apollo.js";
2
- import { alertTokens as t, categoryTokens as n, getAlertTokens as r, getCategoryTokens as i, getProgressTokens as a, getStatusBadgeTokens as o, getStatusTokens as s, getTrendTokens as c, progressTokens as l, statusTokens as u, trendTokens as d } from "./shared/utils/tokens.js";
3
- import { capitalizeFirst as f, capitalizeWords as p, formatBytes as m, formatCompactNumber as h, formatCurrency as g, formatCurrencyCompact as _, formatDate as v, formatDateTime as y, formatDuration as b, formatList as x, formatNumber as S, formatOrdinal as C, formatPercentage as w, formatRelativeTime as T, formatTime as E, pluralize as D, slugify as O, toCamelCase as k, toPascalCase as A, truncateText as j } from "./shared/utils/format.js";
4
- import { isChunkLoadError as M, lazyWithRetry as N } from "./shared/utils/lazyWithRetry.js";
5
- import { resolveGatewayUrls as P } from "./shared/config/gatewayUrls.js";
6
- import { installGatewayFetchRewrite as F, resolveGatewayBases as I, suppressConsole as L } from "./shared/utils/gatewayFetchRewrite.js";
7
- import { resolveAuthBridgeConfig as R } from "./shared/config/authBridgeUrls.js";
8
- import { PRODUCTS as z, PRODUCT_URLS as B, getProductUrl as V, getProductsWithUrls as H } from "./shared/config/products.js";
9
- import { COMMON_SHELL_LESS_ROUTES as U, DEFAULT_SHELL_CONFIG as W, getShellConfig as G, isShellLessRoute as K, shouldShowBreadcrumb as q, shouldShowSidebar as J } from "./shared/config/shellRoutes.js";
10
- import { DEFAULT_PAGE_SIZE as Y, GATEWAYS as X, getGatewayConfig as Z, getGatewayUrl as Q, getGraphQLEndpoint as $ } from "./shared-config.js";
11
- import { getWorkspaceTokenPayload as ee, isWorkspaceTokenValidForContext as te } from "./shared/graphql/workspaceToken.js";
12
- import { getStoredAuthToken as ne, getStoredLocale as re, getStoredOrganizationId as ie, getStoredWorkspaceId as ae, getStoredWorkspaceToken as oe, graphqlFetch as se, resolveGatewayUrl as ce } from "./shared/graphql/fetch.js";
13
- import { SSELink as le } from "./shared/graphql/links/sse-link.js";
14
- import { createGraphQLClient as ue, getGlobalClient as de, getWorkspaceClient as fe, initializeAppClients as pe, resetAppClients as me } from "./shared/graphql/client.js";
15
- import { GatewayProvider as he, useGateway as ge, useGatewayClient as _e, useSafeGateway as ve, useSafeGatewayClient as ye } from "./shared/graphql/GatewayContext.js";
16
- import { ApolloClient as be, ApolloProvider as xe, InMemoryCache as Se, gql as Ce, useApolloClient as we, useLazyQuery as Te, useMutation as Ee, useQuery as De, useSubscription as Oe } from "./shared-graphql.js";
17
- import { attemptTokenRefresh as ke, clearAuthSessionStorage as Ae, hasAuthGraphQLErrors as je, isAuthGraphQLError as Me, isAuthNetworkError as Ne, redirectToLogin as Pe } from "./shared/utils/authErrorHandling.js";
18
- import { clearSSoCookie as Fe, clearShellSsoCookies as Ie, getSSoCookie as Le, isSharedSsoCookieDomain as Re, isTrustedSsoOrigin as ze, readShellSsoCookie as Be, setSSoCookie as Ve, setShellSsoCookies as He } from "./shared/utils/authCookie.js";
19
- import { SSORedirectSpinner as Ue, checkRemoteSLO as We, checkSLO as Ge, clearLocalAuthState as Ke, getSSORedirectUrl as qe } from "./shared/components/SSORedirectGuard.js";
20
- import { AppInitializer as Je, useRegistryHelpers as Ye, useShellNavigate as Xe } from "./shared/utils/appHelpers.js";
21
- import { LogLevel as Ze } from "./shared/logger/types.js";
22
- import { Logger as Qe } from "./shared/logger/Logger.js";
23
- import { LogManager as $e, logManager as et } from "./shared/logger/LogManager.js";
24
- import { ConsoleTransport as tt } from "./shared/logger/ConsoleTransport.js";
25
- import { clearUserContext as nt, initializeLogger as rt, setUserContext as it } from "./shared/utils/loggerInit.js";
26
- import { createProfileScopedStorage as at, getProfileScopedKey as ot } from "./shared/utils/profileScopedStorage.js";
27
- import { QUOTA_EXHAUSTED_CODE as st, buildQuotaExhaustedMessage as ct, extractQuotaExhaustedExtensions as lt, isQuotaExhaustedError as ut } from "./shared/utils/quotaErrors.js";
28
- import { cn as dt } from "./shared-utils.js";
29
- import { ErrorBoundary as ft } from "./shared/components/ErrorBoundary.js";
30
- import { RequireAuth as pt, RequireGuest as mt } from "./shared/components/RequireAuth.js";
31
- import { PermissionButton as ht, PermissionGate as gt, PermissionLink as _t } from "./shared/components/PermissionGate.js";
32
- import { AccessDenied as vt, PermissionDenied as yt } from "./shared/components/AccessDenied.js";
33
- import { ErrorFallback as bt } from "./shared/components/ErrorFallback.js";
34
- import { LoadingFallback as xt, PageLoadingFallback as St, SectionLoadingFallback as Ct } from "./shared/components/LoadingFallback.js";
35
- import { MicrofrontendErrorBoundary as wt } from "./shared/components/MicrofrontendErrorBoundary.js";
36
- import { ConditionalShell as Tt } from "./shared/components/ConditionalShell.js";
37
- import { usePWA as Et } from "./shared/hooks/usePWA.js";
38
- import { PWAInstallBanner as Dt } from "./shared/components/PWAInstallBanner.js";
39
- import { ErrorBoundary as Ot } from "./shared/components/AppErrorBoundary.js";
40
- import { FeatureFlagProvider as kt, useFeatureFlags as At } from "./shared/feature-flags/FeatureFlagProvider.js";
41
- import { useFeatureFlag as jt, useFeatureFlagDetails as Mt, useFeatureFlagValue as Nt } from "./shared/feature-flags/useFeatureFlag.js";
42
- import { FeatureGate as Pt } from "./shared/feature-flags/FeatureGate.js";
1
+ import { useMediaQuery as e } from "./shared/hooks/useMediaQuery.js";
2
+ import { createApolloClient as t } from "./shared/utils/apollo.js";
3
+ import { alertTokens as n, categoryTokens as r, getAlertTokens as i, getCategoryTokens as a, getProgressTokens as o, getStatusBadgeTokens as s, getStatusTokens as c, getTrendTokens as l, progressTokens as u, statusTokens as d, trendTokens as f } from "./shared/utils/tokens.js";
4
+ import { capitalizeFirst as p, capitalizeWords as m, formatBytes as h, formatCompactNumber as g, formatCurrency as _, formatCurrencyCompact as v, formatDate as y, formatDateTime as b, formatDuration as x, formatList as S, formatNumber as C, formatOrdinal as w, formatPercentage as T, formatRelativeTime as E, formatTime as D, pluralize as O, slugify as k, toCamelCase as A, toPascalCase as j, truncateText as M } from "./shared/utils/format.js";
5
+ import { isChunkLoadError as N, lazyWithRetry as P } from "./shared/utils/lazyWithRetry.js";
6
+ import { resolveGatewayUrls as F } from "./shared/config/gatewayUrls.js";
7
+ import { installGatewayFetchRewrite as I, resolveGatewayBases as L, suppressConsole as R } from "./shared/utils/gatewayFetchRewrite.js";
8
+ import { resolveAuthBridgeConfig as z } from "./shared/config/authBridgeUrls.js";
9
+ import { PRODUCTS as B, PRODUCT_URLS as V, getProductUrl as H, getProductsWithUrls as U } from "./shared/config/products.js";
10
+ import { COMMON_SHELL_LESS_ROUTES as W, DEFAULT_SHELL_CONFIG as G, getShellConfig as K, isShellLessRoute as q, shouldShowBreadcrumb as J, shouldShowSidebar as Y } from "./shared/config/shellRoutes.js";
11
+ import { DEFAULT_PAGE_SIZE as X, GATEWAYS as Z, getGatewayConfig as Q, getGatewayUrl as $, getGraphQLEndpoint as ee } from "./shared-config.js";
12
+ import { getWorkspaceTokenPayload as te, isWorkspaceTokenValidForContext as ne } from "./shared/graphql/workspaceToken.js";
13
+ import { getStoredAuthToken as re, getStoredLocale as ie, getStoredOrganizationId as ae, getStoredWorkspaceId as oe, getStoredWorkspaceToken as se, graphqlFetch as ce, resolveGatewayUrl as le } from "./shared/graphql/fetch.js";
14
+ import { SSELink as ue } from "./shared/graphql/links/sse-link.js";
15
+ import { createGraphQLClient as de, getGlobalClient as fe, getWorkspaceClient as pe, initializeAppClients as me, resetAppClients as he } from "./shared/graphql/client.js";
16
+ import { GatewayProvider as ge, useGateway as _e, useGatewayClient as ve, useSafeGateway as ye, useSafeGatewayClient as be } from "./shared/graphql/GatewayContext.js";
17
+ import { ApolloClient as xe, ApolloProvider as Se, InMemoryCache as Ce, gql as we, useApolloClient as Te, useLazyQuery as Ee, useMutation as De, useQuery as Oe, useSubscription as ke } from "./shared-graphql.js";
18
+ import { attemptTokenRefresh as Ae, clearAuthSessionStorage as je, hasAuthGraphQLErrors as Me, isAuthGraphQLError as Ne, isAuthNetworkError as Pe, redirectToLogin as Fe } from "./shared/utils/authErrorHandling.js";
19
+ import { clearSSoCookie as Ie, clearShellSsoCookies as Le, getSSoCookie as Re, isSharedSsoCookieDomain as ze, isTrustedSsoOrigin as Be, readShellSsoCookie as Ve, setSSoCookie as He, setShellSsoCookies as Ue } from "./shared/utils/authCookie.js";
20
+ import { SSORedirectSpinner as We, checkRemoteSLO as Ge, checkSLO as Ke, clearLocalAuthState as qe, getSSORedirectUrl as Je } from "./shared/components/SSORedirectGuard.js";
21
+ import { AppInitializer as Ye, useRegistryHelpers as Xe, useShellNavigate as Ze } from "./shared/utils/appHelpers.js";
22
+ import { LogLevel as Qe } from "./shared/logger/types.js";
23
+ import { Logger as $e } from "./shared/logger/Logger.js";
24
+ import { LogManager as et, logManager as tt } from "./shared/logger/LogManager.js";
25
+ import { ConsoleTransport as nt } from "./shared/logger/ConsoleTransport.js";
26
+ import { clearUserContext as rt, initializeLogger as it, setUserContext as at } from "./shared/utils/loggerInit.js";
27
+ import { createProfileScopedStorage as ot, getProfileScopedKey as st } from "./shared/utils/profileScopedStorage.js";
28
+ import { QUOTA_EXHAUSTED_CODE as ct, buildQuotaExhaustedMessage as lt, extractQuotaExhaustedExtensions as ut, isQuotaExhaustedError as dt } from "./shared/utils/quotaErrors.js";
29
+ import { cn as ft } from "./shared-utils.js";
30
+ import { ErrorBoundary as pt } from "./shared/components/ErrorBoundary.js";
31
+ import { RequireAuth as mt, RequireGuest as ht } from "./shared/components/RequireAuth.js";
32
+ import { PermissionButton as gt, PermissionGate as _t, PermissionLink as vt } from "./shared/components/PermissionGate.js";
33
+ import { AccessDenied as yt, PermissionDenied as bt } from "./shared/components/AccessDenied.js";
34
+ import { ErrorFallback as xt } from "./shared/components/ErrorFallback.js";
35
+ import { LoadingFallback as St, PageLoadingFallback as Ct, SectionLoadingFallback as wt } from "./shared/components/LoadingFallback.js";
36
+ import { MicrofrontendErrorBoundary as Tt } from "./shared/components/MicrofrontendErrorBoundary.js";
37
+ import { ConditionalShell as Et } from "./shared/components/ConditionalShell.js";
38
+ import { usePWA as Dt } from "./shared/hooks/usePWA.js";
39
+ import { PWAInstallBanner as Ot } from "./shared/components/PWAInstallBanner.js";
40
+ import { ErrorBoundary as kt } from "./shared/components/AppErrorBoundary.js";
41
+ import { FeatureFlagProvider as At, useFeatureFlags as jt } from "./shared/feature-flags/FeatureFlagProvider.js";
42
+ import { useFeatureFlag as Mt, useFeatureFlagDetails as Nt, useFeatureFlagValue as Pt } from "./shared/feature-flags/useFeatureFlag.js";
43
+ import { FeatureGate as Ft } from "./shared/feature-flags/FeatureGate.js";
43
44
  import "./shared-feature-flags.js";
44
- import { ContextConversationWidget as Ft } from "./shared/components/ContextConversationWidget.js";
45
- import { detectPlatform as It, formatKeyCombo as Lt, getDisplayKeysForPlatform as Rt, getShortcutLabel as zt, isMac as Bt, isMobileDevice as Vt, isTabletDevice as Ht, matchesKeyCombo as Ut, normalizeKey as Wt, normalizePlatformCombo as Gt, parseKeyCombo as Kt, shouldEnableKeyboardShortcuts as qt, shouldIgnoreShortcut as Jt } from "./shared/keyboard/utils.js";
46
- import { KeyboardHelpDialogWrapper as Yt } from "./shared/components/KeyboardHelpDialogWrapper.js";
47
- import { QuotaMeter as Xt } from "./shared/components/QuotaMeter.js";
48
- import { UPGRADE_PROMPT_EVENT as Zt, UpgradePromptModal as Qt, dispatchUpgradePrompt as $t } from "./shared/components/UpgradePromptModal.js";
49
- import { UpgradeInlineBanner as en } from "./shared/components/UpgradeInlineBanner.js";
45
+ import { ContextConversationWidget as It } from "./shared/components/ContextConversationWidget.js";
46
+ import { detectPlatform as Lt, formatKeyCombo as Rt, getDisplayKeysForPlatform as zt, getShortcutLabel as Bt, isMac as Vt, isMobileDevice as Ht, isTabletDevice as Ut, matchesKeyCombo as Wt, normalizeKey as Gt, normalizePlatformCombo as Kt, parseKeyCombo as qt, shouldEnableKeyboardShortcuts as Jt, shouldIgnoreShortcut as Yt } from "./shared/keyboard/utils.js";
47
+ import { KeyboardHelpDialogWrapper as Xt } from "./shared/components/KeyboardHelpDialogWrapper.js";
48
+ import { QuotaMeter as Zt } from "./shared/components/QuotaMeter.js";
49
+ import { UPGRADE_PROMPT_EVENT as Qt, UpgradePromptModal as $t, dispatchUpgradePrompt as en } from "./shared/components/UpgradePromptModal.js";
50
+ import { UpgradeInlineBanner as tn } from "./shared/components/UpgradeInlineBanner.js";
50
51
  import "./shared-components.js";
51
- import { DevtoolsSink as tn } from "./shared/events/sinks/DevtoolsSink.js";
52
- import { BroadcastChannelSink as nn } from "./shared/events/sinks/BroadcastChannelSink.js";
53
- import { BackendAuditSink as rn } from "./shared/events/sinks/BackendAuditSink.js";
54
- import { RybbitSink as an } from "./shared/events/sinks/RybbitSink.js";
55
- import { OtelBrowserSink as on } from "./shared/events/sinks/OtelBrowserSink.js";
56
- import { EventBusProvider as sn, createEventBus as cn, useEvent as ln, useEventBus as un, useEventEmitter as dn } from "./shared-events.js";
57
- import { useDebounce as fn } from "./shared/hooks/useDebounce.js";
58
- import { useThrottle as pn } from "./shared/hooks/useThrottle.js";
59
- import { useMediaQuery as mn } from "./shared/hooks/useMediaQuery.js";
52
+ import { DevtoolsSink as nn } from "./shared/events/sinks/DevtoolsSink.js";
53
+ import { BroadcastChannelSink as rn } from "./shared/events/sinks/BroadcastChannelSink.js";
54
+ import { BackendAuditSink as an } from "./shared/events/sinks/BackendAuditSink.js";
55
+ import { RybbitSink as on } from "./shared/events/sinks/RybbitSink.js";
56
+ import { OtelBrowserSink as sn } from "./shared/events/sinks/OtelBrowserSink.js";
57
+ import { EventBusProvider as cn, createEventBus as ln, useEvent as un, useEventBus as dn, useEventEmitter as fn } from "./shared-events.js";
58
+ import { useDebounce as pn } from "./shared/hooks/useDebounce.js";
59
+ import { useThrottle as mn } from "./shared/hooks/useThrottle.js";
60
60
  import { BREAKPOINTS as hn, useBreakpoint as gn, useMobileBreakpoint as _n } from "./shared/hooks/useBreakpoint.js";
61
61
  import { useOnClickOutside as vn, useOnClickOutsideWithRef as yn } from "./shared/hooks/useOnClickOutside.js";
62
62
  import { useKeyPress as bn, useKeyboardShortcut as xn } from "./shared/hooks/useKeyPress.js";
@@ -95,15 +95,16 @@ import { MicrofrontendProvider as jr } from "./shared-providers.js";
95
95
  import { getNativeBridge as Mr } from "./shared/native/bridge.js";
96
96
  import { getPlatform as Nr, isAndroid as Pr, isIOS as Fr, isNative as Ir, isWeb as Lr } from "./shared/native/platform.js";
97
97
  import { nativeConfirm as Rr, nativeCopyText as zr, nativeImpact as Br, nativeNotify as Vr, nativeOpenUrl as Hr, nativeShare as Ur, nativeToast as Wr } from "./shared/native/consumers.js";
98
- import { useNativePlatform as Gr } from "./shared/native/hooks/useNativePlatform.js";
99
- import { useSafeArea as Kr } from "./shared/native/hooks/useSafeArea.js";
100
- import { useNativeKeyboard as qr } from "./shared/native/hooks/useNativeKeyboard.js";
101
- import { useAppState as Jr } from "./shared/native/hooks/useAppState.js";
102
- import { useDeviceInfo as Yr } from "./shared/native/hooks/useDeviceInfo.js";
103
- import { useHaptics as Xr } from "./shared/native/hooks/useHaptics.js";
104
- import { useStatusBar as Zr } from "./shared/native/hooks/useStatusBar.js";
98
+ import { SafeAreaView as Gr } from "./shared/native/SafeAreaView.js";
99
+ import { useNativePlatform as Kr } from "./shared/native/hooks/useNativePlatform.js";
100
+ import { useSafeArea as qr } from "./shared/native/hooks/useSafeArea.js";
101
+ import { useNativeKeyboard as Jr } from "./shared/native/hooks/useNativeKeyboard.js";
102
+ import { useAppState as Yr } from "./shared/native/hooks/useAppState.js";
103
+ import { useDeviceInfo as Xr } from "./shared/native/hooks/useDeviceInfo.js";
104
+ import { useHaptics as Zr } from "./shared/native/hooks/useHaptics.js";
105
+ import { useStatusBar as Qr } from "./shared/native/hooks/useStatusBar.js";
105
106
  import "./shared-native.js";
106
107
  //#region src/shared/index.ts
107
- var Qr = "1.0.0";
108
+ var $r = "1.0.0";
108
109
  //#endregion
109
- export { vt as AccessDenied, be as ApolloClient, xe as ApolloProvider, Ot as AppErrorBoundary, Je as AppInitializer, kr as AppShellProvider, hn as BREAKPOINTS, rn as BackendAuditSink, nn as BroadcastChannelSink, U as COMMON_SHELL_LESS_ROUTES, Tt as ConditionalShell, tt as ConsoleTransport, Ft as ContextConversationWidget, Y as DEFAULT_PAGE_SIZE, W as DEFAULT_SHELL_CONFIG, tn as DevtoolsSink, ft as ErrorBoundary, bt as ErrorFallback, sn as EventBusProvider, Qr as FE_SHARED_VERSION, kt as FeatureFlagProvider, Pt as FeatureGate, X as GATEWAYS, Rn as GLOBAL_SHORTCUT_CATEGORIES, he as GatewayProvider, Se as InMemoryCache, Yt as KeyboardHelpDialogWrapper, xt as LoadingFallback, Ze as LogLevel, $e as LogManager, Qe as Logger, Nn as MODIFIER_KEYS, Qn as MicrofrontendContext, wt as MicrofrontendErrorBoundary, jr as MicrofrontendProvider, on as OtelBrowserSink, Yn as PLAN_USAGE_SNAPSHOT_EVENT, Pn as PLATFORM_TYPES, z as PRODUCTS, B as PRODUCT_URLS, Dt as PWAInstallBanner, St as PageLoadingFallback, ht as PermissionButton, yt as PermissionDenied, gt as PermissionGate, _t as PermissionLink, st as QUOTA_EXHAUSTED_CODE, Kn as QUOTA_EXHAUSTED_EVENT, Xt as QuotaMeter, pt as RequireAuth, mt as RequireGuest, an as RybbitSink, le as SSELink, Ue as SSORedirectSpinner, Ct as SectionLoadingFallback, Or as TourInitializer, ur as TourPlayer, ar as TourPlayerProvider, rr as TourSpotlight, ir as TourTooltip, Dr as TourTrigger, dr as TourTriggerButton, Sr as ToursProvider, Zt as UPGRADE_PROMPT_EVENT, en as UpgradeInlineBanner, Qt as UpgradePromptModal, t as alertTokens, ke as attemptTokenRefresh, ct as buildQuotaExhaustedMessage, f as capitalizeFirst, p as capitalizeWords, n as categoryTokens, We as checkRemoteSLO, Ge as checkSLO, Ae as clearAuthSessionStorage, Ke as clearLocalAuthState, Fe as clearSSoCookie, Ie as clearShellSsoCookies, nt as clearUserContext, dt as cn, e as createApolloClient, cn as createEventBus, zn as createGlobalShortcuts, ue as createGraphQLClient, at as createProfileScopedStorage, er as detectDeviceType, It as detectPlatform, qn as dispatchQuotaExhausted, $t as dispatchUpgradePrompt, lt as extractQuotaExhaustedExtensions, m as formatBytes, h as formatCompactNumber, g as formatCurrency, _ as formatCurrencyCompact, v as formatDate, y as formatDateTime, b as formatDuration, Lt as formatKeyCombo, x as formatList, S as formatNumber, C as formatOrdinal, w as formatPercentage, T as formatRelativeTime, E as formatTime, r as getAlertTokens, i as getCategoryTokens, Rt as getDisplayKeysForPlatform, Z as getGatewayConfig, Q as getGatewayUrl, de as getGlobalClient, Bn as getGlobalShortcutsByCategory, $ as getGraphQLEndpoint, Mr as getNativeBridge, Nr as getPlatform, V as getProductUrl, H as getProductsWithUrls, ot as getProfileScopedKey, a as getProgressTokens, tr as getResponsiveSelector, qe as getSSORedirectUrl, Le as getSSoCookie, G as getShellConfig, zt as getShortcutLabel, o as getStatusBadgeTokens, s as getStatusTokens, ne as getStoredAuthToken, re as getStoredLocale, ie as getStoredOrganizationId, ae as getStoredWorkspaceId, oe as getStoredWorkspaceToken, pr as getTourContextRank, mr as getTourRouteCatalog, hr as getTourRouteModules, gr as getTourRoutePages, c as getTrendTokens, fe as getWorkspaceClient, ee as getWorkspaceTokenPayload, Ce as gql, se as graphqlFetch, je as hasAuthGraphQLErrors, pe as initializeAppClients, rt as initializeLogger, F as installGatewayFetchRewrite, Pr as isAndroid, Me as isAuthGraphQLError, Ne as isAuthNetworkError, M as isChunkLoadError, Fr as isIOS, Bt as isMac, Vt as isMobileDevice, Ir as isNative, ut as isQuotaExhaustedError, Re as isSharedSsoCookieDomain, K as isShellLessRoute, Ht as isTabletDevice, _r as isTourVisibleForContext, ze as isTrustedSsoOrigin, Lr as isWeb, te as isWorkspaceTokenValidForContext, N as lazyWithRetry, et as logManager, Ut as matchesKeyCombo, Vn as mergeShortcuts, Rr as nativeConfirm, zr as nativeCopyText, Br as nativeImpact, Vr as nativeNotify, Hr as nativeOpenUrl, Ur as nativeShare, Wr as nativeToast, Wt as normalizeKey, Gt as normalizePlatformCombo, vr as normalizeTourPath, Kt as parseKeyCombo, D as pluralize, l as progressTokens, Xn as publishPlanUsageSnapshot, Be as readShellSsoCookie, Pe as redirectToLogin, yr as registerTourRouteCatalog, me as resetAppClients, Ar as resolveAppShellObservabilityConfig, R as resolveAuthBridgeConfig, I as resolveGatewayBases, ce as resolveGatewayUrl, P as resolveGatewayUrls, br as resolveTourTargetPath, Ve as setSSoCookie, He as setShellSsoCookies, it as setUserContext, qt as shouldEnableKeyboardShortcuts, Jt as shouldIgnoreShortcut, q as shouldShowBreadcrumb, J as shouldShowSidebar, O as slugify, u as statusTokens, L as suppressConsole, k as toCamelCase, A as toPascalCase, d as trendTokens, j as truncateText, we as useApolloClient, Jr as useAppState, jn as useAsync, Mn as useAsyncImmediate, Cr as useAutoStartTour, gn as useBreakpoint, On as useConditionalToggle, Sn as useCopyToClipboard, fn as useDebounce, Yr as useDeviceInfo, ln as useEvent, un as useEventBus, dn as useEventEmitter, jt as useFeatureFlag, Mt as useFeatureFlagDetails, Nt as useFeatureFlagValue, At as useFeatureFlags, ge as useGateway, _e as useGatewayClient, Xr as useHaptics, Un as useHasAnimated, In as useHotkeys, or as useIsTourPlaying, bn as useKeyPress, xn as useKeyboardShortcut, Fn as useKeyboardShortcuts, Te as useLazyQuery, Cn as useLocalStorage, Hn as useLogger, mn as useMediaQuery, $n as useMicrofrontendContext, _n as useMobileBreakpoint, Ee as useMutation, qr as useNativeKeyboard, Gr as useNativePlatform, vn as useOnClickOutside, yn as useOnClickOutsideWithRef, Et as usePWA, fr as usePlayTour, Tn as usePrevious, En as usePreviousDistinct, Dn as usePreviousHistory, De as useQuery, Jn as useQuotaErrorToast, Gn as useRecordProductVisit, Wn as useReferralAttribution, Ye as useRegistryHelpers, Kr as useSafeArea, ve as useSafeGateway, ye as useSafeGatewayClient, wr as useSafeToursContext, wn as useSessionStorage, Xe as useShellNavigate, Ln as useShortcutHelp, sr as useStartTour, Zr as useStatusBar, cr as useStopTour, Oe as useSubscription, pn as useThrottle, kn as useToggle, An as useToggleObject, nr as useTourPlayer, lr as useTourPlayerContext, Tr as useTours, Er as useToursContext, Zn as useUpgradePrompt, xr as withTourProgressStatus };
110
+ export { yt as AccessDenied, xe as ApolloClient, Se as ApolloProvider, kt as AppErrorBoundary, Ye as AppInitializer, kr as AppShellProvider, hn as BREAKPOINTS, an as BackendAuditSink, rn as BroadcastChannelSink, W as COMMON_SHELL_LESS_ROUTES, Et as ConditionalShell, nt as ConsoleTransport, It as ContextConversationWidget, X as DEFAULT_PAGE_SIZE, G as DEFAULT_SHELL_CONFIG, nn as DevtoolsSink, pt as ErrorBoundary, xt as ErrorFallback, cn as EventBusProvider, $r as FE_SHARED_VERSION, At as FeatureFlagProvider, Ft as FeatureGate, Z as GATEWAYS, Rn as GLOBAL_SHORTCUT_CATEGORIES, ge as GatewayProvider, Ce as InMemoryCache, Xt as KeyboardHelpDialogWrapper, St as LoadingFallback, Qe as LogLevel, et as LogManager, $e as Logger, Nn as MODIFIER_KEYS, Qn as MicrofrontendContext, Tt as MicrofrontendErrorBoundary, jr as MicrofrontendProvider, sn as OtelBrowserSink, Yn as PLAN_USAGE_SNAPSHOT_EVENT, Pn as PLATFORM_TYPES, B as PRODUCTS, V as PRODUCT_URLS, Ot as PWAInstallBanner, Ct as PageLoadingFallback, gt as PermissionButton, bt as PermissionDenied, _t as PermissionGate, vt as PermissionLink, ct as QUOTA_EXHAUSTED_CODE, Kn as QUOTA_EXHAUSTED_EVENT, Zt as QuotaMeter, mt as RequireAuth, ht as RequireGuest, on as RybbitSink, ue as SSELink, We as SSORedirectSpinner, Gr as SafeAreaView, wt as SectionLoadingFallback, Or as TourInitializer, ur as TourPlayer, ar as TourPlayerProvider, rr as TourSpotlight, ir as TourTooltip, Dr as TourTrigger, dr as TourTriggerButton, Sr as ToursProvider, Qt as UPGRADE_PROMPT_EVENT, tn as UpgradeInlineBanner, $t as UpgradePromptModal, n as alertTokens, Ae as attemptTokenRefresh, lt as buildQuotaExhaustedMessage, p as capitalizeFirst, m as capitalizeWords, r as categoryTokens, Ge as checkRemoteSLO, Ke as checkSLO, je as clearAuthSessionStorage, qe as clearLocalAuthState, Ie as clearSSoCookie, Le as clearShellSsoCookies, rt as clearUserContext, ft as cn, t as createApolloClient, ln as createEventBus, zn as createGlobalShortcuts, de as createGraphQLClient, ot as createProfileScopedStorage, er as detectDeviceType, Lt as detectPlatform, qn as dispatchQuotaExhausted, en as dispatchUpgradePrompt, ut as extractQuotaExhaustedExtensions, h as formatBytes, g as formatCompactNumber, _ as formatCurrency, v as formatCurrencyCompact, y as formatDate, b as formatDateTime, x as formatDuration, Rt as formatKeyCombo, S as formatList, C as formatNumber, w as formatOrdinal, T as formatPercentage, E as formatRelativeTime, D as formatTime, i as getAlertTokens, a as getCategoryTokens, zt as getDisplayKeysForPlatform, Q as getGatewayConfig, $ as getGatewayUrl, fe as getGlobalClient, Bn as getGlobalShortcutsByCategory, ee as getGraphQLEndpoint, Mr as getNativeBridge, Nr as getPlatform, H as getProductUrl, U as getProductsWithUrls, st as getProfileScopedKey, o as getProgressTokens, tr as getResponsiveSelector, Je as getSSORedirectUrl, Re as getSSoCookie, K as getShellConfig, Bt as getShortcutLabel, s as getStatusBadgeTokens, c as getStatusTokens, re as getStoredAuthToken, ie as getStoredLocale, ae as getStoredOrganizationId, oe as getStoredWorkspaceId, se as getStoredWorkspaceToken, pr as getTourContextRank, mr as getTourRouteCatalog, hr as getTourRouteModules, gr as getTourRoutePages, l as getTrendTokens, pe as getWorkspaceClient, te as getWorkspaceTokenPayload, we as gql, ce as graphqlFetch, Me as hasAuthGraphQLErrors, me as initializeAppClients, it as initializeLogger, I as installGatewayFetchRewrite, Pr as isAndroid, Ne as isAuthGraphQLError, Pe as isAuthNetworkError, N as isChunkLoadError, Fr as isIOS, Vt as isMac, Ht as isMobileDevice, Ir as isNative, dt as isQuotaExhaustedError, ze as isSharedSsoCookieDomain, q as isShellLessRoute, Ut as isTabletDevice, _r as isTourVisibleForContext, Be as isTrustedSsoOrigin, Lr as isWeb, ne as isWorkspaceTokenValidForContext, P as lazyWithRetry, tt as logManager, Wt as matchesKeyCombo, Vn as mergeShortcuts, Rr as nativeConfirm, zr as nativeCopyText, Br as nativeImpact, Vr as nativeNotify, Hr as nativeOpenUrl, Ur as nativeShare, Wr as nativeToast, Gt as normalizeKey, Kt as normalizePlatformCombo, vr as normalizeTourPath, qt as parseKeyCombo, O as pluralize, u as progressTokens, Xn as publishPlanUsageSnapshot, Ve as readShellSsoCookie, Fe as redirectToLogin, yr as registerTourRouteCatalog, he as resetAppClients, Ar as resolveAppShellObservabilityConfig, z as resolveAuthBridgeConfig, L as resolveGatewayBases, le as resolveGatewayUrl, F as resolveGatewayUrls, br as resolveTourTargetPath, He as setSSoCookie, Ue as setShellSsoCookies, at as setUserContext, Jt as shouldEnableKeyboardShortcuts, Yt as shouldIgnoreShortcut, J as shouldShowBreadcrumb, Y as shouldShowSidebar, k as slugify, d as statusTokens, R as suppressConsole, A as toCamelCase, j as toPascalCase, f as trendTokens, M as truncateText, Te as useApolloClient, Yr as useAppState, jn as useAsync, Mn as useAsyncImmediate, Cr as useAutoStartTour, gn as useBreakpoint, On as useConditionalToggle, Sn as useCopyToClipboard, pn as useDebounce, Xr as useDeviceInfo, un as useEvent, dn as useEventBus, fn as useEventEmitter, Mt as useFeatureFlag, Nt as useFeatureFlagDetails, Pt as useFeatureFlagValue, jt as useFeatureFlags, _e as useGateway, ve as useGatewayClient, Zr as useHaptics, Un as useHasAnimated, In as useHotkeys, or as useIsTourPlaying, bn as useKeyPress, xn as useKeyboardShortcut, Fn as useKeyboardShortcuts, Ee as useLazyQuery, Cn as useLocalStorage, Hn as useLogger, e as useMediaQuery, $n as useMicrofrontendContext, _n as useMobileBreakpoint, De as useMutation, Jr as useNativeKeyboard, Kr as useNativePlatform, vn as useOnClickOutside, yn as useOnClickOutsideWithRef, Dt as usePWA, fr as usePlayTour, Tn as usePrevious, En as usePreviousDistinct, Dn as usePreviousHistory, Oe as useQuery, Jn as useQuotaErrorToast, Gn as useRecordProductVisit, Wn as useReferralAttribution, Xe as useRegistryHelpers, qr as useSafeArea, ye as useSafeGateway, be as useSafeGatewayClient, wr as useSafeToursContext, wn as useSessionStorage, Ze as useShellNavigate, Ln as useShortcutHelp, sr as useStartTour, Qr as useStatusBar, cr as useStopTour, ke as useSubscription, mn as useThrottle, kn as useToggle, An as useToggleObject, nr as useTourPlayer, lr as useTourPlayerContext, Tr as useTours, Er as useToursContext, Zn as useUpgradePrompt, xr as withTourProgressStatus };
@@ -1,5 +1,5 @@
1
- import { Button as e } from "../ui/button.js";
2
- import { Dialog as t, DialogContent as n, DialogDescription as r, DialogFooter as i, DialogHeader as a, DialogTitle as o } from "../ui/dialog.js";
1
+ import { Dialog as e, DialogContent as t, DialogDescription as n, DialogFooter as r, DialogHeader as i, DialogTitle as a } from "../ui/dialog.js";
2
+ import { Button as o } from "../ui/button.js";
3
3
  import { Input as s } from "../ui/input.js";
4
4
  import { Label as c } from "../ui/label.js";
5
5
  import { Spinner as l } from "../ui/spinner.js";
@@ -11,11 +11,11 @@ function g({ open: g, onOpenChange: _, source: v, defaultFolderPath: y, filename
11
11
  let [S, C] = f(y ?? "/Saved"), { save: w, isPending: T, error: E, progress: D } = u();
12
12
  return d(() => {
13
13
  g && C(y ?? "/Saved");
14
- }, [g, y]), /* @__PURE__ */ m(t, {
14
+ }, [g, y]), /* @__PURE__ */ m(e, {
15
15
  open: g,
16
16
  onOpenChange: _,
17
- children: /* @__PURE__ */ h(n, { children: [
18
- /* @__PURE__ */ h(a, { children: [/* @__PURE__ */ m(o, { children: "Save to Files" }), /* @__PURE__ */ h(r, { children: [
17
+ children: /* @__PURE__ */ h(t, { children: [
18
+ /* @__PURE__ */ h(i, { children: [/* @__PURE__ */ m(a, { children: "Save to Files" }), /* @__PURE__ */ h(n, { children: [
19
19
  "Save ",
20
20
  /* @__PURE__ */ m("span", {
21
21
  className: "font-medium",
@@ -62,12 +62,12 @@ function g({ open: g, onOpenChange: _, source: v, defaultFolderPath: y, filename
62
62
  })
63
63
  ]
64
64
  }),
65
- /* @__PURE__ */ h(i, { children: [/* @__PURE__ */ m(e, {
65
+ /* @__PURE__ */ h(r, { children: [/* @__PURE__ */ m(o, {
66
66
  variant: "ghost",
67
67
  disabled: T,
68
68
  onClick: () => _(!1),
69
69
  children: "Cancel"
70
- }), /* @__PURE__ */ m(e, {
70
+ }), /* @__PURE__ */ m(o, {
71
71
  disabled: T || S.trim().length === 0,
72
72
  onClick: async () => {
73
73
  try {
@@ -1,7 +1,7 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import { HTMLAttributes } from 'react';
3
3
  declare const badgeVariants: (props?: ({
4
- variant?: "default" | "destructive" | "outline" | "secondary" | "success" | "warning" | "info" | null | undefined;
4
+ variant?: "default" | "success" | "warning" | "info" | "secondary" | "destructive" | "outline" | null | undefined;
5
5
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
6
  export interface BadgeProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
7
7
  }
@@ -0,0 +1,16 @@
1
+ import * as React from 'react';
2
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
3
+ export type BottomSheetProps = React.ComponentProps<typeof DialogPrimitive.Root>;
4
+ export declare function BottomSheet({ ...props }: BottomSheetProps): import("react/jsx-runtime").JSX.Element;
5
+ export declare function BottomSheetTrigger(props: React.ComponentProps<typeof DialogPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
6
+ export declare function BottomSheetClose(props: React.ComponentProps<typeof DialogPrimitive.Close>): import("react/jsx-runtime").JSX.Element;
7
+ export interface BottomSheetContentProps extends React.ComponentProps<typeof DialogPrimitive.Content> {
8
+ showHandle?: boolean;
9
+ showCloseButton?: boolean;
10
+ }
11
+ export declare function BottomSheetContent({ className, children, showHandle, showCloseButton, ...props }: BottomSheetContentProps): import("react/jsx-runtime").JSX.Element;
12
+ export declare function BottomSheetHeader({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
13
+ export declare function BottomSheetFooter({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
14
+ export declare function BottomSheetTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
15
+ export declare function BottomSheetDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
16
+ //# sourceMappingURL=bottom-sheet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bottom-sheet.d.ts","sourceRoot":"","sources":["../../src/ui/bottom-sheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAK1D,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,CAAC;AAEjF,wBAAgB,WAAW,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,2CAEzD;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,2CAE7F;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,2CAEzF;AAoBD,MAAM,WAAW,uBACf,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC;IAC5D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,wBAAgB,kBAAkB,CAAC,EACjC,SAAS,EACT,QAAQ,EACR,UAAiB,EACjB,eAAsB,EACtB,GAAG,KAAK,EACT,EAAE,uBAAuB,2CAqCzB;AAED,wBAAgB,iBAAiB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAQrF;AAED,wBAAgB,iBAAiB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAQrF;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,2CAQpD;AAED,wBAAgB,sBAAsB,CAAC,EACrC,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,WAAW,CAAC,2CAQ1D"}
@@ -0,0 +1,89 @@
1
+ import { cn as e } from "../lib/utils.js";
2
+ import "react";
3
+ import { XIcon as t } from "lucide-react";
4
+ import { jsx as n, jsxs as r } from "react/jsx-runtime";
5
+ import * as i from "@radix-ui/react-dialog";
6
+ //#region src/ui/bottom-sheet.tsx
7
+ function a({ ...e }) {
8
+ return /* @__PURE__ */ n(i.Root, {
9
+ "data-slot": "bottom-sheet",
10
+ ...e
11
+ });
12
+ }
13
+ function o(e) {
14
+ return /* @__PURE__ */ n(i.Trigger, {
15
+ "data-slot": "bottom-sheet-trigger",
16
+ ...e
17
+ });
18
+ }
19
+ function s(e) {
20
+ return /* @__PURE__ */ n(i.Close, {
21
+ "data-slot": "bottom-sheet-close",
22
+ ...e
23
+ });
24
+ }
25
+ function c({ className: t, ...r }) {
26
+ return /* @__PURE__ */ n(i.Overlay, {
27
+ "data-slot": "bottom-sheet-overlay",
28
+ className: e("fixed inset-0 z-[110] bg-bg-overlay", "data-[state=open]:animate-in data-[state=open]:fade-in-0", "data-[state=closed]:animate-out data-[state=closed]:fade-out-0", t),
29
+ ...r
30
+ });
31
+ }
32
+ function l({ className: a, children: o, showHandle: s = !0, showCloseButton: l = !0, ...u }) {
33
+ return /* @__PURE__ */ r(i.Portal, {
34
+ "data-slot": "bottom-sheet-portal",
35
+ children: [/* @__PURE__ */ n(c, {}), /* @__PURE__ */ r(i.Content, {
36
+ "data-slot": "bottom-sheet-content",
37
+ className: e("fixed inset-x-0 bottom-0 z-[120] flex max-h-[90vh] flex-col gap-3", "bg-bg-canvas text-text-primary border-t border-border-default", "rounded-t-2xl shadow-lg", "pb-[max(env(safe-area-inset-bottom),1rem)]", "data-[state=open]:animate-in data-[state=open]:slide-in-from-bottom data-[state=open]:duration-300", "data-[state=closed]:animate-out data-[state=closed]:slide-out-to-bottom data-[state=closed]:duration-200", "focus:outline-none", a),
38
+ ...u,
39
+ children: [
40
+ s ? /* @__PURE__ */ n("div", {
41
+ className: "mx-auto mt-2 h-1.5 w-12 shrink-0 rounded-full bg-border-default",
42
+ "aria-hidden": "true"
43
+ }) : null,
44
+ /* @__PURE__ */ n("div", {
45
+ className: "flex-1 overflow-y-auto overscroll-contain px-4 sm:px-6",
46
+ children: o
47
+ }),
48
+ l ? /* @__PURE__ */ r(i.Close, {
49
+ "data-slot": "bottom-sheet-close-x",
50
+ className: "absolute top-3 right-3 rounded-md p-2 text-text-secondary opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-action-primary-bg/40",
51
+ children: [/* @__PURE__ */ n(t, { className: "size-4" }), /* @__PURE__ */ n("span", {
52
+ className: "sr-only",
53
+ children: "Close"
54
+ })]
55
+ }) : null
56
+ ]
57
+ })]
58
+ });
59
+ }
60
+ function u({ className: t, ...r }) {
61
+ return /* @__PURE__ */ n("div", {
62
+ "data-slot": "bottom-sheet-header",
63
+ className: e("flex flex-col gap-1 pt-2 pb-1", t),
64
+ ...r
65
+ });
66
+ }
67
+ function d({ className: t, ...r }) {
68
+ return /* @__PURE__ */ n("div", {
69
+ "data-slot": "bottom-sheet-footer",
70
+ className: e("mt-2 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", t),
71
+ ...r
72
+ });
73
+ }
74
+ function f({ className: t, ...r }) {
75
+ return /* @__PURE__ */ n(i.Title, {
76
+ "data-slot": "bottom-sheet-title",
77
+ className: e("text-lg font-semibold text-text-primary", t),
78
+ ...r
79
+ });
80
+ }
81
+ function p({ className: t, ...r }) {
82
+ return /* @__PURE__ */ n(i.Description, {
83
+ "data-slot": "bottom-sheet-description",
84
+ className: e("text-sm text-text-secondary", t),
85
+ ...r
86
+ });
87
+ }
88
+ //#endregion
89
+ export { a as BottomSheet, s as BottomSheetClose, l as BottomSheetContent, p as BottomSheetDescription, d as BottomSheetFooter, u as BottomSheetHeader, f as BottomSheetTitle, o as BottomSheetTrigger };
@@ -1,8 +1,8 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import * as React from 'react';
3
3
  declare const buttonVariants: (props?: ({
4
- variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
5
- size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
4
+ variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "ghost" | null | undefined;
5
+ size?: "default" | "icon" | "sm" | "lg" | "icon-sm" | "icon-lg" | null | undefined;
6
6
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
7
  export type ButtonProps = React.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
8
8
  asChild?: boolean;
@@ -0,0 +1,13 @@
1
+ import * as React from 'react';
2
+ export interface EmptyStateProps {
3
+ icon?: React.ReactNode | null;
4
+ title: React.ReactNode;
5
+ description?: React.ReactNode;
6
+ action?: React.ReactNode;
7
+ secondaryAction?: React.ReactNode;
8
+ compact?: boolean;
9
+ className?: string;
10
+ }
11
+ /** Canonical empty-state layout: icon → title → description → action. */
12
+ export declare function EmptyState({ icon, title, description, action, secondaryAction, compact, className, }: EmptyStateProps): import("react/jsx-runtime").JSX.Element;
13
+ //# sourceMappingURL=empty-state.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"empty-state.d.ts","sourceRoot":"","sources":["../../src/ui/empty-state.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC;IAC9B,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAClC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,yEAAyE;AACzE,wBAAgB,UAAU,CAAC,EACzB,IAA8E,EAC9E,KAAK,EACL,WAAW,EACX,MAAM,EACN,eAAe,EACf,OAAe,EACf,SAAS,GACV,EAAE,eAAe,2CAgCjB"}
@@ -0,0 +1,34 @@
1
+ import { cn as e } from "../lib/utils.js";
2
+ import "react";
3
+ import { InboxIcon as t } from "lucide-react";
4
+ import { jsx as n, jsxs as r } from "react/jsx-runtime";
5
+ //#region src/ui/empty-state.tsx
6
+ function i({ icon: i = /* @__PURE__ */ n(t, {
7
+ className: "size-8 text-text-secondary",
8
+ "aria-hidden": "true"
9
+ }), title: a, description: o, action: s, secondaryAction: c, compact: l = !1, className: u }) {
10
+ return /* @__PURE__ */ r("div", {
11
+ "data-slot": "empty-state",
12
+ className: e("flex flex-col items-center justify-center text-center", l ? "py-6 px-4" : "py-12 px-4", u),
13
+ children: [
14
+ i === null ? null : /* @__PURE__ */ n("div", {
15
+ className: e("rounded-full bg-bg-sunken flex items-center justify-center", l ? "size-12 mb-3" : "size-16 mb-4"),
16
+ children: i
17
+ }),
18
+ /* @__PURE__ */ n("h3", {
19
+ className: "text-lg font-semibold text-text-primary mb-1",
20
+ children: a
21
+ }),
22
+ o ? /* @__PURE__ */ n("p", {
23
+ className: "text-sm text-text-secondary max-w-md mb-4",
24
+ children: o
25
+ }) : null,
26
+ s || c ? /* @__PURE__ */ r("div", {
27
+ className: "mt-1 flex flex-col-reverse gap-2 sm:flex-row sm:items-center sm:justify-center",
28
+ children: [c, s]
29
+ }) : null
30
+ ]
31
+ });
32
+ }
33
+ //#endregion
34
+ export { i as EmptyState };
@@ -1,4 +1,11 @@
1
1
  export { Accordion, AccordionItem, AccordionTrigger, AccordionContent } from './accordion';
2
+ export { OptionalFields, type OptionalFieldsProps } from './optional-fields';
3
+ export { BottomSheet, BottomSheetClose, BottomSheetContent, BottomSheetDescription, BottomSheetFooter, BottomSheetHeader, BottomSheetTitle, BottomSheetTrigger, type BottomSheetContentProps, type BottomSheetProps, } from './bottom-sheet';
4
+ export { ResponsiveDialog, ResponsiveDialogClose, ResponsiveDialogContent, ResponsiveDialogDescription, ResponsiveDialogFooter, ResponsiveDialogHeader, ResponsiveDialogTitle, ResponsiveDialogTrigger, type ResponsiveDialogContentProps, } from './responsive-dialog';
5
+ export { ResponsiveTable, type ResponsiveTableColumn, type ResponsiveTableColumnPriority, type ResponsiveTableProps, } from './responsive-table';
6
+ export { Stepper, type StepperProps, type StepperStep } from './stepper';
7
+ export { ResponsiveStack, type ResponsiveStackProps } from './responsive-stack';
8
+ export { EmptyState, type EmptyStateProps } from './empty-state';
2
9
  export { AlertDialog, AlertDialogPortal, AlertDialogOverlay, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogAction, AlertDialogCancel, } from './alert-dialog';
3
10
  export { Badge, badgeVariants, type BadgeProps } from './badge';
4
11
  export { Button, buttonVariants, type ButtonProps } from './button';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ui/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAG3F,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,sBAAsB,EACtB,iBAAiB,EACjB,iBAAiB,GAClB,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AAGhE,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAGpE,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,eAAe,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAG/F,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,OAAO,EACL,OAAO,EACP,aAAa,EACb,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,eAAe,EACf,gBAAgB,GACjB,MAAM,WAAW,CAAC;AAGnB,OAAO,EACL,MAAM,EACN,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,WAAW,EACX,aAAa,GACd,MAAM,UAAU,CAAC;AAGlB,OAAO,EACL,YAAY,EACZ,wBAAwB,EACxB,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,sBAAsB,EACtB,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,EACpB,eAAe,EACf,sBAAsB,EACtB,sBAAsB,EACtB,mBAAmB,GACpB,MAAM,iBAAiB,CAAC;AAGzB,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AAGjD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAGnF,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAGtD,OAAO,EACL,MAAM,EACN,aAAa,EACb,WAAW,EACX,UAAU,EACV,WAAW,EACX,sBAAsB,EACtB,oBAAoB,EACpB,eAAe,EACf,aAAa,EACb,WAAW,GACZ,MAAM,UAAU,CAAC;AAGlB,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,OAAO,EACL,KAAK,EACL,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,WAAW,EACX,WAAW,EACX,UAAU,EACV,gBAAgB,GACjB,MAAM,SAAS,CAAC;AAGjB,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGnC,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AAGvD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGlC,OAAO,EACL,KAAK,EACL,SAAS,EACT,YAAY,EACZ,SAAS,EACT,WAAW,EACX,SAAS,EACT,WAAW,EACX,QAAQ,GACT,MAAM,SAAS,CAAC;AAGjB,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAGlE,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAG1D,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ui/index.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,16 @@
1
+ import * as React from 'react';
2
+ export interface OptionalFieldsProps {
3
+ title?: React.ReactNode;
4
+ description?: React.ReactNode;
5
+ defaultOpen?: boolean;
6
+ icon?: React.ReactNode | null;
7
+ className?: string;
8
+ contentClassName?: string;
9
+ children: React.ReactNode;
10
+ }
11
+ /**
12
+ * Canonical progressive-disclosure container for *optional* / *advanced* fields.
13
+ * Children stay mounted at all times (only display collapses) — form state preserved.
14
+ */
15
+ export declare function OptionalFields({ title, description, defaultOpen, icon, className, contentClassName, children, }: OptionalFieldsProps): import("react/jsx-runtime").JSX.Element;
16
+ //# sourceMappingURL=optional-fields.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"optional-fields.d.ts","sourceRoot":"","sources":["../../src/ui/optional-fields.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,MAAM,WAAW,mBAAmB;IAClC,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,EAC7B,KAA2B,EAC3B,WAAW,EACX,WAAmB,EACnB,IAAkF,EAClF,SAAS,EACT,gBAAgB,EAChB,QAAQ,GACT,EAAE,mBAAmB,2CA8CrB"}
@@ -0,0 +1,55 @@
1
+ import { cn as e } from "../lib/utils.js";
2
+ import "react";
3
+ import * as t from "@radix-ui/react-accordion";
4
+ import { ChevronDownIcon as n, Settings2Icon as r } from "lucide-react";
5
+ import { jsx as i, jsxs as a } from "react/jsx-runtime";
6
+ //#region src/ui/optional-fields.tsx
7
+ function o({ title: o = "Advanced settings", description: s, defaultOpen: c = !1, icon: l = /* @__PURE__ */ i(r, {
8
+ className: "size-4 text-text-secondary",
9
+ "aria-hidden": "true"
10
+ }), className: u, contentClassName: d, children: f }) {
11
+ let p = "optional-fields";
12
+ return /* @__PURE__ */ i(t.Root, {
13
+ type: "single",
14
+ collapsible: !0,
15
+ defaultValue: c ? p : void 0,
16
+ "data-slot": "optional-fields",
17
+ className: e("rounded-lg border border-border-default bg-bg-surface", u),
18
+ children: /* @__PURE__ */ a(t.Item, {
19
+ value: p,
20
+ className: "border-b-0",
21
+ children: [/* @__PURE__ */ i(t.Header, {
22
+ className: "flex",
23
+ children: /* @__PURE__ */ a(t.Trigger, {
24
+ "data-slot": "optional-fields-trigger",
25
+ className: e("group flex w-full items-center justify-between gap-3 rounded-lg px-4 py-3 text-left transition-colors", "hover:bg-bg-sunken focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-action-primary-bg/40", "min-h-11"),
26
+ children: [/* @__PURE__ */ a("div", {
27
+ className: "flex items-center gap-3 min-w-0",
28
+ children: [l, /* @__PURE__ */ a("div", {
29
+ className: "min-w-0",
30
+ children: [/* @__PURE__ */ i("div", {
31
+ className: "text-sm font-medium text-text-primary truncate",
32
+ children: o
33
+ }), s ? /* @__PURE__ */ i("div", {
34
+ className: "text-xs text-text-secondary truncate",
35
+ children: s
36
+ }) : null]
37
+ })]
38
+ }), /* @__PURE__ */ i(n, {
39
+ className: "size-4 shrink-0 text-text-secondary transition-transform duration-200 group-data-[state=open]:rotate-180",
40
+ "aria-hidden": "true"
41
+ })]
42
+ })
43
+ }), /* @__PURE__ */ i(t.Content, {
44
+ "data-slot": "optional-fields-content",
45
+ className: "overflow-hidden data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
46
+ children: /* @__PURE__ */ i("div", {
47
+ className: e("border-t border-border-subtle px-4 py-4 space-y-4", d),
48
+ children: f
49
+ })
50
+ })]
51
+ })
52
+ });
53
+ }
54
+ //#endregion
55
+ export { o as OptionalFields };
@@ -0,0 +1,18 @@
1
+ import { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger } from './dialog';
2
+ import * as React from 'react';
3
+ /**
4
+ * Drop-in replacement for Dialog: centred modal on tablet/desktop,
5
+ * bottom-sheet on mobile (< md). Same API as Dialog.
6
+ */
7
+ export declare function ResponsiveDialog(props: React.ComponentProps<typeof Dialog>): import("react/jsx-runtime").JSX.Element;
8
+ export declare function ResponsiveDialogTrigger(props: React.ComponentProps<typeof DialogTrigger>): import("react/jsx-runtime").JSX.Element;
9
+ export declare function ResponsiveDialogClose(props: React.ComponentProps<typeof DialogClose>): import("react/jsx-runtime").JSX.Element;
10
+ export interface ResponsiveDialogContentProps extends React.ComponentProps<typeof DialogContent> {
11
+ showHandle?: boolean;
12
+ }
13
+ export declare function ResponsiveDialogContent({ showHandle, ...props }: ResponsiveDialogContentProps): import("react/jsx-runtime").JSX.Element;
14
+ export declare function ResponsiveDialogHeader(props: React.ComponentProps<typeof DialogHeader>): import("react/jsx-runtime").JSX.Element;
15
+ export declare function ResponsiveDialogFooter(props: React.ComponentProps<typeof DialogFooter>): import("react/jsx-runtime").JSX.Element;
16
+ export declare function ResponsiveDialogTitle(props: React.ComponentProps<typeof DialogTitle>): import("react/jsx-runtime").JSX.Element;
17
+ export declare function ResponsiveDialogDescription(props: React.ComponentProps<typeof DialogDescription>): import("react/jsx-runtime").JSX.Element;
18
+ //# sourceMappingURL=responsive-dialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"responsive-dialog.d.ts","sourceRoot":"","sources":["../../src/ui/responsive-dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EACL,MAAM,EACN,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,aAAa,EACd,MAAM,UAAU,CAAC;AAgBlB;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,2CAG1E;AAED,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,2CAGxF;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,WAAW,CAAC,2CAGpF;AAED,MAAM,WAAW,4BAA6B,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC;IAC9F,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,wBAAgB,uBAAuB,CAAC,EACtC,UAAiB,EACjB,GAAG,KAAK,EACT,EAAE,4BAA4B,2CAM9B;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,YAAY,CAAC,2CAGtF;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,YAAY,CAAC,2CAGtF;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,WAAW,CAAC,2CAGpF;AAED,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,iBAAiB,CAAC,2CAGhG"}
@@ -0,0 +1,38 @@
1
+ import { BottomSheet as e, BottomSheetClose as t, BottomSheetContent as n, BottomSheetDescription as r, BottomSheetFooter as i, BottomSheetHeader as a, BottomSheetTitle as o, BottomSheetTrigger as s } from "./bottom-sheet.js";
2
+ import { useMediaQuery as c } from "../shared/hooks/useMediaQuery.js";
3
+ import { Dialog as l, DialogClose as u, DialogContent as d, DialogDescription as f, DialogFooter as p, DialogHeader as m, DialogTitle as h, DialogTrigger as g } from "./dialog.js";
4
+ import "react";
5
+ import { jsx as _ } from "react/jsx-runtime";
6
+ //#region src/ui/responsive-dialog.tsx
7
+ function v() {
8
+ return c("(max-width: 767px)");
9
+ }
10
+ function y(t) {
11
+ return v() ? /* @__PURE__ */ _(e, { ...t }) : /* @__PURE__ */ _(l, { ...t });
12
+ }
13
+ function b(e) {
14
+ return v() ? /* @__PURE__ */ _(s, { ...e }) : /* @__PURE__ */ _(g, { ...e });
15
+ }
16
+ function x(e) {
17
+ return v() ? /* @__PURE__ */ _(t, { ...e }) : /* @__PURE__ */ _(u, { ...e });
18
+ }
19
+ function S({ showHandle: e = !0, ...t }) {
20
+ return v() ? /* @__PURE__ */ _(n, {
21
+ showHandle: e,
22
+ ...t
23
+ }) : /* @__PURE__ */ _(d, { ...t });
24
+ }
25
+ function C(e) {
26
+ return v() ? /* @__PURE__ */ _(a, { ...e }) : /* @__PURE__ */ _(m, { ...e });
27
+ }
28
+ function w(e) {
29
+ return v() ? /* @__PURE__ */ _(i, { ...e }) : /* @__PURE__ */ _(p, { ...e });
30
+ }
31
+ function T(e) {
32
+ return v() ? /* @__PURE__ */ _(o, { ...e }) : /* @__PURE__ */ _(h, { ...e });
33
+ }
34
+ function E(e) {
35
+ return v() ? /* @__PURE__ */ _(r, { ...e }) : /* @__PURE__ */ _(f, { ...e });
36
+ }
37
+ //#endregion
38
+ export { y as ResponsiveDialog, x as ResponsiveDialogClose, S as ResponsiveDialogContent, E as ResponsiveDialogDescription, w as ResponsiveDialogFooter, C as ResponsiveDialogHeader, T as ResponsiveDialogTitle, b as ResponsiveDialogTrigger };