@digilogiclabs/saas-factory-ui 2.2.0 → 2.3.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 CHANGED
@@ -4610,7 +4610,13 @@ declare function TiltCard({ accent, accentSecondary, topLabel, icon, title, subt
4610
4610
  * server-side randomizer for visual feedback only.
4611
4611
  *
4612
4612
  * Features:
4613
- * - 1 to 6 dice, each a full 3D cube (six faces, CSS transforms)
4613
+ * - 1 to 6 dice; d6 renders as a full 3D cube (six faces, CSS
4614
+ * transforms, standard layout — opposite faces sum to 7); d4/d8/
4615
+ * d10/d12/d20 render as themed polyhedron silhouettes with numerals
4616
+ * - Displayed face is structurally guaranteed to match the recorded
4617
+ * value: the d6 landing rotation is DERIVED as the inverse of the
4618
+ * face placement (one source of truth), and non-cube dice render
4619
+ * their settled numeral directly from the rolled value
4614
4620
  * - Multi-body simulation: dice bounce off arena walls AND each other
4615
4621
  * - Theme presets + fully custom theme objects
4616
4622
  * - Auto dark-mode detection (follows the `.dark` class on `<html>`,
@@ -4654,10 +4660,17 @@ interface DiceCustomTheme {
4654
4660
  }
4655
4661
  type DiceTheme = DiceThemePreset | DiceCustomTheme;
4656
4662
  type DiceCount = 1 | 2 | 3 | 4 | 5 | 6;
4663
+ type DiceSides = 4 | 6 | 8 | 10 | 12 | 20;
4657
4664
  type DiceTrigger = "button" | "click" | "external";
4658
4665
  interface DiceRollerProps {
4659
4666
  /** Number of dice. Default 2. Max 6. */
4660
4667
  count?: DiceCount;
4668
+ /**
4669
+ * Die type — faces per die. Default 6 (pipped 3D cube). Other values
4670
+ * render a polyhedron silhouette (d4 triangle, d8 diamond, d10 kite,
4671
+ * d12 pentagon, d20 hexagon) with a numeral face. Values roll 1..sides.
4672
+ */
4673
+ sides?: DiceSides;
4661
4674
  /** Theme preset name or a custom theme object. Default 'red'. */
4662
4675
  theme?: DiceTheme;
4663
4676
  /**
@@ -4708,7 +4721,33 @@ interface DiceRollerProps {
4708
4721
  /** Accessible label for the arena. */
4709
4722
  ariaLabel?: string;
4710
4723
  }
4711
- declare function DiceRoller({ count, theme, darkMode, size, minSize, responsive, autoRoll, onRoll, trigger, label, iconEmoji, showHistory, historyMax, rollRef, arenaHeight: arenaHeightProp, hideResults, className, style, ariaLabel, }: DiceRollerProps): ReactNode;
4724
+ /**
4725
+ * How each value's face is placed on the d6 cube — the SINGLE source of
4726
+ * truth for both the face transforms and the landing rotations. Standard
4727
+ * western die layout: opposite faces sum to 7 (1↔6, 2↔5, 3↔4).
4728
+ *
4729
+ * Every placement is a single-axis rotation (at most one of x/y nonzero),
4730
+ * so the landing rotation that brings face v to the viewer is simply the
4731
+ * inverse — see `d6LandingRotation`. Deriving instead of hand-pairing is
4732
+ * what makes a face/result mismatch structurally impossible (values 3 and
4733
+ * 4 were hand-swapped until 2.2.1).
4734
+ *
4735
+ * Exported for tests.
4736
+ */
4737
+ declare const D6_FACE_PLACEMENTS: Record<number, {
4738
+ x: number;
4739
+ y: number;
4740
+ }>;
4741
+ /**
4742
+ * Landing rotation for a rolled d6 value: the inverse of that face's
4743
+ * placement rotation (negation per axis; ±180° is its own inverse).
4744
+ * Exported for tests.
4745
+ */
4746
+ declare function d6LandingRotation(value: number): {
4747
+ x: number;
4748
+ y: number;
4749
+ };
4750
+ declare function DiceRoller({ count, sides, theme, darkMode, size, minSize, responsive, autoRoll, onRoll, trigger, label, iconEmoji, showHistory, historyMax, rollRef, arenaHeight: arenaHeightProp, hideResults, className, style, ariaLabel, }: DiceRollerProps): ReactNode;
4712
4751
  declare namespace DiceRoller {
4713
4752
  var displayName: string;
4714
4753
  }
@@ -7803,4 +7842,4 @@ declare class OptimizedStateManager {
7803
7842
  }
7804
7843
  declare const stateManager: OptimizedStateManager;
7805
7844
 
7806
- 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 };
7845
+ 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, D6_FACE_PLACEMENTS, 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 DiceSides, 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, d6LandingRotation, 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
@@ -4610,7 +4610,13 @@ declare function TiltCard({ accent, accentSecondary, topLabel, icon, title, subt
4610
4610
  * server-side randomizer for visual feedback only.
4611
4611
  *
4612
4612
  * Features:
4613
- * - 1 to 6 dice, each a full 3D cube (six faces, CSS transforms)
4613
+ * - 1 to 6 dice; d6 renders as a full 3D cube (six faces, CSS
4614
+ * transforms, standard layout — opposite faces sum to 7); d4/d8/
4615
+ * d10/d12/d20 render as themed polyhedron silhouettes with numerals
4616
+ * - Displayed face is structurally guaranteed to match the recorded
4617
+ * value: the d6 landing rotation is DERIVED as the inverse of the
4618
+ * face placement (one source of truth), and non-cube dice render
4619
+ * their settled numeral directly from the rolled value
4614
4620
  * - Multi-body simulation: dice bounce off arena walls AND each other
4615
4621
  * - Theme presets + fully custom theme objects
4616
4622
  * - Auto dark-mode detection (follows the `.dark` class on `<html>`,
@@ -4654,10 +4660,17 @@ interface DiceCustomTheme {
4654
4660
  }
4655
4661
  type DiceTheme = DiceThemePreset | DiceCustomTheme;
4656
4662
  type DiceCount = 1 | 2 | 3 | 4 | 5 | 6;
4663
+ type DiceSides = 4 | 6 | 8 | 10 | 12 | 20;
4657
4664
  type DiceTrigger = "button" | "click" | "external";
4658
4665
  interface DiceRollerProps {
4659
4666
  /** Number of dice. Default 2. Max 6. */
4660
4667
  count?: DiceCount;
4668
+ /**
4669
+ * Die type — faces per die. Default 6 (pipped 3D cube). Other values
4670
+ * render a polyhedron silhouette (d4 triangle, d8 diamond, d10 kite,
4671
+ * d12 pentagon, d20 hexagon) with a numeral face. Values roll 1..sides.
4672
+ */
4673
+ sides?: DiceSides;
4661
4674
  /** Theme preset name or a custom theme object. Default 'red'. */
4662
4675
  theme?: DiceTheme;
4663
4676
  /**
@@ -4708,7 +4721,33 @@ interface DiceRollerProps {
4708
4721
  /** Accessible label for the arena. */
4709
4722
  ariaLabel?: string;
4710
4723
  }
4711
- declare function DiceRoller({ count, theme, darkMode, size, minSize, responsive, autoRoll, onRoll, trigger, label, iconEmoji, showHistory, historyMax, rollRef, arenaHeight: arenaHeightProp, hideResults, className, style, ariaLabel, }: DiceRollerProps): ReactNode;
4724
+ /**
4725
+ * How each value's face is placed on the d6 cube — the SINGLE source of
4726
+ * truth for both the face transforms and the landing rotations. Standard
4727
+ * western die layout: opposite faces sum to 7 (1↔6, 2↔5, 3↔4).
4728
+ *
4729
+ * Every placement is a single-axis rotation (at most one of x/y nonzero),
4730
+ * so the landing rotation that brings face v to the viewer is simply the
4731
+ * inverse — see `d6LandingRotation`. Deriving instead of hand-pairing is
4732
+ * what makes a face/result mismatch structurally impossible (values 3 and
4733
+ * 4 were hand-swapped until 2.2.1).
4734
+ *
4735
+ * Exported for tests.
4736
+ */
4737
+ declare const D6_FACE_PLACEMENTS: Record<number, {
4738
+ x: number;
4739
+ y: number;
4740
+ }>;
4741
+ /**
4742
+ * Landing rotation for a rolled d6 value: the inverse of that face's
4743
+ * placement rotation (negation per axis; ±180° is its own inverse).
4744
+ * Exported for tests.
4745
+ */
4746
+ declare function d6LandingRotation(value: number): {
4747
+ x: number;
4748
+ y: number;
4749
+ };
4750
+ declare function DiceRoller({ count, sides, theme, darkMode, size, minSize, responsive, autoRoll, onRoll, trigger, label, iconEmoji, showHistory, historyMax, rollRef, arenaHeight: arenaHeightProp, hideResults, className, style, ariaLabel, }: DiceRollerProps): ReactNode;
4712
4751
  declare namespace DiceRoller {
4713
4752
  var displayName: string;
4714
4753
  }
@@ -7803,4 +7842,4 @@ declare class OptimizedStateManager {
7803
7842
  }
7804
7843
  declare const stateManager: OptimizedStateManager;
7805
7844
 
7806
- 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 };
7845
+ 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, D6_FACE_PLACEMENTS, 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 DiceSides, 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, d6LandingRotation, 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
@@ -282,6 +282,7 @@ __export(index_exports, {
282
282
  CommentSystem: () => CommentSystem,
283
283
  Container: () => Container,
284
284
  ConversionKPI: () => ConversionKPI,
285
+ D6_FACE_PLACEMENTS: () => D6_FACE_PLACEMENTS,
285
286
  DISTANCES: () => DISTANCES,
286
287
  DURATIONS: () => DURATIONS,
287
288
  DashboardGrid: () => DashboardGrid,
@@ -571,6 +572,7 @@ __export(index_exports, {
571
572
  createOptimizedStore: () => createOptimizedStore,
572
573
  createSlideVariant: () => createSlideVariant,
573
574
  createTransition: () => createTransition,
575
+ d6LandingRotation: () => d6LandingRotation,
574
576
  dailyTrendingConfig: () => dailyTrendingConfig,
575
577
  detectAuthProvider: () => detectAuthProvider,
576
578
  detectDelimiter: () => detectDelimiter,
@@ -30515,14 +30517,35 @@ var PIP_POS = {
30515
30517
  [75, 75]
30516
30518
  ]
30517
30519
  };
30518
- var SHOW_ROT = {
30520
+ var D6_FACE_PLACEMENTS = {
30519
30521
  1: { x: 0, y: 0 },
30520
- 2: { x: 0, y: 180 },
30521
- 3: { x: 0, y: -90 },
30522
- 4: { x: 0, y: 90 },
30523
- 5: { x: -90, y: 0 },
30524
- 6: { x: 90, y: 0 }
30522
+ 2: { x: 0, y: 90 },
30523
+ 3: { x: 90, y: 0 },
30524
+ 4: { x: -90, y: 0 },
30525
+ 5: { x: 0, y: -90 },
30526
+ 6: { x: 0, y: 180 }
30525
30527
  };
30528
+ function d6LandingRotation(value) {
30529
+ const p = D6_FACE_PLACEMENTS[value];
30530
+ return {
30531
+ x: Math.abs(p.x) === 180 ? 180 : -p.x || 0,
30532
+ y: Math.abs(p.y) === 180 ? 180 : -p.y || 0
30533
+ };
30534
+ }
30535
+ var POLY_SHAPES = {
30536
+ 4: { points: "50,8 93,86 7,86", textY: 62, fontScale: 0.3 },
30537
+ 8: { points: "50,4 96,50 50,96 4,50", textY: 51, fontScale: 0.33 },
30538
+ 10: { points: "50,4 93,44 50,96 7,44", textY: 47, fontScale: 0.3 },
30539
+ 12: { points: "50,4 95,37 78,93 22,93 5,37", textY: 54, fontScale: 0.33 },
30540
+ 20: {
30541
+ points: "50,3 91,26 91,74 50,97 9,74 9,26",
30542
+ textY: 51,
30543
+ fontScale: 0.33
30544
+ }
30545
+ };
30546
+ function formatDieValue(v, sides) {
30547
+ return sides > 8 && (v === 6 || v === 9) ? `${v}.` : String(v);
30548
+ }
30526
30549
  var MAX_COUNT = 6;
30527
30550
  var TUMBLE_MS = 950;
30528
30551
  var SETTLE_MS = 1100;
@@ -30674,6 +30697,7 @@ function Face({ value, pipColor, pipShadow, pipDiameter }) {
30674
30697
  }
30675
30698
  function DiceRoller({
30676
30699
  count: count2 = 2,
30700
+ sides = 6,
30677
30701
  theme: theme5 = "red",
30678
30702
  darkMode,
30679
30703
  size = 80,
@@ -30702,6 +30726,7 @@ function DiceRoller({
30702
30726
  const dieWrapperRefs = (0, import_react68.useRef)([]);
30703
30727
  const cubeRefs = (0, import_react68.useRef)([]);
30704
30728
  const shadowRefs = (0, import_react68.useRef)([]);
30729
+ const numeralRefs = (0, import_react68.useRef)([]);
30705
30730
  const currentPositionsRef = (0, import_react68.useRef)(null);
30706
30731
  const rollingRef = (0, import_react68.useRef)(false);
30707
30732
  const dieSetters = (0, import_react68.useRef)([]);
@@ -30731,6 +30756,15 @@ function DiceRoller({
30731
30756
  }
30732
30757
  return shadowSetters.current[i];
30733
30758
  };
30759
+ const numeralSetters = (0, import_react68.useRef)([]);
30760
+ const getNumeralSetter = (i) => {
30761
+ if (!numeralSetters.current[i]) {
30762
+ numeralSetters.current[i] = (el) => {
30763
+ numeralRefs.current[i] = el;
30764
+ };
30765
+ }
30766
+ return numeralSetters.current[i];
30767
+ };
30734
30768
  const timersRef = (0, import_react68.useRef)([]);
30735
30769
  const rafHandleRef = (0, import_react68.useRef)(null);
30736
30770
  const arenaRef = (0, import_react68.useRef)(null);
@@ -30783,15 +30817,15 @@ function DiceRoller({
30783
30817
  const pipDiameter = Math.round(effectiveSize * 0.2);
30784
30818
  const faceRadius = Math.round(effectiveSize * 0.07);
30785
30819
  const arenaHeight = arenaHeightProp ?? Math.max(effectiveSize * 3, 200);
30786
- const faceTransforms = (0, import_react68.useMemo)(
30787
- () => [
30788
- `translateZ(${half}px)`,
30789
- `rotateY(180deg) translateZ(${half}px)`,
30790
- `rotateY(-90deg) translateZ(${half}px)`,
30791
- `rotateY(90deg) translateZ(${half}px)`,
30792
- `rotateX(90deg) translateZ(${half}px)`,
30793
- `rotateX(-90deg) translateZ(${half}px)`
30794
- ],
30820
+ const faceTransformFor = (0, import_react68.useCallback)(
30821
+ (value) => {
30822
+ const p = D6_FACE_PLACEMENTS[value];
30823
+ const parts = [];
30824
+ if (p.x !== 0) parts.push(`rotateX(${p.x}deg)`);
30825
+ if (p.y !== 0) parts.push(`rotateY(${p.y}deg)`);
30826
+ parts.push(`translateZ(${half}px)`);
30827
+ return parts.join(" ");
30828
+ },
30795
30829
  [half]
30796
30830
  );
30797
30831
  const defaultPositions = (0, import_react68.useCallback)(
@@ -30813,11 +30847,11 @@ function DiceRoller({
30813
30847
  [half]
30814
30848
  );
30815
30849
  const writeCubeRotation = (0, import_react68.useCallback)(
30816
- (i, rx, ry, rz, withTransition) => {
30850
+ (i, rx, ry, rz, withTransition, tiltZ = 0) => {
30817
30851
  const el = cubeRefs.current[i];
30818
30852
  if (!el) return;
30819
30853
  el.style.transition = withTransition ? "transform 0.95s cubic-bezier(0.12,0.8,0.22,1)" : "none";
30820
- el.style.transform = `rotateX(${rx}deg) rotateY(${ry}deg) rotateZ(${rz}deg)`;
30854
+ el.style.transform = `${tiltZ ? `rotateZ(${tiltZ}deg) ` : ""}rotateX(${rx}deg) rotateY(${ry}deg) rotateZ(${rz}deg)`;
30821
30855
  },
30822
30856
  []
30823
30857
  );
@@ -30847,19 +30881,23 @@ function DiceRoller({
30847
30881
  setResults(null);
30848
30882
  }, [
30849
30883
  clampedCount,
30884
+ sides,
30850
30885
  effectiveSize,
30851
30886
  arena.w,
30852
30887
  arenaHeight,
30853
30888
  defaultPositions,
30854
30889
  half
30855
30890
  ]);
30891
+ (0, import_react68.useEffect)(() => {
30892
+ setHistory([]);
30893
+ }, [sides]);
30856
30894
  const roll = (0, import_react68.useCallback)(() => {
30857
30895
  if (rollingRef.current) return;
30858
30896
  rollingRef.current = true;
30859
30897
  setRolling(true);
30860
30898
  const vals = Array.from(
30861
30899
  { length: clampedCount },
30862
- () => Math.floor(Math.random() * 6) + 1
30900
+ () => Math.floor(Math.random() * sides) + 1
30863
30901
  );
30864
30902
  timersRef.current.forEach((t) => clearTimeout(t));
30865
30903
  timersRef.current = [];
@@ -30874,13 +30912,17 @@ function DiceRoller({
30874
30912
  const starts = currentPositionsRef.current ?? defaultPositions(w, h, clampedCount);
30875
30913
  const frames = simulateDice(w, h, effectiveSize, starts, clampedCount);
30876
30914
  for (let i = 0; i < clampedCount; i++) {
30877
- writeCubeRotation(
30878
- i,
30879
- (Math.random() - 0.5) * 720,
30880
- (Math.random() - 0.5) * 720,
30881
- (Math.random() - 0.5) * 720,
30882
- false
30883
- );
30915
+ if (sides === 6) {
30916
+ writeCubeRotation(
30917
+ i,
30918
+ (Math.random() - 0.5) * 720,
30919
+ (Math.random() - 0.5) * 720,
30920
+ (Math.random() - 0.5) * 720,
30921
+ false
30922
+ );
30923
+ } else {
30924
+ writeCubeRotation(i, 0, 0, (Math.random() - 0.5) * 720, false);
30925
+ }
30884
30926
  const el = dieWrapperRefs.current[i];
30885
30927
  if (el) el.style.transition = "none";
30886
30928
  const shadow = shadowRefs.current[i];
@@ -30913,18 +30955,47 @@ function DiceRoller({
30913
30955
  }, capturedStep * stepMs);
30914
30956
  timersRef.current.push(timer);
30915
30957
  }
30958
+ if (sides !== 6) {
30959
+ const flickerTicks = 8;
30960
+ const flickerStep = Math.max(60, Math.floor(TUMBLE_MS / flickerTicks));
30961
+ for (let f = 1; f <= flickerTicks; f++) {
30962
+ const t = setTimeout(() => {
30963
+ for (let i = 0; i < clampedCount; i++) {
30964
+ const el = numeralRefs.current[i];
30965
+ if (el)
30966
+ el.textContent = formatDieValue(
30967
+ Math.floor(Math.random() * sides) + 1,
30968
+ sides
30969
+ );
30970
+ }
30971
+ }, f * flickerStep);
30972
+ timersRef.current.push(t);
30973
+ }
30974
+ }
30916
30975
  requestAnimationFrame(() => {
30917
30976
  requestAnimationFrame(() => {
30918
30977
  for (let i = 0; i < clampedCount; i++) {
30919
- const tgt = SHOW_ROT[vals[i]];
30920
- const lx = tgt.x + (Math.random() > 0.5 ? 720 : -720);
30921
- const ly = tgt.y;
30922
- const lz = (Math.random() > 0.5 ? 1 : -1) * 360;
30923
- writeCubeRotation(i, lx, ly, lz, true);
30978
+ const tilt = (Math.random() - 0.5) * 18;
30979
+ if (sides === 6) {
30980
+ const tgt = d6LandingRotation(vals[i]);
30981
+ const lx = tgt.x + (Math.random() > 0.5 ? 720 : -720);
30982
+ const ly = tgt.y;
30983
+ const lz = (Math.random() > 0.5 ? 1 : -1) * 360;
30984
+ writeCubeRotation(i, lx, ly, lz, true, tilt);
30985
+ } else {
30986
+ const lz = (Math.random() > 0.5 ? 1 : -1) * 720 + tilt;
30987
+ writeCubeRotation(i, 0, 0, lz, true);
30988
+ }
30924
30989
  }
30925
30990
  });
30926
30991
  });
30927
30992
  const settleTimer = setTimeout(() => {
30993
+ if (sides !== 6) {
30994
+ for (let i = 0; i < clampedCount; i++) {
30995
+ const el = numeralRefs.current[i];
30996
+ if (el) el.textContent = formatDieValue(vals[i], sides);
30997
+ }
30998
+ }
30928
30999
  setResults(vals);
30929
31000
  setRolling(false);
30930
31001
  rollingRef.current = false;
@@ -30937,6 +31008,7 @@ function DiceRoller({
30937
31008
  timersRef.current.push(settleTimer);
30938
31009
  }, [
30939
31010
  clampedCount,
31011
+ sides,
30940
31012
  defaultPositions,
30941
31013
  effectiveSize,
30942
31014
  half,
@@ -30982,7 +31054,7 @@ function DiceRoller({
30982
31054
  {
30983
31055
  ref: arenaRef,
30984
31056
  role: "img",
30985
- "aria-label": ariaLabel ?? `${clampedCount} dice`,
31057
+ "aria-label": ariaLabel ?? `${clampedCount} ${sides === 6 ? "dice" : `${sides}-sided dice`}`,
30986
31058
  "aria-live": "polite",
30987
31059
  style: {
30988
31060
  position: "relative",
@@ -31045,7 +31117,7 @@ function DiceRoller({
31045
31117
  transformStyle: "preserve-3d",
31046
31118
  willChange: "transform"
31047
31119
  },
31048
- children: [1, 2, 3, 4, 5, 6].map((val, fi) => /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
31120
+ children: sides === 6 ? [1, 2, 3, 4, 5, 6].map((val) => /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
31049
31121
  "div",
31050
31122
  {
31051
31123
  style: {
@@ -31055,7 +31127,7 @@ function DiceRoller({
31055
31127
  background: colors.face,
31056
31128
  border: `1px solid ${colors.faceBorder}`,
31057
31129
  borderRadius: faceRadius,
31058
- transform: faceTransforms[fi],
31130
+ transform: faceTransformFor(val),
31059
31131
  transition: "background 0.3s, border-color 0.3s"
31060
31132
  },
31061
31133
  children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
@@ -31069,7 +31141,64 @@ function DiceRoller({
31069
31141
  )
31070
31142
  },
31071
31143
  val
31072
- ))
31144
+ )) : (() => {
31145
+ const shape = POLY_SHAPES[sides];
31146
+ const shown = results?.[d] ?? sides;
31147
+ return /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(
31148
+ "svg",
31149
+ {
31150
+ viewBox: "0 0 100 100",
31151
+ width: "100%",
31152
+ height: "100%",
31153
+ style: { display: "block", overflow: "visible" },
31154
+ "aria-hidden": "true",
31155
+ children: [
31156
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
31157
+ "polygon",
31158
+ {
31159
+ points: shape.points,
31160
+ fill: colors.face,
31161
+ stroke: colors.faceBorder,
31162
+ strokeWidth: 2.5,
31163
+ strokeLinejoin: "round",
31164
+ style: { transition: "fill 0.3s, stroke 0.3s" }
31165
+ }
31166
+ ),
31167
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
31168
+ "polygon",
31169
+ {
31170
+ points: shape.points,
31171
+ fill: "none",
31172
+ stroke: colors.faceBorder,
31173
+ strokeWidth: 1.5,
31174
+ strokeLinejoin: "round",
31175
+ opacity: 0.55,
31176
+ transform: "translate(50 50) scale(0.76) translate(-50 -50)"
31177
+ }
31178
+ ),
31179
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
31180
+ "text",
31181
+ {
31182
+ ref: getNumeralSetter(d),
31183
+ x: 50,
31184
+ y: shape.textY,
31185
+ textAnchor: "middle",
31186
+ dominantBaseline: "central",
31187
+ fontSize: 100 * shape.fontScale,
31188
+ fontWeight: 800,
31189
+ fill: colors.pip,
31190
+ style: {
31191
+ fontVariantNumeric: "tabular-nums",
31192
+ transition: "fill 0.3s",
31193
+ userSelect: "none"
31194
+ },
31195
+ children: formatDieValue(shown, sides)
31196
+ }
31197
+ )
31198
+ ]
31199
+ }
31200
+ );
31201
+ })()
31073
31202
  }
31074
31203
  )
31075
31204
  ] }, d);