UNPKG

@wix/css-property-parser

Version:

A comprehensive TypeScript library for parsing and serializing CSS property values with full MDN specification compliance

12 lines (11 loc) 406 B
import type { GridRowValue } from '../types'; /** * Parses a CSS grid-row property string into structured components * Syntax: <grid-line> [ / <grid-line> ]? */ export declare function parse(value: string): GridRowValue | null; /** * Converts a parsed grid-row back to a CSS value string */ export declare function toCSSValue(parsed: GridRowValue | null): string | null; export type { GridRowValue };