@transferwise/components 0.0.0-experimental-b2eafa7 → 0.0.0-experimental-8a88948
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.esm.js +0 -3
- package/build/index.esm.js.map +1 -1
- package/build/index.js +0 -3
- package/build/index.js.map +1 -1
- package/package.json +6 -6
package/build/index.esm.js
CHANGED
|
@@ -9879,7 +9879,6 @@ const PromoCard = /*#__PURE__*/forwardRef(({
|
|
|
9879
9879
|
setChecked(!checked); // Update local state for checkbox
|
|
9880
9880
|
}
|
|
9881
9881
|
};
|
|
9882
|
-
|
|
9883
9882
|
const componentId = `${id || generateRandomId()}`;
|
|
9884
9883
|
// Set the icon to `'arrow'` if `href` is truthy and `type` is falsy, or
|
|
9885
9884
|
// `'download'` if `download` is truthy. If neither condition is true, set
|
|
@@ -13930,7 +13929,6 @@ const UploadButton = ({
|
|
|
13930
13929
|
if (areAllFilesAllowed) {
|
|
13931
13930
|
return null; //file input by default allows all files
|
|
13932
13931
|
}
|
|
13933
|
-
|
|
13934
13932
|
if (Array.isArray(fileTypes)) {
|
|
13935
13933
|
return {
|
|
13936
13934
|
accept: fileTypes.join(',')
|
|
@@ -14128,7 +14126,6 @@ const UploadItem = ({
|
|
|
14128
14126
|
children: processIndicator
|
|
14129
14127
|
}); // Scale down ProcessIndicator to be 20px*20px to match `icons`
|
|
14130
14128
|
};
|
|
14131
|
-
|
|
14132
14129
|
const getErrorMessage = () => typeof error === 'object' && error.message || error || formatMessage(MESSAGES.uploadingFailed);
|
|
14133
14130
|
const getDescription = () => {
|
|
14134
14131
|
if (error || status === Status.FAILED) {
|