@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.mjs CHANGED
@@ -4837,20 +4837,17 @@ function InlineAlert({
4837
4837
  className,
4838
4838
  children
4839
4839
  }) {
4840
- return /*#__PURE__*/jsx("div", {
4840
+ return /*#__PURE__*/jsxs("div", {
4841
4841
  role: "alert",
4842
4842
  id: id,
4843
4843
  className: classNames('alert alert-detach', `alert-${type === Sentiment.NEGATIVE || type === Sentiment.ERROR ? 'danger' : type}`, className),
4844
- children: /*#__PURE__*/jsxs("div", {
4845
- className: "d-inline-flex",
4846
- children: [type !== Sentiment.NEUTRAL && type !== Sentiment.PENDING && /*#__PURE__*/jsx(StatusIcon, {
4847
- sentiment: type,
4848
- size: Size.SMALL
4849
- }), /*#__PURE__*/jsx("div", {
4850
- className: "np-text-body-default",
4851
- children: children
4852
- })]
4853
- })
4844
+ children: [type !== Sentiment.NEUTRAL && type !== Sentiment.PENDING && /*#__PURE__*/jsx(StatusIcon, {
4845
+ sentiment: type,
4846
+ size: Size.SMALL
4847
+ }), /*#__PURE__*/jsx("div", {
4848
+ className: "np-text-body-default",
4849
+ children: children
4850
+ })]
4854
4851
  });
4855
4852
  }
4856
4853