pxengine 0.1.97 → 0.1.99

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.ts CHANGED
@@ -617,8 +617,252 @@ interface EditableOrganismPropDef {
617
617
  };
618
618
  }
619
619
 
620
+ interface WidgetTheme {
621
+ /** Card / container background. Replaces `cardSurface`. */
622
+ background?: string;
623
+ /** Inner surface background (rows, cells, option blocks). Replaces `black/20`. */
624
+ surface?: string;
625
+ /** Border color. Replaces `gray400`. */
626
+ border?: string;
627
+ /** Primary text. Replaces `cardText`. */
628
+ text?: string;
629
+ /** Secondary / muted text. Replaces `cardText/50`. */
630
+ textMuted?: string;
631
+ /** Accent / highlight color. Replaces `gold` (#BFAD82). Used for selected states, stars, progress, active steps. */
632
+ accent?: string;
633
+ /** Readable text color to place ON the accent (auto-contrast: white or near-black). */
634
+ accentForeground?: string;
635
+ /** Border width in px for cards/containers (default: keep existing 1px border). */
636
+ borderWidth?: number;
637
+ /** Corner radius in px for cards/containers. */
638
+ radius?: number;
639
+ /** Font family applied to widget text. */
640
+ fontFamily?: string;
641
+ /** Box-shadow / elevation CSS value (e.g. "0 1px 2px rgba(0,0,0,.4)"). */
642
+ shadow?: string;
643
+ /** Semantic success color (positive states, confirmations). */
644
+ success?: string;
645
+ /** Semantic warning color (caution states). */
646
+ warning?: string;
647
+ /** Semantic danger color (errors, destructive actions). */
648
+ danger?: string;
649
+ /** Optional brand gradient for hero/accent surfaces (e.g. "linear-gradient(135deg,#a,#b)"). */
650
+ gradient?: string;
651
+ }
652
+ /**
653
+ * React context that carries the active WidgetTheme down the render tree, so
654
+ * deeply-nested molecules can pick it up even when they aren't passed `theme`
655
+ * directly. An explicit `theme` prop always wins over the context value.
656
+ */
657
+ declare const WidgetThemeContext: React$1.Context<WidgetTheme | undefined>;
658
+ /** Resolve the effective theme: explicit prop first, else the nearest context. */
659
+ declare function useWidgetTheme(explicit?: WidgetTheme): WidgetTheme | undefined;
660
+ /** Convert a hex color to rgba with the given alpha (0–1). Falls back to the original string for non-hex values. */
661
+ declare function withAlpha(color: string, alpha: number): string;
662
+ /**
663
+ * Resolves a WidgetTheme into ready-to-use CSSProperties objects.
664
+ * Every property is undefined when no theme value is set, so Tailwind
665
+ * CSS-variable classes remain in effect as the default.
666
+ */
667
+ declare function th(theme?: WidgetTheme): {
668
+ root: CSSProperties;
669
+ surface: CSSProperties;
670
+ text: CSSProperties;
671
+ muted: CSSProperties;
672
+ accent: CSSProperties;
673
+ accentBg: CSSProperties;
674
+ accentBorder: CSSProperties;
675
+ accentText: CSSProperties;
676
+ accentSubtle: (alpha?: number) => CSSProperties;
677
+ semantic: (kind: "success" | "warning" | "danger") => CSSProperties;
678
+ gradientBg: CSSProperties;
679
+ };
680
+
681
+ /**
682
+ * Engine-agnostic analytics chart contract.
683
+ *
684
+ * Analytics modules (and the server's chart_decider output) describe charts
685
+ * declaratively via this config. The UI Library owns the translation into the
686
+ * concrete charting engine (Highcharts), so frontends never write chart code.
687
+ */
688
+ type AnalyticsChartType = "line" | "spline" | "area" | "areaspline" | "bar" | "column" | "pie" | "donut" | "funnel" | "heatmap" | "scatter";
689
+ /** A single data point. Supports scalar, tuple, and rich-object forms. */
690
+ type AnalyticsPoint = number | [string | number, number] | {
691
+ name?: string;
692
+ x?: string | number;
693
+ y?: number;
694
+ /** Used by heatmap (3rd dim) / treemap-style series. */
695
+ value?: number;
696
+ color?: string;
697
+ [key: string]: unknown;
698
+ };
699
+ interface AnalyticsSeries {
700
+ /** Series label shown in legend/tooltip. */
701
+ name: string;
702
+ data: AnalyticsPoint[];
703
+ /** Per-series override of the chart-level type (mixed charts). */
704
+ type?: AnalyticsChartType;
705
+ color?: string;
706
+ /** Stack bucket name — series sharing a stack are stacked together. */
707
+ stack?: string;
708
+ /** Plot on the secondary (opposite) y-axis. */
709
+ yAxis?: number;
710
+ }
711
+ interface AnalyticsAxisConfig {
712
+ title?: string;
713
+ type?: "linear" | "datetime" | "category" | "logarithmic";
714
+ categories?: (string | number)[];
715
+ /** Highcharts label format string, e.g. "${value:,.1f}M". */
716
+ format?: string;
717
+ min?: number;
718
+ max?: number;
719
+ /** Render on the opposite side (secondary axis). */
720
+ opposite?: boolean;
721
+ }
722
+ interface AnalyticsTooltipConfig {
723
+ shared?: boolean;
724
+ valuePrefix?: string;
725
+ valueSuffix?: string;
726
+ /** Highcharts pointFormat override. */
727
+ pointFormat?: string;
728
+ }
729
+ /** Stacking mode for bar/column/area families. */
730
+ type StackingMode = boolean | "normal" | "percent";
731
+ /** Time bucket hint for time-series grouping (consumed by data-mapping layer). */
732
+ type TimeGrouping = "day" | "week" | "month" | "quarter" | "year";
733
+ /**
734
+ * The full declarative chart config. Either pass this (`chartConfig`) or the
735
+ * flattened props on the molecule, or a raw Highcharts `config` for passthrough
736
+ * of server chart_decider output.
737
+ */
738
+ interface AnalyticsChartConfig {
739
+ type: AnalyticsChartType;
740
+ title?: string;
741
+ subtitle?: string;
742
+ series: AnalyticsSeries[];
743
+ /** Shared x categories (bar/column/line over labels). */
744
+ categories?: (string | number)[];
745
+ xAxis?: AnalyticsAxisConfig;
746
+ yAxis?: AnalyticsAxisConfig | AnalyticsAxisConfig[];
747
+ /** Series color overrides (falls back to the PXEngine analytics palette). */
748
+ colors?: string[];
749
+ stacked?: StackingMode;
750
+ legend?: boolean;
751
+ tooltip?: AnalyticsTooltipConfig;
752
+ dataLabels?: boolean | {
753
+ format?: string;
754
+ };
755
+ timeGrouping?: TimeGrouping;
756
+ height?: number;
757
+ }
758
+
620
759
  interface BaseMolecule extends BaseAtom {
621
760
  }
761
+ /** Shared schema for the configurable analytics chart family. */
762
+ interface BaseAnalyticsChartMolecule extends BaseMolecule {
763
+ title?: string;
764
+ subtitle?: string;
765
+ series?: AnalyticsSeries[];
766
+ categories?: (string | number)[];
767
+ xAxis?: AnalyticsAxisConfig;
768
+ yAxis?: AnalyticsAxisConfig | AnalyticsAxisConfig[];
769
+ colors?: string[];
770
+ stacked?: StackingMode;
771
+ legend?: boolean;
772
+ tooltip?: AnalyticsTooltipConfig;
773
+ dataLabels?: boolean | {
774
+ format?: string;
775
+ };
776
+ mode?: "light" | "dark" | "auto";
777
+ height?: number;
778
+ loading?: boolean;
779
+ error?: string | null;
780
+ emptyMessage?: string;
781
+ /** Full declarative config (alternative to flattened props). */
782
+ chartConfig?: AnalyticsChartConfig;
783
+ /** Raw Highcharts options passthrough (server chart_decider output). */
784
+ config?: Record<string, any>;
785
+ }
786
+ interface AnalyticsChartMolecule extends BaseAnalyticsChartMolecule {
787
+ type: "analytics-chart";
788
+ chartType?: AnalyticsChartConfig["type"];
789
+ }
790
+ interface LineChartMolecule extends BaseAnalyticsChartMolecule {
791
+ type: "line-chart";
792
+ }
793
+ interface AreaChartMolecule extends BaseAnalyticsChartMolecule {
794
+ type: "area-chart";
795
+ }
796
+ interface BarChartMolecule extends BaseAnalyticsChartMolecule {
797
+ type: "bar-chart";
798
+ }
799
+ interface StackedBarChartMolecule extends BaseAnalyticsChartMolecule {
800
+ type: "stacked-bar-chart";
801
+ }
802
+ interface ColumnChartMolecule extends BaseAnalyticsChartMolecule {
803
+ type: "column-chart";
804
+ }
805
+ interface StackedColumnChartMolecule extends BaseAnalyticsChartMolecule {
806
+ type: "stacked-column-chart";
807
+ }
808
+ interface PieChartMolecule extends BaseAnalyticsChartMolecule {
809
+ type: "pie-chart";
810
+ }
811
+ interface DonutChartMolecule extends BaseAnalyticsChartMolecule {
812
+ type: "donut-chart";
813
+ }
814
+ interface FunnelChartMolecule extends BaseAnalyticsChartMolecule {
815
+ type: "funnel-chart";
816
+ }
817
+ interface HeatmapChartMolecule extends BaseAnalyticsChartMolecule {
818
+ type: "heatmap-chart";
819
+ }
820
+ interface TimeSeriesChartMolecule extends BaseAnalyticsChartMolecule {
821
+ type: "time-series-chart";
822
+ }
823
+ interface ComparativeChartMolecule extends BaseAnalyticsChartMolecule {
824
+ type: "comparative-chart";
825
+ }
826
+ interface TrendIndicatorMolecule extends BaseMolecule {
827
+ type: "trend-indicator";
828
+ value: string | number;
829
+ trend?: "up" | "down" | "neutral";
830
+ invertColors?: boolean;
831
+ label?: string;
832
+ }
833
+ interface KPIMetricCardMolecule extends BaseMolecule {
834
+ type: "kpi-metric-card";
835
+ label: string;
836
+ value: string | number;
837
+ unit?: string;
838
+ delta?: string;
839
+ trend?: "up" | "down" | "neutral";
840
+ invertTrendColors?: boolean;
841
+ icon?: string;
842
+ sparkline?: number[];
843
+ sparklineColor?: string;
844
+ mode?: "light" | "dark" | "auto";
845
+ loading?: boolean;
846
+ }
847
+ interface AnalyticsSummaryCardMolecule extends BaseMolecule {
848
+ type: "analytics-summary-card";
849
+ title?: string;
850
+ subtitle?: string;
851
+ metrics: Array<{
852
+ label: string;
853
+ value: string | number;
854
+ unit?: string;
855
+ delta?: string;
856
+ trend?: "up" | "down" | "neutral";
857
+ invertTrendColors?: boolean;
858
+ icon?: string;
859
+ sparkline?: number[];
860
+ }>;
861
+ chart?: AnalyticsChartConfig;
862
+ columns?: 2 | 3 | 4;
863
+ mode?: "light" | "dark" | "auto";
864
+ loading?: boolean;
865
+ }
622
866
  interface DynamicFormCardMolecule extends BaseMolecule {
623
867
  type: "dynamic-form-card";
624
868
  data?: Record<string, any>;
@@ -655,6 +899,20 @@ interface MCQCardAtom extends BaseMolecule {
655
899
  options: Record<string, string>;
656
900
  recommended?: string;
657
901
  selectedOption?: string;
902
+ /**
903
+ * Pre-selected option keys for multi-select / historical view.
904
+ */
905
+ selectedOptions?: string[];
906
+ /**
907
+ * Maximum number of options the user may pick. Defaults to 1 (single-select).
908
+ * Set to >= 2 to enable multi-select (e.g. "Choose any 2 options").
909
+ */
910
+ maxSelections?: number;
911
+ /**
912
+ * Minimum number of options required before the user can continue.
913
+ * Defaults to `maxSelections` when multi-select (exact-N), otherwise 1.
914
+ */
915
+ minSelections?: number;
658
916
  isLatestMessage?: boolean;
659
917
  countdown?: number;
660
918
  isPaused?: boolean;
@@ -1158,7 +1416,7 @@ interface GitHubIssueTrackerMolecule extends BaseMolecule {
1158
1416
  days_stale: number;
1159
1417
  }>;
1160
1418
  }
1161
- type UIMolecule = CampaignSeedCardAtom | SearchSpecCardAtom | MCQCardAtom | ActionButtonAtom | StatsGridMolecule | EmptyStateMolecule | LoadingOverlayMolecule | InsightSummaryCardMolecule | ResearchBriefCardMolecule | PriorityActionsCardMolecule | KPIStatsCardMolecule | ApprovalCardMolecule | TimelineCardMolecule | FeedbackRatingCardMolecule | DataTableCardMolecule | ChecklistCardMolecule | PollCardMolecule | CampaignBriefCardMolecule | DataSourceChecklistCardMolecule | GoalAlignmentCardMolecule | AudiencePersonaCardMolecule | ChannelPlanCardMolecule | InsightDigestCardMolecule | ActionPriorityCardMolecule | RiskSignalCardMolecule | ScoreBreakdownCardMolecule | NextStepCardMolecule | PlatformIconGroupMolecule | CreatorProfileSummaryMolecule | AudienceMetricCardMolecule | FilterBarMolecule | FileUploadMolecule | TagCloudMolecule | CreatorGridCardMolecule | BrandAffinityGroupMolecule | ContentPreviewGalleryMolecule | DataGridMolecule | StepWizardMolecule | NotificationListMolecule | AudienceDemographicsCardMolecule | GrowthChartCardMolecule | TopPostsGridMolecule | CreatorActionHeaderMolecule | SocialPostMolecule | CreatorWidgetMolecule | GitHubConnectMolecule | GitHubRepoHealthMolecule | GitHubIssueTrackerMolecule | RecommendationCardMolecule | ConfirmationCardMolecule | DynamicFormCardMolecule;
1419
+ type UIMolecule = CampaignSeedCardAtom | SearchSpecCardAtom | MCQCardAtom | ActionButtonAtom | StatsGridMolecule | EmptyStateMolecule | LoadingOverlayMolecule | InsightSummaryCardMolecule | ResearchBriefCardMolecule | PriorityActionsCardMolecule | KPIStatsCardMolecule | ApprovalCardMolecule | TimelineCardMolecule | FeedbackRatingCardMolecule | DataTableCardMolecule | ChecklistCardMolecule | PollCardMolecule | CampaignBriefCardMolecule | DataSourceChecklistCardMolecule | GoalAlignmentCardMolecule | AudiencePersonaCardMolecule | ChannelPlanCardMolecule | InsightDigestCardMolecule | ActionPriorityCardMolecule | RiskSignalCardMolecule | ScoreBreakdownCardMolecule | NextStepCardMolecule | PlatformIconGroupMolecule | CreatorProfileSummaryMolecule | AudienceMetricCardMolecule | FilterBarMolecule | FileUploadMolecule | TagCloudMolecule | CreatorGridCardMolecule | BrandAffinityGroupMolecule | ContentPreviewGalleryMolecule | DataGridMolecule | StepWizardMolecule | NotificationListMolecule | AudienceDemographicsCardMolecule | GrowthChartCardMolecule | TopPostsGridMolecule | CreatorActionHeaderMolecule | SocialPostMolecule | CreatorWidgetMolecule | GitHubConnectMolecule | GitHubRepoHealthMolecule | GitHubIssueTrackerMolecule | RecommendationCardMolecule | ConfirmationCardMolecule | AnalyticsChartMolecule | LineChartMolecule | AreaChartMolecule | BarChartMolecule | StackedBarChartMolecule | ColumnChartMolecule | StackedColumnChartMolecule | PieChartMolecule | DonutChartMolecule | FunnelChartMolecule | HeatmapChartMolecule | TimeSeriesChartMolecule | ComparativeChartMolecule | TrendIndicatorMolecule | KPIMetricCardMolecule | AnalyticsSummaryCardMolecule | DynamicFormCardMolecule;
1162
1420
 
1163
1421
  type UIComponent = UIAtom | UIMolecule;
1164
1422
  interface UISchema {
@@ -1166,67 +1424,6 @@ interface UISchema {
1166
1424
  root: UIComponent;
1167
1425
  }
1168
1426
 
1169
- interface WidgetTheme {
1170
- /** Card / container background. Replaces `cardSurface`. */
1171
- background?: string;
1172
- /** Inner surface background (rows, cells, option blocks). Replaces `black/20`. */
1173
- surface?: string;
1174
- /** Border color. Replaces `gray400`. */
1175
- border?: string;
1176
- /** Primary text. Replaces `cardText`. */
1177
- text?: string;
1178
- /** Secondary / muted text. Replaces `cardText/50`. */
1179
- textMuted?: string;
1180
- /** Accent / highlight color. Replaces `gold` (#BFAD82). Used for selected states, stars, progress, active steps. */
1181
- accent?: string;
1182
- /** Readable text color to place ON the accent (auto-contrast: white or near-black). */
1183
- accentForeground?: string;
1184
- /** Border width in px for cards/containers (default: keep existing 1px border). */
1185
- borderWidth?: number;
1186
- /** Corner radius in px for cards/containers. */
1187
- radius?: number;
1188
- /** Font family applied to widget text. */
1189
- fontFamily?: string;
1190
- /** Box-shadow / elevation CSS value (e.g. "0 1px 2px rgba(0,0,0,.4)"). */
1191
- shadow?: string;
1192
- /** Semantic success color (positive states, confirmations). */
1193
- success?: string;
1194
- /** Semantic warning color (caution states). */
1195
- warning?: string;
1196
- /** Semantic danger color (errors, destructive actions). */
1197
- danger?: string;
1198
- /** Optional brand gradient for hero/accent surfaces (e.g. "linear-gradient(135deg,#a,#b)"). */
1199
- gradient?: string;
1200
- }
1201
- /**
1202
- * React context that carries the active WidgetTheme down the render tree, so
1203
- * deeply-nested molecules can pick it up even when they aren't passed `theme`
1204
- * directly. An explicit `theme` prop always wins over the context value.
1205
- */
1206
- declare const WidgetThemeContext: React$1.Context<WidgetTheme | undefined>;
1207
- /** Resolve the effective theme: explicit prop first, else the nearest context. */
1208
- declare function useWidgetTheme(explicit?: WidgetTheme): WidgetTheme | undefined;
1209
- /** Convert a hex color to rgba with the given alpha (0–1). Falls back to the original string for non-hex values. */
1210
- declare function withAlpha(color: string, alpha: number): string;
1211
- /**
1212
- * Resolves a WidgetTheme into ready-to-use CSSProperties objects.
1213
- * Every property is undefined when no theme value is set, so Tailwind
1214
- * CSS-variable classes remain in effect as the default.
1215
- */
1216
- declare function th(theme?: WidgetTheme): {
1217
- root: CSSProperties;
1218
- surface: CSSProperties;
1219
- text: CSSProperties;
1220
- muted: CSSProperties;
1221
- accent: CSSProperties;
1222
- accentBg: CSSProperties;
1223
- accentBorder: CSSProperties;
1224
- accentText: CSSProperties;
1225
- accentSubtle: (alpha?: number) => CSSProperties;
1226
- semantic: (kind: "success" | "warning" | "danger") => CSSProperties;
1227
- gradientBg: CSSProperties;
1228
- };
1229
-
1230
1427
  declare const REGISTERED_COMPONENTS: Set<string>;
1231
1428
  /**
1232
1429
  * PXEngineRenderer
@@ -3520,13 +3717,31 @@ interface MCQCardProps {
3520
3717
  */
3521
3718
  recommended?: string;
3522
3719
  /**
3523
- * The currently selected option key
3720
+ * The currently selected option key (single-select / historical view)
3524
3721
  */
3525
3722
  selectedOption?: string;
3526
3723
  /**
3527
- * Triggered when an option is selected
3724
+ * Pre-selected option keys (multi-select / historical view).
3725
+ */
3726
+ selectedOptions?: string[];
3727
+ /**
3728
+ * Maximum number of options the user may pick.
3729
+ * Defaults to 1 (single-select). >= 2 enables multi-select.
3730
+ */
3731
+ maxSelections?: number;
3732
+ /**
3733
+ * Minimum number of options required before Continue is enabled.
3734
+ * Defaults to `maxSelections` when multi-select, otherwise 1.
3735
+ */
3736
+ minSelections?: number;
3737
+ /**
3738
+ * Triggered when an option is selected (fires with the last-toggled key)
3528
3739
  */
3529
3740
  onSelect?: (key: string) => void;
3741
+ /**
3742
+ * Triggered on every selection change in multi-select mode with the full set.
3743
+ */
3744
+ onSelectMultiple?: (keys: string[]) => void;
3530
3745
  /**
3531
3746
  * Triggered when the user clicks Continue
3532
3747
  */
@@ -3584,6 +3799,11 @@ interface MCQCardProps {
3584
3799
  * Self-contained: when `sessionId` + `sendMessage` are provided,
3585
3800
  * it manages its own persistence and agent communication.
3586
3801
  *
3802
+ * Supports single- and multi-select. When `maxSelections >= 2` the card
3803
+ * becomes multi-select (checkboxes); with no count it stays single-select
3804
+ * (radios) — fully backward compatible. Multiple selections are persisted as
3805
+ * a comma-joined key string so the existing string-based storage is unchanged.
3806
+ *
3587
3807
  * Honors an optional `theme` (WidgetTheme): when provided, the card adopts the
3588
3808
  * organization's brand colors via inline styles that override the default
3589
3809
  * Tailwind palette. With no theme it renders exactly as before.
@@ -3881,4 +4101,16 @@ declare function CreatorImageList({ creatorImages, creatorLength, isAgentOutput,
3881
4101
 
3882
4102
  declare function CreatorProgressBar({ statusDetails, timeRemaining: _timeRemaining, }: CreatorProgressBarProps): react_jsx_runtime.JSX.Element;
3883
4103
 
3884
- export { Accordion, AccordionAtom, type AccordionAtomType, AccordionContent, AccordionItem, AccordionTrigger, ActionButton, type ActionButtonAtom, type ActionButtonProps, type ActionPriority, ActionPriorityCard, type ActionPriorityCardMolecule, type ActionPriorityCardProps, type ActionPriorityItem, Alert, AlertAtom, type AlertAtomType, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogAtom, type AlertDialogAtomType, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, AlertTitle, ApprovalCard, type ApprovalCardMolecule, type ApprovalCardProps, type ApprovalDetail, type ApprovalStatus, ArrowToggleAtom, type ArrowToggleAtomType, AspectRatio, AspectRatioAtom, type AspectRatioAtomType, AudienceDemographicsCard, type AudienceDemographicsCardMolecule, AudienceMetricCard, type AudienceMetricCardMolecule, AudiencePersonaCard, type AudiencePersonaCardMolecule, type AudiencePersonaCardProps, Avatar, AvatarAtom, type AvatarAtomType, AvatarFallback, AvatarImage, Badge, BadgeAtom, type BadgeAtomType, type BaseAtom, type BaseMolecule, type BranchCI, BrandAffinityGroup, type BrandAffinityGroupMolecule, Breadcrumb, BreadcrumbAtom, type BreadcrumbAtomType, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, BudgetAllocCard, type BudgetAllocCardProps, type BudgetAllocItem, Button, type ButtonAction, ButtonAtom, type ButtonAtomType, type ButtonSize$1 as ButtonSize, type ButtonVariant$1 as ButtonVariant, Calendar, CalendarAtom, type CalendarAtomType, type CalendarEventAttendee, CalendarEventCard, type CalendarEventCardProps, type CalendarEventStatus, CampaignBriefCard, type CampaignBriefCardMolecule, type CampaignBriefCardProps, 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, ChannelPlanCard, type ChannelPlanCardMolecule, type ChannelPlanCardProps, type ChannelPlanItem, ChartAtom, type ChartAtomType, type ChartDataPoint, Checkbox, CheckboxAtom, type CheckboxAtomType, ChecklistCard, type ChecklistCardMolecule, type ChecklistCardProps, type ChecklistItem, Collapsible, CollapsibleAtom, type CollapsibleAtomType, CollapsibleContent, CollapsibleTrigger, type CollectedField, Command, CommandAtom, type CommandAtomType, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, type ComparisonAttribute, ComparisonCard, type ComparisonCardProps, type ComparisonOption, ConfirmationCard, type ConfirmationCardMolecule, type ConfirmationCardProps, 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, DataSourceChecklistCard, type DataSourceChecklistCardMolecule, type DataSourceChecklistCardProps, type DataSourceItem, DataTableCard, type DataTableCardMolecule, type DataTableCardProps, 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, DynamicFormCard, type DynamicFormCardMolecule, type DynamicFormCardProps, EditableField, type EditableFieldProps, EmptyState, type EmptyStateMolecule, FeedbackRatingCard, type FeedbackRatingCardMolecule, type FeedbackRatingCardProps, 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, GitHubConnectCard, type GitHubConnectCardProps, type GitHubConnectMolecule, GitHubIssueTrackerCard, type GitHubIssueTrackerCardProps, type GitHubIssueTrackerMolecule, GitHubRepoHealthCard, type GitHubRepoHealthCardProps, type GitHubRepoHealthMolecule, GitHubReposListCard, type GitHubReposListCardProps, GoalAlignmentCard, type GoalAlignmentCardMolecule, type GoalAlignmentCardProps, type GoalAlignmentItem, GoogleSheetsCard, type GoogleSheetsCardProps, GoogleSheetsConnectCard, type GoogleSheetsConnectCardProps, GoogleSheetsListCard, type GoogleSheetsListCardProps, GrowthChartCard, type GrowthChartCardMolecule, HoverCard, HoverCardContent, HoverCardTrigger, IconAtom, type IconAtomType, type IconName, Input, InputAtom, type InputAtomType, type InputElementLike, InputOTP, InputOTPAtom, type InputOTPAtomType, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputType, InputWidget, type InputWidgetField, type InputWidgetFieldKind, type InputWidgetType, InsightDigestCard, type InsightDigestCardMolecule, type InsightDigestCardProps, type InsightDigestItem, InsightSummaryCard, type InsightSummaryCardMolecule, type InsightSummaryCardProps, type InsightSummaryItem, type JobProgress$2 as JobProgress, type KPIStatItem, KPIStatsCard, type KPIStatsCardMolecule, type KPIStatsCardProps, 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, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NextStepCard, type NextStepCardMolecule, type NextStepCardProps, type NextStepItem, NotificationList, type NotificationListMolecule, PXEngineRenderer, Pagination, PaginationAtom, type PaginationAtomType, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type PersonaSegment, PlatformIconGroup, type PlatformIconGroupMolecule, PlatformSelectDisplay, PlatformSelectEdit, PollCard, type PollCardMolecule, type PollCardProps, type PollOption, type PollingConfig, Popover, PopoverAtom, type PopoverAtomType, PopoverContent, PopoverTrigger, type PresentationFormats, PresentationJobCard, type PresentationJobCardProps, type PresentationJobOutput, type PriorityActionItem, PriorityActionsCard, type PriorityActionsCardMolecule, type PriorityActionsCardProps, Progress, ProgressAtom, type ProgressAtomType, type PullRequest, REGISTERED_COMPONENTS, RadioAtom, type RadioAtomType, RadioGroup, RadioGroupAtom, type RadioGroupAtomType, RadioGroupItem, RatingAtom, type RatingAtomType, RecommendationCard, type RecommendationCardMolecule, type RecommendationCardProps, type RepoItem, type ReportTheme, ResearchBriefCard, type ResearchBriefCardMolecule, type ResearchBriefCardProps, type ResearchBriefItem, type JobProgress$1 as ResearchJobProgress, ResearchReportJobCard, type ResearchReportJobCardProps, type ResearchReportJobOutput, ResizableAtom, type ResizableAtomType, ResizablePanel, ResizablePanelGroup, RiskSignalCard, type RiskSignalCardMolecule, type RiskSignalCardProps, type RiskSignalItem, type RunSseConfig, ScoreBreakdownCard, type ScoreBreakdownCardMolecule, type ScoreBreakdownCardProps, type ScoreBreakdownItem, 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, type SheetColumn, SheetContent, SheetDescription, SheetFooter, SheetHeader, type SheetRow, type SheetTabItem, SheetTitle, SheetTrigger, Skeleton, SkeletonAtom, type SkeletonAtomType, Slider, SliderAtom, type SliderAtomType, type SocialPost, SocialPostCard, type SocialPostCardProps, type SocialPostMolecule, Spinner, SpinnerAtom, type SpinnerAtomType, type SpreadsheetItem, type StaleIssue, 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, TimelineCard, type TimelineCardMolecule, type TimelineCardProps, type TimelineStep, type TimelineStepStatus, ToggleAtom, type ToggleAtomType, Tooltip, TooltipAtom, type TooltipAtomType, TooltipContent, TooltipProvider, TooltipTrigger, TopPostsGrid, type TopPostsGridMolecule, type UIAtom, type UIComponent, type UIMolecule, type UISchema, VideoAtom, type VideoAtomType, WebSearchJobCard, type WebSearchJobCardProps, type WebSearchJobOutput, type WebSearchResult, type WidgetTheme, WidgetThemeContext, cn, defaultFetchSelections, defaultPersistSelection, elementToQAField, formatQAMessage, generateFieldsFromData, generateFieldsFromPropDefinitions, isInputAtom, submitWidgetToAgent, th, useCreatorWidgetPolling, useWidgetTheme, withAlpha };
4104
+ interface AnalyticsChartProps {
4105
+ config?: Record<string, any>;
4106
+ chartId?: string;
4107
+ apiBase?: string;
4108
+ authToken?: string;
4109
+ height?: number;
4110
+ className?: string;
4111
+ loading?: boolean;
4112
+ error?: string;
4113
+ }
4114
+ declare function AnalyticsChart({ config: configProp, chartId, apiBase, authToken, height, className, loading: loadingProp, error: errorProp, }: AnalyticsChartProps): react_jsx_runtime.JSX.Element;
4115
+
4116
+ export { Accordion, AccordionAtom, type AccordionAtomType, AccordionContent, AccordionItem, AccordionTrigger, ActionButton, type ActionButtonAtom, type ActionButtonProps, type ActionPriority, ActionPriorityCard, type ActionPriorityCardMolecule, type ActionPriorityCardProps, type ActionPriorityItem, Alert, AlertAtom, type AlertAtomType, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogAtom, type AlertDialogAtomType, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AnalyticsChart, type AnalyticsChartMolecule, type AnalyticsChartProps, type AnalyticsSummaryCardMolecule, ApprovalCard, type ApprovalCardMolecule, type ApprovalCardProps, type ApprovalDetail, type ApprovalStatus, type AreaChartMolecule, ArrowToggleAtom, type ArrowToggleAtomType, AspectRatio, AspectRatioAtom, type AspectRatioAtomType, AudienceDemographicsCard, type AudienceDemographicsCardMolecule, AudienceMetricCard, type AudienceMetricCardMolecule, AudiencePersonaCard, type AudiencePersonaCardMolecule, type AudiencePersonaCardProps, Avatar, AvatarAtom, type AvatarAtomType, AvatarFallback, AvatarImage, Badge, BadgeAtom, type BadgeAtomType, type BarChartMolecule, type BaseAnalyticsChartMolecule, type BaseAtom, type BaseMolecule, type BranchCI, BrandAffinityGroup, type BrandAffinityGroupMolecule, Breadcrumb, BreadcrumbAtom, type BreadcrumbAtomType, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, BudgetAllocCard, type BudgetAllocCardProps, type BudgetAllocItem, Button, type ButtonAction, ButtonAtom, type ButtonAtomType, type ButtonSize$1 as ButtonSize, type ButtonVariant$1 as ButtonVariant, Calendar, CalendarAtom, type CalendarAtomType, type CalendarEventAttendee, CalendarEventCard, type CalendarEventCardProps, type CalendarEventStatus, CampaignBriefCard, type CampaignBriefCardMolecule, type CampaignBriefCardProps, 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, ChannelPlanCard, type ChannelPlanCardMolecule, type ChannelPlanCardProps, type ChannelPlanItem, ChartAtom, type ChartAtomType, type ChartDataPoint, Checkbox, CheckboxAtom, type CheckboxAtomType, ChecklistCard, type ChecklistCardMolecule, type ChecklistCardProps, type ChecklistItem, Collapsible, CollapsibleAtom, type CollapsibleAtomType, CollapsibleContent, CollapsibleTrigger, type CollectedField, type ColumnChartMolecule, Command, CommandAtom, type CommandAtomType, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, type ComparativeChartMolecule, type ComparisonAttribute, ComparisonCard, type ComparisonCardProps, type ComparisonOption, ConfirmationCard, type ConfirmationCardMolecule, type ConfirmationCardProps, 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, DataSourceChecklistCard, type DataSourceChecklistCardMolecule, type DataSourceChecklistCardProps, type DataSourceItem, DataTableCard, type DataTableCardMolecule, type DataTableCardProps, Dialog, DialogAtom, type DialogAtomType, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, type DonutChartMolecule, 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, DynamicFormCard, type DynamicFormCardMolecule, type DynamicFormCardProps, EditableField, type EditableFieldProps, EmptyState, type EmptyStateMolecule, FeedbackRatingCard, type FeedbackRatingCardMolecule, type FeedbackRatingCardProps, 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 FunnelChartMolecule, type GapSize, GitHubConnectCard, type GitHubConnectCardProps, type GitHubConnectMolecule, GitHubIssueTrackerCard, type GitHubIssueTrackerCardProps, type GitHubIssueTrackerMolecule, GitHubRepoHealthCard, type GitHubRepoHealthCardProps, type GitHubRepoHealthMolecule, GitHubReposListCard, type GitHubReposListCardProps, GoalAlignmentCard, type GoalAlignmentCardMolecule, type GoalAlignmentCardProps, type GoalAlignmentItem, GoogleSheetsCard, type GoogleSheetsCardProps, GoogleSheetsConnectCard, type GoogleSheetsConnectCardProps, GoogleSheetsListCard, type GoogleSheetsListCardProps, GrowthChartCard, type GrowthChartCardMolecule, type HeatmapChartMolecule, HoverCard, HoverCardContent, HoverCardTrigger, IconAtom, type IconAtomType, type IconName, Input, InputAtom, type InputAtomType, type InputElementLike, InputOTP, InputOTPAtom, type InputOTPAtomType, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputType, InputWidget, type InputWidgetField, type InputWidgetFieldKind, type InputWidgetType, InsightDigestCard, type InsightDigestCardMolecule, type InsightDigestCardProps, type InsightDigestItem, InsightSummaryCard, type InsightSummaryCardMolecule, type InsightSummaryCardProps, type InsightSummaryItem, type JobProgress$2 as JobProgress, type KPIMetricCardMolecule, type KPIStatItem, KPIStatsCard, type KPIStatsCardMolecule, type KPIStatsCardProps, KbdAtom, type KbdAtomType, KeywordBundlesDisplay, KeywordBundlesEdit, Label, LabelAtom, type LabelAtomType, LayoutAtom, type LayoutAtomType, type LayoutDirection, type LineChartMolecule, LoadingOverlay, type LoadingOverlayMolecule, MCQCard, type MCQCardAtom, type MCQCardProps, type MCQOption, Menubar, MenubarCheckboxItem, MenubarContent, MenubarItem, MenubarLabel, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NextStepCard, type NextStepCardMolecule, type NextStepCardProps, type NextStepItem, NotificationList, type NotificationListMolecule, PXEngineRenderer, Pagination, PaginationAtom, type PaginationAtomType, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type PersonaSegment, type PieChartMolecule, PlatformIconGroup, type PlatformIconGroupMolecule, PlatformSelectDisplay, PlatformSelectEdit, PollCard, type PollCardMolecule, type PollCardProps, type PollOption, type PollingConfig, Popover, PopoverAtom, type PopoverAtomType, PopoverContent, PopoverTrigger, type PresentationFormats, PresentationJobCard, type PresentationJobCardProps, type PresentationJobOutput, type PriorityActionItem, PriorityActionsCard, type PriorityActionsCardMolecule, type PriorityActionsCardProps, Progress, ProgressAtom, type ProgressAtomType, type PullRequest, REGISTERED_COMPONENTS, RadioAtom, type RadioAtomType, RadioGroup, RadioGroupAtom, type RadioGroupAtomType, RadioGroupItem, RatingAtom, type RatingAtomType, RecommendationCard, type RecommendationCardMolecule, type RecommendationCardProps, type RepoItem, type ReportTheme, ResearchBriefCard, type ResearchBriefCardMolecule, type ResearchBriefCardProps, type ResearchBriefItem, type JobProgress$1 as ResearchJobProgress, ResearchReportJobCard, type ResearchReportJobCardProps, type ResearchReportJobOutput, ResizableAtom, type ResizableAtomType, ResizablePanel, ResizablePanelGroup, RiskSignalCard, type RiskSignalCardMolecule, type RiskSignalCardProps, type RiskSignalItem, type RunSseConfig, ScoreBreakdownCard, type ScoreBreakdownCardMolecule, type ScoreBreakdownCardProps, type ScoreBreakdownItem, 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, type SheetColumn, SheetContent, SheetDescription, SheetFooter, SheetHeader, type SheetRow, type SheetTabItem, SheetTitle, SheetTrigger, Skeleton, SkeletonAtom, type SkeletonAtomType, Slider, SliderAtom, type SliderAtomType, type SocialPost, SocialPostCard, type SocialPostCardProps, type SocialPostMolecule, Spinner, SpinnerAtom, type SpinnerAtomType, type SpreadsheetItem, type StackedBarChartMolecule, type StackedColumnChartMolecule, type StaleIssue, 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, type TimeSeriesChartMolecule, TimelineAtom, type TimelineAtomType, TimelineCard, type TimelineCardMolecule, type TimelineCardProps, type TimelineStep, type TimelineStepStatus, ToggleAtom, type ToggleAtomType, Tooltip, TooltipAtom, type TooltipAtomType, TooltipContent, TooltipProvider, TooltipTrigger, TopPostsGrid, type TopPostsGridMolecule, type TrendIndicatorMolecule, type UIAtom, type UIComponent, type UIMolecule, type UISchema, VideoAtom, type VideoAtomType, WebSearchJobCard, type WebSearchJobCardProps, type WebSearchJobOutput, type WebSearchResult, type WidgetTheme, WidgetThemeContext, cn, defaultFetchSelections, defaultPersistSelection, elementToQAField, formatQAMessage, generateFieldsFromData, generateFieldsFromPropDefinitions, isInputAtom, submitWidgetToAgent, th, useCreatorWidgetPolling, useWidgetTheme, withAlpha };