@cupcodev/ui 7.0.0 → 8.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +239 -239
- package/dist/index.cjs +3592 -2823
- package/dist/index.d.cts +61 -4
- package/dist/index.d.ts +61 -4
- package/dist/index.js +3556 -2789
- package/dist/styles.css +3 -3
- package/package.json +189 -187
- package/postinstall.cjs +20 -20
- package/styles/base.css +140 -138
- package/styles/dock.css +868 -813
- package/styles/global.css +2073 -2071
- package/styles/tokens.css +415 -415
- package/tailwind-preset.cjs +196 -196
package/dist/index.d.cts
CHANGED
|
@@ -312,6 +312,12 @@ type MainNavbarAuthUser = {
|
|
|
312
312
|
sub?: string;
|
|
313
313
|
id?: string;
|
|
314
314
|
userId?: string;
|
|
315
|
+
tenantId?: string;
|
|
316
|
+
tenantSlug?: string;
|
|
317
|
+
tenant_id?: string;
|
|
318
|
+
company?: string;
|
|
319
|
+
companySlug?: string;
|
|
320
|
+
orgSlug?: string;
|
|
315
321
|
name?: string;
|
|
316
322
|
email?: string;
|
|
317
323
|
picture?: string;
|
|
@@ -325,6 +331,7 @@ type MainNavbarProps = {
|
|
|
325
331
|
ctaHref?: string;
|
|
326
332
|
pathname?: string;
|
|
327
333
|
logo?: React.ReactNode;
|
|
334
|
+
leadingSlot?: React.ReactNode;
|
|
328
335
|
className?: string;
|
|
329
336
|
showNavItems?: boolean;
|
|
330
337
|
onNavigate?: (href: string) => void;
|
|
@@ -363,6 +370,7 @@ interface NavbarCupcodeProps {
|
|
|
363
370
|
logo: React$1.ReactNode;
|
|
364
371
|
items: NavItem[];
|
|
365
372
|
actions?: React$1.ReactNode;
|
|
373
|
+
leadingSlot?: React$1.ReactNode;
|
|
366
374
|
className?: string;
|
|
367
375
|
}
|
|
368
376
|
declare const NavbarCupcode: React$1.FC<NavbarCupcodeProps>;
|
|
@@ -748,7 +756,12 @@ declare const createTelescupClient: (config: TelescupClientConfig) => {
|
|
|
748
756
|
initUpload: (payload: TelescupUploadInitRequest) => Promise<TelescupUploadInitResponse>;
|
|
749
757
|
completeUpload: (payload: TelescupUploadCompleteRequest) => Promise<TelescupUploadCompleteResponse>;
|
|
750
758
|
updateMeta: (payload: TelescupUpdateMetaRequest) => Promise<TelescupUpdateMetaResponse>;
|
|
751
|
-
|
|
759
|
+
generateAlt: (asset: Pick<TelescupAsset, "id" | "mimeType"> & {
|
|
760
|
+
filePath?: string;
|
|
761
|
+
storageKey?: string;
|
|
762
|
+
}, language?: TelescupLanguage) => Promise<TelescupMeta$1>;
|
|
763
|
+
translateMeta: (meta: TelescupMeta$1) => Promise<Partial<Record<"en" | "es", TelescupMeta$1>>>;
|
|
764
|
+
saveMetaByLanguage: (assetId: string, metaByLanguage: Partial<Record<TelescupLanguage, TelescupMeta$1>>) => Promise<TelescupUpdateMetaResponse>;
|
|
752
765
|
};
|
|
753
766
|
type TelescupClient = ReturnType<typeof createTelescupClient>;
|
|
754
767
|
|
|
@@ -866,8 +879,9 @@ type TelescupUploadProps = {
|
|
|
866
879
|
folderId?: string;
|
|
867
880
|
allowedTypes?: string[];
|
|
868
881
|
maxSizeMB?: number;
|
|
869
|
-
defaultLanguage?:
|
|
882
|
+
defaultLanguage?: TelescupLanguage;
|
|
870
883
|
enableAI?: boolean;
|
|
884
|
+
autoGenerateMetadataOnUpload?: boolean;
|
|
871
885
|
enableMetaEditor?: boolean;
|
|
872
886
|
multiple?: boolean;
|
|
873
887
|
value?: string[];
|
|
@@ -961,6 +975,27 @@ declare const VideoWatchButton: React__default.ForwardRefExoticComponent<Omit<Re
|
|
|
961
975
|
label?: string;
|
|
962
976
|
} & React__default.RefAttributes<HTMLButtonElement>>;
|
|
963
977
|
|
|
978
|
+
type CustomerUserMenuCupcodeProps = {
|
|
979
|
+
isAuthenticated: boolean;
|
|
980
|
+
isLoading?: boolean;
|
|
981
|
+
loginLabel?: string;
|
|
982
|
+
displayName?: string;
|
|
983
|
+
username?: string;
|
|
984
|
+
email?: string;
|
|
985
|
+
tenantId?: string;
|
|
986
|
+
avatarUrl?: string;
|
|
987
|
+
roleLabel?: string;
|
|
988
|
+
onLogin?: () => void;
|
|
989
|
+
onLogout?: () => void | Promise<void>;
|
|
990
|
+
onProfileAvatarChange?: (payload: {
|
|
991
|
+
avatarId: string;
|
|
992
|
+
avatarUrl?: string;
|
|
993
|
+
}) => Promise<void> | void;
|
|
994
|
+
telescupBaseUrl?: string;
|
|
995
|
+
getTelescupAccessToken?: () => Promise<string>;
|
|
996
|
+
};
|
|
997
|
+
declare function CustomerUserMenuCupcode({ isAuthenticated, isLoading, loginLabel, displayName, username, email, tenantId, avatarUrl, roleLabel, onLogin, onLogout, onProfileAvatarChange, telescupBaseUrl, getTelescupAccessToken, }: CustomerUserMenuCupcodeProps): react_jsx_runtime.JSX.Element;
|
|
998
|
+
|
|
964
999
|
declare const TooltipProvider$1: React$1.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
965
1000
|
declare const TooltipCupcode: React$1.FC<TooltipPrimitive.TooltipProps>;
|
|
966
1001
|
declare const TooltipTrigger$1: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1766,7 +1801,7 @@ type TokenResponse = {
|
|
|
1766
1801
|
expires_in?: number | string;
|
|
1767
1802
|
};
|
|
1768
1803
|
declare const exchangeCodeForToken: (config: AccountsAuthConfig, tokenUrl: string, code: string, verifier: string) => Promise<TokenResponse>;
|
|
1769
|
-
declare const buildLogoutUrl: (config: AccountsAuthConfig, logoutUrl?: string, idTokenHint?: string) => string | undefined;
|
|
1804
|
+
declare const buildLogoutUrl: (config: AccountsAuthConfig, logoutUrl?: string, idTokenHint?: string, refreshToken?: string) => string | undefined;
|
|
1770
1805
|
declare const decodeJwt: (token?: string) => Record<string, unknown> | null;
|
|
1771
1806
|
|
|
1772
1807
|
type UserPresenceStatus = "online" | "away" | "busy" | "lunch" | "call" | "coding" | "designing" | "offline";
|
|
@@ -1774,6 +1809,8 @@ type AuthUser = {
|
|
|
1774
1809
|
sub?: string;
|
|
1775
1810
|
id?: string;
|
|
1776
1811
|
userId?: string;
|
|
1812
|
+
tenantId?: string;
|
|
1813
|
+
tenantSlug?: string;
|
|
1777
1814
|
name?: string;
|
|
1778
1815
|
email?: string;
|
|
1779
1816
|
picture?: string;
|
|
@@ -1807,6 +1844,26 @@ type GenericSupabaseClient = SupabaseClient;
|
|
|
1807
1844
|
declare function getSupabase(): GenericSupabaseClient | null;
|
|
1808
1845
|
declare function getSupabasePublic(): GenericSupabaseClient | null;
|
|
1809
1846
|
|
|
1847
|
+
type TelescupTokenBundle = {
|
|
1848
|
+
idToken: string;
|
|
1849
|
+
accessToken?: string;
|
|
1850
|
+
refreshToken?: string;
|
|
1851
|
+
expiresAt: number;
|
|
1852
|
+
updatedAt: number;
|
|
1853
|
+
clientId: string;
|
|
1854
|
+
};
|
|
1855
|
+
type CallbackResult = {
|
|
1856
|
+
ok: true;
|
|
1857
|
+
bundle: TelescupTokenBundle;
|
|
1858
|
+
} | {
|
|
1859
|
+
ok: false;
|
|
1860
|
+
error: string;
|
|
1861
|
+
};
|
|
1862
|
+
declare const clearTelescupOidcTokens: () => void;
|
|
1863
|
+
declare const getTelescupOidcToken: () => Promise<string | null>;
|
|
1864
|
+
declare const ensureTelescupOidcToken: () => Promise<string>;
|
|
1865
|
+
declare const completeTelescupOidcCallback: () => Promise<CallbackResult>;
|
|
1866
|
+
|
|
1810
1867
|
type CupcodeRuntimeEnvValue = string | number | boolean | null | undefined;
|
|
1811
1868
|
type CupcodeRuntimeEnv = Record<string, CupcodeRuntimeEnvValue>;
|
|
1812
1869
|
declare const CUPCODE_APP_VERSION_ENV_KEY = "CUPCODE_APP_VERSION";
|
|
@@ -1824,4 +1881,4 @@ declare const getRuntimeEnvOr: (key: string, fallback: string) => string;
|
|
|
1824
1881
|
declare const isRuntimeDev: () => boolean;
|
|
1825
1882
|
declare const resolveCupcodeAppVersion: (explicitVersion?: CupcodeRuntimeEnvValue) => string | undefined;
|
|
1826
1883
|
|
|
1827
|
-
export { Accordion, AccordionContent, AccordionCupcode, AccordionItem, AccordionTrigger, type AccountsAuthConfig, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, ThemeToggle as AnimatedThemeToggle, type ThemeToggleProps as AnimatedThemeToggleProps, AppSidebar, type AppSidebarGroup, type AppSidebarItem, type AppSidebarProps, AspectRatio, type AuthContextValue, AuthProvider, type AuthStatus, type AuthUser, type UserPresenceStatus as AuthUserPresenceStatus, Avatar, AvatarFallback, AvatarImage, AvatarWithStatus, type AvatarWithStatusProps, BackgroundRainbow, BackgroundStars, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, ButtonProps, CUPCODE_APP_VERSION_ENV_KEY, CUPCODE_APP_VERSION_ENV_KEYS, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardGlass, CardHeader, CardTitle, Checkbox, ChipTag, type ChipTagProps, type ChipVariant, type ClickCoords, 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, EXPERIENCE_SETTINGS_STORAGE_KEY, EmptyState, type EnqueueResult, ErrorBoundary, Eyebrow, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, GlassCard, HeroTitle, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputField, type InputFieldProps, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, JellyButton, JellyButtonOriginal, type JellyButtonOriginalProps, type JellyButtonProps, LEGACY_THEME_STORAGE_KEY, Label, type LayoutMode, LoadingScreen, LoadingSpinner, type LoadingSpinnerProps, MainLayout, type MainLayoutProps, 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, PRESENCE_ACTIVITY_THROTTLE_MS_ENV_KEY, PRESENCE_HEARTBEAT_INTERVAL_MS_ENV_KEY, PRESENCE_IDLE_TIMEOUT_MS_ENV_KEY, PRESENCE_OFFLINE_TIMEOUT_MS_ENV_KEY, PRESENCE_RUNTIME_ENV_KEYS, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, ParticleSystem, Popover, PopoverContent, PopoverTrigger, PricingCard, Skeleton as PrimitiveSkeleton, Tabs as PrimitiveTabs, TabsContent as PrimitiveTabsContent, TabsList as PrimitiveTabsList, TabsTrigger as PrimitiveTabsTrigger, Tooltip as PrimitiveTooltip, TooltipContent as PrimitiveTooltipContent, TooltipProvider as PrimitiveTooltipProvider, TooltipTrigger as PrimitiveTooltipTrigger, Progress, ProgressCupcode, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, type ResolveTelescupImageOptions, 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$1 as Skeleton, SkeletonText, Slider, Toaster$1 as SonnerToaster, type StatusType, type StoredThemeMode, type StoredThemePreference, Switch, SwitchField, type SwitchFieldProps, THEME_PREFERENCE_CHANGE_EVENT, THEME_PREFERENCE_STORAGE_KEY, THEME_STORAGE_KEY, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs$1 as Tabs, TabsContent$1 as TabsContent, TabsList$1 as TabsList, TabsTrigger$1 as TabsTrigger, TagGroup, type TagGroupProps, type TelescupAsset, TelescupAssetPicker, type TelescupAssetPickerProps, type TelescupAssetType, type TelescupAssetsListResponse, type TelescupClient, type TelescupClientConfig, TelescupClientError, type TelescupFilters, TelescupImage, type TelescupLanguage, type TelescupMeta$1 as TelescupMeta, type TelescupUpdateMetaRequest, type TelescupUpdateMetaResponse, TelescupUpload, type TelescupUploadCompleteRequest, type TelescupUploadCompleteResponse, type TelescupUploadInitRequest, type TelescupUploadInitResponse, type TelescupUploadLabels, type TelescupUploadProps, TelescupUploader, type TelescupUploaderProps, TelescupVideo, Textarea, TextareaField, type TextareaFieldProps, type TextareaProps, type Theme, ThemeBackground, type ThemeContextValue, ThemeProvider, type ThemeProviderProps, ThemeScript, ThemeToggle$1 as 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, TooltipCupcode as Tooltip, TooltipContent$1 as TooltipContent, TooltipCupcode, TooltipProvider$1 as TooltipProvider, TooltipTrigger$1 as TooltipTrigger, USER_PRESENCE_LAST_ACTIVE_COLUMN_ENV_KEY, USER_PRESENCE_SOURCE_COLUMN_ENV_KEY, 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, VideoWatchButton, type VideoWatchButtonProps, badgeVariants, buildAuthorizeUrl, buildLogoutUrl, buildSidebarGroupsFromNavItems, buildTelescupImageURL, buildTelescupVideoURL, cn, createTelescupClient, decodeJwt, defaultSidebarGroups, exchangeCodeForToken, generateCodeChallenge, generateCodeVerifier, generateNonce, generateState, getAccountsConfig, getMainNavItems, getRuntimeEnv, getRuntimeEnvOr, getSupabase, getSupabasePublic, isRuntimeDev, isStoredThemeMode, navigationMenuTriggerStyle, normalizeStoredThemePreference, parseAssetId, parseStoredThemePreference, persistThemePreferenceSelection, readStoredLayoutMode, readStoredThemeMode, reducer, resolveAppliedThemeMode, resolveCupcodeAppVersion, resolveOidcEndpoints, resolveStoredThemePreference, resolveSystemThemeMode, resolveTelescupImageURL, responsiveSizeClasses, setCupcodeRuntimeEnv, slugify, toast, toggleVariants, useActiveSection, useAppTheme, useAuth, useBreakpoint, useFormField, useIsMobile, useLayoutMode, useLayoutModeControl, useSidebar, useTelescupAssets, useTelescupImage, useTelescupMeta, useTelescupUploadQueue, useToast, writeStoredLayoutMode };
|
|
1884
|
+
export { Accordion, AccordionContent, AccordionCupcode, AccordionItem, AccordionTrigger, type AccountsAuthConfig, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, ThemeToggle as AnimatedThemeToggle, type ThemeToggleProps as AnimatedThemeToggleProps, AppSidebar, type AppSidebarGroup, type AppSidebarItem, type AppSidebarProps, AspectRatio, type AuthContextValue, AuthProvider, type AuthStatus, type AuthUser, type UserPresenceStatus as AuthUserPresenceStatus, Avatar, AvatarFallback, AvatarImage, AvatarWithStatus, type AvatarWithStatusProps, BackgroundRainbow, BackgroundStars, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, ButtonProps, CUPCODE_APP_VERSION_ENV_KEY, CUPCODE_APP_VERSION_ENV_KEYS, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardGlass, CardHeader, CardTitle, Checkbox, ChipTag, type ChipTagProps, type ChipVariant, type ClickCoords, 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, CustomerUserMenuCupcode, type CustomerUserMenuCupcodeProps, 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, EXPERIENCE_SETTINGS_STORAGE_KEY, EmptyState, type EnqueueResult, ErrorBoundary, Eyebrow, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, GlassCard, HeroTitle, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputField, type InputFieldProps, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, JellyButton, JellyButtonOriginal, type JellyButtonOriginalProps, type JellyButtonProps, LEGACY_THEME_STORAGE_KEY, Label, type LayoutMode, LoadingScreen, LoadingSpinner, type LoadingSpinnerProps, MainLayout, type MainLayoutProps, 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, PRESENCE_ACTIVITY_THROTTLE_MS_ENV_KEY, PRESENCE_HEARTBEAT_INTERVAL_MS_ENV_KEY, PRESENCE_IDLE_TIMEOUT_MS_ENV_KEY, PRESENCE_OFFLINE_TIMEOUT_MS_ENV_KEY, PRESENCE_RUNTIME_ENV_KEYS, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, ParticleSystem, Popover, PopoverContent, PopoverTrigger, PricingCard, Skeleton as PrimitiveSkeleton, Tabs as PrimitiveTabs, TabsContent as PrimitiveTabsContent, TabsList as PrimitiveTabsList, TabsTrigger as PrimitiveTabsTrigger, Tooltip as PrimitiveTooltip, TooltipContent as PrimitiveTooltipContent, TooltipProvider as PrimitiveTooltipProvider, TooltipTrigger as PrimitiveTooltipTrigger, Progress, ProgressCupcode, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, type ResolveTelescupImageOptions, 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$1 as Skeleton, SkeletonText, Slider, Toaster$1 as SonnerToaster, type StatusType, type StoredThemeMode, type StoredThemePreference, Switch, SwitchField, type SwitchFieldProps, THEME_PREFERENCE_CHANGE_EVENT, THEME_PREFERENCE_STORAGE_KEY, THEME_STORAGE_KEY, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs$1 as Tabs, TabsContent$1 as TabsContent, TabsList$1 as TabsList, TabsTrigger$1 as TabsTrigger, TagGroup, type TagGroupProps, type TelescupAsset, TelescupAssetPicker, type TelescupAssetPickerProps, type TelescupAssetType, type TelescupAssetsListResponse, type TelescupClient, type TelescupClientConfig, TelescupClientError, type TelescupFilters, TelescupImage, type TelescupLanguage, type TelescupMeta$1 as TelescupMeta, type TelescupUpdateMetaRequest, type TelescupUpdateMetaResponse, TelescupUpload, type TelescupUploadCompleteRequest, type TelescupUploadCompleteResponse, type TelescupUploadInitRequest, type TelescupUploadInitResponse, type TelescupUploadLabels, type TelescupUploadProps, TelescupUploader, type TelescupUploaderProps, TelescupVideo, Textarea, TextareaField, type TextareaFieldProps, type TextareaProps, type Theme, ThemeBackground, type ThemeContextValue, ThemeProvider, type ThemeProviderProps, ThemeScript, ThemeToggle$1 as 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, TooltipCupcode as Tooltip, TooltipContent$1 as TooltipContent, TooltipCupcode, TooltipProvider$1 as TooltipProvider, TooltipTrigger$1 as TooltipTrigger, USER_PRESENCE_LAST_ACTIVE_COLUMN_ENV_KEY, USER_PRESENCE_SOURCE_COLUMN_ENV_KEY, 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, VideoWatchButton, type VideoWatchButtonProps, badgeVariants, buildAuthorizeUrl, buildLogoutUrl, buildSidebarGroupsFromNavItems, buildTelescupImageURL, buildTelescupVideoURL, clearTelescupOidcTokens, cn, completeTelescupOidcCallback, createTelescupClient, decodeJwt, defaultSidebarGroups, ensureTelescupOidcToken, exchangeCodeForToken, generateCodeChallenge, generateCodeVerifier, generateNonce, generateState, getAccountsConfig, getMainNavItems, getRuntimeEnv, getRuntimeEnvOr, getSupabase, getSupabasePublic, getTelescupOidcToken, isRuntimeDev, isStoredThemeMode, navigationMenuTriggerStyle, normalizeStoredThemePreference, parseAssetId, parseStoredThemePreference, persistThemePreferenceSelection, readStoredLayoutMode, readStoredThemeMode, reducer, resolveAppliedThemeMode, resolveCupcodeAppVersion, resolveOidcEndpoints, resolveStoredThemePreference, resolveSystemThemeMode, resolveTelescupImageURL, responsiveSizeClasses, setCupcodeRuntimeEnv, slugify, toast, toggleVariants, useActiveSection, useAppTheme, useAuth, useBreakpoint, useFormField, useIsMobile, useLayoutMode, useLayoutModeControl, useSidebar, useTelescupAssets, useTelescupImage, useTelescupMeta, useTelescupUploadQueue, useToast, writeStoredLayoutMode };
|
package/dist/index.d.ts
CHANGED
|
@@ -312,6 +312,12 @@ type MainNavbarAuthUser = {
|
|
|
312
312
|
sub?: string;
|
|
313
313
|
id?: string;
|
|
314
314
|
userId?: string;
|
|
315
|
+
tenantId?: string;
|
|
316
|
+
tenantSlug?: string;
|
|
317
|
+
tenant_id?: string;
|
|
318
|
+
company?: string;
|
|
319
|
+
companySlug?: string;
|
|
320
|
+
orgSlug?: string;
|
|
315
321
|
name?: string;
|
|
316
322
|
email?: string;
|
|
317
323
|
picture?: string;
|
|
@@ -325,6 +331,7 @@ type MainNavbarProps = {
|
|
|
325
331
|
ctaHref?: string;
|
|
326
332
|
pathname?: string;
|
|
327
333
|
logo?: React.ReactNode;
|
|
334
|
+
leadingSlot?: React.ReactNode;
|
|
328
335
|
className?: string;
|
|
329
336
|
showNavItems?: boolean;
|
|
330
337
|
onNavigate?: (href: string) => void;
|
|
@@ -363,6 +370,7 @@ interface NavbarCupcodeProps {
|
|
|
363
370
|
logo: React$1.ReactNode;
|
|
364
371
|
items: NavItem[];
|
|
365
372
|
actions?: React$1.ReactNode;
|
|
373
|
+
leadingSlot?: React$1.ReactNode;
|
|
366
374
|
className?: string;
|
|
367
375
|
}
|
|
368
376
|
declare const NavbarCupcode: React$1.FC<NavbarCupcodeProps>;
|
|
@@ -748,7 +756,12 @@ declare const createTelescupClient: (config: TelescupClientConfig) => {
|
|
|
748
756
|
initUpload: (payload: TelescupUploadInitRequest) => Promise<TelescupUploadInitResponse>;
|
|
749
757
|
completeUpload: (payload: TelescupUploadCompleteRequest) => Promise<TelescupUploadCompleteResponse>;
|
|
750
758
|
updateMeta: (payload: TelescupUpdateMetaRequest) => Promise<TelescupUpdateMetaResponse>;
|
|
751
|
-
|
|
759
|
+
generateAlt: (asset: Pick<TelescupAsset, "id" | "mimeType"> & {
|
|
760
|
+
filePath?: string;
|
|
761
|
+
storageKey?: string;
|
|
762
|
+
}, language?: TelescupLanguage) => Promise<TelescupMeta$1>;
|
|
763
|
+
translateMeta: (meta: TelescupMeta$1) => Promise<Partial<Record<"en" | "es", TelescupMeta$1>>>;
|
|
764
|
+
saveMetaByLanguage: (assetId: string, metaByLanguage: Partial<Record<TelescupLanguage, TelescupMeta$1>>) => Promise<TelescupUpdateMetaResponse>;
|
|
752
765
|
};
|
|
753
766
|
type TelescupClient = ReturnType<typeof createTelescupClient>;
|
|
754
767
|
|
|
@@ -866,8 +879,9 @@ type TelescupUploadProps = {
|
|
|
866
879
|
folderId?: string;
|
|
867
880
|
allowedTypes?: string[];
|
|
868
881
|
maxSizeMB?: number;
|
|
869
|
-
defaultLanguage?:
|
|
882
|
+
defaultLanguage?: TelescupLanguage;
|
|
870
883
|
enableAI?: boolean;
|
|
884
|
+
autoGenerateMetadataOnUpload?: boolean;
|
|
871
885
|
enableMetaEditor?: boolean;
|
|
872
886
|
multiple?: boolean;
|
|
873
887
|
value?: string[];
|
|
@@ -961,6 +975,27 @@ declare const VideoWatchButton: React__default.ForwardRefExoticComponent<Omit<Re
|
|
|
961
975
|
label?: string;
|
|
962
976
|
} & React__default.RefAttributes<HTMLButtonElement>>;
|
|
963
977
|
|
|
978
|
+
type CustomerUserMenuCupcodeProps = {
|
|
979
|
+
isAuthenticated: boolean;
|
|
980
|
+
isLoading?: boolean;
|
|
981
|
+
loginLabel?: string;
|
|
982
|
+
displayName?: string;
|
|
983
|
+
username?: string;
|
|
984
|
+
email?: string;
|
|
985
|
+
tenantId?: string;
|
|
986
|
+
avatarUrl?: string;
|
|
987
|
+
roleLabel?: string;
|
|
988
|
+
onLogin?: () => void;
|
|
989
|
+
onLogout?: () => void | Promise<void>;
|
|
990
|
+
onProfileAvatarChange?: (payload: {
|
|
991
|
+
avatarId: string;
|
|
992
|
+
avatarUrl?: string;
|
|
993
|
+
}) => Promise<void> | void;
|
|
994
|
+
telescupBaseUrl?: string;
|
|
995
|
+
getTelescupAccessToken?: () => Promise<string>;
|
|
996
|
+
};
|
|
997
|
+
declare function CustomerUserMenuCupcode({ isAuthenticated, isLoading, loginLabel, displayName, username, email, tenantId, avatarUrl, roleLabel, onLogin, onLogout, onProfileAvatarChange, telescupBaseUrl, getTelescupAccessToken, }: CustomerUserMenuCupcodeProps): react_jsx_runtime.JSX.Element;
|
|
998
|
+
|
|
964
999
|
declare const TooltipProvider$1: React$1.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
965
1000
|
declare const TooltipCupcode: React$1.FC<TooltipPrimitive.TooltipProps>;
|
|
966
1001
|
declare const TooltipTrigger$1: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1766,7 +1801,7 @@ type TokenResponse = {
|
|
|
1766
1801
|
expires_in?: number | string;
|
|
1767
1802
|
};
|
|
1768
1803
|
declare const exchangeCodeForToken: (config: AccountsAuthConfig, tokenUrl: string, code: string, verifier: string) => Promise<TokenResponse>;
|
|
1769
|
-
declare const buildLogoutUrl: (config: AccountsAuthConfig, logoutUrl?: string, idTokenHint?: string) => string | undefined;
|
|
1804
|
+
declare const buildLogoutUrl: (config: AccountsAuthConfig, logoutUrl?: string, idTokenHint?: string, refreshToken?: string) => string | undefined;
|
|
1770
1805
|
declare const decodeJwt: (token?: string) => Record<string, unknown> | null;
|
|
1771
1806
|
|
|
1772
1807
|
type UserPresenceStatus = "online" | "away" | "busy" | "lunch" | "call" | "coding" | "designing" | "offline";
|
|
@@ -1774,6 +1809,8 @@ type AuthUser = {
|
|
|
1774
1809
|
sub?: string;
|
|
1775
1810
|
id?: string;
|
|
1776
1811
|
userId?: string;
|
|
1812
|
+
tenantId?: string;
|
|
1813
|
+
tenantSlug?: string;
|
|
1777
1814
|
name?: string;
|
|
1778
1815
|
email?: string;
|
|
1779
1816
|
picture?: string;
|
|
@@ -1807,6 +1844,26 @@ type GenericSupabaseClient = SupabaseClient;
|
|
|
1807
1844
|
declare function getSupabase(): GenericSupabaseClient | null;
|
|
1808
1845
|
declare function getSupabasePublic(): GenericSupabaseClient | null;
|
|
1809
1846
|
|
|
1847
|
+
type TelescupTokenBundle = {
|
|
1848
|
+
idToken: string;
|
|
1849
|
+
accessToken?: string;
|
|
1850
|
+
refreshToken?: string;
|
|
1851
|
+
expiresAt: number;
|
|
1852
|
+
updatedAt: number;
|
|
1853
|
+
clientId: string;
|
|
1854
|
+
};
|
|
1855
|
+
type CallbackResult = {
|
|
1856
|
+
ok: true;
|
|
1857
|
+
bundle: TelescupTokenBundle;
|
|
1858
|
+
} | {
|
|
1859
|
+
ok: false;
|
|
1860
|
+
error: string;
|
|
1861
|
+
};
|
|
1862
|
+
declare const clearTelescupOidcTokens: () => void;
|
|
1863
|
+
declare const getTelescupOidcToken: () => Promise<string | null>;
|
|
1864
|
+
declare const ensureTelescupOidcToken: () => Promise<string>;
|
|
1865
|
+
declare const completeTelescupOidcCallback: () => Promise<CallbackResult>;
|
|
1866
|
+
|
|
1810
1867
|
type CupcodeRuntimeEnvValue = string | number | boolean | null | undefined;
|
|
1811
1868
|
type CupcodeRuntimeEnv = Record<string, CupcodeRuntimeEnvValue>;
|
|
1812
1869
|
declare const CUPCODE_APP_VERSION_ENV_KEY = "CUPCODE_APP_VERSION";
|
|
@@ -1824,4 +1881,4 @@ declare const getRuntimeEnvOr: (key: string, fallback: string) => string;
|
|
|
1824
1881
|
declare const isRuntimeDev: () => boolean;
|
|
1825
1882
|
declare const resolveCupcodeAppVersion: (explicitVersion?: CupcodeRuntimeEnvValue) => string | undefined;
|
|
1826
1883
|
|
|
1827
|
-
export { Accordion, AccordionContent, AccordionCupcode, AccordionItem, AccordionTrigger, type AccountsAuthConfig, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, ThemeToggle as AnimatedThemeToggle, type ThemeToggleProps as AnimatedThemeToggleProps, AppSidebar, type AppSidebarGroup, type AppSidebarItem, type AppSidebarProps, AspectRatio, type AuthContextValue, AuthProvider, type AuthStatus, type AuthUser, type UserPresenceStatus as AuthUserPresenceStatus, Avatar, AvatarFallback, AvatarImage, AvatarWithStatus, type AvatarWithStatusProps, BackgroundRainbow, BackgroundStars, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, ButtonProps, CUPCODE_APP_VERSION_ENV_KEY, CUPCODE_APP_VERSION_ENV_KEYS, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardGlass, CardHeader, CardTitle, Checkbox, ChipTag, type ChipTagProps, type ChipVariant, type ClickCoords, 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, EXPERIENCE_SETTINGS_STORAGE_KEY, EmptyState, type EnqueueResult, ErrorBoundary, Eyebrow, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, GlassCard, HeroTitle, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputField, type InputFieldProps, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, JellyButton, JellyButtonOriginal, type JellyButtonOriginalProps, type JellyButtonProps, LEGACY_THEME_STORAGE_KEY, Label, type LayoutMode, LoadingScreen, LoadingSpinner, type LoadingSpinnerProps, MainLayout, type MainLayoutProps, 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, PRESENCE_ACTIVITY_THROTTLE_MS_ENV_KEY, PRESENCE_HEARTBEAT_INTERVAL_MS_ENV_KEY, PRESENCE_IDLE_TIMEOUT_MS_ENV_KEY, PRESENCE_OFFLINE_TIMEOUT_MS_ENV_KEY, PRESENCE_RUNTIME_ENV_KEYS, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, ParticleSystem, Popover, PopoverContent, PopoverTrigger, PricingCard, Skeleton as PrimitiveSkeleton, Tabs as PrimitiveTabs, TabsContent as PrimitiveTabsContent, TabsList as PrimitiveTabsList, TabsTrigger as PrimitiveTabsTrigger, Tooltip as PrimitiveTooltip, TooltipContent as PrimitiveTooltipContent, TooltipProvider as PrimitiveTooltipProvider, TooltipTrigger as PrimitiveTooltipTrigger, Progress, ProgressCupcode, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, type ResolveTelescupImageOptions, 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$1 as Skeleton, SkeletonText, Slider, Toaster$1 as SonnerToaster, type StatusType, type StoredThemeMode, type StoredThemePreference, Switch, SwitchField, type SwitchFieldProps, THEME_PREFERENCE_CHANGE_EVENT, THEME_PREFERENCE_STORAGE_KEY, THEME_STORAGE_KEY, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs$1 as Tabs, TabsContent$1 as TabsContent, TabsList$1 as TabsList, TabsTrigger$1 as TabsTrigger, TagGroup, type TagGroupProps, type TelescupAsset, TelescupAssetPicker, type TelescupAssetPickerProps, type TelescupAssetType, type TelescupAssetsListResponse, type TelescupClient, type TelescupClientConfig, TelescupClientError, type TelescupFilters, TelescupImage, type TelescupLanguage, type TelescupMeta$1 as TelescupMeta, type TelescupUpdateMetaRequest, type TelescupUpdateMetaResponse, TelescupUpload, type TelescupUploadCompleteRequest, type TelescupUploadCompleteResponse, type TelescupUploadInitRequest, type TelescupUploadInitResponse, type TelescupUploadLabels, type TelescupUploadProps, TelescupUploader, type TelescupUploaderProps, TelescupVideo, Textarea, TextareaField, type TextareaFieldProps, type TextareaProps, type Theme, ThemeBackground, type ThemeContextValue, ThemeProvider, type ThemeProviderProps, ThemeScript, ThemeToggle$1 as 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, TooltipCupcode as Tooltip, TooltipContent$1 as TooltipContent, TooltipCupcode, TooltipProvider$1 as TooltipProvider, TooltipTrigger$1 as TooltipTrigger, USER_PRESENCE_LAST_ACTIVE_COLUMN_ENV_KEY, USER_PRESENCE_SOURCE_COLUMN_ENV_KEY, 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, VideoWatchButton, type VideoWatchButtonProps, badgeVariants, buildAuthorizeUrl, buildLogoutUrl, buildSidebarGroupsFromNavItems, buildTelescupImageURL, buildTelescupVideoURL, cn, createTelescupClient, decodeJwt, defaultSidebarGroups, exchangeCodeForToken, generateCodeChallenge, generateCodeVerifier, generateNonce, generateState, getAccountsConfig, getMainNavItems, getRuntimeEnv, getRuntimeEnvOr, getSupabase, getSupabasePublic, isRuntimeDev, isStoredThemeMode, navigationMenuTriggerStyle, normalizeStoredThemePreference, parseAssetId, parseStoredThemePreference, persistThemePreferenceSelection, readStoredLayoutMode, readStoredThemeMode, reducer, resolveAppliedThemeMode, resolveCupcodeAppVersion, resolveOidcEndpoints, resolveStoredThemePreference, resolveSystemThemeMode, resolveTelescupImageURL, responsiveSizeClasses, setCupcodeRuntimeEnv, slugify, toast, toggleVariants, useActiveSection, useAppTheme, useAuth, useBreakpoint, useFormField, useIsMobile, useLayoutMode, useLayoutModeControl, useSidebar, useTelescupAssets, useTelescupImage, useTelescupMeta, useTelescupUploadQueue, useToast, writeStoredLayoutMode };
|
|
1884
|
+
export { Accordion, AccordionContent, AccordionCupcode, AccordionItem, AccordionTrigger, type AccountsAuthConfig, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, ThemeToggle as AnimatedThemeToggle, type ThemeToggleProps as AnimatedThemeToggleProps, AppSidebar, type AppSidebarGroup, type AppSidebarItem, type AppSidebarProps, AspectRatio, type AuthContextValue, AuthProvider, type AuthStatus, type AuthUser, type UserPresenceStatus as AuthUserPresenceStatus, Avatar, AvatarFallback, AvatarImage, AvatarWithStatus, type AvatarWithStatusProps, BackgroundRainbow, BackgroundStars, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, ButtonProps, CUPCODE_APP_VERSION_ENV_KEY, CUPCODE_APP_VERSION_ENV_KEYS, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardGlass, CardHeader, CardTitle, Checkbox, ChipTag, type ChipTagProps, type ChipVariant, type ClickCoords, 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, CustomerUserMenuCupcode, type CustomerUserMenuCupcodeProps, 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, EXPERIENCE_SETTINGS_STORAGE_KEY, EmptyState, type EnqueueResult, ErrorBoundary, Eyebrow, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, GlassCard, HeroTitle, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputField, type InputFieldProps, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, JellyButton, JellyButtonOriginal, type JellyButtonOriginalProps, type JellyButtonProps, LEGACY_THEME_STORAGE_KEY, Label, type LayoutMode, LoadingScreen, LoadingSpinner, type LoadingSpinnerProps, MainLayout, type MainLayoutProps, 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, PRESENCE_ACTIVITY_THROTTLE_MS_ENV_KEY, PRESENCE_HEARTBEAT_INTERVAL_MS_ENV_KEY, PRESENCE_IDLE_TIMEOUT_MS_ENV_KEY, PRESENCE_OFFLINE_TIMEOUT_MS_ENV_KEY, PRESENCE_RUNTIME_ENV_KEYS, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, ParticleSystem, Popover, PopoverContent, PopoverTrigger, PricingCard, Skeleton as PrimitiveSkeleton, Tabs as PrimitiveTabs, TabsContent as PrimitiveTabsContent, TabsList as PrimitiveTabsList, TabsTrigger as PrimitiveTabsTrigger, Tooltip as PrimitiveTooltip, TooltipContent as PrimitiveTooltipContent, TooltipProvider as PrimitiveTooltipProvider, TooltipTrigger as PrimitiveTooltipTrigger, Progress, ProgressCupcode, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, type ResolveTelescupImageOptions, 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$1 as Skeleton, SkeletonText, Slider, Toaster$1 as SonnerToaster, type StatusType, type StoredThemeMode, type StoredThemePreference, Switch, SwitchField, type SwitchFieldProps, THEME_PREFERENCE_CHANGE_EVENT, THEME_PREFERENCE_STORAGE_KEY, THEME_STORAGE_KEY, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs$1 as Tabs, TabsContent$1 as TabsContent, TabsList$1 as TabsList, TabsTrigger$1 as TabsTrigger, TagGroup, type TagGroupProps, type TelescupAsset, TelescupAssetPicker, type TelescupAssetPickerProps, type TelescupAssetType, type TelescupAssetsListResponse, type TelescupClient, type TelescupClientConfig, TelescupClientError, type TelescupFilters, TelescupImage, type TelescupLanguage, type TelescupMeta$1 as TelescupMeta, type TelescupUpdateMetaRequest, type TelescupUpdateMetaResponse, TelescupUpload, type TelescupUploadCompleteRequest, type TelescupUploadCompleteResponse, type TelescupUploadInitRequest, type TelescupUploadInitResponse, type TelescupUploadLabels, type TelescupUploadProps, TelescupUploader, type TelescupUploaderProps, TelescupVideo, Textarea, TextareaField, type TextareaFieldProps, type TextareaProps, type Theme, ThemeBackground, type ThemeContextValue, ThemeProvider, type ThemeProviderProps, ThemeScript, ThemeToggle$1 as 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, TooltipCupcode as Tooltip, TooltipContent$1 as TooltipContent, TooltipCupcode, TooltipProvider$1 as TooltipProvider, TooltipTrigger$1 as TooltipTrigger, USER_PRESENCE_LAST_ACTIVE_COLUMN_ENV_KEY, USER_PRESENCE_SOURCE_COLUMN_ENV_KEY, 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, VideoWatchButton, type VideoWatchButtonProps, badgeVariants, buildAuthorizeUrl, buildLogoutUrl, buildSidebarGroupsFromNavItems, buildTelescupImageURL, buildTelescupVideoURL, clearTelescupOidcTokens, cn, completeTelescupOidcCallback, createTelescupClient, decodeJwt, defaultSidebarGroups, ensureTelescupOidcToken, exchangeCodeForToken, generateCodeChallenge, generateCodeVerifier, generateNonce, generateState, getAccountsConfig, getMainNavItems, getRuntimeEnv, getRuntimeEnvOr, getSupabase, getSupabasePublic, getTelescupOidcToken, isRuntimeDev, isStoredThemeMode, navigationMenuTriggerStyle, normalizeStoredThemePreference, parseAssetId, parseStoredThemePreference, persistThemePreferenceSelection, readStoredLayoutMode, readStoredThemeMode, reducer, resolveAppliedThemeMode, resolveCupcodeAppVersion, resolveOidcEndpoints, resolveStoredThemePreference, resolveSystemThemeMode, resolveTelescupImageURL, responsiveSizeClasses, setCupcodeRuntimeEnv, slugify, toast, toggleVariants, useActiveSection, useAppTheme, useAuth, useBreakpoint, useFormField, useIsMobile, useLayoutMode, useLayoutModeControl, useSidebar, useTelescupAssets, useTelescupImage, useTelescupMeta, useTelescupUploadQueue, useToast, writeStoredLayoutMode };
|