@trading-game/design-intelligence-layer 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -199,13 +199,16 @@ declare function CalendarDayButton({ className, day, modifiers, ...props }: Reac
199
199
  * Card shell — the design file's shared surface language: card surface,
200
200
  * hairline border, 18px (2xl) radius, flat (no shadow, per system rule).
201
201
  *
202
- * `variant="frosted-on-brand"` is the frosted shell for sitting over
203
- * hero/game art: white 72% + blur + soft white hairline, identical in both
204
- * themes. (`glass` is its @deprecated alias — deleted at v1.0.)
205
- * `interactive` opts into the design file's desktop-only hover lift.
202
+ * The tinted-glass family, one look per surface (same split as Button):
203
+ * `variant="frosted"` sits on page surfaces — solid brand-selected tint +
204
+ * brand ink, no blur (there's no art underneath to frost). `frosted-on-brand`
205
+ * is the actual frosted shell for sitting over hero/game art: white 72% +
206
+ * blur + soft white hairline, identical in both themes. (`glass` is its
207
+ * @deprecated alias — deleted at v1.0.) `interactive` opts into the design
208
+ * file's desktop-only hover lift.
206
209
  */
207
210
  declare function Card({ className, variant, interactive, ...props }: React$1.ComponentProps<"div"> & {
208
- variant?: "default" | "frosted-on-brand" | "glass";
211
+ variant?: "default" | "frosted" | "frosted-on-brand" | "glass";
209
212
  interactive?: boolean;
210
213
  }): react_jsx_runtime.JSX.Element;
211
214
  declare function CardHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
@@ -537,7 +540,35 @@ declare function PopoverHeader({ className, ...props }: React$1.ComponentProps<"
537
540
  declare function PopoverTitle({ className, ...props }: React$1.ComponentProps<"h2">): react_jsx_runtime.JSX.Element;
538
541
  declare function PopoverDescription({ className, ...props }: React$1.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
539
542
 
540
- declare function Progress({ className, value, ...props }: React$1.ComponentProps<typeof Progress$1.Root>): react_jsx_runtime.JSX.Element;
543
+ type ProgressVariant = "bar" | "dots" | "ring";
544
+ type ProgressBarSize = "sm" | "md" | "lg";
545
+ type ProgressRingSize = "sm" | "md" | "lg" | "xl";
546
+ interface ProgressProps extends Omit<React$1.ComponentProps<typeof Progress$1.Root>, "children"> {
547
+ variant?: ProgressVariant;
548
+ /** bar/dots: sm | md | lg · ring: sm | md | lg | xl */
549
+ size?: ProgressBarSize | ProgressRingSize;
550
+ /** bar only — the setup-meter row above the track. */
551
+ label?: React$1.ReactNode;
552
+ /** bar only — right side of the meter row (e.g. "2 of 5"). */
553
+ valueLabel?: React$1.ReactNode;
554
+ /** dots only — number of segments. */
555
+ segments?: number;
556
+ /**
557
+ * Self-running timer in ms — drives the value smoothly instead of `value`
558
+ * (countdown drains, countup fills). Remount (change `key`) to restart.
559
+ */
560
+ timer?: number;
561
+ /** Timer direction: `down` drains 100 → 0, `up` fills 0 → 100. */
562
+ direction?: "down" | "up";
563
+ /** Fires once when the timer finishes. */
564
+ onTimerEnd?: () => void;
565
+ /**
566
+ * ring only — centred content (e.g. the countdown number). Pass a function
567
+ * to render from the live value: `(pct) => Math.ceil((pct / 100) * 5)`.
568
+ */
569
+ children?: React$1.ReactNode | ((pct: number) => React$1.ReactNode);
570
+ }
571
+ declare function Progress({ className, value, variant, size, label, valueLabel, segments, timer, direction, onTimerEnd, children, ...props }: ProgressProps): react_jsx_runtime.JSX.Element;
541
572
 
542
573
  interface ProfilePhotoProps extends Omit<React$1.ComponentProps<"div">, "children"> {
543
574
  /** Photo URL. Omit to show the placeholder glyph. */
@@ -705,15 +736,28 @@ declare function Slider({ className, defaultValue, value, min, max, ...props }:
705
736
 
706
737
  declare const Toaster: ({ ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
707
738
 
708
- type StepperSize = "sm" | "md" | "lg";
739
+ interface SlideToConfirmProps extends Omit<React$1.ComponentProps<"div">, "onDragStart"> {
740
+ /** Fires once when the handle crosses the threshold (or on Enter/Space). */
741
+ onConfirm?: () => void;
742
+ /** Track label. */
743
+ label?: React$1.ReactNode;
744
+ /** Label shown in the confirmed state. */
745
+ confirmedLabel?: React$1.ReactNode;
746
+ disabled?: boolean;
747
+ /** Controlled confirmed state — pass `false` to reset the control. */
748
+ confirmed?: boolean;
749
+ }
750
+ declare function SlideToConfirm({ onConfirm, label, confirmedLabel, disabled, confirmed: controlledConfirmed, className, ...props }: SlideToConfirmProps): react_jsx_runtime.JSX.Element;
751
+
709
752
  interface StepperProps {
753
+ /** Uppercase label above the amount, e.g. "Stake (USDT)". */
754
+ label?: React$1.ReactNode;
710
755
  value?: number;
711
756
  defaultValue?: number;
712
757
  onValueChange?: (value: number) => void;
713
758
  min?: number;
714
759
  max?: number;
715
760
  step?: number;
716
- size?: StepperSize;
717
761
  disabled?: boolean;
718
762
  placeholder?: string;
719
763
  className?: string;
@@ -721,7 +765,34 @@ interface StepperProps {
721
765
  name?: string;
722
766
  "aria-label"?: string;
723
767
  }
724
- declare function Stepper({ value: controlledValue, defaultValue, onValueChange, min, max, step, size, disabled, placeholder, className, id, name, "aria-label": ariaLabel, }: StepperProps): react_jsx_runtime.JSX.Element;
768
+ declare function Stepper({ label, value: controlledValue, defaultValue, onValueChange, min, max, step, disabled, placeholder, className, id, name, "aria-label": ariaLabel, }: StepperProps): react_jsx_runtime.JSX.Element;
769
+
770
+ type StepsShape = "circle" | "square";
771
+ type StepsOrientation = "horizontal" | "vertical";
772
+ type StepsSize = "sm" | "md";
773
+ type StepState = "done" | "active" | "upcoming";
774
+ declare function Steps({ shape, orientation, size, className, children, ...props }: React$1.ComponentProps<"ol"> & {
775
+ shape?: StepsShape;
776
+ orientation?: StepsOrientation;
777
+ size?: StepsSize;
778
+ }): react_jsx_runtime.JSX.Element;
779
+ interface StepProps extends Omit<React$1.ComponentProps<"li">, "title"> {
780
+ /** done = success fill + check · active = brand fill · upcoming = muted surface */
781
+ state?: StepState;
782
+ /** Replaces the automatic step number inside the indicator. */
783
+ icon?: React$1.ReactNode;
784
+ title?: React$1.ReactNode;
785
+ description?: React$1.ReactNode;
786
+ /** Small uppercase marker beside the title (e.g. "Start here"). */
787
+ tag?: React$1.ReactNode;
788
+ /** Injected by Steps — do not pass. */
789
+ index?: number;
790
+ /** Injected by Steps — do not pass. */
791
+ isFirst?: boolean;
792
+ /** Injected by Steps — do not pass. */
793
+ isLast?: boolean;
794
+ }
795
+ declare function Step({ state, icon, title, description, tag, index, isFirst, isLast, className, ...props }: StepProps): react_jsx_runtime.JSX.Element;
725
796
 
726
797
  declare function Spinner({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
727
798
 
@@ -752,15 +823,14 @@ declare function TabsContent({ className, ...props }: React$1.ComponentProps<typ
752
823
  declare function Textarea({ className, ...props }: React$1.ComponentProps<"textarea">): react_jsx_runtime.JSX.Element;
753
824
 
754
825
  declare const toggleVariants: (props?: ({
755
- variant?: "default" | "outline" | null | undefined;
756
826
  size?: "lg" | "sm" | "default" | null | undefined;
757
827
  } & class_variance_authority_types.ClassProp) | undefined) => string;
758
- declare function Toggle({ className, variant, size, ...props }: React$1.ComponentProps<typeof Toggle$1.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
828
+ declare function Toggle({ className, size, ...props }: React$1.ComponentProps<typeof Toggle$1.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
759
829
 
760
- declare function ToggleGroup({ className, variant, size, spacing, children, ...props }: React$1.ComponentProps<typeof ToggleGroup$1.Root> & VariantProps<typeof toggleVariants> & {
830
+ declare function ToggleGroup({ className, size, spacing, children, ...props }: React$1.ComponentProps<typeof ToggleGroup$1.Root> & VariantProps<typeof toggleVariants> & {
761
831
  spacing?: number;
762
832
  }): react_jsx_runtime.JSX.Element;
763
- declare function ToggleGroupItem({ className, children, variant, size, ...props }: React$1.ComponentProps<typeof ToggleGroup$1.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
833
+ declare function ToggleGroupItem({ className, children, size, ...props }: React$1.ComponentProps<typeof ToggleGroup$1.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
764
834
 
765
835
  type ResultBlockStatus = "win" | "loss";
766
836
  type ResultBlockCta = "next-round" | "go-again" | "conversion";
@@ -1017,4 +1087,4 @@ declare function cn(...inputs: ClassValue[]): string;
1017
1087
 
1018
1088
  declare function useIsMobile(): boolean;
1019
1089
 
1020
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertLayout, type AlertProps, type AlertVariant, AspectRatio, AuthBlock, type AuthBlockMode, type AuthBlockProps, type AuthBlockProvider, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, Banner, type BannerProps, BottomNavigation, BottomNavigationAI, BottomNavigationItem, type BoxOPosition, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, Chip, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, type DigitsPosition, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, FAQBlock, type FAQBlockProps, type FAQItem, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, GameLoadingBlock, type GameLoadingBlockProps, HeaderNavigationBlock, type HeaderNavigationBlockProps, HeroBlock, type HeroBlockCta, type HeroBlockProps, type HeroBlockTagline, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Label, Link, type LoaderCheckpoint, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NativeSelect, NativeSelectOptGroup, NativeSelectOption, NavBarBlock, type NavBarBlockLink, type NavBarBlockProps, NavigationButton, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Numpad, type NumpadKey, type NumpadProps, OpenPositionsBlock, type OpenPositionsBlockProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, type Position, ProfilePhoto, type ProfilePhotoProps, Progress, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ResultBlock, type ResultBlockCta, type ResultBlockProps, type ResultBlockStatus, ResultDialog, type ResultDialogProps, type RiseFallPosition, ScrollArea, ScrollBar, SectionMessage, type SectionMessageLayout, type SectionMessageProps, type SectionMessageSize, type SectionMessageVariant, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, type SmoothProgressInput, type SmoothProgressState, Spinner, Stepper, type StepperProps, type StepperSize, type SwipePosition, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type TooltipVariant, alertVariants, badgeVariants, buttonVariants, chipVariants, cn, inputVariants, linkVariants, navigationButtonVariants, navigationMenuTriggerStyle, sectionMessageVariants, tabsListVariants, toggleVariants, useFieldSize, useIsMobile, useSidebar, useSmoothProgress };
1090
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertLayout, type AlertProps, type AlertVariant, AspectRatio, AuthBlock, type AuthBlockMode, type AuthBlockProps, type AuthBlockProvider, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, Banner, type BannerProps, BottomNavigation, BottomNavigationAI, BottomNavigationItem, type BoxOPosition, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, Chip, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, type DigitsPosition, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, FAQBlock, type FAQBlockProps, type FAQItem, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, GameLoadingBlock, type GameLoadingBlockProps, HeaderNavigationBlock, type HeaderNavigationBlockProps, HeroBlock, type HeroBlockCta, type HeroBlockProps, type HeroBlockTagline, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Label, Link, type LoaderCheckpoint, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NativeSelect, NativeSelectOptGroup, NativeSelectOption, NavBarBlock, type NavBarBlockLink, type NavBarBlockProps, NavigationButton, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Numpad, type NumpadKey, type NumpadProps, OpenPositionsBlock, type OpenPositionsBlockProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, type Position, ProfilePhoto, type ProfilePhotoProps, Progress, type ProgressBarSize, type ProgressProps, type ProgressRingSize, type ProgressVariant, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ResultBlock, type ResultBlockCta, type ResultBlockProps, type ResultBlockStatus, ResultDialog, type ResultDialogProps, type RiseFallPosition, ScrollArea, ScrollBar, SectionMessage, type SectionMessageLayout, type SectionMessageProps, type SectionMessageSize, type SectionMessageVariant, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, SlideToConfirm, type SlideToConfirmProps, Slider, type SmoothProgressInput, type SmoothProgressState, Spinner, Step, type StepProps, type StepState, Stepper, type StepperProps, Steps, type StepsOrientation, type StepsShape, type StepsSize, type SwipePosition, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type TooltipVariant, alertVariants, badgeVariants, buttonVariants, chipVariants, cn, inputVariants, linkVariants, navigationButtonVariants, navigationMenuTriggerStyle, sectionMessageVariants, tabsListVariants, toggleVariants, useFieldSize, useIsMobile, useSidebar, useSmoothProgress };
package/dist/index.d.ts CHANGED
@@ -199,13 +199,16 @@ declare function CalendarDayButton({ className, day, modifiers, ...props }: Reac
199
199
  * Card shell — the design file's shared surface language: card surface,
200
200
  * hairline border, 18px (2xl) radius, flat (no shadow, per system rule).
201
201
  *
202
- * `variant="frosted-on-brand"` is the frosted shell for sitting over
203
- * hero/game art: white 72% + blur + soft white hairline, identical in both
204
- * themes. (`glass` is its @deprecated alias — deleted at v1.0.)
205
- * `interactive` opts into the design file's desktop-only hover lift.
202
+ * The tinted-glass family, one look per surface (same split as Button):
203
+ * `variant="frosted"` sits on page surfaces — solid brand-selected tint +
204
+ * brand ink, no blur (there's no art underneath to frost). `frosted-on-brand`
205
+ * is the actual frosted shell for sitting over hero/game art: white 72% +
206
+ * blur + soft white hairline, identical in both themes. (`glass` is its
207
+ * @deprecated alias — deleted at v1.0.) `interactive` opts into the design
208
+ * file's desktop-only hover lift.
206
209
  */
207
210
  declare function Card({ className, variant, interactive, ...props }: React$1.ComponentProps<"div"> & {
208
- variant?: "default" | "frosted-on-brand" | "glass";
211
+ variant?: "default" | "frosted" | "frosted-on-brand" | "glass";
209
212
  interactive?: boolean;
210
213
  }): react_jsx_runtime.JSX.Element;
211
214
  declare function CardHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
@@ -537,7 +540,35 @@ declare function PopoverHeader({ className, ...props }: React$1.ComponentProps<"
537
540
  declare function PopoverTitle({ className, ...props }: React$1.ComponentProps<"h2">): react_jsx_runtime.JSX.Element;
538
541
  declare function PopoverDescription({ className, ...props }: React$1.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
539
542
 
540
- declare function Progress({ className, value, ...props }: React$1.ComponentProps<typeof Progress$1.Root>): react_jsx_runtime.JSX.Element;
543
+ type ProgressVariant = "bar" | "dots" | "ring";
544
+ type ProgressBarSize = "sm" | "md" | "lg";
545
+ type ProgressRingSize = "sm" | "md" | "lg" | "xl";
546
+ interface ProgressProps extends Omit<React$1.ComponentProps<typeof Progress$1.Root>, "children"> {
547
+ variant?: ProgressVariant;
548
+ /** bar/dots: sm | md | lg · ring: sm | md | lg | xl */
549
+ size?: ProgressBarSize | ProgressRingSize;
550
+ /** bar only — the setup-meter row above the track. */
551
+ label?: React$1.ReactNode;
552
+ /** bar only — right side of the meter row (e.g. "2 of 5"). */
553
+ valueLabel?: React$1.ReactNode;
554
+ /** dots only — number of segments. */
555
+ segments?: number;
556
+ /**
557
+ * Self-running timer in ms — drives the value smoothly instead of `value`
558
+ * (countdown drains, countup fills). Remount (change `key`) to restart.
559
+ */
560
+ timer?: number;
561
+ /** Timer direction: `down` drains 100 → 0, `up` fills 0 → 100. */
562
+ direction?: "down" | "up";
563
+ /** Fires once when the timer finishes. */
564
+ onTimerEnd?: () => void;
565
+ /**
566
+ * ring only — centred content (e.g. the countdown number). Pass a function
567
+ * to render from the live value: `(pct) => Math.ceil((pct / 100) * 5)`.
568
+ */
569
+ children?: React$1.ReactNode | ((pct: number) => React$1.ReactNode);
570
+ }
571
+ declare function Progress({ className, value, variant, size, label, valueLabel, segments, timer, direction, onTimerEnd, children, ...props }: ProgressProps): react_jsx_runtime.JSX.Element;
541
572
 
542
573
  interface ProfilePhotoProps extends Omit<React$1.ComponentProps<"div">, "children"> {
543
574
  /** Photo URL. Omit to show the placeholder glyph. */
@@ -705,15 +736,28 @@ declare function Slider({ className, defaultValue, value, min, max, ...props }:
705
736
 
706
737
  declare const Toaster: ({ ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
707
738
 
708
- type StepperSize = "sm" | "md" | "lg";
739
+ interface SlideToConfirmProps extends Omit<React$1.ComponentProps<"div">, "onDragStart"> {
740
+ /** Fires once when the handle crosses the threshold (or on Enter/Space). */
741
+ onConfirm?: () => void;
742
+ /** Track label. */
743
+ label?: React$1.ReactNode;
744
+ /** Label shown in the confirmed state. */
745
+ confirmedLabel?: React$1.ReactNode;
746
+ disabled?: boolean;
747
+ /** Controlled confirmed state — pass `false` to reset the control. */
748
+ confirmed?: boolean;
749
+ }
750
+ declare function SlideToConfirm({ onConfirm, label, confirmedLabel, disabled, confirmed: controlledConfirmed, className, ...props }: SlideToConfirmProps): react_jsx_runtime.JSX.Element;
751
+
709
752
  interface StepperProps {
753
+ /** Uppercase label above the amount, e.g. "Stake (USDT)". */
754
+ label?: React$1.ReactNode;
710
755
  value?: number;
711
756
  defaultValue?: number;
712
757
  onValueChange?: (value: number) => void;
713
758
  min?: number;
714
759
  max?: number;
715
760
  step?: number;
716
- size?: StepperSize;
717
761
  disabled?: boolean;
718
762
  placeholder?: string;
719
763
  className?: string;
@@ -721,7 +765,34 @@ interface StepperProps {
721
765
  name?: string;
722
766
  "aria-label"?: string;
723
767
  }
724
- declare function Stepper({ value: controlledValue, defaultValue, onValueChange, min, max, step, size, disabled, placeholder, className, id, name, "aria-label": ariaLabel, }: StepperProps): react_jsx_runtime.JSX.Element;
768
+ declare function Stepper({ label, value: controlledValue, defaultValue, onValueChange, min, max, step, disabled, placeholder, className, id, name, "aria-label": ariaLabel, }: StepperProps): react_jsx_runtime.JSX.Element;
769
+
770
+ type StepsShape = "circle" | "square";
771
+ type StepsOrientation = "horizontal" | "vertical";
772
+ type StepsSize = "sm" | "md";
773
+ type StepState = "done" | "active" | "upcoming";
774
+ declare function Steps({ shape, orientation, size, className, children, ...props }: React$1.ComponentProps<"ol"> & {
775
+ shape?: StepsShape;
776
+ orientation?: StepsOrientation;
777
+ size?: StepsSize;
778
+ }): react_jsx_runtime.JSX.Element;
779
+ interface StepProps extends Omit<React$1.ComponentProps<"li">, "title"> {
780
+ /** done = success fill + check · active = brand fill · upcoming = muted surface */
781
+ state?: StepState;
782
+ /** Replaces the automatic step number inside the indicator. */
783
+ icon?: React$1.ReactNode;
784
+ title?: React$1.ReactNode;
785
+ description?: React$1.ReactNode;
786
+ /** Small uppercase marker beside the title (e.g. "Start here"). */
787
+ tag?: React$1.ReactNode;
788
+ /** Injected by Steps — do not pass. */
789
+ index?: number;
790
+ /** Injected by Steps — do not pass. */
791
+ isFirst?: boolean;
792
+ /** Injected by Steps — do not pass. */
793
+ isLast?: boolean;
794
+ }
795
+ declare function Step({ state, icon, title, description, tag, index, isFirst, isLast, className, ...props }: StepProps): react_jsx_runtime.JSX.Element;
725
796
 
726
797
  declare function Spinner({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
727
798
 
@@ -752,15 +823,14 @@ declare function TabsContent({ className, ...props }: React$1.ComponentProps<typ
752
823
  declare function Textarea({ className, ...props }: React$1.ComponentProps<"textarea">): react_jsx_runtime.JSX.Element;
753
824
 
754
825
  declare const toggleVariants: (props?: ({
755
- variant?: "default" | "outline" | null | undefined;
756
826
  size?: "lg" | "sm" | "default" | null | undefined;
757
827
  } & class_variance_authority_types.ClassProp) | undefined) => string;
758
- declare function Toggle({ className, variant, size, ...props }: React$1.ComponentProps<typeof Toggle$1.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
828
+ declare function Toggle({ className, size, ...props }: React$1.ComponentProps<typeof Toggle$1.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
759
829
 
760
- declare function ToggleGroup({ className, variant, size, spacing, children, ...props }: React$1.ComponentProps<typeof ToggleGroup$1.Root> & VariantProps<typeof toggleVariants> & {
830
+ declare function ToggleGroup({ className, size, spacing, children, ...props }: React$1.ComponentProps<typeof ToggleGroup$1.Root> & VariantProps<typeof toggleVariants> & {
761
831
  spacing?: number;
762
832
  }): react_jsx_runtime.JSX.Element;
763
- declare function ToggleGroupItem({ className, children, variant, size, ...props }: React$1.ComponentProps<typeof ToggleGroup$1.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
833
+ declare function ToggleGroupItem({ className, children, size, ...props }: React$1.ComponentProps<typeof ToggleGroup$1.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
764
834
 
765
835
  type ResultBlockStatus = "win" | "loss";
766
836
  type ResultBlockCta = "next-round" | "go-again" | "conversion";
@@ -1017,4 +1087,4 @@ declare function cn(...inputs: ClassValue[]): string;
1017
1087
 
1018
1088
  declare function useIsMobile(): boolean;
1019
1089
 
1020
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertLayout, type AlertProps, type AlertVariant, AspectRatio, AuthBlock, type AuthBlockMode, type AuthBlockProps, type AuthBlockProvider, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, Banner, type BannerProps, BottomNavigation, BottomNavigationAI, BottomNavigationItem, type BoxOPosition, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, Chip, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, type DigitsPosition, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, FAQBlock, type FAQBlockProps, type FAQItem, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, GameLoadingBlock, type GameLoadingBlockProps, HeaderNavigationBlock, type HeaderNavigationBlockProps, HeroBlock, type HeroBlockCta, type HeroBlockProps, type HeroBlockTagline, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Label, Link, type LoaderCheckpoint, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NativeSelect, NativeSelectOptGroup, NativeSelectOption, NavBarBlock, type NavBarBlockLink, type NavBarBlockProps, NavigationButton, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Numpad, type NumpadKey, type NumpadProps, OpenPositionsBlock, type OpenPositionsBlockProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, type Position, ProfilePhoto, type ProfilePhotoProps, Progress, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ResultBlock, type ResultBlockCta, type ResultBlockProps, type ResultBlockStatus, ResultDialog, type ResultDialogProps, type RiseFallPosition, ScrollArea, ScrollBar, SectionMessage, type SectionMessageLayout, type SectionMessageProps, type SectionMessageSize, type SectionMessageVariant, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, type SmoothProgressInput, type SmoothProgressState, Spinner, Stepper, type StepperProps, type StepperSize, type SwipePosition, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type TooltipVariant, alertVariants, badgeVariants, buttonVariants, chipVariants, cn, inputVariants, linkVariants, navigationButtonVariants, navigationMenuTriggerStyle, sectionMessageVariants, tabsListVariants, toggleVariants, useFieldSize, useIsMobile, useSidebar, useSmoothProgress };
1090
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertLayout, type AlertProps, type AlertVariant, AspectRatio, AuthBlock, type AuthBlockMode, type AuthBlockProps, type AuthBlockProvider, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, Banner, type BannerProps, BottomNavigation, BottomNavigationAI, BottomNavigationItem, type BoxOPosition, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, Chip, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, type DigitsPosition, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, FAQBlock, type FAQBlockProps, type FAQItem, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, GameLoadingBlock, type GameLoadingBlockProps, HeaderNavigationBlock, type HeaderNavigationBlockProps, HeroBlock, type HeroBlockCta, type HeroBlockProps, type HeroBlockTagline, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Label, Link, type LoaderCheckpoint, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NativeSelect, NativeSelectOptGroup, NativeSelectOption, NavBarBlock, type NavBarBlockLink, type NavBarBlockProps, NavigationButton, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Numpad, type NumpadKey, type NumpadProps, OpenPositionsBlock, type OpenPositionsBlockProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, type Position, ProfilePhoto, type ProfilePhotoProps, Progress, type ProgressBarSize, type ProgressProps, type ProgressRingSize, type ProgressVariant, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ResultBlock, type ResultBlockCta, type ResultBlockProps, type ResultBlockStatus, ResultDialog, type ResultDialogProps, type RiseFallPosition, ScrollArea, ScrollBar, SectionMessage, type SectionMessageLayout, type SectionMessageProps, type SectionMessageSize, type SectionMessageVariant, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, SlideToConfirm, type SlideToConfirmProps, Slider, type SmoothProgressInput, type SmoothProgressState, Spinner, Step, type StepProps, type StepState, Stepper, type StepperProps, Steps, type StepsOrientation, type StepsShape, type StepsSize, type SwipePosition, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type TooltipVariant, alertVariants, badgeVariants, buttonVariants, chipVariants, cn, inputVariants, linkVariants, navigationButtonVariants, navigationMenuTriggerStyle, sectionMessageVariants, tabsListVariants, toggleVariants, useFieldSize, useIsMobile, useSidebar, useSmoothProgress };