@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.
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rivet-health/design-system",
3
- "version": "37.2.1",
3
+ "version": "37.3.0",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": ">=14.0.0",
6
6
  "@angular/common": ">=14.0.0",