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) 677 B
import { BackdropFilterValue } from '../types'; /** * Parses a CSS backdrop-filter property string into structured components * Follows MDN specification: https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter * Currently only supports drop-shadow */ export declare function parse(value: string): BackdropFilterValue | null; /** * Converts a parsed backdrop-filter value back to CSS string representation * @param value - The parsed backdrop-filter value to stringify * @returns The CSS string representation of the backdrop-filter value * Currently only supports drop-shadow */ export declare function toCSSValue(value: BackdropFilterValue): string | null;