@factorialco/f0-react 1.199.1 → 1.200.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 +2 -1
- package/dist/experimental.js +1266 -1252
- package/dist/f0.d.ts +2 -1
- package/dist/f0.js +2 -2
- package/dist/{hooks-DT1C-hbB.js → hooks-Bgpk5D1N.js} +1 -1
- package/package.json +1 -1
package/dist/experimental.d.ts
CHANGED
|
@@ -2295,6 +2295,7 @@ export declare type GroupingDefinition<R extends RecordType> = {
|
|
|
2295
2295
|
name: string;
|
|
2296
2296
|
/** The item count for the grouping */
|
|
2297
2297
|
label: (groupId: RecordPathValue<R, K>, filters: FiltersState<FiltersDefinition>) => string | Promise<string>;
|
|
2298
|
+
defaultDirection?: SortOrder;
|
|
2298
2299
|
itemCount?: (groupId: RecordPathValue<R, K>, filters: FiltersState<FiltersDefinition>) => number | undefined | Promise<number | undefined>;
|
|
2299
2300
|
};
|
|
2300
2301
|
};
|
|
@@ -2314,7 +2315,7 @@ export declare type GroupingDefinition<R extends RecordType> = {
|
|
|
2314
2315
|
*/
|
|
2315
2316
|
export declare type GroupingState<R extends RecordType, Grouping extends GroupingDefinition<R>> = {
|
|
2316
2317
|
field: keyof Grouping["groupBy"];
|
|
2317
|
-
order
|
|
2318
|
+
order?: SortOrder;
|
|
2318
2319
|
} | undefined;
|
|
2319
2320
|
|
|
2320
2321
|
declare type HeaderProps = {
|