UNPKG

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.**

22 lines (21 loc) 841 B
/** * Carousel Navigation Flexbox Converter - TypeScript Version */ type Position = string[]; type FlexDirection = "vertical" | "column" | "vertical-reverse" | "column-reverse"; type JustifyContent = "start" | "end" | "center" | "space-between" | "space-around" | "space-evenly"; type AlignItems = "start" | "end" | "center" | "stretch" | "baseline"; interface FlexboxLayout { flexDirection: FlexDirection; alignItems: AlignItems; justifyContent: JustifyContent; } interface FlexboxProperties extends FlexboxLayout { verticalSpacing: string; horizontalSpacing: string; } /** * Converts absolute positioned carousel navigation to flexbox layout */ export declare function carouselNavigationAlignment(prevPosition: Position, nextPosition: Position, direction?: "vertical" | "horizontal"): FlexboxProperties; export {};