@ticketmaster/aurora
Version:
Shared UI Library for Ticketmaster
40 lines (39 loc) • 1.97 kB
TypeScript
export declare const TOP = "top";
export declare const BOTTOM = "bottom";
export declare const LEFT = "left";
export declare const RIGHT = "right";
export declare const AUTO = "auto";
export declare const DIRECTIONS: ReadonlyArray<Direction>;
export declare type Direction = typeof TOP | typeof BOTTOM | typeof LEFT | typeof RIGHT | typeof AUTO;
export declare const LIGHT = "light";
export declare const DARK = "dark";
export declare const VARIANTS: ReadonlyArray<Variant>;
export declare type Variant = typeof LIGHT | typeof DARK;
export declare const STANDARD = "standard";
export declare const SPECIAL = "special";
export declare const OUTLINE = "outline";
export declare const OUTLINE_GRAY = "outlineGray";
export declare const TRANSPARENT = "transparent";
export declare const BUTTON_VARIANTS: ReadonlyArray<ButtonVariant>;
export declare type ButtonVariant = typeof STANDARD | typeof SPECIAL | typeof OUTLINE | typeof OUTLINE_GRAY | typeof TRANSPARENT;
export declare const SMALL = "small";
export declare const REGULAR = "regular";
export declare const LARGE = "large";
export declare const SIZES: ReadonlyArray<Size>;
export declare const SIZES_SL: ReadonlyArray<Size>;
export declare const SIZES_SR: ReadonlyArray<Size>;
export declare type Size = typeof SMALL | typeof REGULAR | typeof LARGE;
export declare const ARROW_WIDTH = 12;
export declare const FONT_WEIGHT_LIGHT = "light";
export declare const FONT_WEIGHT_REGULAR = "regular";
export declare const FONT_WEIGHT_SEMI_BOLD = "semiBold";
export declare const FONT_WEIGHTS: ReadonlyArray<FontWeight>;
export declare type FontWeight = typeof FONT_WEIGHT_LIGHT | typeof FONT_WEIGHT_REGULAR | typeof FONT_WEIGHT_SEMI_BOLD;
/**
* @deprecated Use `FONT_WEIGHT_SEMI_BOLD` instead
*/
export declare const EXTRA_BOLD = "extraBold";
export declare type Weight = typeof EXTRA_BOLD;
export declare const ONYX = "onyx";
export declare const BASE = "base";
export declare type ThemeColor = typeof ONYX | typeof BASE;