@commercetools-frontend-extensions/export-resources-modal 1.5.0 → 1.5.2
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.
|
@@ -1107,6 +1107,8 @@ const ExportResourcesContextProvider = props => {
|
|
|
1107
1107
|
logsLink: msg => getExportLogsLink(projectKey, msg),
|
|
1108
1108
|
b: getBold
|
|
1109
1109
|
})
|
|
1110
|
+
}, {
|
|
1111
|
+
dismissAfter: 5000
|
|
1110
1112
|
});
|
|
1111
1113
|
break;
|
|
1112
1114
|
default:
|
|
@@ -1117,6 +1119,8 @@ const ExportResourcesContextProvider = props => {
|
|
|
1117
1119
|
actionsGlobal.showApiErrorNotification({
|
|
1118
1120
|
errors
|
|
1119
1121
|
});
|
|
1122
|
+
} finally {
|
|
1123
|
+
props.closeModal();
|
|
1120
1124
|
}
|
|
1121
1125
|
};
|
|
1122
1126
|
const formik$1 = formik.useFormik({
|
|
@@ -1071,6 +1071,8 @@ const ExportResourcesContextProvider = props => {
|
|
|
1071
1071
|
logsLink: msg => getExportLogsLink(projectKey, msg),
|
|
1072
1072
|
b: getBold
|
|
1073
1073
|
})
|
|
1074
|
+
}, {
|
|
1075
|
+
dismissAfter: 5000
|
|
1074
1076
|
});
|
|
1075
1077
|
break;
|
|
1076
1078
|
default:
|
|
@@ -1081,6 +1083,8 @@ const ExportResourcesContextProvider = props => {
|
|
|
1081
1083
|
actionsGlobal.showApiErrorNotification({
|
|
1082
1084
|
errors
|
|
1083
1085
|
});
|
|
1086
|
+
} finally {
|
|
1087
|
+
props.closeModal();
|
|
1084
1088
|
}
|
|
1085
1089
|
};
|
|
1086
1090
|
const formik$1 = formik.useFormik({
|
|
@@ -1082,6 +1082,8 @@ const ExportResourcesContextProvider = props => {
|
|
|
1082
1082
|
logsLink: msg => getExportLogsLink(projectKey, msg),
|
|
1083
1083
|
b: getBold
|
|
1084
1084
|
})
|
|
1085
|
+
}, {
|
|
1086
|
+
dismissAfter: 5000
|
|
1085
1087
|
});
|
|
1086
1088
|
break;
|
|
1087
1089
|
default:
|
|
@@ -1092,6 +1094,8 @@ const ExportResourcesContextProvider = props => {
|
|
|
1092
1094
|
showApiErrorNotification({
|
|
1093
1095
|
errors
|
|
1094
1096
|
});
|
|
1097
|
+
} finally {
|
|
1098
|
+
props.closeModal();
|
|
1095
1099
|
}
|
|
1096
1100
|
};
|
|
1097
1101
|
const formik = useFormik({
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend-extensions/export-resources-modal",
|
|
3
3
|
"description": "Shared export modal for exporting resources",
|
|
4
|
-
"version": "1.5.
|
|
4
|
+
"version": "1.5.2",
|
|
5
5
|
"license": "BSD-3-Clause",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
"README.md"
|
|
16
16
|
],
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@babel/runtime": "7.23.
|
|
19
|
-
"@babel/runtime-corejs3": "7.23.
|
|
18
|
+
"@babel/runtime": "7.23.9",
|
|
19
|
+
"@babel/runtime-corejs3": "7.23.9",
|
|
20
20
|
"@emotion/react": "11.11.3",
|
|
21
21
|
"@emotion/styled": "11.11.0",
|
|
22
|
-
"@formatjs/cli": "6.2.
|
|
22
|
+
"@formatjs/cli": "6.2.7",
|
|
23
23
|
"formik": "^2.2.9",
|
|
24
24
|
"gql-query-builder": "^3.8.0",
|
|
25
25
|
"jest": "29.7.0",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"omit-empty-es": "^1.1.3",
|
|
28
28
|
"prop-types": "15.8.1",
|
|
29
29
|
"react": "17.0.2",
|
|
30
|
-
"react-intl": "6.
|
|
30
|
+
"react-intl": "6.6.2"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@commercetools-frontend/actions-global": "22.16.0",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@commercetools-frontend/sentry": "22.16.0",
|
|
41
41
|
"@commercetools-frontend/ui-kit": "17.0.1",
|
|
42
42
|
"@commercetools-uikit/design-system": "17.0.1",
|
|
43
|
-
"@preconstruct/cli": "2.8.
|
|
43
|
+
"@preconstruct/cli": "2.8.3",
|
|
44
44
|
"rimraf": "5.0.5"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|