UNPKG

@wix/css-property-parser

Version:

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

15 lines (14 loc) 637 B
import type { MaxInlineSizeValue } from '../types'; /** * Parses a CSS max-inline-size property value into structured components * @param value - The CSS max-inline-size property string * @returns Parsed max-inline-size object or null if invalid */ export declare function parse(value: string): MaxInlineSizeValue | null; /** * Converts a parsed max-inline-size value back to a CSS string * @param parsed - The parsed max-inline-size object * @returns CSS value string or null if invalid */ export declare function toCSSValue(parsed: MaxInlineSizeValue | null): string | null; export type { MaxInlineSizeValue } from '../types';