2018-07-31 15:50:34 +00:00
|
|
|
export const fieldTypes = {
|
2021-04-01 00:09:32 +00:00
|
|
|
codeBlock: 'codeBlock',
|
2018-07-31 15:50:34 +00:00
|
|
|
link: 'link',
|
2020-02-06 12:10:29 +00:00
|
|
|
seconds: 'seconds',
|
2018-07-31 15:50:34 +00:00
|
|
|
text: 'text',
|
|
|
|
};
|
|
|
|
|
|
|
|
export const LOADING = 'LOADING';
|
|
|
|
export const ERROR = 'ERROR';
|
|
|
|
export const SUCCESS = 'SUCCESS';
|
|
|
|
|
|
|
|
export const STATUS_FAILED = 'failed';
|
|
|
|
export const STATUS_SUCCESS = 'success';
|
2018-08-07 15:06:38 +00:00
|
|
|
export const STATUS_NEUTRAL = 'neutral';
|
|
|
|
|
2018-07-31 15:50:34 +00:00
|
|
|
export const ICON_WARNING = 'warning';
|
|
|
|
export const ICON_SUCCESS = 'success';
|
|
|
|
export const ICON_NOTFOUND = 'notfound';
|
2019-06-03 21:35:39 +00:00
|
|
|
|
|
|
|
export const status = {
|
2020-11-18 18:09:08 +00:00
|
|
|
LOADING,
|
|
|
|
ERROR,
|
|
|
|
SUCCESS,
|
2019-06-03 21:35:39 +00:00
|
|
|
};
|
2020-04-21 15:21:10 +00:00
|
|
|
|
|
|
|
export const ACCESSIBILITY_ISSUE_ERROR = 'error';
|
|
|
|
export const ACCESSIBILITY_ISSUE_WARNING = 'warning';
|
2020-11-23 18:09:14 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Slot names for the ReportSection component, corresponding to the success,
|
|
|
|
* loading and error statuses.
|
|
|
|
*/
|
|
|
|
export const SLOT_SUCCESS = 'success';
|
|
|
|
export const SLOT_LOADING = 'loading';
|
|
|
|
export const SLOT_ERROR = 'error';
|