UNPKG

postcss-logical-polyfill

Version:

A PostCSS plugin that provides physical property polyfills for CSS logical properties with intelligent direction-aware selector handling, block-direction optimization, and extended logical property support via shim system

13 lines (12 loc) 532 B
import { Declaration } from 'postcss'; /** * Experimental Declaration functions for draft-stage logical properties * These follow the same pattern as postcss-logical's Declaration functions */ export declare const EXPERIMENTAL_DECLARATIONS: Record<string, (decl: Declaration, { inlineDirection }: { inlineDirection: 'left-to-right' | 'right-to-left'; }) => void>; /** * Extend postcss-logical processors with our experimental declarations */ export declare function extendProcessorsWithExperimental(processors: any): void;