@cupcodev/ui 1.2.1 → 1.2.3

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
@@ -44,6 +44,7 @@ import * as ToastPrimitives from '@radix-ui/react-toast';
44
44
  import * as TogglePrimitive from '@radix-ui/react-toggle';
45
45
  import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
46
46
  import { ClassValue } from 'clsx';
47
+ import { SupabaseClient } from '@supabase/supabase-js';
47
48
  import 'recharts/types/util/payload/getUniqPayload';
48
49
  import 'recharts/types/component/Tooltip';
49
50
  import 'recharts/types/util/types';
@@ -287,7 +288,7 @@ interface NavbarCupcodeProps {
287
288
  declare const NavbarCupcode: React$1.FC<NavbarCupcodeProps>;
288
289
 
289
290
  type UserMenuTabId = "profile" | "notifications" | "chat" | "settings" | "logout";
290
- type UserPresenceStatus = "online" | "away" | "busy" | "lunch" | "call" | "coding" | "designing" | "offline";
291
+ type UserPresenceStatus$1 = "online" | "away" | "busy" | "lunch" | "call" | "coding" | "designing" | "offline";
291
292
  type UserMenuNotificationKind = "system" | "comment" | "access" | "billing" | "chat" | "security";
292
293
  type UserMenuNotification = {
293
294
  id: string;
@@ -309,7 +310,7 @@ type UserMenuChatUser = {
309
310
  email?: string;
310
311
  avatarUrl?: string;
311
312
  roleLabel?: string;
312
- status: UserPresenceStatus;
313
+ status: UserPresenceStatus$1;
313
314
  isGroup?: boolean;
314
315
  memberIds?: string[];
315
316
  };
@@ -366,8 +367,8 @@ type UserMenuCupcodeProps = {
366
367
  email?: string;
367
368
  avatarUrl?: string;
368
369
  roleLabel?: string;
369
- status?: UserPresenceStatus;
370
- defaultStatus?: UserPresenceStatus;
370
+ status?: UserPresenceStatus$1;
371
+ defaultStatus?: UserPresenceStatus$1;
371
372
  notifications?: UserMenuNotification[];
372
373
  chatUsers?: UserMenuChatUser[];
373
374
  chatMessages?: UserMenuChatMessage[];
@@ -416,7 +417,7 @@ type UserMenuCupcodeProps = {
416
417
  email?: string;
417
418
  name?: string;
418
419
  }) => void;
419
- onStatusChange?: (status: UserPresenceStatus) => void | Promise<void>;
420
+ onStatusChange?: (status: UserPresenceStatus$1) => void | Promise<void>;
420
421
  onLogin?: () => void;
421
422
  onLogout?: () => void | Promise<void>;
422
423
  onOpenAccount?: () => void;
@@ -456,8 +457,8 @@ type MainNavbarProps = {
456
457
  onNavigate?: (href: string) => void;
457
458
  authStatus?: MainNavbarAuthStatus;
458
459
  authUser?: MainNavbarAuthUser | null;
459
- presenceStatus?: UserPresenceStatus;
460
- onPresenceStatusChange?: (status: UserPresenceStatus) => void | Promise<void>;
460
+ presenceStatus?: UserPresenceStatus$1;
461
+ onPresenceStatusChange?: (status: UserPresenceStatus$1) => void | Promise<void>;
461
462
  onLogoutClick?: () => void | Promise<void>;
462
463
  onOpenAccountClick?: () => void;
463
464
  getAccessToken?: () => Promise<string>;
@@ -687,6 +688,16 @@ type TelescupClientConfig = {
687
688
  baseUrl: string;
688
689
  getAccessToken: () => Promise<string>;
689
690
  };
691
+ declare class TelescupClientError extends Error {
692
+ status?: number;
693
+ code?: string;
694
+ details?: unknown;
695
+ constructor(message: string, opts?: {
696
+ status?: number;
697
+ code?: string;
698
+ details?: unknown;
699
+ });
700
+ }
690
701
  declare const createTelescupClient: (config: TelescupClientConfig) => {
691
702
  listAssets: (filters: TelescupFilters) => Promise<TelescupAssetsListResponse>;
692
703
  initUpload: (payload: TelescupUploadInitRequest) => Promise<TelescupUploadInitResponse>;
@@ -1534,6 +1545,30 @@ type ToasterToast = ToastProps & {
1534
1545
  description?: React$1.ReactNode;
1535
1546
  action?: ToastActionElement;
1536
1547
  };
1548
+ declare const actionTypes: {
1549
+ readonly ADD_TOAST: "ADD_TOAST";
1550
+ readonly UPDATE_TOAST: "UPDATE_TOAST";
1551
+ readonly DISMISS_TOAST: "DISMISS_TOAST";
1552
+ readonly REMOVE_TOAST: "REMOVE_TOAST";
1553
+ };
1554
+ type ActionType = typeof actionTypes;
1555
+ type Action = {
1556
+ type: ActionType["ADD_TOAST"];
1557
+ toast: ToasterToast;
1558
+ } | {
1559
+ type: ActionType["UPDATE_TOAST"];
1560
+ toast: Partial<ToasterToast>;
1561
+ } | {
1562
+ type: ActionType["DISMISS_TOAST"];
1563
+ toastId?: ToasterToast["id"];
1564
+ } | {
1565
+ type: ActionType["REMOVE_TOAST"];
1566
+ toastId?: ToasterToast["id"];
1567
+ };
1568
+ interface State {
1569
+ toasts: ToasterToast[];
1570
+ }
1571
+ declare const reducer: (state: State, action: Action) => State;
1537
1572
  type Toast = Omit<ToasterToast, "id">;
1538
1573
  declare function toast({ ...props }: Toast): {
1539
1574
  id: string;
@@ -1548,6 +1583,8 @@ declare function useToast(): {
1548
1583
 
1549
1584
  declare function useIsMobile(): boolean;
1550
1585
 
1586
+ declare const useActiveSection: (sectionIds: string[], offset?: number) => string;
1587
+
1551
1588
  interface TelescupImageOptions {
1552
1589
  id: string;
1553
1590
  width?: number;
@@ -1579,4 +1616,84 @@ declare function parseAssetId(input?: string): string | undefined;
1579
1616
 
1580
1617
  declare const getMainNavItems: () => NavItem[];
1581
1618
 
1582
- export { Accordion, AccordionContent, AccordionCupcode, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, AvatarWithStatus, BackgroundRainbow, BackgroundStars, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, ButtonProps, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardGlass, CardHeader, CardTitle, Checkbox, ChipTag, type ChipTagProps, type ChipVariant, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, AccordionContent$1 as CupcodeAccordionContent, AccordionItem$1 as CupcodeAccordionItem, AccordionTrigger$1 as CupcodeAccordionTrigger, Avatar$1 as CupcodeAvatar, AvatarFallback$1 as CupcodeAvatarFallback, AvatarImage$1 as CupcodeAvatarImage, type StatusType as CupcodeAvatarStatus, Badge$1 as CupcodeBadge, Select$1 as CupcodeSelect, SelectContent$1 as CupcodeSelectContent, SelectGroup$1 as CupcodeSelectGroup, SelectItem$1 as CupcodeSelectItem, SelectTrigger$1 as CupcodeSelectTrigger, SelectValue$1 as CupcodeSelectValue, Skeleton$1 as CupcodeSkeleton, type SkeletonProps as CupcodeSkeletonProps, SkeletonText as CupcodeSkeletonText, Switch$1 as CupcodeSwitch, Tabs$1 as CupcodeTabs, TabsContent$1 as CupcodeTabsContent, TabsList$1 as CupcodeTabsList, TabsTrigger$1 as CupcodeTabsTrigger, TooltipContent$1 as CupcodeTooltipContent, TooltipProvider$1 as CupcodeTooltipProvider, TooltipTrigger$1 as CupcodeTooltipTrigger, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Dock, type DockButton, type DockCard, type DockCategory, type DockItem, type DockProps, DockWrapper, 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, EmptyState, type EnqueueResult, ErrorBoundary, Eyebrow, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HeroTitle, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputField, type InputFieldProps, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, JellyButton, JellyButtonOriginal, type JellyButtonOriginalProps, Label, LoadingScreen, LoadingSpinner, type LoadingSpinnerProps, MainNavbar, type MainNavbarAuthUser, type MainNavbarProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Modal, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalTitle, ModalTrigger, type NavItem, NavbarCupcode, type NavbarCupcodeProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, ParticleSystem, Popover, PopoverContent, PopoverTrigger, PricingCard, Progress, ProgressCupcode, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, type ResponsiveSize, ScrollArea, ScrollBar, ScrollbarArea, type ScrollbarAreaProps, type ScrollbarColor, type ScrollbarThemeMode, ScrollbarThemeProvider, type ScrollbarThemeProviderProps, Select, SelectContent, SelectField, type SelectFieldProps, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, 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, Toaster$1 as SonnerToaster, type StatusType, Switch, SwitchField, type SwitchFieldProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TagGroup, type TagGroupProps, type TelescupAsset, TelescupAssetPicker, type TelescupAssetPickerProps, type TelescupFilters, TelescupImage, type TelescupLanguage, type TelescupMeta$1 as TelescupMeta, TelescupUpload, type TelescupUploadLabels, type TelescupUploadProps, TelescupUploader, type TelescupUploaderProps, TelescupVideo, Textarea, TextareaField, type TextareaFieldProps, type TextareaProps, ThemeToggle, Timeline, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastCupcode, type ToastCupcodeProps, ToastDescription, type ToastProps, ToastProvider, ToastTitle, type ToastVariant, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipCupcode, TooltipProvider, TooltipTrigger, type UploadConflictPolicy, type UploadPolicy, type UploadQueueItem, type UploadQueueStatus, type UseTelescupAssetsOptions, type UseTelescupUploadQueueOptions, type UserMenuChatMessage, type UserMenuChatMessageLog, type UserMenuChatOpenRequest, type UserMenuChatReaction, type UserMenuChatUser, UserMenuCupcode, type UserMenuCupcodeProps, type UserMenuLanguage, type UserMenuNotification, type UserMenuNotificationKind, type UserMenuRecentActivity, type UserMenuTabId, type UserPresenceStatus, badgeVariants, buildTelescupImageURL, buildTelescupVideoURL, cn, getMainNavItems, navigationMenuTriggerStyle, parseAssetId, responsiveSizeClasses, toast, toggleVariants, useBreakpoint, useFormField, useIsMobile, useSidebar, useTelescupAssets, useTelescupImage, useTelescupMeta, useTelescupUploadQueue, useToast };
1619
+ type AccountsAuthConfig = {
1620
+ baseUrl: string;
1621
+ clientId: string;
1622
+ redirectUri: string;
1623
+ scope: string;
1624
+ audience?: string;
1625
+ authUrl?: string;
1626
+ tokenUrl?: string;
1627
+ logoutUrl?: string;
1628
+ logoutRedirectUri?: string;
1629
+ };
1630
+ declare const getAccountsConfig: () => AccountsAuthConfig;
1631
+ declare const resolveOidcEndpoints: (config: AccountsAuthConfig) => Promise<{
1632
+ authUrl: string | undefined;
1633
+ tokenUrl: string | undefined;
1634
+ logoutUrl: string | undefined;
1635
+ }>;
1636
+ declare const generateCodeVerifier: () => string;
1637
+ declare const generateCodeChallenge: (verifier: string) => Promise<string>;
1638
+ declare const generateState: () => string;
1639
+ declare const generateNonce: () => string;
1640
+ declare const buildAuthorizeUrl: (config: AccountsAuthConfig, authUrl: string, state: string, challenge: string, nonce: string, options?: {
1641
+ prompt?: string;
1642
+ maxAge?: number;
1643
+ loginHint?: string;
1644
+ }) => string;
1645
+ type TokenResponse = {
1646
+ access_token: string;
1647
+ id_token?: string;
1648
+ refresh_token?: string;
1649
+ token_type?: string;
1650
+ expires_in?: number;
1651
+ };
1652
+ declare const exchangeCodeForToken: (config: AccountsAuthConfig, tokenUrl: string, code: string, verifier: string) => Promise<TokenResponse>;
1653
+ declare const buildLogoutUrl: (config: AccountsAuthConfig, logoutUrl?: string, idTokenHint?: string) => string | undefined;
1654
+ declare const decodeJwt: (token?: string) => Record<string, unknown> | null;
1655
+
1656
+ type UserPresenceStatus = "online" | "away" | "busy" | "lunch" | "call" | "coding" | "designing" | "offline";
1657
+ type AuthUser = {
1658
+ sub?: string;
1659
+ name?: string;
1660
+ email?: string;
1661
+ picture?: string;
1662
+ preferredUsername?: string;
1663
+ nickname?: string;
1664
+ role?: string;
1665
+ jobTitle?: string;
1666
+ };
1667
+ type AuthStatus = "loading" | "authenticated" | "unauthenticated";
1668
+ type AuthContextValue = {
1669
+ status: AuthStatus;
1670
+ user: AuthUser | null;
1671
+ accessToken: string | null;
1672
+ login: (redirectTo?: string) => Promise<void>;
1673
+ logout: () => Promise<void>;
1674
+ completeLogin: () => Promise<{
1675
+ ok: boolean;
1676
+ redirectTo?: string;
1677
+ error?: string;
1678
+ }>;
1679
+ getAccessToken: () => Promise<string>;
1680
+ presenceStatus: UserPresenceStatus;
1681
+ setPresenceStatus: (status: UserPresenceStatus) => Promise<void>;
1682
+ };
1683
+ declare const AuthProvider: React__default.FC<{
1684
+ children: React__default.ReactNode;
1685
+ }>;
1686
+ declare const useAuth: () => AuthContextValue;
1687
+
1688
+ type GenericSupabaseClient = SupabaseClient;
1689
+ declare function getSupabase(): GenericSupabaseClient | null;
1690
+ declare function getSupabasePublic(): GenericSupabaseClient | null;
1691
+
1692
+ type CupcodeRuntimeEnvValue = string | number | boolean | null | undefined;
1693
+ type CupcodeRuntimeEnv = Record<string, CupcodeRuntimeEnvValue>;
1694
+ declare const setCupcodeRuntimeEnv: (values: CupcodeRuntimeEnv) => void;
1695
+ declare const getRuntimeEnv: (key: string) => string | undefined;
1696
+ declare const getRuntimeEnvOr: (key: string, fallback: string) => string;
1697
+ declare const isRuntimeDev: () => boolean;
1698
+
1699
+ export { Accordion, AccordionContent, AccordionCupcode, AccordionItem, AccordionTrigger, type AccountsAuthConfig, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, type AuthContextValue, AuthProvider, type AuthStatus, type AuthUser, type UserPresenceStatus as AuthUserPresenceStatus, Avatar, AvatarFallback, AvatarImage, AvatarWithStatus, BackgroundRainbow, BackgroundStars, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, ButtonProps, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardGlass, CardHeader, CardTitle, Checkbox, ChipTag, type ChipTagProps, type ChipVariant, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, AccordionContent$1 as CupcodeAccordionContent, AccordionItem$1 as CupcodeAccordionItem, AccordionTrigger$1 as CupcodeAccordionTrigger, Avatar$1 as CupcodeAvatar, AvatarFallback$1 as CupcodeAvatarFallback, AvatarImage$1 as CupcodeAvatarImage, type StatusType as CupcodeAvatarStatus, Badge$1 as CupcodeBadge, type CupcodeRuntimeEnv, type CupcodeRuntimeEnvValue, Select$1 as CupcodeSelect, SelectContent$1 as CupcodeSelectContent, SelectGroup$1 as CupcodeSelectGroup, SelectItem$1 as CupcodeSelectItem, SelectTrigger$1 as CupcodeSelectTrigger, SelectValue$1 as CupcodeSelectValue, Skeleton$1 as CupcodeSkeleton, type SkeletonProps as CupcodeSkeletonProps, SkeletonText as CupcodeSkeletonText, Switch$1 as CupcodeSwitch, Tabs$1 as CupcodeTabs, TabsContent$1 as CupcodeTabsContent, TabsList$1 as CupcodeTabsList, TabsTrigger$1 as CupcodeTabsTrigger, TooltipContent$1 as CupcodeTooltipContent, TooltipProvider$1 as CupcodeTooltipProvider, TooltipTrigger$1 as CupcodeTooltipTrigger, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Dock, type DockButton, type DockCard, type DockCategory, type DockItem, type DockProps, DockWrapper, 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, EmptyState, type EnqueueResult, ErrorBoundary, Eyebrow, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HeroTitle, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputField, type InputFieldProps, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, JellyButton, JellyButtonOriginal, type JellyButtonOriginalProps, Label, LoadingScreen, LoadingSpinner, type LoadingSpinnerProps, MainNavbar, type MainNavbarAuthUser, type MainNavbarProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Modal, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalTitle, ModalTrigger, type NavItem, NavbarCupcode, type NavbarCupcodeProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, ParticleSystem, Popover, PopoverContent, PopoverTrigger, PricingCard, Progress, ProgressCupcode, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, type ResponsiveSize, ScrollArea, ScrollBar, ScrollbarArea, type ScrollbarAreaProps, type ScrollbarColor, type ScrollbarThemeMode, ScrollbarThemeProvider, type ScrollbarThemeProviderProps, Select, SelectContent, SelectField, type SelectFieldProps, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, 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, Toaster$1 as SonnerToaster, type StatusType, Switch, SwitchField, type SwitchFieldProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TagGroup, type TagGroupProps, type TelescupAsset, TelescupAssetPicker, type TelescupAssetPickerProps, type TelescupClient, type TelescupClientConfig, TelescupClientError, type TelescupFilters, TelescupImage, type TelescupLanguage, type TelescupMeta$1 as TelescupMeta, TelescupUpload, type TelescupUploadLabels, type TelescupUploadProps, TelescupUploader, type TelescupUploaderProps, TelescupVideo, Textarea, TextareaField, type TextareaFieldProps, type TextareaProps, ThemeToggle, Timeline, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastCupcode, type ToastCupcodeProps, ToastDescription, type ToastProps, ToastProvider, ToastTitle, type ToastVariant, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, type TokenResponse, Tooltip, TooltipContent, TooltipCupcode, TooltipProvider, TooltipTrigger, type UploadConflictPolicy, type UploadPolicy, type UploadQueueItem, type UploadQueueStatus, type UseTelescupAssetsOptions, type UseTelescupUploadQueueOptions, type UserMenuChatMessage, type UserMenuChatMessageLog, type UserMenuChatOpenRequest, type UserMenuChatReaction, type UserMenuChatUser, UserMenuCupcode, type UserMenuCupcodeProps, type UserMenuLanguage, type UserMenuNotification, type UserMenuNotificationKind, type UserMenuRecentActivity, type UserMenuTabId, type UserPresenceStatus$1 as UserPresenceStatus, badgeVariants, buildAuthorizeUrl, buildLogoutUrl, buildTelescupImageURL, buildTelescupVideoURL, cn, createTelescupClient, decodeJwt, exchangeCodeForToken, generateCodeChallenge, generateCodeVerifier, generateNonce, generateState, getAccountsConfig, getMainNavItems, getRuntimeEnv, getRuntimeEnvOr, getSupabase, getSupabasePublic, isRuntimeDev, navigationMenuTriggerStyle, parseAssetId, reducer, resolveOidcEndpoints, responsiveSizeClasses, setCupcodeRuntimeEnv, toast, toggleVariants, useActiveSection, useAuth, useBreakpoint, useFormField, useIsMobile, useSidebar, useTelescupAssets, useTelescupImage, useTelescupMeta, useTelescupUploadQueue, useToast };
package/dist/index.d.ts CHANGED
@@ -44,6 +44,7 @@ import * as ToastPrimitives from '@radix-ui/react-toast';
44
44
  import * as TogglePrimitive from '@radix-ui/react-toggle';
45
45
  import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
46
46
  import { ClassValue } from 'clsx';
47
+ import { SupabaseClient } from '@supabase/supabase-js';
47
48
  import 'recharts/types/util/payload/getUniqPayload';
48
49
  import 'recharts/types/component/Tooltip';
49
50
  import 'recharts/types/util/types';
@@ -287,7 +288,7 @@ interface NavbarCupcodeProps {
287
288
  declare const NavbarCupcode: React$1.FC<NavbarCupcodeProps>;
288
289
 
289
290
  type UserMenuTabId = "profile" | "notifications" | "chat" | "settings" | "logout";
290
- type UserPresenceStatus = "online" | "away" | "busy" | "lunch" | "call" | "coding" | "designing" | "offline";
291
+ type UserPresenceStatus$1 = "online" | "away" | "busy" | "lunch" | "call" | "coding" | "designing" | "offline";
291
292
  type UserMenuNotificationKind = "system" | "comment" | "access" | "billing" | "chat" | "security";
292
293
  type UserMenuNotification = {
293
294
  id: string;
@@ -309,7 +310,7 @@ type UserMenuChatUser = {
309
310
  email?: string;
310
311
  avatarUrl?: string;
311
312
  roleLabel?: string;
312
- status: UserPresenceStatus;
313
+ status: UserPresenceStatus$1;
313
314
  isGroup?: boolean;
314
315
  memberIds?: string[];
315
316
  };
@@ -366,8 +367,8 @@ type UserMenuCupcodeProps = {
366
367
  email?: string;
367
368
  avatarUrl?: string;
368
369
  roleLabel?: string;
369
- status?: UserPresenceStatus;
370
- defaultStatus?: UserPresenceStatus;
370
+ status?: UserPresenceStatus$1;
371
+ defaultStatus?: UserPresenceStatus$1;
371
372
  notifications?: UserMenuNotification[];
372
373
  chatUsers?: UserMenuChatUser[];
373
374
  chatMessages?: UserMenuChatMessage[];
@@ -416,7 +417,7 @@ type UserMenuCupcodeProps = {
416
417
  email?: string;
417
418
  name?: string;
418
419
  }) => void;
419
- onStatusChange?: (status: UserPresenceStatus) => void | Promise<void>;
420
+ onStatusChange?: (status: UserPresenceStatus$1) => void | Promise<void>;
420
421
  onLogin?: () => void;
421
422
  onLogout?: () => void | Promise<void>;
422
423
  onOpenAccount?: () => void;
@@ -456,8 +457,8 @@ type MainNavbarProps = {
456
457
  onNavigate?: (href: string) => void;
457
458
  authStatus?: MainNavbarAuthStatus;
458
459
  authUser?: MainNavbarAuthUser | null;
459
- presenceStatus?: UserPresenceStatus;
460
- onPresenceStatusChange?: (status: UserPresenceStatus) => void | Promise<void>;
460
+ presenceStatus?: UserPresenceStatus$1;
461
+ onPresenceStatusChange?: (status: UserPresenceStatus$1) => void | Promise<void>;
461
462
  onLogoutClick?: () => void | Promise<void>;
462
463
  onOpenAccountClick?: () => void;
463
464
  getAccessToken?: () => Promise<string>;
@@ -687,6 +688,16 @@ type TelescupClientConfig = {
687
688
  baseUrl: string;
688
689
  getAccessToken: () => Promise<string>;
689
690
  };
691
+ declare class TelescupClientError extends Error {
692
+ status?: number;
693
+ code?: string;
694
+ details?: unknown;
695
+ constructor(message: string, opts?: {
696
+ status?: number;
697
+ code?: string;
698
+ details?: unknown;
699
+ });
700
+ }
690
701
  declare const createTelescupClient: (config: TelescupClientConfig) => {
691
702
  listAssets: (filters: TelescupFilters) => Promise<TelescupAssetsListResponse>;
692
703
  initUpload: (payload: TelescupUploadInitRequest) => Promise<TelescupUploadInitResponse>;
@@ -1534,6 +1545,30 @@ type ToasterToast = ToastProps & {
1534
1545
  description?: React$1.ReactNode;
1535
1546
  action?: ToastActionElement;
1536
1547
  };
1548
+ declare const actionTypes: {
1549
+ readonly ADD_TOAST: "ADD_TOAST";
1550
+ readonly UPDATE_TOAST: "UPDATE_TOAST";
1551
+ readonly DISMISS_TOAST: "DISMISS_TOAST";
1552
+ readonly REMOVE_TOAST: "REMOVE_TOAST";
1553
+ };
1554
+ type ActionType = typeof actionTypes;
1555
+ type Action = {
1556
+ type: ActionType["ADD_TOAST"];
1557
+ toast: ToasterToast;
1558
+ } | {
1559
+ type: ActionType["UPDATE_TOAST"];
1560
+ toast: Partial<ToasterToast>;
1561
+ } | {
1562
+ type: ActionType["DISMISS_TOAST"];
1563
+ toastId?: ToasterToast["id"];
1564
+ } | {
1565
+ type: ActionType["REMOVE_TOAST"];
1566
+ toastId?: ToasterToast["id"];
1567
+ };
1568
+ interface State {
1569
+ toasts: ToasterToast[];
1570
+ }
1571
+ declare const reducer: (state: State, action: Action) => State;
1537
1572
  type Toast = Omit<ToasterToast, "id">;
1538
1573
  declare function toast({ ...props }: Toast): {
1539
1574
  id: string;
@@ -1548,6 +1583,8 @@ declare function useToast(): {
1548
1583
 
1549
1584
  declare function useIsMobile(): boolean;
1550
1585
 
1586
+ declare const useActiveSection: (sectionIds: string[], offset?: number) => string;
1587
+
1551
1588
  interface TelescupImageOptions {
1552
1589
  id: string;
1553
1590
  width?: number;
@@ -1579,4 +1616,84 @@ declare function parseAssetId(input?: string): string | undefined;
1579
1616
 
1580
1617
  declare const getMainNavItems: () => NavItem[];
1581
1618
 
1582
- export { Accordion, AccordionContent, AccordionCupcode, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, AvatarWithStatus, BackgroundRainbow, BackgroundStars, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, ButtonProps, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardGlass, CardHeader, CardTitle, Checkbox, ChipTag, type ChipTagProps, type ChipVariant, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, AccordionContent$1 as CupcodeAccordionContent, AccordionItem$1 as CupcodeAccordionItem, AccordionTrigger$1 as CupcodeAccordionTrigger, Avatar$1 as CupcodeAvatar, AvatarFallback$1 as CupcodeAvatarFallback, AvatarImage$1 as CupcodeAvatarImage, type StatusType as CupcodeAvatarStatus, Badge$1 as CupcodeBadge, Select$1 as CupcodeSelect, SelectContent$1 as CupcodeSelectContent, SelectGroup$1 as CupcodeSelectGroup, SelectItem$1 as CupcodeSelectItem, SelectTrigger$1 as CupcodeSelectTrigger, SelectValue$1 as CupcodeSelectValue, Skeleton$1 as CupcodeSkeleton, type SkeletonProps as CupcodeSkeletonProps, SkeletonText as CupcodeSkeletonText, Switch$1 as CupcodeSwitch, Tabs$1 as CupcodeTabs, TabsContent$1 as CupcodeTabsContent, TabsList$1 as CupcodeTabsList, TabsTrigger$1 as CupcodeTabsTrigger, TooltipContent$1 as CupcodeTooltipContent, TooltipProvider$1 as CupcodeTooltipProvider, TooltipTrigger$1 as CupcodeTooltipTrigger, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Dock, type DockButton, type DockCard, type DockCategory, type DockItem, type DockProps, DockWrapper, 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, EmptyState, type EnqueueResult, ErrorBoundary, Eyebrow, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HeroTitle, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputField, type InputFieldProps, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, JellyButton, JellyButtonOriginal, type JellyButtonOriginalProps, Label, LoadingScreen, LoadingSpinner, type LoadingSpinnerProps, MainNavbar, type MainNavbarAuthUser, type MainNavbarProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Modal, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalTitle, ModalTrigger, type NavItem, NavbarCupcode, type NavbarCupcodeProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, ParticleSystem, Popover, PopoverContent, PopoverTrigger, PricingCard, Progress, ProgressCupcode, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, type ResponsiveSize, ScrollArea, ScrollBar, ScrollbarArea, type ScrollbarAreaProps, type ScrollbarColor, type ScrollbarThemeMode, ScrollbarThemeProvider, type ScrollbarThemeProviderProps, Select, SelectContent, SelectField, type SelectFieldProps, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, 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, Toaster$1 as SonnerToaster, type StatusType, Switch, SwitchField, type SwitchFieldProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TagGroup, type TagGroupProps, type TelescupAsset, TelescupAssetPicker, type TelescupAssetPickerProps, type TelescupFilters, TelescupImage, type TelescupLanguage, type TelescupMeta$1 as TelescupMeta, TelescupUpload, type TelescupUploadLabels, type TelescupUploadProps, TelescupUploader, type TelescupUploaderProps, TelescupVideo, Textarea, TextareaField, type TextareaFieldProps, type TextareaProps, ThemeToggle, Timeline, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastCupcode, type ToastCupcodeProps, ToastDescription, type ToastProps, ToastProvider, ToastTitle, type ToastVariant, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipCupcode, TooltipProvider, TooltipTrigger, type UploadConflictPolicy, type UploadPolicy, type UploadQueueItem, type UploadQueueStatus, type UseTelescupAssetsOptions, type UseTelescupUploadQueueOptions, type UserMenuChatMessage, type UserMenuChatMessageLog, type UserMenuChatOpenRequest, type UserMenuChatReaction, type UserMenuChatUser, UserMenuCupcode, type UserMenuCupcodeProps, type UserMenuLanguage, type UserMenuNotification, type UserMenuNotificationKind, type UserMenuRecentActivity, type UserMenuTabId, type UserPresenceStatus, badgeVariants, buildTelescupImageURL, buildTelescupVideoURL, cn, getMainNavItems, navigationMenuTriggerStyle, parseAssetId, responsiveSizeClasses, toast, toggleVariants, useBreakpoint, useFormField, useIsMobile, useSidebar, useTelescupAssets, useTelescupImage, useTelescupMeta, useTelescupUploadQueue, useToast };
1619
+ type AccountsAuthConfig = {
1620
+ baseUrl: string;
1621
+ clientId: string;
1622
+ redirectUri: string;
1623
+ scope: string;
1624
+ audience?: string;
1625
+ authUrl?: string;
1626
+ tokenUrl?: string;
1627
+ logoutUrl?: string;
1628
+ logoutRedirectUri?: string;
1629
+ };
1630
+ declare const getAccountsConfig: () => AccountsAuthConfig;
1631
+ declare const resolveOidcEndpoints: (config: AccountsAuthConfig) => Promise<{
1632
+ authUrl: string | undefined;
1633
+ tokenUrl: string | undefined;
1634
+ logoutUrl: string | undefined;
1635
+ }>;
1636
+ declare const generateCodeVerifier: () => string;
1637
+ declare const generateCodeChallenge: (verifier: string) => Promise<string>;
1638
+ declare const generateState: () => string;
1639
+ declare const generateNonce: () => string;
1640
+ declare const buildAuthorizeUrl: (config: AccountsAuthConfig, authUrl: string, state: string, challenge: string, nonce: string, options?: {
1641
+ prompt?: string;
1642
+ maxAge?: number;
1643
+ loginHint?: string;
1644
+ }) => string;
1645
+ type TokenResponse = {
1646
+ access_token: string;
1647
+ id_token?: string;
1648
+ refresh_token?: string;
1649
+ token_type?: string;
1650
+ expires_in?: number;
1651
+ };
1652
+ declare const exchangeCodeForToken: (config: AccountsAuthConfig, tokenUrl: string, code: string, verifier: string) => Promise<TokenResponse>;
1653
+ declare const buildLogoutUrl: (config: AccountsAuthConfig, logoutUrl?: string, idTokenHint?: string) => string | undefined;
1654
+ declare const decodeJwt: (token?: string) => Record<string, unknown> | null;
1655
+
1656
+ type UserPresenceStatus = "online" | "away" | "busy" | "lunch" | "call" | "coding" | "designing" | "offline";
1657
+ type AuthUser = {
1658
+ sub?: string;
1659
+ name?: string;
1660
+ email?: string;
1661
+ picture?: string;
1662
+ preferredUsername?: string;
1663
+ nickname?: string;
1664
+ role?: string;
1665
+ jobTitle?: string;
1666
+ };
1667
+ type AuthStatus = "loading" | "authenticated" | "unauthenticated";
1668
+ type AuthContextValue = {
1669
+ status: AuthStatus;
1670
+ user: AuthUser | null;
1671
+ accessToken: string | null;
1672
+ login: (redirectTo?: string) => Promise<void>;
1673
+ logout: () => Promise<void>;
1674
+ completeLogin: () => Promise<{
1675
+ ok: boolean;
1676
+ redirectTo?: string;
1677
+ error?: string;
1678
+ }>;
1679
+ getAccessToken: () => Promise<string>;
1680
+ presenceStatus: UserPresenceStatus;
1681
+ setPresenceStatus: (status: UserPresenceStatus) => Promise<void>;
1682
+ };
1683
+ declare const AuthProvider: React__default.FC<{
1684
+ children: React__default.ReactNode;
1685
+ }>;
1686
+ declare const useAuth: () => AuthContextValue;
1687
+
1688
+ type GenericSupabaseClient = SupabaseClient;
1689
+ declare function getSupabase(): GenericSupabaseClient | null;
1690
+ declare function getSupabasePublic(): GenericSupabaseClient | null;
1691
+
1692
+ type CupcodeRuntimeEnvValue = string | number | boolean | null | undefined;
1693
+ type CupcodeRuntimeEnv = Record<string, CupcodeRuntimeEnvValue>;
1694
+ declare const setCupcodeRuntimeEnv: (values: CupcodeRuntimeEnv) => void;
1695
+ declare const getRuntimeEnv: (key: string) => string | undefined;
1696
+ declare const getRuntimeEnvOr: (key: string, fallback: string) => string;
1697
+ declare const isRuntimeDev: () => boolean;
1698
+
1699
+ export { Accordion, AccordionContent, AccordionCupcode, AccordionItem, AccordionTrigger, type AccountsAuthConfig, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, type AuthContextValue, AuthProvider, type AuthStatus, type AuthUser, type UserPresenceStatus as AuthUserPresenceStatus, Avatar, AvatarFallback, AvatarImage, AvatarWithStatus, BackgroundRainbow, BackgroundStars, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, ButtonProps, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardGlass, CardHeader, CardTitle, Checkbox, ChipTag, type ChipTagProps, type ChipVariant, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, AccordionContent$1 as CupcodeAccordionContent, AccordionItem$1 as CupcodeAccordionItem, AccordionTrigger$1 as CupcodeAccordionTrigger, Avatar$1 as CupcodeAvatar, AvatarFallback$1 as CupcodeAvatarFallback, AvatarImage$1 as CupcodeAvatarImage, type StatusType as CupcodeAvatarStatus, Badge$1 as CupcodeBadge, type CupcodeRuntimeEnv, type CupcodeRuntimeEnvValue, Select$1 as CupcodeSelect, SelectContent$1 as CupcodeSelectContent, SelectGroup$1 as CupcodeSelectGroup, SelectItem$1 as CupcodeSelectItem, SelectTrigger$1 as CupcodeSelectTrigger, SelectValue$1 as CupcodeSelectValue, Skeleton$1 as CupcodeSkeleton, type SkeletonProps as CupcodeSkeletonProps, SkeletonText as CupcodeSkeletonText, Switch$1 as CupcodeSwitch, Tabs$1 as CupcodeTabs, TabsContent$1 as CupcodeTabsContent, TabsList$1 as CupcodeTabsList, TabsTrigger$1 as CupcodeTabsTrigger, TooltipContent$1 as CupcodeTooltipContent, TooltipProvider$1 as CupcodeTooltipProvider, TooltipTrigger$1 as CupcodeTooltipTrigger, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Dock, type DockButton, type DockCard, type DockCategory, type DockItem, type DockProps, DockWrapper, 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, EmptyState, type EnqueueResult, ErrorBoundary, Eyebrow, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HeroTitle, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputField, type InputFieldProps, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, JellyButton, JellyButtonOriginal, type JellyButtonOriginalProps, Label, LoadingScreen, LoadingSpinner, type LoadingSpinnerProps, MainNavbar, type MainNavbarAuthUser, type MainNavbarProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Modal, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalTitle, ModalTrigger, type NavItem, NavbarCupcode, type NavbarCupcodeProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, ParticleSystem, Popover, PopoverContent, PopoverTrigger, PricingCard, Progress, ProgressCupcode, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, type ResponsiveSize, ScrollArea, ScrollBar, ScrollbarArea, type ScrollbarAreaProps, type ScrollbarColor, type ScrollbarThemeMode, ScrollbarThemeProvider, type ScrollbarThemeProviderProps, Select, SelectContent, SelectField, type SelectFieldProps, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, 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, Toaster$1 as SonnerToaster, type StatusType, Switch, SwitchField, type SwitchFieldProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TagGroup, type TagGroupProps, type TelescupAsset, TelescupAssetPicker, type TelescupAssetPickerProps, type TelescupClient, type TelescupClientConfig, TelescupClientError, type TelescupFilters, TelescupImage, type TelescupLanguage, type TelescupMeta$1 as TelescupMeta, TelescupUpload, type TelescupUploadLabels, type TelescupUploadProps, TelescupUploader, type TelescupUploaderProps, TelescupVideo, Textarea, TextareaField, type TextareaFieldProps, type TextareaProps, ThemeToggle, Timeline, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastCupcode, type ToastCupcodeProps, ToastDescription, type ToastProps, ToastProvider, ToastTitle, type ToastVariant, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, type TokenResponse, Tooltip, TooltipContent, TooltipCupcode, TooltipProvider, TooltipTrigger, type UploadConflictPolicy, type UploadPolicy, type UploadQueueItem, type UploadQueueStatus, type UseTelescupAssetsOptions, type UseTelescupUploadQueueOptions, type UserMenuChatMessage, type UserMenuChatMessageLog, type UserMenuChatOpenRequest, type UserMenuChatReaction, type UserMenuChatUser, UserMenuCupcode, type UserMenuCupcodeProps, type UserMenuLanguage, type UserMenuNotification, type UserMenuNotificationKind, type UserMenuRecentActivity, type UserMenuTabId, type UserPresenceStatus$1 as UserPresenceStatus, badgeVariants, buildAuthorizeUrl, buildLogoutUrl, buildTelescupImageURL, buildTelescupVideoURL, cn, createTelescupClient, decodeJwt, exchangeCodeForToken, generateCodeChallenge, generateCodeVerifier, generateNonce, generateState, getAccountsConfig, getMainNavItems, getRuntimeEnv, getRuntimeEnvOr, getSupabase, getSupabasePublic, isRuntimeDev, navigationMenuTriggerStyle, parseAssetId, reducer, resolveOidcEndpoints, responsiveSizeClasses, setCupcodeRuntimeEnv, toast, toggleVariants, useActiveSection, useAuth, useBreakpoint, useFormField, useIsMobile, useSidebar, useTelescupAssets, useTelescupImage, useTelescupMeta, useTelescupUploadQueue, useToast };