UNPKG

ag-grid-community

Version:

Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue

19 lines (18 loc) 1.25 kB
import type { ThemeLogger } from './themeLogger'; import type { ColorValue, FontFamilyValue, ImageValue } from './themeTypes'; declare const paramTypes: readonly ["colorScheme", "color", "length", "scale", "borderStyle", "border", "shadow", "image", "fontFamily", "fontWeight", "duration"]; export type ParamType = (typeof paramTypes)[number]; /** * Return the ParamType for a given param name, * @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */ export declare const getParamType: (arg: string) => "length" | "image" | "colorScheme" | "fontFamily" | "fontWeight" | "color" | "scale" | "borderStyle" | "border" | "shadow" | "duration"; export declare const colorValueToCss: (value: ColorValue) => string | false; export declare const fontFamilyValueToCss: (value: FontFamilyValue) => string | false; export declare const fontWeightValueToCss: (value: string | number | { ref: string; }) => string | false; export declare const imageValueToCss: (value: ImageValue) => string | false; /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */ export declare const paramValueToCss: (param: string, value: unknown, themeLogger: ThemeLogger | null) => string | false; export {};