@factorialco/f0-react 1.241.2 → 1.242.1

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/f0.d.ts CHANGED
@@ -793,6 +793,39 @@ declare const columnWidths: {
793
793
  readonly fit: 1;
794
794
  };
795
795
 
796
+ export declare const ComboChart: ForwardRefExoticComponent<Omit<ChartPropsBase<ChartConfig> & {
797
+ label?: boolean;
798
+ legend?: boolean;
799
+ showValueUnderLabel?: boolean;
800
+ bar?: {
801
+ categories: string | string[];
802
+ axisLabel?: string;
803
+ hideAxis?: boolean;
804
+ axisPosition?: "left" | "right";
805
+ } | undefined;
806
+ line?: ({
807
+ categories: string | string[];
808
+ axisLabel?: string;
809
+ hideAxis?: boolean;
810
+ axisPosition?: "left" | "right";
811
+ } & {
812
+ dot?: boolean;
813
+ lineType?: "natural" | "linear";
814
+ }) | undefined;
815
+ scatter?: {
816
+ categories: string | string[];
817
+ axisLabel?: string;
818
+ hideAxis?: boolean;
819
+ axisPosition?: "left" | "right";
820
+ } | undefined;
821
+ onClick?: ((data: {
822
+ label: string;
823
+ values: {
824
+ [x: string]: number;
825
+ };
826
+ }) => void) | undefined;
827
+ } & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>;
828
+
796
829
  export declare type CompanyAvatarVariant = Extract<AvatarVariant, {
797
830
  type: "company";
798
831
  }>;
@@ -1112,6 +1145,7 @@ export declare const defaultTranslations: {
1112
1145
  readonly add: "Add";
1113
1146
  readonly edit: "Edit";
1114
1147
  readonly save: "Save";
1148
+ readonly send: "Send";
1115
1149
  readonly cancel: "Cancel";
1116
1150
  readonly copy: "Copy";
1117
1151
  readonly close: "Close";
@@ -1281,10 +1315,22 @@ export declare const defaultTranslations: {
1281
1315
  readonly scrollToBottom: "Scroll to bottom";
1282
1316
  readonly welcome: "Ask or create with One";
1283
1317
  readonly defaultInitialMessage: "How can I help you today?";
1284
- readonly inputPlaceholder: "Write something here...";
1318
+ readonly inputPlaceholder: "Ask about time, people, or company info…";
1285
1319
  readonly stopAnswerGeneration: "Stop generating";
1286
1320
  readonly sendMessage: "Send message";
1287
1321
  readonly thoughtsGroupTitle: "Reflection";
1322
+ readonly feedbackModal: {
1323
+ readonly positive: {
1324
+ readonly title: "What did you like about this response?";
1325
+ readonly placeholder: "What did you like about this response? How could it be even better?";
1326
+ readonly description: "Your feedback helps Factorial Al improve. The messages from your chat, the search results, and your feedback will be sent to Factorial to help improve Factorial Al.";
1327
+ };
1328
+ readonly negative: {
1329
+ readonly title: "What could have been better in this response?";
1330
+ readonly placeholder: "What could have been better in this response? How could it be even better?";
1331
+ readonly description: "Your feedback helps Factorial Al improve. The messages from your chat, the search results, and your feedback will be sent to Factorial to help improve Factorial Al.";
1332
+ };
1333
+ };
1288
1334
  };
1289
1335
  readonly select: {
1290
1336
  readonly noResults: "No results found";
@@ -3418,8 +3464,8 @@ declare module "@tiptap/core" {
3418
3464
 
3419
3465
  declare module "@tiptap/core" {
3420
3466
  interface Commands<ReturnType> {
3421
- transcript: {
3422
- insertTranscript: (data: TranscriptData, config?: TranscriptConfig) => ReturnType;
3467
+ liveCompanion: {
3468
+ insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
3423
3469
  };
3424
3470
  }
3425
3471
  }
@@ -3427,18 +3473,13 @@ declare module "@tiptap/core" {
3427
3473
 
3428
3474
  declare module "@tiptap/core" {
3429
3475
  interface Commands<ReturnType> {
3430
- liveCompanion: {
3431
- insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
3476
+ transcript: {
3477
+ insertTranscript: (data: TranscriptData, config?: TranscriptConfig) => ReturnType;
3432
3478
  };
3433
3479
  }
3434
3480
  }
3435
3481
 
3436
3482
 
3437
- declare namespace Calendar {
3438
- var displayName: string;
3439
- }
3440
-
3441
-
3442
3483
  declare module "@tiptap/core" {
3443
3484
  interface Commands<ReturnType> {
3444
3485
  moodTracker: {
@@ -3446,3 +3487,8 @@ declare module "@tiptap/core" {
3446
3487
  };
3447
3488
  }
3448
3489
  }
3490
+
3491
+
3492
+ declare namespace Calendar {
3493
+ var displayName: string;
3494
+ }