@commercetools-frontend/application-shell 20.10.5 → 20.12.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/dist/{application-entry-point-83ea80e3.cjs.prod.js → application-entry-point-52f79266.cjs.prod.js} +52 -52
- package/dist/{application-entry-point-b7c5325e.esm.js → application-entry-point-a7199847.esm.js} +3 -3
- package/dist/{application-entry-point-4b134bcb.cjs.dev.js → application-entry-point-ae4c00f2.cjs.dev.js} +55 -55
- package/dist/commercetools-frontend-application-shell.cjs.dev.js +15 -41
- package/dist/commercetools-frontend-application-shell.cjs.prod.js +15 -41
- package/dist/commercetools-frontend-application-shell.esm.js +2 -2
- package/dist/declarations/src/components/locale-switcher/locale-switcher.d.ts +0 -5
- package/dist/declarations/src/components/navbar/use-navbar-state-manager.d.ts +13 -13
- package/dist/declarations/src/components/quick-access/butler-command/butler-command.d.ts +0 -11
- package/dist/declarations/src/types/generated/ctp.d.ts +3619 -3336
- package/dist/declarations/src/types/generated/mc.d.ts +189 -195
- package/dist/declarations/src/types/generated/proxy.d.ts +28 -28
- package/dist/declarations/src/types/generated/settings.d.ts +1425 -2504
- package/dist/declarations/src/version.d.ts +1 -1
- package/dist/{index-577c7a43.esm.js → index-1d2a788a.esm.js} +57 -45
- package/dist/{index-8605a9e1.cjs.prod.js → index-b2a644f6.cjs.prod.js} +230 -217
- package/dist/{index-82a5ea23.cjs.dev.js → index-fd0e0765.cjs.dev.js} +338 -326
- package/dist/{project-expired-5603cf9b.cjs.prod.js → project-expired-6f5d474a.cjs.prod.js} +7 -7
- package/dist/{project-expired-4a4db9c8.cjs.dev.js → project-expired-8a630330.cjs.dev.js} +7 -7
- package/dist/{project-expired-55c51196.esm.js → project-expired-b312aef3.esm.js} +3 -3
- package/dist/{project-not-found-f325728d.cjs.prod.js → project-not-found-19312707.cjs.prod.js} +7 -7
- package/dist/{project-not-found-efa7e5a7.esm.js → project-not-found-1c1a349f.esm.js} +3 -3
- package/dist/{project-not-found-33567915.cjs.dev.js → project-not-found-7bdc583e.cjs.dev.js} +7 -7
- package/dist/{project-not-initialized-68192fda.cjs.prod.js → project-not-initialized-10a1ce69.cjs.prod.js} +7 -7
- package/dist/{project-not-initialized-d396896e.cjs.dev.js → project-not-initialized-2f2ee69f.cjs.dev.js} +7 -7
- package/dist/{project-not-initialized-36c1617d.esm.js → project-not-initialized-8179abd1.esm.js} +3 -3
- package/dist/{project-suspended-69502d1e.esm.js → project-suspended-3e5b8d4f.esm.js} +3 -3
- package/dist/{project-suspended-e43ce7c2.cjs.prod.js → project-suspended-da1d5c10.cjs.prod.js} +7 -7
- package/dist/{project-suspended-61a15b65.cjs.dev.js → project-suspended-f541ad12.cjs.dev.js} +7 -7
- package/dist/{quick-access-1f9e885b.esm.js → quick-access-52ee94fa.esm.js} +9 -15
- package/dist/{quick-access-2e6398f7.cjs.prod.js → quick-access-592bdd5b.cjs.prod.js} +87 -87
- package/dist/{quick-access-57979158.cjs.dev.js → quick-access-8e4582e8.cjs.dev.js} +104 -110
- package/dist/{service-page-project-switcher-013404f5.esm.js → service-page-project-switcher-283ce683.esm.js} +1 -1
- package/dist/{service-page-project-switcher-ef90ae95.cjs.dev.js → service-page-project-switcher-8ccd2f3c.cjs.dev.js} +2 -2
- package/dist/{service-page-project-switcher-8efe2817.cjs.prod.js → service-page-project-switcher-c5ba651f.cjs.prod.js} +2 -2
- package/package.json +15 -17
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.dev.js +25 -29
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.prod.js +19 -23
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.esm.js +1 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { SingleValueProps } from 'react-select';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
2
|
declare type CustomSingleValueProps = SingleValueProps<{
|
|
4
3
|
label: string;
|
|
5
4
|
value: string;
|
|
@@ -13,10 +12,6 @@ declare type Props = {
|
|
|
13
12
|
};
|
|
14
13
|
export declare const SingleValue: {
|
|
15
14
|
(props: CustomSingleValueProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
16
|
-
propTypes: {
|
|
17
|
-
children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
|
|
18
|
-
localeCount: PropTypes.Validator<number>;
|
|
19
|
-
};
|
|
20
15
|
displayName: string;
|
|
21
16
|
};
|
|
22
17
|
declare const LocaleSwitcher: (props: Props) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -12,52 +12,52 @@ declare const useNavbarStateManager: (props: HookProps) => {
|
|
|
12
12
|
shouldCloseMenuFly: (e: React.MouseEvent<HTMLElement> | MouseEvent) => void;
|
|
13
13
|
allApplicationNavbarMenu: {
|
|
14
14
|
__typename?: "NavbarMenu" | undefined;
|
|
15
|
-
shouldRenderDivider
|
|
15
|
+
shouldRenderDivider?: boolean | null | undefined;
|
|
16
16
|
key: string;
|
|
17
17
|
uriPath: string;
|
|
18
18
|
icon: string;
|
|
19
|
-
featureToggle
|
|
20
|
-
menuVisibility
|
|
19
|
+
featureToggle?: string | null | undefined;
|
|
20
|
+
menuVisibility?: string | null | undefined;
|
|
21
21
|
permissions: string[];
|
|
22
22
|
labelAllLocales: {
|
|
23
23
|
__typename?: "LocalizedField" | undefined;
|
|
24
24
|
locale: string;
|
|
25
25
|
value: string;
|
|
26
26
|
}[];
|
|
27
|
-
dataFences
|
|
27
|
+
dataFences?: {
|
|
28
28
|
__typename?: "DataFence" | undefined;
|
|
29
29
|
group: string;
|
|
30
30
|
name: string;
|
|
31
31
|
type: string;
|
|
32
|
-
}[]
|
|
33
|
-
actionRights
|
|
32
|
+
}[] | null | undefined;
|
|
33
|
+
actionRights?: {
|
|
34
34
|
__typename?: "ActionRight" | undefined;
|
|
35
35
|
group: string;
|
|
36
36
|
name: string;
|
|
37
|
-
}[]
|
|
37
|
+
}[] | null | undefined;
|
|
38
38
|
submenu: {
|
|
39
39
|
__typename?: "BaseMenu" | undefined;
|
|
40
40
|
key: string;
|
|
41
41
|
uriPath: string;
|
|
42
|
-
featureToggle
|
|
43
|
-
menuVisibility
|
|
42
|
+
featureToggle?: string | null | undefined;
|
|
43
|
+
menuVisibility?: string | null | undefined;
|
|
44
44
|
permissions: string[];
|
|
45
45
|
labelAllLocales: {
|
|
46
46
|
__typename?: "LocalizedField" | undefined;
|
|
47
47
|
locale: string;
|
|
48
48
|
value: string;
|
|
49
49
|
}[];
|
|
50
|
-
actionRights
|
|
50
|
+
actionRights?: {
|
|
51
51
|
__typename?: "ActionRight" | undefined;
|
|
52
52
|
group: string;
|
|
53
53
|
name: string;
|
|
54
|
-
}[]
|
|
55
|
-
dataFences
|
|
54
|
+
}[] | null | undefined;
|
|
55
|
+
dataFences?: {
|
|
56
56
|
__typename?: "DataFence" | undefined;
|
|
57
57
|
group: string;
|
|
58
58
|
name: string;
|
|
59
59
|
type: string;
|
|
60
|
-
}[]
|
|
60
|
+
}[] | null | undefined;
|
|
61
61
|
}[];
|
|
62
62
|
}[];
|
|
63
63
|
activeItemIndex?: string | undefined;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { Command } from '../types';
|
|
2
2
|
import { MouseEventHandler } from 'react';
|
|
3
|
-
import PropTypes from 'prop-types';
|
|
4
3
|
declare type Props = {
|
|
5
4
|
command: Command;
|
|
6
5
|
isSelected?: boolean;
|
|
@@ -10,15 +9,5 @@ declare type Props = {
|
|
|
10
9
|
declare const ButlerCommand: {
|
|
11
10
|
(props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
12
11
|
displayName: string;
|
|
13
|
-
propTypes: {
|
|
14
|
-
command: PropTypes.Validator<PropTypes.InferProps<{
|
|
15
|
-
id: PropTypes.Validator<string>;
|
|
16
|
-
text: PropTypes.Validator<string>;
|
|
17
|
-
subCommands: PropTypes.Requireable<((...args: any[]) => any) | (object | null | undefined)[]>;
|
|
18
|
-
}>>;
|
|
19
|
-
isSelected: PropTypes.Requireable<boolean>;
|
|
20
|
-
onMouseEnter: PropTypes.Validator<(...args: any[]) => any>;
|
|
21
|
-
onClick: PropTypes.Validator<(...args: any[]) => any>;
|
|
22
|
-
};
|
|
23
12
|
};
|
|
24
13
|
export default ButlerCommand;
|