@vantageos/mosaic-blocks 0.5.6-alpha → 0.5.7-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
@@ -20,7 +20,7 @@ import { Switch } from '@base-ui/react/switch';
20
20
  export { Tooltip } from '@base-ui/react/tooltip';
21
21
  import 'class-variance-authority/types';
22
22
 
23
- declare const version = "0.5.6-alpha";
23
+ declare const version = "0.5.7-alpha";
24
24
 
25
25
  /**
26
26
  * Placeholder component — infra scaffold only.
@@ -5590,4 +5590,85 @@ declare namespace MosaicChatComposer {
5590
5590
  var displayName: string;
5591
5591
  }
5592
5592
 
5593
- 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, MosaicAgentCard, type MosaicAgentCardProps, MosaicAgentComposer, MosaicAgentComposerDesktop, MosaicAgentComposerMobile, type MosaicAgentComposerMobileProps, type MosaicAgentComposerProps, type MosaicAgentData, MosaicAgentList, AgentListDesktop as MosaicAgentListDesktop, AgentListMobile as MosaicAgentListMobile, type MosaicAgentListProps, type MosaicAgentPreset, MosaicAgentTeamPreview, type MosaicAgentTeamPreviewProps, MosaicAnimatedList, type MosaicAnimatedListProps, MosaicAppSidebar, type MosaicAppSidebarProps, 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, 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, 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, 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, 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, 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, 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, type MosaicTemplate, type MosaicTemplateAgent, MosaicTemplateCard, type MosaicTemplateCardProps, MosaicTemplateGallery, type MosaicTemplateGalleryProps, type MosaicTemplateMetadata, MosaicTemplatePreview, type MosaicTemplatePreviewProps, MosaicTestimonialsGrid, type MosaicTestimonialsGridProps, MosaicTextarea, type MosaicTextareaProps, MosaicThemeProvider, type MosaicThemeProviderProps, MosaicThemeToggle, type MosaicThemeToggleProps, 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, badgeVariants, buttonVariants, skeletonVariants, useBreakpoint, useDevice, useMosaicWorkspace as useEffectiveWorkspaceId, useIsDesktop, useIsMobile, useIsTablet, useMediaQuery, useMosaicWorkspace, useOrientation, useViewport, version };
5593
+ /**
5594
+ * MosaicMarkdown — presentational, dependency-free markdown renderer
5595
+ *
5596
+ * Renders a subset of markdown (headings, paragraphs, ordered/unordered
5597
+ * lists, links, bold/italic, inline code, fenced code blocks, tables,
5598
+ * blockquotes, horizontal rules) straight from a `content: string` prop.
5599
+ *
5600
+ * SECURITY — non-negotiable: `content` is assumed to come from an untrusted
5601
+ * source (an LLM's own generated text). This component NEVER parses raw HTML
5602
+ * out of that string and NEVER uses `dangerouslySetInnerHTML`: every markdown
5603
+ * token is turned into React elements built from parsed TEXT, so anything
5604
+ * that looks like an HTML tag (`<script>…</script>`, `<img onerror=…>`) is
5605
+ * rendered as an inert text node, never as an active DOM element. Link
5606
+ * `href`s are scheme-checked (`http:`/`https:`/`mailto:`/relative only), after
5607
+ * every ASCII control character is stripped from the whole string (not just
5608
+ * the edges) so a scheme obfuscated with an internal control character (e.g.
5609
+ * a TAB inserted mid-`javascript:`) cannot slip past as scheme-less —
5610
+ * `javascript:`/`data:` and any other scheme are rejected and the link
5611
+ * degrades to its plain label text. Every external link renders with
5612
+ * `rel="noopener noreferrer"` and `target="_blank"`.
5613
+ *
5614
+ * DEPENDENCY POLICY: this library's `dependencies` are currently limited to
5615
+ * `@base-ui/react` and `class-variance-authority`. A full markdown renderer
5616
+ * (react-markdown, marked, remark, streamdown…) was deliberately NOT added
5617
+ * — none of them are declared here, in `dependencies` or otherwise. Instead
5618
+ * this file implements a minimal, dependency-free block + inline parser
5619
+ * covering the required subset. See this package's PR description for the
5620
+ * explicit statement of this choice.
5621
+ *
5622
+ * Code blocks: no syntax highlighter is bundled (would be a hidden
5623
+ * dependency and/or heavy runtime cost). The optional `renderCodeBlock` prop
5624
+ * is the host's extension point — pass a highlighter of your choice
5625
+ * (Shiki, Prism, etc.) and this component defers to it entirely; omit it and
5626
+ * a plain `<pre><code>` block is rendered.
5627
+ *
5628
+ * No "use client" — prepend-use-client.mjs adds it to dist. Presentational:
5629
+ * zero network calls, zero side effects beyond rendering.
5630
+ *
5631
+ * @example
5632
+ * <MosaicMarkdown content={"# Title\n\nSome **bold** text with a [link](https://example.com)."} />
5633
+ *
5634
+ * @example
5635
+ * // Host-provided syntax highlighting
5636
+ * <MosaicMarkdown
5637
+ * content={agentReply}
5638
+ * renderCodeBlock={({ language, code }) => <MyHighlighter language={language}>{code}</MyHighlighter>}
5639
+ * />
5640
+ */
5641
+
5642
+ interface MosaicMarkdownProps {
5643
+ /**
5644
+ * Markdown source to render. Treated as UNTRUSTED (e.g. straight from an
5645
+ * LLM reply): no raw HTML in this string is ever parsed as active markup.
5646
+ */
5647
+ content: string;
5648
+ /**
5649
+ * Extension point for fenced-code-block rendering (e.g. host-side syntax
5650
+ * highlighting). When omitted, code renders in a plain `<pre><code>` block
5651
+ * with no highlighting and no bundled highlighter dependency.
5652
+ */
5653
+ renderCodeBlock?: (props: {
5654
+ language: string | undefined;
5655
+ code: string;
5656
+ }) => React.ReactNode;
5657
+ /** Additional Tailwind classes on the root element. */
5658
+ className?: string;
5659
+ /** React 19 ref prop — forwarded to the root element. */
5660
+ ref?: React.Ref<HTMLDivElement>;
5661
+ }
5662
+ /**
5663
+ * MosaicMarkdown — production markdown-rendering atom for
5664
+ * @vantageos/mosaic-blocks.
5665
+ *
5666
+ * Purely presentational: parses `content` into a minimal block/inline AST and
5667
+ * renders it as React elements. No network call, no raw-HTML injection.
5668
+ */
5669
+ declare function MosaicMarkdown({ content, renderCodeBlock, className, ref }: MosaicMarkdownProps): React.JSX.Element;
5670
+ declare namespace MosaicMarkdown {
5671
+ var displayName: string;
5672
+ }
5673
+
5674
+ 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, MosaicAgentCard, type MosaicAgentCardProps, MosaicAgentComposer, MosaicAgentComposerDesktop, MosaicAgentComposerMobile, type MosaicAgentComposerMobileProps, type MosaicAgentComposerProps, type MosaicAgentData, MosaicAgentList, AgentListDesktop as MosaicAgentListDesktop, AgentListMobile as MosaicAgentListMobile, type MosaicAgentListProps, type MosaicAgentPreset, MosaicAgentTeamPreview, type MosaicAgentTeamPreviewProps, MosaicAnimatedList, type MosaicAnimatedListProps, MosaicAppSidebar, type MosaicAppSidebarProps, 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, 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, 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, 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, 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, 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, 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, type MosaicTemplate, type MosaicTemplateAgent, MosaicTemplateCard, type MosaicTemplateCardProps, MosaicTemplateGallery, type MosaicTemplateGalleryProps, type MosaicTemplateMetadata, MosaicTemplatePreview, type MosaicTemplatePreviewProps, MosaicTestimonialsGrid, type MosaicTestimonialsGridProps, MosaicTextarea, type MosaicTextareaProps, MosaicThemeProvider, type MosaicThemeProviderProps, MosaicThemeToggle, type MosaicThemeToggleProps, 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, badgeVariants, buttonVariants, skeletonVariants, useBreakpoint, useDevice, useMosaicWorkspace as useEffectiveWorkspaceId, useIsDesktop, useIsMobile, useIsTablet, useMediaQuery, useMosaicWorkspace, useOrientation, useViewport, version };
package/dist/index.d.ts CHANGED
@@ -20,7 +20,7 @@ import { Switch } from '@base-ui/react/switch';
20
20
  export { Tooltip } from '@base-ui/react/tooltip';
21
21
  import 'class-variance-authority/types';
22
22
 
23
- declare const version = "0.5.6-alpha";
23
+ declare const version = "0.5.7-alpha";
24
24
 
25
25
  /**
26
26
  * Placeholder component — infra scaffold only.
@@ -5590,4 +5590,85 @@ declare namespace MosaicChatComposer {
5590
5590
  var displayName: string;
5591
5591
  }
5592
5592
 
5593
- 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, MosaicAgentCard, type MosaicAgentCardProps, MosaicAgentComposer, MosaicAgentComposerDesktop, MosaicAgentComposerMobile, type MosaicAgentComposerMobileProps, type MosaicAgentComposerProps, type MosaicAgentData, MosaicAgentList, AgentListDesktop as MosaicAgentListDesktop, AgentListMobile as MosaicAgentListMobile, type MosaicAgentListProps, type MosaicAgentPreset, MosaicAgentTeamPreview, type MosaicAgentTeamPreviewProps, MosaicAnimatedList, type MosaicAnimatedListProps, MosaicAppSidebar, type MosaicAppSidebarProps, 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, 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, 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, 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, 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, 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, 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, type MosaicTemplate, type MosaicTemplateAgent, MosaicTemplateCard, type MosaicTemplateCardProps, MosaicTemplateGallery, type MosaicTemplateGalleryProps, type MosaicTemplateMetadata, MosaicTemplatePreview, type MosaicTemplatePreviewProps, MosaicTestimonialsGrid, type MosaicTestimonialsGridProps, MosaicTextarea, type MosaicTextareaProps, MosaicThemeProvider, type MosaicThemeProviderProps, MosaicThemeToggle, type MosaicThemeToggleProps, 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, badgeVariants, buttonVariants, skeletonVariants, useBreakpoint, useDevice, useMosaicWorkspace as useEffectiveWorkspaceId, useIsDesktop, useIsMobile, useIsTablet, useMediaQuery, useMosaicWorkspace, useOrientation, useViewport, version };
5593
+ /**
5594
+ * MosaicMarkdown — presentational, dependency-free markdown renderer
5595
+ *
5596
+ * Renders a subset of markdown (headings, paragraphs, ordered/unordered
5597
+ * lists, links, bold/italic, inline code, fenced code blocks, tables,
5598
+ * blockquotes, horizontal rules) straight from a `content: string` prop.
5599
+ *
5600
+ * SECURITY — non-negotiable: `content` is assumed to come from an untrusted
5601
+ * source (an LLM's own generated text). This component NEVER parses raw HTML
5602
+ * out of that string and NEVER uses `dangerouslySetInnerHTML`: every markdown
5603
+ * token is turned into React elements built from parsed TEXT, so anything
5604
+ * that looks like an HTML tag (`<script>…</script>`, `<img onerror=…>`) is
5605
+ * rendered as an inert text node, never as an active DOM element. Link
5606
+ * `href`s are scheme-checked (`http:`/`https:`/`mailto:`/relative only), after
5607
+ * every ASCII control character is stripped from the whole string (not just
5608
+ * the edges) so a scheme obfuscated with an internal control character (e.g.
5609
+ * a TAB inserted mid-`javascript:`) cannot slip past as scheme-less —
5610
+ * `javascript:`/`data:` and any other scheme are rejected and the link
5611
+ * degrades to its plain label text. Every external link renders with
5612
+ * `rel="noopener noreferrer"` and `target="_blank"`.
5613
+ *
5614
+ * DEPENDENCY POLICY: this library's `dependencies` are currently limited to
5615
+ * `@base-ui/react` and `class-variance-authority`. A full markdown renderer
5616
+ * (react-markdown, marked, remark, streamdown…) was deliberately NOT added
5617
+ * — none of them are declared here, in `dependencies` or otherwise. Instead
5618
+ * this file implements a minimal, dependency-free block + inline parser
5619
+ * covering the required subset. See this package's PR description for the
5620
+ * explicit statement of this choice.
5621
+ *
5622
+ * Code blocks: no syntax highlighter is bundled (would be a hidden
5623
+ * dependency and/or heavy runtime cost). The optional `renderCodeBlock` prop
5624
+ * is the host's extension point — pass a highlighter of your choice
5625
+ * (Shiki, Prism, etc.) and this component defers to it entirely; omit it and
5626
+ * a plain `<pre><code>` block is rendered.
5627
+ *
5628
+ * No "use client" — prepend-use-client.mjs adds it to dist. Presentational:
5629
+ * zero network calls, zero side effects beyond rendering.
5630
+ *
5631
+ * @example
5632
+ * <MosaicMarkdown content={"# Title\n\nSome **bold** text with a [link](https://example.com)."} />
5633
+ *
5634
+ * @example
5635
+ * // Host-provided syntax highlighting
5636
+ * <MosaicMarkdown
5637
+ * content={agentReply}
5638
+ * renderCodeBlock={({ language, code }) => <MyHighlighter language={language}>{code}</MyHighlighter>}
5639
+ * />
5640
+ */
5641
+
5642
+ interface MosaicMarkdownProps {
5643
+ /**
5644
+ * Markdown source to render. Treated as UNTRUSTED (e.g. straight from an
5645
+ * LLM reply): no raw HTML in this string is ever parsed as active markup.
5646
+ */
5647
+ content: string;
5648
+ /**
5649
+ * Extension point for fenced-code-block rendering (e.g. host-side syntax
5650
+ * highlighting). When omitted, code renders in a plain `<pre><code>` block
5651
+ * with no highlighting and no bundled highlighter dependency.
5652
+ */
5653
+ renderCodeBlock?: (props: {
5654
+ language: string | undefined;
5655
+ code: string;
5656
+ }) => React.ReactNode;
5657
+ /** Additional Tailwind classes on the root element. */
5658
+ className?: string;
5659
+ /** React 19 ref prop — forwarded to the root element. */
5660
+ ref?: React.Ref<HTMLDivElement>;
5661
+ }
5662
+ /**
5663
+ * MosaicMarkdown — production markdown-rendering atom for
5664
+ * @vantageos/mosaic-blocks.
5665
+ *
5666
+ * Purely presentational: parses `content` into a minimal block/inline AST and
5667
+ * renders it as React elements. No network call, no raw-HTML injection.
5668
+ */
5669
+ declare function MosaicMarkdown({ content, renderCodeBlock, className, ref }: MosaicMarkdownProps): React.JSX.Element;
5670
+ declare namespace MosaicMarkdown {
5671
+ var displayName: string;
5672
+ }
5673
+
5674
+ 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, MosaicAgentCard, type MosaicAgentCardProps, MosaicAgentComposer, MosaicAgentComposerDesktop, MosaicAgentComposerMobile, type MosaicAgentComposerMobileProps, type MosaicAgentComposerProps, type MosaicAgentData, MosaicAgentList, AgentListDesktop as MosaicAgentListDesktop, AgentListMobile as MosaicAgentListMobile, type MosaicAgentListProps, type MosaicAgentPreset, MosaicAgentTeamPreview, type MosaicAgentTeamPreviewProps, MosaicAnimatedList, type MosaicAnimatedListProps, MosaicAppSidebar, type MosaicAppSidebarProps, 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, 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, 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, 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, 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, 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, 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, type MosaicTemplate, type MosaicTemplateAgent, MosaicTemplateCard, type MosaicTemplateCardProps, MosaicTemplateGallery, type MosaicTemplateGalleryProps, type MosaicTemplateMetadata, MosaicTemplatePreview, type MosaicTemplatePreviewProps, MosaicTestimonialsGrid, type MosaicTestimonialsGridProps, MosaicTextarea, type MosaicTextareaProps, MosaicThemeProvider, type MosaicThemeProviderProps, MosaicThemeToggle, type MosaicThemeToggleProps, 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, badgeVariants, buttonVariants, skeletonVariants, useBreakpoint, useDevice, useMosaicWorkspace as useEffectiveWorkspaceId, useIsDesktop, useIsMobile, useIsTablet, useMediaQuery, useMosaicWorkspace, useOrientation, useViewport, version };
package/dist/index.js CHANGED
@@ -27,7 +27,7 @@ import { Menu } from '@base-ui/react/menu';
27
27
  import { AlertDialog } from '@base-ui/react/alert-dialog';
28
28
 
29
29
  // src/version.ts
30
- var version = "0.5.6-alpha";
30
+ var version = "0.5.7-alpha";
31
31
  function Placeholder({ label = "mosaic-blocks placeholder" }) {
32
32
  return /* @__PURE__ */ jsx("div", { "data-mosaic-block": "placeholder", children: label });
33
33
  }
@@ -11663,7 +11663,313 @@ function MosaicChatComposer(props) {
11663
11663
  );
11664
11664
  }
11665
11665
  MosaicChatComposer.displayName = "MosaicChatComposer";
11666
+ var markdownRootVariants = cva([
11667
+ "min-w-0 text-[15px] leading-6 text-foreground [&>*:first-child]:mt-0 [&>*:last-child]:mb-0"
11668
+ ]);
11669
+ var markdownHeadingVariants = cva(["font-medium tracking-normal text-foreground"], {
11670
+ variants: {
11671
+ level: {
11672
+ 1: "mt-7 mb-4 text-xl leading-7",
11673
+ 2: "mt-6 mb-3 text-base leading-6",
11674
+ 3: "mt-5 mb-2 text-sm leading-6",
11675
+ 4: "mt-4 mb-2 text-sm leading-6",
11676
+ 5: "mt-4 mb-2 text-xs leading-5",
11677
+ 6: "mt-4 mb-2 text-xs leading-5 text-muted-foreground"
11678
+ }
11679
+ },
11680
+ defaultVariants: {
11681
+ level: 1
11682
+ }
11683
+ });
11684
+ var markdownParagraphVariants = cva(["mb-3 text-[15px] leading-6 text-foreground"]);
11685
+ var markdownListVariants = cva(["mb-3 flex flex-col gap-1.5 pl-8 text-[15px] leading-6"], {
11686
+ variants: {
11687
+ ordered: {
11688
+ true: "list-decimal",
11689
+ false: "list-disc"
11690
+ }
11691
+ },
11692
+ defaultVariants: {
11693
+ ordered: false
11694
+ }
11695
+ });
11696
+ var markdownListItemVariants = cva(["pl-1 text-[15px] leading-6 text-foreground"]);
11697
+ var markdownBlockquoteVariants = cva([
11698
+ "mb-3 border-l-2 border-border pl-3 text-[15px] leading-6 text-muted-foreground"
11699
+ ]);
11700
+ var markdownHrVariants = cva(["my-4 border-border/70"]);
11701
+ var markdownEmphasisVariants = cva([], {
11702
+ variants: {
11703
+ tone: {
11704
+ strong: "font-medium text-foreground",
11705
+ emphasis: "italic"
11706
+ }
11707
+ }
11708
+ });
11709
+ var markdownInlineCodeVariants = cva([
11710
+ "rounded-md border border-border/70 bg-muted/40 px-1.5 py-0.5 font-mono text-[0.92em] text-foreground"
11711
+ ]);
11712
+ var markdownCodeBlockVariants = cva([
11713
+ "mb-3 overflow-x-auto rounded-md border border-border bg-muted/40 p-3 font-mono text-[0.92em] text-foreground"
11714
+ ]);
11715
+ var markdownLinkVariants = cva([
11716
+ "font-medium text-foreground underline decoration-border underline-offset-4 transition-colors hover:decoration-foreground"
11717
+ ]);
11718
+ var markdownTableWrapperVariants = cva(["mb-3 w-full overflow-x-auto"]);
11719
+ var markdownTableVariants = cva(["w-full border-collapse text-[15px] leading-6"]);
11720
+ var markdownTableCellVariants = cva(["border border-border px-3 py-1.5"], {
11721
+ variants: {
11722
+ header: {
11723
+ true: "bg-muted/40 font-medium text-foreground",
11724
+ false: "text-foreground"
11725
+ },
11726
+ align: {
11727
+ left: "text-left",
11728
+ center: "text-center",
11729
+ right: "text-right"
11730
+ }
11731
+ },
11732
+ defaultVariants: {
11733
+ header: false,
11734
+ align: "left"
11735
+ }
11736
+ });
11737
+ function cn75(...classes) {
11738
+ return classes.filter(Boolean).join(" ");
11739
+ }
11740
+ function sanitizeHref(rawHref) {
11741
+ const href = rawHref.replace(/[\x00-\x20]/g, "");
11742
+ if (!href) return null;
11743
+ const schemeMatch = /^([a-zA-Z][a-zA-Z0-9+.-]*):/.exec(href);
11744
+ if (!schemeMatch) return href;
11745
+ const scheme = schemeMatch[1].toLowerCase();
11746
+ return scheme === "http" || scheme === "https" || scheme === "mailto" ? href : null;
11747
+ }
11748
+ function makeIdSource() {
11749
+ let current = 0;
11750
+ return {
11751
+ next: () => {
11752
+ current += 1;
11753
+ return current;
11754
+ }
11755
+ };
11756
+ }
11757
+ function parseInline(text, ids) {
11758
+ const nodes = [];
11759
+ let buffer = "";
11760
+ let i = 0;
11761
+ const flush = () => {
11762
+ if (buffer.length > 0) {
11763
+ nodes.push(buffer);
11764
+ buffer = "";
11765
+ }
11766
+ };
11767
+ while (i < text.length) {
11768
+ const rest = text.slice(i);
11769
+ const codeMatch = /^`([^`]+)`/.exec(rest);
11770
+ if (codeMatch) {
11771
+ flush();
11772
+ nodes.push(
11773
+ /* @__PURE__ */ jsx("code", { className: markdownInlineCodeVariants(), children: codeMatch[1] }, ids.next())
11774
+ );
11775
+ i += codeMatch[0].length;
11776
+ continue;
11777
+ }
11778
+ const linkMatch = /^\[([^\]]*)\]\(((?:[^()]|\([^()]*\))*)\)/.exec(rest);
11779
+ if (linkMatch) {
11780
+ flush();
11781
+ const label = linkMatch[1];
11782
+ const safeHref = sanitizeHref(linkMatch[2]);
11783
+ if (safeHref) {
11784
+ nodes.push(
11785
+ /* @__PURE__ */ jsx(
11786
+ "a",
11787
+ {
11788
+ href: safeHref,
11789
+ target: "_blank",
11790
+ rel: "noopener noreferrer",
11791
+ className: markdownLinkVariants(),
11792
+ children: parseInline(label, ids)
11793
+ },
11794
+ ids.next()
11795
+ )
11796
+ );
11797
+ } else {
11798
+ nodes.push(...parseInline(label, ids));
11799
+ }
11800
+ i += linkMatch[0].length;
11801
+ continue;
11802
+ }
11803
+ const boldMatch = /^\*\*([^*]+)\*\*/.exec(rest);
11804
+ if (boldMatch) {
11805
+ flush();
11806
+ nodes.push(
11807
+ /* @__PURE__ */ jsx("strong", { className: markdownEmphasisVariants({ tone: "strong" }), children: parseInline(boldMatch[1], ids) }, ids.next())
11808
+ );
11809
+ i += boldMatch[0].length;
11810
+ continue;
11811
+ }
11812
+ const italicMatch = /^\*([^*]+)\*/.exec(rest);
11813
+ if (italicMatch) {
11814
+ flush();
11815
+ nodes.push(
11816
+ /* @__PURE__ */ jsx("em", { className: markdownEmphasisVariants({ tone: "emphasis" }), children: parseInline(italicMatch[1], ids) }, ids.next())
11817
+ );
11818
+ i += italicMatch[0].length;
11819
+ continue;
11820
+ }
11821
+ buffer += text[i];
11822
+ i += 1;
11823
+ }
11824
+ flush();
11825
+ return nodes;
11826
+ }
11827
+ var FENCE_RE = /^```(\S*)\s*$/;
11828
+ var HEADING_RE = /^(#{1,6})\s+(.*)$/;
11829
+ var HR_RE = /^(-{3,}|\*{3,}|_{3,})$/;
11830
+ var UNORDERED_ITEM_RE = /^[-*+]\s+/;
11831
+ var ORDERED_ITEM_RE = /^\d+\.\s+/;
11832
+ var BLOCKQUOTE_LINE_RE = /^>\s?/;
11833
+ var TABLE_SEPARATOR_RE = /^\s*\|?\s*:?-+:?\s*(\|\s*:?-+:?\s*)*\|?\s*$/;
11834
+ function parseTableRow(line) {
11835
+ const trimmed = line.trim().replace(/^\|/, "").replace(/\|$/, "");
11836
+ return trimmed.split("|").map((cell) => cell.trim());
11837
+ }
11838
+ function parseBlocks(content) {
11839
+ const lines = content.split(/\r?\n/);
11840
+ const blocks = [];
11841
+ let id = 0;
11842
+ const nextId = () => {
11843
+ id += 1;
11844
+ return id;
11845
+ };
11846
+ let i = 0;
11847
+ while (i < lines.length) {
11848
+ const line = lines[i];
11849
+ if (line.trim() === "") {
11850
+ i += 1;
11851
+ continue;
11852
+ }
11853
+ const fenceMatch = FENCE_RE.exec(line);
11854
+ if (fenceMatch) {
11855
+ const language = fenceMatch[1] || void 0;
11856
+ const codeLines = [];
11857
+ i += 1;
11858
+ while (i < lines.length && !/^```\s*$/.test(lines[i])) {
11859
+ codeLines.push(lines[i]);
11860
+ i += 1;
11861
+ }
11862
+ i += 1;
11863
+ blocks.push({ id: nextId(), kind: "code", language, code: codeLines.join("\n") });
11864
+ continue;
11865
+ }
11866
+ const headingMatch = HEADING_RE.exec(line);
11867
+ if (headingMatch) {
11868
+ blocks.push({
11869
+ id: nextId(),
11870
+ kind: "heading",
11871
+ level: headingMatch[1].length,
11872
+ text: headingMatch[2].trim()
11873
+ });
11874
+ i += 1;
11875
+ continue;
11876
+ }
11877
+ if (HR_RE.test(line.trim())) {
11878
+ blocks.push({ id: nextId(), kind: "hr" });
11879
+ i += 1;
11880
+ continue;
11881
+ }
11882
+ if (line.includes("|") && i + 1 < lines.length && TABLE_SEPARATOR_RE.test(lines[i + 1])) {
11883
+ const header = parseTableRow(line);
11884
+ i += 2;
11885
+ const rows = [];
11886
+ while (i < lines.length && lines[i].trim() !== "" && lines[i].includes("|")) {
11887
+ rows.push(parseTableRow(lines[i]));
11888
+ i += 1;
11889
+ }
11890
+ blocks.push({ id: nextId(), kind: "table", header, rows });
11891
+ continue;
11892
+ }
11893
+ if (BLOCKQUOTE_LINE_RE.test(line)) {
11894
+ const quoteLines = [];
11895
+ while (i < lines.length && BLOCKQUOTE_LINE_RE.test(lines[i])) {
11896
+ quoteLines.push(lines[i].replace(BLOCKQUOTE_LINE_RE, ""));
11897
+ i += 1;
11898
+ }
11899
+ blocks.push({ id: nextId(), kind: "blockquote", text: quoteLines.join(" ") });
11900
+ continue;
11901
+ }
11902
+ if (UNORDERED_ITEM_RE.test(line)) {
11903
+ const items = [];
11904
+ while (i < lines.length && UNORDERED_ITEM_RE.test(lines[i])) {
11905
+ items.push({ id: nextId(), text: lines[i].replace(UNORDERED_ITEM_RE, "") });
11906
+ i += 1;
11907
+ }
11908
+ blocks.push({ id: nextId(), kind: "list", ordered: false, items });
11909
+ continue;
11910
+ }
11911
+ if (ORDERED_ITEM_RE.test(line)) {
11912
+ const items = [];
11913
+ while (i < lines.length && ORDERED_ITEM_RE.test(lines[i])) {
11914
+ items.push({ id: nextId(), text: lines[i].replace(ORDERED_ITEM_RE, "") });
11915
+ i += 1;
11916
+ }
11917
+ blocks.push({ id: nextId(), kind: "list", ordered: true, items });
11918
+ continue;
11919
+ }
11920
+ const paragraphLines = [];
11921
+ while (i < lines.length && lines[i].trim() !== "" && !FENCE_RE.test(lines[i]) && !HEADING_RE.test(lines[i]) && !UNORDERED_ITEM_RE.test(lines[i]) && !ORDERED_ITEM_RE.test(lines[i]) && !BLOCKQUOTE_LINE_RE.test(lines[i]) && !HR_RE.test(lines[i].trim())) {
11922
+ paragraphLines.push(lines[i]);
11923
+ i += 1;
11924
+ }
11925
+ blocks.push({ id: nextId(), kind: "paragraph", text: paragraphLines.join(" ") });
11926
+ }
11927
+ return blocks;
11928
+ }
11929
+ function MosaicMarkdown({ content, renderCodeBlock, className, ref }) {
11930
+ const blocks = parseBlocks(content);
11931
+ const ids = makeIdSource();
11932
+ return /* @__PURE__ */ jsx("div", { ref, "data-slot": "markdown", className: cn75(markdownRootVariants(), className), children: blocks.map((block) => {
11933
+ if (block.kind === "heading") {
11934
+ const HeadingTag = `h${block.level}`;
11935
+ return /* @__PURE__ */ jsx(HeadingTag, { className: markdownHeadingVariants({ level: block.level }), children: parseInline(block.text, ids) }, block.id);
11936
+ }
11937
+ if (block.kind === "paragraph") {
11938
+ return /* @__PURE__ */ jsx("p", { className: markdownParagraphVariants(), children: parseInline(block.text, ids) }, block.id);
11939
+ }
11940
+ if (block.kind === "list") {
11941
+ const ListTag = block.ordered ? "ol" : "ul";
11942
+ return /* @__PURE__ */ jsx(ListTag, { className: markdownListVariants({ ordered: block.ordered }), children: block.items.map((item) => /* @__PURE__ */ jsx("li", { className: markdownListItemVariants(), children: parseInline(item.text, ids) }, item.id)) }, block.id);
11943
+ }
11944
+ if (block.kind === "blockquote") {
11945
+ return /* @__PURE__ */ jsx("blockquote", { className: markdownBlockquoteVariants(), children: parseInline(block.text, ids) }, block.id);
11946
+ }
11947
+ if (block.kind === "hr") {
11948
+ return /* @__PURE__ */ jsx("hr", { className: markdownHrVariants() }, block.id);
11949
+ }
11950
+ if (block.kind === "code") {
11951
+ if (renderCodeBlock) {
11952
+ return /* @__PURE__ */ jsx("div", { children: renderCodeBlock({ language: block.language, code: block.code }) }, block.id);
11953
+ }
11954
+ return /* @__PURE__ */ jsx(
11955
+ "pre",
11956
+ {
11957
+ "data-slot": "markdown-code-block",
11958
+ ...block.language ? { "data-language": block.language } : {},
11959
+ className: markdownCodeBlockVariants(),
11960
+ children: /* @__PURE__ */ jsx("code", { children: block.code })
11961
+ },
11962
+ block.id
11963
+ );
11964
+ }
11965
+ return /* @__PURE__ */ jsx("div", { className: markdownTableWrapperVariants(), children: /* @__PURE__ */ jsxs("table", { className: markdownTableVariants(), children: [
11966
+ /* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsx("tr", { children: block.header.map((cell) => /* @__PURE__ */ jsx("th", { className: markdownTableCellVariants({ header: true }), children: parseInline(cell, ids) }, ids.next())) }) }),
11967
+ /* @__PURE__ */ jsx("tbody", { children: block.rows.map((row) => /* @__PURE__ */ jsx("tr", { children: row.map((cell) => /* @__PURE__ */ jsx("td", { className: markdownTableCellVariants({ header: false }), children: parseInline(cell, ids) }, ids.next())) }, ids.next())) })
11968
+ ] }) }, block.id);
11969
+ }) });
11970
+ }
11971
+ MosaicMarkdown.displayName = "MosaicMarkdown";
11666
11972
 
11667
- export { MosaicAccordion, MosaicAccordionItem, MosaicAccordionPanel, MosaicAccordionTrigger, MosaicActivityFeed, MosaicActivityItem, MosaicAdaptiveGrid, MosaicAdaptiveModal, MosaicAdaptiveNavigation, MosaicAgentCard, MosaicAgentComposer, MosaicAgentComposerDesktop, MosaicAgentComposerMobile, MosaicAgentList, AgentListDesktop as MosaicAgentListDesktop, AgentListMobile as MosaicAgentListMobile, MosaicAgentTeamPreview, MosaicAnimatedList, MosaicAppSidebar, MosaicAvatar, MosaicBadge, MosaicBlurredOrb, MosaicButton, MosaicCard, MosaicCardContent, MosaicCardDescription, MosaicCardFooter, MosaicCardHeader, MosaicCardTitle, MosaicChatComposer, MosaicChatThread, MosaicCheckbox, MosaicClerkOrgSwitcher, MosaicClerkWebhookHandler, MosaicCollapsible, MosaicCollapsiblePanel, MosaicCollapsibleTrigger, MosaicCombobox, MosaicCounter, MosaicCreateOrgDialog, MosaicDashboardContent, MosaicDashboardHeader, MosaicDashboardLayout, MosaicDataTable, MosaicDeleteConfirmationDialog, MosaicDeviceProvider, MosaicDocumentUpload, MosaicDropdownMenu, MosaicEmptyState, MosaicFallingPattern, MosaicFeature3Col, MosaicFeatureCenteredMedia, MosaicField, MosaicFieldControl, MosaicFieldDescription, MosaicFieldError, MosaicFieldLabel, MosaicFilterBar, MosaicFilterSidebar, MosaicFooterSimple, MosaicHeroSplit, MosaicInput, MosaicInputGroup, MosaicIntegrationsBadge, MosaicInviteMemberDialog, MosaicKanbanBoard, MosaicKanbanColumn, MosaicLogosGrid, MosaicMainNav, MosaicMarketplaceList, MarketplaceListDesktop as MosaicMarketplaceListDesktop, MarketplaceListMobile as MosaicMarketplaceListMobile, MosaicMemberList, MosaicMemoryCard, MosaicMessageCard, MosaicMessageList, MessageListDesktop as MosaicMessageListDesktop, MessageListMobile as MosaicMessageListMobile, MosaicModuleCard, MosaicModuleForm, MosaicModuleLibrary, MosaicMultiOrgIndicator, MosaicMultiTenantProvider, MosaicNavbar, MosaicOrgPanel, MosaicOrgProfilePage, MosaicOrgRoleBadge, MosaicOrgSwitcher, MosaicPreferencesPanel, MosaicPricingCard, MosaicProfilePanel, MosaicProgress, MosaicQuickActionCard, MosaicQuickActionsMenu, MosaicQuickAgentSelector, MosaicQuickStartPanel, MosaicRadioGroup, MosaicRadioGroupItem, MosaicScrollArea, MosaicSelect, MosaicSelectorModal, MosaicSeparator, MosaicSignInLayout, MosaicSignUpLayout, MosaicSkeleton, MosaicSlider, MosaicStatsGrid, MosaicStepPipeline, MosaicSwitch, MosaicTabs, MosaicTabsList, MosaicTabsPanel, MosaicTabsTrigger, MosaicTemplateCard, MosaicTemplateGallery, MosaicTemplatePreview, MosaicTestimonialsGrid, MosaicTextarea, MosaicThemeProvider, MosaicThemeToggle, MosaicTooltip, MosaicTooltipContent, MosaicTooltipProvider, MosaicTooltipRoot, MosaicTooltipTrigger, MosaicUrlScraper, MosaicUserButton, Placeholder, badgeVariants, buttonVariants, skeletonVariants, useBreakpoint, useDevice, useMosaicWorkspace as useEffectiveWorkspaceId, useIsDesktop, useIsMobile, useIsTablet, useMediaQuery, useMosaicWorkspace, useOrientation, useViewport, version };
11973
+ export { MosaicAccordion, MosaicAccordionItem, MosaicAccordionPanel, MosaicAccordionTrigger, MosaicActivityFeed, MosaicActivityItem, MosaicAdaptiveGrid, MosaicAdaptiveModal, MosaicAdaptiveNavigation, MosaicAgentCard, MosaicAgentComposer, MosaicAgentComposerDesktop, MosaicAgentComposerMobile, MosaicAgentList, AgentListDesktop as MosaicAgentListDesktop, AgentListMobile as MosaicAgentListMobile, MosaicAgentTeamPreview, MosaicAnimatedList, MosaicAppSidebar, MosaicAvatar, MosaicBadge, MosaicBlurredOrb, MosaicButton, MosaicCard, MosaicCardContent, MosaicCardDescription, MosaicCardFooter, MosaicCardHeader, MosaicCardTitle, MosaicChatComposer, MosaicChatThread, MosaicCheckbox, MosaicClerkOrgSwitcher, MosaicClerkWebhookHandler, MosaicCollapsible, MosaicCollapsiblePanel, MosaicCollapsibleTrigger, MosaicCombobox, MosaicCounter, MosaicCreateOrgDialog, MosaicDashboardContent, MosaicDashboardHeader, MosaicDashboardLayout, MosaicDataTable, MosaicDeleteConfirmationDialog, MosaicDeviceProvider, MosaicDocumentUpload, MosaicDropdownMenu, MosaicEmptyState, MosaicFallingPattern, MosaicFeature3Col, MosaicFeatureCenteredMedia, MosaicField, MosaicFieldControl, MosaicFieldDescription, MosaicFieldError, MosaicFieldLabel, MosaicFilterBar, MosaicFilterSidebar, MosaicFooterSimple, MosaicHeroSplit, MosaicInput, MosaicInputGroup, MosaicIntegrationsBadge, MosaicInviteMemberDialog, MosaicKanbanBoard, MosaicKanbanColumn, MosaicLogosGrid, MosaicMainNav, MosaicMarkdown, MosaicMarketplaceList, MarketplaceListDesktop as MosaicMarketplaceListDesktop, MarketplaceListMobile as MosaicMarketplaceListMobile, MosaicMemberList, MosaicMemoryCard, MosaicMessageCard, MosaicMessageList, MessageListDesktop as MosaicMessageListDesktop, MessageListMobile as MosaicMessageListMobile, MosaicModuleCard, MosaicModuleForm, MosaicModuleLibrary, MosaicMultiOrgIndicator, MosaicMultiTenantProvider, MosaicNavbar, MosaicOrgPanel, MosaicOrgProfilePage, MosaicOrgRoleBadge, MosaicOrgSwitcher, MosaicPreferencesPanel, MosaicPricingCard, MosaicProfilePanel, MosaicProgress, MosaicQuickActionCard, MosaicQuickActionsMenu, MosaicQuickAgentSelector, MosaicQuickStartPanel, MosaicRadioGroup, MosaicRadioGroupItem, MosaicScrollArea, MosaicSelect, MosaicSelectorModal, MosaicSeparator, MosaicSignInLayout, MosaicSignUpLayout, MosaicSkeleton, MosaicSlider, MosaicStatsGrid, MosaicStepPipeline, MosaicSwitch, MosaicTabs, MosaicTabsList, MosaicTabsPanel, MosaicTabsTrigger, MosaicTemplateCard, MosaicTemplateGallery, MosaicTemplatePreview, MosaicTestimonialsGrid, MosaicTextarea, MosaicThemeProvider, MosaicThemeToggle, MosaicTooltip, MosaicTooltipContent, MosaicTooltipProvider, MosaicTooltipRoot, MosaicTooltipTrigger, MosaicUrlScraper, MosaicUserButton, Placeholder, badgeVariants, buttonVariants, skeletonVariants, useBreakpoint, useDevice, useMosaicWorkspace as useEffectiveWorkspaceId, useIsDesktop, useIsMobile, useIsTablet, useMediaQuery, useMosaicWorkspace, useOrientation, useViewport, version };
11668
11974
  //# sourceMappingURL=index.js.map
11669
11975
  //# sourceMappingURL=index.js.map