UNPKG

@kiwicom/orbit-components

Version:

Orbit-components is a React component library which provides developers with the easiest possible way of building Kiwi.com’s products.

39 lines (38 loc) 1.13 kB
import { QUERIES } from "../../utils/mediaQuery/consts"; export declare enum POSITION { ABSOLUTE = "absolute", RELATIVE = "relative", FIXED = "fixed" } export declare const positionClasses: { [K in QUERIES | POSITION]: K extends QUERIES ? Record<POSITION, string> : string; }; export declare enum SHADOWS { ACTION = "action", FIXED = "fixed", RAISED = "raised", OVERLAY = "overlay", FIXED_REVERSE = "fixedReverse", RAISED_REVERSE = "raisedReverse" } export declare const shadowClasses: { [K in QUERIES | SHADOWS]: K extends QUERIES ? Record<SHADOWS, string> : string; }; export declare enum BORDER_RADIUS { SMALL = "small", NORMAL = "normal", LARGE = "large", CIRCLE = "circle" } export declare const borderRadiusClasses: { [K in QUERIES | BORDER_RADIUS]: K extends QUERIES ? Record<BORDER_RADIUS, string> : string; }; export declare enum OVERFLOW { AUTO = "auto", HIDDEN = "hidden", SCROLL = "scroll", VISIBLE = "visible" } export declare const overflowClasses: { [K in QUERIES | OVERFLOW]: K extends QUERIES ? Record<OVERFLOW, string> : string; };