@factorialco/f0-react 1.197.1 → 1.198.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.
- package/dist/experimental.d.ts +10 -5
- package/dist/experimental.js +5675 -5530
- package/dist/f0.d.ts +9 -9
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/experimental.d.ts
CHANGED
|
@@ -2563,6 +2563,11 @@ declare type KanbanLaneDefinition = {
|
|
|
2563
2563
|
variant?: Variant;
|
|
2564
2564
|
};
|
|
2565
2565
|
|
|
2566
|
+
declare type KanbanOnMove<TRecord extends RecordType> = (fromLaneId: string, toLaneId: string, sourceRecord: TRecord, destinyRecord: {
|
|
2567
|
+
record: TRecord;
|
|
2568
|
+
position: "above" | "below";
|
|
2569
|
+
} | null) => Promise<TRecord>;
|
|
2570
|
+
|
|
2566
2571
|
declare type KanbanVisualizationOptions<Record extends RecordType, _Filters extends FiltersDefinition, _Sortings extends SortingsDefinition> = {
|
|
2567
2572
|
lanes: ReadonlyArray<KanbanLaneDefinition>;
|
|
2568
2573
|
title?: (record: Record) => string;
|
|
@@ -2572,7 +2577,7 @@ declare type KanbanVisualizationOptions<Record extends RecordType, _Filters exte
|
|
|
2572
2577
|
icon: IconType;
|
|
2573
2578
|
property: CardMetadataProperty;
|
|
2574
2579
|
}>;
|
|
2575
|
-
onMove?:
|
|
2580
|
+
onMove?: KanbanOnMove<Record>;
|
|
2576
2581
|
};
|
|
2577
2582
|
|
|
2578
2583
|
/**
|
|
@@ -4825,8 +4830,8 @@ declare global {
|
|
|
4825
4830
|
|
|
4826
4831
|
declare module "@tiptap/core" {
|
|
4827
4832
|
interface Commands<ReturnType> {
|
|
4828
|
-
|
|
4829
|
-
|
|
4833
|
+
aiBlock: {
|
|
4834
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
|
|
4830
4835
|
};
|
|
4831
4836
|
}
|
|
4832
4837
|
}
|
|
@@ -4834,8 +4839,8 @@ declare module "@tiptap/core" {
|
|
|
4834
4839
|
|
|
4835
4840
|
declare module "@tiptap/core" {
|
|
4836
4841
|
interface Commands<ReturnType> {
|
|
4837
|
-
|
|
4838
|
-
|
|
4842
|
+
liveCompanion: {
|
|
4843
|
+
insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
|
|
4839
4844
|
};
|
|
4840
4845
|
}
|
|
4841
4846
|
}
|