@transferwise/components 46.41.0 → 46.42.0

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
@@ -4866,20 +4866,17 @@ function InlineAlert({
4866
4866
  className,
4867
4867
  children
4868
4868
  }) {
4869
- return /*#__PURE__*/jsxRuntime.jsx("div", {
4869
+ return /*#__PURE__*/jsxRuntime.jsxs("div", {
4870
4870
  role: "alert",
4871
4871
  id: id,
4872
4872
  className: classNames__default.default('alert alert-detach', `alert-${type === exports.Sentiment.NEGATIVE || type === exports.Sentiment.ERROR ? 'danger' : type}`, className),
4873
- children: /*#__PURE__*/jsxRuntime.jsxs("div", {
4874
- className: "d-inline-flex",
4875
- children: [type !== exports.Sentiment.NEUTRAL && type !== exports.Sentiment.PENDING && /*#__PURE__*/jsxRuntime.jsx(StatusIcon, {
4876
- sentiment: type,
4877
- size: exports.Size.SMALL
4878
- }), /*#__PURE__*/jsxRuntime.jsx("div", {
4879
- className: "np-text-body-default",
4880
- children: children
4881
- })]
4882
- })
4873
+ children: [type !== exports.Sentiment.NEUTRAL && type !== exports.Sentiment.PENDING && /*#__PURE__*/jsxRuntime.jsx(StatusIcon, {
4874
+ sentiment: type,
4875
+ size: exports.Size.SMALL
4876
+ }), /*#__PURE__*/jsxRuntime.jsx("div", {
4877
+ className: "np-text-body-default",
4878
+ children: children
4879
+ })]
4883
4880
  });
4884
4881
  }
4885
4882