@transferwise/components 0.0.0-experimental-991400c → 0.0.0-experimental-b7a6b24

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.
@@ -1134,12 +1134,6 @@ const Alert = props => {
1134
1134
  });
1135
1135
  }
1136
1136
  }
1137
- function calculateAriaLive() {
1138
- if ([Sentiment.NEGATIVE, Sentiment.POSITIVE, Sentiment.WARNING].includes(mappedType)) {
1139
- return 'assertive';
1140
- }
1141
- return 'polite';
1142
- }
1143
1137
  const handleTouchStart = () => setShouldFire(true);
1144
1138
  const handleTouchMove = () => setShouldFire(false);
1145
1139
  const handleTouchEnd = event => {
@@ -1157,7 +1151,6 @@ const Alert = props => {
1157
1151
  };
1158
1152
  return /*#__PURE__*/jsxs("div", {
1159
1153
  role: "alert",
1160
- "aria-live": calculateAriaLive(),
1161
1154
  className: classNames('alert d-flex', `alert-${mappedType}`, className),
1162
1155
  onTouchStart: handleTouchStart,
1163
1156
  onTouchEnd: handleTouchEnd,