@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.
package/build/index.js CHANGED
@@ -1167,12 +1167,6 @@ const Alert = props => {
1167
1167
  });
1168
1168
  }
1169
1169
  }
1170
- function calculateAriaLive() {
1171
- if ([exports.Sentiment.NEGATIVE, exports.Sentiment.POSITIVE, exports.Sentiment.WARNING].includes(mappedType)) {
1172
- return 'assertive';
1173
- }
1174
- return 'polite';
1175
- }
1176
1170
  const handleTouchStart = () => setShouldFire(true);
1177
1171
  const handleTouchMove = () => setShouldFire(false);
1178
1172
  const handleTouchEnd = event => {
@@ -1190,7 +1184,6 @@ const Alert = props => {
1190
1184
  };
1191
1185
  return /*#__PURE__*/jsxRuntime.jsxs("div", {
1192
1186
  role: "alert",
1193
- "aria-live": calculateAriaLive(),
1194
1187
  className: classNames__default.default('alert d-flex', `alert-${mappedType}`, className),
1195
1188
  onTouchStart: handleTouchStart,
1196
1189
  onTouchEnd: handleTouchEnd,