@muraldevkit/ui-toolkit 2.77.1-dev-kjoR.1 → 2.78.0-dev-G53p.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,30 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { DSIconType } from '../../svg';
|
|
3
|
-
export type InlineNotificationKind = 'error' | 'info' | 'warning' | 'success' | '
|
|
3
|
+
export type InlineNotificationKind = 'error' | 'info' | 'warning' | 'success' | 'general';
|
|
4
4
|
interface PropTypes {
|
|
5
|
-
/**
|
|
6
|
-
* A custom DS icon which is only applied if the alert is not an error, info, or warning type
|
|
7
|
-
*/
|
|
5
|
+
/** a custom DS icon which is only applied if the alert is not an error, info, or warning type */
|
|
8
6
|
customIcon?: DSIconType;
|
|
9
|
-
/**
|
|
10
|
-
* The id of the notification.
|
|
11
|
-
*
|
|
12
|
-
* Used to link the notification to a form field using aria-describedby.
|
|
13
|
-
*/
|
|
14
7
|
id: string;
|
|
15
8
|
/**
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* Accepted values: error, info, warning, success, helper
|
|
9
|
+
* Accepted values: error, info, warning, success, general
|
|
19
10
|
*/
|
|
20
11
|
kind: InlineNotificationKind;
|
|
21
|
-
/**
|
|
22
|
-
* The text to be displayed in the notification.
|
|
23
|
-
*/
|
|
24
12
|
message: string;
|
|
25
|
-
/**
|
|
26
|
-
* The data-qa attribute for testing purposes.
|
|
27
|
-
*/
|
|
28
13
|
['data-qa']?: string;
|
|
29
14
|
}
|
|
30
15
|
/**
|