@factorialco/f0-react 1.198.0 → 1.199.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/experimental.d.ts +6 -4
- package/dist/experimental.js +5266 -5149
- package/dist/f0.d.ts +5 -5
- package/dist/f0.js +2 -2
- package/dist/{hooks-QtGLrwmf.js → hooks-DT1C-hbB.js} +32 -23
- 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
|
/**
|