@vantageos/mosaic-blocks 0.5.30-alpha → 0.5.31-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.cjs +252 -122
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +212 -18
- package/dist/index.d.ts +212 -18
- package/dist/index.js +252 -122
- package/dist/index.js.map +1 -1
- package/dist/styles.css +12 -0
- package/package.json +4 -1
package/dist/index.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
|
|
|
21
21
|
import { AlertDialog } from '@base-ui/react/alert-dialog';
|
|
22
22
|
export { Tooltip } from '@base-ui/react/tooltip';
|
|
23
23
|
|
|
24
|
-
declare const version = "0.5.
|
|
24
|
+
declare const version = "0.5.31-alpha";
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* Placeholder component — infra scaffold only.
|
|
@@ -2328,7 +2328,7 @@ interface MosaicSidebarFooterStatus {
|
|
|
2328
2328
|
sublabel?: string;
|
|
2329
2329
|
icon?: React.ReactNode;
|
|
2330
2330
|
}
|
|
2331
|
-
interface
|
|
2331
|
+
interface MosaicAppSidebarBaseProps {
|
|
2332
2332
|
isCollapsed: boolean;
|
|
2333
2333
|
onToggleCollapse: () => void;
|
|
2334
2334
|
/** Current active path — used to highlight active nav items */
|
|
@@ -2345,6 +2345,13 @@ interface MosaicAppSidebarProps {
|
|
|
2345
2345
|
logoSlot?: React.ReactNode;
|
|
2346
2346
|
/** Footer status pill */
|
|
2347
2347
|
footerStatus?: MosaicSidebarFooterStatus;
|
|
2348
|
+
/**
|
|
2349
|
+
* Position of the collapse/expand chevron toggle. Defaults to "top" (inside
|
|
2350
|
+
* the header) — the pre-existing behavior, unchanged for current consumers.
|
|
2351
|
+
* "bottom" anchors it in its own zone below the nav (and below bottomNavItems
|
|
2352
|
+
* when present), matching a footer-anchored nav pattern.
|
|
2353
|
+
*/
|
|
2354
|
+
chevronPosition?: "top" | "bottom";
|
|
2348
2355
|
/**
|
|
2349
2356
|
* aria-label for the root `<div>` sidebar landmark. Required — host-owned,
|
|
2350
2357
|
* no default.
|
|
@@ -2363,6 +2370,18 @@ interface MosaicAppSidebarProps {
|
|
|
2363
2370
|
className?: string;
|
|
2364
2371
|
ref?: React.Ref<HTMLDivElement>;
|
|
2365
2372
|
}
|
|
2373
|
+
/**
|
|
2374
|
+
* bottomNavAriaLabel is REQUIRED exactly where it is READ: the bottom nav zone
|
|
2375
|
+
* only renders `<nav>` when bottomNavItems is provided, so the label is only
|
|
2376
|
+
* required in that branch — never a silently-missing default.
|
|
2377
|
+
*/
|
|
2378
|
+
type MosaicAppSidebarProps = MosaicAppSidebarBaseProps & ({
|
|
2379
|
+
bottomNavItems?: undefined;
|
|
2380
|
+
bottomNavAriaLabel?: string;
|
|
2381
|
+
} | {
|
|
2382
|
+
bottomNavItems: MosaicSidebarNavItem[];
|
|
2383
|
+
bottomNavAriaLabel: string;
|
|
2384
|
+
});
|
|
2366
2385
|
/**
|
|
2367
2386
|
* MosaicAppSidebar — collapsible sidebar with nav, quick actions, recent items, footer.
|
|
2368
2387
|
* Props-driven: no hardcoded routes or branding. Wires to MosaicDeviceProvider.
|
|
@@ -2379,7 +2398,7 @@ interface MosaicAppSidebarProps {
|
|
|
2379
2398
|
* />
|
|
2380
2399
|
* </MosaicDeviceProvider>
|
|
2381
2400
|
*/
|
|
2382
|
-
declare function MosaicAppSidebar({ isCollapsed, onToggleCollapse, activePath, onNavigate, navItems, quickActions, recentItems, logoSlot, footerStatus, sidebarAriaLabel, mainNavAriaLabel, quickActionsHeading, recentHeading, collapseSidebarAriaLabel, expandSidebarAriaLabel, className, ref, }: MosaicAppSidebarProps): React.JSX.Element;
|
|
2401
|
+
declare function MosaicAppSidebar({ isCollapsed, onToggleCollapse, activePath, onNavigate, navItems, quickActions, recentItems, logoSlot, footerStatus, chevronPosition, bottomNavItems, bottomNavAriaLabel, sidebarAriaLabel, mainNavAriaLabel, quickActionsHeading, recentHeading, collapseSidebarAriaLabel, expandSidebarAriaLabel, className, ref, }: MosaicAppSidebarProps): React.JSX.Element;
|
|
2383
2402
|
declare namespace MosaicAppSidebar {
|
|
2384
2403
|
var displayName: string;
|
|
2385
2404
|
}
|
|
@@ -2403,6 +2422,8 @@ declare namespace MosaicAppSidebar {
|
|
|
2403
2422
|
* Respects prefers-reduced-motion.
|
|
2404
2423
|
*/
|
|
2405
2424
|
|
|
2425
|
+
/** Omit that distributes over a discriminated union instead of collapsing it. */
|
|
2426
|
+
type DistributiveOmit<T, K extends keyof T> = T extends unknown ? Omit<T, K> : never;
|
|
2406
2427
|
interface MosaicBreadcrumb {
|
|
2407
2428
|
label: string;
|
|
2408
2429
|
href?: string;
|
|
@@ -2418,8 +2439,12 @@ interface MosaicDashboardLayoutProps {
|
|
|
2418
2439
|
* Props forwarded to MosaicAppSidebar (navItems, quickActions, etc.).
|
|
2419
2440
|
* Required — MosaicAppSidebar itself requires host-owned aria-label /
|
|
2420
2441
|
* heading strings with no default.
|
|
2442
|
+
*
|
|
2443
|
+
* Uses a distributive Omit so the bottomNavItems/bottomNavAriaLabel
|
|
2444
|
+
* discriminated union on MosaicAppSidebarProps survives the Omit — a plain
|
|
2445
|
+
* `Omit<Union, K>` collapses the union and loses the discriminant.
|
|
2421
2446
|
*/
|
|
2422
|
-
sidebarProps:
|
|
2447
|
+
sidebarProps: DistributiveOmit<MosaicAppSidebarProps, "isCollapsed" | "onToggleCollapse">;
|
|
2423
2448
|
/** Whether sidebar starts collapsed (default false) */
|
|
2424
2449
|
defaultSidebarCollapsed?: boolean;
|
|
2425
2450
|
/** Mobile sidebar modal title. Required, no default. */
|
|
@@ -2733,15 +2758,48 @@ interface MosaicAgentComposerProps {
|
|
|
2733
2758
|
previewConfigLabel: string;
|
|
2734
2759
|
customInstructionsPreviewLabel: string;
|
|
2735
2760
|
selectAllModulesLabel: string;
|
|
2761
|
+
/**
|
|
2762
|
+
* Module-slot action strings — required, host-owned, no default, no silent
|
|
2763
|
+
* English fallback (SIN-01). Each is a compose function rather than a
|
|
2764
|
+
* flat string because the composed phrase ("Edit {label}", "Select
|
|
2765
|
+
* {label}"…) is not just a word substitution: word order, articles, and
|
|
2766
|
+
* even verb placement relative to the noun vary by language (e.g. the verb
|
|
2767
|
+
* precedes the noun in English but not in every language). The host is the
|
|
2768
|
+
* only party that can own that composition.
|
|
2769
|
+
*/
|
|
2770
|
+
editModuleAriaLabel: (label: string) => string;
|
|
2771
|
+
removeModuleAriaLabel: (label: string) => string;
|
|
2772
|
+
/** Used for both the empty-slot aria-label and its visible button text. */
|
|
2773
|
+
selectModuleAriaLabel: (label: string) => string;
|
|
2774
|
+
/** Visible text on the "change selection" button once a module is filled. */
|
|
2775
|
+
changeModuleLabel: (label: string) => string;
|
|
2736
2776
|
/** Fallback name shown in the preview when `agentName` is empty. Required, no default. */
|
|
2737
2777
|
unnamedAgentLabel: string;
|
|
2738
2778
|
}
|
|
2779
|
+
interface MosaicAgentComposerDesktopProps extends MosaicAgentComposerProps {
|
|
2780
|
+
/**
|
|
2781
|
+
* Required host-owned strings — no default, no fallback. Read
|
|
2782
|
+
* unconditionally by the three module slots on every render.
|
|
2783
|
+
*/
|
|
2784
|
+
roleSublabel: string;
|
|
2785
|
+
personaSublabel: string;
|
|
2786
|
+
frameworkSublabel: string;
|
|
2787
|
+
/**
|
|
2788
|
+
* Which module slots must be filled before the live preview renders.
|
|
2789
|
+
* Optional — defaults to all four (role, persona, framework, model), i.e.
|
|
2790
|
+
* the exact behavior this component had before this prop existed. No
|
|
2791
|
+
* existing consumer needs to change anything to keep working unchanged.
|
|
2792
|
+
* Desktop-only: MosaicAgentComposerMobile has no live-preview panel and
|
|
2793
|
+
* never reads this prop.
|
|
2794
|
+
*/
|
|
2795
|
+
previewRequires?: Array<"role" | "persona" | "framework" | "model">;
|
|
2796
|
+
}
|
|
2739
2797
|
/**
|
|
2740
2798
|
* MosaicAgentComposerDesktop — two-column composer (desktop half of responsive pair).
|
|
2741
2799
|
* Share the same props contract with MosaicAgentComposerMobile.
|
|
2742
2800
|
* Use MosaicAgentComposer orchestrator to select the right variant automatically.
|
|
2743
2801
|
*/
|
|
2744
|
-
declare function MosaicAgentComposerDesktop({ agentName, onAgentNameChange, customInstructions, onCustomInstructionsChange, selectedRole, selectedPersona, selectedFramework, selectedModel, onSelectRole, onSelectPersona, onSelectFramework, onSelectModel, onRemoveRole, onRemovePersona, onRemoveFramework, onSave, onCancel, canSave, isEditMode, labels, agentNameLabel, agentNamePlaceholder, instructionsPlaceholder, modelDescriptionLabel, recommendedBadgeLabel, livePreviewHeading, livePreviewSubheading, previewConfigLabel, customInstructionsPreviewLabel, selectAllModulesLabel, unnamedAgentLabel, }:
|
|
2802
|
+
declare function MosaicAgentComposerDesktop({ agentName, onAgentNameChange, customInstructions, onCustomInstructionsChange, selectedRole, selectedPersona, selectedFramework, selectedModel, onSelectRole, onSelectPersona, onSelectFramework, onSelectModel, onRemoveRole, onRemovePersona, onRemoveFramework, onSave, onCancel, canSave, isEditMode, labels, agentNameLabel, agentNamePlaceholder, instructionsPlaceholder, modelDescriptionLabel, recommendedBadgeLabel, livePreviewHeading, livePreviewSubheading, previewConfigLabel, customInstructionsPreviewLabel, selectAllModulesLabel, unnamedAgentLabel, roleSublabel, personaSublabel, frameworkSublabel, editModuleAriaLabel, removeModuleAriaLabel, selectModuleAriaLabel, changeModuleLabel, previewRequires, }: MosaicAgentComposerDesktopProps): React.JSX.Element;
|
|
2745
2803
|
declare namespace MosaicAgentComposerDesktop {
|
|
2746
2804
|
var displayName: string;
|
|
2747
2805
|
}
|
|
@@ -2791,11 +2849,19 @@ interface MosaicAgentComposerMobileProps extends MosaicAgentComposerProps {
|
|
|
2791
2849
|
* Shares the same props contract as MosaicAgentComposerDesktop (plus isLoading).
|
|
2792
2850
|
* Use MosaicAgentComposer orchestrator to select the right variant automatically.
|
|
2793
2851
|
*/
|
|
2794
|
-
declare function MosaicAgentComposerMobile({ agentName, onAgentNameChange, customInstructions, onCustomInstructionsChange, selectedRole, selectedPersona, selectedFramework, selectedModel, onSelectRole, onSelectPersona, onSelectFramework, onSelectModel, onRemoveRole, onRemovePersona, onRemoveFramework, onSave, onCancel, canSave, isEditMode, isLoading, labels, agentNameLabel, agentNamePlaceholder, instructionsPlaceholder, recommendedBadgeLabel, requiredLabel, goBackAriaLabel, savingLabel, creatingLabel, optionalInstructionsHelp, }: MosaicAgentComposerMobileProps): React.JSX.Element;
|
|
2852
|
+
declare function MosaicAgentComposerMobile({ agentName, onAgentNameChange, customInstructions, onCustomInstructionsChange, selectedRole, selectedPersona, selectedFramework, selectedModel, onSelectRole, onSelectPersona, onSelectFramework, onSelectModel, onRemoveRole, onRemovePersona, onRemoveFramework, onSave, onCancel, canSave, isEditMode, isLoading, labels, agentNameLabel, agentNamePlaceholder, instructionsPlaceholder, recommendedBadgeLabel, requiredLabel, goBackAriaLabel, savingLabel, creatingLabel, optionalInstructionsHelp, editModuleAriaLabel, removeModuleAriaLabel, selectModuleAriaLabel, changeModuleLabel, }: MosaicAgentComposerMobileProps): React.JSX.Element;
|
|
2795
2853
|
declare namespace MosaicAgentComposerMobile {
|
|
2796
2854
|
var displayName: string;
|
|
2797
2855
|
}
|
|
2798
2856
|
|
|
2857
|
+
/**
|
|
2858
|
+
* The orchestrator can render EITHER variant at runtime depending on
|
|
2859
|
+
* viewport, so it must accept the union of both variants' required props
|
|
2860
|
+
* up front — it cannot know statically which one will render. This is the
|
|
2861
|
+
* same reasoning already applied to `requiredLabel` (Mobile-only) and now
|
|
2862
|
+
* extended to the three Desktop-only module-slot sublabels.
|
|
2863
|
+
*/
|
|
2864
|
+
type MosaicAgentComposerOrchestratorProps = MosaicAgentComposerMobileProps & Pick<MosaicAgentComposerDesktopProps, "roleSublabel" | "personaSublabel" | "frameworkSublabel" | "previewRequires">;
|
|
2799
2865
|
/**
|
|
2800
2866
|
* MosaicAgentComposer — device-adaptive composer that renders the Desktop
|
|
2801
2867
|
* variant on lg+ and the Mobile variant below lg.
|
|
@@ -2826,7 +2892,7 @@ declare namespace MosaicAgentComposerMobile {
|
|
|
2826
2892
|
* />
|
|
2827
2893
|
* </MosaicDeviceProvider>
|
|
2828
2894
|
*/
|
|
2829
|
-
declare function MosaicAgentComposer(props:
|
|
2895
|
+
declare function MosaicAgentComposer(props: MosaicAgentComposerOrchestratorProps): React.JSX.Element;
|
|
2830
2896
|
declare namespace MosaicAgentComposer {
|
|
2831
2897
|
var displayName: string;
|
|
2832
2898
|
}
|
|
@@ -3482,6 +3548,11 @@ interface MosaicQuickAgentSelectorProps {
|
|
|
3482
3548
|
availableAgents?: MosaicQuickAgent[];
|
|
3483
3549
|
onAddAgent: (agentId: string) => void;
|
|
3484
3550
|
onRemoveAgent: (agentId: string) => void;
|
|
3551
|
+
/**
|
|
3552
|
+
* Formatter for the remove-pill aria-label. Required, no default — the
|
|
3553
|
+
* host owns the language (e.g. `(name) => t('QuickAgentSelector.remove', { name })`).
|
|
3554
|
+
*/
|
|
3555
|
+
removeAgentAriaLabel: (agentName: string) => string;
|
|
3485
3556
|
/** Called when user clicks "Create custom" / "Configure" CTA */
|
|
3486
3557
|
onOpenBuilder?: () => void;
|
|
3487
3558
|
/** Max number of agents allowed */
|
|
@@ -3501,7 +3572,7 @@ interface MosaicQuickAgentSelectorProps {
|
|
|
3501
3572
|
closeAriaLabel: string;
|
|
3502
3573
|
className?: string;
|
|
3503
3574
|
}
|
|
3504
|
-
declare function MosaicQuickAgentSelector({ selectedAgents, availableAgents, onAddAgent, onRemoveAgent, onOpenBuilder, maxAgents, addLabel, createLabel, quickAddHeading, configureBehaviorCaption, noAgentsAvailableMessage, addAgentModalTitle, closeAriaLabel, className, }: MosaicQuickAgentSelectorProps): React.JSX.Element;
|
|
3575
|
+
declare function MosaicQuickAgentSelector({ selectedAgents, availableAgents, onAddAgent, onRemoveAgent, removeAgentAriaLabel, onOpenBuilder, maxAgents, addLabel, createLabel, quickAddHeading, configureBehaviorCaption, noAgentsAvailableMessage, addAgentModalTitle, closeAriaLabel, className, }: MosaicQuickAgentSelectorProps): React.JSX.Element;
|
|
3505
3576
|
declare namespace MosaicQuickAgentSelector {
|
|
3506
3577
|
var displayName: string;
|
|
3507
3578
|
}
|
|
@@ -4553,8 +4624,15 @@ interface MosaicTemplatePreviewProps {
|
|
|
4553
4624
|
selectLabel: string;
|
|
4554
4625
|
/** Label for the cancel button (shown when `onClose` is set). Required, no default. */
|
|
4555
4626
|
cancelLabel: string;
|
|
4627
|
+
/**
|
|
4628
|
+
* Formatter for the "Agents (N)" heading, shown only when `template.agents`
|
|
4629
|
+
* is non-empty. Optional — when absent, the heading is not rendered at all
|
|
4630
|
+
* (no fallback word). The host owns the language
|
|
4631
|
+
* (e.g. `(count) => t('TemplatePreview.agentsCount', { count })`).
|
|
4632
|
+
*/
|
|
4633
|
+
formatAgentsHeading?: (count: number) => string;
|
|
4556
4634
|
}
|
|
4557
|
-
declare function MosaicTemplatePreview({ template, onSelect, onClose, selectLabel, cancelLabel, }: MosaicTemplatePreviewProps): React.JSX.Element;
|
|
4635
|
+
declare function MosaicTemplatePreview({ template, onSelect, onClose, selectLabel, cancelLabel, formatAgentsHeading, }: MosaicTemplatePreviewProps): React.JSX.Element;
|
|
4558
4636
|
declare namespace MosaicTemplatePreview {
|
|
4559
4637
|
var displayName: string;
|
|
4560
4638
|
}
|
|
@@ -4710,6 +4788,13 @@ interface MosaicModuleLibraryProps {
|
|
|
4710
4788
|
* no default.
|
|
4711
4789
|
*/
|
|
4712
4790
|
tagListAddPlaceholder: string;
|
|
4791
|
+
/**
|
|
4792
|
+
* Formatter for a tag-chip's remove-button aria-label, read only when a
|
|
4793
|
+
* `tag-list` field renders an existing tag. Optional — when absent, the
|
|
4794
|
+
* remove button renders with no `aria-label` (no fallback word). The host
|
|
4795
|
+
* owns the language (e.g. `(tag) => t('ModuleForm.removeTag', { tag })`).
|
|
4796
|
+
*/
|
|
4797
|
+
removeTagAriaLabel?: (tag: string) => string;
|
|
4713
4798
|
className?: string;
|
|
4714
4799
|
}
|
|
4715
4800
|
/** Props shared by both form modes — read unconditionally. */
|
|
@@ -4733,6 +4818,13 @@ interface MosaicModuleFormBaseProps {
|
|
|
4733
4818
|
* no default.
|
|
4734
4819
|
*/
|
|
4735
4820
|
tagListAddPlaceholder: string;
|
|
4821
|
+
/**
|
|
4822
|
+
* Formatter for a tag-chip's remove-button aria-label, read only when a
|
|
4823
|
+
* `tag-list` field renders an existing tag. Optional — when absent, the
|
|
4824
|
+
* remove button renders with no `aria-label` (no fallback word). The host
|
|
4825
|
+
* owns the language (e.g. `(tag) => t('ModuleForm.removeTag', { tag })`).
|
|
4826
|
+
*/
|
|
4827
|
+
removeTagAriaLabel?: (tag: string) => string;
|
|
4736
4828
|
}
|
|
4737
4829
|
/**
|
|
4738
4830
|
* Discriminated union on `mode`. The submit button renders EXACTLY ONE label:
|
|
@@ -4813,9 +4905,22 @@ interface MosaicStatItem {
|
|
|
4813
4905
|
}
|
|
4814
4906
|
interface MosaicOrgRoleBadgeProps {
|
|
4815
4907
|
role: MosaicOrgRole;
|
|
4908
|
+
/**
|
|
4909
|
+
* Host-owned display label for this role (e.g. "Owner" / "Propriétaire").
|
|
4910
|
+
* Required, no default — the label is rendered unconditionally whenever
|
|
4911
|
+
* the badge renders, so there is no branch where this value is absent.
|
|
4912
|
+
*/
|
|
4913
|
+
label: string;
|
|
4914
|
+
/**
|
|
4915
|
+
* Host-owned description rendered as the badge's `title` tooltip.
|
|
4916
|
+
* Required, no default — the `title` attribute is set unconditionally
|
|
4917
|
+
* whenever the badge renders, so there is no branch where this value is
|
|
4918
|
+
* absent.
|
|
4919
|
+
*/
|
|
4920
|
+
description: string;
|
|
4816
4921
|
className?: string;
|
|
4817
4922
|
}
|
|
4818
|
-
declare function MosaicOrgRoleBadge({ role, className }: MosaicOrgRoleBadgeProps): React.JSX.Element;
|
|
4923
|
+
declare function MosaicOrgRoleBadge({ role, label, description, className, }: MosaicOrgRoleBadgeProps): React.JSX.Element;
|
|
4819
4924
|
declare namespace MosaicOrgRoleBadge {
|
|
4820
4925
|
var displayName: string;
|
|
4821
4926
|
}
|
|
@@ -4854,8 +4959,18 @@ interface MosaicCreateOrgDialogProps {
|
|
|
4854
4959
|
cancelLabel: string;
|
|
4855
4960
|
creatingLabel: string;
|
|
4856
4961
|
createLabel: string;
|
|
4962
|
+
/**
|
|
4963
|
+
* Optional host-owned validation messages. Each is rendered ONLY when the
|
|
4964
|
+
* corresponding field is invalid — omitting one means the field is still
|
|
4965
|
+
* validated (submission is still blocked) but no message text renders.
|
|
4966
|
+
* No fallback word: an absent prop is silence, never a manufactured
|
|
4967
|
+
* English string.
|
|
4968
|
+
*/
|
|
4969
|
+
nameRequiredMessage?: string;
|
|
4970
|
+
slugRequiredMessage?: string;
|
|
4971
|
+
slugFormatMessage?: string;
|
|
4857
4972
|
}
|
|
4858
|
-
declare function MosaicCreateOrgDialog({ open, onOpenChange, onCreateOrg, isLoading, title, closeAriaLabel, orgNameFieldLabel, orgNamePlaceholder, slugFieldLabel, slugPlaceholder, descriptionFieldLabel, descriptionPlaceholder, cancelLabel, creatingLabel, createLabel, }: MosaicCreateOrgDialogProps): React.JSX.Element;
|
|
4973
|
+
declare function MosaicCreateOrgDialog({ open, onOpenChange, onCreateOrg, isLoading, title, closeAriaLabel, orgNameFieldLabel, orgNamePlaceholder, slugFieldLabel, slugPlaceholder, descriptionFieldLabel, descriptionPlaceholder, cancelLabel, creatingLabel, createLabel, nameRequiredMessage, slugRequiredMessage, slugFormatMessage, }: MosaicCreateOrgDialogProps): React.JSX.Element;
|
|
4859
4974
|
declare namespace MosaicCreateOrgDialog {
|
|
4860
4975
|
var displayName: string;
|
|
4861
4976
|
}
|
|
@@ -4867,7 +4982,12 @@ interface MosaicInviteMemberDialogProps {
|
|
|
4867
4982
|
role: MosaicOrgRole;
|
|
4868
4983
|
}) => void | Promise<void>;
|
|
4869
4984
|
isLoading?: boolean;
|
|
4870
|
-
|
|
4985
|
+
/**
|
|
4986
|
+
* Host-owned role options (value + display label). Required, no default —
|
|
4987
|
+
* a default role list would reintroduce hardcoded English labels
|
|
4988
|
+
* ("Admin"/"Member") the library must never ship on its own.
|
|
4989
|
+
*/
|
|
4990
|
+
roles: Array<{
|
|
4871
4991
|
value: MosaicOrgRole;
|
|
4872
4992
|
label: string;
|
|
4873
4993
|
}>;
|
|
@@ -4884,8 +5004,16 @@ interface MosaicInviteMemberDialogProps {
|
|
|
4884
5004
|
cancelLabel: string;
|
|
4885
5005
|
sendingLabel: string;
|
|
4886
5006
|
sendInvitationLabel: string;
|
|
5007
|
+
/**
|
|
5008
|
+
* Optional host-owned validation messages. Each is rendered ONLY when the
|
|
5009
|
+
* email field is invalid for that specific reason — an absent prop means
|
|
5010
|
+
* the field is still validated (submission still blocked) but renders no
|
|
5011
|
+
* message text. No fallback word.
|
|
5012
|
+
*/
|
|
5013
|
+
emailRequiredMessage?: string;
|
|
5014
|
+
emailInvalidMessage?: string;
|
|
4887
5015
|
}
|
|
4888
|
-
declare function MosaicInviteMemberDialog({ open, onOpenChange, onInvite, isLoading, roles, title, closeAriaLabel, emailFieldLabel, emailPlaceholder, roleFieldLabel, cancelLabel, sendingLabel, sendInvitationLabel, }: MosaicInviteMemberDialogProps): React.JSX.Element;
|
|
5016
|
+
declare function MosaicInviteMemberDialog({ open, onOpenChange, onInvite, isLoading, roles, title, closeAriaLabel, emailFieldLabel, emailPlaceholder, roleFieldLabel, cancelLabel, sendingLabel, sendInvitationLabel, emailRequiredMessage, emailInvalidMessage, }: MosaicInviteMemberDialogProps): React.JSX.Element;
|
|
4889
5017
|
declare namespace MosaicInviteMemberDialog {
|
|
4890
5018
|
var displayName: string;
|
|
4891
5019
|
}
|
|
@@ -4895,7 +5023,12 @@ interface MosaicMemberListProps {
|
|
|
4895
5023
|
onChangeRole?: (memberId: string, role: MosaicOrgRole) => void;
|
|
4896
5024
|
onRemoveMember?: (memberId: string) => void;
|
|
4897
5025
|
onInvite?: () => void;
|
|
4898
|
-
|
|
5026
|
+
/**
|
|
5027
|
+
* Host-owned role options (value + display label), used to populate the
|
|
5028
|
+
* "change role" menu. Required, no default — a default role list would
|
|
5029
|
+
* reintroduce hardcoded English labels the library must never ship.
|
|
5030
|
+
*/
|
|
5031
|
+
roles: Array<{
|
|
4899
5032
|
value: MosaicOrgRole;
|
|
4900
5033
|
label: string;
|
|
4901
5034
|
}>;
|
|
@@ -4910,9 +5043,35 @@ interface MosaicMemberListProps {
|
|
|
4910
5043
|
removeMemberLabel: string;
|
|
4911
5044
|
emptyMessage: string;
|
|
4912
5045
|
inviteLabel: string;
|
|
5046
|
+
/**
|
|
5047
|
+
* Host-owned description per role, rendered as each member's role badge
|
|
5048
|
+
* tooltip. Required, no default — every rendered row shows a role badge
|
|
5049
|
+
* unconditionally.
|
|
5050
|
+
*/
|
|
5051
|
+
roleDescriptions: Record<MosaicOrgRole, string>;
|
|
5052
|
+
/**
|
|
5053
|
+
* Host-owned display label per role, rendered inside each member's role
|
|
5054
|
+
* badge. Required, no default — every rendered row shows a role badge
|
|
5055
|
+
* unconditionally.
|
|
5056
|
+
*/
|
|
5057
|
+
roleLabels: Record<MosaicOrgRole, string>;
|
|
5058
|
+
/**
|
|
5059
|
+
* Host-composed "joined on <date>" caption. Required, no default; called
|
|
5060
|
+
* ONLY for members that have a `joinedAt` — a member without one renders
|
|
5061
|
+
* no caption at all, so the function is never invoked for that row. The
|
|
5062
|
+
* host owns the whole sentence (word order varies by language), never a
|
|
5063
|
+
* library-side "Joined " + date concatenation.
|
|
5064
|
+
*/
|
|
5065
|
+
joinedLabel: (date: string) => string;
|
|
5066
|
+
/**
|
|
5067
|
+
* Host-composed "make <role>" menu-item caption (e.g. "Make admin" /
|
|
5068
|
+
* "Nommer admin"). Required, no default; the host owns the whole sentence,
|
|
5069
|
+
* never a library-side "Make " + label concatenation.
|
|
5070
|
+
*/
|
|
5071
|
+
makeRoleLabel: (roleLabel: string) => string;
|
|
4913
5072
|
className?: string;
|
|
4914
5073
|
}
|
|
4915
|
-
declare function MosaicMemberList({ members, currentUserId, onChangeRole, onRemoveMember, onInvite, roles, isLoading, searchPlaceholder, youLabel, memberActionsAriaLabel, removeMemberLabel, emptyMessage, inviteLabel, className, }: MosaicMemberListProps): React.JSX.Element;
|
|
5074
|
+
declare function MosaicMemberList({ members, currentUserId, onChangeRole, onRemoveMember, onInvite, roles, isLoading, searchPlaceholder, youLabel, memberActionsAriaLabel, removeMemberLabel, emptyMessage, inviteLabel, roleDescriptions, roleLabels, joinedLabel, makeRoleLabel, className, }: MosaicMemberListProps): React.JSX.Element;
|
|
4916
5075
|
declare namespace MosaicMemberList {
|
|
4917
5076
|
var displayName: string;
|
|
4918
5077
|
}
|
|
@@ -4996,6 +5155,13 @@ interface MosaicDashboardHeaderProps {
|
|
|
4996
5155
|
/** Notification count (0 = no badge) */
|
|
4997
5156
|
notificationCount?: number;
|
|
4998
5157
|
onNotificationsClick?: () => void;
|
|
5158
|
+
/**
|
|
5159
|
+
* Formatter for the notifications button aria-label, read only when
|
|
5160
|
+
* `onNotificationsClick` is set. Optional — when absent, the button
|
|
5161
|
+
* renders with no `aria-label` (no fallback word). The host owns the
|
|
5162
|
+
* language (e.g. `(count) => t('DashboardHeader.notifications', { count })`).
|
|
5163
|
+
*/
|
|
5164
|
+
notificationsAriaLabel?: (count: number) => string;
|
|
4999
5165
|
onSearchChange?: (query: string) => void;
|
|
5000
5166
|
/** Right-side slot (theme toggle, avatar, quick actions, etc.) */
|
|
5001
5167
|
actions?: React.ReactNode;
|
|
@@ -5013,7 +5179,7 @@ interface MosaicDashboardHeaderProps {
|
|
|
5013
5179
|
searchAriaLabel: string;
|
|
5014
5180
|
className?: string;
|
|
5015
5181
|
}
|
|
5016
|
-
declare function MosaicDashboardHeader({ title, subtitle, notificationCount, onNotificationsClick, onSearchChange, actions, logoSlot, searchPlaceholder, searchAriaLabel, className, }: MosaicDashboardHeaderProps): React.JSX.Element;
|
|
5182
|
+
declare function MosaicDashboardHeader({ title, subtitle, notificationCount, onNotificationsClick, notificationsAriaLabel, onSearchChange, actions, logoSlot, searchPlaceholder, searchAriaLabel, className, }: MosaicDashboardHeaderProps): React.JSX.Element;
|
|
5017
5183
|
declare namespace MosaicDashboardHeader {
|
|
5018
5184
|
var displayName: string;
|
|
5019
5185
|
}
|
|
@@ -6192,6 +6358,19 @@ declare namespace MosaicUrlScraper {
|
|
|
6192
6358
|
* </MosaicChatThread>
|
|
6193
6359
|
*/
|
|
6194
6360
|
|
|
6361
|
+
/**
|
|
6362
|
+
* Snapshot of which messages are currently in the thread's viewport.
|
|
6363
|
+
*
|
|
6364
|
+
* Shape mirrors the shadcn `useMessageScrollerVisibility()` convention
|
|
6365
|
+
* (`currentAnchorId` / `visibleMessageIds`) so a host migrating from one to
|
|
6366
|
+
* the other does not need to remap fields.
|
|
6367
|
+
*/
|
|
6368
|
+
interface MosaicChatThreadVisibleRange {
|
|
6369
|
+
/** Ids (DOM `id` attribute) of the direct children currently intersecting the viewport, in DOM order. */
|
|
6370
|
+
visibleMessageIds: string[];
|
|
6371
|
+
/** Id of the topmost visible child — a stable "you are here" anchor for a future jump-to-message affordance. `null` when nothing is visible. */
|
|
6372
|
+
currentAnchorId: string | null;
|
|
6373
|
+
}
|
|
6195
6374
|
interface MosaicChatThreadProps {
|
|
6196
6375
|
/** The host-rendered message list (or any other scrollable content). */
|
|
6197
6376
|
children: React.ReactNode;
|
|
@@ -6205,6 +6384,21 @@ interface MosaicChatThreadProps {
|
|
|
6205
6384
|
className?: string;
|
|
6206
6385
|
/** React 19 ref prop — forwarded to the root scrollable element. */
|
|
6207
6386
|
ref?: React.Ref<HTMLDivElement>;
|
|
6387
|
+
/**
|
|
6388
|
+
* OPTIONAL. Called whenever the set of visible messages changes, as
|
|
6389
|
+
* observed via `IntersectionObserver` on the content wrapper's direct
|
|
6390
|
+
* children. `children` stays fully opaque to this component — the only
|
|
6391
|
+
* signal read off each child is its DOM `id` attribute, never its content
|
|
6392
|
+
* or shape. A child without an `id` is silently excluded from the report
|
|
6393
|
+
* (nothing to identify it by), never introspected further.
|
|
6394
|
+
*
|
|
6395
|
+
* When this prop is omitted, NO `IntersectionObserver` is created — hosts
|
|
6396
|
+
* that do not need visible-range tracking pay zero cost for it.
|
|
6397
|
+
*
|
|
6398
|
+
* Opens the door to a future "jump to message" affordance built on top of
|
|
6399
|
+
* `currentAnchorId`.
|
|
6400
|
+
*/
|
|
6401
|
+
onVisibleRangeChange?: (range: MosaicChatThreadVisibleRange) => void;
|
|
6208
6402
|
}
|
|
6209
6403
|
/**
|
|
6210
6404
|
* MosaicChatThread — production auto-scrolling chat thread atom for
|
|
@@ -6214,7 +6408,7 @@ interface MosaicChatThreadProps {
|
|
|
6214
6408
|
* conversation state — the host owns the messages and passes them as
|
|
6215
6409
|
* `children`; this component only owns the scroll mechanics.
|
|
6216
6410
|
*/
|
|
6217
|
-
declare function MosaicChatThread({ children, scrollToBottomLabel, className, ref, }: MosaicChatThreadProps): React.JSX.Element;
|
|
6411
|
+
declare function MosaicChatThread({ children, scrollToBottomLabel, className, ref, onVisibleRangeChange, }: MosaicChatThreadProps): React.JSX.Element;
|
|
6218
6412
|
declare namespace MosaicChatThread {
|
|
6219
6413
|
var displayName: string;
|
|
6220
6414
|
}
|
|
@@ -10103,4 +10297,4 @@ declare const saveChatAsMemoryFormButtonVariants: (props?: ({
|
|
|
10103
10297
|
intent?: "cancel" | "save" | null | undefined;
|
|
10104
10298
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10105
10299
|
|
|
10106
|
-
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, MosaicEditSessionDialog, type MosaicEditSessionDialogProps, 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, MosaicMentionInput, type MosaicMentionInputProps, type MosaicMessage, MosaicMessageCard, type MosaicMessageCardProps, MosaicMessageList, MessageListDesktop as MosaicMessageListDesktop, MessageListMobile as MosaicMessageListMobile, type MosaicMessageListProps, type MosaicMessageReactions, MosaicMessageSearch, type MosaicMessageSearchProps, 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, MosaicReplyInput, type MosaicReplyInputProps, MosaicResizableSplitPane, type MosaicResizableSplitPaneProps, MosaicSaveChatAsMemoryForm, type MosaicSaveChatAsMemoryFormProps, 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, MosaicSessionCard, type MosaicSessionCardInteractionProps, type MosaicSessionCardProps, type MosaicSessionCardVariantProps, type MosaicSessionData, MosaicSessionList, type MosaicSessionListLayout, type MosaicSessionListProps, type MosaicSessionStatus, 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, MosaicThreadIndicator, type MosaicThreadIndicatorProps, type MosaicThreadIndicatorReplyStatus, MosaicThreadView, type MosaicThreadViewMessage, type MosaicThreadViewProps, 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, editSessionDialogBodyVariants, editSessionDialogButtonVariants, editSessionDialogErrorVariants, editSessionDialogFieldVariants, editSessionDialogFooterVariants, marketplaceCardVariants, memoryDashboardViewToggleButtonVariants, memoryGridVariants, memoryListItemVariants, memoryListVariants, memorySearchFilterChipVariants, mentionInputFieldVariants, mentionListItemVariants, mentionListVariants, pdfViewerFrameVariants, pdfViewerStatusVariants, pdfViewerToolbarButtonVariants, popoverPopupVariants, replyInputActionButtonVariants, replyInputContextVariants, replyInputRootVariants, replyInputTextareaVariants, saveChatAsMemoryFormButtonVariants, saveChatAsMemoryFormErrorVariants, saveChatAsMemoryFormFieldVariants, saveChatAsMemoryFormFooterVariants, saveChatAsMemoryFormRootVariants, saveTemplateModalBodyVariants, saveTemplateModalButtonVariants, saveTemplateModalErrorVariants, saveTemplateModalFieldVariants, saveTemplateModalFooterVariants, sessionCardVariants, sessionListItemVariants, sessionListVariants, skeletonVariants, splitPaneCollapseButtonVariants, splitPaneHandleVariants, splitPaneRootVariants, tagInputFieldVariants, tagInputRemoveButtonVariants, tagInputRootVariants, tagInputTagVariants, templateAgentCardBadgeVariants, templateAgentCardTagVariants, templateAgentCardVariants, templateCategoryChipVariants, templateListVariants, templateManagementRowVariants, threadIndicatorCountVariants, threadIndicatorRootVariants, threadViewEmptyVariants, threadViewRepliesVariants, threadViewReplyVariants, threadViewRootMessageVariants, threadViewRootVariants, toastCardVariants, toastDismissButtonVariants, toastProviderPositionVariants, toastTitleVariants, toolToggleListRowVariants, toolToggleListSectionVariants, useBreakpoint, useDevice, useMosaicWorkspace as useEffectiveWorkspaceId, useIsDesktop, useIsMobile, useIsTablet, useMediaQuery, useMosaicWorkspace, useOrientation, useViewport, version };
|
|
10300
|
+
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, type MosaicAgentComposerDesktopProps, 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, MosaicEditSessionDialog, type MosaicEditSessionDialogProps, 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, MosaicMentionInput, type MosaicMentionInputProps, type MosaicMessage, MosaicMessageCard, type MosaicMessageCardProps, MosaicMessageList, MessageListDesktop as MosaicMessageListDesktop, MessageListMobile as MosaicMessageListMobile, type MosaicMessageListProps, type MosaicMessageReactions, MosaicMessageSearch, type MosaicMessageSearchProps, 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, MosaicReplyInput, type MosaicReplyInputProps, MosaicResizableSplitPane, type MosaicResizableSplitPaneProps, MosaicSaveChatAsMemoryForm, type MosaicSaveChatAsMemoryFormProps, 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, MosaicSessionCard, type MosaicSessionCardInteractionProps, type MosaicSessionCardProps, type MosaicSessionCardVariantProps, type MosaicSessionData, MosaicSessionList, type MosaicSessionListLayout, type MosaicSessionListProps, type MosaicSessionStatus, 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, MosaicThreadIndicator, type MosaicThreadIndicatorProps, type MosaicThreadIndicatorReplyStatus, MosaicThreadView, type MosaicThreadViewMessage, type MosaicThreadViewProps, 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, editSessionDialogBodyVariants, editSessionDialogButtonVariants, editSessionDialogErrorVariants, editSessionDialogFieldVariants, editSessionDialogFooterVariants, marketplaceCardVariants, memoryDashboardViewToggleButtonVariants, memoryGridVariants, memoryListItemVariants, memoryListVariants, memorySearchFilterChipVariants, mentionInputFieldVariants, mentionListItemVariants, mentionListVariants, pdfViewerFrameVariants, pdfViewerStatusVariants, pdfViewerToolbarButtonVariants, popoverPopupVariants, replyInputActionButtonVariants, replyInputContextVariants, replyInputRootVariants, replyInputTextareaVariants, saveChatAsMemoryFormButtonVariants, saveChatAsMemoryFormErrorVariants, saveChatAsMemoryFormFieldVariants, saveChatAsMemoryFormFooterVariants, saveChatAsMemoryFormRootVariants, saveTemplateModalBodyVariants, saveTemplateModalButtonVariants, saveTemplateModalErrorVariants, saveTemplateModalFieldVariants, saveTemplateModalFooterVariants, sessionCardVariants, sessionListItemVariants, sessionListVariants, skeletonVariants, splitPaneCollapseButtonVariants, splitPaneHandleVariants, splitPaneRootVariants, tagInputFieldVariants, tagInputRemoveButtonVariants, tagInputRootVariants, tagInputTagVariants, templateAgentCardBadgeVariants, templateAgentCardTagVariants, templateAgentCardVariants, templateCategoryChipVariants, templateListVariants, templateManagementRowVariants, threadIndicatorCountVariants, threadIndicatorRootVariants, threadViewEmptyVariants, threadViewRepliesVariants, threadViewReplyVariants, threadViewRootMessageVariants, threadViewRootVariants, toastCardVariants, toastDismissButtonVariants, toastProviderPositionVariants, toastTitleVariants, toolToggleListRowVariants, toolToggleListSectionVariants, useBreakpoint, useDevice, useMosaicWorkspace as useEffectiveWorkspaceId, useIsDesktop, useIsMobile, useIsTablet, useMediaQuery, useMosaicWorkspace, useOrientation, useViewport, version };
|