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.

30 lines (28 loc) 704 B
export var SIZE_OPTIONS = { SMALL: "small", MEDIUM: "medium" }; // order of positions or aligns is important, the first possible value will be applied export var POSITIONS = { RIGHT: "right", LEFT: "left", TOP: "top", BOTTOM: "bottom" }; // the default order on RTL needs to be changed export var RTL_POSITIONS = { LEFT: "left", RIGHT: "right", TOP: "top", BOTTOM: "bottom" }; export var ALIGNS = { CENTER: "center", START: "start", END: "end" }; export var POSITION_DIRECTIONS = { VERTICAL: "vertical", HORIZONTAL: "horizontal" }; export var TOOLTIP_PADDING = 12; export var TOOLTIP_ARROW_SIZE = 7; export var TOOLTIP_TOTAL_PADDING = TOOLTIP_PADDING + TOOLTIP_ARROW_SIZE;