@vantageos/mosaic-blocks 0.5.28-alpha → 0.5.29-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/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.28-alpha";
24
+ declare const version = "0.5.29-alpha";
25
25
 
26
26
  /**
27
27
  * Placeholder component — infra scaffold only.
@@ -4121,9 +4121,21 @@ interface MosaicMessageCardProps {
4121
4121
  * library carries no English/French word of its own for this UI state.
4122
4122
  */
4123
4123
  aiSenderLabel?: string;
4124
+ /** Label for the "view thread" button, shown when the message has a parent. Required, no default. */
4125
+ viewThreadLabel: string;
4126
+ /**
4127
+ * aria-label for the like button, shown for AI-sender messages. Required —
4128
+ * the host formats/pluralizes the count, the library owns no word.
4129
+ */
4130
+ likeAriaLabel: (count: number) => string;
4131
+ /**
4132
+ * aria-label for the dislike button, shown for AI-sender messages. Required —
4133
+ * the host formats/pluralizes the count, the library owns no word.
4134
+ */
4135
+ dislikeAriaLabel: (count: number) => string;
4124
4136
  className?: string;
4125
4137
  }
4126
- declare function MosaicMessageCard({ message, onReply, onReaction, onBookmark, onCopy, showThread, compact, replyLabel, moreOptionsAriaLabel, removeBookmarkAriaLabel, bookmarkAriaLabel, removeBookmarkLabel, bookmarkLabel, copyMessageLabel, aiSenderLabel, className, }: MosaicMessageCardProps): React.JSX.Element;
4138
+ declare function MosaicMessageCard({ message, onReply, onReaction, onBookmark, onCopy, showThread, compact, replyLabel, moreOptionsAriaLabel, removeBookmarkAriaLabel, bookmarkAriaLabel, removeBookmarkLabel, bookmarkLabel, copyMessageLabel, aiSenderLabel, viewThreadLabel, likeAriaLabel, dislikeAriaLabel, className, }: MosaicMessageCardProps): React.JSX.Element;
4127
4139
  declare namespace MosaicMessageCard {
4128
4140
  var displayName: string;
4129
4141
  }
@@ -4169,10 +4181,13 @@ interface MosaicMessageListProps {
4169
4181
  removeBookmarkLabel: string;
4170
4182
  bookmarkLabel: string;
4171
4183
  copyMessageLabel: string;
4184
+ viewThreadLabel: string;
4185
+ likeAriaLabel: (count: number) => string;
4186
+ dislikeAriaLabel: (count: number) => string;
4172
4187
  className?: string;
4173
4188
  }
4174
- declare function MessageListDesktop({ messages, onReply, onReaction, onBookmark, onCopy, onLoadMore, hasMore, title, isLoading, searchPlaceholder, emptyMessage, loadMoreLabel, replyLabel, moreOptionsAriaLabel, removeBookmarkAriaLabel, bookmarkAriaLabel, removeBookmarkLabel, bookmarkLabel, copyMessageLabel, className, }: MosaicMessageListProps): React.JSX.Element;
4175
- declare function MessageListMobile({ messages, onReply, onReaction, onBookmark, onCopy, onLoadMore, hasMore, title, isLoading, emptyMessage, loadMoreLabel, replyLabel, moreOptionsAriaLabel, removeBookmarkAriaLabel, bookmarkAriaLabel, removeBookmarkLabel, bookmarkLabel, copyMessageLabel, className, }: MosaicMessageListProps): React.JSX.Element;
4189
+ declare function MessageListDesktop({ messages, onReply, onReaction, onBookmark, onCopy, onLoadMore, hasMore, title, isLoading, searchPlaceholder, emptyMessage, loadMoreLabel, replyLabel, moreOptionsAriaLabel, removeBookmarkAriaLabel, bookmarkAriaLabel, removeBookmarkLabel, bookmarkLabel, copyMessageLabel, viewThreadLabel, likeAriaLabel, dislikeAriaLabel, className, }: MosaicMessageListProps): React.JSX.Element;
4190
+ declare function MessageListMobile({ messages, onReply, onReaction, onBookmark, onCopy, onLoadMore, hasMore, title, isLoading, emptyMessage, loadMoreLabel, replyLabel, moreOptionsAriaLabel, removeBookmarkAriaLabel, bookmarkAriaLabel, removeBookmarkLabel, bookmarkLabel, copyMessageLabel, viewThreadLabel, likeAriaLabel, dislikeAriaLabel, className, }: MosaicMessageListProps): React.JSX.Element;
4176
4191
  declare function MosaicMessageList(props: MosaicMessageListProps): React.JSX.Element;
4177
4192
  declare namespace MosaicMessageList {
4178
4193
  var displayName: string;
@@ -4833,13 +4848,14 @@ interface MosaicCreateOrgDialogProps {
4833
4848
  orgNameFieldLabel: string;
4834
4849
  orgNamePlaceholder: string;
4835
4850
  slugFieldLabel: string;
4851
+ slugPlaceholder: string;
4836
4852
  descriptionFieldLabel: string;
4837
4853
  descriptionPlaceholder: string;
4838
4854
  cancelLabel: string;
4839
4855
  creatingLabel: string;
4840
4856
  createLabel: string;
4841
4857
  }
4842
- declare function MosaicCreateOrgDialog({ open, onOpenChange, onCreateOrg, isLoading, title, closeAriaLabel, orgNameFieldLabel, orgNamePlaceholder, slugFieldLabel, descriptionFieldLabel, descriptionPlaceholder, cancelLabel, creatingLabel, createLabel, }: MosaicCreateOrgDialogProps): React.JSX.Element;
4858
+ declare function MosaicCreateOrgDialog({ open, onOpenChange, onCreateOrg, isLoading, title, closeAriaLabel, orgNameFieldLabel, orgNamePlaceholder, slugFieldLabel, slugPlaceholder, descriptionFieldLabel, descriptionPlaceholder, cancelLabel, creatingLabel, createLabel, }: MosaicCreateOrgDialogProps): React.JSX.Element;
4843
4859
  declare namespace MosaicCreateOrgDialog {
4844
4860
  var displayName: string;
4845
4861
  }
@@ -4943,9 +4959,15 @@ interface MosaicDashboardContentProps {
4943
4959
  views: MosaicDashboardView[];
4944
4960
  /** Currently active view id */
4945
4961
  currentView: string;
4962
+ /**
4963
+ * Label shown when `currentView` matches no entry in `views`. Rendered to
4964
+ * the end user — required host-owned string, no default. The component
4965
+ * appends `currentView` after it (a data value, not library-owned prose).
4966
+ */
4967
+ viewNotFoundLabel: string;
4946
4968
  className?: string;
4947
4969
  }
4948
- declare function MosaicDashboardContent({ views, currentView, className, }: MosaicDashboardContentProps): React.JSX.Element;
4970
+ declare function MosaicDashboardContent({ views, currentView, viewNotFoundLabel, className, }: MosaicDashboardContentProps): React.JSX.Element;
4949
4971
  declare namespace MosaicDashboardContent {
4950
4972
  var displayName: string;
4951
4973
  }
@@ -8941,4 +8963,136 @@ declare const memoryListItemVariants: (props?: ({
8941
8963
  density?: "compact" | "comfortable" | null | undefined;
8942
8964
  } & class_variance_authority_types.ClassProp) | undefined) => string;
8943
8965
 
8944
- 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, MosaicAddMemoryForm, type MosaicAddMemoryFormProps, 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, MosaicEditMemoryDialog, type MosaicEditMemoryDialogProps, 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, MosaicMemoryDashboard, type MosaicMemoryDashboardProps, type MosaicMemoryDashboardStat, type MosaicMemoryDashboardViewMode, type MosaicMemoryData, MosaicMemoryGrid, type MosaicMemoryGridProps, MosaicMemoryList, type MosaicMemoryListProps, 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, addMemoryFormButtonVariants, addMemoryFormErrorVariants, addMemoryFormFieldVariants, addMemoryFormFooterVariants, addMemoryFormRootVariants, agentBuilderModalBackdropVariants, agentBuilderModalPopupVariants, agentChatRootVariants, agentEditorVariants, agentPreviewVariants, alertDialogContentVariants, alertDialogOverlayVariants, badgeVariants, buttonVariants, chatMessageBubbleVariants, chatMessageContainerVariants, chatMessageToolStatusVariants, chatSidebarThreadVariants, drawerBackdropVariants, drawerPopupVariants, editMemoryDialogBackdropVariants, editMemoryDialogErrorVariants, editMemoryDialogFieldVariants, editMemoryDialogPopupVariants, marketplaceCardVariants, memoryDashboardViewToggleButtonVariants, memoryGridVariants, memoryListItemVariants, memoryListVariants, 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 };
8966
+ /**
8967
+ * MosaicMemorySearch — search bar over a host-supplied knowledge base: a
8968
+ * query input, optional filter chips (by type/tag), a clear action, and a
8969
+ * result-count indication.
8970
+ *
8971
+ * Fully controlled, presentational atom: `query` + `onQueryChange` own the
8972
+ * text; the component never searches anything itself. It has no idea what
8973
+ * "type" or "tag" means — the entire filter catalogue (`filters`) is
8974
+ * host-supplied DATA, exactly like `MosaicTemplateCategoryChips`. A client
8975
+ * with a different taxonomy (legal, healthcare, e-commerce) supplies its own
8976
+ * filter list without touching this package.
8977
+ *
8978
+ * The result count is never assembled by this component: `resultCount` is a
8979
+ * number, and `formatResultCount` is a host-supplied function that turns it
8980
+ * into a localized, pluralized string (e.g. `(n) => n === 1 ? "1 result" :
8981
+ * \`${n} results\`` or the FR equivalent). Pluralisation is a language; this
8982
+ * library speaks none (SIN-01).
8983
+ *
8984
+ * The clear action only appears once `query` is non-empty — that switch is
8985
+ * genuinely presentation state, not a missing word, so `clearButtonLabel`
8986
+ * remains a required prop with no default (the host always supplies it, the
8987
+ * button simply isn't rendered until there is something to clear).
8988
+ *
8989
+ * `filters` / `selectedFilterIds` / `onFilterToggle` are optional as a GROUP:
8990
+ * a host that has no filter feature at all renders the search bar with none
8991
+ * of the three, and no filter chip row is rendered. That optionality encodes
8992
+ * the absence of the whole filter FEATURE, not a missing word — every label
8993
+ * that IS rendered (each `filter.label`) is still host-owned data, required
8994
+ * on the filter object itself.
8995
+ *
8996
+ * No "use client" — prepend-use-client.mjs adds it to dist.
8997
+ * Design tokens: --primary, --primary-foreground, --background, --foreground,
8998
+ * --border, --muted, --muted-foreground, --input, --ring.
8999
+ * a11y: the query input is `type="search"` with an explicit `aria-label`
9000
+ * (`searchLabel`, host-owned — no host is forced to also render a visible
9001
+ * `<label>`). Each filter chip is a real `<button>` with `aria-pressed` so
9002
+ * the selection state reaches screen-reader users without relying on color.
9003
+ * The clear button carries its own required `aria-label` for the same
9004
+ * reason.
9005
+ *
9006
+ * Deps: @base-ui/react (via MosaicInput) + class-variance-authority only.
9007
+ *
9008
+ * @example
9009
+ * <MosaicMemorySearch
9010
+ * query={query}
9011
+ * onQueryChange={setQuery}
9012
+ * searchLabel="Search knowledge base"
9013
+ * searchPlaceholder="Search…"
9014
+ * clearButtonLabel="Clear search"
9015
+ * resultCount={results.length}
9016
+ * formatResultCount={(n) => (n === 1 ? "1 result" : `${n} results`)}
9017
+ * filters={[
9018
+ * { id: "type-note", label: "Note" },
9019
+ * { id: "type-decision", label: "Decision" },
9020
+ * ]}
9021
+ * selectedFilterIds={selectedFilterIds}
9022
+ * onFilterToggle={toggleFilter}
9023
+ * />
9024
+ */
9025
+
9026
+ /**
9027
+ * One selectable filter (type, tag, or any other host-defined facet). The
9028
+ * library knows nothing about any filter by name — the whole catalogue is
9029
+ * host-supplied DATA.
9030
+ */
9031
+ interface MosaicMemorySearchFilter {
9032
+ /** Stable identifier, matched against `selectedFilterIds` and passed to `onFilterToggle`. */
9033
+ id: string;
9034
+ /** Host-supplied, host-localized display label. No built-in taxonomy. */
9035
+ label: string;
9036
+ }
9037
+ interface MosaicMemorySearchProps {
9038
+ /** Current query text. Controlled by the host. */
9039
+ query: string;
9040
+ /** Called with the new query text on every keystroke. */
9041
+ onQueryChange: (query: string) => void;
9042
+ /** aria-label for the query input. Required, no default. */
9043
+ searchLabel: string;
9044
+ /** Placeholder for the query input. Required, no default. */
9045
+ searchPlaceholder: string;
9046
+ /** aria-label for the clear button. Required, no default — rendered only once `query` is non-empty. */
9047
+ clearButtonLabel: string;
9048
+ /** Total number of results for the current query/filters. Pure data — never computed here. */
9049
+ resultCount: number;
9050
+ /**
9051
+ * Derives the displayed result-count string from `resultCount`. Required —
9052
+ * the host owns pluralisation and language, this component never
9053
+ * assembles a count string itself.
9054
+ */
9055
+ formatResultCount: (count: number) => string;
9056
+ /**
9057
+ * Full open catalogue of filters — a PROP, never a library constant. Omit
9058
+ * entirely (with `selectedFilterIds` and `onFilterToggle`) when the host
9059
+ * has no filter feature; no filter chip row is then rendered.
9060
+ */
9061
+ filters?: MosaicMemorySearchFilter[];
9062
+ /** Ids of the currently selected filters. Controlled by the host. */
9063
+ selectedFilterIds?: string[];
9064
+ /** Called with the filter id when a chip is activated. */
9065
+ onFilterToggle?: (id: string) => void;
9066
+ /** Additional Tailwind classes on the root element. */
9067
+ className?: string;
9068
+ /** React 19 ref prop — forwarded to the root element. */
9069
+ ref?: React.Ref<HTMLDivElement>;
9070
+ }
9071
+ /**
9072
+ * MosaicMemorySearch — production search bar for @vantageos/mosaic-blocks.
9073
+ *
9074
+ * Purely presentational + controlled: renders the query input, an optional
9075
+ * host-supplied filter-chip row, a clear action, and a host-formatted
9076
+ * result-count string. No network call, no internal query state, no
9077
+ * hardcoded filter catalogue.
9078
+ */
9079
+ declare function MosaicMemorySearch({ query, onQueryChange, searchLabel, searchPlaceholder, clearButtonLabel, resultCount, formatResultCount, filters, selectedFilterIds, onFilterToggle, className, ref, }: MosaicMemorySearchProps): React.JSX.Element;
9080
+ declare namespace MosaicMemorySearch {
9081
+ var displayName: string;
9082
+ }
9083
+
9084
+ /**
9085
+ * memorySearchFilterChipVariants — pure CVA variant function for the
9086
+ * optional filter chips rendered by MosaicMemorySearch.
9087
+ *
9088
+ * Isolated in its own module so it can be re-exported from the
9089
+ * `@vantageos/mosaic-blocks/server` subpath without pulling in React.
9090
+ *
9091
+ * Zero browser / React runtime dependencies — safe in RSC / Node.js.
9092
+ */
9093
+ /** One filter chip button — selected vs. unselected tone. */
9094
+ declare const memorySearchFilterChipVariants: (props?: ({
9095
+ selected?: boolean | null | undefined;
9096
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
9097
+
9098
+ 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, MosaicAddMemoryForm, type MosaicAddMemoryFormProps, 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, MosaicEditMemoryDialog, type MosaicEditMemoryDialogProps, 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, MosaicMemoryDashboard, type MosaicMemoryDashboardProps, type MosaicMemoryDashboardStat, type MosaicMemoryDashboardViewMode, type MosaicMemoryData, MosaicMemoryGrid, type MosaicMemoryGridProps, MosaicMemoryList, type MosaicMemoryListProps, type MosaicMemoryScope, MosaicMemorySearch, type MosaicMemorySearchFilter, type MosaicMemorySearchProps, 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, addMemoryFormButtonVariants, addMemoryFormErrorVariants, addMemoryFormFieldVariants, addMemoryFormFooterVariants, addMemoryFormRootVariants, agentBuilderModalBackdropVariants, agentBuilderModalPopupVariants, agentChatRootVariants, agentEditorVariants, agentPreviewVariants, alertDialogContentVariants, alertDialogOverlayVariants, badgeVariants, buttonVariants, chatMessageBubbleVariants, chatMessageContainerVariants, chatMessageToolStatusVariants, chatSidebarThreadVariants, drawerBackdropVariants, drawerPopupVariants, editMemoryDialogBackdropVariants, editMemoryDialogErrorVariants, editMemoryDialogFieldVariants, editMemoryDialogPopupVariants, marketplaceCardVariants, memoryDashboardViewToggleButtonVariants, memoryGridVariants, memoryListItemVariants, memoryListVariants, memorySearchFilterChipVariants, 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.28-alpha";
24
+ declare const version = "0.5.29-alpha";
25
25
 
26
26
  /**
27
27
  * Placeholder component — infra scaffold only.
@@ -4121,9 +4121,21 @@ interface MosaicMessageCardProps {
4121
4121
  * library carries no English/French word of its own for this UI state.
4122
4122
  */
4123
4123
  aiSenderLabel?: string;
4124
+ /** Label for the "view thread" button, shown when the message has a parent. Required, no default. */
4125
+ viewThreadLabel: string;
4126
+ /**
4127
+ * aria-label for the like button, shown for AI-sender messages. Required —
4128
+ * the host formats/pluralizes the count, the library owns no word.
4129
+ */
4130
+ likeAriaLabel: (count: number) => string;
4131
+ /**
4132
+ * aria-label for the dislike button, shown for AI-sender messages. Required —
4133
+ * the host formats/pluralizes the count, the library owns no word.
4134
+ */
4135
+ dislikeAriaLabel: (count: number) => string;
4124
4136
  className?: string;
4125
4137
  }
4126
- declare function MosaicMessageCard({ message, onReply, onReaction, onBookmark, onCopy, showThread, compact, replyLabel, moreOptionsAriaLabel, removeBookmarkAriaLabel, bookmarkAriaLabel, removeBookmarkLabel, bookmarkLabel, copyMessageLabel, aiSenderLabel, className, }: MosaicMessageCardProps): React.JSX.Element;
4138
+ declare function MosaicMessageCard({ message, onReply, onReaction, onBookmark, onCopy, showThread, compact, replyLabel, moreOptionsAriaLabel, removeBookmarkAriaLabel, bookmarkAriaLabel, removeBookmarkLabel, bookmarkLabel, copyMessageLabel, aiSenderLabel, viewThreadLabel, likeAriaLabel, dislikeAriaLabel, className, }: MosaicMessageCardProps): React.JSX.Element;
4127
4139
  declare namespace MosaicMessageCard {
4128
4140
  var displayName: string;
4129
4141
  }
@@ -4169,10 +4181,13 @@ interface MosaicMessageListProps {
4169
4181
  removeBookmarkLabel: string;
4170
4182
  bookmarkLabel: string;
4171
4183
  copyMessageLabel: string;
4184
+ viewThreadLabel: string;
4185
+ likeAriaLabel: (count: number) => string;
4186
+ dislikeAriaLabel: (count: number) => string;
4172
4187
  className?: string;
4173
4188
  }
4174
- declare function MessageListDesktop({ messages, onReply, onReaction, onBookmark, onCopy, onLoadMore, hasMore, title, isLoading, searchPlaceholder, emptyMessage, loadMoreLabel, replyLabel, moreOptionsAriaLabel, removeBookmarkAriaLabel, bookmarkAriaLabel, removeBookmarkLabel, bookmarkLabel, copyMessageLabel, className, }: MosaicMessageListProps): React.JSX.Element;
4175
- declare function MessageListMobile({ messages, onReply, onReaction, onBookmark, onCopy, onLoadMore, hasMore, title, isLoading, emptyMessage, loadMoreLabel, replyLabel, moreOptionsAriaLabel, removeBookmarkAriaLabel, bookmarkAriaLabel, removeBookmarkLabel, bookmarkLabel, copyMessageLabel, className, }: MosaicMessageListProps): React.JSX.Element;
4189
+ declare function MessageListDesktop({ messages, onReply, onReaction, onBookmark, onCopy, onLoadMore, hasMore, title, isLoading, searchPlaceholder, emptyMessage, loadMoreLabel, replyLabel, moreOptionsAriaLabel, removeBookmarkAriaLabel, bookmarkAriaLabel, removeBookmarkLabel, bookmarkLabel, copyMessageLabel, viewThreadLabel, likeAriaLabel, dislikeAriaLabel, className, }: MosaicMessageListProps): React.JSX.Element;
4190
+ declare function MessageListMobile({ messages, onReply, onReaction, onBookmark, onCopy, onLoadMore, hasMore, title, isLoading, emptyMessage, loadMoreLabel, replyLabel, moreOptionsAriaLabel, removeBookmarkAriaLabel, bookmarkAriaLabel, removeBookmarkLabel, bookmarkLabel, copyMessageLabel, viewThreadLabel, likeAriaLabel, dislikeAriaLabel, className, }: MosaicMessageListProps): React.JSX.Element;
4176
4191
  declare function MosaicMessageList(props: MosaicMessageListProps): React.JSX.Element;
4177
4192
  declare namespace MosaicMessageList {
4178
4193
  var displayName: string;
@@ -4833,13 +4848,14 @@ interface MosaicCreateOrgDialogProps {
4833
4848
  orgNameFieldLabel: string;
4834
4849
  orgNamePlaceholder: string;
4835
4850
  slugFieldLabel: string;
4851
+ slugPlaceholder: string;
4836
4852
  descriptionFieldLabel: string;
4837
4853
  descriptionPlaceholder: string;
4838
4854
  cancelLabel: string;
4839
4855
  creatingLabel: string;
4840
4856
  createLabel: string;
4841
4857
  }
4842
- declare function MosaicCreateOrgDialog({ open, onOpenChange, onCreateOrg, isLoading, title, closeAriaLabel, orgNameFieldLabel, orgNamePlaceholder, slugFieldLabel, descriptionFieldLabel, descriptionPlaceholder, cancelLabel, creatingLabel, createLabel, }: MosaicCreateOrgDialogProps): React.JSX.Element;
4858
+ declare function MosaicCreateOrgDialog({ open, onOpenChange, onCreateOrg, isLoading, title, closeAriaLabel, orgNameFieldLabel, orgNamePlaceholder, slugFieldLabel, slugPlaceholder, descriptionFieldLabel, descriptionPlaceholder, cancelLabel, creatingLabel, createLabel, }: MosaicCreateOrgDialogProps): React.JSX.Element;
4843
4859
  declare namespace MosaicCreateOrgDialog {
4844
4860
  var displayName: string;
4845
4861
  }
@@ -4943,9 +4959,15 @@ interface MosaicDashboardContentProps {
4943
4959
  views: MosaicDashboardView[];
4944
4960
  /** Currently active view id */
4945
4961
  currentView: string;
4962
+ /**
4963
+ * Label shown when `currentView` matches no entry in `views`. Rendered to
4964
+ * the end user — required host-owned string, no default. The component
4965
+ * appends `currentView` after it (a data value, not library-owned prose).
4966
+ */
4967
+ viewNotFoundLabel: string;
4946
4968
  className?: string;
4947
4969
  }
4948
- declare function MosaicDashboardContent({ views, currentView, className, }: MosaicDashboardContentProps): React.JSX.Element;
4970
+ declare function MosaicDashboardContent({ views, currentView, viewNotFoundLabel, className, }: MosaicDashboardContentProps): React.JSX.Element;
4949
4971
  declare namespace MosaicDashboardContent {
4950
4972
  var displayName: string;
4951
4973
  }
@@ -8941,4 +8963,136 @@ declare const memoryListItemVariants: (props?: ({
8941
8963
  density?: "compact" | "comfortable" | null | undefined;
8942
8964
  } & class_variance_authority_types.ClassProp) | undefined) => string;
8943
8965
 
8944
- 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, MosaicAddMemoryForm, type MosaicAddMemoryFormProps, 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, MosaicEditMemoryDialog, type MosaicEditMemoryDialogProps, 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, MosaicMemoryDashboard, type MosaicMemoryDashboardProps, type MosaicMemoryDashboardStat, type MosaicMemoryDashboardViewMode, type MosaicMemoryData, MosaicMemoryGrid, type MosaicMemoryGridProps, MosaicMemoryList, type MosaicMemoryListProps, 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, addMemoryFormButtonVariants, addMemoryFormErrorVariants, addMemoryFormFieldVariants, addMemoryFormFooterVariants, addMemoryFormRootVariants, agentBuilderModalBackdropVariants, agentBuilderModalPopupVariants, agentChatRootVariants, agentEditorVariants, agentPreviewVariants, alertDialogContentVariants, alertDialogOverlayVariants, badgeVariants, buttonVariants, chatMessageBubbleVariants, chatMessageContainerVariants, chatMessageToolStatusVariants, chatSidebarThreadVariants, drawerBackdropVariants, drawerPopupVariants, editMemoryDialogBackdropVariants, editMemoryDialogErrorVariants, editMemoryDialogFieldVariants, editMemoryDialogPopupVariants, marketplaceCardVariants, memoryDashboardViewToggleButtonVariants, memoryGridVariants, memoryListItemVariants, memoryListVariants, 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 };
8966
+ /**
8967
+ * MosaicMemorySearch — search bar over a host-supplied knowledge base: a
8968
+ * query input, optional filter chips (by type/tag), a clear action, and a
8969
+ * result-count indication.
8970
+ *
8971
+ * Fully controlled, presentational atom: `query` + `onQueryChange` own the
8972
+ * text; the component never searches anything itself. It has no idea what
8973
+ * "type" or "tag" means — the entire filter catalogue (`filters`) is
8974
+ * host-supplied DATA, exactly like `MosaicTemplateCategoryChips`. A client
8975
+ * with a different taxonomy (legal, healthcare, e-commerce) supplies its own
8976
+ * filter list without touching this package.
8977
+ *
8978
+ * The result count is never assembled by this component: `resultCount` is a
8979
+ * number, and `formatResultCount` is a host-supplied function that turns it
8980
+ * into a localized, pluralized string (e.g. `(n) => n === 1 ? "1 result" :
8981
+ * \`${n} results\`` or the FR equivalent). Pluralisation is a language; this
8982
+ * library speaks none (SIN-01).
8983
+ *
8984
+ * The clear action only appears once `query` is non-empty — that switch is
8985
+ * genuinely presentation state, not a missing word, so `clearButtonLabel`
8986
+ * remains a required prop with no default (the host always supplies it, the
8987
+ * button simply isn't rendered until there is something to clear).
8988
+ *
8989
+ * `filters` / `selectedFilterIds` / `onFilterToggle` are optional as a GROUP:
8990
+ * a host that has no filter feature at all renders the search bar with none
8991
+ * of the three, and no filter chip row is rendered. That optionality encodes
8992
+ * the absence of the whole filter FEATURE, not a missing word — every label
8993
+ * that IS rendered (each `filter.label`) is still host-owned data, required
8994
+ * on the filter object itself.
8995
+ *
8996
+ * No "use client" — prepend-use-client.mjs adds it to dist.
8997
+ * Design tokens: --primary, --primary-foreground, --background, --foreground,
8998
+ * --border, --muted, --muted-foreground, --input, --ring.
8999
+ * a11y: the query input is `type="search"` with an explicit `aria-label`
9000
+ * (`searchLabel`, host-owned — no host is forced to also render a visible
9001
+ * `<label>`). Each filter chip is a real `<button>` with `aria-pressed` so
9002
+ * the selection state reaches screen-reader users without relying on color.
9003
+ * The clear button carries its own required `aria-label` for the same
9004
+ * reason.
9005
+ *
9006
+ * Deps: @base-ui/react (via MosaicInput) + class-variance-authority only.
9007
+ *
9008
+ * @example
9009
+ * <MosaicMemorySearch
9010
+ * query={query}
9011
+ * onQueryChange={setQuery}
9012
+ * searchLabel="Search knowledge base"
9013
+ * searchPlaceholder="Search…"
9014
+ * clearButtonLabel="Clear search"
9015
+ * resultCount={results.length}
9016
+ * formatResultCount={(n) => (n === 1 ? "1 result" : `${n} results`)}
9017
+ * filters={[
9018
+ * { id: "type-note", label: "Note" },
9019
+ * { id: "type-decision", label: "Decision" },
9020
+ * ]}
9021
+ * selectedFilterIds={selectedFilterIds}
9022
+ * onFilterToggle={toggleFilter}
9023
+ * />
9024
+ */
9025
+
9026
+ /**
9027
+ * One selectable filter (type, tag, or any other host-defined facet). The
9028
+ * library knows nothing about any filter by name — the whole catalogue is
9029
+ * host-supplied DATA.
9030
+ */
9031
+ interface MosaicMemorySearchFilter {
9032
+ /** Stable identifier, matched against `selectedFilterIds` and passed to `onFilterToggle`. */
9033
+ id: string;
9034
+ /** Host-supplied, host-localized display label. No built-in taxonomy. */
9035
+ label: string;
9036
+ }
9037
+ interface MosaicMemorySearchProps {
9038
+ /** Current query text. Controlled by the host. */
9039
+ query: string;
9040
+ /** Called with the new query text on every keystroke. */
9041
+ onQueryChange: (query: string) => void;
9042
+ /** aria-label for the query input. Required, no default. */
9043
+ searchLabel: string;
9044
+ /** Placeholder for the query input. Required, no default. */
9045
+ searchPlaceholder: string;
9046
+ /** aria-label for the clear button. Required, no default — rendered only once `query` is non-empty. */
9047
+ clearButtonLabel: string;
9048
+ /** Total number of results for the current query/filters. Pure data — never computed here. */
9049
+ resultCount: number;
9050
+ /**
9051
+ * Derives the displayed result-count string from `resultCount`. Required —
9052
+ * the host owns pluralisation and language, this component never
9053
+ * assembles a count string itself.
9054
+ */
9055
+ formatResultCount: (count: number) => string;
9056
+ /**
9057
+ * Full open catalogue of filters — a PROP, never a library constant. Omit
9058
+ * entirely (with `selectedFilterIds` and `onFilterToggle`) when the host
9059
+ * has no filter feature; no filter chip row is then rendered.
9060
+ */
9061
+ filters?: MosaicMemorySearchFilter[];
9062
+ /** Ids of the currently selected filters. Controlled by the host. */
9063
+ selectedFilterIds?: string[];
9064
+ /** Called with the filter id when a chip is activated. */
9065
+ onFilterToggle?: (id: string) => void;
9066
+ /** Additional Tailwind classes on the root element. */
9067
+ className?: string;
9068
+ /** React 19 ref prop — forwarded to the root element. */
9069
+ ref?: React.Ref<HTMLDivElement>;
9070
+ }
9071
+ /**
9072
+ * MosaicMemorySearch — production search bar for @vantageos/mosaic-blocks.
9073
+ *
9074
+ * Purely presentational + controlled: renders the query input, an optional
9075
+ * host-supplied filter-chip row, a clear action, and a host-formatted
9076
+ * result-count string. No network call, no internal query state, no
9077
+ * hardcoded filter catalogue.
9078
+ */
9079
+ declare function MosaicMemorySearch({ query, onQueryChange, searchLabel, searchPlaceholder, clearButtonLabel, resultCount, formatResultCount, filters, selectedFilterIds, onFilterToggle, className, ref, }: MosaicMemorySearchProps): React.JSX.Element;
9080
+ declare namespace MosaicMemorySearch {
9081
+ var displayName: string;
9082
+ }
9083
+
9084
+ /**
9085
+ * memorySearchFilterChipVariants — pure CVA variant function for the
9086
+ * optional filter chips rendered by MosaicMemorySearch.
9087
+ *
9088
+ * Isolated in its own module so it can be re-exported from the
9089
+ * `@vantageos/mosaic-blocks/server` subpath without pulling in React.
9090
+ *
9091
+ * Zero browser / React runtime dependencies — safe in RSC / Node.js.
9092
+ */
9093
+ /** One filter chip button — selected vs. unselected tone. */
9094
+ declare const memorySearchFilterChipVariants: (props?: ({
9095
+ selected?: boolean | null | undefined;
9096
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
9097
+
9098
+ 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, MosaicAddMemoryForm, type MosaicAddMemoryFormProps, 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, MosaicEditMemoryDialog, type MosaicEditMemoryDialogProps, 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, MosaicMemoryDashboard, type MosaicMemoryDashboardProps, type MosaicMemoryDashboardStat, type MosaicMemoryDashboardViewMode, type MosaicMemoryData, MosaicMemoryGrid, type MosaicMemoryGridProps, MosaicMemoryList, type MosaicMemoryListProps, type MosaicMemoryScope, MosaicMemorySearch, type MosaicMemorySearchFilter, type MosaicMemorySearchProps, 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, addMemoryFormButtonVariants, addMemoryFormErrorVariants, addMemoryFormFieldVariants, addMemoryFormFooterVariants, addMemoryFormRootVariants, agentBuilderModalBackdropVariants, agentBuilderModalPopupVariants, agentChatRootVariants, agentEditorVariants, agentPreviewVariants, alertDialogContentVariants, alertDialogOverlayVariants, badgeVariants, buttonVariants, chatMessageBubbleVariants, chatMessageContainerVariants, chatMessageToolStatusVariants, chatSidebarThreadVariants, drawerBackdropVariants, drawerPopupVariants, editMemoryDialogBackdropVariants, editMemoryDialogErrorVariants, editMemoryDialogFieldVariants, editMemoryDialogPopupVariants, marketplaceCardVariants, memoryDashboardViewToggleButtonVariants, memoryGridVariants, memoryListItemVariants, memoryListVariants, memorySearchFilterChipVariants, 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 };