@commercetools-frontend-extensions/export-resources-modal 5.7.5 → 5.8.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.
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Field, FieldDefinition } from "../@types/index.js";
|
|
2
2
|
export declare const useConvertFieldDefinitionsForExport: () => {
|
|
3
3
|
convertFieldDefinitionsForExport: ({ fieldDefinitions, fieldPrefix, expandAll, sortField, }: {
|
|
4
|
-
fieldDefinitions?: FieldDefinition[]
|
|
5
|
-
fieldPrefix?: string
|
|
6
|
-
expandAll?: boolean
|
|
7
|
-
sortField?: string
|
|
4
|
+
fieldDefinitions?: FieldDefinition[];
|
|
5
|
+
fieldPrefix?: string;
|
|
6
|
+
expandAll?: boolean;
|
|
7
|
+
sortField?: string;
|
|
8
8
|
}) => Field[];
|
|
9
9
|
};
|
|
@@ -3,5 +3,9 @@ export type UseStorageOptions = {
|
|
|
3
3
|
storageType: StorageType;
|
|
4
4
|
segregateByUser: boolean;
|
|
5
5
|
};
|
|
6
|
-
declare const useStorage: <TStorageState>(storageKey: string, initialStorageValue: TStorageState, options?: Partial<UseStorageOptions>) => [
|
|
6
|
+
declare const useStorage: <TStorageState>(storageKey: string, initialStorageValue: TStorageState, options?: Partial<UseStorageOptions>) => [
|
|
7
|
+
TStorageState | null,
|
|
8
|
+
(nextStorageValue: TStorageState) => void,
|
|
9
|
+
() => TStorageState | null
|
|
10
|
+
];
|
|
7
11
|
export { useStorage };
|
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": "5.
|
|
4
|
+
"version": "5.8.0",
|
|
5
5
|
"license": "BSD-3-Clause",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -21,30 +21,30 @@
|
|
|
21
21
|
"@emotion/styled": "11.14.1",
|
|
22
22
|
"@formatjs/cli": "6.7.4",
|
|
23
23
|
"formik": "2.4.9",
|
|
24
|
-
"jest": "
|
|
24
|
+
"jest": "30.2.0",
|
|
25
25
|
"lodash": "4.17.21",
|
|
26
26
|
"moment": "2.30.1",
|
|
27
27
|
"omit-empty-es": "^1.1.3",
|
|
28
28
|
"prop-types": "15.8.1",
|
|
29
|
-
"@commercetools-frontend-extensions/operations": "3.
|
|
29
|
+
"@commercetools-frontend-extensions/operations": "3.3.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@commercetools-frontend/actions-global": "
|
|
33
|
-
"@commercetools-frontend/application-components": "
|
|
34
|
-
"@commercetools-frontend/application-shell": "
|
|
35
|
-
"@commercetools-frontend/application-shell-connectors": "
|
|
36
|
-
"@commercetools-frontend/constants": "
|
|
32
|
+
"@commercetools-frontend/actions-global": "25.1.0",
|
|
33
|
+
"@commercetools-frontend/application-components": "25.1.0",
|
|
34
|
+
"@commercetools-frontend/application-shell": "25.1.0",
|
|
35
|
+
"@commercetools-frontend/application-shell-connectors": "25.1.0",
|
|
36
|
+
"@commercetools-frontend/constants": "25.1.0",
|
|
37
37
|
"@commercetools-frontend/fullstory": "4.0.3",
|
|
38
|
-
"@commercetools-frontend/i18n": "
|
|
39
|
-
"@commercetools-frontend/jest-preset-mc-app": "
|
|
40
|
-
"@commercetools-frontend/l10n": "
|
|
41
|
-
"@commercetools-frontend/sdk": "
|
|
42
|
-
"@commercetools-frontend/sentry": "
|
|
38
|
+
"@commercetools-frontend/i18n": "25.1.0",
|
|
39
|
+
"@commercetools-frontend/jest-preset-mc-app": "25.1.0",
|
|
40
|
+
"@commercetools-frontend/l10n": "25.1.0",
|
|
41
|
+
"@commercetools-frontend/sdk": "25.1.0",
|
|
42
|
+
"@commercetools-frontend/sentry": "25.1.0",
|
|
43
43
|
"@commercetools-frontend/ui-kit": "20.3.0",
|
|
44
44
|
"@commercetools-uikit/design-system": "20.3.0",
|
|
45
45
|
"@commercetools-uikit/icons": "20.3.0",
|
|
46
46
|
"@preconstruct/cli": "2.8.12",
|
|
47
|
-
"@types/jest": "
|
|
47
|
+
"@types/jest": "30.0.0",
|
|
48
48
|
"@types/testing-library__jest-dom": "^5.14.5",
|
|
49
49
|
"msw": "1.3.5",
|
|
50
50
|
"react": "19.2.0",
|
|
@@ -54,17 +54,17 @@
|
|
|
54
54
|
"rimraf": "6.1.2"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
|
-
"@commercetools-frontend/actions-global": "
|
|
58
|
-
"@commercetools-frontend/application-components": "
|
|
59
|
-
"@commercetools-frontend/application-shell": "
|
|
60
|
-
"@commercetools-frontend/application-shell-connectors": "
|
|
61
|
-
"@commercetools-frontend/constants": "
|
|
57
|
+
"@commercetools-frontend/actions-global": "24.x || 25.x",
|
|
58
|
+
"@commercetools-frontend/application-components": "24.x || 25.x",
|
|
59
|
+
"@commercetools-frontend/application-shell": "24.x || 25.x",
|
|
60
|
+
"@commercetools-frontend/application-shell-connectors": "24.x || 25.x",
|
|
61
|
+
"@commercetools-frontend/constants": "24.x || 25.x",
|
|
62
62
|
"@commercetools-frontend/fullstory": "2.x || 3.x || 4.x",
|
|
63
|
-
"@commercetools-frontend/i18n": "
|
|
64
|
-
"@commercetools-frontend/jest-preset-mc-app": "
|
|
65
|
-
"@commercetools-frontend/l10n": "
|
|
66
|
-
"@commercetools-frontend/sdk": "
|
|
67
|
-
"@commercetools-frontend/sentry": "
|
|
63
|
+
"@commercetools-frontend/i18n": "24.x || 25.x",
|
|
64
|
+
"@commercetools-frontend/jest-preset-mc-app": "24.x || 25.x",
|
|
65
|
+
"@commercetools-frontend/l10n": "24.x || 25.x",
|
|
66
|
+
"@commercetools-frontend/sdk": "24.x || 25.x",
|
|
67
|
+
"@commercetools-frontend/sentry": "24.x || 25.x",
|
|
68
68
|
"@commercetools-frontend/ui-kit": "19.x || 20.x",
|
|
69
69
|
"@commercetools-uikit/design-system": "19.x || 20.x",
|
|
70
70
|
"@commercetools-uikit/icons": "19.x || 20.x",
|