You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat(Alert): added animations
* Updated order of rendering in examples
* Added cypress test for animation classes
* Updated to use transitionend handler for alert removal
* Fixed failing tests
* Updated animation cypress tests
* Updated animation test
* Refactored transitionend handling
* Updated tests
* Feedback from Austin
* Resolved React imports
* Resolved remaining React imports
* Bumped core version for updates
* Updated logic to be opt in by default
/** @beta Flag to indicate whether Alerts are animated upon rendering and being dismissed. This is intended
12
+
* to remain false for testing purposes only.
13
+
*/
14
+
hasAnimations?: boolean;
11
15
/** Toast notifications are positioned at the top right corner of the viewport */
12
16
isToast?: boolean;
13
17
/** Turns the container into a live region so that changes to content within the AlertGroup, such as appending an Alert, are reliably announced to assistive technology. */
@@ -58,6 +62,7 @@ class AlertGroup extends Component<AlertGroupProps, AlertGroupState> {
58
62
const{
59
63
className,
60
64
children,
65
+
hasAnimations =false,
61
66
isToast,
62
67
isLiveRegion,
63
68
onOverflowClick,
@@ -75,6 +80,7 @@ class AlertGroup extends Component<AlertGroupProps, AlertGroupState> {
0 commit comments