@elliemae/ds-toast 2.0.2 → 2.1.0-rc.4
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.
- package/package.json +5 -5
- package/types/DSToast.d.ts +16 -16
- package/types/ToastAction.d.ts +6 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-toast",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.1.0-rc.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Toast",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -56,10 +56,10 @@
|
|
|
56
56
|
"build": "node ../../scripts/build/build.js"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@elliemae/ds-button": "2.0.
|
|
60
|
-
"@elliemae/ds-classnames": "2.0.
|
|
61
|
-
"@elliemae/ds-icons": "2.0.
|
|
62
|
-
"@elliemae/ds-system": "2.0.
|
|
59
|
+
"@elliemae/ds-button": "2.1.0-rc.4",
|
|
60
|
+
"@elliemae/ds-classnames": "2.1.0-rc.4",
|
|
61
|
+
"@elliemae/ds-icons": "2.1.0-rc.4",
|
|
62
|
+
"@elliemae/ds-system": "2.1.0-rc.4",
|
|
63
63
|
"prop-types": "~15.7.2",
|
|
64
64
|
"react-desc": "~4.1.3",
|
|
65
65
|
"react-toastify": "~6.2.0"
|
package/types/DSToast.d.ts
CHANGED
|
@@ -14,59 +14,59 @@ declare const DSToast: {
|
|
|
14
14
|
propTypes: {
|
|
15
15
|
/** inject props to wrapper */
|
|
16
16
|
containerProps: {
|
|
17
|
-
defaultValue
|
|
17
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
18
18
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
19
19
|
};
|
|
20
|
-
isRequired: import("react-desc").
|
|
20
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
21
21
|
};
|
|
22
22
|
/** Position on the screen to show the toast */
|
|
23
23
|
position: {
|
|
24
|
-
defaultValue
|
|
24
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
25
25
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
26
26
|
};
|
|
27
|
-
isRequired: import("react-desc").
|
|
27
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
28
28
|
};
|
|
29
29
|
/** ms to autoclose the toast */
|
|
30
30
|
autoClose: {
|
|
31
|
-
defaultValue
|
|
31
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
32
32
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
33
33
|
};
|
|
34
|
-
isRequired: import("react-desc").
|
|
34
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
35
35
|
};
|
|
36
36
|
/** Whether to show a progress bar indicating when the toast is going to be closed */
|
|
37
37
|
showProgressBar: {
|
|
38
|
-
defaultValue
|
|
38
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
39
39
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
40
40
|
};
|
|
41
|
-
isRequired: import("react-desc").
|
|
41
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
42
42
|
};
|
|
43
43
|
/** Close toast handler */
|
|
44
44
|
closeOnClick: {
|
|
45
|
-
defaultValue
|
|
45
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
46
46
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
47
47
|
};
|
|
48
|
-
isRequired: import("react-desc").
|
|
48
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
49
49
|
};
|
|
50
50
|
/** Allows instantiating multiple Toast containers */
|
|
51
51
|
enableMultiContainer: {
|
|
52
|
-
defaultValue
|
|
52
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
53
53
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
54
54
|
};
|
|
55
|
-
isRequired: import("react-desc").
|
|
55
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
56
56
|
};
|
|
57
57
|
/** unique id for multi container */
|
|
58
58
|
containerId: {
|
|
59
|
-
defaultValue
|
|
59
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
60
60
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
61
61
|
};
|
|
62
|
-
isRequired: import("react-desc").
|
|
62
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
63
63
|
};
|
|
64
64
|
/** id for the toast */
|
|
65
65
|
toastId: {
|
|
66
|
-
defaultValue
|
|
66
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
67
67
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
68
68
|
};
|
|
69
|
-
isRequired: import("react-desc").
|
|
69
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
70
70
|
};
|
|
71
71
|
};
|
|
72
72
|
};
|
package/types/ToastAction.d.ts
CHANGED
|
@@ -9,24 +9,24 @@ declare const DSToastAction: {
|
|
|
9
9
|
propTypes: {
|
|
10
10
|
/** DSToastActionLink component or text string */
|
|
11
11
|
children: {
|
|
12
|
-
defaultValue
|
|
12
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
13
13
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
14
14
|
};
|
|
15
|
-
isRequired: import("react-desc").
|
|
15
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
16
16
|
};
|
|
17
17
|
/** click handler */
|
|
18
18
|
onClick: {
|
|
19
|
-
defaultValue
|
|
19
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
20
20
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
21
21
|
};
|
|
22
|
-
isRequired: import("react-desc").
|
|
22
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
23
23
|
};
|
|
24
24
|
/** key down handler */
|
|
25
25
|
onKeyDown: {
|
|
26
|
-
defaultValue
|
|
26
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
27
27
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
28
28
|
};
|
|
29
|
-
isRequired: import("react-desc").
|
|
29
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
30
30
|
};
|
|
31
31
|
};
|
|
32
32
|
};
|