@arbidocs/react 0.4.154 → 0.4.155

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.
@@ -818,6 +818,46 @@ interface PassageCardProps {
818
818
  }
819
819
  declare function PassageCard({ header, score, headerRight, active, onClick, footer, className, children, 'data-testid': testId, }: PassageCardProps): React__default.JSX.Element;
820
820
 
821
+ /**
822
+ * Maps a file name (by extension) to the matching branded file-type icon
823
+ * component. Single source of truth so the document grid, navigator, and the
824
+ * file-explorer view all show identical icons.
825
+ *
826
+ * The icon components share a `{ size?, className? }` signature, so callers can
827
+ * render the returned component at any size.
828
+ */
829
+
830
+ type FileTypeIcon = ComponentType<{
831
+ size?: number;
832
+ className?: string;
833
+ }>;
834
+ /** Lower-cased extension (without the dot), or '' when there is none. */
835
+ declare function getFileExtension(fileName?: string | null): string;
836
+ /**
837
+ * Best-effort file extension (no dot) for a MIME type, or '' when unknown.
838
+ * Used to surface the real extension for documents stored with a display title
839
+ * that has none.
840
+ */
841
+ declare function extensionFromMime(mime?: string | null): string;
842
+ /**
843
+ * Returns the icon component for a document.
844
+ *
845
+ * Resolution order: file-name extension → MIME `file_type` → fallback. This
846
+ * mirrors how documents are stored — many carry a display title without an
847
+ * extension, so the MIME type is the reliable signal.
848
+ *
849
+ * @param fileName the document file name (uses its extension)
850
+ * @param opts.mime the document `file_type` (MIME), used when the name has no
851
+ * recognised extension
852
+ * @param opts.defaultToPdf when true, an unresolved type falls back to the PDF
853
+ * icon (preserves legacy grid/navigator behaviour). Defaults to the neutral
854
+ * generic file icon.
855
+ */
856
+ declare function getFileTypeIcon(fileName?: string | null, opts?: {
857
+ mime?: string | null;
858
+ defaultToPdf?: boolean;
859
+ }): FileTypeIcon;
860
+
821
861
  /**
822
862
  * ARBI Icon Component. Promoted from the ARBI app for SDK reuse.
823
863
  * Renders the host app's `/favicon.svg` (the consumer serves the asset).
@@ -1778,6 +1818,54 @@ interface DocumentCardProps {
1778
1818
  }
1779
1819
  declare function DocumentCard({ doc, thumbnailUrl, status, selected, onToggleSelect, viewing, onOpen, actions, renaming, onCommitRename, onCancelRename, tooltipContent, marker, testId, className, }: DocumentCardProps): React__default.JSX.Element;
1780
1820
 
1821
+ /**
1822
+ * User Utilities
1823
+ *
1824
+ * A person's display name, avatar colour and initials, the same in every surface.
1825
+ * Uses deterministic color mapping based on user ID (5th character of ID).
1826
+ *
1827
+ * NOTE: given_name and family_name are required fields.
1828
+ */
1829
+
1830
+ /**
1831
+ * Check if a user is an agent (external_id starts with 'agt-')
1832
+ */
1833
+ declare function isAgent(user: {
1834
+ external_id: string;
1835
+ }): boolean;
1836
+ /**
1837
+ * Generate consistent avatar color based on user ID
1838
+ * Uses same pattern as workspace colors - extracts 5th character for deterministic mapping
1839
+ */
1840
+ declare function getUserAvatarColor(userId: string): string;
1841
+ /**
1842
+ * Get user initials from given_name and family_name (both required)
1843
+ * Returns first letter of each name, e.g. "John Doe" -> "JD"
1844
+ */
1845
+ declare function getUserInitials(user: {
1846
+ given_name: string;
1847
+ family_name?: string | null;
1848
+ }): string;
1849
+ /**
1850
+ * Get user display name from given_name and family_name (both required)
1851
+ * Returns full name, e.g. "John Doe"
1852
+ */
1853
+ declare function getUserDisplayName(user: {
1854
+ given_name: string;
1855
+ family_name?: string | null;
1856
+ }): string;
1857
+ /**
1858
+ * Create a user avatar icon element for use in toast notifications.
1859
+ * This is a simple React element (not a component with hooks) so it can be
1860
+ * used outside of React component context (e.g., in WebSocket handlers).
1861
+ */
1862
+ declare function createUserAvatarIcon(user: {
1863
+ external_id: string;
1864
+ given_name: string;
1865
+ family_name?: string | null;
1866
+ picture?: string | null;
1867
+ }): React__default.ReactElement;
1868
+
1781
1869
  /**
1782
1870
  * Core utility: `cn()` — merge class names with Tailwind-aware conflict
1783
1871
  * resolution (clsx + tailwind-merge). Copied faithfully from the ARBI app so the
@@ -1786,4 +1874,4 @@ declare function DocumentCard({ doc, thumbnailUrl, status, selected, onToggleSel
1786
1874
 
1787
1875
  declare function cn(...inputs: ClassValue[]): string;
1788
1876
 
1789
- export { DropdownMenuContent as $, AgentBadge as A, BASE_COLORS as B, Card as C, CommandSeparator as D, CommandShortcut as E, DebouncedInput as F, type DebouncedInputProps as G, Dialog as H, DialogClose as I, DialogContent as J, DialogDescription as K, DialogFooter as L, DialogHeader as M, DialogOverlay as N, DialogPortal as O, type DialogPresentation as P, DialogTitle as Q, DialogTrigger as R, type DictateContextValue as S, DictateProvider as T, DocumentCard as U, type DocumentCardProps as V, DocumentEntity as W, type DocumentEntityProps as X, type DocumentLike as Y, DropdownMenu as Z, DropdownMenuCheckboxItem as _, AiMarkdown as a, ScrollBar as a$, DropdownMenuGroup as a0, DropdownMenuItem as a1, DropdownMenuLabel as a2, DropdownMenuPortal as a3, DropdownMenuRadioGroup as a4, DropdownMenuRadioItem as a5, DropdownMenuSeparator as a6, DropdownMenuShortcut as a7, DropdownMenuSub as a8, DropdownMenuSubContent as a9, MarkdownCode as aA, MarkdownLink as aB, MarkdownRenderer as aC, type MarkdownRendererProps as aD, MarkdownStreamingContext as aE, NEUTRAL_GRAY as aF, PLACEHOLDER_COLOR as aG, PassageCard as aH, type PassageCardProps as aI, Popover as aJ, PopoverAnchor as aK, PopoverClose as aL, PopoverContent as aM, PopoverTrigger as aN, PortalContainerProvider as aO, type PresenceDisplayStatus as aP, PresenceLabel as aQ, Progress as aR, ProjectEntity as aS, type ProjectEntityProps as aT, type ProjectRelation as aU, RadioGroup as aV, RadioGroupItem as aW, type Rag as aX, RagDot as aY, RelevanceDot as aZ, ScrollArea as a_, DropdownMenuSubTrigger as aa, DropdownMenuTrigger as ab, ENTITY_MAPPINGS as ac, EntityIcon as ad, type EntityIconComponent as ae, EntityPill as af, type EntityRegistryOverride as ag, type EntityType as ah, HoverCard as ai, HoverCardContent as aj, HoverCardTrigger as ak, IconToggle as al, type IconToggleProps as am, type IdentityBusy as an, type IdentityProblem as ao, type IdentityPurchase as ap, type IdentityState as aq, type IdentityStatus as ar, type IdentityStep as as, type IdentityVerificationFlow as at, Input as au, type InputProps as av, Label as aw, MarkMenu as ax, type MarkMenuItem as ay, type MarkMenuProps as az, ArbiIcon as b, cardVariants as b$, Select as b0, SelectContent as b1, SelectGroup as b2, SelectItem as b3, SelectLabel as b4, SelectScrollDownButton as b5, SelectScrollUpButton as b6, SelectSeparator as b7, SelectTrigger as b8, SelectValue as b9, type TagLike as bA, Textarea as bB, type TextareaProps as bC, ThreadVisibilityIcon as bD, Toggle as bE, ToggleGroup as bF, ToggleGroupItem as bG, Tooltip as bH, TooltipContent as bI, TooltipProvider as bJ, TooltipTrigger as bK, UserEntity as bL, type UserEntityProps as bM, UserMenu as bN, type UserMenuItem as bO, type UserMenuProps as bP, type UserMenuStatus as bQ, VISIBILITY_ICONS as bR, VerifiedBadge as bS, type VerifiedBadgeProps as bT, VerifiedToggle as bU, VisibilityIcon as bV, VisibilityToggle as bW, type VisibilityToggleProps as bX, agentAvatarColors as bY, badgeVariants as bZ, buttonVariants as b_, Separator as ba, ShieldIcon as bb, type ShieldIconProps as bc, Slider as bd, type StatusBadgeComponent as be, type StatusBadgeProps as bf, StatusPill as bg, type StatusPillProps as bh, type StatusVariant as bi, Switch as bj, TAG_TYPE_ICONS as bk, TAG_TYPE_LABELS as bl, Table as bm, TableBody as bn, TableCaption as bo, TableCell as bp, TableFooter as bq, TableHead as br, TableHeader as bs, TableRow as bt, Tabs as bu, TabsContent as bv, TabsList as bw, TabsTrigger as bx, TagEntity as by, type TagEntityProps as bz, Avatar as c, closeOpenEmphasis as c0, cn as c1, configureEntityRegistry as c2, configureRagLabels as c3, configureStatusRegistry as c4, formatFriendlyDate as c5, friendlyFileType as c6, getDocIcon as c7, getDocumentTitle as c8, getEntityColor as c9, getEntityColorStyles as ca, getEntityIcon as cb, getEntityLabel as cc, getStatusVariant as cd, getTagTypeIcon as ce, getTagTypeLabel as cf, getWorkspaceColor as cg, isAudioFile as ch, isDownloadOnlyFile as ci, isImageDocument as cj, isImageFile as ck, isMediaFile as cl, isVideoFile as cm, markdownBaseComponents as cn, markdownSanitizeSchema as co, normalizeCitationMarkup as cp, splitMarkdownBlocks as cq, tagKindNouns as cr, tagKindTitle as cs, toggleVariants as ct, trimOpenCitation as cu, useDictateContext as cv, usePortalContainer as cw, usesOriginalBytesForViewer as cx, AvatarFallback as d, AvatarImage as e, Badge as f, type BadgeProps as g, Button as h, type ButtonProps as i, CardContent as j, CardDescription as k, CardFooter as l, CardHeader as m, type CardProps as n, CardTitle as o, Checkbox as p, Collapsible as q, CollapsibleContent as r, CollapsibleTrigger as s, Command as t, CommandDialog as u, CommandEmpty as v, CommandGroup as w, CommandInput as x, CommandItem as y, CommandList as z };
1877
+ export { DropdownMenuContent as $, AgentBadge as A, BASE_COLORS as B, Card as C, CommandSeparator as D, CommandShortcut as E, DebouncedInput as F, type DebouncedInputProps as G, Dialog as H, DialogClose as I, DialogContent as J, DialogDescription as K, DialogFooter as L, DialogHeader as M, DialogOverlay as N, DialogPortal as O, type DialogPresentation as P, DialogTitle as Q, DialogTrigger as R, type DictateContextValue as S, DictateProvider as T, DocumentCard as U, type DocumentCardProps as V, DocumentEntity as W, type DocumentEntityProps as X, type DocumentLike as Y, DropdownMenu as Z, DropdownMenuCheckboxItem as _, AiMarkdown as a, ScrollArea as a$, DropdownMenuGroup as a0, DropdownMenuItem as a1, DropdownMenuLabel as a2, DropdownMenuPortal as a3, DropdownMenuRadioGroup as a4, DropdownMenuRadioItem as a5, DropdownMenuSeparator as a6, DropdownMenuShortcut as a7, DropdownMenuSub as a8, DropdownMenuSubContent as a9, type MarkMenuProps as aA, MarkdownCode as aB, MarkdownLink as aC, MarkdownRenderer as aD, type MarkdownRendererProps as aE, MarkdownStreamingContext as aF, NEUTRAL_GRAY as aG, PLACEHOLDER_COLOR as aH, PassageCard as aI, type PassageCardProps as aJ, Popover as aK, PopoverAnchor as aL, PopoverClose as aM, PopoverContent as aN, PopoverTrigger as aO, PortalContainerProvider as aP, type PresenceDisplayStatus as aQ, PresenceLabel as aR, Progress as aS, ProjectEntity as aT, type ProjectEntityProps as aU, type ProjectRelation as aV, RadioGroup as aW, RadioGroupItem as aX, type Rag as aY, RagDot as aZ, RelevanceDot as a_, DropdownMenuSubTrigger as aa, DropdownMenuTrigger as ab, ENTITY_MAPPINGS as ac, EntityIcon as ad, type EntityIconComponent as ae, EntityPill as af, type EntityRegistryOverride as ag, type EntityType as ah, type FileTypeIcon as ai, HoverCard as aj, HoverCardContent as ak, HoverCardTrigger as al, IconToggle as am, type IconToggleProps as an, type IdentityBusy as ao, type IdentityProblem as ap, type IdentityPurchase as aq, type IdentityState as ar, type IdentityStatus as as, type IdentityStep as at, type IdentityVerificationFlow as au, Input as av, type InputProps as aw, Label as ax, MarkMenu as ay, type MarkMenuItem as az, ArbiIcon as b, buttonVariants as b$, ScrollBar as b0, Select as b1, SelectContent as b2, SelectGroup as b3, SelectItem as b4, SelectLabel as b5, SelectScrollDownButton as b6, SelectScrollUpButton as b7, SelectSeparator as b8, SelectTrigger as b9, type TagEntityProps as bA, type TagLike as bB, Textarea as bC, type TextareaProps as bD, ThreadVisibilityIcon as bE, Toggle as bF, ToggleGroup as bG, ToggleGroupItem as bH, Tooltip as bI, TooltipContent as bJ, TooltipProvider as bK, TooltipTrigger as bL, UserEntity as bM, type UserEntityProps as bN, UserMenu as bO, type UserMenuItem as bP, type UserMenuProps as bQ, type UserMenuStatus as bR, VISIBILITY_ICONS as bS, VerifiedBadge as bT, type VerifiedBadgeProps as bU, VerifiedToggle as bV, VisibilityIcon as bW, VisibilityToggle as bX, type VisibilityToggleProps as bY, agentAvatarColors as bZ, badgeVariants as b_, SelectValue as ba, Separator as bb, ShieldIcon as bc, type ShieldIconProps as bd, Slider as be, type StatusBadgeComponent as bf, type StatusBadgeProps as bg, StatusPill as bh, type StatusPillProps as bi, type StatusVariant as bj, Switch as bk, TAG_TYPE_ICONS as bl, TAG_TYPE_LABELS as bm, Table as bn, TableBody as bo, TableCaption as bp, TableCell as bq, TableFooter as br, TableHead as bs, TableHeader as bt, TableRow as bu, Tabs as bv, TabsContent as bw, TabsList as bx, TabsTrigger as by, TagEntity as bz, Avatar as c, cardVariants as c0, closeOpenEmphasis as c1, cn as c2, configureEntityRegistry as c3, configureRagLabels as c4, configureStatusRegistry as c5, createUserAvatarIcon as c6, extensionFromMime as c7, formatFriendlyDate as c8, friendlyFileType as c9, tagKindNouns as cA, tagKindTitle as cB, toggleVariants as cC, trimOpenCitation as cD, useDictateContext as cE, usePortalContainer as cF, usesOriginalBytesForViewer as cG, getDocIcon as ca, getDocumentTitle as cb, getEntityColor as cc, getEntityColorStyles as cd, getEntityIcon as ce, getEntityLabel as cf, getFileExtension as cg, getFileTypeIcon as ch, getStatusVariant as ci, getTagTypeIcon as cj, getTagTypeLabel as ck, getUserAvatarColor as cl, getUserDisplayName as cm, getUserInitials as cn, getWorkspaceColor as co, isAgent as cp, isAudioFile as cq, isDownloadOnlyFile as cr, isImageDocument as cs, isImageFile as ct, isMediaFile as cu, isVideoFile as cv, markdownBaseComponents as cw, markdownSanitizeSchema as cx, normalizeCitationMarkup as cy, splitMarkdownBlocks as cz, AvatarFallback as d, AvatarImage as e, Badge as f, type BadgeProps as g, Button as h, type ButtonProps as i, CardContent as j, CardDescription as k, CardFooter as l, CardHeader as m, type CardProps as n, CardTitle as o, Checkbox as p, Collapsible as q, CollapsibleContent as r, CollapsibleTrigger as s, Command as t, CommandDialog as u, CommandEmpty as v, CommandGroup as w, CommandInput as x, CommandItem as y, CommandList as z };
@@ -818,6 +818,46 @@ interface PassageCardProps {
818
818
  }
819
819
  declare function PassageCard({ header, score, headerRight, active, onClick, footer, className, children, 'data-testid': testId, }: PassageCardProps): React__default.JSX.Element;
820
820
 
821
+ /**
822
+ * Maps a file name (by extension) to the matching branded file-type icon
823
+ * component. Single source of truth so the document grid, navigator, and the
824
+ * file-explorer view all show identical icons.
825
+ *
826
+ * The icon components share a `{ size?, className? }` signature, so callers can
827
+ * render the returned component at any size.
828
+ */
829
+
830
+ type FileTypeIcon = ComponentType<{
831
+ size?: number;
832
+ className?: string;
833
+ }>;
834
+ /** Lower-cased extension (without the dot), or '' when there is none. */
835
+ declare function getFileExtension(fileName?: string | null): string;
836
+ /**
837
+ * Best-effort file extension (no dot) for a MIME type, or '' when unknown.
838
+ * Used to surface the real extension for documents stored with a display title
839
+ * that has none.
840
+ */
841
+ declare function extensionFromMime(mime?: string | null): string;
842
+ /**
843
+ * Returns the icon component for a document.
844
+ *
845
+ * Resolution order: file-name extension → MIME `file_type` → fallback. This
846
+ * mirrors how documents are stored — many carry a display title without an
847
+ * extension, so the MIME type is the reliable signal.
848
+ *
849
+ * @param fileName the document file name (uses its extension)
850
+ * @param opts.mime the document `file_type` (MIME), used when the name has no
851
+ * recognised extension
852
+ * @param opts.defaultToPdf when true, an unresolved type falls back to the PDF
853
+ * icon (preserves legacy grid/navigator behaviour). Defaults to the neutral
854
+ * generic file icon.
855
+ */
856
+ declare function getFileTypeIcon(fileName?: string | null, opts?: {
857
+ mime?: string | null;
858
+ defaultToPdf?: boolean;
859
+ }): FileTypeIcon;
860
+
821
861
  /**
822
862
  * ARBI Icon Component. Promoted from the ARBI app for SDK reuse.
823
863
  * Renders the host app's `/favicon.svg` (the consumer serves the asset).
@@ -1778,6 +1818,54 @@ interface DocumentCardProps {
1778
1818
  }
1779
1819
  declare function DocumentCard({ doc, thumbnailUrl, status, selected, onToggleSelect, viewing, onOpen, actions, renaming, onCommitRename, onCancelRename, tooltipContent, marker, testId, className, }: DocumentCardProps): React__default.JSX.Element;
1780
1820
 
1821
+ /**
1822
+ * User Utilities
1823
+ *
1824
+ * A person's display name, avatar colour and initials, the same in every surface.
1825
+ * Uses deterministic color mapping based on user ID (5th character of ID).
1826
+ *
1827
+ * NOTE: given_name and family_name are required fields.
1828
+ */
1829
+
1830
+ /**
1831
+ * Check if a user is an agent (external_id starts with 'agt-')
1832
+ */
1833
+ declare function isAgent(user: {
1834
+ external_id: string;
1835
+ }): boolean;
1836
+ /**
1837
+ * Generate consistent avatar color based on user ID
1838
+ * Uses same pattern as workspace colors - extracts 5th character for deterministic mapping
1839
+ */
1840
+ declare function getUserAvatarColor(userId: string): string;
1841
+ /**
1842
+ * Get user initials from given_name and family_name (both required)
1843
+ * Returns first letter of each name, e.g. "John Doe" -> "JD"
1844
+ */
1845
+ declare function getUserInitials(user: {
1846
+ given_name: string;
1847
+ family_name?: string | null;
1848
+ }): string;
1849
+ /**
1850
+ * Get user display name from given_name and family_name (both required)
1851
+ * Returns full name, e.g. "John Doe"
1852
+ */
1853
+ declare function getUserDisplayName(user: {
1854
+ given_name: string;
1855
+ family_name?: string | null;
1856
+ }): string;
1857
+ /**
1858
+ * Create a user avatar icon element for use in toast notifications.
1859
+ * This is a simple React element (not a component with hooks) so it can be
1860
+ * used outside of React component context (e.g., in WebSocket handlers).
1861
+ */
1862
+ declare function createUserAvatarIcon(user: {
1863
+ external_id: string;
1864
+ given_name: string;
1865
+ family_name?: string | null;
1866
+ picture?: string | null;
1867
+ }): React__default.ReactElement;
1868
+
1781
1869
  /**
1782
1870
  * Core utility: `cn()` — merge class names with Tailwind-aware conflict
1783
1871
  * resolution (clsx + tailwind-merge). Copied faithfully from the ARBI app so the
@@ -1786,4 +1874,4 @@ declare function DocumentCard({ doc, thumbnailUrl, status, selected, onToggleSel
1786
1874
 
1787
1875
  declare function cn(...inputs: ClassValue[]): string;
1788
1876
 
1789
- export { DropdownMenuContent as $, AgentBadge as A, BASE_COLORS as B, Card as C, CommandSeparator as D, CommandShortcut as E, DebouncedInput as F, type DebouncedInputProps as G, Dialog as H, DialogClose as I, DialogContent as J, DialogDescription as K, DialogFooter as L, DialogHeader as M, DialogOverlay as N, DialogPortal as O, type DialogPresentation as P, DialogTitle as Q, DialogTrigger as R, type DictateContextValue as S, DictateProvider as T, DocumentCard as U, type DocumentCardProps as V, DocumentEntity as W, type DocumentEntityProps as X, type DocumentLike as Y, DropdownMenu as Z, DropdownMenuCheckboxItem as _, AiMarkdown as a, ScrollBar as a$, DropdownMenuGroup as a0, DropdownMenuItem as a1, DropdownMenuLabel as a2, DropdownMenuPortal as a3, DropdownMenuRadioGroup as a4, DropdownMenuRadioItem as a5, DropdownMenuSeparator as a6, DropdownMenuShortcut as a7, DropdownMenuSub as a8, DropdownMenuSubContent as a9, MarkdownCode as aA, MarkdownLink as aB, MarkdownRenderer as aC, type MarkdownRendererProps as aD, MarkdownStreamingContext as aE, NEUTRAL_GRAY as aF, PLACEHOLDER_COLOR as aG, PassageCard as aH, type PassageCardProps as aI, Popover as aJ, PopoverAnchor as aK, PopoverClose as aL, PopoverContent as aM, PopoverTrigger as aN, PortalContainerProvider as aO, type PresenceDisplayStatus as aP, PresenceLabel as aQ, Progress as aR, ProjectEntity as aS, type ProjectEntityProps as aT, type ProjectRelation as aU, RadioGroup as aV, RadioGroupItem as aW, type Rag as aX, RagDot as aY, RelevanceDot as aZ, ScrollArea as a_, DropdownMenuSubTrigger as aa, DropdownMenuTrigger as ab, ENTITY_MAPPINGS as ac, EntityIcon as ad, type EntityIconComponent as ae, EntityPill as af, type EntityRegistryOverride as ag, type EntityType as ah, HoverCard as ai, HoverCardContent as aj, HoverCardTrigger as ak, IconToggle as al, type IconToggleProps as am, type IdentityBusy as an, type IdentityProblem as ao, type IdentityPurchase as ap, type IdentityState as aq, type IdentityStatus as ar, type IdentityStep as as, type IdentityVerificationFlow as at, Input as au, type InputProps as av, Label as aw, MarkMenu as ax, type MarkMenuItem as ay, type MarkMenuProps as az, ArbiIcon as b, cardVariants as b$, Select as b0, SelectContent as b1, SelectGroup as b2, SelectItem as b3, SelectLabel as b4, SelectScrollDownButton as b5, SelectScrollUpButton as b6, SelectSeparator as b7, SelectTrigger as b8, SelectValue as b9, type TagLike as bA, Textarea as bB, type TextareaProps as bC, ThreadVisibilityIcon as bD, Toggle as bE, ToggleGroup as bF, ToggleGroupItem as bG, Tooltip as bH, TooltipContent as bI, TooltipProvider as bJ, TooltipTrigger as bK, UserEntity as bL, type UserEntityProps as bM, UserMenu as bN, type UserMenuItem as bO, type UserMenuProps as bP, type UserMenuStatus as bQ, VISIBILITY_ICONS as bR, VerifiedBadge as bS, type VerifiedBadgeProps as bT, VerifiedToggle as bU, VisibilityIcon as bV, VisibilityToggle as bW, type VisibilityToggleProps as bX, agentAvatarColors as bY, badgeVariants as bZ, buttonVariants as b_, Separator as ba, ShieldIcon as bb, type ShieldIconProps as bc, Slider as bd, type StatusBadgeComponent as be, type StatusBadgeProps as bf, StatusPill as bg, type StatusPillProps as bh, type StatusVariant as bi, Switch as bj, TAG_TYPE_ICONS as bk, TAG_TYPE_LABELS as bl, Table as bm, TableBody as bn, TableCaption as bo, TableCell as bp, TableFooter as bq, TableHead as br, TableHeader as bs, TableRow as bt, Tabs as bu, TabsContent as bv, TabsList as bw, TabsTrigger as bx, TagEntity as by, type TagEntityProps as bz, Avatar as c, closeOpenEmphasis as c0, cn as c1, configureEntityRegistry as c2, configureRagLabels as c3, configureStatusRegistry as c4, formatFriendlyDate as c5, friendlyFileType as c6, getDocIcon as c7, getDocumentTitle as c8, getEntityColor as c9, getEntityColorStyles as ca, getEntityIcon as cb, getEntityLabel as cc, getStatusVariant as cd, getTagTypeIcon as ce, getTagTypeLabel as cf, getWorkspaceColor as cg, isAudioFile as ch, isDownloadOnlyFile as ci, isImageDocument as cj, isImageFile as ck, isMediaFile as cl, isVideoFile as cm, markdownBaseComponents as cn, markdownSanitizeSchema as co, normalizeCitationMarkup as cp, splitMarkdownBlocks as cq, tagKindNouns as cr, tagKindTitle as cs, toggleVariants as ct, trimOpenCitation as cu, useDictateContext as cv, usePortalContainer as cw, usesOriginalBytesForViewer as cx, AvatarFallback as d, AvatarImage as e, Badge as f, type BadgeProps as g, Button as h, type ButtonProps as i, CardContent as j, CardDescription as k, CardFooter as l, CardHeader as m, type CardProps as n, CardTitle as o, Checkbox as p, Collapsible as q, CollapsibleContent as r, CollapsibleTrigger as s, Command as t, CommandDialog as u, CommandEmpty as v, CommandGroup as w, CommandInput as x, CommandItem as y, CommandList as z };
1877
+ export { DropdownMenuContent as $, AgentBadge as A, BASE_COLORS as B, Card as C, CommandSeparator as D, CommandShortcut as E, DebouncedInput as F, type DebouncedInputProps as G, Dialog as H, DialogClose as I, DialogContent as J, DialogDescription as K, DialogFooter as L, DialogHeader as M, DialogOverlay as N, DialogPortal as O, type DialogPresentation as P, DialogTitle as Q, DialogTrigger as R, type DictateContextValue as S, DictateProvider as T, DocumentCard as U, type DocumentCardProps as V, DocumentEntity as W, type DocumentEntityProps as X, type DocumentLike as Y, DropdownMenu as Z, DropdownMenuCheckboxItem as _, AiMarkdown as a, ScrollArea as a$, DropdownMenuGroup as a0, DropdownMenuItem as a1, DropdownMenuLabel as a2, DropdownMenuPortal as a3, DropdownMenuRadioGroup as a4, DropdownMenuRadioItem as a5, DropdownMenuSeparator as a6, DropdownMenuShortcut as a7, DropdownMenuSub as a8, DropdownMenuSubContent as a9, type MarkMenuProps as aA, MarkdownCode as aB, MarkdownLink as aC, MarkdownRenderer as aD, type MarkdownRendererProps as aE, MarkdownStreamingContext as aF, NEUTRAL_GRAY as aG, PLACEHOLDER_COLOR as aH, PassageCard as aI, type PassageCardProps as aJ, Popover as aK, PopoverAnchor as aL, PopoverClose as aM, PopoverContent as aN, PopoverTrigger as aO, PortalContainerProvider as aP, type PresenceDisplayStatus as aQ, PresenceLabel as aR, Progress as aS, ProjectEntity as aT, type ProjectEntityProps as aU, type ProjectRelation as aV, RadioGroup as aW, RadioGroupItem as aX, type Rag as aY, RagDot as aZ, RelevanceDot as a_, DropdownMenuSubTrigger as aa, DropdownMenuTrigger as ab, ENTITY_MAPPINGS as ac, EntityIcon as ad, type EntityIconComponent as ae, EntityPill as af, type EntityRegistryOverride as ag, type EntityType as ah, type FileTypeIcon as ai, HoverCard as aj, HoverCardContent as ak, HoverCardTrigger as al, IconToggle as am, type IconToggleProps as an, type IdentityBusy as ao, type IdentityProblem as ap, type IdentityPurchase as aq, type IdentityState as ar, type IdentityStatus as as, type IdentityStep as at, type IdentityVerificationFlow as au, Input as av, type InputProps as aw, Label as ax, MarkMenu as ay, type MarkMenuItem as az, ArbiIcon as b, buttonVariants as b$, ScrollBar as b0, Select as b1, SelectContent as b2, SelectGroup as b3, SelectItem as b4, SelectLabel as b5, SelectScrollDownButton as b6, SelectScrollUpButton as b7, SelectSeparator as b8, SelectTrigger as b9, type TagEntityProps as bA, type TagLike as bB, Textarea as bC, type TextareaProps as bD, ThreadVisibilityIcon as bE, Toggle as bF, ToggleGroup as bG, ToggleGroupItem as bH, Tooltip as bI, TooltipContent as bJ, TooltipProvider as bK, TooltipTrigger as bL, UserEntity as bM, type UserEntityProps as bN, UserMenu as bO, type UserMenuItem as bP, type UserMenuProps as bQ, type UserMenuStatus as bR, VISIBILITY_ICONS as bS, VerifiedBadge as bT, type VerifiedBadgeProps as bU, VerifiedToggle as bV, VisibilityIcon as bW, VisibilityToggle as bX, type VisibilityToggleProps as bY, agentAvatarColors as bZ, badgeVariants as b_, SelectValue as ba, Separator as bb, ShieldIcon as bc, type ShieldIconProps as bd, Slider as be, type StatusBadgeComponent as bf, type StatusBadgeProps as bg, StatusPill as bh, type StatusPillProps as bi, type StatusVariant as bj, Switch as bk, TAG_TYPE_ICONS as bl, TAG_TYPE_LABELS as bm, Table as bn, TableBody as bo, TableCaption as bp, TableCell as bq, TableFooter as br, TableHead as bs, TableHeader as bt, TableRow as bu, Tabs as bv, TabsContent as bw, TabsList as bx, TabsTrigger as by, TagEntity as bz, Avatar as c, cardVariants as c0, closeOpenEmphasis as c1, cn as c2, configureEntityRegistry as c3, configureRagLabels as c4, configureStatusRegistry as c5, createUserAvatarIcon as c6, extensionFromMime as c7, formatFriendlyDate as c8, friendlyFileType as c9, tagKindNouns as cA, tagKindTitle as cB, toggleVariants as cC, trimOpenCitation as cD, useDictateContext as cE, usePortalContainer as cF, usesOriginalBytesForViewer as cG, getDocIcon as ca, getDocumentTitle as cb, getEntityColor as cc, getEntityColorStyles as cd, getEntityIcon as ce, getEntityLabel as cf, getFileExtension as cg, getFileTypeIcon as ch, getStatusVariant as ci, getTagTypeIcon as cj, getTagTypeLabel as ck, getUserAvatarColor as cl, getUserDisplayName as cm, getUserInitials as cn, getWorkspaceColor as co, isAgent as cp, isAudioFile as cq, isDownloadOnlyFile as cr, isImageDocument as cs, isImageFile as ct, isMediaFile as cu, isVideoFile as cv, markdownBaseComponents as cw, markdownSanitizeSchema as cx, normalizeCitationMarkup as cy, splitMarkdownBlocks as cz, AvatarFallback as d, AvatarImage as e, Badge as f, type BadgeProps as g, Button as h, type ButtonProps as i, CardContent as j, CardDescription as k, CardFooter as l, CardHeader as m, type CardProps as n, CardTitle as o, Checkbox as p, Collapsible as q, CollapsibleContent as r, CollapsibleTrigger as s, Command as t, CommandDialog as u, CommandEmpty as v, CommandGroup as w, CommandInput as x, CommandItem as y, CommandList as z };