UNPKG

@salesforce-ux/eslint-plugin-slds

Version:

ESLint plugin provides custom linting rules specifically built for Salesforce Lightning Design System 2 (SLDS 2 beta)

18 lines (17 loc) 533 B
export interface BoxShadowValue { offsetX?: string; offsetY?: string; blurRadius?: string; spreadRadius?: string; color?: string; inset?: boolean; } /** * Parse box-shadow value into structured format * Simplified version for ESLint v9 compatibility */ export declare function parseBoxShadowValue(value: string): BoxShadowValue[]; /** * Check if two parsed box-shadow values match */ export declare function isBoxShadowMatch(parsedCssValue: BoxShadowValue[], parsedValueHook: BoxShadowValue[]): boolean;