@extable/core 0.3.6 → 0.3.7

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.
@@ -2,7 +2,10 @@ import type { Schema, View } from "./types";
2
2
  export declare const HEADER_HEIGHT_PX = 35;
3
3
  export declare const ROW_HEADER_WIDTH_PX = 48;
4
4
  export declare const DEFAULT_ROW_HEIGHT_PX = 35;
5
+ export declare const DEFAULT_COLUMN_MIN_WIDTH_PX = 80;
6
+ export declare const COLUMN_RESIZE_HANDLE_PX = 6;
5
7
  export declare const CELL_PADDING_X_PX = 8;
6
8
  export declare const CELL_PADDING_TOP_PX = 4;
7
9
  export declare const CELL_PADDING_BOTTOM_PX = 4;
8
10
  export declare function getColumnWidths(schema: Schema, view: View, fallbackWidth?: number): number[];
11
+ export declare function clampColumnWidth(baseWidth: number, extraWidth: number, minVisibleWidth?: number): number;