@wix/css-property-parser
Version:
A comprehensive TypeScript library for parsing and serializing CSS property values with full MDN specification compliance
13 lines (12 loc) • 433 B
TypeScript
import { GapValue } from '../types';
export type GridGapValue = GapValue;
/**
* Parse a CSS grid-gap property string (legacy alias for gap)
* @deprecated Use gap instead
*/
export declare function parse(value: string): GridGapValue | null;
/**
* Convert a parsed grid-gap back to CSS string (legacy alias for gap)
* @deprecated Use gap instead
*/
export declare function toCSSValue(parsed: GridGapValue | null): string | null;