pxengine 0.1.47 → 0.1.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1953,6 +1953,11 @@ interface CampaignSeedCardProps extends Omit<FormCardProps, "fields"> {
1953
1953
  * Optional action handler
1954
1954
  */
1955
1955
  onAction?: (action: any) => void;
1956
+ /**
1957
+ * Optional callback to send a message to the agent directly.
1958
+ * When provided, the proceed button calls this instead of relying on onAction.
1959
+ */
1960
+ sendMessage?: (text: string) => void;
1956
1961
  }
1957
1962
 
1958
1963
  /**
@@ -1993,6 +1998,11 @@ interface SearchSpecCardProps extends Omit<FormCardProps, "fields"> {
1993
1998
  * Optional action handler
1994
1999
  */
1995
2000
  onAction?: (action: any) => void;
2001
+ /**
2002
+ * Optional callback to send a message to the agent directly.
2003
+ * When provided, the proceed button calls this instead of relying on onAction.
2004
+ */
2005
+ sendMessage?: (text: string) => void;
1996
2006
  }
1997
2007
 
1998
2008
  /**
@@ -2079,18 +2089,52 @@ interface MCQCardProps {
2079
2089
  * Whether the interaction is disabled externally
2080
2090
  */
2081
2091
  disabled?: boolean;
2092
+ /**
2093
+ * Session ID for self-contained persistence.
2094
+ * When provided with sendMessage, MCQCard handles its own state.
2095
+ */
2096
+ sessionId?: string;
2097
+ /**
2098
+ * Callback to send a message to the agent.
2099
+ * Called after user confirms selection.
2100
+ */
2101
+ sendMessage?: (text: string) => void;
2102
+ /**
2103
+ * Custom fetcher for loading existing selections.
2104
+ * Defaults to hitting /api/agents-proxy/custom-agents/sessions/{sessionId}/mcq-selections/get
2105
+ */
2106
+ fetchSelections?: (sessionId: string) => Promise<Record<string, string>>;
2107
+ /**
2108
+ * Custom fetcher for persisting a selection.
2109
+ * Defaults to hitting /api/agents-proxy/custom-agents/sessions/{sessionId}/mcq-selections
2110
+ */
2111
+ persistSelection?: (sessionId: string, questionKey: string, value: string) => Promise<void>;
2082
2112
  }
2083
2113
 
2084
2114
  /**
2085
2115
  * MCQCard
2086
2116
  *
2087
2117
  * A molecule for Multiple Choice Questions.
2088
- * Styled to match OptionsRenderer from creator-engine
2118
+ * Self-contained: when `sessionId` + `sendMessage` are provided,
2119
+ * it manages its own persistence and agent communication.
2089
2120
  */
2090
2121
  declare const MCQCard: React__default.NamedExoticComponent<MCQCardProps & {
2091
2122
  disableContinueInDiscovery?: boolean;
2092
2123
  }>;
2093
2124
 
2125
+ /**
2126
+ * Default fetchers for MCQCard self-contained mode.
2127
+ *
2128
+ * Uses localStorage as an instant cache layer:
2129
+ * - persist: writes to localStorage (sync) + backend (async) in parallel
2130
+ * - fetch: reads localStorage instantly, then backfills from backend
2131
+ *
2132
+ * This eliminates the delay where the component remounts after an agent
2133
+ * response and has to wait for the GET API before showing the selection.
2134
+ */
2135
+ declare function defaultFetchSelections(sessionId: string): Promise<Record<string, string>>;
2136
+ declare function defaultPersistSelection(sessionId: string, questionKey: string, value: string): Promise<void>;
2137
+
2094
2138
  /**
2095
2139
  * PlatformIconGroup
2096
2140
  * Displays a horizontal list of active social platform icons.
@@ -2265,14 +2309,24 @@ interface FetchStatusParams {
2265
2309
  sessionId: string;
2266
2310
  versionNo: number;
2267
2311
  }
2312
+ interface FetchCreatorDetailsParams {
2313
+ creatorIds: number[];
2314
+ sessionId: string;
2315
+ versionNo?: number;
2316
+ }
2317
+ interface CreatorDetailData {
2318
+ success: boolean;
2319
+ creatorData: any[];
2320
+ }
2268
2321
  interface CreatorWidgetProps {
2269
2322
  sessionId: string;
2270
2323
  currentVersion?: number;
2271
2324
  isAgentOutput?: boolean;
2272
- fetchVersions: (params: FetchVersionsParams) => Promise<CreatorVersionData>;
2273
- fetchStatus: (params: FetchStatusParams) => Promise<{
2325
+ fetchVersions?: (params: FetchVersionsParams) => Promise<CreatorVersionData>;
2326
+ fetchStatus?: (params: FetchStatusParams) => Promise<{
2274
2327
  status: StatusDetails;
2275
2328
  }>;
2329
+ fetchCreatorDetails?: (params: FetchCreatorDetailsParams) => Promise<CreatorDetailData>;
2276
2330
  pollingConfig?: PollingConfig;
2277
2331
  onStatusChange?: (status: CreatorWidgetStatus) => void;
2278
2332
  onAction?: (action: CreatorWidgetAction) => void;
@@ -2309,22 +2363,33 @@ interface CreatorProgressBarProps {
2309
2363
  timeRemaining?: string;
2310
2364
  }
2311
2365
 
2312
- declare function CreatorWidgetInner({ sessionId, currentVersion, isAgentOutput, fetchVersions, fetchStatus, pollingConfig, onStatusChange, onAction, className, }: CreatorWidgetProps): react_jsx_runtime.JSX.Element;
2366
+ declare function CreatorWidgetInner({ sessionId, currentVersion, isAgentOutput, fetchVersions, fetchStatus, fetchCreatorDetails, pollingConfig, onStatusChange, onAction, className, }: CreatorWidgetProps): react_jsx_runtime.JSX.Element;
2313
2367
  declare const CreatorWidget: React$1.MemoExoticComponent<typeof CreatorWidgetInner>;
2314
2368
 
2315
2369
  declare function CreatorWidgetSkeleton(): react_jsx_runtime.JSX.Element;
2316
2370
 
2371
+ interface CreatorExpandedPanelProps {
2372
+ isOpen: boolean;
2373
+ onClose: () => void;
2374
+ sessionId: string;
2375
+ creatorIds: number[];
2376
+ version?: number;
2377
+ searchSpec: Record<string, any>;
2378
+ fetchCreatorDetails?: (params: FetchCreatorDetailsParams) => Promise<CreatorDetailData>;
2379
+ }
2380
+ declare function CreatorExpandedPanel({ isOpen, onClose, sessionId, creatorIds, version, searchSpec, fetchCreatorDetails, }: CreatorExpandedPanelProps): React$1.ReactPortal | null;
2381
+
2317
2382
  interface UseCreatorWidgetPollingParams {
2318
2383
  sessionId: string;
2319
2384
  currentVersion?: number;
2320
- fetchVersions: (params: FetchVersionsParams) => Promise<CreatorVersionData>;
2321
- fetchStatus: (params: FetchStatusParams) => Promise<{
2385
+ fetchVersions?: (params: FetchVersionsParams) => Promise<CreatorVersionData>;
2386
+ fetchStatus?: (params: FetchStatusParams) => Promise<{
2322
2387
  status: StatusDetails;
2323
2388
  }>;
2324
2389
  pollingConfig?: PollingConfig;
2325
2390
  onStatusChange?: (status: CreatorWidgetStatus) => void;
2326
2391
  }
2327
- declare function useCreatorWidgetPolling({ sessionId, currentVersion, fetchVersions, fetchStatus, pollingConfig, onStatusChange, }: UseCreatorWidgetPollingParams): {
2392
+ declare function useCreatorWidgetPolling({ sessionId, currentVersion, fetchVersions: fetchVersionsProp, fetchStatus: fetchStatusProp, pollingConfig, onStatusChange, }: UseCreatorWidgetPollingParams): {
2328
2393
  versionData: CreatorVersionData | null;
2329
2394
  versionNumbers: number[];
2330
2395
  selectedVersion: number | undefined;
@@ -2441,4 +2506,4 @@ interface StageIndicatorProps extends Omit<StageIndicatorMolecule, "id" | "type"
2441
2506
  */
2442
2507
  declare const StageIndicator: React__default.FC<StageIndicatorProps>;
2443
2508
 
2444
- export { Accordion, AccordionAtom, type AccordionAtomType, AccordionContent, AccordionItem, AccordionTrigger, ActionButton, type ActionButtonAtom, type ActionButtonProps, AgentCard, type AgentCardMolecule, AgentDataTable, type AgentDataTableMolecule, Alert, AlertAtom, type AlertAtomType, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogAtom, type AlertDialogAtomType, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, AlertTitle, ArrowToggleAtom, type ArrowToggleAtomType, AspectRatio, AspectRatioAtom, type AspectRatioAtomType, AudienceDemographicsCard, type AudienceDemographicsCardMolecule, AudienceMetricCard, type AudienceMetricCardMolecule, Avatar, AvatarAtom, type AvatarAtomType, AvatarFallback, AvatarImage, Badge, BadgeAtom, type BadgeAtomType, type BaseAtom, type BaseMolecule, BrandAffinityGroup, type BrandAffinityGroupMolecule, Breadcrumb, BreadcrumbAtom, type BreadcrumbAtomType, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonAtom, type ButtonAtomType, type ButtonSize$1 as ButtonSize, type ButtonVariant$1 as ButtonVariant, Calendar, CalendarAtom, type CalendarAtomType, CampaignConceptCard, type CampaignConceptCardProps, CampaignSeedCard, type CampaignSeedCardAtom, type CampaignSeedCardProps, Card, CardAtom, type CardAtomType, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselAtom, type CarouselAtomType, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartAtom, type ChartAtomType, Checkbox, CheckboxAtom, type CheckboxAtomType, Collapsible, CollapsibleAtom, type CollapsibleAtomType, CollapsibleContent, CollapsibleTrigger, Command, CommandAtom, type CommandAtomType, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContentPreviewGallery, type ContentPreviewGalleryMolecule, ContextMenu, ContextMenuAtom, type ContextMenuAtomType, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuItem, ContextMenuLabel, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuTrigger, CountrySelectDisplay, CountrySelectEdit, CreatorActionHeader, type CreatorActionHeaderMolecule, CreatorCompactView, type CreatorCompactViewProps, CreatorGridCard, type CreatorGridCardMolecule, CreatorImageList, type CreatorImageListProps, CreatorProfileSummary, type CreatorProfileSummaryMolecule, CreatorProgressBar, type CreatorProgressBarProps, CreatorSearch, type CreatorSearchProps, type CreatorVersionData, CreatorWidget, type CreatorWidgetAction, type CreatorWidgetMolecule, type CreatorWidgetProps, CreatorWidgetSkeleton, type CreatorWidgetStatus, DataGrid, type DataGridMolecule, Dialog, DialogAtom, type DialogAtomType, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerAtom, type DrawerAtomType, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuAtom, type DropdownMenuAtomType, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuTrigger, EditableField, type EditableFieldProps, EmptyState, type EmptyStateMolecule, type FetchStatusParams, type FetchVersionsParams, FileUpload, type FileUploadMolecule, FilterBar, type FilterBarMolecule, Form, FormCard, type FormCardProps, FormControl, FormDescription, FormField, FormInputAtom, type FormInputAtomType, FormItem, FormLabel, FormMessage, FormSelectAtom, type FormSelectAtomType, FormTextareaAtom, type FormTextareaAtomType, type GapSize, GrowthChartCard, type GrowthChartCardMolecule, HoverCard, HoverCardContent, HoverCardTrigger, IconAtom, type IconAtomType, type IconName, Input, InputAtom, type InputAtomType, InputOTP, InputOTPAtom, type InputOTPAtomType, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputType, InstructionPreview, type InstructionPreviewMolecule, KbdAtom, type KbdAtomType, KeywordBundlesDisplay, KeywordBundlesEdit, Label, LabelAtom, type LabelAtomType, LayoutAtom, type LayoutAtomType, type LayoutDirection, LoadingOverlay, type LoadingOverlayMolecule, MCQCard, type MCQCardAtom, type MCQCardProps, type MCQOption, Menubar, MenubarCheckboxItem, MenubarContent, MenubarItem, MenubarLabel, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarTrigger, MultiAgentCard, type MultiAgentCardMolecule, MultiAgentPlan, type MultiAgentPlanMolecule, MultiAgentUISelector, type MultiAgentUISelectorMolecule, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NotificationList, type NotificationListMolecule, PXEngineRenderer, Pagination, PaginationAtom, type PaginationAtomType, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PlatformIconGroup, type PlatformIconGroupMolecule, PlatformSelectDisplay, PlatformSelectEdit, type PollingConfig, Popover, PopoverAtom, type PopoverAtomType, PopoverContent, PopoverTrigger, Progress, ProgressAtom, type ProgressAtomType, RadioAtom, type RadioAtomType, RadioGroup, RadioGroupAtom, type RadioGroupAtomType, RadioGroupItem, RatingAtom, type RatingAtomType, ResizableAtom, type ResizableAtomType, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollAreaAtom, type ScrollAreaAtomType, ScrollBar, SearchSpecCard, type SearchSpecCardAtom, type SearchSpecCardProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, type SelectOption, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SeparatorAtom, type SeparatorAtomType, Sheet, SheetAtom, type SheetAtomType, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Skeleton, SkeletonAtom, type SkeletonAtomType, Slider, SliderAtom, type SliderAtomType, Spinner, SpinnerAtom, type SpinnerAtomType, StageIndicator, type StageIndicatorMolecule, StatsGrid, type StatsGridMolecule, type StatusDetails, StepWizard, type StepWizardMolecule, Switch, SwitchAtom, type SwitchAtomType, Table, TableAtom, type TableAtomType, TableBody, TableCaption, TableCell, TableHead, TableHeader, TableRow, Tabs, TabsAtom, type TabsAtomType, TabsContent, TabsList, TabsTrigger, TagCloud, type TagCloudMolecule, TextAtom, type TextAtomType, type TextVariant, Textarea, TextareaAtom, TimelineAtom, type TimelineAtomType, ToggleAtom, type ToggleAtomType, ToolListCard, type ToolListCardMolecule, Tooltip, TooltipAtom, type TooltipAtomType, TooltipContent, TooltipProvider, TooltipTrigger, TopPostsGrid, type TopPostsGridMolecule, type UIAtom, type UIComponent, UIComponentSelector, type UIComponentSelectorMolecule, type UIMolecule, type UISchema, VideoAtom, type VideoAtomType, WorkflowVisualizer, type WorkflowVisualizerMolecule, cn, generateFieldsFromData, generateFieldsFromPropDefinitions, useCreatorWidgetPolling };
2509
+ export { Accordion, AccordionAtom, type AccordionAtomType, AccordionContent, AccordionItem, AccordionTrigger, ActionButton, type ActionButtonAtom, type ActionButtonProps, AgentCard, type AgentCardMolecule, AgentDataTable, type AgentDataTableMolecule, Alert, AlertAtom, type AlertAtomType, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogAtom, type AlertDialogAtomType, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, AlertTitle, ArrowToggleAtom, type ArrowToggleAtomType, AspectRatio, AspectRatioAtom, type AspectRatioAtomType, AudienceDemographicsCard, type AudienceDemographicsCardMolecule, AudienceMetricCard, type AudienceMetricCardMolecule, Avatar, AvatarAtom, type AvatarAtomType, AvatarFallback, AvatarImage, Badge, BadgeAtom, type BadgeAtomType, type BaseAtom, type BaseMolecule, BrandAffinityGroup, type BrandAffinityGroupMolecule, Breadcrumb, BreadcrumbAtom, type BreadcrumbAtomType, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonAtom, type ButtonAtomType, type ButtonSize$1 as ButtonSize, type ButtonVariant$1 as ButtonVariant, Calendar, CalendarAtom, type CalendarAtomType, CampaignConceptCard, type CampaignConceptCardProps, CampaignSeedCard, type CampaignSeedCardAtom, type CampaignSeedCardProps, Card, CardAtom, type CardAtomType, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselAtom, type CarouselAtomType, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartAtom, type ChartAtomType, Checkbox, CheckboxAtom, type CheckboxAtomType, Collapsible, CollapsibleAtom, type CollapsibleAtomType, CollapsibleContent, CollapsibleTrigger, Command, CommandAtom, type CommandAtomType, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContentPreviewGallery, type ContentPreviewGalleryMolecule, ContextMenu, ContextMenuAtom, type ContextMenuAtomType, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuItem, ContextMenuLabel, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuTrigger, CountrySelectDisplay, CountrySelectEdit, CreatorActionHeader, type CreatorActionHeaderMolecule, CreatorCompactView, type CreatorCompactViewProps, type CreatorDetailData, CreatorExpandedPanel, CreatorGridCard, type CreatorGridCardMolecule, CreatorImageList, type CreatorImageListProps, CreatorProfileSummary, type CreatorProfileSummaryMolecule, CreatorProgressBar, type CreatorProgressBarProps, CreatorSearch, type CreatorSearchProps, type CreatorVersionData, CreatorWidget, type CreatorWidgetAction, type CreatorWidgetMolecule, type CreatorWidgetProps, CreatorWidgetSkeleton, type CreatorWidgetStatus, DataGrid, type DataGridMolecule, Dialog, DialogAtom, type DialogAtomType, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerAtom, type DrawerAtomType, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuAtom, type DropdownMenuAtomType, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuTrigger, EditableField, type EditableFieldProps, EmptyState, type EmptyStateMolecule, type FetchCreatorDetailsParams, type FetchStatusParams, type FetchVersionsParams, FileUpload, type FileUploadMolecule, FilterBar, type FilterBarMolecule, Form, FormCard, type FormCardProps, FormControl, FormDescription, FormField, FormInputAtom, type FormInputAtomType, FormItem, FormLabel, FormMessage, FormSelectAtom, type FormSelectAtomType, FormTextareaAtom, type FormTextareaAtomType, type GapSize, GrowthChartCard, type GrowthChartCardMolecule, HoverCard, HoverCardContent, HoverCardTrigger, IconAtom, type IconAtomType, type IconName, Input, InputAtom, type InputAtomType, InputOTP, InputOTPAtom, type InputOTPAtomType, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputType, InstructionPreview, type InstructionPreviewMolecule, KbdAtom, type KbdAtomType, KeywordBundlesDisplay, KeywordBundlesEdit, Label, LabelAtom, type LabelAtomType, LayoutAtom, type LayoutAtomType, type LayoutDirection, LoadingOverlay, type LoadingOverlayMolecule, MCQCard, type MCQCardAtom, type MCQCardProps, type MCQOption, Menubar, MenubarCheckboxItem, MenubarContent, MenubarItem, MenubarLabel, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarTrigger, MultiAgentCard, type MultiAgentCardMolecule, MultiAgentPlan, type MultiAgentPlanMolecule, MultiAgentUISelector, type MultiAgentUISelectorMolecule, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NotificationList, type NotificationListMolecule, PXEngineRenderer, Pagination, PaginationAtom, type PaginationAtomType, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PlatformIconGroup, type PlatformIconGroupMolecule, PlatformSelectDisplay, PlatformSelectEdit, type PollingConfig, Popover, PopoverAtom, type PopoverAtomType, PopoverContent, PopoverTrigger, Progress, ProgressAtom, type ProgressAtomType, RadioAtom, type RadioAtomType, RadioGroup, RadioGroupAtom, type RadioGroupAtomType, RadioGroupItem, RatingAtom, type RatingAtomType, ResizableAtom, type ResizableAtomType, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollAreaAtom, type ScrollAreaAtomType, ScrollBar, SearchSpecCard, type SearchSpecCardAtom, type SearchSpecCardProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, type SelectOption, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SeparatorAtom, type SeparatorAtomType, Sheet, SheetAtom, type SheetAtomType, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Skeleton, SkeletonAtom, type SkeletonAtomType, Slider, SliderAtom, type SliderAtomType, Spinner, SpinnerAtom, type SpinnerAtomType, StageIndicator, type StageIndicatorMolecule, StatsGrid, type StatsGridMolecule, type StatusDetails, StepWizard, type StepWizardMolecule, Switch, SwitchAtom, type SwitchAtomType, Table, TableAtom, type TableAtomType, TableBody, TableCaption, TableCell, TableHead, TableHeader, TableRow, Tabs, TabsAtom, type TabsAtomType, TabsContent, TabsList, TabsTrigger, TagCloud, type TagCloudMolecule, TextAtom, type TextAtomType, type TextVariant, Textarea, TextareaAtom, TimelineAtom, type TimelineAtomType, ToggleAtom, type ToggleAtomType, ToolListCard, type ToolListCardMolecule, Tooltip, TooltipAtom, type TooltipAtomType, TooltipContent, TooltipProvider, TooltipTrigger, TopPostsGrid, type TopPostsGridMolecule, type UIAtom, type UIComponent, UIComponentSelector, type UIComponentSelectorMolecule, type UIMolecule, type UISchema, VideoAtom, type VideoAtomType, WorkflowVisualizer, type WorkflowVisualizerMolecule, cn, defaultFetchSelections, defaultPersistSelection, generateFieldsFromData, generateFieldsFromPropDefinitions, useCreatorWidgetPolling };
package/dist/index.d.ts CHANGED
@@ -1953,6 +1953,11 @@ interface CampaignSeedCardProps extends Omit<FormCardProps, "fields"> {
1953
1953
  * Optional action handler
1954
1954
  */
1955
1955
  onAction?: (action: any) => void;
1956
+ /**
1957
+ * Optional callback to send a message to the agent directly.
1958
+ * When provided, the proceed button calls this instead of relying on onAction.
1959
+ */
1960
+ sendMessage?: (text: string) => void;
1956
1961
  }
1957
1962
 
1958
1963
  /**
@@ -1993,6 +1998,11 @@ interface SearchSpecCardProps extends Omit<FormCardProps, "fields"> {
1993
1998
  * Optional action handler
1994
1999
  */
1995
2000
  onAction?: (action: any) => void;
2001
+ /**
2002
+ * Optional callback to send a message to the agent directly.
2003
+ * When provided, the proceed button calls this instead of relying on onAction.
2004
+ */
2005
+ sendMessage?: (text: string) => void;
1996
2006
  }
1997
2007
 
1998
2008
  /**
@@ -2079,18 +2089,52 @@ interface MCQCardProps {
2079
2089
  * Whether the interaction is disabled externally
2080
2090
  */
2081
2091
  disabled?: boolean;
2092
+ /**
2093
+ * Session ID for self-contained persistence.
2094
+ * When provided with sendMessage, MCQCard handles its own state.
2095
+ */
2096
+ sessionId?: string;
2097
+ /**
2098
+ * Callback to send a message to the agent.
2099
+ * Called after user confirms selection.
2100
+ */
2101
+ sendMessage?: (text: string) => void;
2102
+ /**
2103
+ * Custom fetcher for loading existing selections.
2104
+ * Defaults to hitting /api/agents-proxy/custom-agents/sessions/{sessionId}/mcq-selections/get
2105
+ */
2106
+ fetchSelections?: (sessionId: string) => Promise<Record<string, string>>;
2107
+ /**
2108
+ * Custom fetcher for persisting a selection.
2109
+ * Defaults to hitting /api/agents-proxy/custom-agents/sessions/{sessionId}/mcq-selections
2110
+ */
2111
+ persistSelection?: (sessionId: string, questionKey: string, value: string) => Promise<void>;
2082
2112
  }
2083
2113
 
2084
2114
  /**
2085
2115
  * MCQCard
2086
2116
  *
2087
2117
  * A molecule for Multiple Choice Questions.
2088
- * Styled to match OptionsRenderer from creator-engine
2118
+ * Self-contained: when `sessionId` + `sendMessage` are provided,
2119
+ * it manages its own persistence and agent communication.
2089
2120
  */
2090
2121
  declare const MCQCard: React__default.NamedExoticComponent<MCQCardProps & {
2091
2122
  disableContinueInDiscovery?: boolean;
2092
2123
  }>;
2093
2124
 
2125
+ /**
2126
+ * Default fetchers for MCQCard self-contained mode.
2127
+ *
2128
+ * Uses localStorage as an instant cache layer:
2129
+ * - persist: writes to localStorage (sync) + backend (async) in parallel
2130
+ * - fetch: reads localStorage instantly, then backfills from backend
2131
+ *
2132
+ * This eliminates the delay where the component remounts after an agent
2133
+ * response and has to wait for the GET API before showing the selection.
2134
+ */
2135
+ declare function defaultFetchSelections(sessionId: string): Promise<Record<string, string>>;
2136
+ declare function defaultPersistSelection(sessionId: string, questionKey: string, value: string): Promise<void>;
2137
+
2094
2138
  /**
2095
2139
  * PlatformIconGroup
2096
2140
  * Displays a horizontal list of active social platform icons.
@@ -2265,14 +2309,24 @@ interface FetchStatusParams {
2265
2309
  sessionId: string;
2266
2310
  versionNo: number;
2267
2311
  }
2312
+ interface FetchCreatorDetailsParams {
2313
+ creatorIds: number[];
2314
+ sessionId: string;
2315
+ versionNo?: number;
2316
+ }
2317
+ interface CreatorDetailData {
2318
+ success: boolean;
2319
+ creatorData: any[];
2320
+ }
2268
2321
  interface CreatorWidgetProps {
2269
2322
  sessionId: string;
2270
2323
  currentVersion?: number;
2271
2324
  isAgentOutput?: boolean;
2272
- fetchVersions: (params: FetchVersionsParams) => Promise<CreatorVersionData>;
2273
- fetchStatus: (params: FetchStatusParams) => Promise<{
2325
+ fetchVersions?: (params: FetchVersionsParams) => Promise<CreatorVersionData>;
2326
+ fetchStatus?: (params: FetchStatusParams) => Promise<{
2274
2327
  status: StatusDetails;
2275
2328
  }>;
2329
+ fetchCreatorDetails?: (params: FetchCreatorDetailsParams) => Promise<CreatorDetailData>;
2276
2330
  pollingConfig?: PollingConfig;
2277
2331
  onStatusChange?: (status: CreatorWidgetStatus) => void;
2278
2332
  onAction?: (action: CreatorWidgetAction) => void;
@@ -2309,22 +2363,33 @@ interface CreatorProgressBarProps {
2309
2363
  timeRemaining?: string;
2310
2364
  }
2311
2365
 
2312
- declare function CreatorWidgetInner({ sessionId, currentVersion, isAgentOutput, fetchVersions, fetchStatus, pollingConfig, onStatusChange, onAction, className, }: CreatorWidgetProps): react_jsx_runtime.JSX.Element;
2366
+ declare function CreatorWidgetInner({ sessionId, currentVersion, isAgentOutput, fetchVersions, fetchStatus, fetchCreatorDetails, pollingConfig, onStatusChange, onAction, className, }: CreatorWidgetProps): react_jsx_runtime.JSX.Element;
2313
2367
  declare const CreatorWidget: React$1.MemoExoticComponent<typeof CreatorWidgetInner>;
2314
2368
 
2315
2369
  declare function CreatorWidgetSkeleton(): react_jsx_runtime.JSX.Element;
2316
2370
 
2371
+ interface CreatorExpandedPanelProps {
2372
+ isOpen: boolean;
2373
+ onClose: () => void;
2374
+ sessionId: string;
2375
+ creatorIds: number[];
2376
+ version?: number;
2377
+ searchSpec: Record<string, any>;
2378
+ fetchCreatorDetails?: (params: FetchCreatorDetailsParams) => Promise<CreatorDetailData>;
2379
+ }
2380
+ declare function CreatorExpandedPanel({ isOpen, onClose, sessionId, creatorIds, version, searchSpec, fetchCreatorDetails, }: CreatorExpandedPanelProps): React$1.ReactPortal | null;
2381
+
2317
2382
  interface UseCreatorWidgetPollingParams {
2318
2383
  sessionId: string;
2319
2384
  currentVersion?: number;
2320
- fetchVersions: (params: FetchVersionsParams) => Promise<CreatorVersionData>;
2321
- fetchStatus: (params: FetchStatusParams) => Promise<{
2385
+ fetchVersions?: (params: FetchVersionsParams) => Promise<CreatorVersionData>;
2386
+ fetchStatus?: (params: FetchStatusParams) => Promise<{
2322
2387
  status: StatusDetails;
2323
2388
  }>;
2324
2389
  pollingConfig?: PollingConfig;
2325
2390
  onStatusChange?: (status: CreatorWidgetStatus) => void;
2326
2391
  }
2327
- declare function useCreatorWidgetPolling({ sessionId, currentVersion, fetchVersions, fetchStatus, pollingConfig, onStatusChange, }: UseCreatorWidgetPollingParams): {
2392
+ declare function useCreatorWidgetPolling({ sessionId, currentVersion, fetchVersions: fetchVersionsProp, fetchStatus: fetchStatusProp, pollingConfig, onStatusChange, }: UseCreatorWidgetPollingParams): {
2328
2393
  versionData: CreatorVersionData | null;
2329
2394
  versionNumbers: number[];
2330
2395
  selectedVersion: number | undefined;
@@ -2441,4 +2506,4 @@ interface StageIndicatorProps extends Omit<StageIndicatorMolecule, "id" | "type"
2441
2506
  */
2442
2507
  declare const StageIndicator: React__default.FC<StageIndicatorProps>;
2443
2508
 
2444
- export { Accordion, AccordionAtom, type AccordionAtomType, AccordionContent, AccordionItem, AccordionTrigger, ActionButton, type ActionButtonAtom, type ActionButtonProps, AgentCard, type AgentCardMolecule, AgentDataTable, type AgentDataTableMolecule, Alert, AlertAtom, type AlertAtomType, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogAtom, type AlertDialogAtomType, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, AlertTitle, ArrowToggleAtom, type ArrowToggleAtomType, AspectRatio, AspectRatioAtom, type AspectRatioAtomType, AudienceDemographicsCard, type AudienceDemographicsCardMolecule, AudienceMetricCard, type AudienceMetricCardMolecule, Avatar, AvatarAtom, type AvatarAtomType, AvatarFallback, AvatarImage, Badge, BadgeAtom, type BadgeAtomType, type BaseAtom, type BaseMolecule, BrandAffinityGroup, type BrandAffinityGroupMolecule, Breadcrumb, BreadcrumbAtom, type BreadcrumbAtomType, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonAtom, type ButtonAtomType, type ButtonSize$1 as ButtonSize, type ButtonVariant$1 as ButtonVariant, Calendar, CalendarAtom, type CalendarAtomType, CampaignConceptCard, type CampaignConceptCardProps, CampaignSeedCard, type CampaignSeedCardAtom, type CampaignSeedCardProps, Card, CardAtom, type CardAtomType, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselAtom, type CarouselAtomType, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartAtom, type ChartAtomType, Checkbox, CheckboxAtom, type CheckboxAtomType, Collapsible, CollapsibleAtom, type CollapsibleAtomType, CollapsibleContent, CollapsibleTrigger, Command, CommandAtom, type CommandAtomType, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContentPreviewGallery, type ContentPreviewGalleryMolecule, ContextMenu, ContextMenuAtom, type ContextMenuAtomType, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuItem, ContextMenuLabel, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuTrigger, CountrySelectDisplay, CountrySelectEdit, CreatorActionHeader, type CreatorActionHeaderMolecule, CreatorCompactView, type CreatorCompactViewProps, CreatorGridCard, type CreatorGridCardMolecule, CreatorImageList, type CreatorImageListProps, CreatorProfileSummary, type CreatorProfileSummaryMolecule, CreatorProgressBar, type CreatorProgressBarProps, CreatorSearch, type CreatorSearchProps, type CreatorVersionData, CreatorWidget, type CreatorWidgetAction, type CreatorWidgetMolecule, type CreatorWidgetProps, CreatorWidgetSkeleton, type CreatorWidgetStatus, DataGrid, type DataGridMolecule, Dialog, DialogAtom, type DialogAtomType, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerAtom, type DrawerAtomType, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuAtom, type DropdownMenuAtomType, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuTrigger, EditableField, type EditableFieldProps, EmptyState, type EmptyStateMolecule, type FetchStatusParams, type FetchVersionsParams, FileUpload, type FileUploadMolecule, FilterBar, type FilterBarMolecule, Form, FormCard, type FormCardProps, FormControl, FormDescription, FormField, FormInputAtom, type FormInputAtomType, FormItem, FormLabel, FormMessage, FormSelectAtom, type FormSelectAtomType, FormTextareaAtom, type FormTextareaAtomType, type GapSize, GrowthChartCard, type GrowthChartCardMolecule, HoverCard, HoverCardContent, HoverCardTrigger, IconAtom, type IconAtomType, type IconName, Input, InputAtom, type InputAtomType, InputOTP, InputOTPAtom, type InputOTPAtomType, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputType, InstructionPreview, type InstructionPreviewMolecule, KbdAtom, type KbdAtomType, KeywordBundlesDisplay, KeywordBundlesEdit, Label, LabelAtom, type LabelAtomType, LayoutAtom, type LayoutAtomType, type LayoutDirection, LoadingOverlay, type LoadingOverlayMolecule, MCQCard, type MCQCardAtom, type MCQCardProps, type MCQOption, Menubar, MenubarCheckboxItem, MenubarContent, MenubarItem, MenubarLabel, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarTrigger, MultiAgentCard, type MultiAgentCardMolecule, MultiAgentPlan, type MultiAgentPlanMolecule, MultiAgentUISelector, type MultiAgentUISelectorMolecule, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NotificationList, type NotificationListMolecule, PXEngineRenderer, Pagination, PaginationAtom, type PaginationAtomType, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PlatformIconGroup, type PlatformIconGroupMolecule, PlatformSelectDisplay, PlatformSelectEdit, type PollingConfig, Popover, PopoverAtom, type PopoverAtomType, PopoverContent, PopoverTrigger, Progress, ProgressAtom, type ProgressAtomType, RadioAtom, type RadioAtomType, RadioGroup, RadioGroupAtom, type RadioGroupAtomType, RadioGroupItem, RatingAtom, type RatingAtomType, ResizableAtom, type ResizableAtomType, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollAreaAtom, type ScrollAreaAtomType, ScrollBar, SearchSpecCard, type SearchSpecCardAtom, type SearchSpecCardProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, type SelectOption, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SeparatorAtom, type SeparatorAtomType, Sheet, SheetAtom, type SheetAtomType, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Skeleton, SkeletonAtom, type SkeletonAtomType, Slider, SliderAtom, type SliderAtomType, Spinner, SpinnerAtom, type SpinnerAtomType, StageIndicator, type StageIndicatorMolecule, StatsGrid, type StatsGridMolecule, type StatusDetails, StepWizard, type StepWizardMolecule, Switch, SwitchAtom, type SwitchAtomType, Table, TableAtom, type TableAtomType, TableBody, TableCaption, TableCell, TableHead, TableHeader, TableRow, Tabs, TabsAtom, type TabsAtomType, TabsContent, TabsList, TabsTrigger, TagCloud, type TagCloudMolecule, TextAtom, type TextAtomType, type TextVariant, Textarea, TextareaAtom, TimelineAtom, type TimelineAtomType, ToggleAtom, type ToggleAtomType, ToolListCard, type ToolListCardMolecule, Tooltip, TooltipAtom, type TooltipAtomType, TooltipContent, TooltipProvider, TooltipTrigger, TopPostsGrid, type TopPostsGridMolecule, type UIAtom, type UIComponent, UIComponentSelector, type UIComponentSelectorMolecule, type UIMolecule, type UISchema, VideoAtom, type VideoAtomType, WorkflowVisualizer, type WorkflowVisualizerMolecule, cn, generateFieldsFromData, generateFieldsFromPropDefinitions, useCreatorWidgetPolling };
2509
+ export { Accordion, AccordionAtom, type AccordionAtomType, AccordionContent, AccordionItem, AccordionTrigger, ActionButton, type ActionButtonAtom, type ActionButtonProps, AgentCard, type AgentCardMolecule, AgentDataTable, type AgentDataTableMolecule, Alert, AlertAtom, type AlertAtomType, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogAtom, type AlertDialogAtomType, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, AlertTitle, ArrowToggleAtom, type ArrowToggleAtomType, AspectRatio, AspectRatioAtom, type AspectRatioAtomType, AudienceDemographicsCard, type AudienceDemographicsCardMolecule, AudienceMetricCard, type AudienceMetricCardMolecule, Avatar, AvatarAtom, type AvatarAtomType, AvatarFallback, AvatarImage, Badge, BadgeAtom, type BadgeAtomType, type BaseAtom, type BaseMolecule, BrandAffinityGroup, type BrandAffinityGroupMolecule, Breadcrumb, BreadcrumbAtom, type BreadcrumbAtomType, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonAtom, type ButtonAtomType, type ButtonSize$1 as ButtonSize, type ButtonVariant$1 as ButtonVariant, Calendar, CalendarAtom, type CalendarAtomType, CampaignConceptCard, type CampaignConceptCardProps, CampaignSeedCard, type CampaignSeedCardAtom, type CampaignSeedCardProps, Card, CardAtom, type CardAtomType, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselAtom, type CarouselAtomType, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartAtom, type ChartAtomType, Checkbox, CheckboxAtom, type CheckboxAtomType, Collapsible, CollapsibleAtom, type CollapsibleAtomType, CollapsibleContent, CollapsibleTrigger, Command, CommandAtom, type CommandAtomType, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContentPreviewGallery, type ContentPreviewGalleryMolecule, ContextMenu, ContextMenuAtom, type ContextMenuAtomType, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuItem, ContextMenuLabel, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuTrigger, CountrySelectDisplay, CountrySelectEdit, CreatorActionHeader, type CreatorActionHeaderMolecule, CreatorCompactView, type CreatorCompactViewProps, type CreatorDetailData, CreatorExpandedPanel, CreatorGridCard, type CreatorGridCardMolecule, CreatorImageList, type CreatorImageListProps, CreatorProfileSummary, type CreatorProfileSummaryMolecule, CreatorProgressBar, type CreatorProgressBarProps, CreatorSearch, type CreatorSearchProps, type CreatorVersionData, CreatorWidget, type CreatorWidgetAction, type CreatorWidgetMolecule, type CreatorWidgetProps, CreatorWidgetSkeleton, type CreatorWidgetStatus, DataGrid, type DataGridMolecule, Dialog, DialogAtom, type DialogAtomType, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerAtom, type DrawerAtomType, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuAtom, type DropdownMenuAtomType, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuTrigger, EditableField, type EditableFieldProps, EmptyState, type EmptyStateMolecule, type FetchCreatorDetailsParams, type FetchStatusParams, type FetchVersionsParams, FileUpload, type FileUploadMolecule, FilterBar, type FilterBarMolecule, Form, FormCard, type FormCardProps, FormControl, FormDescription, FormField, FormInputAtom, type FormInputAtomType, FormItem, FormLabel, FormMessage, FormSelectAtom, type FormSelectAtomType, FormTextareaAtom, type FormTextareaAtomType, type GapSize, GrowthChartCard, type GrowthChartCardMolecule, HoverCard, HoverCardContent, HoverCardTrigger, IconAtom, type IconAtomType, type IconName, Input, InputAtom, type InputAtomType, InputOTP, InputOTPAtom, type InputOTPAtomType, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputType, InstructionPreview, type InstructionPreviewMolecule, KbdAtom, type KbdAtomType, KeywordBundlesDisplay, KeywordBundlesEdit, Label, LabelAtom, type LabelAtomType, LayoutAtom, type LayoutAtomType, type LayoutDirection, LoadingOverlay, type LoadingOverlayMolecule, MCQCard, type MCQCardAtom, type MCQCardProps, type MCQOption, Menubar, MenubarCheckboxItem, MenubarContent, MenubarItem, MenubarLabel, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarTrigger, MultiAgentCard, type MultiAgentCardMolecule, MultiAgentPlan, type MultiAgentPlanMolecule, MultiAgentUISelector, type MultiAgentUISelectorMolecule, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NotificationList, type NotificationListMolecule, PXEngineRenderer, Pagination, PaginationAtom, type PaginationAtomType, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PlatformIconGroup, type PlatformIconGroupMolecule, PlatformSelectDisplay, PlatformSelectEdit, type PollingConfig, Popover, PopoverAtom, type PopoverAtomType, PopoverContent, PopoverTrigger, Progress, ProgressAtom, type ProgressAtomType, RadioAtom, type RadioAtomType, RadioGroup, RadioGroupAtom, type RadioGroupAtomType, RadioGroupItem, RatingAtom, type RatingAtomType, ResizableAtom, type ResizableAtomType, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollAreaAtom, type ScrollAreaAtomType, ScrollBar, SearchSpecCard, type SearchSpecCardAtom, type SearchSpecCardProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, type SelectOption, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SeparatorAtom, type SeparatorAtomType, Sheet, SheetAtom, type SheetAtomType, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Skeleton, SkeletonAtom, type SkeletonAtomType, Slider, SliderAtom, type SliderAtomType, Spinner, SpinnerAtom, type SpinnerAtomType, StageIndicator, type StageIndicatorMolecule, StatsGrid, type StatsGridMolecule, type StatusDetails, StepWizard, type StepWizardMolecule, Switch, SwitchAtom, type SwitchAtomType, Table, TableAtom, type TableAtomType, TableBody, TableCaption, TableCell, TableHead, TableHeader, TableRow, Tabs, TabsAtom, type TabsAtomType, TabsContent, TabsList, TabsTrigger, TagCloud, type TagCloudMolecule, TextAtom, type TextAtomType, type TextVariant, Textarea, TextareaAtom, TimelineAtom, type TimelineAtomType, ToggleAtom, type ToggleAtomType, ToolListCard, type ToolListCardMolecule, Tooltip, TooltipAtom, type TooltipAtomType, TooltipContent, TooltipProvider, TooltipTrigger, TopPostsGrid, type TopPostsGridMolecule, type UIAtom, type UIComponent, UIComponentSelector, type UIComponentSelectorMolecule, type UIMolecule, type UISchema, VideoAtom, type VideoAtomType, WorkflowVisualizer, type WorkflowVisualizerMolecule, cn, defaultFetchSelections, defaultPersistSelection, generateFieldsFromData, generateFieldsFromPropDefinitions, useCreatorWidgetPolling };