@salesforce-ux/eslint-plugin-slds
Version:
ESLint plugin provides custom linting rules specifically built for Salesforce Lightning Design System 2 (SLDS 2 beta)
8 lines (7 loc) • 447 B
TypeScript
import type { ValueToStylingHooksMapping } from '@salesforce-ux/sds-metadata';
import { ParsedUnitValue } from './value-utils';
/**
* Get styling hooks for a density value using structured data from CSS AST
* Eliminates regex parsing by accepting pre-parsed dimension data
*/
export declare function getStylingHooksForDensityValue(parsedValue: ParsedUnitValue, supportedStylinghooks: ValueToStylingHooksMapping, cssProperty: string): string[];