@factorialco/f0-react 1.198.0 → 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 +11 -9
- package/dist/experimental.js +5258 -5147
- package/dist/f0.d.ts +10 -10
- 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,10 +2577,7 @@ declare type KanbanVisualizationOptions<Record extends RecordType, _Filters exte
|
|
|
2572
2577
|
icon: IconType;
|
|
2573
2578
|
property: CardMetadataProperty;
|
|
2574
2579
|
}>;
|
|
2575
|
-
onMove?:
|
|
2576
|
-
record: Record;
|
|
2577
|
-
position: "above" | "below";
|
|
2578
|
-
}) => Promise<void>;
|
|
2580
|
+
onMove?: KanbanOnMove<Record>;
|
|
2579
2581
|
};
|
|
2580
2582
|
|
|
2581
2583
|
/**
|
|
@@ -4853,11 +4855,6 @@ declare module "@tiptap/core" {
|
|
|
4853
4855
|
}
|
|
4854
4856
|
|
|
4855
4857
|
|
|
4856
|
-
declare namespace Calendar {
|
|
4857
|
-
var displayName: string;
|
|
4858
|
-
}
|
|
4859
|
-
|
|
4860
|
-
|
|
4861
4858
|
declare module "@tiptap/core" {
|
|
4862
4859
|
interface Commands<ReturnType> {
|
|
4863
4860
|
moodTracker: {
|
|
@@ -4865,3 +4862,8 @@ declare module "@tiptap/core" {
|
|
|
4865
4862
|
};
|
|
4866
4863
|
}
|
|
4867
4864
|
}
|
|
4865
|
+
|
|
4866
|
+
|
|
4867
|
+
declare namespace Calendar {
|
|
4868
|
+
var displayName: string;
|
|
4869
|
+
}
|