Some checks failed
Close stale issues and PRs / stale (push) Has been cancelled
32 lines
582 B
TypeScript
32 lines
582 B
TypeScript
/**
|
|
* The types of the buttons.
|
|
*/
|
|
export enum BUTTON_TYPES {
|
|
DESTRUCTIVE = 'destructive',
|
|
PRIMARY = 'primary',
|
|
SECONDARY = 'secondary',
|
|
TERTIARY = 'tertiary'
|
|
}
|
|
|
|
/**
|
|
* Behaviour types for showing overflow text content.
|
|
*/
|
|
export enum TEXT_OVERFLOW_TYPES {
|
|
ELLIPSIS = 'ellipsis',
|
|
SCROLL_ON_HOVER = 'scroll-on-hover'
|
|
}
|
|
|
|
/**
|
|
* The modes of the buttons.
|
|
*/
|
|
export const BUTTON_MODES: {
|
|
CONTAINED: 'contained';
|
|
TEXT: 'text';
|
|
} = {
|
|
CONTAINED: 'contained',
|
|
TEXT: 'text'
|
|
};
|
|
|
|
|
|
export type TOOLTIP_POSITION = 'top' | 'bottom' | 'left' | 'right';
|