@digilogiclabs/saas-factory-ui 1.14.0 → 1.14.1

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/index.d.mts CHANGED
@@ -4382,7 +4382,7 @@ interface BrandLoaderProps {
4382
4382
  style?: CSSProperties;
4383
4383
  }
4384
4384
  declare function BrandLoader({ mode, paths, viewBox, transform, children, size, label, loading, fullscreen, centered, gradient, duration, labelColor, ariaLabel, className, style, }: BrandLoaderProps): react_jsx_runtime.JSX.Element | null;
4385
- interface LoadingOverlayContextValue {
4385
+ interface LoadingOverlayApi {
4386
4386
  /** Show the overlay. Optional config overrides the provider defaults for this invocation. */
4387
4387
  show: (overrides?: Partial<BrandLoaderProps>) => void;
4388
4388
  /** Hide the overlay. */
@@ -4392,6 +4392,16 @@ interface LoadingOverlayContextValue {
4392
4392
  * use this around fetch / mutation calls so the overlay clears no matter what.
4393
4393
  */
4394
4394
  wrap: <T>(fn: () => Promise<T>, overrides?: Partial<BrandLoaderProps>) => Promise<T>;
4395
+ }
4396
+ /**
4397
+ * Combined shape returned by the legacy {@link useLoadingOverlay} hook.
4398
+ *
4399
+ * NOTE: the returned object identity changes every time `visible`
4400
+ * flips. Do NOT put the whole object into a `useEffect` /
4401
+ * `useCallback` dep array — destructure at function scope instead, or
4402
+ * use {@link useLoadingOverlayApi} which returns a stable api object.
4403
+ */
4404
+ interface LoadingOverlayContextValue extends LoadingOverlayApi {
4395
4405
  visible: boolean;
4396
4406
  }
4397
4407
  interface LoadingOverlayProviderProps {
@@ -4400,6 +4410,30 @@ interface LoadingOverlayProviderProps {
4400
4410
  defaults: Omit<BrandLoaderProps, "loading" | "fullscreen">;
4401
4411
  }
4402
4412
  declare function LoadingOverlayProvider({ children, defaults, }: LoadingOverlayProviderProps): react_jsx_runtime.JSX.Element;
4413
+ /**
4414
+ * Stable API hook — returns `{ show, hide, wrap }` whose identity
4415
+ * never changes for the lifetime of the provider. Safe to put in
4416
+ * `useEffect` / `useCallback` dep arrays.
4417
+ *
4418
+ * Prefer this over {@link useLoadingOverlay} in any code that wires
4419
+ * the overlay into effects or callbacks (route bridges, subscription
4420
+ * cleanup, etc.).
4421
+ */
4422
+ declare function useLoadingOverlayApi(): LoadingOverlayApi;
4423
+ /**
4424
+ * Subscribe to overlay visibility. Re-renders the calling component
4425
+ * when the overlay opens or closes. Use for "is the loader showing?"
4426
+ * UI affordances (pause animations, dim background, etc.).
4427
+ */
4428
+ declare function useLoadingOverlayVisible(): boolean;
4429
+ /**
4430
+ * Legacy combined hook. Returns `{ show, hide, wrap, visible }`.
4431
+ *
4432
+ * Backward compatible with 1.14.0 and earlier. The returned object
4433
+ * identity changes whenever `visible` flips — DO NOT put it in a hook
4434
+ * dep array. For dep-array use, switch to {@link useLoadingOverlayApi}
4435
+ * which is stable across renders.
4436
+ */
4403
4437
  declare function useLoadingOverlay(): LoadingOverlayContextValue;
4404
4438
  declare const OSS_LOGO_VIEWBOX = "0 0 128 128";
4405
4439
  declare const OSS_LOGO_TRANSFORM = "matrix(1.0398978,0,0,1.0849193,-2.1653357,-2.6281593)";
@@ -6202,4 +6236,4 @@ declare class OptimizedStateManager {
6202
6236
  }
6203
6237
  declare const stateManager: OptimizedStateManager;
6204
6238
 
6205
- export { ANIMATION_DURATION, Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, type ActivityType, type AdvancedAudioTrack, AdvancedPlayer, type AdvancedPlayerProps, Alert, AlertDescription, AlertTitle, AnalyticsDashboard, AnimatedSectionTitle, type AnimatedSectionTitleProps, type AnimationPreset, type AnimationTokens, Breadcrumbs as AppBreadcrumbs, AppShell, AudioFeed, type AudioFeedProps, AudioPlayer, type AudioPlayerProps, SearchWithFilters as AudioSearch, type AudioTrack, type AudioTrackCardData, AuthLayout, Avatar, AvatarFallback, AvatarImage, Badge, BarChart, type BarChart3IconBand, type BarChartProps, type BaseAccordionItemProps, type BaseAccordionProps, type BaseBreadcrumbsProps, type BaseChartProps, type BaseComponentProps, type BaseEmptyStateProps, type BaseSliderProps, type BaseSwitchProps, type BaseTextareaProps, type BaseTheme, type BorderRadiusScale, BrandLoader, type BrandLoaderGradient, type BrandLoaderMode, type BrandLoaderPath, type BrandLoaderProps, type BreadcrumbItem$1 as BreadcrumbItem, Breadcrumbs$1 as Breadcrumbs, type BreadcrumbsProps$1 as BreadcrumbsProps, type BugReportPayload, BugReporter, type BugReporterProps, Button, type ButtonVariants, type CTAAction, CTACluster, type CTAClusterProps, type CacheStrategy, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type ChartDataPoint, type ChartSeries, Checkbox, CollaborativePlaylist, type CollaborativePlaylistData, type CollaborativePlaylistProps, type Collaborator, type CollaboratorRole, type Column$1 as Column, CommandPalette, type Comment, type CommentData, CommentSystem, type CommentSystemProps, type CommentUser, type ComponentProps, type ComponentSize, type ComponentVariant, Container$1 as Container, ConversionKPI, type CrossfadeMode, DISTANCES, DURATIONS, DashboardGrid, DashboardLayout, DashboardWidget, type DashboardWidgetProps, DataGrid, type DataGridProps, type DataItem, DataTable, type Column as DataTableColumn, type DataTableProps, type DateFilter, Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, DialogTrigger, type Distance, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, type Duration, type DurationFilter, EASINGS, type Easing, EmptyState, type EmptyStateProps, EnhancedScrollToTop, type EnhancedScrollToTopProps, type EnvConfig, ErrorAnimation, ErrorBoundary, type ErrorBoundaryProps, ErrorEmptyState, type ErrorEmptyStateProps, ErrorFallback, type ErrorFallbackProps, type ExportOptions, type ExportService, FeatureGrid, type FeatureGridProps, FeatureHighlight, type FeatureItem, type FeedFilter, type FeedItem, type FeedSortOrder, type FeedbackCategory, FilterChip, type FilterChipProps, type FilterConfig, FilterableGrid, type FilterableGridCategory, type FilterableGridCategoryNavProps, type FilterableGridFilter, type FilterableGridFilterOption, type FilterableGridLabels, type FilterableGridLayout, type FilterableGridProps, type FilterableGridQuickTab, type FilterableGridRenderCardContext, type FilterableGridSort, type FilterableGridState, FixedAudioBar, type FixedAudioBarProps, Form, FormBuilder, type FormBuilderProps, FormDescription, type FormField, FormGroup, FormLabel, FormMessage, FormProgress, type FormProps, type FormSchema, FormSection, type GenreFilter, type GlassmorphismTokens, GradientBorderCard, type GradientBorderCardProps, Grid$1 as Grid, GridItem, HOVER, HOVER_TRANSITION, HamburgerIcon, type HamburgerIconProps, Header, HeaderActions, HeaderBrand, HeaderContainer, HeaderDesktopNav, HeaderMobileTrigger, HeaderNavLink, Hero, HeroCTA, HeroContent, type HeroProps, HeroSubtitle, HeroTitle, InfoAnimation, Input, type InputVariants, type IntersectionObserverOptions, KPIDashboard, type KPIData, KPIWidget, type KPIWidgetProps, Label, LavaLamp, type LavaLampProps, LazyImage, type LazyImagePlaceholder, type LazyImageProps, LineChart, type LineChartProps, LoadingOverlayProvider, type LoadingOverlayProviderProps, LoadingSpinner, LogoCloud, type LogoCloudProps, type LogoItem, MobileContainer, type MobileContainerProps, MobileContent, MobileEmailInput, MobileForm, MobileFormActions, MobileFormField, MobileFormGroup, type MobileFormProps, MobileFormSection, MobileGrid, MobileHero, type MobileHeroProps, MobileNavButton, MobileNavContent, MobileNavDrawer, MobileNavFooter, MobileNavHeader, MobileNavLink, MobileNavOverlay, MobileNavTrigger, MobileNavigation, MobileOTPInput, MobilePage, MobilePhoneInput, MobileSection, MobileSticky, Modal, type MotionVariant, MultiSlider, NativeAccordionComponent as NativeAccordion, NativeAccordionItem, type NativeAccordionItemComponentProps as NativeAccordionItemProps, type NativeAccordionComponentProps as NativeAccordionProps, NativeBreadcrumbsComponent as NativeBreadcrumbs, type NativeBreadcrumbsComponentProps as NativeBreadcrumbsProps, type NativeComponentProps, Container as NativeContainer, NativeEmptyStateComponent as NativeEmptyState, type NativeEmptyStateComponentProps as NativeEmptyStateProps, NativeErrorEmptyState, type NativeErrorEmptyStateProps as NativeErrorEmptyStateComponentProps, Grid as NativeGrid, NativeMultiSlider, NativeNoDataEmptyState, type NativeNoDataEmptyStateProps as NativeNoDataEmptyStateComponentProps, NativeNoResultsEmptyState, type NativeNoResultsEmptyStateProps as NativeNoResultsEmptyStateComponentProps, Section as NativeSection, type NativeSimpleAccordionItem, NativeSimpleBreadcrumbs, type NativeSimpleBreadcrumbsProps, NativeSliderComponent as NativeSlider, type NativeSliderComponentProps as NativeSliderProps, type NativeStyle, NativeSwitchComponent as NativeSwitch, type NativeSwitchComponentProps as NativeSwitchProps, NativeTextareaComponent as NativeTextarea, type NativeTextareaComponentProps as NativeTextareaProps, NativeTextareaWithCounter, type NativeTextareaWithCounterProps, Pagination as NavigationPagination, Stepper as NavigationStepper, Tabs as NavigationTabs, NetworkAwareContent, type NetworkAwareContentProps, type NetworkInfo, type NetworkSpeed, type NetworkType, NewsTicker, type NewsTickerFilter, type NewsTickerFilterOption, type NewsTickerProps, type NewsTickerSort, NoDataEmptyState, type NoDataEmptyStateProps, NoResultsEmptyState, type NoResultsEmptyStateProps, NotificationCenter, type NotificationCenterProps, type NotificationItem, type NotificationType, type NotificationUser, TrackCard as NowPlayingCard, OSS_LOGO_GRADIENT, OSS_LOGO_PATHS, OSS_LOGO_TRANSFORM, OSS_LOGO_VIEWBOX, OfflineWrapper, type OfflineWrapperProps, Onboarding, OptimizedStateManager, type OptimizedStoreOptions, PageHeader, type PageHeaderProps, PageShell, type PageShellProps, PageTransition, type PageTransitionDirection, type PageTransitionProps, type PageTransitionType, Pagination$1 as Pagination, type PaginationConfig, PaginationInfo, type PaginationInfoProps, type PaginationProps$1 as PaginationProps, type PerformanceMetrics, type PieChartProps, Platform, type PlatformConfig, type PlatformSelect, type PlatformSelectMultiple, type PlatformType, type PlaybackQuality, type PlaybackState, type PlaylistActivity, PlaylistBuilder, type PlaylistBuilderProps, PlaylistBuilder as PlaylistCard, type PlaylistData, PlaylistBuilder as PlaylistSidebar, type PlaylistTrack, type PlaylistVisibility, Preloader, type PreloaderProps, PremiumCard, PremiumCardContent, PremiumCardFooter, PremiumCardHeader, type PremiumCardProps, PricingHero, type PricingHeroProps, type PricingPlan, Progress, ProgressiveImage, type ProgressiveImageProps, type ProgressiveImageStrategy, type ProgressiveImageTransition, PullToRefresh, type PullToRefreshProps, PulseIndicator, type PulseIndicatorProps, type PulseStatus, QuickForm, type RefreshState, type RepeatMode, type ResponsiveColumns, ResponsiveFlex, ResponsiveGrid, type ResponsiveGridProps, ResponsiveHeader, type ResponsiveHeaderProps, RevenueKPI, STAGGER, STAGGER_CONTAINERS, STAGGER_ITEMS, SafeAreaWrapper, ScrollProgressBar, type ScrollProgressBarProps, ScrollProgressLine, type ScrollProgressLineProps, ScrollToTop, type ScrollToTopProps, type SearchCategory, type SearchFilters, type SearchResult, type SearchSortBy, type SearchSuggestion, SearchWithFilters, type SearchWithFiltersProps, Section$1 as Section, SectionBlock, type SectionBlockProps, SectionLabel, type SectionLabelProps, SectionTitle, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, type SelectionConfig, SettingsLayout, type ShareOption, Sidebar, SimpleAccordion, type SimpleAccordionItem, type SimpleAccordionProps, SimpleBreadcrumbs, type SimpleBreadcrumbsProps, SimpleHero, SimpleResponsiveHeader, type Size, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonText, SkipToContent, Slider, type SliderProps, type SocialAction, SocialActions, type SocialActionsProps, type SocialLinks, type SortConfig, type SpacingScale, Stack, type StaggerSpeed, SuccessAnimation, type SuccessAnimationProps, SuccessCheckmark, type SwipeAction, SwipeableCard, type SwipeableCardProps, Switch, type SwitchProps, THEME_COLORS, type TabItem$1 as TabItem, TabNavigation, type TabNavigationProps, Tabs$1 as Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, TextareaWithCounter, type TextareaWithCounterProps, type Theme, type ThemeColors, ThemeProvider, ThemeToggle, type ThemeToggleProps, TiltCard, type TiltCardAspectRatio, type TiltCardProps, type TiltCardStat, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, ToastIcon, type ToastIconProps, type ToastProps, ToastProvider, ToastTitle, type ToastVariant, ToastViewport, Toaster, Tooltip$1 as Tooltip, TooltipContent, type TooltipProps$1 as TooltipProps, TooltipProvider, TooltipRoot, TooltipTrigger, TouchInput, type TouchInputProps, Tour, Tooltip as TourTooltip, type Track, TrackCard, type TrackCardProps, AudioFeed as TrackList, type TrendingSection, type TrendingTrack, TrendingTracks, type TrendingTracksProps, type TutorialAction, TutorialEmbed, type TutorialEmbedProps, TutorialGallery, type TutorialGalleryProps, type TutorialMedia, type TutorialMetadata, TutorialSequence, type TutorialSequenceProps, type TutorialStep, type UseFocusTrapOptions, type UseIntersectionObserverResult, type UsePerformanceObserverOptions, UserProfile, type UserProfileData, type UserProfileProps, type UserStats, UsersKPI, VARIANTS, VARIANT_ICONS, VIEWPORT, type Variant, type VideoAuthor, type VideoChapter, VideoPlayer, type VideoPlayerProps, type VideoQuality, type VideoSubtitle, type VideoTrack, type ViewportSetting, VirtualScrollList, type VirtualScrollListProps, type VirtualizationConfig, type VirtualizedItem, type VisualizerType, WarningAnimation, type WaveformData, WaveformPlayer, type WaveformPlayerProps, Accordion as WebAccordion, type AccordionProps as WebAccordionComponentProps, AccordionContent as WebAccordionContent, type AccordionContentProps as WebAccordionContentComponentProps, AccordionItem as WebAccordionItem, type AccordionItemProps as WebAccordionItemComponentProps, AccordionTrigger as WebAccordionTrigger, type AccordionTriggerProps as WebAccordionTriggerComponentProps, type WebAnimation, Breadcrumbs$1 as WebBreadcrumbs, type BreadcrumbsProps$1 as WebBreadcrumbsComponentProps, type WebComponentProps, EmptyState as WebEmptyState, type EmptyStateProps as WebEmptyStateComponentProps, ErrorEmptyState as WebErrorEmptyState, type ErrorEmptyStateProps as WebErrorEmptyStateComponentProps, MultiSlider as WebMultiSlider, NoDataEmptyState as WebNoDataEmptyState, type NoDataEmptyStateProps as WebNoDataEmptyStateComponentProps, NoResultsEmptyState as WebNoResultsEmptyState, type NoResultsEmptyStateProps as WebNoResultsEmptyStateComponentProps, SimpleAccordion as WebSimpleAccordion, type SimpleAccordionItem as WebSimpleAccordionComponentItem, type SimpleAccordionProps as WebSimpleAccordionComponentProps, SimpleBreadcrumbs as WebSimpleBreadcrumbs, type SimpleBreadcrumbsProps as WebSimpleBreadcrumbsComponentProps, Slider as WebSlider, type SliderProps as WebSliderComponentProps, type WebStyle, Switch as WebSwitch, type SwitchProps as WebSwitchProps, Textarea as WebTextarea, type TextareaProps as WebTextareaComponentProps, TextareaWithCounter as WebTextareaWithCounter, type TextareaWithCounterProps as WebTextareaWithCounterComponentProps, WelcomeModal, Z_INDEX, accordionVariants, animationPresets, audioAppTabs, audioPlayerVariants, breadcrumbsVariants, cn, commonValidators, containerVariants, contentVariants, createAnimation, createDataStore, createFormStore, createOptimizedStore, createSlideVariant, createTransition, dailyTrendingConfig, detectAuthProvider, disableScroll, emptyStateVariants, enableScroll, fadeIn, formVariants, formatCurrency, formatDate, formatNumber, genreChartsConfigs, getConfig, getEnvInfo, getEnvVar, getScrollbarWidth, gridVariants, hamburgerVariants, headerVariants, heroVariants, inputVariants, isBrowser, isExpo, isNative, isWeb, labelVariants, mergeVariants, musicAppTabs, nativeAnimations, nativeConfig, optimizeForPerformance, podcastAppTabs, scaleIn, slideIn, sliderVariants, stateManager, stickyActionsVariants, switchVariants, textareaVariants, theme, themes, toast, toastVariants, useAnimationTokens, useCache, useClickOutside, useCustomPerformanceTracking, useDebouncedCallback, useEscapeKey, useFocusTrap, useGlassmorphism, useInfiniteScroll, useIntersectionObserver, useLazyLoad, useLoadingOverlay, useLockBody, useMediaQuery, useMobileNavigation, useMounted, useNetworkInfo, useOfflineState, useOptimizedMemo, useOptimizedStoreSelector, usePerformanceObserver, useRenderPerformanceTracking, useTheme, useThrottledCallback, useToast, useVirtualization, useVisibilityTracking, validateEmail, validateEnvConfig, validatePassword, videoPlayerVariants, webAnimations, webConfig, weeklyChartsConfig, withNetworkAware, withPageTransition };
6239
+ export { ANIMATION_DURATION, Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, type ActivityType, type AdvancedAudioTrack, AdvancedPlayer, type AdvancedPlayerProps, Alert, AlertDescription, AlertTitle, AnalyticsDashboard, AnimatedSectionTitle, type AnimatedSectionTitleProps, type AnimationPreset, type AnimationTokens, Breadcrumbs as AppBreadcrumbs, AppShell, AudioFeed, type AudioFeedProps, AudioPlayer, type AudioPlayerProps, SearchWithFilters as AudioSearch, type AudioTrack, type AudioTrackCardData, AuthLayout, Avatar, AvatarFallback, AvatarImage, Badge, BarChart, type BarChart3IconBand, type BarChartProps, type BaseAccordionItemProps, type BaseAccordionProps, type BaseBreadcrumbsProps, type BaseChartProps, type BaseComponentProps, type BaseEmptyStateProps, type BaseSliderProps, type BaseSwitchProps, type BaseTextareaProps, type BaseTheme, type BorderRadiusScale, BrandLoader, type BrandLoaderGradient, type BrandLoaderMode, type BrandLoaderPath, type BrandLoaderProps, type BreadcrumbItem$1 as BreadcrumbItem, Breadcrumbs$1 as Breadcrumbs, type BreadcrumbsProps$1 as BreadcrumbsProps, type BugReportPayload, BugReporter, type BugReporterProps, Button, type ButtonVariants, type CTAAction, CTACluster, type CTAClusterProps, type CacheStrategy, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type ChartDataPoint, type ChartSeries, Checkbox, CollaborativePlaylist, type CollaborativePlaylistData, type CollaborativePlaylistProps, type Collaborator, type CollaboratorRole, type Column$1 as Column, CommandPalette, type Comment, type CommentData, CommentSystem, type CommentSystemProps, type CommentUser, type ComponentProps, type ComponentSize, type ComponentVariant, Container$1 as Container, ConversionKPI, type CrossfadeMode, DISTANCES, DURATIONS, DashboardGrid, DashboardLayout, DashboardWidget, type DashboardWidgetProps, DataGrid, type DataGridProps, type DataItem, DataTable, type Column as DataTableColumn, type DataTableProps, type DateFilter, Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, DialogTrigger, type Distance, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, type Duration, type DurationFilter, EASINGS, type Easing, EmptyState, type EmptyStateProps, EnhancedScrollToTop, type EnhancedScrollToTopProps, type EnvConfig, ErrorAnimation, ErrorBoundary, type ErrorBoundaryProps, ErrorEmptyState, type ErrorEmptyStateProps, ErrorFallback, type ErrorFallbackProps, type ExportOptions, type ExportService, FeatureGrid, type FeatureGridProps, FeatureHighlight, type FeatureItem, type FeedFilter, type FeedItem, type FeedSortOrder, type FeedbackCategory, FilterChip, type FilterChipProps, type FilterConfig, FilterableGrid, type FilterableGridCategory, type FilterableGridCategoryNavProps, type FilterableGridFilter, type FilterableGridFilterOption, type FilterableGridLabels, type FilterableGridLayout, type FilterableGridProps, type FilterableGridQuickTab, type FilterableGridRenderCardContext, type FilterableGridSort, type FilterableGridState, FixedAudioBar, type FixedAudioBarProps, Form, FormBuilder, type FormBuilderProps, FormDescription, type FormField, FormGroup, FormLabel, FormMessage, FormProgress, type FormProps, type FormSchema, FormSection, type GenreFilter, type GlassmorphismTokens, GradientBorderCard, type GradientBorderCardProps, Grid$1 as Grid, GridItem, HOVER, HOVER_TRANSITION, HamburgerIcon, type HamburgerIconProps, Header, HeaderActions, HeaderBrand, HeaderContainer, HeaderDesktopNav, HeaderMobileTrigger, HeaderNavLink, Hero, HeroCTA, HeroContent, type HeroProps, HeroSubtitle, HeroTitle, InfoAnimation, Input, type InputVariants, type IntersectionObserverOptions, KPIDashboard, type KPIData, KPIWidget, type KPIWidgetProps, Label, LavaLamp, type LavaLampProps, LazyImage, type LazyImagePlaceholder, type LazyImageProps, LineChart, type LineChartProps, type LoadingOverlayApi, type LoadingOverlayContextValue, LoadingOverlayProvider, type LoadingOverlayProviderProps, LoadingSpinner, LogoCloud, type LogoCloudProps, type LogoItem, MobileContainer, type MobileContainerProps, MobileContent, MobileEmailInput, MobileForm, MobileFormActions, MobileFormField, MobileFormGroup, type MobileFormProps, MobileFormSection, MobileGrid, MobileHero, type MobileHeroProps, MobileNavButton, MobileNavContent, MobileNavDrawer, MobileNavFooter, MobileNavHeader, MobileNavLink, MobileNavOverlay, MobileNavTrigger, MobileNavigation, MobileOTPInput, MobilePage, MobilePhoneInput, MobileSection, MobileSticky, Modal, type MotionVariant, MultiSlider, NativeAccordionComponent as NativeAccordion, NativeAccordionItem, type NativeAccordionItemComponentProps as NativeAccordionItemProps, type NativeAccordionComponentProps as NativeAccordionProps, NativeBreadcrumbsComponent as NativeBreadcrumbs, type NativeBreadcrumbsComponentProps as NativeBreadcrumbsProps, type NativeComponentProps, Container as NativeContainer, NativeEmptyStateComponent as NativeEmptyState, type NativeEmptyStateComponentProps as NativeEmptyStateProps, NativeErrorEmptyState, type NativeErrorEmptyStateProps as NativeErrorEmptyStateComponentProps, Grid as NativeGrid, NativeMultiSlider, NativeNoDataEmptyState, type NativeNoDataEmptyStateProps as NativeNoDataEmptyStateComponentProps, NativeNoResultsEmptyState, type NativeNoResultsEmptyStateProps as NativeNoResultsEmptyStateComponentProps, Section as NativeSection, type NativeSimpleAccordionItem, NativeSimpleBreadcrumbs, type NativeSimpleBreadcrumbsProps, NativeSliderComponent as NativeSlider, type NativeSliderComponentProps as NativeSliderProps, type NativeStyle, NativeSwitchComponent as NativeSwitch, type NativeSwitchComponentProps as NativeSwitchProps, NativeTextareaComponent as NativeTextarea, type NativeTextareaComponentProps as NativeTextareaProps, NativeTextareaWithCounter, type NativeTextareaWithCounterProps, Pagination as NavigationPagination, Stepper as NavigationStepper, Tabs as NavigationTabs, NetworkAwareContent, type NetworkAwareContentProps, type NetworkInfo, type NetworkSpeed, type NetworkType, NewsTicker, type NewsTickerFilter, type NewsTickerFilterOption, type NewsTickerProps, type NewsTickerSort, NoDataEmptyState, type NoDataEmptyStateProps, NoResultsEmptyState, type NoResultsEmptyStateProps, NotificationCenter, type NotificationCenterProps, type NotificationItem, type NotificationType, type NotificationUser, TrackCard as NowPlayingCard, OSS_LOGO_GRADIENT, OSS_LOGO_PATHS, OSS_LOGO_TRANSFORM, OSS_LOGO_VIEWBOX, OfflineWrapper, type OfflineWrapperProps, Onboarding, OptimizedStateManager, type OptimizedStoreOptions, PageHeader, type PageHeaderProps, PageShell, type PageShellProps, PageTransition, type PageTransitionDirection, type PageTransitionProps, type PageTransitionType, Pagination$1 as Pagination, type PaginationConfig, PaginationInfo, type PaginationInfoProps, type PaginationProps$1 as PaginationProps, type PerformanceMetrics, type PieChartProps, Platform, type PlatformConfig, type PlatformSelect, type PlatformSelectMultiple, type PlatformType, type PlaybackQuality, type PlaybackState, type PlaylistActivity, PlaylistBuilder, type PlaylistBuilderProps, PlaylistBuilder as PlaylistCard, type PlaylistData, PlaylistBuilder as PlaylistSidebar, type PlaylistTrack, type PlaylistVisibility, Preloader, type PreloaderProps, PremiumCard, PremiumCardContent, PremiumCardFooter, PremiumCardHeader, type PremiumCardProps, PricingHero, type PricingHeroProps, type PricingPlan, Progress, ProgressiveImage, type ProgressiveImageProps, type ProgressiveImageStrategy, type ProgressiveImageTransition, PullToRefresh, type PullToRefreshProps, PulseIndicator, type PulseIndicatorProps, type PulseStatus, QuickForm, type RefreshState, type RepeatMode, type ResponsiveColumns, ResponsiveFlex, ResponsiveGrid, type ResponsiveGridProps, ResponsiveHeader, type ResponsiveHeaderProps, RevenueKPI, STAGGER, STAGGER_CONTAINERS, STAGGER_ITEMS, SafeAreaWrapper, ScrollProgressBar, type ScrollProgressBarProps, ScrollProgressLine, type ScrollProgressLineProps, ScrollToTop, type ScrollToTopProps, type SearchCategory, type SearchFilters, type SearchResult, type SearchSortBy, type SearchSuggestion, SearchWithFilters, type SearchWithFiltersProps, Section$1 as Section, SectionBlock, type SectionBlockProps, SectionLabel, type SectionLabelProps, SectionTitle, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, type SelectionConfig, SettingsLayout, type ShareOption, Sidebar, SimpleAccordion, type SimpleAccordionItem, type SimpleAccordionProps, SimpleBreadcrumbs, type SimpleBreadcrumbsProps, SimpleHero, SimpleResponsiveHeader, type Size, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonText, SkipToContent, Slider, type SliderProps, type SocialAction, SocialActions, type SocialActionsProps, type SocialLinks, type SortConfig, type SpacingScale, Stack, type StaggerSpeed, SuccessAnimation, type SuccessAnimationProps, SuccessCheckmark, type SwipeAction, SwipeableCard, type SwipeableCardProps, Switch, type SwitchProps, THEME_COLORS, type TabItem$1 as TabItem, TabNavigation, type TabNavigationProps, Tabs$1 as Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, TextareaWithCounter, type TextareaWithCounterProps, type Theme, type ThemeColors, ThemeProvider, ThemeToggle, type ThemeToggleProps, TiltCard, type TiltCardAspectRatio, type TiltCardProps, type TiltCardStat, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, ToastIcon, type ToastIconProps, type ToastProps, ToastProvider, ToastTitle, type ToastVariant, ToastViewport, Toaster, Tooltip$1 as Tooltip, TooltipContent, type TooltipProps$1 as TooltipProps, TooltipProvider, TooltipRoot, TooltipTrigger, TouchInput, type TouchInputProps, Tour, Tooltip as TourTooltip, type Track, TrackCard, type TrackCardProps, AudioFeed as TrackList, type TrendingSection, type TrendingTrack, TrendingTracks, type TrendingTracksProps, type TutorialAction, TutorialEmbed, type TutorialEmbedProps, TutorialGallery, type TutorialGalleryProps, type TutorialMedia, type TutorialMetadata, TutorialSequence, type TutorialSequenceProps, type TutorialStep, type UseFocusTrapOptions, type UseIntersectionObserverResult, type UsePerformanceObserverOptions, UserProfile, type UserProfileData, type UserProfileProps, type UserStats, UsersKPI, VARIANTS, VARIANT_ICONS, VIEWPORT, type Variant, type VideoAuthor, type VideoChapter, VideoPlayer, type VideoPlayerProps, type VideoQuality, type VideoSubtitle, type VideoTrack, type ViewportSetting, VirtualScrollList, type VirtualScrollListProps, type VirtualizationConfig, type VirtualizedItem, type VisualizerType, WarningAnimation, type WaveformData, WaveformPlayer, type WaveformPlayerProps, Accordion as WebAccordion, type AccordionProps as WebAccordionComponentProps, AccordionContent as WebAccordionContent, type AccordionContentProps as WebAccordionContentComponentProps, AccordionItem as WebAccordionItem, type AccordionItemProps as WebAccordionItemComponentProps, AccordionTrigger as WebAccordionTrigger, type AccordionTriggerProps as WebAccordionTriggerComponentProps, type WebAnimation, Breadcrumbs$1 as WebBreadcrumbs, type BreadcrumbsProps$1 as WebBreadcrumbsComponentProps, type WebComponentProps, EmptyState as WebEmptyState, type EmptyStateProps as WebEmptyStateComponentProps, ErrorEmptyState as WebErrorEmptyState, type ErrorEmptyStateProps as WebErrorEmptyStateComponentProps, MultiSlider as WebMultiSlider, NoDataEmptyState as WebNoDataEmptyState, type NoDataEmptyStateProps as WebNoDataEmptyStateComponentProps, NoResultsEmptyState as WebNoResultsEmptyState, type NoResultsEmptyStateProps as WebNoResultsEmptyStateComponentProps, SimpleAccordion as WebSimpleAccordion, type SimpleAccordionItem as WebSimpleAccordionComponentItem, type SimpleAccordionProps as WebSimpleAccordionComponentProps, SimpleBreadcrumbs as WebSimpleBreadcrumbs, type SimpleBreadcrumbsProps as WebSimpleBreadcrumbsComponentProps, Slider as WebSlider, type SliderProps as WebSliderComponentProps, type WebStyle, Switch as WebSwitch, type SwitchProps as WebSwitchProps, Textarea as WebTextarea, type TextareaProps as WebTextareaComponentProps, TextareaWithCounter as WebTextareaWithCounter, type TextareaWithCounterProps as WebTextareaWithCounterComponentProps, WelcomeModal, Z_INDEX, accordionVariants, animationPresets, audioAppTabs, audioPlayerVariants, breadcrumbsVariants, cn, commonValidators, containerVariants, contentVariants, createAnimation, createDataStore, createFormStore, createOptimizedStore, createSlideVariant, createTransition, dailyTrendingConfig, detectAuthProvider, disableScroll, emptyStateVariants, enableScroll, fadeIn, formVariants, formatCurrency, formatDate, formatNumber, genreChartsConfigs, getConfig, getEnvInfo, getEnvVar, getScrollbarWidth, gridVariants, hamburgerVariants, headerVariants, heroVariants, inputVariants, isBrowser, isExpo, isNative, isWeb, labelVariants, mergeVariants, musicAppTabs, nativeAnimations, nativeConfig, optimizeForPerformance, podcastAppTabs, scaleIn, slideIn, sliderVariants, stateManager, stickyActionsVariants, switchVariants, textareaVariants, theme, themes, toast, toastVariants, useAnimationTokens, useCache, useClickOutside, useCustomPerformanceTracking, useDebouncedCallback, useEscapeKey, useFocusTrap, useGlassmorphism, useInfiniteScroll, useIntersectionObserver, useLazyLoad, useLoadingOverlay, useLoadingOverlayApi, useLoadingOverlayVisible, useLockBody, useMediaQuery, useMobileNavigation, useMounted, useNetworkInfo, useOfflineState, useOptimizedMemo, useOptimizedStoreSelector, usePerformanceObserver, useRenderPerformanceTracking, useTheme, useThrottledCallback, useToast, useVirtualization, useVisibilityTracking, validateEmail, validateEnvConfig, validatePassword, videoPlayerVariants, webAnimations, webConfig, weeklyChartsConfig, withNetworkAware, withPageTransition };
package/dist/index.d.ts CHANGED
@@ -4382,7 +4382,7 @@ interface BrandLoaderProps {
4382
4382
  style?: CSSProperties;
4383
4383
  }
4384
4384
  declare function BrandLoader({ mode, paths, viewBox, transform, children, size, label, loading, fullscreen, centered, gradient, duration, labelColor, ariaLabel, className, style, }: BrandLoaderProps): react_jsx_runtime.JSX.Element | null;
4385
- interface LoadingOverlayContextValue {
4385
+ interface LoadingOverlayApi {
4386
4386
  /** Show the overlay. Optional config overrides the provider defaults for this invocation. */
4387
4387
  show: (overrides?: Partial<BrandLoaderProps>) => void;
4388
4388
  /** Hide the overlay. */
@@ -4392,6 +4392,16 @@ interface LoadingOverlayContextValue {
4392
4392
  * use this around fetch / mutation calls so the overlay clears no matter what.
4393
4393
  */
4394
4394
  wrap: <T>(fn: () => Promise<T>, overrides?: Partial<BrandLoaderProps>) => Promise<T>;
4395
+ }
4396
+ /**
4397
+ * Combined shape returned by the legacy {@link useLoadingOverlay} hook.
4398
+ *
4399
+ * NOTE: the returned object identity changes every time `visible`
4400
+ * flips. Do NOT put the whole object into a `useEffect` /
4401
+ * `useCallback` dep array — destructure at function scope instead, or
4402
+ * use {@link useLoadingOverlayApi} which returns a stable api object.
4403
+ */
4404
+ interface LoadingOverlayContextValue extends LoadingOverlayApi {
4395
4405
  visible: boolean;
4396
4406
  }
4397
4407
  interface LoadingOverlayProviderProps {
@@ -4400,6 +4410,30 @@ interface LoadingOverlayProviderProps {
4400
4410
  defaults: Omit<BrandLoaderProps, "loading" | "fullscreen">;
4401
4411
  }
4402
4412
  declare function LoadingOverlayProvider({ children, defaults, }: LoadingOverlayProviderProps): react_jsx_runtime.JSX.Element;
4413
+ /**
4414
+ * Stable API hook — returns `{ show, hide, wrap }` whose identity
4415
+ * never changes for the lifetime of the provider. Safe to put in
4416
+ * `useEffect` / `useCallback` dep arrays.
4417
+ *
4418
+ * Prefer this over {@link useLoadingOverlay} in any code that wires
4419
+ * the overlay into effects or callbacks (route bridges, subscription
4420
+ * cleanup, etc.).
4421
+ */
4422
+ declare function useLoadingOverlayApi(): LoadingOverlayApi;
4423
+ /**
4424
+ * Subscribe to overlay visibility. Re-renders the calling component
4425
+ * when the overlay opens or closes. Use for "is the loader showing?"
4426
+ * UI affordances (pause animations, dim background, etc.).
4427
+ */
4428
+ declare function useLoadingOverlayVisible(): boolean;
4429
+ /**
4430
+ * Legacy combined hook. Returns `{ show, hide, wrap, visible }`.
4431
+ *
4432
+ * Backward compatible with 1.14.0 and earlier. The returned object
4433
+ * identity changes whenever `visible` flips — DO NOT put it in a hook
4434
+ * dep array. For dep-array use, switch to {@link useLoadingOverlayApi}
4435
+ * which is stable across renders.
4436
+ */
4403
4437
  declare function useLoadingOverlay(): LoadingOverlayContextValue;
4404
4438
  declare const OSS_LOGO_VIEWBOX = "0 0 128 128";
4405
4439
  declare const OSS_LOGO_TRANSFORM = "matrix(1.0398978,0,0,1.0849193,-2.1653357,-2.6281593)";
@@ -6202,4 +6236,4 @@ declare class OptimizedStateManager {
6202
6236
  }
6203
6237
  declare const stateManager: OptimizedStateManager;
6204
6238
 
6205
- export { ANIMATION_DURATION, Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, type ActivityType, type AdvancedAudioTrack, AdvancedPlayer, type AdvancedPlayerProps, Alert, AlertDescription, AlertTitle, AnalyticsDashboard, AnimatedSectionTitle, type AnimatedSectionTitleProps, type AnimationPreset, type AnimationTokens, Breadcrumbs as AppBreadcrumbs, AppShell, AudioFeed, type AudioFeedProps, AudioPlayer, type AudioPlayerProps, SearchWithFilters as AudioSearch, type AudioTrack, type AudioTrackCardData, AuthLayout, Avatar, AvatarFallback, AvatarImage, Badge, BarChart, type BarChart3IconBand, type BarChartProps, type BaseAccordionItemProps, type BaseAccordionProps, type BaseBreadcrumbsProps, type BaseChartProps, type BaseComponentProps, type BaseEmptyStateProps, type BaseSliderProps, type BaseSwitchProps, type BaseTextareaProps, type BaseTheme, type BorderRadiusScale, BrandLoader, type BrandLoaderGradient, type BrandLoaderMode, type BrandLoaderPath, type BrandLoaderProps, type BreadcrumbItem$1 as BreadcrumbItem, Breadcrumbs$1 as Breadcrumbs, type BreadcrumbsProps$1 as BreadcrumbsProps, type BugReportPayload, BugReporter, type BugReporterProps, Button, type ButtonVariants, type CTAAction, CTACluster, type CTAClusterProps, type CacheStrategy, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type ChartDataPoint, type ChartSeries, Checkbox, CollaborativePlaylist, type CollaborativePlaylistData, type CollaborativePlaylistProps, type Collaborator, type CollaboratorRole, type Column$1 as Column, CommandPalette, type Comment, type CommentData, CommentSystem, type CommentSystemProps, type CommentUser, type ComponentProps, type ComponentSize, type ComponentVariant, Container$1 as Container, ConversionKPI, type CrossfadeMode, DISTANCES, DURATIONS, DashboardGrid, DashboardLayout, DashboardWidget, type DashboardWidgetProps, DataGrid, type DataGridProps, type DataItem, DataTable, type Column as DataTableColumn, type DataTableProps, type DateFilter, Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, DialogTrigger, type Distance, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, type Duration, type DurationFilter, EASINGS, type Easing, EmptyState, type EmptyStateProps, EnhancedScrollToTop, type EnhancedScrollToTopProps, type EnvConfig, ErrorAnimation, ErrorBoundary, type ErrorBoundaryProps, ErrorEmptyState, type ErrorEmptyStateProps, ErrorFallback, type ErrorFallbackProps, type ExportOptions, type ExportService, FeatureGrid, type FeatureGridProps, FeatureHighlight, type FeatureItem, type FeedFilter, type FeedItem, type FeedSortOrder, type FeedbackCategory, FilterChip, type FilterChipProps, type FilterConfig, FilterableGrid, type FilterableGridCategory, type FilterableGridCategoryNavProps, type FilterableGridFilter, type FilterableGridFilterOption, type FilterableGridLabels, type FilterableGridLayout, type FilterableGridProps, type FilterableGridQuickTab, type FilterableGridRenderCardContext, type FilterableGridSort, type FilterableGridState, FixedAudioBar, type FixedAudioBarProps, Form, FormBuilder, type FormBuilderProps, FormDescription, type FormField, FormGroup, FormLabel, FormMessage, FormProgress, type FormProps, type FormSchema, FormSection, type GenreFilter, type GlassmorphismTokens, GradientBorderCard, type GradientBorderCardProps, Grid$1 as Grid, GridItem, HOVER, HOVER_TRANSITION, HamburgerIcon, type HamburgerIconProps, Header, HeaderActions, HeaderBrand, HeaderContainer, HeaderDesktopNav, HeaderMobileTrigger, HeaderNavLink, Hero, HeroCTA, HeroContent, type HeroProps, HeroSubtitle, HeroTitle, InfoAnimation, Input, type InputVariants, type IntersectionObserverOptions, KPIDashboard, type KPIData, KPIWidget, type KPIWidgetProps, Label, LavaLamp, type LavaLampProps, LazyImage, type LazyImagePlaceholder, type LazyImageProps, LineChart, type LineChartProps, LoadingOverlayProvider, type LoadingOverlayProviderProps, LoadingSpinner, LogoCloud, type LogoCloudProps, type LogoItem, MobileContainer, type MobileContainerProps, MobileContent, MobileEmailInput, MobileForm, MobileFormActions, MobileFormField, MobileFormGroup, type MobileFormProps, MobileFormSection, MobileGrid, MobileHero, type MobileHeroProps, MobileNavButton, MobileNavContent, MobileNavDrawer, MobileNavFooter, MobileNavHeader, MobileNavLink, MobileNavOverlay, MobileNavTrigger, MobileNavigation, MobileOTPInput, MobilePage, MobilePhoneInput, MobileSection, MobileSticky, Modal, type MotionVariant, MultiSlider, NativeAccordionComponent as NativeAccordion, NativeAccordionItem, type NativeAccordionItemComponentProps as NativeAccordionItemProps, type NativeAccordionComponentProps as NativeAccordionProps, NativeBreadcrumbsComponent as NativeBreadcrumbs, type NativeBreadcrumbsComponentProps as NativeBreadcrumbsProps, type NativeComponentProps, Container as NativeContainer, NativeEmptyStateComponent as NativeEmptyState, type NativeEmptyStateComponentProps as NativeEmptyStateProps, NativeErrorEmptyState, type NativeErrorEmptyStateProps as NativeErrorEmptyStateComponentProps, Grid as NativeGrid, NativeMultiSlider, NativeNoDataEmptyState, type NativeNoDataEmptyStateProps as NativeNoDataEmptyStateComponentProps, NativeNoResultsEmptyState, type NativeNoResultsEmptyStateProps as NativeNoResultsEmptyStateComponentProps, Section as NativeSection, type NativeSimpleAccordionItem, NativeSimpleBreadcrumbs, type NativeSimpleBreadcrumbsProps, NativeSliderComponent as NativeSlider, type NativeSliderComponentProps as NativeSliderProps, type NativeStyle, NativeSwitchComponent as NativeSwitch, type NativeSwitchComponentProps as NativeSwitchProps, NativeTextareaComponent as NativeTextarea, type NativeTextareaComponentProps as NativeTextareaProps, NativeTextareaWithCounter, type NativeTextareaWithCounterProps, Pagination as NavigationPagination, Stepper as NavigationStepper, Tabs as NavigationTabs, NetworkAwareContent, type NetworkAwareContentProps, type NetworkInfo, type NetworkSpeed, type NetworkType, NewsTicker, type NewsTickerFilter, type NewsTickerFilterOption, type NewsTickerProps, type NewsTickerSort, NoDataEmptyState, type NoDataEmptyStateProps, NoResultsEmptyState, type NoResultsEmptyStateProps, NotificationCenter, type NotificationCenterProps, type NotificationItem, type NotificationType, type NotificationUser, TrackCard as NowPlayingCard, OSS_LOGO_GRADIENT, OSS_LOGO_PATHS, OSS_LOGO_TRANSFORM, OSS_LOGO_VIEWBOX, OfflineWrapper, type OfflineWrapperProps, Onboarding, OptimizedStateManager, type OptimizedStoreOptions, PageHeader, type PageHeaderProps, PageShell, type PageShellProps, PageTransition, type PageTransitionDirection, type PageTransitionProps, type PageTransitionType, Pagination$1 as Pagination, type PaginationConfig, PaginationInfo, type PaginationInfoProps, type PaginationProps$1 as PaginationProps, type PerformanceMetrics, type PieChartProps, Platform, type PlatformConfig, type PlatformSelect, type PlatformSelectMultiple, type PlatformType, type PlaybackQuality, type PlaybackState, type PlaylistActivity, PlaylistBuilder, type PlaylistBuilderProps, PlaylistBuilder as PlaylistCard, type PlaylistData, PlaylistBuilder as PlaylistSidebar, type PlaylistTrack, type PlaylistVisibility, Preloader, type PreloaderProps, PremiumCard, PremiumCardContent, PremiumCardFooter, PremiumCardHeader, type PremiumCardProps, PricingHero, type PricingHeroProps, type PricingPlan, Progress, ProgressiveImage, type ProgressiveImageProps, type ProgressiveImageStrategy, type ProgressiveImageTransition, PullToRefresh, type PullToRefreshProps, PulseIndicator, type PulseIndicatorProps, type PulseStatus, QuickForm, type RefreshState, type RepeatMode, type ResponsiveColumns, ResponsiveFlex, ResponsiveGrid, type ResponsiveGridProps, ResponsiveHeader, type ResponsiveHeaderProps, RevenueKPI, STAGGER, STAGGER_CONTAINERS, STAGGER_ITEMS, SafeAreaWrapper, ScrollProgressBar, type ScrollProgressBarProps, ScrollProgressLine, type ScrollProgressLineProps, ScrollToTop, type ScrollToTopProps, type SearchCategory, type SearchFilters, type SearchResult, type SearchSortBy, type SearchSuggestion, SearchWithFilters, type SearchWithFiltersProps, Section$1 as Section, SectionBlock, type SectionBlockProps, SectionLabel, type SectionLabelProps, SectionTitle, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, type SelectionConfig, SettingsLayout, type ShareOption, Sidebar, SimpleAccordion, type SimpleAccordionItem, type SimpleAccordionProps, SimpleBreadcrumbs, type SimpleBreadcrumbsProps, SimpleHero, SimpleResponsiveHeader, type Size, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonText, SkipToContent, Slider, type SliderProps, type SocialAction, SocialActions, type SocialActionsProps, type SocialLinks, type SortConfig, type SpacingScale, Stack, type StaggerSpeed, SuccessAnimation, type SuccessAnimationProps, SuccessCheckmark, type SwipeAction, SwipeableCard, type SwipeableCardProps, Switch, type SwitchProps, THEME_COLORS, type TabItem$1 as TabItem, TabNavigation, type TabNavigationProps, Tabs$1 as Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, TextareaWithCounter, type TextareaWithCounterProps, type Theme, type ThemeColors, ThemeProvider, ThemeToggle, type ThemeToggleProps, TiltCard, type TiltCardAspectRatio, type TiltCardProps, type TiltCardStat, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, ToastIcon, type ToastIconProps, type ToastProps, ToastProvider, ToastTitle, type ToastVariant, ToastViewport, Toaster, Tooltip$1 as Tooltip, TooltipContent, type TooltipProps$1 as TooltipProps, TooltipProvider, TooltipRoot, TooltipTrigger, TouchInput, type TouchInputProps, Tour, Tooltip as TourTooltip, type Track, TrackCard, type TrackCardProps, AudioFeed as TrackList, type TrendingSection, type TrendingTrack, TrendingTracks, type TrendingTracksProps, type TutorialAction, TutorialEmbed, type TutorialEmbedProps, TutorialGallery, type TutorialGalleryProps, type TutorialMedia, type TutorialMetadata, TutorialSequence, type TutorialSequenceProps, type TutorialStep, type UseFocusTrapOptions, type UseIntersectionObserverResult, type UsePerformanceObserverOptions, UserProfile, type UserProfileData, type UserProfileProps, type UserStats, UsersKPI, VARIANTS, VARIANT_ICONS, VIEWPORT, type Variant, type VideoAuthor, type VideoChapter, VideoPlayer, type VideoPlayerProps, type VideoQuality, type VideoSubtitle, type VideoTrack, type ViewportSetting, VirtualScrollList, type VirtualScrollListProps, type VirtualizationConfig, type VirtualizedItem, type VisualizerType, WarningAnimation, type WaveformData, WaveformPlayer, type WaveformPlayerProps, Accordion as WebAccordion, type AccordionProps as WebAccordionComponentProps, AccordionContent as WebAccordionContent, type AccordionContentProps as WebAccordionContentComponentProps, AccordionItem as WebAccordionItem, type AccordionItemProps as WebAccordionItemComponentProps, AccordionTrigger as WebAccordionTrigger, type AccordionTriggerProps as WebAccordionTriggerComponentProps, type WebAnimation, Breadcrumbs$1 as WebBreadcrumbs, type BreadcrumbsProps$1 as WebBreadcrumbsComponentProps, type WebComponentProps, EmptyState as WebEmptyState, type EmptyStateProps as WebEmptyStateComponentProps, ErrorEmptyState as WebErrorEmptyState, type ErrorEmptyStateProps as WebErrorEmptyStateComponentProps, MultiSlider as WebMultiSlider, NoDataEmptyState as WebNoDataEmptyState, type NoDataEmptyStateProps as WebNoDataEmptyStateComponentProps, NoResultsEmptyState as WebNoResultsEmptyState, type NoResultsEmptyStateProps as WebNoResultsEmptyStateComponentProps, SimpleAccordion as WebSimpleAccordion, type SimpleAccordionItem as WebSimpleAccordionComponentItem, type SimpleAccordionProps as WebSimpleAccordionComponentProps, SimpleBreadcrumbs as WebSimpleBreadcrumbs, type SimpleBreadcrumbsProps as WebSimpleBreadcrumbsComponentProps, Slider as WebSlider, type SliderProps as WebSliderComponentProps, type WebStyle, Switch as WebSwitch, type SwitchProps as WebSwitchProps, Textarea as WebTextarea, type TextareaProps as WebTextareaComponentProps, TextareaWithCounter as WebTextareaWithCounter, type TextareaWithCounterProps as WebTextareaWithCounterComponentProps, WelcomeModal, Z_INDEX, accordionVariants, animationPresets, audioAppTabs, audioPlayerVariants, breadcrumbsVariants, cn, commonValidators, containerVariants, contentVariants, createAnimation, createDataStore, createFormStore, createOptimizedStore, createSlideVariant, createTransition, dailyTrendingConfig, detectAuthProvider, disableScroll, emptyStateVariants, enableScroll, fadeIn, formVariants, formatCurrency, formatDate, formatNumber, genreChartsConfigs, getConfig, getEnvInfo, getEnvVar, getScrollbarWidth, gridVariants, hamburgerVariants, headerVariants, heroVariants, inputVariants, isBrowser, isExpo, isNative, isWeb, labelVariants, mergeVariants, musicAppTabs, nativeAnimations, nativeConfig, optimizeForPerformance, podcastAppTabs, scaleIn, slideIn, sliderVariants, stateManager, stickyActionsVariants, switchVariants, textareaVariants, theme, themes, toast, toastVariants, useAnimationTokens, useCache, useClickOutside, useCustomPerformanceTracking, useDebouncedCallback, useEscapeKey, useFocusTrap, useGlassmorphism, useInfiniteScroll, useIntersectionObserver, useLazyLoad, useLoadingOverlay, useLockBody, useMediaQuery, useMobileNavigation, useMounted, useNetworkInfo, useOfflineState, useOptimizedMemo, useOptimizedStoreSelector, usePerformanceObserver, useRenderPerformanceTracking, useTheme, useThrottledCallback, useToast, useVirtualization, useVisibilityTracking, validateEmail, validateEnvConfig, validatePassword, videoPlayerVariants, webAnimations, webConfig, weeklyChartsConfig, withNetworkAware, withPageTransition };
6239
+ export { ANIMATION_DURATION, Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, type ActivityType, type AdvancedAudioTrack, AdvancedPlayer, type AdvancedPlayerProps, Alert, AlertDescription, AlertTitle, AnalyticsDashboard, AnimatedSectionTitle, type AnimatedSectionTitleProps, type AnimationPreset, type AnimationTokens, Breadcrumbs as AppBreadcrumbs, AppShell, AudioFeed, type AudioFeedProps, AudioPlayer, type AudioPlayerProps, SearchWithFilters as AudioSearch, type AudioTrack, type AudioTrackCardData, AuthLayout, Avatar, AvatarFallback, AvatarImage, Badge, BarChart, type BarChart3IconBand, type BarChartProps, type BaseAccordionItemProps, type BaseAccordionProps, type BaseBreadcrumbsProps, type BaseChartProps, type BaseComponentProps, type BaseEmptyStateProps, type BaseSliderProps, type BaseSwitchProps, type BaseTextareaProps, type BaseTheme, type BorderRadiusScale, BrandLoader, type BrandLoaderGradient, type BrandLoaderMode, type BrandLoaderPath, type BrandLoaderProps, type BreadcrumbItem$1 as BreadcrumbItem, Breadcrumbs$1 as Breadcrumbs, type BreadcrumbsProps$1 as BreadcrumbsProps, type BugReportPayload, BugReporter, type BugReporterProps, Button, type ButtonVariants, type CTAAction, CTACluster, type CTAClusterProps, type CacheStrategy, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type ChartDataPoint, type ChartSeries, Checkbox, CollaborativePlaylist, type CollaborativePlaylistData, type CollaborativePlaylistProps, type Collaborator, type CollaboratorRole, type Column$1 as Column, CommandPalette, type Comment, type CommentData, CommentSystem, type CommentSystemProps, type CommentUser, type ComponentProps, type ComponentSize, type ComponentVariant, Container$1 as Container, ConversionKPI, type CrossfadeMode, DISTANCES, DURATIONS, DashboardGrid, DashboardLayout, DashboardWidget, type DashboardWidgetProps, DataGrid, type DataGridProps, type DataItem, DataTable, type Column as DataTableColumn, type DataTableProps, type DateFilter, Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, DialogTrigger, type Distance, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, type Duration, type DurationFilter, EASINGS, type Easing, EmptyState, type EmptyStateProps, EnhancedScrollToTop, type EnhancedScrollToTopProps, type EnvConfig, ErrorAnimation, ErrorBoundary, type ErrorBoundaryProps, ErrorEmptyState, type ErrorEmptyStateProps, ErrorFallback, type ErrorFallbackProps, type ExportOptions, type ExportService, FeatureGrid, type FeatureGridProps, FeatureHighlight, type FeatureItem, type FeedFilter, type FeedItem, type FeedSortOrder, type FeedbackCategory, FilterChip, type FilterChipProps, type FilterConfig, FilterableGrid, type FilterableGridCategory, type FilterableGridCategoryNavProps, type FilterableGridFilter, type FilterableGridFilterOption, type FilterableGridLabels, type FilterableGridLayout, type FilterableGridProps, type FilterableGridQuickTab, type FilterableGridRenderCardContext, type FilterableGridSort, type FilterableGridState, FixedAudioBar, type FixedAudioBarProps, Form, FormBuilder, type FormBuilderProps, FormDescription, type FormField, FormGroup, FormLabel, FormMessage, FormProgress, type FormProps, type FormSchema, FormSection, type GenreFilter, type GlassmorphismTokens, GradientBorderCard, type GradientBorderCardProps, Grid$1 as Grid, GridItem, HOVER, HOVER_TRANSITION, HamburgerIcon, type HamburgerIconProps, Header, HeaderActions, HeaderBrand, HeaderContainer, HeaderDesktopNav, HeaderMobileTrigger, HeaderNavLink, Hero, HeroCTA, HeroContent, type HeroProps, HeroSubtitle, HeroTitle, InfoAnimation, Input, type InputVariants, type IntersectionObserverOptions, KPIDashboard, type KPIData, KPIWidget, type KPIWidgetProps, Label, LavaLamp, type LavaLampProps, LazyImage, type LazyImagePlaceholder, type LazyImageProps, LineChart, type LineChartProps, type LoadingOverlayApi, type LoadingOverlayContextValue, LoadingOverlayProvider, type LoadingOverlayProviderProps, LoadingSpinner, LogoCloud, type LogoCloudProps, type LogoItem, MobileContainer, type MobileContainerProps, MobileContent, MobileEmailInput, MobileForm, MobileFormActions, MobileFormField, MobileFormGroup, type MobileFormProps, MobileFormSection, MobileGrid, MobileHero, type MobileHeroProps, MobileNavButton, MobileNavContent, MobileNavDrawer, MobileNavFooter, MobileNavHeader, MobileNavLink, MobileNavOverlay, MobileNavTrigger, MobileNavigation, MobileOTPInput, MobilePage, MobilePhoneInput, MobileSection, MobileSticky, Modal, type MotionVariant, MultiSlider, NativeAccordionComponent as NativeAccordion, NativeAccordionItem, type NativeAccordionItemComponentProps as NativeAccordionItemProps, type NativeAccordionComponentProps as NativeAccordionProps, NativeBreadcrumbsComponent as NativeBreadcrumbs, type NativeBreadcrumbsComponentProps as NativeBreadcrumbsProps, type NativeComponentProps, Container as NativeContainer, NativeEmptyStateComponent as NativeEmptyState, type NativeEmptyStateComponentProps as NativeEmptyStateProps, NativeErrorEmptyState, type NativeErrorEmptyStateProps as NativeErrorEmptyStateComponentProps, Grid as NativeGrid, NativeMultiSlider, NativeNoDataEmptyState, type NativeNoDataEmptyStateProps as NativeNoDataEmptyStateComponentProps, NativeNoResultsEmptyState, type NativeNoResultsEmptyStateProps as NativeNoResultsEmptyStateComponentProps, Section as NativeSection, type NativeSimpleAccordionItem, NativeSimpleBreadcrumbs, type NativeSimpleBreadcrumbsProps, NativeSliderComponent as NativeSlider, type NativeSliderComponentProps as NativeSliderProps, type NativeStyle, NativeSwitchComponent as NativeSwitch, type NativeSwitchComponentProps as NativeSwitchProps, NativeTextareaComponent as NativeTextarea, type NativeTextareaComponentProps as NativeTextareaProps, NativeTextareaWithCounter, type NativeTextareaWithCounterProps, Pagination as NavigationPagination, Stepper as NavigationStepper, Tabs as NavigationTabs, NetworkAwareContent, type NetworkAwareContentProps, type NetworkInfo, type NetworkSpeed, type NetworkType, NewsTicker, type NewsTickerFilter, type NewsTickerFilterOption, type NewsTickerProps, type NewsTickerSort, NoDataEmptyState, type NoDataEmptyStateProps, NoResultsEmptyState, type NoResultsEmptyStateProps, NotificationCenter, type NotificationCenterProps, type NotificationItem, type NotificationType, type NotificationUser, TrackCard as NowPlayingCard, OSS_LOGO_GRADIENT, OSS_LOGO_PATHS, OSS_LOGO_TRANSFORM, OSS_LOGO_VIEWBOX, OfflineWrapper, type OfflineWrapperProps, Onboarding, OptimizedStateManager, type OptimizedStoreOptions, PageHeader, type PageHeaderProps, PageShell, type PageShellProps, PageTransition, type PageTransitionDirection, type PageTransitionProps, type PageTransitionType, Pagination$1 as Pagination, type PaginationConfig, PaginationInfo, type PaginationInfoProps, type PaginationProps$1 as PaginationProps, type PerformanceMetrics, type PieChartProps, Platform, type PlatformConfig, type PlatformSelect, type PlatformSelectMultiple, type PlatformType, type PlaybackQuality, type PlaybackState, type PlaylistActivity, PlaylistBuilder, type PlaylistBuilderProps, PlaylistBuilder as PlaylistCard, type PlaylistData, PlaylistBuilder as PlaylistSidebar, type PlaylistTrack, type PlaylistVisibility, Preloader, type PreloaderProps, PremiumCard, PremiumCardContent, PremiumCardFooter, PremiumCardHeader, type PremiumCardProps, PricingHero, type PricingHeroProps, type PricingPlan, Progress, ProgressiveImage, type ProgressiveImageProps, type ProgressiveImageStrategy, type ProgressiveImageTransition, PullToRefresh, type PullToRefreshProps, PulseIndicator, type PulseIndicatorProps, type PulseStatus, QuickForm, type RefreshState, type RepeatMode, type ResponsiveColumns, ResponsiveFlex, ResponsiveGrid, type ResponsiveGridProps, ResponsiveHeader, type ResponsiveHeaderProps, RevenueKPI, STAGGER, STAGGER_CONTAINERS, STAGGER_ITEMS, SafeAreaWrapper, ScrollProgressBar, type ScrollProgressBarProps, ScrollProgressLine, type ScrollProgressLineProps, ScrollToTop, type ScrollToTopProps, type SearchCategory, type SearchFilters, type SearchResult, type SearchSortBy, type SearchSuggestion, SearchWithFilters, type SearchWithFiltersProps, Section$1 as Section, SectionBlock, type SectionBlockProps, SectionLabel, type SectionLabelProps, SectionTitle, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, type SelectionConfig, SettingsLayout, type ShareOption, Sidebar, SimpleAccordion, type SimpleAccordionItem, type SimpleAccordionProps, SimpleBreadcrumbs, type SimpleBreadcrumbsProps, SimpleHero, SimpleResponsiveHeader, type Size, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonText, SkipToContent, Slider, type SliderProps, type SocialAction, SocialActions, type SocialActionsProps, type SocialLinks, type SortConfig, type SpacingScale, Stack, type StaggerSpeed, SuccessAnimation, type SuccessAnimationProps, SuccessCheckmark, type SwipeAction, SwipeableCard, type SwipeableCardProps, Switch, type SwitchProps, THEME_COLORS, type TabItem$1 as TabItem, TabNavigation, type TabNavigationProps, Tabs$1 as Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, TextareaWithCounter, type TextareaWithCounterProps, type Theme, type ThemeColors, ThemeProvider, ThemeToggle, type ThemeToggleProps, TiltCard, type TiltCardAspectRatio, type TiltCardProps, type TiltCardStat, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, ToastIcon, type ToastIconProps, type ToastProps, ToastProvider, ToastTitle, type ToastVariant, ToastViewport, Toaster, Tooltip$1 as Tooltip, TooltipContent, type TooltipProps$1 as TooltipProps, TooltipProvider, TooltipRoot, TooltipTrigger, TouchInput, type TouchInputProps, Tour, Tooltip as TourTooltip, type Track, TrackCard, type TrackCardProps, AudioFeed as TrackList, type TrendingSection, type TrendingTrack, TrendingTracks, type TrendingTracksProps, type TutorialAction, TutorialEmbed, type TutorialEmbedProps, TutorialGallery, type TutorialGalleryProps, type TutorialMedia, type TutorialMetadata, TutorialSequence, type TutorialSequenceProps, type TutorialStep, type UseFocusTrapOptions, type UseIntersectionObserverResult, type UsePerformanceObserverOptions, UserProfile, type UserProfileData, type UserProfileProps, type UserStats, UsersKPI, VARIANTS, VARIANT_ICONS, VIEWPORT, type Variant, type VideoAuthor, type VideoChapter, VideoPlayer, type VideoPlayerProps, type VideoQuality, type VideoSubtitle, type VideoTrack, type ViewportSetting, VirtualScrollList, type VirtualScrollListProps, type VirtualizationConfig, type VirtualizedItem, type VisualizerType, WarningAnimation, type WaveformData, WaveformPlayer, type WaveformPlayerProps, Accordion as WebAccordion, type AccordionProps as WebAccordionComponentProps, AccordionContent as WebAccordionContent, type AccordionContentProps as WebAccordionContentComponentProps, AccordionItem as WebAccordionItem, type AccordionItemProps as WebAccordionItemComponentProps, AccordionTrigger as WebAccordionTrigger, type AccordionTriggerProps as WebAccordionTriggerComponentProps, type WebAnimation, Breadcrumbs$1 as WebBreadcrumbs, type BreadcrumbsProps$1 as WebBreadcrumbsComponentProps, type WebComponentProps, EmptyState as WebEmptyState, type EmptyStateProps as WebEmptyStateComponentProps, ErrorEmptyState as WebErrorEmptyState, type ErrorEmptyStateProps as WebErrorEmptyStateComponentProps, MultiSlider as WebMultiSlider, NoDataEmptyState as WebNoDataEmptyState, type NoDataEmptyStateProps as WebNoDataEmptyStateComponentProps, NoResultsEmptyState as WebNoResultsEmptyState, type NoResultsEmptyStateProps as WebNoResultsEmptyStateComponentProps, SimpleAccordion as WebSimpleAccordion, type SimpleAccordionItem as WebSimpleAccordionComponentItem, type SimpleAccordionProps as WebSimpleAccordionComponentProps, SimpleBreadcrumbs as WebSimpleBreadcrumbs, type SimpleBreadcrumbsProps as WebSimpleBreadcrumbsComponentProps, Slider as WebSlider, type SliderProps as WebSliderComponentProps, type WebStyle, Switch as WebSwitch, type SwitchProps as WebSwitchProps, Textarea as WebTextarea, type TextareaProps as WebTextareaComponentProps, TextareaWithCounter as WebTextareaWithCounter, type TextareaWithCounterProps as WebTextareaWithCounterComponentProps, WelcomeModal, Z_INDEX, accordionVariants, animationPresets, audioAppTabs, audioPlayerVariants, breadcrumbsVariants, cn, commonValidators, containerVariants, contentVariants, createAnimation, createDataStore, createFormStore, createOptimizedStore, createSlideVariant, createTransition, dailyTrendingConfig, detectAuthProvider, disableScroll, emptyStateVariants, enableScroll, fadeIn, formVariants, formatCurrency, formatDate, formatNumber, genreChartsConfigs, getConfig, getEnvInfo, getEnvVar, getScrollbarWidth, gridVariants, hamburgerVariants, headerVariants, heroVariants, inputVariants, isBrowser, isExpo, isNative, isWeb, labelVariants, mergeVariants, musicAppTabs, nativeAnimations, nativeConfig, optimizeForPerformance, podcastAppTabs, scaleIn, slideIn, sliderVariants, stateManager, stickyActionsVariants, switchVariants, textareaVariants, theme, themes, toast, toastVariants, useAnimationTokens, useCache, useClickOutside, useCustomPerformanceTracking, useDebouncedCallback, useEscapeKey, useFocusTrap, useGlassmorphism, useInfiniteScroll, useIntersectionObserver, useLazyLoad, useLoadingOverlay, useLoadingOverlayApi, useLoadingOverlayVisible, useLockBody, useMediaQuery, useMobileNavigation, useMounted, useNetworkInfo, useOfflineState, useOptimizedMemo, useOptimizedStoreSelector, usePerformanceObserver, useRenderPerformanceTracking, useTheme, useThrottledCallback, useToast, useVirtualization, useVisibilityTracking, validateEmail, validateEnvConfig, validatePassword, videoPlayerVariants, webAnimations, webConfig, weeklyChartsConfig, withNetworkAware, withPageTransition };
package/dist/index.js CHANGED
@@ -601,6 +601,8 @@ __export(index_exports, {
601
601
  useIntersectionObserver: () => useIntersectionObserver,
602
602
  useLazyLoad: () => useLazyLoad,
603
603
  useLoadingOverlay: () => useLoadingOverlay,
604
+ useLoadingOverlayApi: () => useLoadingOverlayApi,
605
+ useLoadingOverlayVisible: () => useLoadingOverlayVisible,
604
606
  useLockBody: () => useLockBody,
605
607
  useMediaQuery: () => useMediaQuery,
606
608
  useMobileNavigation: () => useMobileNavigation,
@@ -29653,9 +29655,8 @@ function BrandLoader({
29653
29655
  }
29654
29656
  );
29655
29657
  }
29656
- var LoadingOverlayContext = (0, import_react64.createContext)(
29657
- null
29658
- );
29658
+ var LoadingOverlayApiContext = (0, import_react64.createContext)(null);
29659
+ var LoadingOverlayVisibleContext = (0, import_react64.createContext)(false);
29659
29660
  function LoadingOverlayProvider({
29660
29661
  children,
29661
29662
  defaults
@@ -29679,24 +29680,45 @@ function LoadingOverlayProvider({
29679
29680
  },
29680
29681
  []
29681
29682
  );
29682
- const value = (0, import_react64.useMemo)(
29683
- () => ({ show, hide, wrap, visible }),
29684
- [show, hide, wrap, visible]
29683
+ const api = (0, import_react64.useMemo)(
29684
+ () => ({ show, hide, wrap }),
29685
+ [show, hide, wrap]
29685
29686
  );
29686
- return /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(LoadingOverlayContext.Provider, { value, children: [
29687
+ return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(LoadingOverlayApiContext.Provider, { value: api, children: /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(LoadingOverlayVisibleContext.Provider, { value: visible, children: [
29687
29688
  children,
29688
- /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(BrandLoader, { ...defaults, ...overrides, loading: visible, fullscreen: true })
29689
- ] });
29689
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
29690
+ BrandLoader,
29691
+ {
29692
+ ...defaults,
29693
+ ...overrides,
29694
+ loading: visible,
29695
+ fullscreen: true
29696
+ }
29697
+ )
29698
+ ] }) });
29690
29699
  }
29691
- function useLoadingOverlay() {
29692
- const ctx = (0, import_react64.useContext)(LoadingOverlayContext);
29700
+ function useLoadingOverlayApi() {
29701
+ const ctx = (0, import_react64.useContext)(LoadingOverlayApiContext);
29693
29702
  if (!ctx) {
29694
29703
  throw new Error(
29695
- "useLoadingOverlay must be used inside <LoadingOverlayProvider>"
29704
+ "useLoadingOverlayApi must be used inside <LoadingOverlayProvider>"
29696
29705
  );
29697
29706
  }
29698
29707
  return ctx;
29699
29708
  }
29709
+ function useLoadingOverlayVisible() {
29710
+ return (0, import_react64.useContext)(LoadingOverlayVisibleContext);
29711
+ }
29712
+ function useLoadingOverlay() {
29713
+ const api = (0, import_react64.useContext)(LoadingOverlayApiContext);
29714
+ if (!api) {
29715
+ throw new Error(
29716
+ "useLoadingOverlay must be used inside <LoadingOverlayProvider>"
29717
+ );
29718
+ }
29719
+ const visible = (0, import_react64.useContext)(LoadingOverlayVisibleContext);
29720
+ return { ...api, visible };
29721
+ }
29700
29722
  var OSS_PATH_ORANGE = "M 57,119.40254 c -17.132956,-3.08138 -20.466547,-5.89491 -7.049547,-5.94976 22.75418,-0.093 29.117544,-5.4357 25.993308,-21.823974 -0.51075,-2.679157 -0.669696,-6.504157 -0.353214,-8.5 C 76.16597,79.5 76.16597,79.5 65.694805,77.117639 55.22364,74.735279 55.22364,74.735279 57.253182,71.295461 c 2.333808,-3.95551 0.323459,-8.456292 -4.069374,-9.110539 -5.512725,-0.821038 -8.101474,-6.964039 -5.029447,-11.934683 2.437607,-3.944132 0.259819,-3.57536 -3.514399,0.595104 -2.745997,3.034294 1.117728,9.679618 7.13128,12.265278 6.109852,2.627066 6.697587,8.65364 1.019683,10.455737 C 49.079036,74.744466 30,57.14521 30,52.543109 30,44.936954 47.392312,31.931154 58.5187,31.217106 c 7.307286,-0.468953 7.307286,-0.468953 8.389457,-4.766646 1.894076,-7.522058 8.184396,-10.525298 13.4198,-6.407129 4.93893,3.884963 4.676599,11.281714 -0.574068,16.186571 C 77.998132,37.870025 77.361923,39 78.194245,39 c 0.773165,0 1.897443,-0.491688 2.498396,-1.092641 6.666006,-6.666006 15.089309,23.151164 8.573976,30.350527 -1.368079,1.51171 -1.404569,2.115832 -0.257281,4.259559 1.163963,2.174884 0.974982,4.0966 -1.460949,14.856197 -3.658752,16.160848 -3.109645,17.366868 4.950679,10.873331 C 124.02111,72.852264 119.35629,22.679174 83.834198,5.0507759 76.322824,1.3231386 80.533771,1.6334111 90.18551,5.5187555 153.3808,30.958263 124.09213,131.46915 57,119.40254 Z M 80.566304,56.293105 c -1.685735,-5.347769 -1.685735,-5.347769 -6.10307,-0.07044 -5.216771,6.232409 -5.196976,6.531567 0.58287,8.808676 6.262536,2.467277 8.123725,-0.478907 5.5202,-8.738239 z M 15.75,110.9199 c -2.444861,-1.424 -2.199684,-3.14136 1.217793,-8.53017 1.632286,-2.573846 3.695205,-6.869754 4.584265,-9.546461 0.889059,-2.676706 3.378552,-7.211847 5.532206,-10.078092 C 29.237919,79.898933 31,76.964254 31,76.243668 c 0,-1.128074 4.554561,-10.98951 5.612907,-12.152941 0.204768,-0.2251 2.963845,2.062638 6.131283,5.083861 3.167437,3.021224 6.433264,5.739871 7.257394,6.041438 1.106107,0.404749 -0.09158,2.215503 -4.574553,6.916139 C 31.029547,97.228705 26,103.62228 26,106.82787 c 0,4.55732 -5.607583,6.79599 -10.25,4.09203 z M 39.5,110.33942 C 35.619099,109.5078 29,106.82519 29,106.08396 c 0,-1.88599 1.581408,-1.78996 6.354533,0.38587 2.830007,1.29006 6.270467,2.80664 7.645467,3.37019 2.704671,1.1085 0.686373,1.39649 -3.5,0.4994 z M 12.311748,93.701653 C -17.928805,53.518419 23.97904,-9.4254753 71.530898,4.7568759 78.794791,6.9233334 80.359971,8.9255795 73.949029,7.8502539 34.419197,1.2198025 -3.2480322,53.501416 19.435555,83.51423 c 1.701912,2.251812 2.011321,5.091551 0.646656,5.934961 C 17.031768,91.334468 9.5876803,73.609548 8.1253704,60.979074 7.2594707,53.5 7.2594707,53.5 7.1297354,60.11351 6.9095251,71.339152 10.9541,84.678795 17.135495,93.114077 c 1.187271,1.620179 0.60801,4.912861 -0.85411,4.855002 -0.429762,-0.01701 -2.216098,-1.937348 -3.969637,-4.267426 z";
29701
29723
  var OSS_PATH_TEAL = "m 15.75,110.9199 c -2.444861,-1.424 -2.199684,-3.14136 1.217793,-8.53017 1.632286,-2.573846 3.695205,-6.869754 4.584265,-9.546461 0.889059,-2.676706 3.378552,-7.211847 5.532206,-10.078092 C 29.237919,79.898933 31,76.964254 31,76.243668 c 0,-1.128074 4.554561,-10.98951 5.612907,-12.152941 0.204768,-0.2251 2.963845,2.062638 6.131283,5.083861 3.167437,3.021224 6.433264,5.739871 7.257394,6.041438 1.106107,0.404749 -0.09158,2.215503 -4.574553,6.916139 C 31.029547,97.228705 26,103.62228 26,106.82787 c 0,4.55732 -5.607583,6.79599 -10.25,4.09203 z M 40,110.51136 c -3.768935,-0.60156 -11,-3.57462 -11,-4.4274 0,-1.92647 1.771691,-2.0963 6.241077,0.16851 0.704001,0.35674 1.42049,0.69635 2.108682,1.00298 0.287999,0.12832 0.571044,0.25086 0.846143,0.36647 1.555741,0.65377 2.704872,1.37808 3.211837,1.37808 0.810825,0 1.496253,0.71312 2.092261,1 1.598264,0.7693 0.253976,1.15802 -0.190983,1.08312 C 42.864058,111.00822 41.375,110.73082 40,110.51136 Z M 74.395453,107.25 C 76.315141,100.91414 76.78841,96.157267 75.942739,91.698063 75.430205,88.995484 75.270759,85.145319 75.588415,83.142141 76.16597,79.5 76.16597,79.5 65.694805,77.117639 55.22364,74.735279 55.22364,74.735279 57.253182,71.295461 c 2.333808,-3.95551 0.323459,-8.456292 -4.069374,-9.110539 -5.512725,-0.821038 -8.101474,-6.964039 -5.029447,-11.934683 2.437607,-3.944132 0.259819,-3.57536 -3.514399,0.595104 -2.745997,3.034294 1.117728,9.679618 7.13128,12.265278 6.109852,2.627066 6.697587,8.65364 1.019683,10.455737 C 49.079036,74.744466 30,57.14521 30,52.543109 30,44.936954 47.392312,31.931154 58.5187,31.217106 c 7.307286,-0.468953 7.307286,-0.468953 8.389457,-4.766646 1.894076,-7.522058 8.184396,-10.525298 13.4198,-6.407129 4.93893,3.884963 4.676599,11.281714 -0.574068,16.186571 C 77.998132,37.870025 77.361923,39 78.194245,39 c 0.773165,0 1.897443,-0.491688 2.498396,-1.092641 6.666006,-6.666006 15.089309,23.151164 8.573976,30.350527 -1.368079,1.51171 -1.404569,2.115832 -0.257281,4.259559 1.161136,2.169602 0.98368,4.10749 -1.349793,14.740284 -1.477679,6.733249 -2.568081,13.126631 -2.423116,14.207521 0.19388,1.44561 -1.05851,2.69542 -4.736427,4.72665 -5.880892,3.24788 -6.817195,3.41017 -6.104547,1.0581 z m 6.170851,-50.956895 c -1.685735,-5.347769 -1.685735,-5.347769 -6.10307,-0.07044 -5.216771,6.232409 -5.196976,6.531567 0.58287,8.808676 6.262536,2.467277 8.123725,-0.478907 5.5202,-8.738239 z M 12.311748,93.701653 C -17.928805,53.518419 23.97904,-9.4254753 71.530898,4.7568759 78.794791,6.9233334 80.359971,8.9255795 73.949029,7.8502539 34.419197,1.2198025 -3.2480322,53.501416 19.435555,83.51423 c 1.701912,2.251812 2.011321,5.091551 0.646656,5.934961 C 17.031768,91.334468 9.5876803,73.609548 8.1253704,60.979074 7.2594707,53.5 7.2594707,53.5 7.1297354,60.11351 6.9095251,71.339152 10.9541,84.678795 17.135495,93.114077 c 1.187271,1.620179 0.60801,4.912861 -0.85411,4.855002 -0.429762,-0.01701 -2.216098,-1.937348 -3.969637,-4.267426 z";
29702
29724
  var OSS_LOGO_VIEWBOX = "0 0 128 128";