@vantageos/mosaic-blocks 0.5.25-alpha → 0.5.27-alpha
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 +3 -3
- package/dist/index.cjs +171 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +184 -2
- package/dist/index.d.ts +184 -2
- package/dist/index.js +168 -12
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -21,7 +21,7 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
|
|
|
21
21
|
import { AlertDialog } from '@base-ui/react/alert-dialog';
|
|
22
22
|
export { Tooltip } from '@base-ui/react/tooltip';
|
|
23
23
|
|
|
24
|
-
declare const version = "0.5.
|
|
24
|
+
declare const version = "0.5.27-alpha";
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* Placeholder component — infra scaffold only.
|
|
@@ -7812,6 +7812,85 @@ declare const drawerPopupVariants: (props?: ({
|
|
|
7812
7812
|
/** Backdrop overlay behind the popup. */
|
|
7813
7813
|
declare const drawerBackdropVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
7814
7814
|
|
|
7815
|
+
interface MosaicPopoverProps {
|
|
7816
|
+
/** Controlled open state — the host owns the truth. */
|
|
7817
|
+
open: boolean;
|
|
7818
|
+
/** Controlled state setter, called on every open/close intent. */
|
|
7819
|
+
onOpenChange: (open: boolean) => void;
|
|
7820
|
+
/**
|
|
7821
|
+
* The element the popup is positioned against. Any host element — a
|
|
7822
|
+
* button, a text input, a table cell — not limited to a
|
|
7823
|
+
* `Popover.Trigger`-rendered button.
|
|
7824
|
+
*/
|
|
7825
|
+
anchor: React.RefObject<Element | null>;
|
|
7826
|
+
/** Host-owned content: list, form, or any other panel body. */
|
|
7827
|
+
children: React.ReactNode;
|
|
7828
|
+
/** Side of the anchor the popup opens toward. @default "bottom" */
|
|
7829
|
+
side?: "top" | "bottom" | "left" | "right";
|
|
7830
|
+
/** Alignment relative to the anchor. @default "start" */
|
|
7831
|
+
align?: "start" | "center" | "end";
|
|
7832
|
+
/**
|
|
7833
|
+
* Interaction scope while open.
|
|
7834
|
+
* - `false` (default): the rest of the page stays interactive — the
|
|
7835
|
+
* right choice when anchoring to a live input the host wants to keep
|
|
7836
|
+
* receiving keystrokes.
|
|
7837
|
+
* - `true` / `"trap-focus"`: stronger isolation for standalone popover
|
|
7838
|
+
* menus.
|
|
7839
|
+
* @default false
|
|
7840
|
+
*/
|
|
7841
|
+
modal?: boolean | "trap-focus";
|
|
7842
|
+
/**
|
|
7843
|
+
* Element to move focus to when the popup opens. `false` leaves focus on
|
|
7844
|
+
* the host's own anchor (e.g. a text input mid-typing); `true` moves
|
|
7845
|
+
* focus to the first tabbable element inside the popup.
|
|
7846
|
+
* @default false
|
|
7847
|
+
*/
|
|
7848
|
+
initialFocus?: boolean | React.RefObject<HTMLElement | null>;
|
|
7849
|
+
/**
|
|
7850
|
+
* Optional accessible name for the popup surface. No default — omit it
|
|
7851
|
+
* when the host's content already carries its own accessible structure
|
|
7852
|
+
* (e.g. a labelled list).
|
|
7853
|
+
*/
|
|
7854
|
+
"aria-label"?: string;
|
|
7855
|
+
className?: string;
|
|
7856
|
+
}
|
|
7857
|
+
/**
|
|
7858
|
+
* MosaicPopover — anchored floating panel for @vantageos/mosaic-blocks.
|
|
7859
|
+
*
|
|
7860
|
+
* @example
|
|
7861
|
+
* // Anchored to a live text input; focus stays on the input while the
|
|
7862
|
+
* // host renders its own selectable list of entries.
|
|
7863
|
+
* const anchorRef = useRef<HTMLInputElement>(null);
|
|
7864
|
+
* <input ref={anchorRef} onChange={handleTyping} />
|
|
7865
|
+
* <MosaicPopover open={open} onOpenChange={setOpen} anchor={anchorRef}>
|
|
7866
|
+
* <ul role="listbox">
|
|
7867
|
+
* {entries.map((entry) => (
|
|
7868
|
+
* <li key={entry.id}>
|
|
7869
|
+
* <button type="button" onClick={() => selectEntry(entry)}>
|
|
7870
|
+
* {entry.label}
|
|
7871
|
+
* </button>
|
|
7872
|
+
* </li>
|
|
7873
|
+
* ))}
|
|
7874
|
+
* </ul>
|
|
7875
|
+
* </MosaicPopover>
|
|
7876
|
+
*/
|
|
7877
|
+
declare function MosaicPopover({ open, onOpenChange, anchor, children, side, align, modal, initialFocus, "aria-label": ariaLabel, className, }: MosaicPopoverProps): React.JSX.Element;
|
|
7878
|
+
declare namespace MosaicPopover {
|
|
7879
|
+
var displayName: string;
|
|
7880
|
+
}
|
|
7881
|
+
|
|
7882
|
+
/**
|
|
7883
|
+
* popoverPopupVariants — pure CVA variant function for MosaicPopover.
|
|
7884
|
+
*
|
|
7885
|
+
* Isolated in its own module so it can be re-exported from the
|
|
7886
|
+
* `@vantageos/mosaic-blocks/server` subpath without pulling in React or
|
|
7887
|
+
* @base-ui/react.
|
|
7888
|
+
*
|
|
7889
|
+
* Zero browser / React runtime dependencies — safe in RSC / Node.js.
|
|
7890
|
+
*/
|
|
7891
|
+
/** Floating popup panel — anchored, transitions in/out with the positioner. */
|
|
7892
|
+
declare const popoverPopupVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
7893
|
+
|
|
7815
7894
|
/**
|
|
7816
7895
|
* MosaicTemplateCategoryChips — presentational horizontal chip row filtering
|
|
7817
7896
|
* agent-templates by category.
|
|
@@ -8310,4 +8389,107 @@ declare namespace MosaicTemplateManagementPanel {
|
|
|
8310
8389
|
|
|
8311
8390
|
declare const templateManagementRowVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
8312
8391
|
|
|
8313
|
-
export { type Breakpoint, type DeviceContextValue, type Feature3ColItem, type FeatureItem, type FooterColumn, type FooterLink, type HeroCta, type LogoItem, MosaicAccordion, MosaicAccordionItem, type MosaicAccordionItemProps, MosaicAccordionPanel, type MosaicAccordionPanelProps, type MosaicAccordionProps, MosaicAccordionTrigger, type MosaicAccordionTriggerProps, type MosaicActionAccent, type MosaicActivity, MosaicActivityFeed, type MosaicActivityFeedProps, MosaicActivityItem, type MosaicActivityItemProps, type MosaicActivityStatus, MosaicAdaptiveGrid, type MosaicAdaptiveGridProps, MosaicAdaptiveModal, type MosaicAdaptiveModalProps, MosaicAdaptiveNavigation, type MosaicAdaptiveNavigationProps, MosaicAgentBuilderModal, type MosaicAgentBuilderModalProps, MosaicAgentCard, type MosaicAgentCardProps, MosaicAgentChat, type MosaicAgentChatApprovalLabels, type MosaicAgentChatApprovalRequest, type MosaicAgentChatApprovalResponsePayload, type MosaicAgentChatMessage, type MosaicAgentChatMessagePart, type MosaicAgentChatProps, type MosaicAgentChatState, type MosaicAgentChatToolPart, type MosaicAgentChatToolPartState, MosaicAgentComposer, MosaicAgentComposerDesktop, MosaicAgentComposerMobile, type MosaicAgentComposerMobileProps, type MosaicAgentComposerProps, type MosaicAgentData, MosaicAgentEditor, type MosaicAgentEditorProps, MosaicAgentList, AgentListDesktop as MosaicAgentListDesktop, AgentListMobile as MosaicAgentListMobile, type MosaicAgentListProps, type MosaicAgentPreset, MosaicAgentPreview, type MosaicAgentPreviewAttribute, type MosaicAgentPreviewDetailedProps, type MosaicAgentPreviewProps, type MosaicAgentPreviewSummaryProps, MosaicAgentTeamPreview, type MosaicAgentTeamPreviewProps, MosaicAlertDialog, MosaicAlertDialogAction, type MosaicAlertDialogActionProps, MosaicAlertDialogCancel, type MosaicAlertDialogCancelProps, MosaicAlertDialogContent, type MosaicAlertDialogContentProps, MosaicAlertDialogDescription, type MosaicAlertDialogDescriptionProps, MosaicAlertDialogFooter, MosaicAlertDialogHeader, MosaicAlertDialogOverlay, type MosaicAlertDialogOverlayProps, MosaicAlertDialogPortal, MosaicAlertDialogTitle, type MosaicAlertDialogTitleProps, MosaicAlertDialogTrigger, MosaicAnimatedList, type MosaicAnimatedListProps, MosaicApiKeyPanel, type MosaicApiKeyPanelProps, type MosaicApiKeyPanelProvider, type MosaicApiKeyPanelState, MosaicAppSidebar, type MosaicAppSidebarProps, MosaicApprovalPrompt, type MosaicApprovalPromptProps, type MosaicApprovalPromptState, MosaicAvatar, type MosaicAvatarProps, MosaicBadge, type MosaicBadgeProps, MosaicBlurredOrb, type MosaicBlurredOrbProps, type MosaicBreadcrumb, MosaicButton, type MosaicButtonProps, MosaicCard, MosaicCardContent, type MosaicCardContentProps, MosaicCardDescription, type MosaicCardDescriptionProps, MosaicCardFooter, type MosaicCardFooterProps, MosaicCardHeader, type MosaicCardHeaderProps, type MosaicCardProps, MosaicCardTitle, type MosaicCardTitleProps, MosaicChatComposer, type MosaicChatComposerProps, type MosaicChatComposerState, MosaicChatMessage, type MosaicChatMessageAttachmentPart, type MosaicChatMessagePart, type MosaicChatMessageProps, type MosaicChatMessageReasoningPart, type MosaicChatMessageSenderRole, type MosaicChatMessageTextPart, type MosaicChatMessageToolPart, type MosaicChatMessageToolState, type MosaicChatMessageToolStatusLabels, MosaicChatThread, type MosaicChatThreadProps, MosaicCheckbox, type MosaicCheckboxProps, type MosaicClerkMembership, MosaicClerkOrgSwitcher, type MosaicClerkOrgSwitcherProps, type MosaicClerkOrganization, MosaicClerkWebhookHandler, type MosaicClerkWebhookHandlerOptions, MosaicCollapsible, MosaicCollapsiblePanel, type MosaicCollapsiblePanelProps, type MosaicCollapsibleProps, MosaicCollapsibleTrigger, type MosaicCollapsibleTriggerProps, MosaicCombobox, type MosaicComboboxItem, type MosaicComboboxProps, type MosaicComposerModel, type MosaicComposerModule, MosaicCounter, type MosaicCounterProps, MosaicCreateOrgDialog, type MosaicCreateOrgDialogProps, MosaicDashboardContent, type MosaicDashboardContentProps, MosaicDashboardHeader, type MosaicDashboardHeaderProps, MosaicDashboardLayout, type MosaicDashboardLayoutProps, type MosaicDashboardView, MosaicDataTable, type MosaicDataTableColumn, type MosaicDataTablePagination, type MosaicDataTableProps, MosaicDeleteConfirmationDialog, type MosaicDeleteConfirmationDialogProps, MosaicDeviceProvider, type MosaicDeviceProviderProps, MosaicDocumentUpload, type MosaicDocumentUploadFile, type MosaicDocumentUploadFileStatus, type MosaicDocumentUploadProps, MosaicDrawer, type MosaicDrawerProps, MosaicDropdownMenu, type MosaicDropdownMenuItem, type MosaicDropdownMenuProps, MosaicEmptyState, type MosaicEmptyStateProps, MosaicFallingPattern, type MosaicFallingPatternProps, MosaicFeature3Col, type MosaicFeature3ColProps, MosaicFeatureCenteredMedia, type MosaicFeatureCenteredMediaProps, MosaicField, MosaicFieldControl, type MosaicFieldControlProps, MosaicFieldDescription, type MosaicFieldDescriptionProps, MosaicFieldError, type MosaicFieldErrorProps, MosaicFieldLabel, type MosaicFieldLabelProps, type MosaicFieldProps, MosaicFilterBar, type MosaicFilterBarProps, type MosaicFilterOption, MosaicFilterSidebar, type MosaicFilterSidebarProps, MosaicFooterSimple, type MosaicFooterSimpleProps, MosaicHeroSplit, type MosaicHeroSplitProps, MosaicInput, MosaicInputGroup, type MosaicInputGroupProps, type MosaicInputProps, MosaicIntegrationsBadge, type MosaicIntegrationsBadgeProps, MosaicInviteMemberDialog, type MosaicInviteMemberDialogProps, MosaicKanbanBoard, type MosaicKanbanBoardProps, MosaicKanbanColumn, type MosaicKanbanColumnProps, MosaicLogosGrid, type MosaicLogosGridProps, MosaicMainNav, type MosaicMainNavProps, MosaicMarkdown, type MosaicMarkdownProps, MosaicMarketplaceCard, type MosaicMarketplaceCardProps, type MosaicMarketplaceItem, MosaicMarketplaceList, MarketplaceListDesktop as MosaicMarketplaceListDesktop, MarketplaceListMobile as MosaicMarketplaceListMobile, type MosaicMarketplaceListProps, MosaicMemberList, type MosaicMemberListProps, MosaicMemoryCard, type MosaicMemoryCardProps, type MosaicMemoryData, type MosaicMemoryScope, type MosaicMemorySource, type MosaicMessage, MosaicMessageCard, type MosaicMessageCardProps, MosaicMessageList, MessageListDesktop as MosaicMessageListDesktop, MessageListMobile as MosaicMessageListMobile, type MosaicMessageListProps, type MosaicMessageReactions, type MosaicMessageSender, type MosaicMessageSenderType, type MosaicModelOption, MosaicModelSelector, type MosaicModelSelectorProps, MosaicModuleCard, type MosaicModuleCardProps, type MosaicModuleData, MosaicModuleForm, type MosaicModuleFormField, type MosaicModuleFormProps, type MosaicModuleItem, MosaicModuleLibrary, type MosaicModuleLibraryProps, type MosaicModuleType, MosaicMultiOrgIndicator, type MosaicMultiOrgIndicatorProps, MosaicMultiTenantProvider, type MosaicMultiTenantProviderProps, type MosaicNavItem, MosaicNavbar, type MosaicNavbarProps, type MosaicNavigationItem, type MosaicOrg, type MosaicOrgInfo, type MosaicOrgMember, MosaicOrgPanel, type MosaicOrgPanelProps, type MosaicOrgPanelTab, MosaicOrgProfilePage, type MosaicOrgProfilePageProps, type MosaicOrgRole, MosaicOrgRoleBadge, type MosaicOrgRoleBadgeProps, type MosaicOrgStats, MosaicOrgSwitcher, type MosaicOrgSwitcherProps, MosaicPdfViewer, type MosaicPdfViewerProps, type MosaicSelectItem as MosaicPrefSelectItem, type MosaicPreference, type MosaicPreferenceGroup, MosaicPreferencesPanel, type MosaicPreferencesPanelProps, MosaicPricingCard, type MosaicPricingCardProps, type MosaicProfileField, MosaicProfilePanel, type MosaicProfilePanelProps, MosaicProgress, type MosaicProgressProps, type MosaicQuickAction$1 as MosaicQuickAction, MosaicQuickActionCard, type MosaicQuickActionCardProps, MosaicQuickActionsMenu, type MosaicQuickAction as MosaicQuickActionsMenuItem, type MosaicQuickActionsMenuProps, type MosaicQuickAgent, MosaicQuickAgentSelector, type MosaicQuickAgentSelectorProps, MosaicQuickStartPanel, type MosaicQuickStartPanelProps, MosaicRadioGroup, MosaicRadioGroupItem, type MosaicRadioGroupItemProps, type MosaicRadioGroupProps, MosaicResizableSplitPane, type MosaicResizableSplitPaneProps, MosaicSaveTemplateModal, type MosaicSaveTemplateModalProps, type MosaicScenario, MosaicScrollArea, type MosaicScrollAreaProps, MosaicSelect, type MosaicSelectItem$1 as MosaicSelectItem, type MosaicSelectProps, type MosaicSelectorCategory, type MosaicSelectorItem, MosaicSelectorModal, type MosaicSelectorModalProps, MosaicSeparator, type MosaicSeparatorProps, type MosaicSidebarFooterStatus, type MosaicSidebarNavItem, type MosaicSidebarQuickAction, type MosaicSidebarRecentItem, MosaicSignInLayout, type MosaicSignInLayoutProps, MosaicSignUpLayout, type MosaicSignUpLayoutProps, MosaicSkeleton, type MosaicSkeletonProps, MosaicSlider, type MosaicSliderProps, type MosaicStatItem, MosaicStatsGrid, type MosaicStatsGridProps, type MosaicStep, MosaicStepPipeline, type MosaicStepPipelineDotsProps, type MosaicStepPipelineProps, type MosaicStepPipelineSegmentsProps, type MosaicStepStatus, MosaicSwitch, type MosaicSwitchProps, MosaicTabs, MosaicTabsList, type MosaicTabsListProps, MosaicTabsPanel, type MosaicTabsPanelProps, type MosaicTabsProps, MosaicTabsTrigger, type MosaicTabsTriggerProps, MosaicTagInput, type MosaicTagInputProps, type MosaicTemplate, type MosaicTemplateAgent, MosaicTemplateAgentCard, type MosaicTemplateAgentCardProps, type MosaicTemplateAgentData, MosaicTemplateCard, type MosaicTemplateCardProps, type MosaicTemplateCategory, MosaicTemplateCategoryChips, type MosaicTemplateCategoryChipsProps, MosaicTemplateGallery, type MosaicTemplateGalleryProps, MosaicTemplateList, type MosaicTemplateListProps, type MosaicTemplateManagementItem, MosaicTemplateManagementPanel, type MosaicTemplateManagementPanelProps, type MosaicTemplateMetadata, MosaicTemplatePreview, type MosaicTemplatePreviewProps, MosaicTestimonialsGrid, type MosaicTestimonialsGridProps, MosaicTextarea, type MosaicTextareaProps, MosaicThemeProvider, type MosaicThemeProviderProps, MosaicThemeToggle, type MosaicThemeToggleProps, MosaicToast, type MosaicToastProps, MosaicToastProvider, type MosaicToastProviderPosition, type MosaicToastProviderProps, type MosaicToastVariant, MosaicToolToggleList, type MosaicToolToggleListApprovalLevel, type MosaicToolToggleListProps, type MosaicToolToggleListSection, type MosaicToolToggleListTool, MosaicTooltip, MosaicTooltipContent, type MosaicTooltipContentProps, type MosaicTooltipProps, MosaicTooltipProvider, type MosaicTooltipProviderProps, MosaicTooltipRoot, type MosaicTooltipRootProps, MosaicTooltipTrigger, type MosaicTooltipTriggerProps, MosaicUrlScraper, type MosaicUrlScraperContent, type MosaicUrlScraperProps, type MosaicUrlScraperState, MosaicUserButton, type MosaicUserButtonProps, type MosaicWorkspaceContext, type NavCta, type NavLink, type OrbPosition, type Orientation, Placeholder, type PricingCta, type SocialLink, type StatItem, type TestimonialItem, type Theme, agentBuilderModalBackdropVariants, agentBuilderModalPopupVariants, agentChatRootVariants, agentEditorVariants, agentPreviewVariants, alertDialogContentVariants, alertDialogOverlayVariants, badgeVariants, buttonVariants, chatMessageBubbleVariants, chatMessageContainerVariants, chatMessageToolStatusVariants, drawerBackdropVariants, drawerPopupVariants, marketplaceCardVariants, pdfViewerFrameVariants, pdfViewerStatusVariants, pdfViewerToolbarButtonVariants, saveTemplateModalBodyVariants, saveTemplateModalButtonVariants, saveTemplateModalErrorVariants, saveTemplateModalFieldVariants, saveTemplateModalFooterVariants, skeletonVariants, splitPaneCollapseButtonVariants, splitPaneHandleVariants, splitPaneRootVariants, tagInputFieldVariants, tagInputRemoveButtonVariants, tagInputRootVariants, tagInputTagVariants, templateAgentCardBadgeVariants, templateAgentCardTagVariants, templateAgentCardVariants, templateCategoryChipVariants, templateListVariants, templateManagementRowVariants, toastCardVariants, toastDismissButtonVariants, toastProviderPositionVariants, toastTitleVariants, toolToggleListRowVariants, toolToggleListSectionVariants, useBreakpoint, useDevice, useMosaicWorkspace as useEffectiveWorkspaceId, useIsDesktop, useIsMobile, useIsTablet, useMediaQuery, useMosaicWorkspace, useOrientation, useViewport, version };
|
|
8392
|
+
/**
|
|
8393
|
+
* MosaicChatSidebar — presentational, disposition-only column of
|
|
8394
|
+
* conversation threads.
|
|
8395
|
+
*
|
|
8396
|
+
* Same shape as `MosaicTemplateList`: a scrollable list over host-supplied
|
|
8397
|
+
* items, rendered entirely through a host-supplied `renderThread` — the
|
|
8398
|
+
* sidebar never invents a thread title, timestamp, preview snippet, or any
|
|
8399
|
+
* other domain content. It owns exactly three things: the scrollable
|
|
8400
|
+
* container, a roving-tabindex keyboard-navigable list, and the
|
|
8401
|
+
* active/inactive visual state of each row (driven by the host-controlled
|
|
8402
|
+
* `activeThreadId` prop, never internal state the component invents).
|
|
8403
|
+
*
|
|
8404
|
+
* Selecting a thread (`onSelectThread`) and starting a new one
|
|
8405
|
+
* (`onNewThread`) are callbacks up — the sidebar never mutates the thread
|
|
8406
|
+
* list itself.
|
|
8407
|
+
*
|
|
8408
|
+
* Empty state: the host owns the empty message (`emptyMessage`, required,
|
|
8409
|
+
* no default — SIN-01) — never an invented English fallback and never a
|
|
8410
|
+
* silent blank.
|
|
8411
|
+
*
|
|
8412
|
+
* Keyboard: roving tabindex down the list (native `<ul>` / `<li>` — semantic
|
|
8413
|
+
* list roles come from the elements themselves) — ArrowDown moves focus to
|
|
8414
|
+
* the next thread, ArrowUp to the previous, Home/End jump to the
|
|
8415
|
+
* first/last. Exactly one row is `tabIndex={0}` at a time.
|
|
8416
|
+
*
|
|
8417
|
+
* Deps: class-variance-authority only.
|
|
8418
|
+
*/
|
|
8419
|
+
|
|
8420
|
+
interface MosaicChatSidebarProps<T extends {
|
|
8421
|
+
id: string;
|
|
8422
|
+
}> {
|
|
8423
|
+
/** The threads to lay out. The sidebar never inspects their shape beyond `id`. */
|
|
8424
|
+
threads: T[];
|
|
8425
|
+
/** Host-owned renderer for a single thread — the sidebar owns disposition only. */
|
|
8426
|
+
renderThread: (thread: T, index: number) => React.ReactNode;
|
|
8427
|
+
/**
|
|
8428
|
+
* The currently-active thread id, or `null` when no thread is selected.
|
|
8429
|
+
* Host-controlled — the sidebar never invents its own notion of "active".
|
|
8430
|
+
*/
|
|
8431
|
+
activeThreadId: string | null;
|
|
8432
|
+
/** Called with the thread id when a row is selected (click or Enter/Space). */
|
|
8433
|
+
onSelectThread: (id: string) => void;
|
|
8434
|
+
/** Called when the "new thread" action is triggered. */
|
|
8435
|
+
onNewThread: () => void;
|
|
8436
|
+
/** Label for the "new thread" action. Required, no default. */
|
|
8437
|
+
newThreadLabel: string;
|
|
8438
|
+
/**
|
|
8439
|
+
* Message shown when `threads` is empty. Required, no default — the host
|
|
8440
|
+
* owns the language (e.g. `t('ChatSidebar.empty')`).
|
|
8441
|
+
*/
|
|
8442
|
+
emptyMessage: string;
|
|
8443
|
+
/** Additional Tailwind classes on the root container. */
|
|
8444
|
+
className?: string;
|
|
8445
|
+
/** Additional Tailwind classes on each thread row wrapper. */
|
|
8446
|
+
itemClassName?: string;
|
|
8447
|
+
/** React 19 ref prop — forwarded to the root container. */
|
|
8448
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
8449
|
+
}
|
|
8450
|
+
/**
|
|
8451
|
+
* MosaicChatSidebar — production disposition-only conversation-thread
|
|
8452
|
+
* column for @vantageos/mosaic-blocks.
|
|
8453
|
+
*
|
|
8454
|
+
* Purely presentational: no thread fetching, no sorting, no row content —
|
|
8455
|
+
* the host owns row content via `renderThread`; this component only owns
|
|
8456
|
+
* the scrollable disposition, keyboard roving-tabindex navigation, and the
|
|
8457
|
+
* active-row highlight driven by `activeThreadId`.
|
|
8458
|
+
*
|
|
8459
|
+
* @example
|
|
8460
|
+
* <MosaicChatSidebar
|
|
8461
|
+
* threads={threads}
|
|
8462
|
+
* activeThreadId={currentId}
|
|
8463
|
+
* onSelectThread={(id) => setCurrentId(id)}
|
|
8464
|
+
* onNewThread={() => createThread()}
|
|
8465
|
+
* newThreadLabel="New conversation"
|
|
8466
|
+
* emptyMessage="No conversations yet."
|
|
8467
|
+
* renderThread={(thread) => <span>{thread.title}</span>}
|
|
8468
|
+
* />
|
|
8469
|
+
*/
|
|
8470
|
+
declare function MosaicChatSidebar<T extends {
|
|
8471
|
+
id: string;
|
|
8472
|
+
}>({ threads, renderThread, activeThreadId, onSelectThread, onNewThread, newThreadLabel, emptyMessage, className, itemClassName, ref, }: MosaicChatSidebarProps<T>): React.JSX.Element;
|
|
8473
|
+
declare namespace MosaicChatSidebar {
|
|
8474
|
+
var displayName: string;
|
|
8475
|
+
}
|
|
8476
|
+
|
|
8477
|
+
/**
|
|
8478
|
+
* chatSidebarThreadVariants — pure CVA variant function for
|
|
8479
|
+
* MosaicChatSidebar's per-thread row.
|
|
8480
|
+
*
|
|
8481
|
+
* Isolated in its own module so it can be re-exported from the
|
|
8482
|
+
* `@vantageos/mosaic-blocks/server` subpath without pulling in React.
|
|
8483
|
+
*
|
|
8484
|
+
* Zero browser / React runtime dependencies — safe in RSC / Node.js.
|
|
8485
|
+
*/
|
|
8486
|
+
/**
|
|
8487
|
+
* Per-thread row — owns ONLY the active/inactive visual state. The row
|
|
8488
|
+
* never owns thread content; that is entirely host-supplied via
|
|
8489
|
+
* `renderThread`.
|
|
8490
|
+
*/
|
|
8491
|
+
declare const chatSidebarThreadVariants: (props?: ({
|
|
8492
|
+
active?: boolean | null | undefined;
|
|
8493
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8494
|
+
|
|
8495
|
+
export { type Breakpoint, type DeviceContextValue, type Feature3ColItem, type FeatureItem, type FooterColumn, type FooterLink, type HeroCta, type LogoItem, MosaicAccordion, MosaicAccordionItem, type MosaicAccordionItemProps, MosaicAccordionPanel, type MosaicAccordionPanelProps, type MosaicAccordionProps, MosaicAccordionTrigger, type MosaicAccordionTriggerProps, type MosaicActionAccent, type MosaicActivity, MosaicActivityFeed, type MosaicActivityFeedProps, MosaicActivityItem, type MosaicActivityItemProps, type MosaicActivityStatus, MosaicAdaptiveGrid, type MosaicAdaptiveGridProps, MosaicAdaptiveModal, type MosaicAdaptiveModalProps, MosaicAdaptiveNavigation, type MosaicAdaptiveNavigationProps, MosaicAgentBuilderModal, type MosaicAgentBuilderModalProps, MosaicAgentCard, type MosaicAgentCardProps, MosaicAgentChat, type MosaicAgentChatApprovalLabels, type MosaicAgentChatApprovalRequest, type MosaicAgentChatApprovalResponsePayload, type MosaicAgentChatMessage, type MosaicAgentChatMessagePart, type MosaicAgentChatProps, type MosaicAgentChatState, type MosaicAgentChatToolPart, type MosaicAgentChatToolPartState, MosaicAgentComposer, MosaicAgentComposerDesktop, MosaicAgentComposerMobile, type MosaicAgentComposerMobileProps, type MosaicAgentComposerProps, type MosaicAgentData, MosaicAgentEditor, type MosaicAgentEditorProps, MosaicAgentList, AgentListDesktop as MosaicAgentListDesktop, AgentListMobile as MosaicAgentListMobile, type MosaicAgentListProps, type MosaicAgentPreset, MosaicAgentPreview, type MosaicAgentPreviewAttribute, type MosaicAgentPreviewDetailedProps, type MosaicAgentPreviewProps, type MosaicAgentPreviewSummaryProps, MosaicAgentTeamPreview, type MosaicAgentTeamPreviewProps, MosaicAlertDialog, MosaicAlertDialogAction, type MosaicAlertDialogActionProps, MosaicAlertDialogCancel, type MosaicAlertDialogCancelProps, MosaicAlertDialogContent, type MosaicAlertDialogContentProps, MosaicAlertDialogDescription, type MosaicAlertDialogDescriptionProps, MosaicAlertDialogFooter, MosaicAlertDialogHeader, MosaicAlertDialogOverlay, type MosaicAlertDialogOverlayProps, MosaicAlertDialogPortal, MosaicAlertDialogTitle, type MosaicAlertDialogTitleProps, MosaicAlertDialogTrigger, MosaicAnimatedList, type MosaicAnimatedListProps, MosaicApiKeyPanel, type MosaicApiKeyPanelProps, type MosaicApiKeyPanelProvider, type MosaicApiKeyPanelState, MosaicAppSidebar, type MosaicAppSidebarProps, MosaicApprovalPrompt, type MosaicApprovalPromptProps, type MosaicApprovalPromptState, MosaicAvatar, type MosaicAvatarProps, MosaicBadge, type MosaicBadgeProps, MosaicBlurredOrb, type MosaicBlurredOrbProps, type MosaicBreadcrumb, MosaicButton, type MosaicButtonProps, MosaicCard, MosaicCardContent, type MosaicCardContentProps, MosaicCardDescription, type MosaicCardDescriptionProps, MosaicCardFooter, type MosaicCardFooterProps, MosaicCardHeader, type MosaicCardHeaderProps, type MosaicCardProps, MosaicCardTitle, type MosaicCardTitleProps, MosaicChatComposer, type MosaicChatComposerProps, type MosaicChatComposerState, MosaicChatMessage, type MosaicChatMessageAttachmentPart, type MosaicChatMessagePart, type MosaicChatMessageProps, type MosaicChatMessageReasoningPart, type MosaicChatMessageSenderRole, type MosaicChatMessageTextPart, type MosaicChatMessageToolPart, type MosaicChatMessageToolState, type MosaicChatMessageToolStatusLabels, MosaicChatSidebar, type MosaicChatSidebarProps, MosaicChatThread, type MosaicChatThreadProps, MosaicCheckbox, type MosaicCheckboxProps, type MosaicClerkMembership, MosaicClerkOrgSwitcher, type MosaicClerkOrgSwitcherProps, type MosaicClerkOrganization, MosaicClerkWebhookHandler, type MosaicClerkWebhookHandlerOptions, MosaicCollapsible, MosaicCollapsiblePanel, type MosaicCollapsiblePanelProps, type MosaicCollapsibleProps, MosaicCollapsibleTrigger, type MosaicCollapsibleTriggerProps, MosaicCombobox, type MosaicComboboxItem, type MosaicComboboxProps, type MosaicComposerModel, type MosaicComposerModule, MosaicCounter, type MosaicCounterProps, MosaicCreateOrgDialog, type MosaicCreateOrgDialogProps, MosaicDashboardContent, type MosaicDashboardContentProps, MosaicDashboardHeader, type MosaicDashboardHeaderProps, MosaicDashboardLayout, type MosaicDashboardLayoutProps, type MosaicDashboardView, MosaicDataTable, type MosaicDataTableColumn, type MosaicDataTablePagination, type MosaicDataTableProps, MosaicDeleteConfirmationDialog, type MosaicDeleteConfirmationDialogProps, MosaicDeviceProvider, type MosaicDeviceProviderProps, MosaicDocumentUpload, type MosaicDocumentUploadFile, type MosaicDocumentUploadFileStatus, type MosaicDocumentUploadProps, MosaicDrawer, type MosaicDrawerProps, MosaicDropdownMenu, type MosaicDropdownMenuItem, type MosaicDropdownMenuProps, MosaicEmptyState, type MosaicEmptyStateProps, MosaicFallingPattern, type MosaicFallingPatternProps, MosaicFeature3Col, type MosaicFeature3ColProps, MosaicFeatureCenteredMedia, type MosaicFeatureCenteredMediaProps, MosaicField, MosaicFieldControl, type MosaicFieldControlProps, MosaicFieldDescription, type MosaicFieldDescriptionProps, MosaicFieldError, type MosaicFieldErrorProps, MosaicFieldLabel, type MosaicFieldLabelProps, type MosaicFieldProps, MosaicFilterBar, type MosaicFilterBarProps, type MosaicFilterOption, MosaicFilterSidebar, type MosaicFilterSidebarProps, MosaicFooterSimple, type MosaicFooterSimpleProps, MosaicHeroSplit, type MosaicHeroSplitProps, MosaicInput, MosaicInputGroup, type MosaicInputGroupProps, type MosaicInputProps, MosaicIntegrationsBadge, type MosaicIntegrationsBadgeProps, MosaicInviteMemberDialog, type MosaicInviteMemberDialogProps, MosaicKanbanBoard, type MosaicKanbanBoardProps, MosaicKanbanColumn, type MosaicKanbanColumnProps, MosaicLogosGrid, type MosaicLogosGridProps, MosaicMainNav, type MosaicMainNavProps, MosaicMarkdown, type MosaicMarkdownProps, MosaicMarketplaceCard, type MosaicMarketplaceCardProps, type MosaicMarketplaceItem, MosaicMarketplaceList, MarketplaceListDesktop as MosaicMarketplaceListDesktop, MarketplaceListMobile as MosaicMarketplaceListMobile, type MosaicMarketplaceListProps, MosaicMemberList, type MosaicMemberListProps, MosaicMemoryCard, type MosaicMemoryCardProps, type MosaicMemoryData, type MosaicMemoryScope, type MosaicMemorySource, type MosaicMessage, MosaicMessageCard, type MosaicMessageCardProps, MosaicMessageList, MessageListDesktop as MosaicMessageListDesktop, MessageListMobile as MosaicMessageListMobile, type MosaicMessageListProps, type MosaicMessageReactions, type MosaicMessageSender, type MosaicMessageSenderType, type MosaicModelOption, MosaicModelSelector, type MosaicModelSelectorProps, MosaicModuleCard, type MosaicModuleCardProps, type MosaicModuleData, MosaicModuleForm, type MosaicModuleFormField, type MosaicModuleFormProps, type MosaicModuleItem, MosaicModuleLibrary, type MosaicModuleLibraryProps, type MosaicModuleType, MosaicMultiOrgIndicator, type MosaicMultiOrgIndicatorProps, MosaicMultiTenantProvider, type MosaicMultiTenantProviderProps, type MosaicNavItem, MosaicNavbar, type MosaicNavbarProps, type MosaicNavigationItem, type MosaicOrg, type MosaicOrgInfo, type MosaicOrgMember, MosaicOrgPanel, type MosaicOrgPanelProps, type MosaicOrgPanelTab, MosaicOrgProfilePage, type MosaicOrgProfilePageProps, type MosaicOrgRole, MosaicOrgRoleBadge, type MosaicOrgRoleBadgeProps, type MosaicOrgStats, MosaicOrgSwitcher, type MosaicOrgSwitcherProps, MosaicPdfViewer, type MosaicPdfViewerProps, MosaicPopover, type MosaicPopoverProps, type MosaicSelectItem as MosaicPrefSelectItem, type MosaicPreference, type MosaicPreferenceGroup, MosaicPreferencesPanel, type MosaicPreferencesPanelProps, MosaicPricingCard, type MosaicPricingCardProps, type MosaicProfileField, MosaicProfilePanel, type MosaicProfilePanelProps, MosaicProgress, type MosaicProgressProps, type MosaicQuickAction$1 as MosaicQuickAction, MosaicQuickActionCard, type MosaicQuickActionCardProps, MosaicQuickActionsMenu, type MosaicQuickAction as MosaicQuickActionsMenuItem, type MosaicQuickActionsMenuProps, type MosaicQuickAgent, MosaicQuickAgentSelector, type MosaicQuickAgentSelectorProps, MosaicQuickStartPanel, type MosaicQuickStartPanelProps, MosaicRadioGroup, MosaicRadioGroupItem, type MosaicRadioGroupItemProps, type MosaicRadioGroupProps, MosaicResizableSplitPane, type MosaicResizableSplitPaneProps, MosaicSaveTemplateModal, type MosaicSaveTemplateModalProps, type MosaicScenario, MosaicScrollArea, type MosaicScrollAreaProps, MosaicSelect, type MosaicSelectItem$1 as MosaicSelectItem, type MosaicSelectProps, type MosaicSelectorCategory, type MosaicSelectorItem, MosaicSelectorModal, type MosaicSelectorModalProps, MosaicSeparator, type MosaicSeparatorProps, type MosaicSidebarFooterStatus, type MosaicSidebarNavItem, type MosaicSidebarQuickAction, type MosaicSidebarRecentItem, MosaicSignInLayout, type MosaicSignInLayoutProps, MosaicSignUpLayout, type MosaicSignUpLayoutProps, MosaicSkeleton, type MosaicSkeletonProps, MosaicSlider, type MosaicSliderProps, type MosaicStatItem, MosaicStatsGrid, type MosaicStatsGridProps, type MosaicStep, MosaicStepPipeline, type MosaicStepPipelineDotsProps, type MosaicStepPipelineProps, type MosaicStepPipelineSegmentsProps, type MosaicStepStatus, MosaicSwitch, type MosaicSwitchProps, MosaicTabs, MosaicTabsList, type MosaicTabsListProps, MosaicTabsPanel, type MosaicTabsPanelProps, type MosaicTabsProps, MosaicTabsTrigger, type MosaicTabsTriggerProps, MosaicTagInput, type MosaicTagInputProps, type MosaicTemplate, type MosaicTemplateAgent, MosaicTemplateAgentCard, type MosaicTemplateAgentCardProps, type MosaicTemplateAgentData, MosaicTemplateCard, type MosaicTemplateCardProps, type MosaicTemplateCategory, MosaicTemplateCategoryChips, type MosaicTemplateCategoryChipsProps, MosaicTemplateGallery, type MosaicTemplateGalleryProps, MosaicTemplateList, type MosaicTemplateListProps, type MosaicTemplateManagementItem, MosaicTemplateManagementPanel, type MosaicTemplateManagementPanelProps, type MosaicTemplateMetadata, MosaicTemplatePreview, type MosaicTemplatePreviewProps, MosaicTestimonialsGrid, type MosaicTestimonialsGridProps, MosaicTextarea, type MosaicTextareaProps, MosaicThemeProvider, type MosaicThemeProviderProps, MosaicThemeToggle, type MosaicThemeToggleProps, MosaicToast, type MosaicToastProps, MosaicToastProvider, type MosaicToastProviderPosition, type MosaicToastProviderProps, type MosaicToastVariant, MosaicToolToggleList, type MosaicToolToggleListApprovalLevel, type MosaicToolToggleListProps, type MosaicToolToggleListSection, type MosaicToolToggleListTool, MosaicTooltip, MosaicTooltipContent, type MosaicTooltipContentProps, type MosaicTooltipProps, MosaicTooltipProvider, type MosaicTooltipProviderProps, MosaicTooltipRoot, type MosaicTooltipRootProps, MosaicTooltipTrigger, type MosaicTooltipTriggerProps, MosaicUrlScraper, type MosaicUrlScraperContent, type MosaicUrlScraperProps, type MosaicUrlScraperState, MosaicUserButton, type MosaicUserButtonProps, type MosaicWorkspaceContext, type NavCta, type NavLink, type OrbPosition, type Orientation, Placeholder, type PricingCta, type SocialLink, type StatItem, type TestimonialItem, type Theme, agentBuilderModalBackdropVariants, agentBuilderModalPopupVariants, agentChatRootVariants, agentEditorVariants, agentPreviewVariants, alertDialogContentVariants, alertDialogOverlayVariants, badgeVariants, buttonVariants, chatMessageBubbleVariants, chatMessageContainerVariants, chatMessageToolStatusVariants, chatSidebarThreadVariants, drawerBackdropVariants, drawerPopupVariants, marketplaceCardVariants, pdfViewerFrameVariants, pdfViewerStatusVariants, pdfViewerToolbarButtonVariants, popoverPopupVariants, saveTemplateModalBodyVariants, saveTemplateModalButtonVariants, saveTemplateModalErrorVariants, saveTemplateModalFieldVariants, saveTemplateModalFooterVariants, skeletonVariants, splitPaneCollapseButtonVariants, splitPaneHandleVariants, splitPaneRootVariants, tagInputFieldVariants, tagInputRemoveButtonVariants, tagInputRootVariants, tagInputTagVariants, templateAgentCardBadgeVariants, templateAgentCardTagVariants, templateAgentCardVariants, templateCategoryChipVariants, templateListVariants, templateManagementRowVariants, toastCardVariants, toastDismissButtonVariants, toastProviderPositionVariants, toastTitleVariants, toolToggleListRowVariants, toolToggleListSectionVariants, useBreakpoint, useDevice, useMosaicWorkspace as useEffectiveWorkspaceId, useIsDesktop, useIsMobile, useIsTablet, useMediaQuery, useMosaicWorkspace, useOrientation, useViewport, version };
|
package/dist/index.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
|
|
|
21
21
|
import { AlertDialog } from '@base-ui/react/alert-dialog';
|
|
22
22
|
export { Tooltip } from '@base-ui/react/tooltip';
|
|
23
23
|
|
|
24
|
-
declare const version = "0.5.
|
|
24
|
+
declare const version = "0.5.27-alpha";
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* Placeholder component — infra scaffold only.
|
|
@@ -7812,6 +7812,85 @@ declare const drawerPopupVariants: (props?: ({
|
|
|
7812
7812
|
/** Backdrop overlay behind the popup. */
|
|
7813
7813
|
declare const drawerBackdropVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
7814
7814
|
|
|
7815
|
+
interface MosaicPopoverProps {
|
|
7816
|
+
/** Controlled open state — the host owns the truth. */
|
|
7817
|
+
open: boolean;
|
|
7818
|
+
/** Controlled state setter, called on every open/close intent. */
|
|
7819
|
+
onOpenChange: (open: boolean) => void;
|
|
7820
|
+
/**
|
|
7821
|
+
* The element the popup is positioned against. Any host element — a
|
|
7822
|
+
* button, a text input, a table cell — not limited to a
|
|
7823
|
+
* `Popover.Trigger`-rendered button.
|
|
7824
|
+
*/
|
|
7825
|
+
anchor: React.RefObject<Element | null>;
|
|
7826
|
+
/** Host-owned content: list, form, or any other panel body. */
|
|
7827
|
+
children: React.ReactNode;
|
|
7828
|
+
/** Side of the anchor the popup opens toward. @default "bottom" */
|
|
7829
|
+
side?: "top" | "bottom" | "left" | "right";
|
|
7830
|
+
/** Alignment relative to the anchor. @default "start" */
|
|
7831
|
+
align?: "start" | "center" | "end";
|
|
7832
|
+
/**
|
|
7833
|
+
* Interaction scope while open.
|
|
7834
|
+
* - `false` (default): the rest of the page stays interactive — the
|
|
7835
|
+
* right choice when anchoring to a live input the host wants to keep
|
|
7836
|
+
* receiving keystrokes.
|
|
7837
|
+
* - `true` / `"trap-focus"`: stronger isolation for standalone popover
|
|
7838
|
+
* menus.
|
|
7839
|
+
* @default false
|
|
7840
|
+
*/
|
|
7841
|
+
modal?: boolean | "trap-focus";
|
|
7842
|
+
/**
|
|
7843
|
+
* Element to move focus to when the popup opens. `false` leaves focus on
|
|
7844
|
+
* the host's own anchor (e.g. a text input mid-typing); `true` moves
|
|
7845
|
+
* focus to the first tabbable element inside the popup.
|
|
7846
|
+
* @default false
|
|
7847
|
+
*/
|
|
7848
|
+
initialFocus?: boolean | React.RefObject<HTMLElement | null>;
|
|
7849
|
+
/**
|
|
7850
|
+
* Optional accessible name for the popup surface. No default — omit it
|
|
7851
|
+
* when the host's content already carries its own accessible structure
|
|
7852
|
+
* (e.g. a labelled list).
|
|
7853
|
+
*/
|
|
7854
|
+
"aria-label"?: string;
|
|
7855
|
+
className?: string;
|
|
7856
|
+
}
|
|
7857
|
+
/**
|
|
7858
|
+
* MosaicPopover — anchored floating panel for @vantageos/mosaic-blocks.
|
|
7859
|
+
*
|
|
7860
|
+
* @example
|
|
7861
|
+
* // Anchored to a live text input; focus stays on the input while the
|
|
7862
|
+
* // host renders its own selectable list of entries.
|
|
7863
|
+
* const anchorRef = useRef<HTMLInputElement>(null);
|
|
7864
|
+
* <input ref={anchorRef} onChange={handleTyping} />
|
|
7865
|
+
* <MosaicPopover open={open} onOpenChange={setOpen} anchor={anchorRef}>
|
|
7866
|
+
* <ul role="listbox">
|
|
7867
|
+
* {entries.map((entry) => (
|
|
7868
|
+
* <li key={entry.id}>
|
|
7869
|
+
* <button type="button" onClick={() => selectEntry(entry)}>
|
|
7870
|
+
* {entry.label}
|
|
7871
|
+
* </button>
|
|
7872
|
+
* </li>
|
|
7873
|
+
* ))}
|
|
7874
|
+
* </ul>
|
|
7875
|
+
* </MosaicPopover>
|
|
7876
|
+
*/
|
|
7877
|
+
declare function MosaicPopover({ open, onOpenChange, anchor, children, side, align, modal, initialFocus, "aria-label": ariaLabel, className, }: MosaicPopoverProps): React.JSX.Element;
|
|
7878
|
+
declare namespace MosaicPopover {
|
|
7879
|
+
var displayName: string;
|
|
7880
|
+
}
|
|
7881
|
+
|
|
7882
|
+
/**
|
|
7883
|
+
* popoverPopupVariants — pure CVA variant function for MosaicPopover.
|
|
7884
|
+
*
|
|
7885
|
+
* Isolated in its own module so it can be re-exported from the
|
|
7886
|
+
* `@vantageos/mosaic-blocks/server` subpath without pulling in React or
|
|
7887
|
+
* @base-ui/react.
|
|
7888
|
+
*
|
|
7889
|
+
* Zero browser / React runtime dependencies — safe in RSC / Node.js.
|
|
7890
|
+
*/
|
|
7891
|
+
/** Floating popup panel — anchored, transitions in/out with the positioner. */
|
|
7892
|
+
declare const popoverPopupVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
7893
|
+
|
|
7815
7894
|
/**
|
|
7816
7895
|
* MosaicTemplateCategoryChips — presentational horizontal chip row filtering
|
|
7817
7896
|
* agent-templates by category.
|
|
@@ -8310,4 +8389,107 @@ declare namespace MosaicTemplateManagementPanel {
|
|
|
8310
8389
|
|
|
8311
8390
|
declare const templateManagementRowVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
8312
8391
|
|
|
8313
|
-
export { type Breakpoint, type DeviceContextValue, type Feature3ColItem, type FeatureItem, type FooterColumn, type FooterLink, type HeroCta, type LogoItem, MosaicAccordion, MosaicAccordionItem, type MosaicAccordionItemProps, MosaicAccordionPanel, type MosaicAccordionPanelProps, type MosaicAccordionProps, MosaicAccordionTrigger, type MosaicAccordionTriggerProps, type MosaicActionAccent, type MosaicActivity, MosaicActivityFeed, type MosaicActivityFeedProps, MosaicActivityItem, type MosaicActivityItemProps, type MosaicActivityStatus, MosaicAdaptiveGrid, type MosaicAdaptiveGridProps, MosaicAdaptiveModal, type MosaicAdaptiveModalProps, MosaicAdaptiveNavigation, type MosaicAdaptiveNavigationProps, MosaicAgentBuilderModal, type MosaicAgentBuilderModalProps, MosaicAgentCard, type MosaicAgentCardProps, MosaicAgentChat, type MosaicAgentChatApprovalLabels, type MosaicAgentChatApprovalRequest, type MosaicAgentChatApprovalResponsePayload, type MosaicAgentChatMessage, type MosaicAgentChatMessagePart, type MosaicAgentChatProps, type MosaicAgentChatState, type MosaicAgentChatToolPart, type MosaicAgentChatToolPartState, MosaicAgentComposer, MosaicAgentComposerDesktop, MosaicAgentComposerMobile, type MosaicAgentComposerMobileProps, type MosaicAgentComposerProps, type MosaicAgentData, MosaicAgentEditor, type MosaicAgentEditorProps, MosaicAgentList, AgentListDesktop as MosaicAgentListDesktop, AgentListMobile as MosaicAgentListMobile, type MosaicAgentListProps, type MosaicAgentPreset, MosaicAgentPreview, type MosaicAgentPreviewAttribute, type MosaicAgentPreviewDetailedProps, type MosaicAgentPreviewProps, type MosaicAgentPreviewSummaryProps, MosaicAgentTeamPreview, type MosaicAgentTeamPreviewProps, MosaicAlertDialog, MosaicAlertDialogAction, type MosaicAlertDialogActionProps, MosaicAlertDialogCancel, type MosaicAlertDialogCancelProps, MosaicAlertDialogContent, type MosaicAlertDialogContentProps, MosaicAlertDialogDescription, type MosaicAlertDialogDescriptionProps, MosaicAlertDialogFooter, MosaicAlertDialogHeader, MosaicAlertDialogOverlay, type MosaicAlertDialogOverlayProps, MosaicAlertDialogPortal, MosaicAlertDialogTitle, type MosaicAlertDialogTitleProps, MosaicAlertDialogTrigger, MosaicAnimatedList, type MosaicAnimatedListProps, MosaicApiKeyPanel, type MosaicApiKeyPanelProps, type MosaicApiKeyPanelProvider, type MosaicApiKeyPanelState, MosaicAppSidebar, type MosaicAppSidebarProps, MosaicApprovalPrompt, type MosaicApprovalPromptProps, type MosaicApprovalPromptState, MosaicAvatar, type MosaicAvatarProps, MosaicBadge, type MosaicBadgeProps, MosaicBlurredOrb, type MosaicBlurredOrbProps, type MosaicBreadcrumb, MosaicButton, type MosaicButtonProps, MosaicCard, MosaicCardContent, type MosaicCardContentProps, MosaicCardDescription, type MosaicCardDescriptionProps, MosaicCardFooter, type MosaicCardFooterProps, MosaicCardHeader, type MosaicCardHeaderProps, type MosaicCardProps, MosaicCardTitle, type MosaicCardTitleProps, MosaicChatComposer, type MosaicChatComposerProps, type MosaicChatComposerState, MosaicChatMessage, type MosaicChatMessageAttachmentPart, type MosaicChatMessagePart, type MosaicChatMessageProps, type MosaicChatMessageReasoningPart, type MosaicChatMessageSenderRole, type MosaicChatMessageTextPart, type MosaicChatMessageToolPart, type MosaicChatMessageToolState, type MosaicChatMessageToolStatusLabels, MosaicChatThread, type MosaicChatThreadProps, MosaicCheckbox, type MosaicCheckboxProps, type MosaicClerkMembership, MosaicClerkOrgSwitcher, type MosaicClerkOrgSwitcherProps, type MosaicClerkOrganization, MosaicClerkWebhookHandler, type MosaicClerkWebhookHandlerOptions, MosaicCollapsible, MosaicCollapsiblePanel, type MosaicCollapsiblePanelProps, type MosaicCollapsibleProps, MosaicCollapsibleTrigger, type MosaicCollapsibleTriggerProps, MosaicCombobox, type MosaicComboboxItem, type MosaicComboboxProps, type MosaicComposerModel, type MosaicComposerModule, MosaicCounter, type MosaicCounterProps, MosaicCreateOrgDialog, type MosaicCreateOrgDialogProps, MosaicDashboardContent, type MosaicDashboardContentProps, MosaicDashboardHeader, type MosaicDashboardHeaderProps, MosaicDashboardLayout, type MosaicDashboardLayoutProps, type MosaicDashboardView, MosaicDataTable, type MosaicDataTableColumn, type MosaicDataTablePagination, type MosaicDataTableProps, MosaicDeleteConfirmationDialog, type MosaicDeleteConfirmationDialogProps, MosaicDeviceProvider, type MosaicDeviceProviderProps, MosaicDocumentUpload, type MosaicDocumentUploadFile, type MosaicDocumentUploadFileStatus, type MosaicDocumentUploadProps, MosaicDrawer, type MosaicDrawerProps, MosaicDropdownMenu, type MosaicDropdownMenuItem, type MosaicDropdownMenuProps, MosaicEmptyState, type MosaicEmptyStateProps, MosaicFallingPattern, type MosaicFallingPatternProps, MosaicFeature3Col, type MosaicFeature3ColProps, MosaicFeatureCenteredMedia, type MosaicFeatureCenteredMediaProps, MosaicField, MosaicFieldControl, type MosaicFieldControlProps, MosaicFieldDescription, type MosaicFieldDescriptionProps, MosaicFieldError, type MosaicFieldErrorProps, MosaicFieldLabel, type MosaicFieldLabelProps, type MosaicFieldProps, MosaicFilterBar, type MosaicFilterBarProps, type MosaicFilterOption, MosaicFilterSidebar, type MosaicFilterSidebarProps, MosaicFooterSimple, type MosaicFooterSimpleProps, MosaicHeroSplit, type MosaicHeroSplitProps, MosaicInput, MosaicInputGroup, type MosaicInputGroupProps, type MosaicInputProps, MosaicIntegrationsBadge, type MosaicIntegrationsBadgeProps, MosaicInviteMemberDialog, type MosaicInviteMemberDialogProps, MosaicKanbanBoard, type MosaicKanbanBoardProps, MosaicKanbanColumn, type MosaicKanbanColumnProps, MosaicLogosGrid, type MosaicLogosGridProps, MosaicMainNav, type MosaicMainNavProps, MosaicMarkdown, type MosaicMarkdownProps, MosaicMarketplaceCard, type MosaicMarketplaceCardProps, type MosaicMarketplaceItem, MosaicMarketplaceList, MarketplaceListDesktop as MosaicMarketplaceListDesktop, MarketplaceListMobile as MosaicMarketplaceListMobile, type MosaicMarketplaceListProps, MosaicMemberList, type MosaicMemberListProps, MosaicMemoryCard, type MosaicMemoryCardProps, type MosaicMemoryData, type MosaicMemoryScope, type MosaicMemorySource, type MosaicMessage, MosaicMessageCard, type MosaicMessageCardProps, MosaicMessageList, MessageListDesktop as MosaicMessageListDesktop, MessageListMobile as MosaicMessageListMobile, type MosaicMessageListProps, type MosaicMessageReactions, type MosaicMessageSender, type MosaicMessageSenderType, type MosaicModelOption, MosaicModelSelector, type MosaicModelSelectorProps, MosaicModuleCard, type MosaicModuleCardProps, type MosaicModuleData, MosaicModuleForm, type MosaicModuleFormField, type MosaicModuleFormProps, type MosaicModuleItem, MosaicModuleLibrary, type MosaicModuleLibraryProps, type MosaicModuleType, MosaicMultiOrgIndicator, type MosaicMultiOrgIndicatorProps, MosaicMultiTenantProvider, type MosaicMultiTenantProviderProps, type MosaicNavItem, MosaicNavbar, type MosaicNavbarProps, type MosaicNavigationItem, type MosaicOrg, type MosaicOrgInfo, type MosaicOrgMember, MosaicOrgPanel, type MosaicOrgPanelProps, type MosaicOrgPanelTab, MosaicOrgProfilePage, type MosaicOrgProfilePageProps, type MosaicOrgRole, MosaicOrgRoleBadge, type MosaicOrgRoleBadgeProps, type MosaicOrgStats, MosaicOrgSwitcher, type MosaicOrgSwitcherProps, MosaicPdfViewer, type MosaicPdfViewerProps, type MosaicSelectItem as MosaicPrefSelectItem, type MosaicPreference, type MosaicPreferenceGroup, MosaicPreferencesPanel, type MosaicPreferencesPanelProps, MosaicPricingCard, type MosaicPricingCardProps, type MosaicProfileField, MosaicProfilePanel, type MosaicProfilePanelProps, MosaicProgress, type MosaicProgressProps, type MosaicQuickAction$1 as MosaicQuickAction, MosaicQuickActionCard, type MosaicQuickActionCardProps, MosaicQuickActionsMenu, type MosaicQuickAction as MosaicQuickActionsMenuItem, type MosaicQuickActionsMenuProps, type MosaicQuickAgent, MosaicQuickAgentSelector, type MosaicQuickAgentSelectorProps, MosaicQuickStartPanel, type MosaicQuickStartPanelProps, MosaicRadioGroup, MosaicRadioGroupItem, type MosaicRadioGroupItemProps, type MosaicRadioGroupProps, MosaicResizableSplitPane, type MosaicResizableSplitPaneProps, MosaicSaveTemplateModal, type MosaicSaveTemplateModalProps, type MosaicScenario, MosaicScrollArea, type MosaicScrollAreaProps, MosaicSelect, type MosaicSelectItem$1 as MosaicSelectItem, type MosaicSelectProps, type MosaicSelectorCategory, type MosaicSelectorItem, MosaicSelectorModal, type MosaicSelectorModalProps, MosaicSeparator, type MosaicSeparatorProps, type MosaicSidebarFooterStatus, type MosaicSidebarNavItem, type MosaicSidebarQuickAction, type MosaicSidebarRecentItem, MosaicSignInLayout, type MosaicSignInLayoutProps, MosaicSignUpLayout, type MosaicSignUpLayoutProps, MosaicSkeleton, type MosaicSkeletonProps, MosaicSlider, type MosaicSliderProps, type MosaicStatItem, MosaicStatsGrid, type MosaicStatsGridProps, type MosaicStep, MosaicStepPipeline, type MosaicStepPipelineDotsProps, type MosaicStepPipelineProps, type MosaicStepPipelineSegmentsProps, type MosaicStepStatus, MosaicSwitch, type MosaicSwitchProps, MosaicTabs, MosaicTabsList, type MosaicTabsListProps, MosaicTabsPanel, type MosaicTabsPanelProps, type MosaicTabsProps, MosaicTabsTrigger, type MosaicTabsTriggerProps, MosaicTagInput, type MosaicTagInputProps, type MosaicTemplate, type MosaicTemplateAgent, MosaicTemplateAgentCard, type MosaicTemplateAgentCardProps, type MosaicTemplateAgentData, MosaicTemplateCard, type MosaicTemplateCardProps, type MosaicTemplateCategory, MosaicTemplateCategoryChips, type MosaicTemplateCategoryChipsProps, MosaicTemplateGallery, type MosaicTemplateGalleryProps, MosaicTemplateList, type MosaicTemplateListProps, type MosaicTemplateManagementItem, MosaicTemplateManagementPanel, type MosaicTemplateManagementPanelProps, type MosaicTemplateMetadata, MosaicTemplatePreview, type MosaicTemplatePreviewProps, MosaicTestimonialsGrid, type MosaicTestimonialsGridProps, MosaicTextarea, type MosaicTextareaProps, MosaicThemeProvider, type MosaicThemeProviderProps, MosaicThemeToggle, type MosaicThemeToggleProps, MosaicToast, type MosaicToastProps, MosaicToastProvider, type MosaicToastProviderPosition, type MosaicToastProviderProps, type MosaicToastVariant, MosaicToolToggleList, type MosaicToolToggleListApprovalLevel, type MosaicToolToggleListProps, type MosaicToolToggleListSection, type MosaicToolToggleListTool, MosaicTooltip, MosaicTooltipContent, type MosaicTooltipContentProps, type MosaicTooltipProps, MosaicTooltipProvider, type MosaicTooltipProviderProps, MosaicTooltipRoot, type MosaicTooltipRootProps, MosaicTooltipTrigger, type MosaicTooltipTriggerProps, MosaicUrlScraper, type MosaicUrlScraperContent, type MosaicUrlScraperProps, type MosaicUrlScraperState, MosaicUserButton, type MosaicUserButtonProps, type MosaicWorkspaceContext, type NavCta, type NavLink, type OrbPosition, type Orientation, Placeholder, type PricingCta, type SocialLink, type StatItem, type TestimonialItem, type Theme, agentBuilderModalBackdropVariants, agentBuilderModalPopupVariants, agentChatRootVariants, agentEditorVariants, agentPreviewVariants, alertDialogContentVariants, alertDialogOverlayVariants, badgeVariants, buttonVariants, chatMessageBubbleVariants, chatMessageContainerVariants, chatMessageToolStatusVariants, drawerBackdropVariants, drawerPopupVariants, marketplaceCardVariants, pdfViewerFrameVariants, pdfViewerStatusVariants, pdfViewerToolbarButtonVariants, saveTemplateModalBodyVariants, saveTemplateModalButtonVariants, saveTemplateModalErrorVariants, saveTemplateModalFieldVariants, saveTemplateModalFooterVariants, skeletonVariants, splitPaneCollapseButtonVariants, splitPaneHandleVariants, splitPaneRootVariants, tagInputFieldVariants, tagInputRemoveButtonVariants, tagInputRootVariants, tagInputTagVariants, templateAgentCardBadgeVariants, templateAgentCardTagVariants, templateAgentCardVariants, templateCategoryChipVariants, templateListVariants, templateManagementRowVariants, toastCardVariants, toastDismissButtonVariants, toastProviderPositionVariants, toastTitleVariants, toolToggleListRowVariants, toolToggleListSectionVariants, useBreakpoint, useDevice, useMosaicWorkspace as useEffectiveWorkspaceId, useIsDesktop, useIsMobile, useIsTablet, useMediaQuery, useMosaicWorkspace, useOrientation, useViewport, version };
|
|
8392
|
+
/**
|
|
8393
|
+
* MosaicChatSidebar — presentational, disposition-only column of
|
|
8394
|
+
* conversation threads.
|
|
8395
|
+
*
|
|
8396
|
+
* Same shape as `MosaicTemplateList`: a scrollable list over host-supplied
|
|
8397
|
+
* items, rendered entirely through a host-supplied `renderThread` — the
|
|
8398
|
+
* sidebar never invents a thread title, timestamp, preview snippet, or any
|
|
8399
|
+
* other domain content. It owns exactly three things: the scrollable
|
|
8400
|
+
* container, a roving-tabindex keyboard-navigable list, and the
|
|
8401
|
+
* active/inactive visual state of each row (driven by the host-controlled
|
|
8402
|
+
* `activeThreadId` prop, never internal state the component invents).
|
|
8403
|
+
*
|
|
8404
|
+
* Selecting a thread (`onSelectThread`) and starting a new one
|
|
8405
|
+
* (`onNewThread`) are callbacks up — the sidebar never mutates the thread
|
|
8406
|
+
* list itself.
|
|
8407
|
+
*
|
|
8408
|
+
* Empty state: the host owns the empty message (`emptyMessage`, required,
|
|
8409
|
+
* no default — SIN-01) — never an invented English fallback and never a
|
|
8410
|
+
* silent blank.
|
|
8411
|
+
*
|
|
8412
|
+
* Keyboard: roving tabindex down the list (native `<ul>` / `<li>` — semantic
|
|
8413
|
+
* list roles come from the elements themselves) — ArrowDown moves focus to
|
|
8414
|
+
* the next thread, ArrowUp to the previous, Home/End jump to the
|
|
8415
|
+
* first/last. Exactly one row is `tabIndex={0}` at a time.
|
|
8416
|
+
*
|
|
8417
|
+
* Deps: class-variance-authority only.
|
|
8418
|
+
*/
|
|
8419
|
+
|
|
8420
|
+
interface MosaicChatSidebarProps<T extends {
|
|
8421
|
+
id: string;
|
|
8422
|
+
}> {
|
|
8423
|
+
/** The threads to lay out. The sidebar never inspects their shape beyond `id`. */
|
|
8424
|
+
threads: T[];
|
|
8425
|
+
/** Host-owned renderer for a single thread — the sidebar owns disposition only. */
|
|
8426
|
+
renderThread: (thread: T, index: number) => React.ReactNode;
|
|
8427
|
+
/**
|
|
8428
|
+
* The currently-active thread id, or `null` when no thread is selected.
|
|
8429
|
+
* Host-controlled — the sidebar never invents its own notion of "active".
|
|
8430
|
+
*/
|
|
8431
|
+
activeThreadId: string | null;
|
|
8432
|
+
/** Called with the thread id when a row is selected (click or Enter/Space). */
|
|
8433
|
+
onSelectThread: (id: string) => void;
|
|
8434
|
+
/** Called when the "new thread" action is triggered. */
|
|
8435
|
+
onNewThread: () => void;
|
|
8436
|
+
/** Label for the "new thread" action. Required, no default. */
|
|
8437
|
+
newThreadLabel: string;
|
|
8438
|
+
/**
|
|
8439
|
+
* Message shown when `threads` is empty. Required, no default — the host
|
|
8440
|
+
* owns the language (e.g. `t('ChatSidebar.empty')`).
|
|
8441
|
+
*/
|
|
8442
|
+
emptyMessage: string;
|
|
8443
|
+
/** Additional Tailwind classes on the root container. */
|
|
8444
|
+
className?: string;
|
|
8445
|
+
/** Additional Tailwind classes on each thread row wrapper. */
|
|
8446
|
+
itemClassName?: string;
|
|
8447
|
+
/** React 19 ref prop — forwarded to the root container. */
|
|
8448
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
8449
|
+
}
|
|
8450
|
+
/**
|
|
8451
|
+
* MosaicChatSidebar — production disposition-only conversation-thread
|
|
8452
|
+
* column for @vantageos/mosaic-blocks.
|
|
8453
|
+
*
|
|
8454
|
+
* Purely presentational: no thread fetching, no sorting, no row content —
|
|
8455
|
+
* the host owns row content via `renderThread`; this component only owns
|
|
8456
|
+
* the scrollable disposition, keyboard roving-tabindex navigation, and the
|
|
8457
|
+
* active-row highlight driven by `activeThreadId`.
|
|
8458
|
+
*
|
|
8459
|
+
* @example
|
|
8460
|
+
* <MosaicChatSidebar
|
|
8461
|
+
* threads={threads}
|
|
8462
|
+
* activeThreadId={currentId}
|
|
8463
|
+
* onSelectThread={(id) => setCurrentId(id)}
|
|
8464
|
+
* onNewThread={() => createThread()}
|
|
8465
|
+
* newThreadLabel="New conversation"
|
|
8466
|
+
* emptyMessage="No conversations yet."
|
|
8467
|
+
* renderThread={(thread) => <span>{thread.title}</span>}
|
|
8468
|
+
* />
|
|
8469
|
+
*/
|
|
8470
|
+
declare function MosaicChatSidebar<T extends {
|
|
8471
|
+
id: string;
|
|
8472
|
+
}>({ threads, renderThread, activeThreadId, onSelectThread, onNewThread, newThreadLabel, emptyMessage, className, itemClassName, ref, }: MosaicChatSidebarProps<T>): React.JSX.Element;
|
|
8473
|
+
declare namespace MosaicChatSidebar {
|
|
8474
|
+
var displayName: string;
|
|
8475
|
+
}
|
|
8476
|
+
|
|
8477
|
+
/**
|
|
8478
|
+
* chatSidebarThreadVariants — pure CVA variant function for
|
|
8479
|
+
* MosaicChatSidebar's per-thread row.
|
|
8480
|
+
*
|
|
8481
|
+
* Isolated in its own module so it can be re-exported from the
|
|
8482
|
+
* `@vantageos/mosaic-blocks/server` subpath without pulling in React.
|
|
8483
|
+
*
|
|
8484
|
+
* Zero browser / React runtime dependencies — safe in RSC / Node.js.
|
|
8485
|
+
*/
|
|
8486
|
+
/**
|
|
8487
|
+
* Per-thread row — owns ONLY the active/inactive visual state. The row
|
|
8488
|
+
* never owns thread content; that is entirely host-supplied via
|
|
8489
|
+
* `renderThread`.
|
|
8490
|
+
*/
|
|
8491
|
+
declare const chatSidebarThreadVariants: (props?: ({
|
|
8492
|
+
active?: boolean | null | undefined;
|
|
8493
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8494
|
+
|
|
8495
|
+
export { type Breakpoint, type DeviceContextValue, type Feature3ColItem, type FeatureItem, type FooterColumn, type FooterLink, type HeroCta, type LogoItem, MosaicAccordion, MosaicAccordionItem, type MosaicAccordionItemProps, MosaicAccordionPanel, type MosaicAccordionPanelProps, type MosaicAccordionProps, MosaicAccordionTrigger, type MosaicAccordionTriggerProps, type MosaicActionAccent, type MosaicActivity, MosaicActivityFeed, type MosaicActivityFeedProps, MosaicActivityItem, type MosaicActivityItemProps, type MosaicActivityStatus, MosaicAdaptiveGrid, type MosaicAdaptiveGridProps, MosaicAdaptiveModal, type MosaicAdaptiveModalProps, MosaicAdaptiveNavigation, type MosaicAdaptiveNavigationProps, MosaicAgentBuilderModal, type MosaicAgentBuilderModalProps, MosaicAgentCard, type MosaicAgentCardProps, MosaicAgentChat, type MosaicAgentChatApprovalLabels, type MosaicAgentChatApprovalRequest, type MosaicAgentChatApprovalResponsePayload, type MosaicAgentChatMessage, type MosaicAgentChatMessagePart, type MosaicAgentChatProps, type MosaicAgentChatState, type MosaicAgentChatToolPart, type MosaicAgentChatToolPartState, MosaicAgentComposer, MosaicAgentComposerDesktop, MosaicAgentComposerMobile, type MosaicAgentComposerMobileProps, type MosaicAgentComposerProps, type MosaicAgentData, MosaicAgentEditor, type MosaicAgentEditorProps, MosaicAgentList, AgentListDesktop as MosaicAgentListDesktop, AgentListMobile as MosaicAgentListMobile, type MosaicAgentListProps, type MosaicAgentPreset, MosaicAgentPreview, type MosaicAgentPreviewAttribute, type MosaicAgentPreviewDetailedProps, type MosaicAgentPreviewProps, type MosaicAgentPreviewSummaryProps, MosaicAgentTeamPreview, type MosaicAgentTeamPreviewProps, MosaicAlertDialog, MosaicAlertDialogAction, type MosaicAlertDialogActionProps, MosaicAlertDialogCancel, type MosaicAlertDialogCancelProps, MosaicAlertDialogContent, type MosaicAlertDialogContentProps, MosaicAlertDialogDescription, type MosaicAlertDialogDescriptionProps, MosaicAlertDialogFooter, MosaicAlertDialogHeader, MosaicAlertDialogOverlay, type MosaicAlertDialogOverlayProps, MosaicAlertDialogPortal, MosaicAlertDialogTitle, type MosaicAlertDialogTitleProps, MosaicAlertDialogTrigger, MosaicAnimatedList, type MosaicAnimatedListProps, MosaicApiKeyPanel, type MosaicApiKeyPanelProps, type MosaicApiKeyPanelProvider, type MosaicApiKeyPanelState, MosaicAppSidebar, type MosaicAppSidebarProps, MosaicApprovalPrompt, type MosaicApprovalPromptProps, type MosaicApprovalPromptState, MosaicAvatar, type MosaicAvatarProps, MosaicBadge, type MosaicBadgeProps, MosaicBlurredOrb, type MosaicBlurredOrbProps, type MosaicBreadcrumb, MosaicButton, type MosaicButtonProps, MosaicCard, MosaicCardContent, type MosaicCardContentProps, MosaicCardDescription, type MosaicCardDescriptionProps, MosaicCardFooter, type MosaicCardFooterProps, MosaicCardHeader, type MosaicCardHeaderProps, type MosaicCardProps, MosaicCardTitle, type MosaicCardTitleProps, MosaicChatComposer, type MosaicChatComposerProps, type MosaicChatComposerState, MosaicChatMessage, type MosaicChatMessageAttachmentPart, type MosaicChatMessagePart, type MosaicChatMessageProps, type MosaicChatMessageReasoningPart, type MosaicChatMessageSenderRole, type MosaicChatMessageTextPart, type MosaicChatMessageToolPart, type MosaicChatMessageToolState, type MosaicChatMessageToolStatusLabels, MosaicChatSidebar, type MosaicChatSidebarProps, MosaicChatThread, type MosaicChatThreadProps, MosaicCheckbox, type MosaicCheckboxProps, type MosaicClerkMembership, MosaicClerkOrgSwitcher, type MosaicClerkOrgSwitcherProps, type MosaicClerkOrganization, MosaicClerkWebhookHandler, type MosaicClerkWebhookHandlerOptions, MosaicCollapsible, MosaicCollapsiblePanel, type MosaicCollapsiblePanelProps, type MosaicCollapsibleProps, MosaicCollapsibleTrigger, type MosaicCollapsibleTriggerProps, MosaicCombobox, type MosaicComboboxItem, type MosaicComboboxProps, type MosaicComposerModel, type MosaicComposerModule, MosaicCounter, type MosaicCounterProps, MosaicCreateOrgDialog, type MosaicCreateOrgDialogProps, MosaicDashboardContent, type MosaicDashboardContentProps, MosaicDashboardHeader, type MosaicDashboardHeaderProps, MosaicDashboardLayout, type MosaicDashboardLayoutProps, type MosaicDashboardView, MosaicDataTable, type MosaicDataTableColumn, type MosaicDataTablePagination, type MosaicDataTableProps, MosaicDeleteConfirmationDialog, type MosaicDeleteConfirmationDialogProps, MosaicDeviceProvider, type MosaicDeviceProviderProps, MosaicDocumentUpload, type MosaicDocumentUploadFile, type MosaicDocumentUploadFileStatus, type MosaicDocumentUploadProps, MosaicDrawer, type MosaicDrawerProps, MosaicDropdownMenu, type MosaicDropdownMenuItem, type MosaicDropdownMenuProps, MosaicEmptyState, type MosaicEmptyStateProps, MosaicFallingPattern, type MosaicFallingPatternProps, MosaicFeature3Col, type MosaicFeature3ColProps, MosaicFeatureCenteredMedia, type MosaicFeatureCenteredMediaProps, MosaicField, MosaicFieldControl, type MosaicFieldControlProps, MosaicFieldDescription, type MosaicFieldDescriptionProps, MosaicFieldError, type MosaicFieldErrorProps, MosaicFieldLabel, type MosaicFieldLabelProps, type MosaicFieldProps, MosaicFilterBar, type MosaicFilterBarProps, type MosaicFilterOption, MosaicFilterSidebar, type MosaicFilterSidebarProps, MosaicFooterSimple, type MosaicFooterSimpleProps, MosaicHeroSplit, type MosaicHeroSplitProps, MosaicInput, MosaicInputGroup, type MosaicInputGroupProps, type MosaicInputProps, MosaicIntegrationsBadge, type MosaicIntegrationsBadgeProps, MosaicInviteMemberDialog, type MosaicInviteMemberDialogProps, MosaicKanbanBoard, type MosaicKanbanBoardProps, MosaicKanbanColumn, type MosaicKanbanColumnProps, MosaicLogosGrid, type MosaicLogosGridProps, MosaicMainNav, type MosaicMainNavProps, MosaicMarkdown, type MosaicMarkdownProps, MosaicMarketplaceCard, type MosaicMarketplaceCardProps, type MosaicMarketplaceItem, MosaicMarketplaceList, MarketplaceListDesktop as MosaicMarketplaceListDesktop, MarketplaceListMobile as MosaicMarketplaceListMobile, type MosaicMarketplaceListProps, MosaicMemberList, type MosaicMemberListProps, MosaicMemoryCard, type MosaicMemoryCardProps, type MosaicMemoryData, type MosaicMemoryScope, type MosaicMemorySource, type MosaicMessage, MosaicMessageCard, type MosaicMessageCardProps, MosaicMessageList, MessageListDesktop as MosaicMessageListDesktop, MessageListMobile as MosaicMessageListMobile, type MosaicMessageListProps, type MosaicMessageReactions, type MosaicMessageSender, type MosaicMessageSenderType, type MosaicModelOption, MosaicModelSelector, type MosaicModelSelectorProps, MosaicModuleCard, type MosaicModuleCardProps, type MosaicModuleData, MosaicModuleForm, type MosaicModuleFormField, type MosaicModuleFormProps, type MosaicModuleItem, MosaicModuleLibrary, type MosaicModuleLibraryProps, type MosaicModuleType, MosaicMultiOrgIndicator, type MosaicMultiOrgIndicatorProps, MosaicMultiTenantProvider, type MosaicMultiTenantProviderProps, type MosaicNavItem, MosaicNavbar, type MosaicNavbarProps, type MosaicNavigationItem, type MosaicOrg, type MosaicOrgInfo, type MosaicOrgMember, MosaicOrgPanel, type MosaicOrgPanelProps, type MosaicOrgPanelTab, MosaicOrgProfilePage, type MosaicOrgProfilePageProps, type MosaicOrgRole, MosaicOrgRoleBadge, type MosaicOrgRoleBadgeProps, type MosaicOrgStats, MosaicOrgSwitcher, type MosaicOrgSwitcherProps, MosaicPdfViewer, type MosaicPdfViewerProps, MosaicPopover, type MosaicPopoverProps, type MosaicSelectItem as MosaicPrefSelectItem, type MosaicPreference, type MosaicPreferenceGroup, MosaicPreferencesPanel, type MosaicPreferencesPanelProps, MosaicPricingCard, type MosaicPricingCardProps, type MosaicProfileField, MosaicProfilePanel, type MosaicProfilePanelProps, MosaicProgress, type MosaicProgressProps, type MosaicQuickAction$1 as MosaicQuickAction, MosaicQuickActionCard, type MosaicQuickActionCardProps, MosaicQuickActionsMenu, type MosaicQuickAction as MosaicQuickActionsMenuItem, type MosaicQuickActionsMenuProps, type MosaicQuickAgent, MosaicQuickAgentSelector, type MosaicQuickAgentSelectorProps, MosaicQuickStartPanel, type MosaicQuickStartPanelProps, MosaicRadioGroup, MosaicRadioGroupItem, type MosaicRadioGroupItemProps, type MosaicRadioGroupProps, MosaicResizableSplitPane, type MosaicResizableSplitPaneProps, MosaicSaveTemplateModal, type MosaicSaveTemplateModalProps, type MosaicScenario, MosaicScrollArea, type MosaicScrollAreaProps, MosaicSelect, type MosaicSelectItem$1 as MosaicSelectItem, type MosaicSelectProps, type MosaicSelectorCategory, type MosaicSelectorItem, MosaicSelectorModal, type MosaicSelectorModalProps, MosaicSeparator, type MosaicSeparatorProps, type MosaicSidebarFooterStatus, type MosaicSidebarNavItem, type MosaicSidebarQuickAction, type MosaicSidebarRecentItem, MosaicSignInLayout, type MosaicSignInLayoutProps, MosaicSignUpLayout, type MosaicSignUpLayoutProps, MosaicSkeleton, type MosaicSkeletonProps, MosaicSlider, type MosaicSliderProps, type MosaicStatItem, MosaicStatsGrid, type MosaicStatsGridProps, type MosaicStep, MosaicStepPipeline, type MosaicStepPipelineDotsProps, type MosaicStepPipelineProps, type MosaicStepPipelineSegmentsProps, type MosaicStepStatus, MosaicSwitch, type MosaicSwitchProps, MosaicTabs, MosaicTabsList, type MosaicTabsListProps, MosaicTabsPanel, type MosaicTabsPanelProps, type MosaicTabsProps, MosaicTabsTrigger, type MosaicTabsTriggerProps, MosaicTagInput, type MosaicTagInputProps, type MosaicTemplate, type MosaicTemplateAgent, MosaicTemplateAgentCard, type MosaicTemplateAgentCardProps, type MosaicTemplateAgentData, MosaicTemplateCard, type MosaicTemplateCardProps, type MosaicTemplateCategory, MosaicTemplateCategoryChips, type MosaicTemplateCategoryChipsProps, MosaicTemplateGallery, type MosaicTemplateGalleryProps, MosaicTemplateList, type MosaicTemplateListProps, type MosaicTemplateManagementItem, MosaicTemplateManagementPanel, type MosaicTemplateManagementPanelProps, type MosaicTemplateMetadata, MosaicTemplatePreview, type MosaicTemplatePreviewProps, MosaicTestimonialsGrid, type MosaicTestimonialsGridProps, MosaicTextarea, type MosaicTextareaProps, MosaicThemeProvider, type MosaicThemeProviderProps, MosaicThemeToggle, type MosaicThemeToggleProps, MosaicToast, type MosaicToastProps, MosaicToastProvider, type MosaicToastProviderPosition, type MosaicToastProviderProps, type MosaicToastVariant, MosaicToolToggleList, type MosaicToolToggleListApprovalLevel, type MosaicToolToggleListProps, type MosaicToolToggleListSection, type MosaicToolToggleListTool, MosaicTooltip, MosaicTooltipContent, type MosaicTooltipContentProps, type MosaicTooltipProps, MosaicTooltipProvider, type MosaicTooltipProviderProps, MosaicTooltipRoot, type MosaicTooltipRootProps, MosaicTooltipTrigger, type MosaicTooltipTriggerProps, MosaicUrlScraper, type MosaicUrlScraperContent, type MosaicUrlScraperProps, type MosaicUrlScraperState, MosaicUserButton, type MosaicUserButtonProps, type MosaicWorkspaceContext, type NavCta, type NavLink, type OrbPosition, type Orientation, Placeholder, type PricingCta, type SocialLink, type StatItem, type TestimonialItem, type Theme, agentBuilderModalBackdropVariants, agentBuilderModalPopupVariants, agentChatRootVariants, agentEditorVariants, agentPreviewVariants, alertDialogContentVariants, alertDialogOverlayVariants, badgeVariants, buttonVariants, chatMessageBubbleVariants, chatMessageContainerVariants, chatMessageToolStatusVariants, chatSidebarThreadVariants, drawerBackdropVariants, drawerPopupVariants, marketplaceCardVariants, pdfViewerFrameVariants, pdfViewerStatusVariants, pdfViewerToolbarButtonVariants, popoverPopupVariants, saveTemplateModalBodyVariants, saveTemplateModalButtonVariants, saveTemplateModalErrorVariants, saveTemplateModalFieldVariants, saveTemplateModalFooterVariants, skeletonVariants, splitPaneCollapseButtonVariants, splitPaneHandleVariants, splitPaneRootVariants, tagInputFieldVariants, tagInputRemoveButtonVariants, tagInputRootVariants, tagInputTagVariants, templateAgentCardBadgeVariants, templateAgentCardTagVariants, templateAgentCardVariants, templateCategoryChipVariants, templateListVariants, templateManagementRowVariants, toastCardVariants, toastDismissButtonVariants, toastProviderPositionVariants, toastTitleVariants, toolToggleListRowVariants, toolToggleListSectionVariants, useBreakpoint, useDevice, useMosaicWorkspace as useEffectiveWorkspaceId, useIsDesktop, useIsMobile, useIsTablet, useMediaQuery, useMosaicWorkspace, useOrientation, useViewport, version };
|