@factorialco/f0-react 1.222.0 → 1.224.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.
package/dist/f0.d.ts CHANGED
@@ -1976,6 +1976,8 @@ declare type KanbanLaneDefinition = {
1976
1976
  variant?: Variant;
1977
1977
  };
1978
1978
 
1979
+ declare type KanbanOnCreate = (laneId: string) => void | Promise<void>;
1980
+
1979
1981
  declare type KanbanOnMove<TRecord extends RecordType> = (fromLaneId: string, toLaneId: string, sourceRecord: TRecord, destinyRecord: {
1980
1982
  record: TRecord;
1981
1983
  position: "above" | "below";
@@ -1991,6 +1993,7 @@ declare type KanbanVisualizationOptions<Record extends RecordType, _Filters exte
1991
1993
  property: CardMetadataProperty;
1992
1994
  }>;
1993
1995
  onMove?: KanbanOnMove<Record>;
1996
+ onCreate?: KanbanOnCreate;
1994
1997
  };
1995
1998
 
1996
1999
  declare type L10nContextValue = {