UNPKG

@wix/css-property-parser

Version:

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

19 lines (18 loc) 675 B
import type { MarginInlineStartValue } from '../types'; export type { MarginInlineStartValue }; /** * Parses CSS margin-inline-start property value * * Syntax: <length-percentage> | auto | global-keywords * * @param value - The CSS value to parse * @returns Parsed margin-inline-start value or null if invalid */ export declare function parse(value: string): MarginInlineStartValue | null; /** * Converts parsed margin-inline-start value back to CSS string * * @param parsed - The parsed margin-inline-start value * @returns CSS string representation or null if invalid */ export declare function toCSSValue(parsed: MarginInlineStartValue | null): string | null;