@factorialco/f0-react 1.222.0 → 1.223.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.
@@ -2716,6 +2716,8 @@ declare type KanbanLaneDefinition = {
2716
2716
  variant?: Variant;
2717
2717
  };
2718
2718
 
2719
+ declare type KanbanOnCreate = (laneId: string) => void | Promise<void>;
2720
+
2719
2721
  declare type KanbanOnMove<TRecord extends RecordType> = (fromLaneId: string, toLaneId: string, sourceRecord: TRecord, destinyRecord: {
2720
2722
  record: TRecord;
2721
2723
  position: "above" | "below";
@@ -2731,6 +2733,7 @@ declare type KanbanVisualizationOptions<Record extends RecordType, _Filters exte
2731
2733
  property: CardMetadataProperty;
2732
2734
  }>;
2733
2735
  onMove?: KanbanOnMove<Record>;
2736
+ onCreate?: KanbanOnCreate;
2734
2737
  };
2735
2738
 
2736
2739
  /**
@@ -5137,11 +5140,6 @@ declare module "@tiptap/core" {
5137
5140
  }
5138
5141
 
5139
5142
 
5140
- declare namespace Calendar {
5141
- var displayName: string;
5142
- }
5143
-
5144
-
5145
5143
  declare module "@tiptap/core" {
5146
5144
  interface Commands<ReturnType> {
5147
5145
  moodTracker: {
@@ -5149,3 +5147,8 @@ declare module "@tiptap/core" {
5149
5147
  };
5150
5148
  }
5151
5149
  }
5150
+
5151
+
5152
+ declare namespace Calendar {
5153
+ var displayName: string;
5154
+ }