xobuilder-extractor
Version:
> **A sophisticated web application that converts HTML and CSS to JSON layout through an intelligent multi-step flow process with AI validation.**
40 lines (39 loc) • 956 B
TypeScript
export interface DeviceStyleMap {
desktop: {
normal: string[];
hover: string[];
};
tablet: {
normal: string[];
hover: string[];
};
mobile: {
normal: string[];
hover: string[];
};
}
export declare const longValueToShortValue: {
"space-between": string;
"space-around": string;
"space-evenly": string;
"justify-between": string;
"justify-around": string;
"justify-evenly": string;
"align-start": string;
"align-end": string;
"align-center": string;
"align-baseline": string;
"align-stretch": string;
};
export declare const deviceToShortGen: {
tablet: string;
mobile: string;
};
export declare const pseudoClassToShortGen: {
hover: string;
};
interface ConversionResult {
[className: string]: string;
}
export declare function convertCssPropertyToShorthand(cssText: string, allClasses: string[]): ConversionResult;
export {};