@factorialco/f0-react 1.242.0 → 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
  }>;
@@ -3431,8 +3464,8 @@ declare module "@tiptap/core" {
3431
3464
 
3432
3465
  declare module "@tiptap/core" {
3433
3466
  interface Commands<ReturnType> {
3434
- transcript: {
3435
- insertTranscript: (data: TranscriptData, config?: TranscriptConfig) => ReturnType;
3467
+ liveCompanion: {
3468
+ insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
3436
3469
  };
3437
3470
  }
3438
3471
  }
@@ -3440,8 +3473,8 @@ declare module "@tiptap/core" {
3440
3473
 
3441
3474
  declare module "@tiptap/core" {
3442
3475
  interface Commands<ReturnType> {
3443
- liveCompanion: {
3444
- insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
3476
+ transcript: {
3477
+ insertTranscript: (data: TranscriptData, config?: TranscriptConfig) => ReturnType;
3445
3478
  };
3446
3479
  }
3447
3480
  }