@vantageos/mosaic-blocks 0.5.21-alpha → 0.5.23-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/index.cjs +1029 -220
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +765 -2
- package/dist/index.d.ts +765 -2
- package/dist/index.js +1001 -221
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -18,9 +18,10 @@ import { Input } from '@base-ui/react/input';
|
|
|
18
18
|
import { Field } from '@base-ui/react/field';
|
|
19
19
|
import { Switch } from '@base-ui/react/switch';
|
|
20
20
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
21
|
+
import { AlertDialog } from '@base-ui/react/alert-dialog';
|
|
21
22
|
export { Tooltip } from '@base-ui/react/tooltip';
|
|
22
23
|
|
|
23
|
-
declare const version = "0.5.
|
|
24
|
+
declare const version = "0.5.23-alpha";
|
|
24
25
|
|
|
25
26
|
/**
|
|
26
27
|
* Placeholder component — infra scaffold only.
|
|
@@ -2830,6 +2831,85 @@ declare namespace MosaicAgentComposer {
|
|
|
2830
2831
|
var displayName: string;
|
|
2831
2832
|
}
|
|
2832
2833
|
|
|
2834
|
+
/**
|
|
2835
|
+
* MosaicAgentEditor — agent config form (name / role / instructions)
|
|
2836
|
+
*
|
|
2837
|
+
* Ported (shape only) from any-debate-ai:
|
|
2838
|
+
* - components/agent-composer/AgentEditor.tsx
|
|
2839
|
+
* - components/agent-config/AgentBuilderModal.tsx
|
|
2840
|
+
*
|
|
2841
|
+
* No business logic is carried over: no roles/personas/frameworks lists, no
|
|
2842
|
+
* model presets, no default prompts. Every visible string is a REQUIRED prop
|
|
2843
|
+
* with no default. The form is fully controlled: values, onChange handlers,
|
|
2844
|
+
* validation errors and the busy state all come from the host.
|
|
2845
|
+
*
|
|
2846
|
+
* data-slot="agent-editor" on the root.
|
|
2847
|
+
* Deps: @base-ui/react (via MosaicButton) + class-variance-authority only.
|
|
2848
|
+
*/
|
|
2849
|
+
|
|
2850
|
+
interface MosaicAgentEditorProps {
|
|
2851
|
+
className?: string;
|
|
2852
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
2853
|
+
/** Name field */
|
|
2854
|
+
nameLabel: string;
|
|
2855
|
+
nameValue: string;
|
|
2856
|
+
onNameChange: (value: string) => void;
|
|
2857
|
+
/** Host-decided validation error for the name field, or null when valid */
|
|
2858
|
+
nameError: string | null;
|
|
2859
|
+
/** Role field */
|
|
2860
|
+
roleLabel: string;
|
|
2861
|
+
roleValue: string;
|
|
2862
|
+
onRoleChange: (value: string) => void;
|
|
2863
|
+
/** Host-decided validation error for the role field, or null when valid */
|
|
2864
|
+
roleError: string | null;
|
|
2865
|
+
/** Instructions field */
|
|
2866
|
+
instructionsLabel: string;
|
|
2867
|
+
instructionsValue: string;
|
|
2868
|
+
onInstructionsChange: (value: string) => void;
|
|
2869
|
+
/** Host-decided validation error for the instructions field, or null when valid */
|
|
2870
|
+
instructionsError: string | null;
|
|
2871
|
+
/** Actions */
|
|
2872
|
+
saveLabel: string;
|
|
2873
|
+
cancelLabel: string;
|
|
2874
|
+
onSave: () => void;
|
|
2875
|
+
onCancel: () => void;
|
|
2876
|
+
/** Host decides whether the form is currently valid/submittable */
|
|
2877
|
+
canSave: boolean;
|
|
2878
|
+
/** Host-controlled submission-in-flight state */
|
|
2879
|
+
isSaving: boolean;
|
|
2880
|
+
/** Label shown on the save button while isSaving is true */
|
|
2881
|
+
savingLabel: string;
|
|
2882
|
+
}
|
|
2883
|
+
/**
|
|
2884
|
+
* MosaicAgentEditor — production agent-editor form for @vantageos/mosaic-blocks.
|
|
2885
|
+
*
|
|
2886
|
+
* Fully controlled: name/role/instructions values, onChange handlers,
|
|
2887
|
+
* validation errors and busy state are all supplied by the host. The
|
|
2888
|
+
* component carries no business knowledge (no role list, no model, no
|
|
2889
|
+
* default instructions) — it only renders the form shape.
|
|
2890
|
+
*
|
|
2891
|
+
* @example
|
|
2892
|
+
* <MosaicAgentEditor
|
|
2893
|
+
* nameLabel="Name" nameValue={name} onNameChange={setName} nameError={nameError}
|
|
2894
|
+
* roleLabel="Role" roleValue={role} onRoleChange={setRole} roleError={null}
|
|
2895
|
+
* instructionsLabel="Instructions" instructionsValue={instructions}
|
|
2896
|
+
* onInstructionsChange={setInstructions} instructionsError={null}
|
|
2897
|
+
* saveLabel="Save" cancelLabel="Cancel" onSave={handleSave} onCancel={handleCancel}
|
|
2898
|
+
* canSave={isValid} isSaving={isSaving} savingLabel="Saving…"
|
|
2899
|
+
* />
|
|
2900
|
+
*/
|
|
2901
|
+
declare function MosaicAgentEditor({ className, ref, nameLabel, nameValue, onNameChange, nameError, roleLabel, roleValue, onRoleChange, roleError, instructionsLabel, instructionsValue, onInstructionsChange, instructionsError, saveLabel, cancelLabel, onSave, onCancel, canSave, isSaving, savingLabel, }: MosaicAgentEditorProps): React.JSX.Element;
|
|
2902
|
+
declare namespace MosaicAgentEditor {
|
|
2903
|
+
var displayName: string;
|
|
2904
|
+
}
|
|
2905
|
+
|
|
2906
|
+
/**
|
|
2907
|
+
* agent-editor-variants — cva variants for MosaicAgentEditor
|
|
2908
|
+
*
|
|
2909
|
+
* Separated per house convention (variants isolated from component logic).
|
|
2910
|
+
*/
|
|
2911
|
+
declare const agentEditorVariants: (props?: ({} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2912
|
+
|
|
2833
2913
|
/**
|
|
2834
2914
|
* MosaicModuleCard — selected-module display card (PC-11)
|
|
2835
2915
|
*
|
|
@@ -2958,6 +3038,123 @@ declare namespace MosaicDeleteConfirmationDialog {
|
|
|
2958
3038
|
var displayName: string;
|
|
2959
3039
|
}
|
|
2960
3040
|
|
|
3041
|
+
/**
|
|
3042
|
+
* MosaicAlertDialog — confirm-before-irreversible-action dialog (compound API)
|
|
3043
|
+
*
|
|
3044
|
+
* Ported from any-debate-ai components/ui/alert-dialog.tsx
|
|
3045
|
+
* (source: gh api repos/elpiarthera/any-debate-ai/contents/components/ui/alert-dialog.tsx)
|
|
3046
|
+
*
|
|
3047
|
+
* Radix (`@radix-ui/react-alert-dialog`) replaced with `@base-ui/react/alert-dialog`
|
|
3048
|
+
* per ADR-0001 — deps locked to @base-ui/react + class-variance-authority, no
|
|
3049
|
+
* radix, no vaul. `buttonVariants` from the shadcn source replaced with local
|
|
3050
|
+
* button-like classes (kept in-file to avoid a hard dependency between two
|
|
3051
|
+
* public components — MosaicButton is a separate export).
|
|
3052
|
+
*
|
|
3053
|
+
* Zero branding, zero copy: every visible string is a REQUIRED prop with no
|
|
3054
|
+
* default (SIN-01) — Title/Description/Cancel/Action are compound
|
|
3055
|
+
* components whose `children` is the required string; there is no `??`, no
|
|
3056
|
+
* `||`, no default-parameter fallback anywhere in this file.
|
|
3057
|
+
*
|
|
3058
|
+
* Accessibility (the reason this component exists — a human must be able to
|
|
3059
|
+
* say no):
|
|
3060
|
+
* - `role="alertdialog"` is set automatically by @base-ui/react/alert-dialog
|
|
3061
|
+
* (AlertDialog.Root sets it, distinct from the plain "dialog" role).
|
|
3062
|
+
* - `aria-labelledby` / `aria-describedby` are wired automatically by
|
|
3063
|
+
* @base-ui/react from Title / Description element ids.
|
|
3064
|
+
* - Focus trap: @base-ui/react/alert-dialog Popup traps Tab within the popup.
|
|
3065
|
+
* - Escape closes and is treated as CANCEL, never as confirm — Escape only
|
|
3066
|
+
* ever calls `onOpenChange(false)`, it never calls the confirm handler.
|
|
3067
|
+
* - Focus returns to the trigger element on close (Popup `finalFocus`
|
|
3068
|
+
* default behavior).
|
|
3069
|
+
* - The destructive action is never the default focus target: DOM order
|
|
3070
|
+
* places MosaicAlertDialogCancel before MosaicAlertDialogAction, and
|
|
3071
|
+
* @base-ui/react's default `initialFocus` picks the FIRST tabbable element
|
|
3072
|
+
* in the popup — i.e. Cancel. A reflex Enter never destroys anything.
|
|
3073
|
+
*/
|
|
3074
|
+
|
|
3075
|
+
declare function MosaicAlertDialog(props: React.ComponentProps<typeof AlertDialog.Root>): React.JSX.Element;
|
|
3076
|
+
declare namespace MosaicAlertDialog {
|
|
3077
|
+
var displayName: string;
|
|
3078
|
+
}
|
|
3079
|
+
declare function MosaicAlertDialogTrigger(props: React.ComponentProps<typeof AlertDialog.Trigger>): React.JSX.Element;
|
|
3080
|
+
declare namespace MosaicAlertDialogTrigger {
|
|
3081
|
+
var displayName: string;
|
|
3082
|
+
}
|
|
3083
|
+
declare function MosaicAlertDialogPortal(props: React.ComponentProps<typeof AlertDialog.Portal>): React.JSX.Element;
|
|
3084
|
+
declare namespace MosaicAlertDialogPortal {
|
|
3085
|
+
var displayName: string;
|
|
3086
|
+
}
|
|
3087
|
+
interface MosaicAlertDialogOverlayProps extends React.ComponentProps<typeof AlertDialog.Backdrop> {
|
|
3088
|
+
className?: string;
|
|
3089
|
+
}
|
|
3090
|
+
declare function MosaicAlertDialogOverlay({ className, ...props }: MosaicAlertDialogOverlayProps): React.JSX.Element;
|
|
3091
|
+
declare namespace MosaicAlertDialogOverlay {
|
|
3092
|
+
var displayName: string;
|
|
3093
|
+
}
|
|
3094
|
+
interface MosaicAlertDialogContentProps extends React.ComponentProps<typeof AlertDialog.Popup> {
|
|
3095
|
+
className?: string;
|
|
3096
|
+
}
|
|
3097
|
+
declare function MosaicAlertDialogContent({ className, ...props }: MosaicAlertDialogContentProps): React.JSX.Element;
|
|
3098
|
+
declare namespace MosaicAlertDialogContent {
|
|
3099
|
+
var displayName: string;
|
|
3100
|
+
}
|
|
3101
|
+
declare function MosaicAlertDialogHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
3102
|
+
declare namespace MosaicAlertDialogHeader {
|
|
3103
|
+
var displayName: string;
|
|
3104
|
+
}
|
|
3105
|
+
declare function MosaicAlertDialogFooter({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
3106
|
+
declare namespace MosaicAlertDialogFooter {
|
|
3107
|
+
var displayName: string;
|
|
3108
|
+
}
|
|
3109
|
+
interface MosaicAlertDialogTitleProps extends Omit<React.ComponentProps<typeof AlertDialog.Title>, "children"> {
|
|
3110
|
+
className?: string;
|
|
3111
|
+
/** Dialog title text. Required — the host owns the language, no default. */
|
|
3112
|
+
children: React.ReactNode;
|
|
3113
|
+
}
|
|
3114
|
+
declare function MosaicAlertDialogTitle({ className, children, ...props }: MosaicAlertDialogTitleProps): React.JSX.Element;
|
|
3115
|
+
declare namespace MosaicAlertDialogTitle {
|
|
3116
|
+
var displayName: string;
|
|
3117
|
+
}
|
|
3118
|
+
interface MosaicAlertDialogDescriptionProps extends Omit<React.ComponentProps<typeof AlertDialog.Description>, "children"> {
|
|
3119
|
+
className?: string;
|
|
3120
|
+
/** Dialog description text. Required — the host owns the language, no default. */
|
|
3121
|
+
children: React.ReactNode;
|
|
3122
|
+
}
|
|
3123
|
+
declare function MosaicAlertDialogDescription({ className, children, ...props }: MosaicAlertDialogDescriptionProps): React.JSX.Element;
|
|
3124
|
+
declare namespace MosaicAlertDialogDescription {
|
|
3125
|
+
var displayName: string;
|
|
3126
|
+
}
|
|
3127
|
+
interface MosaicAlertDialogActionProps extends Omit<React.ComponentProps<typeof AlertDialog.Close>, "children"> {
|
|
3128
|
+
className?: string;
|
|
3129
|
+
/** Confirm button label. Required — the host owns the language, no default. */
|
|
3130
|
+
children: React.ReactNode;
|
|
3131
|
+
}
|
|
3132
|
+
declare function MosaicAlertDialogAction({ className, children, ...props }: MosaicAlertDialogActionProps): React.JSX.Element;
|
|
3133
|
+
declare namespace MosaicAlertDialogAction {
|
|
3134
|
+
var displayName: string;
|
|
3135
|
+
}
|
|
3136
|
+
interface MosaicAlertDialogCancelProps extends Omit<React.ComponentProps<typeof AlertDialog.Close>, "children"> {
|
|
3137
|
+
className?: string;
|
|
3138
|
+
/** Cancel button label. Required — the host owns the language, no default. */
|
|
3139
|
+
children: React.ReactNode;
|
|
3140
|
+
}
|
|
3141
|
+
declare function MosaicAlertDialogCancel({ className, children, ...props }: MosaicAlertDialogCancelProps): React.JSX.Element;
|
|
3142
|
+
declare namespace MosaicAlertDialogCancel {
|
|
3143
|
+
var displayName: string;
|
|
3144
|
+
}
|
|
3145
|
+
|
|
3146
|
+
/**
|
|
3147
|
+
* alertDialogContentVariants — pure CVA variant function for MosaicAlertDialog content.
|
|
3148
|
+
*
|
|
3149
|
+
* Isolated in its own module so it can be re-exported from the
|
|
3150
|
+
* `@vantageos/mosaic-blocks/server` subpath without pulling in
|
|
3151
|
+
* React or @base-ui/react (which live in MosaicAlertDialog.tsx but not here).
|
|
3152
|
+
*
|
|
3153
|
+
* Zero browser / React runtime dependencies — safe in RSC / Node.js.
|
|
3154
|
+
*/
|
|
3155
|
+
declare const alertDialogContentVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
3156
|
+
declare const alertDialogOverlayVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
3157
|
+
|
|
2961
3158
|
interface MosaicSelectItem {
|
|
2962
3159
|
value: string;
|
|
2963
3160
|
label: string;
|
|
@@ -3239,6 +3436,83 @@ declare namespace MosaicQuickAgentSelector {
|
|
|
3239
3436
|
var displayName: string;
|
|
3240
3437
|
}
|
|
3241
3438
|
|
|
3439
|
+
/**
|
|
3440
|
+
* MosaicAgentPreview — presentational, controlled preview of an agent
|
|
3441
|
+
* configuration before creation is confirmed.
|
|
3442
|
+
*
|
|
3443
|
+
* Ported from components/agent-config/AgentPreview.tsx (any-debate-ai).
|
|
3444
|
+
*
|
|
3445
|
+
* Pure presentational — no business data (roles/personas/frameworks/models
|
|
3446
|
+
* are host-domain concepts and are NOT baked into this component). The host
|
|
3447
|
+
* passes a generic list of `attributes` (label/value pairs) for the
|
|
3448
|
+
* "detailed" variant, or a single `tagline` for the "summary" variant.
|
|
3449
|
+
*
|
|
3450
|
+
* Contract is non-lying: `variant` is a discriminated union — `tagline` +
|
|
3451
|
+
* `badgeLabel` only exist on the "summary" shape, `title` + `attributes` only
|
|
3452
|
+
* exist on the "detailed" shape. A field is required exactly where it is read.
|
|
3453
|
+
*/
|
|
3454
|
+
interface MosaicAgentPreviewAttribute {
|
|
3455
|
+
id: string;
|
|
3456
|
+
label: string;
|
|
3457
|
+
value: string;
|
|
3458
|
+
}
|
|
3459
|
+
interface MosaicAgentPreviewBaseProps {
|
|
3460
|
+
/** The agent's display name. Required — no default, no fallback string. */
|
|
3461
|
+
name: string;
|
|
3462
|
+
className?: string;
|
|
3463
|
+
}
|
|
3464
|
+
interface MosaicAgentPreviewSummaryProps extends MosaicAgentPreviewBaseProps {
|
|
3465
|
+
variant: "summary";
|
|
3466
|
+
/** One-line description shown under the name. Required — host-owned. */
|
|
3467
|
+
tagline: string;
|
|
3468
|
+
/** Label for the trailing badge (e.g. "Custom"). Required — host-owned. */
|
|
3469
|
+
badgeLabel: string;
|
|
3470
|
+
}
|
|
3471
|
+
interface MosaicAgentPreviewDetailedProps extends MosaicAgentPreviewBaseProps {
|
|
3472
|
+
variant: "detailed";
|
|
3473
|
+
/** Card title (e.g. "Configuration Summary"). Required — host-owned. */
|
|
3474
|
+
title: string;
|
|
3475
|
+
/** Generic label/value rows. Required — no business data baked in. */
|
|
3476
|
+
attributes: MosaicAgentPreviewAttribute[];
|
|
3477
|
+
}
|
|
3478
|
+
type MosaicAgentPreviewProps = MosaicAgentPreviewSummaryProps | MosaicAgentPreviewDetailedProps;
|
|
3479
|
+
/**
|
|
3480
|
+
* MosaicAgentPreview — read-only preview of an agent configuration before
|
|
3481
|
+
* the host confirms creation.
|
|
3482
|
+
*
|
|
3483
|
+
* @example
|
|
3484
|
+
* <MosaicAgentPreview
|
|
3485
|
+
* variant="summary"
|
|
3486
|
+
* name="StrategyBot"
|
|
3487
|
+
* tagline="Analyst • Formal • Claude Sonnet"
|
|
3488
|
+
* badgeLabel="Custom"
|
|
3489
|
+
* />
|
|
3490
|
+
*
|
|
3491
|
+
* @example
|
|
3492
|
+
* <MosaicAgentPreview
|
|
3493
|
+
* variant="detailed"
|
|
3494
|
+
* name="StrategyBot"
|
|
3495
|
+
* title="Configuration Summary"
|
|
3496
|
+
* attributes={[{ id: "role", label: "Role", value: "Strategist" }]}
|
|
3497
|
+
* />
|
|
3498
|
+
*/
|
|
3499
|
+
declare function MosaicAgentPreview(props: MosaicAgentPreviewProps): React.JSX.Element;
|
|
3500
|
+
declare namespace MosaicAgentPreview {
|
|
3501
|
+
var displayName: string;
|
|
3502
|
+
}
|
|
3503
|
+
|
|
3504
|
+
/**
|
|
3505
|
+
* agentPreviewVariants — pure CVA variant function for MosaicAgentPreview.
|
|
3506
|
+
*
|
|
3507
|
+
* Isolated in its own module so it can be re-exported from the
|
|
3508
|
+
* `@vantageos/mosaic-blocks/server` subpath without pulling in React.
|
|
3509
|
+
*
|
|
3510
|
+
* Zero browser / React runtime dependencies — safe in RSC / Node.js.
|
|
3511
|
+
*/
|
|
3512
|
+
declare const agentPreviewVariants: (props?: ({
|
|
3513
|
+
variant?: "summary" | "detailed" | null | undefined;
|
|
3514
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
3515
|
+
|
|
3242
3516
|
/**
|
|
3243
3517
|
* MosaicMemoryCard — memory item card (detailed / compact variants)
|
|
3244
3518
|
*
|
|
@@ -3918,6 +4192,95 @@ declare namespace MosaicMarketplaceList {
|
|
|
3918
4192
|
var displayName: string;
|
|
3919
4193
|
}
|
|
3920
4194
|
|
|
4195
|
+
/**
|
|
4196
|
+
* MosaicMarketplaceCard — standalone agent-type gallery tile (M1)
|
|
4197
|
+
*
|
|
4198
|
+
* Ported from any-debate-ai components/marketplace/desktop/marketplace-card-desktop.tsx
|
|
4199
|
+
* and components/marketplace/mobile/marketplace-card-mobile.tsx.
|
|
4200
|
+
*
|
|
4201
|
+
* This is the tile shown for an agent-type inside a PUBLIC gallery — what a
|
|
4202
|
+
* visitor sees before adopting someone else's work. Distinct from the private
|
|
4203
|
+
* `MarketplaceCard` embedded inside MosaicMarketplaceList (which is coupled to
|
|
4204
|
+
* that list's filter/search state and not exported standalone): this card is a
|
|
4205
|
+
* composable, standalone atom usable in any grid, storybook page, or gallery
|
|
4206
|
+
* outside a filtered list context.
|
|
4207
|
+
*
|
|
4208
|
+
* SIN-01: every visible string (adopt/unadopt/preview labels, rating label,
|
|
4209
|
+
* mentions) is a required prop with no default. No popularity threshold, no
|
|
4210
|
+
* computed rating judgement, no host-decided badge — mentions are plain
|
|
4211
|
+
* strings supplied by the caller.
|
|
4212
|
+
*
|
|
4213
|
+
* Composes MosaicCard sub-parts + MosaicBadge rather than re-implementing
|
|
4214
|
+
* card chrome or badge chrome.
|
|
4215
|
+
*/
|
|
4216
|
+
|
|
4217
|
+
interface MosaicMarketplaceCardProps {
|
|
4218
|
+
/** Stable identifier forwarded to onAdopt/onUnadopt/onPreview. */
|
|
4219
|
+
id: string;
|
|
4220
|
+
/** Agent-type name. Required content. */
|
|
4221
|
+
name: string;
|
|
4222
|
+
/** Optional agent-type description. */
|
|
4223
|
+
description?: string;
|
|
4224
|
+
/** Icon/avatar node rendered at the top of the card. */
|
|
4225
|
+
icon?: React.ReactNode;
|
|
4226
|
+
/** Host-provided rating value (e.g. 4.8). No computed threshold or judgement. */
|
|
4227
|
+
rating?: number;
|
|
4228
|
+
/** Host-provided plain-text mentions/badges (e.g. "Verified", "New"). No lib-decided badges. */
|
|
4229
|
+
mentions?: string[];
|
|
4230
|
+
/** Whether this agent-type is already adopted by the viewer. */
|
|
4231
|
+
isAdopted?: boolean;
|
|
4232
|
+
/** Called with `id` when the adopt action is invoked. */
|
|
4233
|
+
onAdopt?: (id: string) => void;
|
|
4234
|
+
/** Called with `id` when the unadopt action is invoked. */
|
|
4235
|
+
onUnadopt?: (id: string) => void;
|
|
4236
|
+
/** Called with `id` when the preview action is invoked. Preview button renders only when provided. */
|
|
4237
|
+
onPreview?: (id: string) => void;
|
|
4238
|
+
/** Label for the adopt action button. Required — host-owned, no default. */
|
|
4239
|
+
adoptLabel: string;
|
|
4240
|
+
/** Label for the unadopt action button. Required — host-owned, no default. */
|
|
4241
|
+
unadoptLabel: string;
|
|
4242
|
+
/** Label for the preview action button. Required — host-owned, no default. */
|
|
4243
|
+
previewLabel: string;
|
|
4244
|
+
/** Accessible suffix rendered next to the rating value (e.g. "out of 5"). Required — host-owned, no default. */
|
|
4245
|
+
ratingLabel: string;
|
|
4246
|
+
/** Layout variant. */
|
|
4247
|
+
variant?: "default" | "compact";
|
|
4248
|
+
className?: string;
|
|
4249
|
+
}
|
|
4250
|
+
/**
|
|
4251
|
+
* MosaicMarketplaceCard — standalone tile for an agent-type in a public gallery.
|
|
4252
|
+
*
|
|
4253
|
+
* @example
|
|
4254
|
+
* <MosaicMarketplaceCard
|
|
4255
|
+
* id="agent-42"
|
|
4256
|
+
* name="Vantage Researcher"
|
|
4257
|
+
* description="Deep research agent for market analysis"
|
|
4258
|
+
* mentions={["Verified"]}
|
|
4259
|
+
* onAdopt={(id) => adopt(id)}
|
|
4260
|
+
* onPreview={(id) => openPreview(id)}
|
|
4261
|
+
* adoptLabel="Adopt"
|
|
4262
|
+
* unadoptLabel="Remove"
|
|
4263
|
+
* previewLabel="Preview"
|
|
4264
|
+
* ratingLabel="out of 5"
|
|
4265
|
+
* />
|
|
4266
|
+
*/
|
|
4267
|
+
declare function MosaicMarketplaceCard({ id, name, description, icon, rating, mentions, isAdopted, onAdopt, onUnadopt, onPreview, adoptLabel, unadoptLabel, previewLabel, ratingLabel, variant, className, }: MosaicMarketplaceCardProps): React.JSX.Element;
|
|
4268
|
+
declare namespace MosaicMarketplaceCard {
|
|
4269
|
+
var displayName: string;
|
|
4270
|
+
}
|
|
4271
|
+
|
|
4272
|
+
/**
|
|
4273
|
+
* marketplaceCardVariants — pure CVA variant function for MosaicMarketplaceCard.
|
|
4274
|
+
*
|
|
4275
|
+
* Isolated in its own module so it can be re-exported from the
|
|
4276
|
+
* `@vantageos/mosaic-blocks/server` subpath without pulling in React.
|
|
4277
|
+
*
|
|
4278
|
+
* Zero browser / React runtime dependencies — safe in RSC / Node.js.
|
|
4279
|
+
*/
|
|
4280
|
+
declare const marketplaceCardVariants: (props?: ({
|
|
4281
|
+
variant?: "default" | "compact" | null | undefined;
|
|
4282
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4283
|
+
|
|
3921
4284
|
/**
|
|
3922
4285
|
* MosaicTemplateGallery — generic template browser (responsive-pair)
|
|
3923
4286
|
*
|
|
@@ -7379,4 +7742,404 @@ declare const drawerPopupVariants: (props?: ({
|
|
|
7379
7742
|
/** Backdrop overlay behind the popup. */
|
|
7380
7743
|
declare const drawerBackdropVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
7381
7744
|
|
|
7382
|
-
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, 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, MosaicAgentList, AgentListDesktop as MosaicAgentListDesktop, AgentListMobile as MosaicAgentListMobile, type MosaicAgentListProps, type MosaicAgentPreset, MosaicAgentTeamPreview, type MosaicAgentTeamPreviewProps, MosaicAnimatedList, type MosaicAnimatedListProps, MosaicApiKeyPanel, type MosaicApiKeyPanelProps, type MosaicApiKeyPanelProvider, type MosaicApiKeyPanelState, MosaicAppSidebar, type MosaicAppSidebarProps, MosaicApprovalPrompt, type MosaicApprovalPromptProps, type MosaicApprovalPromptState, MosaicAvatar, type MosaicAvatarProps, MosaicBadge, type MosaicBadgeProps, MosaicBlurredOrb, type MosaicBlurredOrbProps, type MosaicBreadcrumb, MosaicButton, type MosaicButtonProps, MosaicCard, MosaicCardContent, type MosaicCardContentProps, MosaicCardDescription, type MosaicCardDescriptionProps, MosaicCardFooter, type MosaicCardFooterProps, MosaicCardHeader, type MosaicCardHeaderProps, type MosaicCardProps, MosaicCardTitle, type MosaicCardTitleProps, MosaicChatComposer, type MosaicChatComposerProps, type MosaicChatComposerState, MosaicChatMessage, type MosaicChatMessageAttachmentPart, type MosaicChatMessagePart, type MosaicChatMessageProps, type MosaicChatMessageReasoningPart, type MosaicChatMessageSenderRole, type MosaicChatMessageTextPart, type MosaicChatMessageToolPart, type MosaicChatMessageToolState, type MosaicChatMessageToolStatusLabels, MosaicChatThread, type MosaicChatThreadProps, MosaicCheckbox, type MosaicCheckboxProps, type MosaicClerkMembership, MosaicClerkOrgSwitcher, type MosaicClerkOrgSwitcherProps, type MosaicClerkOrganization, MosaicClerkWebhookHandler, type MosaicClerkWebhookHandlerOptions, MosaicCollapsible, MosaicCollapsiblePanel, type MosaicCollapsiblePanelProps, type MosaicCollapsibleProps, MosaicCollapsibleTrigger, type MosaicCollapsibleTriggerProps, MosaicCombobox, type MosaicComboboxItem, type MosaicComboboxProps, type MosaicComposerModel, type MosaicComposerModule, MosaicCounter, type MosaicCounterProps, MosaicCreateOrgDialog, type MosaicCreateOrgDialogProps, MosaicDashboardContent, type MosaicDashboardContentProps, MosaicDashboardHeader, type MosaicDashboardHeaderProps, MosaicDashboardLayout, type MosaicDashboardLayoutProps, type MosaicDashboardView, MosaicDataTable, type MosaicDataTableColumn, type MosaicDataTablePagination, type MosaicDataTableProps, MosaicDeleteConfirmationDialog, type MosaicDeleteConfirmationDialogProps, MosaicDeviceProvider, type MosaicDeviceProviderProps, MosaicDocumentUpload, type MosaicDocumentUploadFile, type MosaicDocumentUploadFileStatus, type MosaicDocumentUploadProps, MosaicDrawer, type MosaicDrawerProps, MosaicDropdownMenu, type MosaicDropdownMenuItem, type MosaicDropdownMenuProps, MosaicEmptyState, type MosaicEmptyStateProps, MosaicFallingPattern, type MosaicFallingPatternProps, MosaicFeature3Col, type MosaicFeature3ColProps, MosaicFeatureCenteredMedia, type MosaicFeatureCenteredMediaProps, MosaicField, MosaicFieldControl, type MosaicFieldControlProps, MosaicFieldDescription, type MosaicFieldDescriptionProps, MosaicFieldError, type MosaicFieldErrorProps, MosaicFieldLabel, type MosaicFieldLabelProps, type MosaicFieldProps, MosaicFilterBar, type MosaicFilterBarProps, type MosaicFilterOption, MosaicFilterSidebar, type MosaicFilterSidebarProps, MosaicFooterSimple, type MosaicFooterSimpleProps, MosaicHeroSplit, type MosaicHeroSplitProps, MosaicInput, MosaicInputGroup, type MosaicInputGroupProps, type MosaicInputProps, MosaicIntegrationsBadge, type MosaicIntegrationsBadgeProps, MosaicInviteMemberDialog, type MosaicInviteMemberDialogProps, MosaicKanbanBoard, type MosaicKanbanBoardProps, MosaicKanbanColumn, type MosaicKanbanColumnProps, MosaicLogosGrid, type MosaicLogosGridProps, MosaicMainNav, type MosaicMainNavProps, MosaicMarkdown, type MosaicMarkdownProps, type MosaicMarketplaceItem, MosaicMarketplaceList, MarketplaceListDesktop as MosaicMarketplaceListDesktop, MarketplaceListMobile as MosaicMarketplaceListMobile, type MosaicMarketplaceListProps, MosaicMemberList, type MosaicMemberListProps, MosaicMemoryCard, type MosaicMemoryCardProps, type MosaicMemoryData, type MosaicMemoryScope, type MosaicMemorySource, type MosaicMessage, MosaicMessageCard, type MosaicMessageCardProps, MosaicMessageList, MessageListDesktop as MosaicMessageListDesktop, MessageListMobile as MosaicMessageListMobile, type MosaicMessageListProps, type MosaicMessageReactions, type MosaicMessageSender, type MosaicMessageSenderType, type MosaicModelOption, MosaicModelSelector, type MosaicModelSelectorProps, MosaicModuleCard, type MosaicModuleCardProps, type MosaicModuleData, MosaicModuleForm, type MosaicModuleFormField, type MosaicModuleFormProps, type MosaicModuleItem, MosaicModuleLibrary, type MosaicModuleLibraryProps, type MosaicModuleType, MosaicMultiOrgIndicator, type MosaicMultiOrgIndicatorProps, MosaicMultiTenantProvider, type MosaicMultiTenantProviderProps, type MosaicNavItem, MosaicNavbar, type MosaicNavbarProps, type MosaicNavigationItem, type MosaicOrg, type MosaicOrgInfo, type MosaicOrgMember, MosaicOrgPanel, type MosaicOrgPanelProps, type MosaicOrgPanelTab, MosaicOrgProfilePage, type MosaicOrgProfilePageProps, type MosaicOrgRole, MosaicOrgRoleBadge, type MosaicOrgRoleBadgeProps, type MosaicOrgStats, MosaicOrgSwitcher, type MosaicOrgSwitcherProps, MosaicPdfViewer, type MosaicPdfViewerProps, type MosaicSelectItem as MosaicPrefSelectItem, type MosaicPreference, type MosaicPreferenceGroup, MosaicPreferencesPanel, type MosaicPreferencesPanelProps, MosaicPricingCard, type MosaicPricingCardProps, type MosaicProfileField, MosaicProfilePanel, type MosaicProfilePanelProps, MosaicProgress, type MosaicProgressProps, type MosaicQuickAction$1 as MosaicQuickAction, MosaicQuickActionCard, type MosaicQuickActionCardProps, MosaicQuickActionsMenu, type MosaicQuickAction as MosaicQuickActionsMenuItem, type MosaicQuickActionsMenuProps, type MosaicQuickAgent, MosaicQuickAgentSelector, type MosaicQuickAgentSelectorProps, MosaicQuickStartPanel, type MosaicQuickStartPanelProps, MosaicRadioGroup, MosaicRadioGroupItem, type MosaicRadioGroupItemProps, type MosaicRadioGroupProps, MosaicResizableSplitPane, type MosaicResizableSplitPaneProps, type MosaicScenario, MosaicScrollArea, type MosaicScrollAreaProps, MosaicSelect, type MosaicSelectItem$1 as MosaicSelectItem, type MosaicSelectProps, type MosaicSelectorCategory, type MosaicSelectorItem, MosaicSelectorModal, type MosaicSelectorModalProps, MosaicSeparator, type MosaicSeparatorProps, type MosaicSidebarFooterStatus, type MosaicSidebarNavItem, type MosaicSidebarQuickAction, type MosaicSidebarRecentItem, MosaicSignInLayout, type MosaicSignInLayoutProps, MosaicSignUpLayout, type MosaicSignUpLayoutProps, MosaicSkeleton, type MosaicSkeletonProps, MosaicSlider, type MosaicSliderProps, type MosaicStatItem, MosaicStatsGrid, type MosaicStatsGridProps, type MosaicStep, MosaicStepPipeline, type MosaicStepPipelineDotsProps, type MosaicStepPipelineProps, type MosaicStepPipelineSegmentsProps, type MosaicStepStatus, MosaicSwitch, type MosaicSwitchProps, MosaicTabs, MosaicTabsList, type MosaicTabsListProps, MosaicTabsPanel, type MosaicTabsPanelProps, type MosaicTabsProps, MosaicTabsTrigger, type MosaicTabsTriggerProps, MosaicTagInput, type MosaicTagInputProps, type MosaicTemplate, type MosaicTemplateAgent, MosaicTemplateAgentCard, type MosaicTemplateAgentCardProps, type MosaicTemplateAgentData, MosaicTemplateCard, type MosaicTemplateCardProps, MosaicTemplateGallery, type MosaicTemplateGalleryProps, type MosaicTemplateMetadata, MosaicTemplatePreview, type MosaicTemplatePreviewProps, MosaicTestimonialsGrid, type MosaicTestimonialsGridProps, MosaicTextarea, type MosaicTextareaProps, MosaicThemeProvider, type MosaicThemeProviderProps, MosaicThemeToggle, type MosaicThemeToggleProps, MosaicToast, type MosaicToastProps, MosaicToastProvider, type MosaicToastProviderPosition, type MosaicToastProviderProps, type MosaicToastVariant, MosaicToolToggleList, type MosaicToolToggleListApprovalLevel, type MosaicToolToggleListProps, type MosaicToolToggleListSection, type MosaicToolToggleListTool, MosaicTooltip, MosaicTooltipContent, type MosaicTooltipContentProps, type MosaicTooltipProps, MosaicTooltipProvider, type MosaicTooltipProviderProps, MosaicTooltipRoot, type MosaicTooltipRootProps, MosaicTooltipTrigger, type MosaicTooltipTriggerProps, MosaicUrlScraper, type MosaicUrlScraperContent, type MosaicUrlScraperProps, type MosaicUrlScraperState, MosaicUserButton, type MosaicUserButtonProps, type MosaicWorkspaceContext, type NavCta, type NavLink, type OrbPosition, type Orientation, Placeholder, type PricingCta, type SocialLink, type StatItem, type TestimonialItem, type Theme, agentChatRootVariants, badgeVariants, buttonVariants, chatMessageBubbleVariants, chatMessageContainerVariants, chatMessageToolStatusVariants, drawerBackdropVariants, drawerPopupVariants, pdfViewerFrameVariants, pdfViewerStatusVariants, pdfViewerToolbarButtonVariants, skeletonVariants, splitPaneCollapseButtonVariants, splitPaneHandleVariants, splitPaneRootVariants, tagInputFieldVariants, tagInputRemoveButtonVariants, tagInputRootVariants, tagInputTagVariants, templateAgentCardBadgeVariants, templateAgentCardTagVariants, templateAgentCardVariants, toastCardVariants, toastDismissButtonVariants, toastProviderPositionVariants, toastTitleVariants, toolToggleListRowVariants, toolToggleListSectionVariants, useBreakpoint, useDevice, useMosaicWorkspace as useEffectiveWorkspaceId, useIsDesktop, useIsMobile, useIsTablet, useMediaQuery, useMosaicWorkspace, useOrientation, useViewport, version };
|
|
7745
|
+
/**
|
|
7746
|
+
* MosaicTemplateCategoryChips — presentational horizontal chip row filtering
|
|
7747
|
+
* agent-templates by category.
|
|
7748
|
+
*
|
|
7749
|
+
* Ported from any-debate-ai `components/templates/shared/
|
|
7750
|
+
* TemplateCategoryChips.tsx` (source read verbatim via `gh api repos/
|
|
7751
|
+
* elpiarthera/any-debate-ai/contents/components/templates/shared/
|
|
7752
|
+
* TemplateCategoryChips.tsx`). That source hardcodes the `"All"` sentinel
|
|
7753
|
+
* string in its prop type (`TemplateCategory | "All"`) and imports a closed
|
|
7754
|
+
* `TemplateCategory` union from `@/lib/templates/types` — both a business
|
|
7755
|
+
* taxonomy AND a business copy string baked into the component. It also
|
|
7756
|
+
* omits scroll-fade / arrow chrome handling from this port (that is
|
|
7757
|
+
* presentation-shell concern, not the filter atom itself) and drops the
|
|
7758
|
+
* `useDevice()` mobile/desktop branch — a single responsive `flex-wrap` row
|
|
7759
|
+
* covers both, since this library never assumes a host's device-detection
|
|
7760
|
+
* context exists.
|
|
7761
|
+
*
|
|
7762
|
+
* Differentiator (the whole point of this component): the category
|
|
7763
|
+
* catalogue — including any "All" / "Tous" pseudo-category — is 100%
|
|
7764
|
+
* host-supplied DATA (`categories` prop). This library has never heard of a
|
|
7765
|
+
* single business category name; a client with a different vertical (legal,
|
|
7766
|
+
* healthcare, e-commerce) supplies its own list without touching this
|
|
7767
|
+
* package.
|
|
7768
|
+
*
|
|
7769
|
+
* Controlled component: no internal selection state. `selected` +
|
|
7770
|
+
* `onSelect` are host-owned; the host re-renders with the new selection
|
|
7771
|
+
* after handling the callback.
|
|
7772
|
+
*
|
|
7773
|
+
* No "use client" — prepend-use-client.mjs adds it to dist.
|
|
7774
|
+
* Design tokens: --primary, --primary-foreground, --background,
|
|
7775
|
+
* --foreground, --border, --muted, --ring.
|
|
7776
|
+
* a11y: every chip is a real `<button>` (keyboard-activatable natively —
|
|
7777
|
+
* Enter/Space), and the selected chip announces `aria-pressed="true"` so
|
|
7778
|
+
* screen-reader users get the selection state without relying on color
|
|
7779
|
+
* alone.
|
|
7780
|
+
* Bilingual: every category label is host-supplied data — zero hardcoded
|
|
7781
|
+
* copy, zero default (including the "All" / "Tous" sentinel).
|
|
7782
|
+
*
|
|
7783
|
+
* @example
|
|
7784
|
+
* <MosaicTemplateCategoryChips
|
|
7785
|
+
* categories={[
|
|
7786
|
+
* { id: "all", label: "Toutes" },
|
|
7787
|
+
* { id: "business", label: "Business" },
|
|
7788
|
+
* { id: "creative", label: "Créatif" },
|
|
7789
|
+
* ]}
|
|
7790
|
+
* selected={selectedCategoryId}
|
|
7791
|
+
* onSelect={(id) => setSelectedCategoryId(id)}
|
|
7792
|
+
* />
|
|
7793
|
+
*/
|
|
7794
|
+
|
|
7795
|
+
/**
|
|
7796
|
+
* One selectable category. The library knows nothing about any category by
|
|
7797
|
+
* name — including the "show everything" pseudo-category, which is just
|
|
7798
|
+
* another host-supplied entry (e.g. `{ id: "all", label: "All" }`).
|
|
7799
|
+
*/
|
|
7800
|
+
interface MosaicTemplateCategory {
|
|
7801
|
+
/** Stable identifier, matched against `selected` and passed to `onSelect`. */
|
|
7802
|
+
id: string;
|
|
7803
|
+
/** Host-supplied, host-localized display label. No built-in taxonomy. */
|
|
7804
|
+
label: string;
|
|
7805
|
+
}
|
|
7806
|
+
interface MosaicTemplateCategoryChipsProps {
|
|
7807
|
+
/** Full open catalogue of categories — a PROP, never a library constant. */
|
|
7808
|
+
categories: MosaicTemplateCategory[];
|
|
7809
|
+
/** Currently selected category id. Controlled by the host. */
|
|
7810
|
+
selected: string;
|
|
7811
|
+
/** Called with the category id when a chip is activated. */
|
|
7812
|
+
onSelect: (id: string) => void;
|
|
7813
|
+
/** Additional Tailwind classes on the root element. */
|
|
7814
|
+
className?: string;
|
|
7815
|
+
/** React 19 ref prop — forwarded to the root element. */
|
|
7816
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
7817
|
+
}
|
|
7818
|
+
/**
|
|
7819
|
+
* MosaicTemplateCategoryChips — production template-filter atom for
|
|
7820
|
+
* @vantageos/mosaic-blocks.
|
|
7821
|
+
*
|
|
7822
|
+
* Purely presentational: renders one real `<button>` per host-supplied
|
|
7823
|
+
* category, reports every activation via `onSelect`. No network call, no
|
|
7824
|
+
* internal state, no hardcoded category catalogue.
|
|
7825
|
+
*/
|
|
7826
|
+
declare function MosaicTemplateCategoryChips({ categories, selected, onSelect, className, ref, }: MosaicTemplateCategoryChipsProps): React.JSX.Element;
|
|
7827
|
+
declare namespace MosaicTemplateCategoryChips {
|
|
7828
|
+
var displayName: string;
|
|
7829
|
+
}
|
|
7830
|
+
|
|
7831
|
+
/**
|
|
7832
|
+
* templateCategoryChipVariants — pure CVA variant function for
|
|
7833
|
+
* MosaicTemplateCategoryChips.
|
|
7834
|
+
*
|
|
7835
|
+
* Isolated in its own module so it can be re-exported from the
|
|
7836
|
+
* `@vantageos/mosaic-blocks/server` subpath without pulling in React.
|
|
7837
|
+
*
|
|
7838
|
+
* Zero browser / React runtime dependencies — safe in RSC / Node.js.
|
|
7839
|
+
*/
|
|
7840
|
+
/** One category chip button — selected vs. unselected tone. */
|
|
7841
|
+
declare const templateCategoryChipVariants: (props?: ({
|
|
7842
|
+
selected?: boolean | null | undefined;
|
|
7843
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
7844
|
+
|
|
7845
|
+
/**
|
|
7846
|
+
* MosaicSaveTemplateModal — presentational "save as template" form modal
|
|
7847
|
+
*
|
|
7848
|
+
* Ported (source: private upstream) components/templates/SaveTemplateModal.tsx
|
|
7849
|
+
*
|
|
7850
|
+
* Presentational atom composed from existing mosaic-blocks primitives:
|
|
7851
|
+
* MosaicAdaptiveModal (dialog/sheet shell), MosaicInput, MosaicTextarea,
|
|
7852
|
+
* MosaicSelect and MosaicTagInput (tags). This component never invents a
|
|
7853
|
+
* new modal, form field, or tag chip — it assembles the ones the library
|
|
7854
|
+
* already ships.
|
|
7855
|
+
*
|
|
7856
|
+
* Fully controlled: `open`/`onOpenChange` own visibility, `name`/
|
|
7857
|
+
* `templateDescription`/`category`/`tags` are single-source-of-truth values
|
|
7858
|
+
* supplied by the host, every change is reported via a callback. The
|
|
7859
|
+
* component keeps no internal form state.
|
|
7860
|
+
*
|
|
7861
|
+
* Validation belongs to the host (SIN-01 + doctrine "the host decides"):
|
|
7862
|
+
* `canSave` is a host-computed boolean gating the save button, and
|
|
7863
|
+
* `nameError`/`descriptionError` are host-computed strings — this
|
|
7864
|
+
* component only *displays* an error, it never decides whether one exists.
|
|
7865
|
+
* When an error string is supplied, the matching field gets
|
|
7866
|
+
* `aria-invalid="true"` and `aria-describedby` pointing at the rendered
|
|
7867
|
+
* error text; the field is `aria-invalid="false"` otherwise, so the
|
|
7868
|
+
* absence of an error is never ambiguous.
|
|
7869
|
+
*
|
|
7870
|
+
* No hardcoded taxonomy: `categories` is a required host-supplied list
|
|
7871
|
+
* (business taxonomy is client knowledge, never baked into the library).
|
|
7872
|
+
* Suggested tags (`suggestedTags`) are likewise entirely host-supplied.
|
|
7873
|
+
*
|
|
7874
|
+
* Escape closes the modal WITHOUT saving — MosaicAdaptiveModal maps the
|
|
7875
|
+
* native `<dialog>` "cancel" event (fired on Escape) straight to
|
|
7876
|
+
* `onOpenChange(false)`; `onSave` is never called as a side effect of
|
|
7877
|
+
* closing. isSaving sets `aria-busy="true"` on the save button and
|
|
7878
|
+
* disables both actions — a save-in-progress is announced, never silent.
|
|
7879
|
+
*
|
|
7880
|
+
* `children` is an optional host-rendered slot rendered above the footer
|
|
7881
|
+
* actions (e.g. an app-specific "agents in this template" summary) — the
|
|
7882
|
+
* library never bakes in a preview of anything domain-specific.
|
|
7883
|
+
*
|
|
7884
|
+
* data-slot="save-template-modal" on the form body.
|
|
7885
|
+
* Bilingual: every user-facing string (title/description/labels/
|
|
7886
|
+
* placeholders/errors/button labels) is a required host-supplied prop —
|
|
7887
|
+
* zero hardcoded copy, zero default (SIN-01).
|
|
7888
|
+
*
|
|
7889
|
+
* No "use client" in source — prepend-use-client.mjs adds it to dist.
|
|
7890
|
+
* Design tokens: --border, --destructive, --foreground, --muted-foreground.
|
|
7891
|
+
*
|
|
7892
|
+
* @example
|
|
7893
|
+
* <MosaicSaveTemplateModal
|
|
7894
|
+
* open={open}
|
|
7895
|
+
* onOpenChange={setOpen}
|
|
7896
|
+
* title="Enregistrer comme modèle"
|
|
7897
|
+
* closeAriaLabel="Fermer"
|
|
7898
|
+
* name={name}
|
|
7899
|
+
* onNameChange={setName}
|
|
7900
|
+
* nameLabel="Nom du modèle"
|
|
7901
|
+
* nameError={nameError}
|
|
7902
|
+
* templateDescription={description}
|
|
7903
|
+
* onTemplateDescriptionChange={setDescription}
|
|
7904
|
+
* descriptionLabel="Description"
|
|
7905
|
+
* categories={categories}
|
|
7906
|
+
* category={category}
|
|
7907
|
+
* onCategoryChange={setCategory}
|
|
7908
|
+
* categoryLabel="Catégorie"
|
|
7909
|
+
* tags={tags}
|
|
7910
|
+
* onAddTag={(t) => setTags((prev) => [...prev, t])}
|
|
7911
|
+
* onRemoveTag={(t) => setTags((prev) => prev.filter((x) => x !== t))}
|
|
7912
|
+
* tagsLabel="Étiquettes"
|
|
7913
|
+
* tagInputPlaceholder="Ajouter une étiquette…"
|
|
7914
|
+
* removeTagAriaLabel={(t) => `Retirer ${t}`}
|
|
7915
|
+
* isSaving={isSaving}
|
|
7916
|
+
* canSave={canSave}
|
|
7917
|
+
* onSave={handleSave}
|
|
7918
|
+
* onCancel={() => setOpen(false)}
|
|
7919
|
+
* saveButtonLabel="Enregistrer"
|
|
7920
|
+
* savingLabel="Enregistrement…"
|
|
7921
|
+
* cancelButtonLabel="Annuler"
|
|
7922
|
+
* />
|
|
7923
|
+
*/
|
|
7924
|
+
|
|
7925
|
+
interface MosaicSaveTemplateModalProps {
|
|
7926
|
+
/** Controlled open state — the host owns the source of truth. */
|
|
7927
|
+
open: boolean;
|
|
7928
|
+
/** Called whenever the modal wants to change its open state (save, cancel, Escape, backdrop click). */
|
|
7929
|
+
onOpenChange: (open: boolean) => void;
|
|
7930
|
+
/** Modal heading. Required, no default. */
|
|
7931
|
+
title: string;
|
|
7932
|
+
/** Optional modal subheading. */
|
|
7933
|
+
description?: string;
|
|
7934
|
+
/** Accessible name for the desktop close button, forwarded to MosaicAdaptiveModal. */
|
|
7935
|
+
closeAriaLabel: string;
|
|
7936
|
+
/** Current template name value — controlled. */
|
|
7937
|
+
name: string;
|
|
7938
|
+
/** Called on every keystroke in the name field. */
|
|
7939
|
+
onNameChange: (value: string) => void;
|
|
7940
|
+
/** Label for the name field. Required, no default. */
|
|
7941
|
+
nameLabel: string;
|
|
7942
|
+
/** Placeholder for the name field. */
|
|
7943
|
+
namePlaceholder?: string;
|
|
7944
|
+
/** Host-computed validation message for the name field, or absent when valid. */
|
|
7945
|
+
nameError?: string;
|
|
7946
|
+
/** Current template description value — controlled. */
|
|
7947
|
+
templateDescription: string;
|
|
7948
|
+
/** Called on every keystroke in the description field. */
|
|
7949
|
+
onTemplateDescriptionChange: (value: string) => void;
|
|
7950
|
+
/** Label for the description field. Required, no default. */
|
|
7951
|
+
descriptionLabel: string;
|
|
7952
|
+
/** Placeholder for the description field. */
|
|
7953
|
+
descriptionPlaceholder?: string;
|
|
7954
|
+
/** Host-computed validation message for the description field, or absent when valid. */
|
|
7955
|
+
descriptionError?: string;
|
|
7956
|
+
/** Host-supplied category taxonomy — never hardcoded in the library. */
|
|
7957
|
+
categories: MosaicSelectItem$1[];
|
|
7958
|
+
/** Currently selected category value — controlled. */
|
|
7959
|
+
category: string;
|
|
7960
|
+
/** Called when the host user picks a different category. */
|
|
7961
|
+
onCategoryChange: (value: string) => void;
|
|
7962
|
+
/** Label for the category field. Required, no default. */
|
|
7963
|
+
categoryLabel: string;
|
|
7964
|
+
/** Current tag list — controlled, single source of truth owned by the host. */
|
|
7965
|
+
tags: string[];
|
|
7966
|
+
/** Called when a tag should be added. */
|
|
7967
|
+
onAddTag: (tag: string) => void;
|
|
7968
|
+
/** Called when a tag should be removed. */
|
|
7969
|
+
onRemoveTag: (tag: string) => void;
|
|
7970
|
+
/** Label for the tags field. Required, no default. */
|
|
7971
|
+
tagsLabel: string;
|
|
7972
|
+
/** Placeholder for the tag input. Required, no default. */
|
|
7973
|
+
tagInputPlaceholder: string;
|
|
7974
|
+
/** Per-tag accessible name for the remove button. Required, no default. */
|
|
7975
|
+
removeTagAriaLabel: (tag: string) => string;
|
|
7976
|
+
/** Optional host-supplied suggested tags (e.g. derived from the chosen category). */
|
|
7977
|
+
suggestedTags?: string[];
|
|
7978
|
+
/** Optional maximum number of tags. */
|
|
7979
|
+
maxTags?: number;
|
|
7980
|
+
/** True while a save request is in flight — announced via aria-busy, disables both actions. */
|
|
7981
|
+
isSaving: boolean;
|
|
7982
|
+
/**
|
|
7983
|
+
* Host-computed form validity gating the save button. This component
|
|
7984
|
+
* never decides validation itself — it only reflects the host's verdict.
|
|
7985
|
+
*/
|
|
7986
|
+
canSave: boolean;
|
|
7987
|
+
/** Called when the host user submits the form. Never called on Escape/backdrop close. */
|
|
7988
|
+
onSave: () => void;
|
|
7989
|
+
/** Called when the host user clicks Cancel. */
|
|
7990
|
+
onCancel: () => void;
|
|
7991
|
+
/** Label for the save button while idle. Required, no default. */
|
|
7992
|
+
saveButtonLabel: string;
|
|
7993
|
+
/** Label for the save button while isSaving=true. Required, no default. */
|
|
7994
|
+
savingLabel: string;
|
|
7995
|
+
/** Label for the cancel button. Required, no default. */
|
|
7996
|
+
cancelButtonLabel: string;
|
|
7997
|
+
/** Optional host-rendered extra content, shown above the footer actions. */
|
|
7998
|
+
children?: React.ReactNode;
|
|
7999
|
+
/** Additional Tailwind classes on the modal body. */
|
|
8000
|
+
className?: string;
|
|
8001
|
+
}
|
|
8002
|
+
/**
|
|
8003
|
+
* MosaicSaveTemplateModal — production "save as template" form modal for
|
|
8004
|
+
* @vantageos/mosaic-blocks.
|
|
8005
|
+
*
|
|
8006
|
+
* Purely presentational and fully controlled: composes MosaicAdaptiveModal +
|
|
8007
|
+
* MosaicInput + MosaicTextarea + MosaicSelect + MosaicTagInput. No network
|
|
8008
|
+
* call, no built-in taxonomy, no built-in validation, no built-in copy.
|
|
8009
|
+
*/
|
|
8010
|
+
declare function MosaicSaveTemplateModal({ open, onOpenChange, title, description, closeAriaLabel, name, onNameChange, nameLabel, namePlaceholder, nameError, templateDescription, onTemplateDescriptionChange, descriptionLabel, descriptionPlaceholder, descriptionError, categories, category, onCategoryChange, categoryLabel, tags, onAddTag, onRemoveTag, tagsLabel, tagInputPlaceholder, removeTagAriaLabel, suggestedTags, maxTags, isSaving, canSave, onSave, onCancel, saveButtonLabel, savingLabel, cancelButtonLabel, children, className, }: MosaicSaveTemplateModalProps): React.JSX.Element | null;
|
|
8011
|
+
declare namespace MosaicSaveTemplateModal {
|
|
8012
|
+
var displayName: string;
|
|
8013
|
+
}
|
|
8014
|
+
|
|
8015
|
+
/**
|
|
8016
|
+
* saveTemplateModalVariants — pure CVA variant functions for
|
|
8017
|
+
* MosaicSaveTemplateModal.
|
|
8018
|
+
*
|
|
8019
|
+
* Isolated in their own module so they can be re-exported from the
|
|
8020
|
+
* `@vantageos/mosaic-blocks/server` subpath without pulling in React.
|
|
8021
|
+
*
|
|
8022
|
+
* Zero browser / React runtime dependencies — safe in RSC / Node.js.
|
|
8023
|
+
*/
|
|
8024
|
+
/** Form body vertical layout. */
|
|
8025
|
+
declare const saveTemplateModalBodyVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
8026
|
+
/** Field group (label + control + helper/error) vertical layout. */
|
|
8027
|
+
declare const saveTemplateModalFieldVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
8028
|
+
/** Field error text. */
|
|
8029
|
+
declare const saveTemplateModalErrorVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
8030
|
+
/** Footer action row. */
|
|
8031
|
+
declare const saveTemplateModalFooterVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
8032
|
+
/** Submit / cancel button variants by intent. */
|
|
8033
|
+
declare const saveTemplateModalButtonVariants: (props?: ({
|
|
8034
|
+
intent?: "cancel" | "save" | null | undefined;
|
|
8035
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8036
|
+
|
|
8037
|
+
/**
|
|
8038
|
+
* MosaicTemplateList — presentational, disposition-only list of host items
|
|
8039
|
+
*
|
|
8040
|
+
* Ported from any-debate-ai's five scattered template-listing variants
|
|
8041
|
+
* (components/templates/TemplateGallery.tsx — grid/list toggle,
|
|
8042
|
+
* components/templates/template-list.tsx — responsive-pair orchestrator,
|
|
8043
|
+
* components/templates/desktop/TemplateListDesktop.tsx,
|
|
8044
|
+
* components/templates/mobile/TemplateListMobile.tsx,
|
|
8045
|
+
* components/templates/QuickStartPanel.tsx — quick-start responsive-pair).
|
|
8046
|
+
*
|
|
8047
|
+
* MERGED: the common shape across all five is "a disposition (grid or
|
|
8048
|
+
* single-column list) over an array of items, each one rendered as some kind
|
|
8049
|
+
* of card, with an empty state when the array is empty". That shape — and
|
|
8050
|
+
* ONLY that shape — is what ships here.
|
|
8051
|
+
*
|
|
8052
|
+
* LEFT BEHIND (host-specific, NOT ported):
|
|
8053
|
+
* - Search input, category chips, sort mode, filter sidebar (TemplateGallery,
|
|
8054
|
+
* template-list.tsx): the host composes its own search/filter UI and
|
|
8055
|
+
* passes the ALREADY-FILTERED `items` array in. A list should not own
|
|
8056
|
+
* filtering state.
|
|
8057
|
+
* - The two-pane "list + preview" desktop layout (TemplateListDesktop /
|
|
8058
|
+
* TemplatePreviewDesktop): that is a split-pane composition concern
|
|
8059
|
+
* (`MosaicResizableSplitPane` already exists for that), not a list concern.
|
|
8060
|
+
* - Any per-card content: title, description, category badge, agent count,
|
|
8061
|
+
* usage count, favorite star, "use template" action (TemplateCard,
|
|
8062
|
+
* TemplateGalleryCard, TemplateCardDesktop, TemplateCardCompact,
|
|
8063
|
+
* AgentTeamPreview, QuickStart scenario/preset cards). The card shape
|
|
8064
|
+
* differs across all five sources and is exactly the kind of business
|
|
8065
|
+
* content a list must NOT hardcode — the host supplies it via
|
|
8066
|
+
* `renderItem`, exactly like `MosaicChatThread` takes message rendering
|
|
8067
|
+
* as `children` rather than rendering `MosaicChatMessage` itself.
|
|
8068
|
+
* - framer-motion stagger-in animation (TemplateListDesktop /
|
|
8069
|
+
* TemplateListMobile): decorative entrance motion is a host concern, not
|
|
8070
|
+
* part of the disposition contract.
|
|
8071
|
+
* - Mock template data, DebateTemplate / QuickStartScenario / AgentTeamPreset
|
|
8072
|
+
* types: business shapes belong to the consuming app, never to a
|
|
8073
|
+
* library-level UI atom (SIN-01 + no-hardcoded-business-knowledge).
|
|
8074
|
+
*
|
|
8075
|
+
* Disposition (grid vs. single-column list) is exposed as a `layout` cva
|
|
8076
|
+
* variant (`template-list-variants.ts`) — switching it changes ONLY the
|
|
8077
|
+
* container's Tailwind classes, never the props contract.
|
|
8078
|
+
*
|
|
8079
|
+
* Keyboard: roving tabindex across items (native `<ul>` / `<li>` — semantic
|
|
8080
|
+
* list roles come from the elements themselves, no explicit `role` needed)
|
|
8081
|
+
* — ArrowRight/ArrowDown moves focus to the next item, ArrowLeft/ArrowUp to
|
|
8082
|
+
* the previous, Home/End jump to the first/last. Exactly one item is
|
|
8083
|
+
* `tabIndex={0}` at a time; the rest are `tabIndex={-1}` — the browser's
|
|
8084
|
+
* native Tab key steps over the whole list in one stop, then arrow keys
|
|
8085
|
+
* navigate within it.
|
|
8086
|
+
*
|
|
8087
|
+
* Empty state: the host owns the empty message (`emptyMessage`, required,
|
|
8088
|
+
* no default — SIN-01) — never an invented English fallback and never a
|
|
8089
|
+
* silent blank.
|
|
8090
|
+
*/
|
|
8091
|
+
|
|
8092
|
+
interface MosaicTemplateListProps<T extends {
|
|
8093
|
+
id: string;
|
|
8094
|
+
}> {
|
|
8095
|
+
/** The items to lay out. The list never inspects their shape beyond `id`. */
|
|
8096
|
+
items: T[];
|
|
8097
|
+
/** Host-owned renderer for a single item — the list owns disposition only. */
|
|
8098
|
+
renderItem: (item: T, index: number) => React.ReactNode;
|
|
8099
|
+
/** Disposition: grid (responsive columns) or single-column list. Default "grid". */
|
|
8100
|
+
layout?: "grid" | "list";
|
|
8101
|
+
/**
|
|
8102
|
+
* Message shown when `items` is empty. Required, no default — the host
|
|
8103
|
+
* owns the language (e.g. `t('TemplateList.empty')`).
|
|
8104
|
+
*/
|
|
8105
|
+
emptyMessage: string;
|
|
8106
|
+
/** Additional Tailwind classes on the root container. */
|
|
8107
|
+
className?: string;
|
|
8108
|
+
/** Additional Tailwind classes on each item wrapper. */
|
|
8109
|
+
itemClassName?: string;
|
|
8110
|
+
/** React 19 ref prop — forwarded to the root container. */
|
|
8111
|
+
ref?: React.Ref<HTMLDivElement | HTMLUListElement>;
|
|
8112
|
+
}
|
|
8113
|
+
/**
|
|
8114
|
+
* MosaicTemplateList — production disposition-only list atom for
|
|
8115
|
+
* @vantageos/mosaic-blocks.
|
|
8116
|
+
*
|
|
8117
|
+
* Purely presentational: no filtering, no sorting, no item rendering — the
|
|
8118
|
+
* host owns the item content via `renderItem`; this component only owns the
|
|
8119
|
+
* grid/list layout and keyboard roving-tabindex navigation.
|
|
8120
|
+
*/
|
|
8121
|
+
declare function MosaicTemplateList<T extends {
|
|
8122
|
+
id: string;
|
|
8123
|
+
}>({ items, renderItem, layout, emptyMessage, className, itemClassName, ref, }: MosaicTemplateListProps<T>): React.JSX.Element;
|
|
8124
|
+
declare namespace MosaicTemplateList {
|
|
8125
|
+
var displayName: string;
|
|
8126
|
+
}
|
|
8127
|
+
|
|
8128
|
+
/**
|
|
8129
|
+
* templateListVariants — pure CVA variant function for MosaicTemplateList.
|
|
8130
|
+
*
|
|
8131
|
+
* Isolated in its own module so it can be re-exported from the
|
|
8132
|
+
* `@vantageos/mosaic-blocks/server` subpath without pulling in React.
|
|
8133
|
+
*
|
|
8134
|
+
* Zero browser / React runtime dependencies — safe in RSC / Node.js.
|
|
8135
|
+
*/
|
|
8136
|
+
/**
|
|
8137
|
+
* Root container layout — owns disposition ONLY (grid vs. single-column
|
|
8138
|
+
* list). The list never owns item content; item markup is entirely
|
|
8139
|
+
* host-supplied via `renderItem`.
|
|
8140
|
+
*/
|
|
8141
|
+
declare const templateListVariants: (props?: ({
|
|
8142
|
+
layout?: "grid" | "list" | null | undefined;
|
|
8143
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8144
|
+
|
|
8145
|
+
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, MosaicAgentChat, type MosaicAgentChatApprovalLabels, type MosaicAgentChatApprovalRequest, type MosaicAgentChatApprovalResponsePayload, type MosaicAgentChatMessage, type MosaicAgentChatMessagePart, type MosaicAgentChatProps, type MosaicAgentChatState, type MosaicAgentChatToolPart, type MosaicAgentChatToolPartState, MosaicAgentComposer, MosaicAgentComposerDesktop, MosaicAgentComposerMobile, type MosaicAgentComposerMobileProps, type MosaicAgentComposerProps, type MosaicAgentData, MosaicAgentEditor, type MosaicAgentEditorProps, MosaicAgentList, AgentListDesktop as MosaicAgentListDesktop, AgentListMobile as MosaicAgentListMobile, type MosaicAgentListProps, type MosaicAgentPreset, MosaicAgentPreview, type MosaicAgentPreviewAttribute, type MosaicAgentPreviewDetailedProps, type MosaicAgentPreviewProps, type MosaicAgentPreviewSummaryProps, MosaicAgentTeamPreview, type MosaicAgentTeamPreviewProps, MosaicAlertDialog, MosaicAlertDialogAction, type MosaicAlertDialogActionProps, MosaicAlertDialogCancel, type MosaicAlertDialogCancelProps, MosaicAlertDialogContent, type MosaicAlertDialogContentProps, MosaicAlertDialogDescription, type MosaicAlertDialogDescriptionProps, MosaicAlertDialogFooter, MosaicAlertDialogHeader, MosaicAlertDialogOverlay, type MosaicAlertDialogOverlayProps, MosaicAlertDialogPortal, MosaicAlertDialogTitle, type MosaicAlertDialogTitleProps, MosaicAlertDialogTrigger, MosaicAnimatedList, type MosaicAnimatedListProps, MosaicApiKeyPanel, type MosaicApiKeyPanelProps, type MosaicApiKeyPanelProvider, type MosaicApiKeyPanelState, MosaicAppSidebar, type MosaicAppSidebarProps, MosaicApprovalPrompt, type MosaicApprovalPromptProps, type MosaicApprovalPromptState, MosaicAvatar, type MosaicAvatarProps, MosaicBadge, type MosaicBadgeProps, MosaicBlurredOrb, type MosaicBlurredOrbProps, type MosaicBreadcrumb, MosaicButton, type MosaicButtonProps, MosaicCard, MosaicCardContent, type MosaicCardContentProps, MosaicCardDescription, type MosaicCardDescriptionProps, MosaicCardFooter, type MosaicCardFooterProps, MosaicCardHeader, type MosaicCardHeaderProps, type MosaicCardProps, MosaicCardTitle, type MosaicCardTitleProps, MosaicChatComposer, type MosaicChatComposerProps, type MosaicChatComposerState, MosaicChatMessage, type MosaicChatMessageAttachmentPart, type MosaicChatMessagePart, type MosaicChatMessageProps, type MosaicChatMessageReasoningPart, type MosaicChatMessageSenderRole, type MosaicChatMessageTextPart, type MosaicChatMessageToolPart, type MosaicChatMessageToolState, type MosaicChatMessageToolStatusLabels, MosaicChatThread, type MosaicChatThreadProps, MosaicCheckbox, type MosaicCheckboxProps, type MosaicClerkMembership, MosaicClerkOrgSwitcher, type MosaicClerkOrgSwitcherProps, type MosaicClerkOrganization, MosaicClerkWebhookHandler, type MosaicClerkWebhookHandlerOptions, MosaicCollapsible, MosaicCollapsiblePanel, type MosaicCollapsiblePanelProps, type MosaicCollapsibleProps, MosaicCollapsibleTrigger, type MosaicCollapsibleTriggerProps, MosaicCombobox, type MosaicComboboxItem, type MosaicComboboxProps, type MosaicComposerModel, type MosaicComposerModule, MosaicCounter, type MosaicCounterProps, MosaicCreateOrgDialog, type MosaicCreateOrgDialogProps, MosaicDashboardContent, type MosaicDashboardContentProps, MosaicDashboardHeader, type MosaicDashboardHeaderProps, MosaicDashboardLayout, type MosaicDashboardLayoutProps, type MosaicDashboardView, MosaicDataTable, type MosaicDataTableColumn, type MosaicDataTablePagination, type MosaicDataTableProps, MosaicDeleteConfirmationDialog, type MosaicDeleteConfirmationDialogProps, MosaicDeviceProvider, type MosaicDeviceProviderProps, MosaicDocumentUpload, type MosaicDocumentUploadFile, type MosaicDocumentUploadFileStatus, type MosaicDocumentUploadProps, MosaicDrawer, type MosaicDrawerProps, MosaicDropdownMenu, type MosaicDropdownMenuItem, type MosaicDropdownMenuProps, MosaicEmptyState, type MosaicEmptyStateProps, MosaicFallingPattern, type MosaicFallingPatternProps, MosaicFeature3Col, type MosaicFeature3ColProps, MosaicFeatureCenteredMedia, type MosaicFeatureCenteredMediaProps, MosaicField, MosaicFieldControl, type MosaicFieldControlProps, MosaicFieldDescription, type MosaicFieldDescriptionProps, MosaicFieldError, type MosaicFieldErrorProps, MosaicFieldLabel, type MosaicFieldLabelProps, type MosaicFieldProps, MosaicFilterBar, type MosaicFilterBarProps, type MosaicFilterOption, MosaicFilterSidebar, type MosaicFilterSidebarProps, MosaicFooterSimple, type MosaicFooterSimpleProps, MosaicHeroSplit, type MosaicHeroSplitProps, MosaicInput, MosaicInputGroup, type MosaicInputGroupProps, type MosaicInputProps, MosaicIntegrationsBadge, type MosaicIntegrationsBadgeProps, MosaicInviteMemberDialog, type MosaicInviteMemberDialogProps, MosaicKanbanBoard, type MosaicKanbanBoardProps, MosaicKanbanColumn, type MosaicKanbanColumnProps, MosaicLogosGrid, type MosaicLogosGridProps, MosaicMainNav, type MosaicMainNavProps, MosaicMarkdown, type MosaicMarkdownProps, MosaicMarketplaceCard, type MosaicMarketplaceCardProps, type MosaicMarketplaceItem, MosaicMarketplaceList, MarketplaceListDesktop as MosaicMarketplaceListDesktop, MarketplaceListMobile as MosaicMarketplaceListMobile, type MosaicMarketplaceListProps, MosaicMemberList, type MosaicMemberListProps, MosaicMemoryCard, type MosaicMemoryCardProps, type MosaicMemoryData, type MosaicMemoryScope, type MosaicMemorySource, type MosaicMessage, MosaicMessageCard, type MosaicMessageCardProps, MosaicMessageList, MessageListDesktop as MosaicMessageListDesktop, MessageListMobile as MosaicMessageListMobile, type MosaicMessageListProps, type MosaicMessageReactions, type MosaicMessageSender, type MosaicMessageSenderType, type MosaicModelOption, MosaicModelSelector, type MosaicModelSelectorProps, MosaicModuleCard, type MosaicModuleCardProps, type MosaicModuleData, MosaicModuleForm, type MosaicModuleFormField, type MosaicModuleFormProps, type MosaicModuleItem, MosaicModuleLibrary, type MosaicModuleLibraryProps, type MosaicModuleType, MosaicMultiOrgIndicator, type MosaicMultiOrgIndicatorProps, MosaicMultiTenantProvider, type MosaicMultiTenantProviderProps, type MosaicNavItem, MosaicNavbar, type MosaicNavbarProps, type MosaicNavigationItem, type MosaicOrg, type MosaicOrgInfo, type MosaicOrgMember, MosaicOrgPanel, type MosaicOrgPanelProps, type MosaicOrgPanelTab, MosaicOrgProfilePage, type MosaicOrgProfilePageProps, type MosaicOrgRole, MosaicOrgRoleBadge, type MosaicOrgRoleBadgeProps, type MosaicOrgStats, MosaicOrgSwitcher, type MosaicOrgSwitcherProps, MosaicPdfViewer, type MosaicPdfViewerProps, type MosaicSelectItem as MosaicPrefSelectItem, type MosaicPreference, type MosaicPreferenceGroup, MosaicPreferencesPanel, type MosaicPreferencesPanelProps, MosaicPricingCard, type MosaicPricingCardProps, type MosaicProfileField, MosaicProfilePanel, type MosaicProfilePanelProps, MosaicProgress, type MosaicProgressProps, type MosaicQuickAction$1 as MosaicQuickAction, MosaicQuickActionCard, type MosaicQuickActionCardProps, MosaicQuickActionsMenu, type MosaicQuickAction as MosaicQuickActionsMenuItem, type MosaicQuickActionsMenuProps, type MosaicQuickAgent, MosaicQuickAgentSelector, type MosaicQuickAgentSelectorProps, MosaicQuickStartPanel, type MosaicQuickStartPanelProps, MosaicRadioGroup, MosaicRadioGroupItem, type MosaicRadioGroupItemProps, type MosaicRadioGroupProps, MosaicResizableSplitPane, type MosaicResizableSplitPaneProps, MosaicSaveTemplateModal, type MosaicSaveTemplateModalProps, type MosaicScenario, MosaicScrollArea, type MosaicScrollAreaProps, MosaicSelect, type MosaicSelectItem$1 as MosaicSelectItem, type MosaicSelectProps, type MosaicSelectorCategory, type MosaicSelectorItem, MosaicSelectorModal, type MosaicSelectorModalProps, MosaicSeparator, type MosaicSeparatorProps, type MosaicSidebarFooterStatus, type MosaicSidebarNavItem, type MosaicSidebarQuickAction, type MosaicSidebarRecentItem, MosaicSignInLayout, type MosaicSignInLayoutProps, MosaicSignUpLayout, type MosaicSignUpLayoutProps, MosaicSkeleton, type MosaicSkeletonProps, MosaicSlider, type MosaicSliderProps, type MosaicStatItem, MosaicStatsGrid, type MosaicStatsGridProps, type MosaicStep, MosaicStepPipeline, type MosaicStepPipelineDotsProps, type MosaicStepPipelineProps, type MosaicStepPipelineSegmentsProps, type MosaicStepStatus, MosaicSwitch, type MosaicSwitchProps, MosaicTabs, MosaicTabsList, type MosaicTabsListProps, MosaicTabsPanel, type MosaicTabsPanelProps, type MosaicTabsProps, MosaicTabsTrigger, type MosaicTabsTriggerProps, MosaicTagInput, type MosaicTagInputProps, type MosaicTemplate, type MosaicTemplateAgent, MosaicTemplateAgentCard, type MosaicTemplateAgentCardProps, type MosaicTemplateAgentData, MosaicTemplateCard, type MosaicTemplateCardProps, type MosaicTemplateCategory, MosaicTemplateCategoryChips, type MosaicTemplateCategoryChipsProps, MosaicTemplateGallery, type MosaicTemplateGalleryProps, MosaicTemplateList, type MosaicTemplateListProps, type MosaicTemplateMetadata, MosaicTemplatePreview, type MosaicTemplatePreviewProps, MosaicTestimonialsGrid, type MosaicTestimonialsGridProps, MosaicTextarea, type MosaicTextareaProps, MosaicThemeProvider, type MosaicThemeProviderProps, MosaicThemeToggle, type MosaicThemeToggleProps, MosaicToast, type MosaicToastProps, MosaicToastProvider, type MosaicToastProviderPosition, type MosaicToastProviderProps, type MosaicToastVariant, MosaicToolToggleList, type MosaicToolToggleListApprovalLevel, type MosaicToolToggleListProps, type MosaicToolToggleListSection, type MosaicToolToggleListTool, MosaicTooltip, MosaicTooltipContent, type MosaicTooltipContentProps, type MosaicTooltipProps, MosaicTooltipProvider, type MosaicTooltipProviderProps, MosaicTooltipRoot, type MosaicTooltipRootProps, MosaicTooltipTrigger, type MosaicTooltipTriggerProps, MosaicUrlScraper, type MosaicUrlScraperContent, type MosaicUrlScraperProps, type MosaicUrlScraperState, MosaicUserButton, type MosaicUserButtonProps, type MosaicWorkspaceContext, type NavCta, type NavLink, type OrbPosition, type Orientation, Placeholder, type PricingCta, type SocialLink, type StatItem, type TestimonialItem, type Theme, agentChatRootVariants, agentEditorVariants, agentPreviewVariants, alertDialogContentVariants, alertDialogOverlayVariants, badgeVariants, buttonVariants, chatMessageBubbleVariants, chatMessageContainerVariants, chatMessageToolStatusVariants, drawerBackdropVariants, drawerPopupVariants, marketplaceCardVariants, pdfViewerFrameVariants, pdfViewerStatusVariants, pdfViewerToolbarButtonVariants, saveTemplateModalBodyVariants, saveTemplateModalButtonVariants, saveTemplateModalErrorVariants, saveTemplateModalFieldVariants, saveTemplateModalFooterVariants, skeletonVariants, splitPaneCollapseButtonVariants, splitPaneHandleVariants, splitPaneRootVariants, tagInputFieldVariants, tagInputRemoveButtonVariants, tagInputRootVariants, tagInputTagVariants, templateAgentCardBadgeVariants, templateAgentCardTagVariants, templateAgentCardVariants, templateCategoryChipVariants, templateListVariants, toastCardVariants, toastDismissButtonVariants, toastProviderPositionVariants, toastTitleVariants, toolToggleListRowVariants, toolToggleListSectionVariants, useBreakpoint, useDevice, useMosaicWorkspace as useEffectiveWorkspaceId, useIsDesktop, useIsMobile, useIsTablet, useMediaQuery, useMosaicWorkspace, useOrientation, useViewport, version };
|