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) • 499 B
TypeScript
import { Declaration } from 'postcss';
/**
* Extended Declaration functions for scroll-related logical properties
* These follow the same pattern as postcss-logical's Declaration functions
*/
export declare const SHIM_DECLARATIONS: Record<string, (decl: Declaration, { inlineDirection }: {
inlineDirection: 'left-to-right' | 'right-to-left';
}) => void>;
/**
* Extend postcss-logical processors with our shim declarations
*/
export declare function extendProcessors(processors: any): void;