@digilogiclabs/saas-factory-ui 2.0.0 → 2.1.0
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 +28 -2
- package/dist/index.d.ts +28 -2
- package/dist/index.js +98 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +98 -4
- package/dist/index.mjs.map +1 -1
- package/dist/web/index.d.mts +28 -2
- package/dist/web/index.d.ts +28 -2
- package/dist/web/index.js +98 -4
- package/dist/web/index.js.map +1 -1
- package/dist/web/index.mjs +98 -4
- package/dist/web/index.mjs.map +1 -1
- package/package.json +2 -1
package/dist/index.d.mts
CHANGED
|
@@ -4737,6 +4737,22 @@ interface BracketState {
|
|
|
4737
4737
|
rounds: number;
|
|
4738
4738
|
champion: BracketParticipant | null;
|
|
4739
4739
|
}
|
|
4740
|
+
/**
|
|
4741
|
+
* Serializable projection of a played (or partially played) match —
|
|
4742
|
+
* participant references by id instead of full objects. This is the
|
|
4743
|
+
* shape consumers typically persist from `onStateChange`; pass an array
|
|
4744
|
+
* of these back via `resumeMatches` to restore bracket progress.
|
|
4745
|
+
*/
|
|
4746
|
+
interface BracketResumeMatch {
|
|
4747
|
+
id: number;
|
|
4748
|
+
round: number;
|
|
4749
|
+
slot: number;
|
|
4750
|
+
aId: string | null;
|
|
4751
|
+
bId: string | null;
|
|
4752
|
+
scoreA: number | null;
|
|
4753
|
+
scoreB: number | null;
|
|
4754
|
+
winnerId: string | null;
|
|
4755
|
+
}
|
|
4740
4756
|
interface BracketThemeColors {
|
|
4741
4757
|
accent: string;
|
|
4742
4758
|
bg: string;
|
|
@@ -4763,6 +4779,16 @@ interface BracketGeneratorProps {
|
|
|
4763
4779
|
darkMode?: boolean;
|
|
4764
4780
|
/** Seeding strategy. Default: "standard". */
|
|
4765
4781
|
seedingStrategy?: BracketSeedingStrategy;
|
|
4782
|
+
/**
|
|
4783
|
+
* Previously recorded match results to restore instead of seeding a
|
|
4784
|
+
* fresh bracket. Captured once on mount (one-shot — later prop changes
|
|
4785
|
+
* are ignored, so persisting consumers can pass their live state
|
|
4786
|
+
* without creating a feedback loop through `onStateChange`). Applied
|
|
4787
|
+
* only when every referenced participant id resolves against
|
|
4788
|
+
* `participants` and the match count fits the bracket size; otherwise
|
|
4789
|
+
* the bracket seeds fresh as if the prop were omitted.
|
|
4790
|
+
*/
|
|
4791
|
+
resumeMatches?: BracketResumeMatch[];
|
|
4766
4792
|
/** Called when a match is completed. */
|
|
4767
4793
|
onMatchComplete?: (match: BracketMatch, winner: BracketParticipant) => void;
|
|
4768
4794
|
/** Called when the tournament champion is decided. */
|
|
@@ -4804,7 +4830,7 @@ declare function buildColorTokens(dark: boolean): {
|
|
|
4804
4830
|
seedBg: string;
|
|
4805
4831
|
grid: string;
|
|
4806
4832
|
};
|
|
4807
|
-
declare function BracketGenerator({ participants: participantsProp, size, theme, darkMode, seedingStrategy, onMatchComplete, onChampion, onStateChange, autoSimulate, simulateDelayMs, canvasHeight, minZoom, maxZoom, renderMatch, showControls, showStats, showMiniMap, className, ariaLabel, }: BracketGeneratorProps): react_jsx_runtime.JSX.Element;
|
|
4833
|
+
declare function BracketGenerator({ participants: participantsProp, size, theme, darkMode, seedingStrategy, resumeMatches, onMatchComplete, onChampion, onStateChange, autoSimulate, simulateDelayMs, canvasHeight, minZoom, maxZoom, renderMatch, showControls, showStats, showMiniMap, className, ariaLabel, }: BracketGeneratorProps): react_jsx_runtime.JSX.Element;
|
|
4808
4834
|
|
|
4809
4835
|
type CoinResult = "heads" | "tails";
|
|
4810
4836
|
type CoinThemePreset = "gold" | "silver" | "copper" | "red" | "blue" | "green" | "amber" | "purple";
|
|
@@ -7761,4 +7787,4 @@ declare class OptimizedStateManager {
|
|
|
7761
7787
|
}
|
|
7762
7788
|
declare const stateManager: OptimizedStateManager;
|
|
7763
7789
|
|
|
7764
|
-
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, BracketGenerator, type BracketGeneratorProps, type BracketMatch, type BracketMatchRenderContext, type BracketParticipant, type BracketSeedingStrategy, type BracketSize, type BracketState, type BracketThemeColors, type BracketThemePreset, 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, type CoinCustomTheme, CoinFlipper, type CoinFlipperProps, type CoinResult, type CoinTheme, type CoinThemePreset, type CoinTrigger, 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, type Delimiter, Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, DialogTrigger, type DiceCount, type DiceCustomTheme, DiceRoller, type DiceRollerProps, type DiceTheme, type DiceThemePreset, type DiceTrigger, type Distance, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, type Duration, type DurationFilter, DynamicHeroBanner, 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, FLOW_TREE_CSS, FLOW_TREE_ICON_NAMES, FeatureGrid, type FeatureGridProps, FeatureHighlight, type FeatureItem, type FeedFilter, type FeedItem, type FeedSortOrder, type FeedbackCategory, FilterChip, type FilterChipProps, type FilterConfig, FilterableGrid, type FilterableGridApplyMode, type FilterableGridCategory, type FilterableGridCategoryNavProps, type FilterableGridFilter, type FilterableGridFilterOption, type FilterableGridLabels, type FilterableGridLayout, type FilterableGridProps, type FilterableGridQuickTab, type FilterableGridRenderCardContext, type FilterableGridSectionOrder, type FilterableGridSort, type FilterableGridState, FixedAudioBar, type FixedAudioBarProps, FlowTree, type FlowTreeAction, type FlowTreeDetail, FlowTreeIcon, type FlowTreeIconName, type FlowTreeIconProps, type FlowTreeIconValue, type FlowTreeImageIcon, type FlowTreeLayoutOptions, type FlowTreeMetaRow, type FlowTreeNode, type FlowTreeProps, type FlowTreeTier, Form, FormBuilder, type FormBuilderProps, FormDescription, type FormField, FormGroup, FormLabel, FormMessage, FormProgress, type FormProps, type FormSchema, FormSection, GameTimer, type GameTimerCustomTheme, type GameTimerHandle, type GameTimerLap, type GameTimerMode, type GameTimerProps, type GameTimerTheme, type GameTimerThemePreset, 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, type HeroBannerCta, type HeroBannerCtaVariant, type HeroBannerCustomTheme, type HeroBannerImageFilter, type HeroBannerMouseEffect, type HeroBannerProps, type HeroBannerSlide, type HeroBannerStat, type HeroBannerStatsBackground, type HeroBannerStatsLayout, type HeroBannerStatsPosition, type HeroBannerStatsSize, type HeroBannerTextAlign, type HeroBannerThemePreset, type HeroBannerTransition, HeroCTA, HeroContent, type HeroProps, HeroSubtitle, HeroTitle, ImageCropDropZone, type ImageCropDropZoneProps, type ImageCropFormat, ImageCropModal, type ImageCropModalProps, type ImageCropOutput, ImageCropper, type ImageCropperHandle, type ImageCropperProps, 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 ParseRosterOptions, type ParsedTable, type PerformanceMetrics, type PieChartProps, PillToggle, type PillToggleMultiProps, type PillToggleOption, type PillToggleProps, type PillToggleSingleProps, 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, ROSTER_IMPORT_MAX_BYTES, type RandomPlayerIntensity, type RandomPlayerMode, type RandomPlayerParticipant, RandomPlayerPicker, type RandomPlayerPickerProps, type RandomPlayerPlaceholderMode, type RandomPlayerTheme, type RandomPlayerThemeColors, type RandomPlayerThemePreset, type RandomPlayerTrigger, type RefreshState, type RepeatMode, type ResponsiveColumns, ResponsiveFlex, ResponsiveGrid, type ResponsiveGridProps, ResponsiveHeader, type ResponsiveHeaderProps, RevenueKPI, RosterFileTooLargeError, RosterImport, type RosterImportLabels, type RosterImportProps, type RoundRobinCustomTheme, type RoundRobinLabels, type RoundRobinMatchup, type RoundRobinRound, RoundRobinScheduler, type RoundRobinSchedulerProps, type RoundRobinTheme, type RoundRobinThemePreset, STAGGER, STAGGER_CONTAINERS, STAGGER_ITEMS, SafeAreaWrapper, Scoreboard, type ScoreboardCustomTheme, type ScoreboardLabels, type ScoreboardProps, type ScoreboardRoundSnapshot, type ScoreboardTeam, type ScoreboardTheme, type ScoreboardThemePreset, 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, SectionedListEditor, type SectionedListEditorProps, type SectionedListSection, 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, StepProgress, type StepProgressProps, StepWizard, type StepWizardProps, type StepWizardStep, 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, TagInput, type TagInputProps, type TeamColorSwatch, TeamGenerator, type TeamGeneratorCustomTheme, type TeamGeneratorLabels, type TeamGeneratorProps, type TeamGeneratorTheme, type TeamGeneratorThemePreset, 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, detectDelimiter, detectHeader, disableScroll, emptyStateVariants, enableScroll, extractRoster, 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, parseRoster, parseTable, podcastAppTabs, readRosterFile, scaleIn, slideIn, sliderVariants, stateManager, stickyActionsVariants, switchVariants, textareaVariants, theme, themes, toast, toastVariants, useAnimationTokens, useCache, useClickOutside, useCustomPerformanceTracking, useDarkMode, useDebouncedCallback, useEscapeKey, useFocusTrap, useGlassmorphism, useInfiniteScroll, useIntersectionObserver, useLazyLoad, useLoadingOverlay, useLoadingOverlayApi, useLoadingOverlayVisible, useLockBody, useMediaQuery, useMobileNavigation, useMounted, useNetworkInfo, useOfflineState, useOptimizedMemo, useOptimizedStoreSelector, usePerformanceObserver, usePrefersReducedMotion, useRenderPerformanceTracking, useTheme, useThrottledCallback, useToast, useVirtualization, useVisibilityTracking, validateEmail, validateEnvConfig, validatePassword, videoPlayerVariants, webAnimations, webConfig, weeklyChartsConfig, withNetworkAware, withPageTransition };
|
|
7790
|
+
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, BracketGenerator, type BracketGeneratorProps, type BracketMatch, type BracketMatchRenderContext, type BracketParticipant, type BracketResumeMatch, type BracketSeedingStrategy, type BracketSize, type BracketState, type BracketThemeColors, type BracketThemePreset, 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, type CoinCustomTheme, CoinFlipper, type CoinFlipperProps, type CoinResult, type CoinTheme, type CoinThemePreset, type CoinTrigger, 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, type Delimiter, Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, DialogTrigger, type DiceCount, type DiceCustomTheme, DiceRoller, type DiceRollerProps, type DiceTheme, type DiceThemePreset, type DiceTrigger, type Distance, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, type Duration, type DurationFilter, DynamicHeroBanner, 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, FLOW_TREE_CSS, FLOW_TREE_ICON_NAMES, FeatureGrid, type FeatureGridProps, FeatureHighlight, type FeatureItem, type FeedFilter, type FeedItem, type FeedSortOrder, type FeedbackCategory, FilterChip, type FilterChipProps, type FilterConfig, FilterableGrid, type FilterableGridApplyMode, type FilterableGridCategory, type FilterableGridCategoryNavProps, type FilterableGridFilter, type FilterableGridFilterOption, type FilterableGridLabels, type FilterableGridLayout, type FilterableGridProps, type FilterableGridQuickTab, type FilterableGridRenderCardContext, type FilterableGridSectionOrder, type FilterableGridSort, type FilterableGridState, FixedAudioBar, type FixedAudioBarProps, FlowTree, type FlowTreeAction, type FlowTreeDetail, FlowTreeIcon, type FlowTreeIconName, type FlowTreeIconProps, type FlowTreeIconValue, type FlowTreeImageIcon, type FlowTreeLayoutOptions, type FlowTreeMetaRow, type FlowTreeNode, type FlowTreeProps, type FlowTreeTier, Form, FormBuilder, type FormBuilderProps, FormDescription, type FormField, FormGroup, FormLabel, FormMessage, FormProgress, type FormProps, type FormSchema, FormSection, GameTimer, type GameTimerCustomTheme, type GameTimerHandle, type GameTimerLap, type GameTimerMode, type GameTimerProps, type GameTimerTheme, type GameTimerThemePreset, 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, type HeroBannerCta, type HeroBannerCtaVariant, type HeroBannerCustomTheme, type HeroBannerImageFilter, type HeroBannerMouseEffect, type HeroBannerProps, type HeroBannerSlide, type HeroBannerStat, type HeroBannerStatsBackground, type HeroBannerStatsLayout, type HeroBannerStatsPosition, type HeroBannerStatsSize, type HeroBannerTextAlign, type HeroBannerThemePreset, type HeroBannerTransition, HeroCTA, HeroContent, type HeroProps, HeroSubtitle, HeroTitle, ImageCropDropZone, type ImageCropDropZoneProps, type ImageCropFormat, ImageCropModal, type ImageCropModalProps, type ImageCropOutput, ImageCropper, type ImageCropperHandle, type ImageCropperProps, 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 ParseRosterOptions, type ParsedTable, type PerformanceMetrics, type PieChartProps, PillToggle, type PillToggleMultiProps, type PillToggleOption, type PillToggleProps, type PillToggleSingleProps, 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, ROSTER_IMPORT_MAX_BYTES, type RandomPlayerIntensity, type RandomPlayerMode, type RandomPlayerParticipant, RandomPlayerPicker, type RandomPlayerPickerProps, type RandomPlayerPlaceholderMode, type RandomPlayerTheme, type RandomPlayerThemeColors, type RandomPlayerThemePreset, type RandomPlayerTrigger, type RefreshState, type RepeatMode, type ResponsiveColumns, ResponsiveFlex, ResponsiveGrid, type ResponsiveGridProps, ResponsiveHeader, type ResponsiveHeaderProps, RevenueKPI, RosterFileTooLargeError, RosterImport, type RosterImportLabels, type RosterImportProps, type RoundRobinCustomTheme, type RoundRobinLabels, type RoundRobinMatchup, type RoundRobinRound, RoundRobinScheduler, type RoundRobinSchedulerProps, type RoundRobinTheme, type RoundRobinThemePreset, STAGGER, STAGGER_CONTAINERS, STAGGER_ITEMS, SafeAreaWrapper, Scoreboard, type ScoreboardCustomTheme, type ScoreboardLabels, type ScoreboardProps, type ScoreboardRoundSnapshot, type ScoreboardTeam, type ScoreboardTheme, type ScoreboardThemePreset, 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, SectionedListEditor, type SectionedListEditorProps, type SectionedListSection, 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, StepProgress, type StepProgressProps, StepWizard, type StepWizardProps, type StepWizardStep, 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, TagInput, type TagInputProps, type TeamColorSwatch, TeamGenerator, type TeamGeneratorCustomTheme, type TeamGeneratorLabels, type TeamGeneratorProps, type TeamGeneratorTheme, type TeamGeneratorThemePreset, 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, detectDelimiter, detectHeader, disableScroll, emptyStateVariants, enableScroll, extractRoster, 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, parseRoster, parseTable, podcastAppTabs, readRosterFile, scaleIn, slideIn, sliderVariants, stateManager, stickyActionsVariants, switchVariants, textareaVariants, theme, themes, toast, toastVariants, useAnimationTokens, useCache, useClickOutside, useCustomPerformanceTracking, useDarkMode, useDebouncedCallback, useEscapeKey, useFocusTrap, useGlassmorphism, useInfiniteScroll, useIntersectionObserver, useLazyLoad, useLoadingOverlay, useLoadingOverlayApi, useLoadingOverlayVisible, useLockBody, useMediaQuery, useMobileNavigation, useMounted, useNetworkInfo, useOfflineState, useOptimizedMemo, useOptimizedStoreSelector, usePerformanceObserver, usePrefersReducedMotion, useRenderPerformanceTracking, useTheme, useThrottledCallback, useToast, useVirtualization, useVisibilityTracking, validateEmail, validateEnvConfig, validatePassword, videoPlayerVariants, webAnimations, webConfig, weeklyChartsConfig, withNetworkAware, withPageTransition };
|
package/dist/index.d.ts
CHANGED
|
@@ -4737,6 +4737,22 @@ interface BracketState {
|
|
|
4737
4737
|
rounds: number;
|
|
4738
4738
|
champion: BracketParticipant | null;
|
|
4739
4739
|
}
|
|
4740
|
+
/**
|
|
4741
|
+
* Serializable projection of a played (or partially played) match —
|
|
4742
|
+
* participant references by id instead of full objects. This is the
|
|
4743
|
+
* shape consumers typically persist from `onStateChange`; pass an array
|
|
4744
|
+
* of these back via `resumeMatches` to restore bracket progress.
|
|
4745
|
+
*/
|
|
4746
|
+
interface BracketResumeMatch {
|
|
4747
|
+
id: number;
|
|
4748
|
+
round: number;
|
|
4749
|
+
slot: number;
|
|
4750
|
+
aId: string | null;
|
|
4751
|
+
bId: string | null;
|
|
4752
|
+
scoreA: number | null;
|
|
4753
|
+
scoreB: number | null;
|
|
4754
|
+
winnerId: string | null;
|
|
4755
|
+
}
|
|
4740
4756
|
interface BracketThemeColors {
|
|
4741
4757
|
accent: string;
|
|
4742
4758
|
bg: string;
|
|
@@ -4763,6 +4779,16 @@ interface BracketGeneratorProps {
|
|
|
4763
4779
|
darkMode?: boolean;
|
|
4764
4780
|
/** Seeding strategy. Default: "standard". */
|
|
4765
4781
|
seedingStrategy?: BracketSeedingStrategy;
|
|
4782
|
+
/**
|
|
4783
|
+
* Previously recorded match results to restore instead of seeding a
|
|
4784
|
+
* fresh bracket. Captured once on mount (one-shot — later prop changes
|
|
4785
|
+
* are ignored, so persisting consumers can pass their live state
|
|
4786
|
+
* without creating a feedback loop through `onStateChange`). Applied
|
|
4787
|
+
* only when every referenced participant id resolves against
|
|
4788
|
+
* `participants` and the match count fits the bracket size; otherwise
|
|
4789
|
+
* the bracket seeds fresh as if the prop were omitted.
|
|
4790
|
+
*/
|
|
4791
|
+
resumeMatches?: BracketResumeMatch[];
|
|
4766
4792
|
/** Called when a match is completed. */
|
|
4767
4793
|
onMatchComplete?: (match: BracketMatch, winner: BracketParticipant) => void;
|
|
4768
4794
|
/** Called when the tournament champion is decided. */
|
|
@@ -4804,7 +4830,7 @@ declare function buildColorTokens(dark: boolean): {
|
|
|
4804
4830
|
seedBg: string;
|
|
4805
4831
|
grid: string;
|
|
4806
4832
|
};
|
|
4807
|
-
declare function BracketGenerator({ participants: participantsProp, size, theme, darkMode, seedingStrategy, onMatchComplete, onChampion, onStateChange, autoSimulate, simulateDelayMs, canvasHeight, minZoom, maxZoom, renderMatch, showControls, showStats, showMiniMap, className, ariaLabel, }: BracketGeneratorProps): react_jsx_runtime.JSX.Element;
|
|
4833
|
+
declare function BracketGenerator({ participants: participantsProp, size, theme, darkMode, seedingStrategy, resumeMatches, onMatchComplete, onChampion, onStateChange, autoSimulate, simulateDelayMs, canvasHeight, minZoom, maxZoom, renderMatch, showControls, showStats, showMiniMap, className, ariaLabel, }: BracketGeneratorProps): react_jsx_runtime.JSX.Element;
|
|
4808
4834
|
|
|
4809
4835
|
type CoinResult = "heads" | "tails";
|
|
4810
4836
|
type CoinThemePreset = "gold" | "silver" | "copper" | "red" | "blue" | "green" | "amber" | "purple";
|
|
@@ -7761,4 +7787,4 @@ declare class OptimizedStateManager {
|
|
|
7761
7787
|
}
|
|
7762
7788
|
declare const stateManager: OptimizedStateManager;
|
|
7763
7789
|
|
|
7764
|
-
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, BracketGenerator, type BracketGeneratorProps, type BracketMatch, type BracketMatchRenderContext, type BracketParticipant, type BracketSeedingStrategy, type BracketSize, type BracketState, type BracketThemeColors, type BracketThemePreset, 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, type CoinCustomTheme, CoinFlipper, type CoinFlipperProps, type CoinResult, type CoinTheme, type CoinThemePreset, type CoinTrigger, 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, type Delimiter, Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, DialogTrigger, type DiceCount, type DiceCustomTheme, DiceRoller, type DiceRollerProps, type DiceTheme, type DiceThemePreset, type DiceTrigger, type Distance, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, type Duration, type DurationFilter, DynamicHeroBanner, 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, FLOW_TREE_CSS, FLOW_TREE_ICON_NAMES, FeatureGrid, type FeatureGridProps, FeatureHighlight, type FeatureItem, type FeedFilter, type FeedItem, type FeedSortOrder, type FeedbackCategory, FilterChip, type FilterChipProps, type FilterConfig, FilterableGrid, type FilterableGridApplyMode, type FilterableGridCategory, type FilterableGridCategoryNavProps, type FilterableGridFilter, type FilterableGridFilterOption, type FilterableGridLabels, type FilterableGridLayout, type FilterableGridProps, type FilterableGridQuickTab, type FilterableGridRenderCardContext, type FilterableGridSectionOrder, type FilterableGridSort, type FilterableGridState, FixedAudioBar, type FixedAudioBarProps, FlowTree, type FlowTreeAction, type FlowTreeDetail, FlowTreeIcon, type FlowTreeIconName, type FlowTreeIconProps, type FlowTreeIconValue, type FlowTreeImageIcon, type FlowTreeLayoutOptions, type FlowTreeMetaRow, type FlowTreeNode, type FlowTreeProps, type FlowTreeTier, Form, FormBuilder, type FormBuilderProps, FormDescription, type FormField, FormGroup, FormLabel, FormMessage, FormProgress, type FormProps, type FormSchema, FormSection, GameTimer, type GameTimerCustomTheme, type GameTimerHandle, type GameTimerLap, type GameTimerMode, type GameTimerProps, type GameTimerTheme, type GameTimerThemePreset, 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, type HeroBannerCta, type HeroBannerCtaVariant, type HeroBannerCustomTheme, type HeroBannerImageFilter, type HeroBannerMouseEffect, type HeroBannerProps, type HeroBannerSlide, type HeroBannerStat, type HeroBannerStatsBackground, type HeroBannerStatsLayout, type HeroBannerStatsPosition, type HeroBannerStatsSize, type HeroBannerTextAlign, type HeroBannerThemePreset, type HeroBannerTransition, HeroCTA, HeroContent, type HeroProps, HeroSubtitle, HeroTitle, ImageCropDropZone, type ImageCropDropZoneProps, type ImageCropFormat, ImageCropModal, type ImageCropModalProps, type ImageCropOutput, ImageCropper, type ImageCropperHandle, type ImageCropperProps, 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 ParseRosterOptions, type ParsedTable, type PerformanceMetrics, type PieChartProps, PillToggle, type PillToggleMultiProps, type PillToggleOption, type PillToggleProps, type PillToggleSingleProps, 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, ROSTER_IMPORT_MAX_BYTES, type RandomPlayerIntensity, type RandomPlayerMode, type RandomPlayerParticipant, RandomPlayerPicker, type RandomPlayerPickerProps, type RandomPlayerPlaceholderMode, type RandomPlayerTheme, type RandomPlayerThemeColors, type RandomPlayerThemePreset, type RandomPlayerTrigger, type RefreshState, type RepeatMode, type ResponsiveColumns, ResponsiveFlex, ResponsiveGrid, type ResponsiveGridProps, ResponsiveHeader, type ResponsiveHeaderProps, RevenueKPI, RosterFileTooLargeError, RosterImport, type RosterImportLabels, type RosterImportProps, type RoundRobinCustomTheme, type RoundRobinLabels, type RoundRobinMatchup, type RoundRobinRound, RoundRobinScheduler, type RoundRobinSchedulerProps, type RoundRobinTheme, type RoundRobinThemePreset, STAGGER, STAGGER_CONTAINERS, STAGGER_ITEMS, SafeAreaWrapper, Scoreboard, type ScoreboardCustomTheme, type ScoreboardLabels, type ScoreboardProps, type ScoreboardRoundSnapshot, type ScoreboardTeam, type ScoreboardTheme, type ScoreboardThemePreset, 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, SectionedListEditor, type SectionedListEditorProps, type SectionedListSection, 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, StepProgress, type StepProgressProps, StepWizard, type StepWizardProps, type StepWizardStep, 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, TagInput, type TagInputProps, type TeamColorSwatch, TeamGenerator, type TeamGeneratorCustomTheme, type TeamGeneratorLabels, type TeamGeneratorProps, type TeamGeneratorTheme, type TeamGeneratorThemePreset, 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, detectDelimiter, detectHeader, disableScroll, emptyStateVariants, enableScroll, extractRoster, 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, parseRoster, parseTable, podcastAppTabs, readRosterFile, scaleIn, slideIn, sliderVariants, stateManager, stickyActionsVariants, switchVariants, textareaVariants, theme, themes, toast, toastVariants, useAnimationTokens, useCache, useClickOutside, useCustomPerformanceTracking, useDarkMode, useDebouncedCallback, useEscapeKey, useFocusTrap, useGlassmorphism, useInfiniteScroll, useIntersectionObserver, useLazyLoad, useLoadingOverlay, useLoadingOverlayApi, useLoadingOverlayVisible, useLockBody, useMediaQuery, useMobileNavigation, useMounted, useNetworkInfo, useOfflineState, useOptimizedMemo, useOptimizedStoreSelector, usePerformanceObserver, usePrefersReducedMotion, useRenderPerformanceTracking, useTheme, useThrottledCallback, useToast, useVirtualization, useVisibilityTracking, validateEmail, validateEnvConfig, validatePassword, videoPlayerVariants, webAnimations, webConfig, weeklyChartsConfig, withNetworkAware, withPageTransition };
|
|
7790
|
+
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, BracketGenerator, type BracketGeneratorProps, type BracketMatch, type BracketMatchRenderContext, type BracketParticipant, type BracketResumeMatch, type BracketSeedingStrategy, type BracketSize, type BracketState, type BracketThemeColors, type BracketThemePreset, 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, type CoinCustomTheme, CoinFlipper, type CoinFlipperProps, type CoinResult, type CoinTheme, type CoinThemePreset, type CoinTrigger, 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, type Delimiter, Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, DialogTrigger, type DiceCount, type DiceCustomTheme, DiceRoller, type DiceRollerProps, type DiceTheme, type DiceThemePreset, type DiceTrigger, type Distance, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, type Duration, type DurationFilter, DynamicHeroBanner, 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, FLOW_TREE_CSS, FLOW_TREE_ICON_NAMES, FeatureGrid, type FeatureGridProps, FeatureHighlight, type FeatureItem, type FeedFilter, type FeedItem, type FeedSortOrder, type FeedbackCategory, FilterChip, type FilterChipProps, type FilterConfig, FilterableGrid, type FilterableGridApplyMode, type FilterableGridCategory, type FilterableGridCategoryNavProps, type FilterableGridFilter, type FilterableGridFilterOption, type FilterableGridLabels, type FilterableGridLayout, type FilterableGridProps, type FilterableGridQuickTab, type FilterableGridRenderCardContext, type FilterableGridSectionOrder, type FilterableGridSort, type FilterableGridState, FixedAudioBar, type FixedAudioBarProps, FlowTree, type FlowTreeAction, type FlowTreeDetail, FlowTreeIcon, type FlowTreeIconName, type FlowTreeIconProps, type FlowTreeIconValue, type FlowTreeImageIcon, type FlowTreeLayoutOptions, type FlowTreeMetaRow, type FlowTreeNode, type FlowTreeProps, type FlowTreeTier, Form, FormBuilder, type FormBuilderProps, FormDescription, type FormField, FormGroup, FormLabel, FormMessage, FormProgress, type FormProps, type FormSchema, FormSection, GameTimer, type GameTimerCustomTheme, type GameTimerHandle, type GameTimerLap, type GameTimerMode, type GameTimerProps, type GameTimerTheme, type GameTimerThemePreset, 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, type HeroBannerCta, type HeroBannerCtaVariant, type HeroBannerCustomTheme, type HeroBannerImageFilter, type HeroBannerMouseEffect, type HeroBannerProps, type HeroBannerSlide, type HeroBannerStat, type HeroBannerStatsBackground, type HeroBannerStatsLayout, type HeroBannerStatsPosition, type HeroBannerStatsSize, type HeroBannerTextAlign, type HeroBannerThemePreset, type HeroBannerTransition, HeroCTA, HeroContent, type HeroProps, HeroSubtitle, HeroTitle, ImageCropDropZone, type ImageCropDropZoneProps, type ImageCropFormat, ImageCropModal, type ImageCropModalProps, type ImageCropOutput, ImageCropper, type ImageCropperHandle, type ImageCropperProps, 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 ParseRosterOptions, type ParsedTable, type PerformanceMetrics, type PieChartProps, PillToggle, type PillToggleMultiProps, type PillToggleOption, type PillToggleProps, type PillToggleSingleProps, 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, ROSTER_IMPORT_MAX_BYTES, type RandomPlayerIntensity, type RandomPlayerMode, type RandomPlayerParticipant, RandomPlayerPicker, type RandomPlayerPickerProps, type RandomPlayerPlaceholderMode, type RandomPlayerTheme, type RandomPlayerThemeColors, type RandomPlayerThemePreset, type RandomPlayerTrigger, type RefreshState, type RepeatMode, type ResponsiveColumns, ResponsiveFlex, ResponsiveGrid, type ResponsiveGridProps, ResponsiveHeader, type ResponsiveHeaderProps, RevenueKPI, RosterFileTooLargeError, RosterImport, type RosterImportLabels, type RosterImportProps, type RoundRobinCustomTheme, type RoundRobinLabels, type RoundRobinMatchup, type RoundRobinRound, RoundRobinScheduler, type RoundRobinSchedulerProps, type RoundRobinTheme, type RoundRobinThemePreset, STAGGER, STAGGER_CONTAINERS, STAGGER_ITEMS, SafeAreaWrapper, Scoreboard, type ScoreboardCustomTheme, type ScoreboardLabels, type ScoreboardProps, type ScoreboardRoundSnapshot, type ScoreboardTeam, type ScoreboardTheme, type ScoreboardThemePreset, 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, SectionedListEditor, type SectionedListEditorProps, type SectionedListSection, 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, StepProgress, type StepProgressProps, StepWizard, type StepWizardProps, type StepWizardStep, 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, TagInput, type TagInputProps, type TeamColorSwatch, TeamGenerator, type TeamGeneratorCustomTheme, type TeamGeneratorLabels, type TeamGeneratorProps, type TeamGeneratorTheme, type TeamGeneratorThemePreset, 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, detectDelimiter, detectHeader, disableScroll, emptyStateVariants, enableScroll, extractRoster, 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, parseRoster, parseTable, podcastAppTabs, readRosterFile, scaleIn, slideIn, sliderVariants, stateManager, stickyActionsVariants, switchVariants, textareaVariants, theme, themes, toast, toastVariants, useAnimationTokens, useCache, useClickOutside, useCustomPerformanceTracking, useDarkMode, useDebouncedCallback, useEscapeKey, useFocusTrap, useGlassmorphism, useInfiniteScroll, useIntersectionObserver, useLazyLoad, useLoadingOverlay, useLoadingOverlayApi, useLoadingOverlayVisible, useLockBody, useMediaQuery, useMobileNavigation, useMounted, useNetworkInfo, useOfflineState, useOptimizedMemo, useOptimizedStoreSelector, usePerformanceObserver, usePrefersReducedMotion, useRenderPerformanceTracking, useTheme, useThrottledCallback, useToast, useVirtualization, useVisibilityTracking, validateEmail, validateEnvConfig, validatePassword, videoPlayerVariants, webAnimations, webConfig, weeklyChartsConfig, withNetworkAware, withPageTransition };
|
package/dist/index.js
CHANGED
|
@@ -31282,9 +31282,26 @@ function standardSeeding(participants) {
|
|
|
31282
31282
|
const sorted = [...participants].sort(
|
|
31283
31283
|
(a, b) => (a.seed ?? 999) - (b.seed ?? 999)
|
|
31284
31284
|
);
|
|
31285
|
+
const n = sorted.length;
|
|
31285
31286
|
const pairs = [];
|
|
31286
|
-
|
|
31287
|
-
|
|
31287
|
+
if (n < 2 || (n & n - 1) !== 0) {
|
|
31288
|
+
for (let i = 0; i + 1 < n; i += 2) {
|
|
31289
|
+
pairs.push([sorted[i], sorted[i + 1]]);
|
|
31290
|
+
}
|
|
31291
|
+
return pairs;
|
|
31292
|
+
}
|
|
31293
|
+
let order = [1, 2];
|
|
31294
|
+
while (order.length < n) {
|
|
31295
|
+
const total = order.length * 2 + 1;
|
|
31296
|
+
const next = [];
|
|
31297
|
+
for (const r of order) {
|
|
31298
|
+
next.push(r);
|
|
31299
|
+
next.push(total - r);
|
|
31300
|
+
}
|
|
31301
|
+
order = next;
|
|
31302
|
+
}
|
|
31303
|
+
for (let i = 0; i < order.length; i += 2) {
|
|
31304
|
+
pairs.push([sorted[order[i] - 1], sorted[order[i + 1] - 1]]);
|
|
31288
31305
|
}
|
|
31289
31306
|
return pairs;
|
|
31290
31307
|
}
|
|
@@ -31638,6 +31655,7 @@ function BracketGenerator({
|
|
|
31638
31655
|
theme: theme5 = "blue",
|
|
31639
31656
|
darkMode,
|
|
31640
31657
|
seedingStrategy = "standard",
|
|
31658
|
+
resumeMatches,
|
|
31641
31659
|
onMatchComplete,
|
|
31642
31660
|
onChampion,
|
|
31643
31661
|
onStateChange,
|
|
@@ -31716,6 +31734,47 @@ function BracketGenerator({
|
|
|
31716
31734
|
);
|
|
31717
31735
|
const [miniMapHidden, setMiniMapHidden] = (0, import_react69.useState)(false);
|
|
31718
31736
|
const miniMapDragRef = (0, import_react69.useRef)(false);
|
|
31737
|
+
const resumeRef = (0, import_react69.useRef)(resumeMatches);
|
|
31738
|
+
const hydrateFromResume = (0, import_react69.useCallback)(() => {
|
|
31739
|
+
const resume = resumeRef.current;
|
|
31740
|
+
if (!resume?.length) return null;
|
|
31741
|
+
const n = effectiveParticipants.length;
|
|
31742
|
+
if (n < 2 || (n & n - 1) !== 0) return null;
|
|
31743
|
+
const rounds = Math.log2(n);
|
|
31744
|
+
if (resume.length !== n - 1) return null;
|
|
31745
|
+
const byId = new Map(effectiveParticipants.map((p) => [p.id, p]));
|
|
31746
|
+
const resolve = (id) => {
|
|
31747
|
+
if (!id) return null;
|
|
31748
|
+
const found = byId.get(id);
|
|
31749
|
+
if (found) return found;
|
|
31750
|
+
if (id.startsWith("__bye_")) {
|
|
31751
|
+
return { id, name: "BYE", seed: 999, isBye: true };
|
|
31752
|
+
}
|
|
31753
|
+
return void 0;
|
|
31754
|
+
};
|
|
31755
|
+
const matches = [];
|
|
31756
|
+
for (const rm of resume) {
|
|
31757
|
+
if (rm.round < 0 || rm.round >= rounds) return null;
|
|
31758
|
+
const a = resolve(rm.aId);
|
|
31759
|
+
const b = resolve(rm.bId);
|
|
31760
|
+
const winner = resolve(rm.winnerId);
|
|
31761
|
+
if (a === void 0 || b === void 0 || winner === void 0)
|
|
31762
|
+
return null;
|
|
31763
|
+
matches.push({
|
|
31764
|
+
id: rm.id,
|
|
31765
|
+
round: rm.round,
|
|
31766
|
+
slot: rm.slot,
|
|
31767
|
+
a,
|
|
31768
|
+
b,
|
|
31769
|
+
scoreA: rm.scoreA,
|
|
31770
|
+
scoreB: rm.scoreB,
|
|
31771
|
+
winner
|
|
31772
|
+
});
|
|
31773
|
+
}
|
|
31774
|
+
matches.sort((x, y) => x.round - y.round || x.slot - y.slot);
|
|
31775
|
+
const finalMatch = matches.find((m) => m.round === rounds - 1);
|
|
31776
|
+
return { matches, rounds, champion: finalMatch?.winner ?? null };
|
|
31777
|
+
}, [effectiveParticipants]);
|
|
31719
31778
|
const seedBracket = (0, import_react69.useCallback)(() => {
|
|
31720
31779
|
const { matches, rounds } = buildBracket(
|
|
31721
31780
|
effectiveParticipants,
|
|
@@ -31826,12 +31885,47 @@ function BracketGenerator({
|
|
|
31826
31885
|
onStateChange?.(next);
|
|
31827
31886
|
prevBracketStateRef.current = next;
|
|
31828
31887
|
}, [bracketState, onMatchComplete, onChampion, onStateChange]);
|
|
31888
|
+
const structuralKey = (0, import_react69.useMemo)(
|
|
31889
|
+
() => `${seedingStrategy}|${effectiveParticipants.map((p) => `${p.id}:${p.seed ?? ""}`).join(",")}`,
|
|
31890
|
+
[effectiveParticipants, seedingStrategy]
|
|
31891
|
+
);
|
|
31892
|
+
const seededKeyRef = (0, import_react69.useRef)(null);
|
|
31893
|
+
(0, import_react69.useEffect)(() => {
|
|
31894
|
+
if (seededKeyRef.current === structuralKey) {
|
|
31895
|
+
setBracketState((prev) => {
|
|
31896
|
+
if (!prev.matches.length) return prev;
|
|
31897
|
+
const byId = new Map(effectiveParticipants.map((p) => [p.id, p]));
|
|
31898
|
+
const swap = (p) => p && !p.isBye ? byId.get(p.id) ?? p : p;
|
|
31899
|
+
let changed = false;
|
|
31900
|
+
const matches = prev.matches.map((m) => {
|
|
31901
|
+
const a = swap(m.a);
|
|
31902
|
+
const b = swap(m.b);
|
|
31903
|
+
const winner = swap(m.winner);
|
|
31904
|
+
if (a === m.a && b === m.b && winner === m.winner) return m;
|
|
31905
|
+
changed = true;
|
|
31906
|
+
return { ...m, a, b, winner };
|
|
31907
|
+
});
|
|
31908
|
+
if (!changed) return prev;
|
|
31909
|
+
return { ...prev, matches, champion: swap(prev.champion) };
|
|
31910
|
+
});
|
|
31911
|
+
return;
|
|
31912
|
+
}
|
|
31913
|
+
seededKeyRef.current = structuralKey;
|
|
31914
|
+
if (autoRef.current) clearTimeout(autoRef.current);
|
|
31915
|
+
setSimulating(false);
|
|
31916
|
+
const resumed = hydrateFromResume();
|
|
31917
|
+
resumeRef.current = void 0;
|
|
31918
|
+
if (resumed) {
|
|
31919
|
+
setBracketState(resumed);
|
|
31920
|
+
} else {
|
|
31921
|
+
seedBracket();
|
|
31922
|
+
}
|
|
31923
|
+
}, [structuralKey, effectiveParticipants, hydrateFromResume, seedBracket]);
|
|
31829
31924
|
(0, import_react69.useEffect)(() => {
|
|
31830
|
-
seedBracket();
|
|
31831
31925
|
return () => {
|
|
31832
31926
|
if (autoRef.current) clearTimeout(autoRef.current);
|
|
31833
31927
|
};
|
|
31834
|
-
}, [
|
|
31928
|
+
}, []);
|
|
31835
31929
|
(0, import_react69.useLayoutEffect)(() => {
|
|
31836
31930
|
if (contentSize.w > 0) {
|
|
31837
31931
|
const timer = setTimeout(fit, 50);
|