@madie/madie-design-system 1.0.18 → 1.0.19

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.
@@ -41,7 +41,7 @@ const FooterUI = (props) => {
41
41
  {!isIESupportPage && (
42
42
  <div className="feedback-session-sign-up" />
43
43
  )}
44
- <footer className="global-footer">
44
+ <footer aria-label="Site footer" className="global-footer">
45
45
  <div className="build-version" id="build-version">
46
46
  {props.buildVersion}
47
47
  </div>
@@ -9,6 +9,8 @@ import { IconButton } from "@mui/material";
9
9
  import ClearIcon from "@mui/icons-material/Clear";
10
10
 
11
11
  import classNames from "classnames";
12
+ import PropTypes from "prop-types";
13
+
12
14
  // warning, info, error, success
13
15
  const MadieAlert = ({
14
16
  type = "warning",
@@ -59,4 +61,14 @@ const MadieAlert = ({
59
61
  );
60
62
  };
61
63
 
64
+ MadieAlert.propTypes = {
65
+ type: PropTypes.string,
66
+ visible: PropTypes.bool,
67
+ content: PropTypes.node,
68
+ canClose: PropTypes.bool,
69
+ alertProps: PropTypes.object,
70
+ closeButtonProps: PropTypes.object
71
+ };
72
+
73
+
62
74
  export default MadieAlert;