@factorialco/f0-react 1.269.0 → 1.270.0

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.
@@ -1559,6 +1559,11 @@ export declare type CurrentFilters<F extends FilterOptions<string>> = F extends
1559
1559
  [Key in K]?: FilterValue<F["fields"][Key]>;
1560
1560
  } : Record<string, never>;
1561
1561
 
1562
+ export declare interface CurrentVersion {
1563
+ title: string;
1564
+ onClick?: () => void;
1565
+ }
1566
+
1562
1567
  declare type CustomEmptyStates = Partial<Record<EmptyStateType, Partial<EmptyState>>>;
1563
1568
 
1564
1569
  export declare type CustomVisualizationProps<Source extends {
@@ -2575,6 +2580,15 @@ declare const F0TagAlert: ForwardRefExoticComponent<Props_8 & RefAttributes<HTML
2575
2580
 
2576
2581
  declare const F0TagRaw: ForwardRefExoticComponent<Props_4 & RefAttributes<HTMLDivElement>>;
2577
2582
 
2583
+ export declare function F0VersionHistory({ title, versions, currentVersion, activeVersionId, }: F0VersionHistoryProps): JSX_2.Element;
2584
+
2585
+ export declare interface F0VersionHistoryProps {
2586
+ title: string;
2587
+ versions: Version[];
2588
+ currentVersion?: CurrentVersion;
2589
+ activeVersionId?: string | "current";
2590
+ }
2591
+
2578
2592
  export declare const F1SearchBox: ForwardRefExoticComponent< {
2579
2593
  value?: string;
2580
2594
  threshold?: number;
@@ -5492,6 +5506,19 @@ declare const variants_2: (props?: ({
5492
5506
  className?: ClassValue;
5493
5507
  })) | undefined) => string;
5494
5508
 
5509
+ export declare interface Version {
5510
+ id: string;
5511
+ author: VersionAuthor;
5512
+ timestamp: Date;
5513
+ onClick?: () => void;
5514
+ }
5515
+
5516
+ export declare interface VersionAuthor {
5517
+ firstName: string;
5518
+ lastName: string;
5519
+ src?: string;
5520
+ }
5521
+
5495
5522
  export declare const VerticalBarChartWidget: ForwardRefExoticComponent<Omit<WidgetProps_2 & {
5496
5523
  chart: VerticalBarChartProps;
5497
5524
  } & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>;
@@ -5744,11 +5771,6 @@ declare module "@tiptap/core" {
5744
5771
  }
5745
5772
 
5746
5773
 
5747
- declare namespace Calendar {
5748
- var displayName: string;
5749
- }
5750
-
5751
-
5752
5774
  declare module "@tiptap/core" {
5753
5775
  interface Commands<ReturnType> {
5754
5776
  moodTracker: {
@@ -5756,3 +5778,8 @@ declare module "@tiptap/core" {
5756
5778
  };
5757
5779
  }
5758
5780
  }
5781
+
5782
+
5783
+ declare namespace Calendar {
5784
+ var displayName: string;
5785
+ }