@verifiedinc-public/shared-ui-elements 0.14.1 → 0.14.3
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/dist/shared-ui-elements.mjs +463 -450
- package/package.json +1 -1
- package/src/components/Snackbar/index.tsx +17 -2
package/package.json
CHANGED
@@ -71,7 +71,6 @@ export function useSnackbar(): {
|
|
71
71
|
_enqueueSnackbar(message, {
|
72
72
|
severity,
|
73
73
|
variant: 'customAlertComponent',
|
74
|
-
persist: true,
|
75
74
|
...options,
|
76
75
|
});
|
77
76
|
};
|
@@ -95,7 +94,23 @@ export const CustomAlertComponent = forwardRef<
|
|
95
94
|
CustomAlertComponentProps
|
96
95
|
>(
|
97
96
|
(
|
98
|
-
{
|
97
|
+
{
|
98
|
+
id,
|
99
|
+
message,
|
100
|
+
severity,
|
101
|
+
alertAction,
|
102
|
+
sx,
|
103
|
+
showCloseIcon = true,
|
104
|
+
|
105
|
+
// remove these props because they were triggering warnings. They are not used in this component anyway
|
106
|
+
persist,
|
107
|
+
hideIconVariant,
|
108
|
+
autoHideDuration,
|
109
|
+
anchorOrigin,
|
110
|
+
iconVariant,
|
111
|
+
|
112
|
+
...props
|
113
|
+
},
|
99
114
|
ref,
|
100
115
|
) => {
|
101
116
|
return (
|