UNPKG

@adaptabletools/adaptable

Version:

Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements

16 lines (15 loc) 808 B
import { AdaptableStyle } from '../../types'; export declare const AgGridCellStyleProperties: readonly ["backgroundColor", "color", "fontWeight", "fontStyle", "fontSize", "borderColor"]; export declare const normalizeStyleForAgGrid: (style: Record<string, any>) => { [x: string]: any; }; export declare const sanitizeStyle: (style: Record<string, any>) => Record<string, any>; export declare const convertAdaptableStyleToCSS: (style: AdaptableStyle) => { [cssProperty: string]: string; }; export declare const convertCSSAbsoluteFontSizeToPt: (fontSize: 'x-large' | 'large' | 'medium' | 'small' | 'x-small') => number; export declare const toStyle: (style?: AdaptableStyle) => { borderWidth: number; borderStyle: string; }; export declare const getVariableColor: (variable: string) => string;