@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.
45 lines (44 loc) • 1.38 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.TOKENS = exports.SIZE_OPTIONS = exports.TYPE_OPTIONS = void 0;
const TYPE_OPTIONS = {
PRIMARY: "primary",
SECONDARY: "secondary",
CRITICAL: "critical",
WHITE: "white",
PRIMARY_SUBTLE: "primarySubtle",
CRITICAL_SUBTLE: "criticalSubtle",
BUNDLE_BASIC: "bundleBasic",
BUNDLE_MEDIUM: "bundleMedium",
BUNDLE_TOP: "bundleTop"
};
exports.TYPE_OPTIONS = TYPE_OPTIONS;
const SIZE_OPTIONS = {
SMALL: "small",
NORMAL: "normal",
LARGE: "large"
};
exports.SIZE_OPTIONS = SIZE_OPTIONS;
const TOKENS = {
// Size tokens
heightButton: "heightButton",
loadingWidth: "loadingWidth",
loadingHeight: "loadingHeight",
fontSizeButton: "fontSizeButton",
paddingButton: "paddingButton",
paddingButtonWithIcons: "paddingButtonWithIcons",
paddingButtonWithLeftIcon: "paddingButtonWithLeftIcon",
paddingButtonWithRightIcon: "paddingButtonWithRightIcon",
// Type tokens
backgroundButton: "backgroundButton",
backgroundButtonHover: "backgroundButtonHover",
backgroundButtonActive: "backgroundButtonActive",
backgroundButtonFocus: "backgroundButtonFocus",
colorTextButton: "colorTextButton",
colorTextButtonHover: "colorTextButtonHover",
colorTextButtonActive: "colorTextButtonActive",
borderColorButtonFocus: "borderColorButtonFocus"
};
exports.TOKENS = TOKENS;