@factorialco/f0-react 1.269.0 → 1.270.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.
@@ -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 {
@@ -2008,11 +2013,18 @@ declare const defaultTranslations: {
2008
2013
  readonly cancel: "Cancel";
2009
2014
  readonly failedToLoadOptions: "Failed to load options";
2010
2015
  readonly retry: "Retry";
2011
- readonly aboveOrEqual: "Above or equal to";
2012
- readonly value: "Value";
2013
- readonly belowOrEqual: "Below or equal to";
2014
- readonly range_title: "Use range";
2015
- readonly range: "Between {{min}} and {{max}}";
2016
+ readonly number: {
2017
+ readonly value: "Value";
2018
+ readonly equal: "Equal to";
2019
+ readonly equalTo: "Equal to {{value}}";
2020
+ readonly lessOrEqual: "Less or equal to";
2021
+ readonly greaterOrEqual: "Greater or equal to";
2022
+ readonly equalShort: "= {{value}}";
2023
+ readonly greaterThanOrEqualShort: ">= {{value}}";
2024
+ readonly lessThanOrEqualShort: "<= {{value}}";
2025
+ readonly rangeTitle: "Use range";
2026
+ readonly range: "Between {{min}} and {{max}}";
2027
+ };
2016
2028
  };
2017
2029
  readonly toc: {
2018
2030
  readonly search: "Search...";
@@ -2175,9 +2187,9 @@ declare const defaultTranslations: {
2175
2187
  readonly loadingMore: "Loading...";
2176
2188
  };
2177
2189
  readonly numberInput: {
2178
- readonly between: "Between {{min}} and {{max}}";
2179
- readonly greaterThan: "Greater than {{min}}";
2180
- readonly lessThan: "Less than {{max}}";
2190
+ readonly between: "It should be between {{min}} and {{max}}";
2191
+ readonly greaterThan: "It should be greater than {{min}}";
2192
+ readonly lessThan: "It should be less than {{max}}";
2181
2193
  };
2182
2194
  };
2183
2195
 
@@ -2575,6 +2587,15 @@ declare const F0TagAlert: ForwardRefExoticComponent<Props_8 & RefAttributes<HTML
2575
2587
 
2576
2588
  declare const F0TagRaw: ForwardRefExoticComponent<Props_4 & RefAttributes<HTMLDivElement>>;
2577
2589
 
2590
+ export declare function F0VersionHistory({ title, versions, currentVersion, activeVersionId, }: F0VersionHistoryProps): JSX_2.Element;
2591
+
2592
+ export declare interface F0VersionHistoryProps {
2593
+ title: string;
2594
+ versions: Version[];
2595
+ currentVersion?: CurrentVersion;
2596
+ activeVersionId?: string | "current";
2597
+ }
2598
+
2578
2599
  export declare const F1SearchBox: ForwardRefExoticComponent< {
2579
2600
  value?: string;
2580
2601
  threshold?: number;
@@ -5492,6 +5513,19 @@ declare const variants_2: (props?: ({
5492
5513
  className?: ClassValue;
5493
5514
  })) | undefined) => string;
5494
5515
 
5516
+ export declare interface Version {
5517
+ id: string;
5518
+ author: VersionAuthor;
5519
+ timestamp: Date;
5520
+ onClick?: () => void;
5521
+ }
5522
+
5523
+ export declare interface VersionAuthor {
5524
+ firstName: string;
5525
+ lastName: string;
5526
+ src?: string;
5527
+ }
5528
+
5495
5529
  export declare const VerticalBarChartWidget: ForwardRefExoticComponent<Omit<WidgetProps_2 & {
5496
5530
  chart: VerticalBarChartProps;
5497
5531
  } & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>;