@glance-networks/agent-plugin
Version:
Glance Networks Agent Plugin
33 lines (32 loc) • 704 B
JavaScript
export const ALERT_SEVERITIES = {
error: 'error',
info: 'info',
success: 'success',
warning: 'warning',
};
export const ALERT_VARIANTS = {
border: 'border',
soft: 'soft',
tag: 'tag',
open: 'open',
solid: 'solid',
};
export const ALERT_SIZES = {
medium: 'medium',
small: 'small',
};
export const ALERT_SHAPES = {
'rounded': 'rounded',
none: 'rounded-none',
};
/**
* Adapted sizing of notification size to icon size for the close icon
*/
export const CLOSE_ICON_SIZE = {
[ALERT_SIZES.medium]: 'medium',
[ALERT_SIZES.small]: 'small',
};
export const ALERT_BADGE_SIZES = {
[ALERT_SIZES.small]: 'small',
[ALERT_SIZES.medium]: 'medium',
};