@factorialco/f0-react 1.268.2 → 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;
@@ -5304,6 +5318,7 @@ declare type TooltipInternalProps = {
5304
5318
  children: default_2.ReactNode;
5305
5319
  shortcut?: ComponentProps<typeof Shortcut>["keys"];
5306
5320
  delay?: number;
5321
+ instant?: boolean;
5307
5322
  } & ({
5308
5323
  label: string;
5309
5324
  description?: string;
@@ -5491,6 +5506,19 @@ declare const variants_2: (props?: ({
5491
5506
  className?: ClassValue;
5492
5507
  })) | undefined) => string;
5493
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
+
5494
5522
  export declare const VerticalBarChartWidget: ForwardRefExoticComponent<Omit<WidgetProps_2 & {
5495
5523
  chart: VerticalBarChartProps;
5496
5524
  } & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>;