@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 +8 -11
- package/build/index.js.map +1 -1
- package/build/index.mjs +8 -11
- package/build/index.mjs.map +1 -1
- package/build/main.css +65 -12
- package/build/styles/main.css +65 -12
- package/build/styles/uploadInput/UploadInput.css +18 -1
- package/build/styles/uploadInput/uploadButton/UploadButton.css +4 -0
- package/build/styles/uploadInput/uploadItem/UploadItem.css +43 -11
- package/build/types/inlineAlert/InlineAlert.d.ts +2 -2
- package/build/types/inlineAlert/InlineAlert.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/inlineAlert/InlineAlert.tsx +5 -7
- package/src/main.css +65 -12
- package/src/uploadInput/UploadInput.css +18 -1
- package/src/uploadInput/UploadInput.less +17 -1
- package/src/uploadInput/UploadInput.tests.story.tsx +13 -2
- package/src/uploadInput/uploadButton/UploadButton.css +4 -0
- package/src/uploadInput/uploadButton/UploadButton.less +5 -0
- package/src/uploadInput/uploadItem/UploadItem.css +43 -11
- package/src/uploadInput/uploadItem/UploadItem.less +61 -17
package/build/index.js
CHANGED
|
@@ -4866,20 +4866,17 @@ function InlineAlert({
|
|
|
4866
4866
|
className,
|
|
4867
4867
|
children
|
|
4868
4868
|
}) {
|
|
4869
|
-
return /*#__PURE__*/jsxRuntime.
|
|
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.
|
|
4874
|
-
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
|
|
4879
|
-
|
|
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
|
|