Commit 87e7ec3e authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

Merge branch 'ph/341044/severityIconsMRExtension' into 'master'

Added severity icons to widget extension

See merge request gitlab-org/gitlab!71550
parents e372ad1f 0a118cc1
...@@ -99,6 +99,12 @@ export const EXTENSION_ICONS = { ...@@ -99,6 +99,12 @@ export const EXTENSION_ICONS = {
neutral: 'neutral', neutral: 'neutral',
error: 'error', error: 'error',
notice: 'notice', notice: 'notice',
severityCritical: 'severityCritical',
severityHigh: 'severityHigh',
severityMedium: 'severityMedium',
severityLow: 'severityLow',
severityInfo: 'severityInfo',
severityUnknown: 'severityUnknown',
}; };
export const EXTENSION_ICON_NAMES = { export const EXTENSION_ICON_NAMES = {
...@@ -108,6 +114,12 @@ export const EXTENSION_ICON_NAMES = { ...@@ -108,6 +114,12 @@ export const EXTENSION_ICON_NAMES = {
neutral: 'status-neutral', neutral: 'status-neutral',
error: 'status-alert', error: 'status-alert',
notice: 'status-alert', notice: 'status-alert',
severityCritical: 'severity-critical',
severityHigh: 'severity-high',
severityMedium: 'severity-medium',
severityLow: 'severity-low',
severityInfo: 'severity-info',
severityUnknown: 'severity-unknown',
}; };
export const EXTENSION_ICON_CLASS = { export const EXTENSION_ICON_CLASS = {
...@@ -117,6 +129,12 @@ export const EXTENSION_ICON_CLASS = { ...@@ -117,6 +129,12 @@ export const EXTENSION_ICON_CLASS = {
neutral: 'gl-text-gray-400', neutral: 'gl-text-gray-400',
error: 'gl-text-red-500', error: 'gl-text-red-500',
notice: 'gl-text-gray-500', notice: 'gl-text-gray-500',
severityCritical: 'gl-text-red-800',
severityHigh: 'gl-text-red-600',
severityMedium: 'gl-text-orange-400',
severityLow: 'gl-text-orange-300',
severityInfo: 'gl-text-blue-400',
severityUnknown: 'gl-text-gray-400',
}; };
export { STATE_MACHINE }; export { STATE_MACHINE };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment