@rivet-health/design-system 37.2.1 → 37.3.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/esm2020/lib/table/table/state.mjs +45 -6
- package/fesm2015/rivet-health-design-system.mjs +41 -9
- package/fesm2015/rivet-health-design-system.mjs.map +1 -1
- package/fesm2020/rivet-health-design-system.mjs +44 -5
- package/fesm2020/rivet-health-design-system.mjs.map +1 -1
- package/lib/table/table/state.d.ts +9 -0
- package/package.json +1 -1
|
@@ -400,6 +400,15 @@ export declare namespace RivTable {
|
|
|
400
400
|
}> = ManagerOptions<R, C, F, G> & {
|
|
401
401
|
fuseOptions?: IFuseOptions<R>;
|
|
402
402
|
filter?: (filters: F | null, row: R) => boolean;
|
|
403
|
+
/**
|
|
404
|
+
* When `query.order` is null and there is no active search, rows are ordered
|
|
405
|
+
* by this column. If omitted, the first column with an `orderKey` is used
|
|
406
|
+
* (ascending).
|
|
407
|
+
*/
|
|
408
|
+
defaultSort?: {
|
|
409
|
+
column: C;
|
|
410
|
+
direction: OrderDirection;
|
|
411
|
+
};
|
|
403
412
|
};
|
|
404
413
|
function createInMemoryManager<R extends Row, C extends Column, F extends Filters>(fetchDataset: () => Promise<R[]> | R[], columns: Map<C, InMemoryColumnMetadata<R>>, pluralEntityName: string, options?: InMemoryManagerOptions<R, C, F>): Manager<R, C, F>;
|
|
405
414
|
function getColumnAlignment(dataType: ColumnDataType, isFirst: boolean): ColumnAlignment;
|