@commercetools-frontend/application-components 24.7.2 → 24.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.
- package/dist/commercetools-frontend-application-components.cjs.d.ts +2 -2
- package/dist/commercetools-frontend-application-components.cjs.dev.js +3 -510
- package/dist/commercetools-frontend-application-components.cjs.prod.js +3 -42
- package/dist/commercetools-frontend-application-components.esm.js +3 -509
- package/dist/{custom-views-selector-41cfb0a3.esm.js → custom-views-selector-44f42791.esm.js} +0 -10
- package/dist/{custom-views-selector-31b10462.cjs.dev.js → custom-views-selector-65f6adef.cjs.dev.js} +0 -11
- package/dist/{custom-views-selector-e4b5e5d4.cjs.prod.js → custom-views-selector-9c058929.cjs.prod.js} +0 -3
- package/dist/declarations/src/components/custom-views/custom-view-loader/index.d.ts +1 -1
- package/dist/declarations/src/components/custom-views/custom-views-selector/index.d.ts +1 -2
- package/dist/declarations/src/components/detail-pages/custom-form-detail-page/custom-form-detail-page.d.ts +30 -30
- package/dist/declarations/src/components/detail-pages/custom-form-detail-page/index.d.ts +1 -1
- package/dist/declarations/src/components/detail-pages/form-detail-page/form-detail-page.d.ts +4 -4
- package/dist/declarations/src/components/detail-pages/form-detail-page/index.d.ts +1 -1
- package/dist/declarations/src/components/detail-pages/info-detail-page/index.d.ts +1 -1
- package/dist/declarations/src/components/detail-pages/info-detail-page/info-detail-page.d.ts +4 -4
- package/dist/declarations/src/components/detail-pages/tabular-detail-page/index.d.ts +1 -1
- package/dist/declarations/src/components/detail-pages/tabular-detail-page/tabular-detail-page.d.ts +31 -31
- package/dist/declarations/src/components/dialogs/confirmation-dialog/index.d.ts +1 -1
- package/dist/declarations/src/components/dialogs/form-dialog/index.d.ts +1 -1
- package/dist/declarations/src/components/dialogs/info-dialog/index.d.ts +1 -1
- package/dist/declarations/src/components/drawer/drawer.d.ts +18 -18
- package/dist/declarations/src/components/drawer/index.d.ts +1 -1
- package/dist/declarations/src/components/main-pages/custom-form-main-page/custom-form-main-page.d.ts +33 -40
- package/dist/declarations/src/components/main-pages/custom-form-main-page/index.d.ts +1 -1
- package/dist/declarations/src/components/main-pages/form-main-page/form-main-page.d.ts +6 -13
- package/dist/declarations/src/components/main-pages/form-main-page/index.d.ts +1 -1
- package/dist/declarations/src/components/main-pages/info-main-page/index.d.ts +1 -1
- package/dist/declarations/src/components/main-pages/info-main-page/info-main-page.d.ts +4 -4
- package/dist/declarations/src/components/main-pages/tabular-main-page/index.d.ts +1 -1
- package/dist/declarations/src/components/main-pages/tabular-main-page/tabular-main-page.d.ts +32 -40
- package/dist/declarations/src/components/maintenance-page-layout/index.d.ts +1 -1
- package/dist/declarations/src/components/modal-pages/custom-form-modal-page/custom-form-modal-page.d.ts +26 -26
- package/dist/declarations/src/components/modal-pages/custom-form-modal-page/index.d.ts +1 -1
- package/dist/declarations/src/components/modal-pages/form-modal-page/index.d.ts +1 -1
- package/dist/declarations/src/components/modal-pages/info-modal-page/index.d.ts +1 -1
- package/dist/declarations/src/components/modal-pages/tabular-modal-page/index.d.ts +1 -1
- package/dist/declarations/src/components/modal-pages/tabular-modal-page/tabular-modal-page.d.ts +27 -27
- package/dist/declarations/src/components/modal-pages/utils/index.d.ts +1 -1
- package/dist/declarations/src/components/page-content-containers/page-content-full/index.d.ts +2 -2
- package/dist/declarations/src/components/page-content-containers/page-content-narrow/index.d.ts +2 -2
- package/dist/declarations/src/components/page-content-containers/page-content-wide/index.d.ts +2 -2
- package/dist/declarations/src/components/page-not-found/index.d.ts +1 -1
- package/dist/declarations/src/components/page-unauthorized/index.d.ts +1 -1
- package/dist/declarations/src/components/portals-container/index.d.ts +1 -1
- package/dist/declarations/src/components/public-page-layout/index.d.ts +2 -3
- package/dist/declarations/src/components/tab-header/index.d.ts +1 -1
- package/dist/declarations/src/hooks/use-modal-state/index.d.ts +1 -1
- package/dist/declarations/src/index.d.ts +35 -35
- package/dist/declarations/src/theming.d.ts +3 -1
- package/dist/{public-page-layout-60fba793.esm.js → public-page-layout-7d1cb99f.esm.js} +0 -14
- package/dist/{public-page-layout-3b294301.cjs.prod.js → public-page-layout-b182d2dd.cjs.prod.js} +0 -4
- package/dist/{public-page-layout-e2b1fd99.cjs.dev.js → public-page-layout-b92fb7e4.cjs.dev.js} +0 -15
- package/package.json +30 -30
- package/dist/commercetools-frontend-application-components.cjs.d.ts.map +0 -1
- package/dist/declarations/src/components/custom-views/custom-view-loader/messages.d.ts +0 -7
- package/dist/declarations/src/components/custom-views/custom-views-selector/custom-views-selector.d.ts +0 -3
- package/dist/declarations/src/components/custom-views/custom-views-selector/messages.d.ts +0 -7
- package/dist/declarations/src/components/custom-views/custom-views-selector/use-custom-views-connector.d.ts +0 -11
- package/dist/declarations/src/components/dialogs/internals/dialog-container.d.ts +0 -17
- package/dist/declarations/src/components/dialogs/internals/dialog-content.d.ts +0 -6
- package/dist/declarations/src/components/dialogs/internals/dialog-footer.d.ts +0 -30
- package/dist/declarations/src/components/dialogs/internals/dialog-header.d.ts +0 -15
- package/dist/declarations/src/components/dialogs/internals/dialog.styles.d.ts +0 -19
- package/dist/declarations/src/components/internals/default-form-buttons.d.ts +0 -36
- package/dist/declarations/src/components/internals/messages.d.ts +0 -11
- package/dist/declarations/src/components/internals/page-header-title.d.ts +0 -14
- package/dist/declarations/src/components/internals/page-header.d.ts +0 -19
- package/dist/declarations/src/components/internals/page-top-bar.d.ts +0 -19
- package/dist/declarations/src/components/internals/page.styles.d.ts +0 -13
- package/dist/declarations/src/components/internals/tabular-page.d.ts +0 -27
- package/dist/declarations/src/components/main-pages/internals/main-page.styles.d.ts +0 -13
- package/dist/declarations/src/components/modal-pages/internals/modal-page.d.ts +0 -39
- package/dist/declarations/src/components/modal-pages/internals/modal-page.styles.d.ts +0 -32
- package/dist/declarations/src/components/page-not-found/messages.d.ts +0 -11
- package/dist/declarations/src/components/page-unauthorized/messages.d.ts +0 -15
- package/dist/declarations/src/components/project-stamp/messages.d.ts +0 -19
- package/dist/declarations/src/components/public-page-layout/public-page-layout.d.ts +0 -26
- package/dist/declarations/src/components/public-page-layout/public-page-layout.styles.d.ts +0 -13
- package/dist/declarations/src/components/tab-header/tab.styles.d.ts +0 -2
- package/dist/declarations/src/hooks/use-custom-view-locator-selector/index.d.ts +0 -1
- package/dist/declarations/src/hooks/use-custom-view-locator-selector/use-custom-view-locator-selector.d.ts +0 -5
- package/dist/declarations/src/types/generated/settings.d.ts +0 -2116
- package/dist/declarations/src/utils/filter-data-attributes.d.ts +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/application-components",
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.8.0",
|
|
4
4
|
"description": "Generic components for building Merchant Center applications",
|
|
5
5
|
"bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
|
|
6
6
|
"repository": {
|
|
@@ -36,35 +36,35 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@babel/runtime": "^7.22.15",
|
|
38
38
|
"@babel/runtime-corejs3": "^7.22.15",
|
|
39
|
-
"@commercetools-frontend/actions-global": "24.
|
|
40
|
-
"@commercetools-frontend/application-config": "24.
|
|
41
|
-
"@commercetools-frontend/application-shell-connectors": "24.
|
|
42
|
-
"@commercetools-frontend/assets": "24.
|
|
43
|
-
"@commercetools-frontend/constants": "24.
|
|
44
|
-
"@commercetools-frontend/i18n": "24.
|
|
45
|
-
"@commercetools-frontend/l10n": "24.
|
|
46
|
-
"@commercetools-frontend/sentry": "24.
|
|
47
|
-
"@commercetools-uikit/accessible-button": "20.
|
|
48
|
-
"@commercetools-uikit/card": "20.
|
|
49
|
-
"@commercetools-uikit/constraints": "20.
|
|
50
|
-
"@commercetools-uikit/design-system": "20.
|
|
51
|
-
"@commercetools-uikit/flat-button": "20.
|
|
52
|
-
"@commercetools-uikit/hooks": "20.
|
|
53
|
-
"@commercetools-uikit/icon-button": "20.
|
|
54
|
-
"@commercetools-uikit/icons": "20.
|
|
55
|
-
"@commercetools-uikit/label": "20.
|
|
56
|
-
"@commercetools-uikit/messages": "20.
|
|
57
|
-
"@commercetools-uikit/primary-button": "20.
|
|
58
|
-
"@commercetools-uikit/secondary-button": "20.
|
|
59
|
-
"@commercetools-uikit/secondary-icon-button": "20.
|
|
60
|
-
"@commercetools-uikit/spacings": "20.
|
|
61
|
-
"@commercetools-uikit/stamp": "20.
|
|
62
|
-
"@commercetools-uikit/text": "20.
|
|
63
|
-
"@commercetools-uikit/utils": "20.
|
|
39
|
+
"@commercetools-frontend/actions-global": "24.8.0",
|
|
40
|
+
"@commercetools-frontend/application-config": "24.8.0",
|
|
41
|
+
"@commercetools-frontend/application-shell-connectors": "24.8.0",
|
|
42
|
+
"@commercetools-frontend/assets": "24.8.0",
|
|
43
|
+
"@commercetools-frontend/constants": "24.8.0",
|
|
44
|
+
"@commercetools-frontend/i18n": "24.8.0",
|
|
45
|
+
"@commercetools-frontend/l10n": "24.8.0",
|
|
46
|
+
"@commercetools-frontend/sentry": "24.8.0",
|
|
47
|
+
"@commercetools-uikit/accessible-button": "^20.2.3",
|
|
48
|
+
"@commercetools-uikit/card": "^20.2.3",
|
|
49
|
+
"@commercetools-uikit/constraints": "^20.2.3",
|
|
50
|
+
"@commercetools-uikit/design-system": "^20.2.3",
|
|
51
|
+
"@commercetools-uikit/flat-button": "^20.2.3",
|
|
52
|
+
"@commercetools-uikit/hooks": "^20.2.3",
|
|
53
|
+
"@commercetools-uikit/icon-button": "^20.2.3",
|
|
54
|
+
"@commercetools-uikit/icons": "^20.2.3",
|
|
55
|
+
"@commercetools-uikit/label": "^20.2.3",
|
|
56
|
+
"@commercetools-uikit/messages": "^20.2.3",
|
|
57
|
+
"@commercetools-uikit/primary-button": "^20.2.3",
|
|
58
|
+
"@commercetools-uikit/secondary-button": "^20.2.3",
|
|
59
|
+
"@commercetools-uikit/secondary-icon-button": "^20.2.3",
|
|
60
|
+
"@commercetools-uikit/spacings": "^20.2.3",
|
|
61
|
+
"@commercetools-uikit/stamp": "^20.2.3",
|
|
62
|
+
"@commercetools-uikit/text": "^20.2.3",
|
|
63
|
+
"@commercetools-uikit/utils": "^20.2.3",
|
|
64
64
|
"@emotion/react": "^11.14.0",
|
|
65
65
|
"@emotion/styled": "^11.14.0",
|
|
66
66
|
"@flopflip/react-broadcast": "15.1.2",
|
|
67
|
-
"@radix-ui/react-dialog": "1.1.
|
|
67
|
+
"@radix-ui/react-dialog": "1.1.14",
|
|
68
68
|
"@react-hook/latest": "1.0.3",
|
|
69
69
|
"@react-hook/resize-observer": "1.2.6",
|
|
70
70
|
"@types/history": "^4.7.11",
|
|
@@ -79,14 +79,14 @@
|
|
|
79
79
|
"raf-schd": "^4.0.3"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
|
-
"@apollo/client": "3.
|
|
82
|
+
"@apollo/client": "3.13.9",
|
|
83
83
|
"@testing-library/dom": "^10.4.0",
|
|
84
84
|
"@testing-library/react": "16.1.0",
|
|
85
|
-
"@types/jest": "^29.5.
|
|
85
|
+
"@types/jest": "^29.5.14",
|
|
86
86
|
"@types/raf-schd": "^4.0.1",
|
|
87
87
|
"@types/testing-library__jest-dom": "^5.14.9",
|
|
88
88
|
"jest": "29.7.0",
|
|
89
|
-
"msw": "
|
|
89
|
+
"msw": "^1.3.5",
|
|
90
90
|
"react": "19.0.0",
|
|
91
91
|
"react-dom": "19.0.0",
|
|
92
92
|
"react-intl": "^7.1.4",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"commercetools-frontend-application-components.cjs.d.ts","sourceRoot":"","sources":["./declarations/src/index.d.ts"],"names":[],"mappings":"AAAA"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { CustomViewData } from '@commercetools-frontend/constants';
|
|
2
|
-
type TUseCustomViewsFetcherParams = {
|
|
3
|
-
customViewLocatorCode: string;
|
|
4
|
-
};
|
|
5
|
-
type TUseCustomViewsFetcher = (props: TUseCustomViewsFetcherParams) => {
|
|
6
|
-
customViews: CustomViewData[];
|
|
7
|
-
error?: Error;
|
|
8
|
-
loading: boolean;
|
|
9
|
-
};
|
|
10
|
-
export declare const useCustomViewsConnector: TUseCustomViewsFetcher;
|
|
11
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { type ReactNode, type SyntheticEvent } from 'react';
|
|
2
|
-
declare const getDefaultParentSelector: () => HTMLElement;
|
|
3
|
-
type Props = {
|
|
4
|
-
isOpen: boolean;
|
|
5
|
-
onClose?: (event: SyntheticEvent) => void;
|
|
6
|
-
size?: 'm' | 'l' | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 16 | 'scale';
|
|
7
|
-
zIndex?: number;
|
|
8
|
-
title: ReactNode;
|
|
9
|
-
'aria-label'?: string;
|
|
10
|
-
children: ReactNode;
|
|
11
|
-
getParentSelector?: typeof getDefaultParentSelector;
|
|
12
|
-
};
|
|
13
|
-
declare const DialogContainer: {
|
|
14
|
-
({ size, getParentSelector, ...props }: Props): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
15
|
-
displayName: string;
|
|
16
|
-
};
|
|
17
|
-
export default DialogContainer;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const DialogContent: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
-
export default DialogContent;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import type { ReactElement, SyntheticEvent, ReactNode } from 'react';
|
|
2
|
-
import type { TIconProps } from '@commercetools-uikit/design-system';
|
|
3
|
-
type MessageDescriptor = {
|
|
4
|
-
id: string;
|
|
5
|
-
description?: string | object;
|
|
6
|
-
defaultMessage?: string;
|
|
7
|
-
};
|
|
8
|
-
type Label = string | MessageDescriptor;
|
|
9
|
-
type Props = {
|
|
10
|
-
labelSecondary: Label;
|
|
11
|
-
labelPrimary: Label;
|
|
12
|
-
onCancel: (event: SyntheticEvent) => void;
|
|
13
|
-
onConfirm: (event: SyntheticEvent) => void;
|
|
14
|
-
isPrimaryButtonDisabled?: boolean;
|
|
15
|
-
dataAttributesPrimaryButton?: {
|
|
16
|
-
[key: string]: string;
|
|
17
|
-
};
|
|
18
|
-
dataAttributesSecondaryButton?: {
|
|
19
|
-
[key: string]: string;
|
|
20
|
-
};
|
|
21
|
-
children?: never;
|
|
22
|
-
iconLeftSecondaryButton?: ReactElement<TIconProps>;
|
|
23
|
-
iconLeftPrimaryButton?: ReactElement<TIconProps>;
|
|
24
|
-
footerContent?: ReactNode;
|
|
25
|
-
};
|
|
26
|
-
declare const DialogFooter: {
|
|
27
|
-
({ isPrimaryButtonDisabled, dataAttributesPrimaryButton, dataAttributesSecondaryButton, ...props }: Props): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
28
|
-
displayName: string;
|
|
29
|
-
};
|
|
30
|
-
export default DialogFooter;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { ReactNode, SyntheticEvent } from 'react';
|
|
2
|
-
type Props = {
|
|
3
|
-
title: ReactNode;
|
|
4
|
-
onClose?: (event: SyntheticEvent) => void;
|
|
5
|
-
children?: never;
|
|
6
|
-
};
|
|
7
|
-
type TTextTitleProps = {
|
|
8
|
-
title: string;
|
|
9
|
-
};
|
|
10
|
-
export declare const TextTitle: (props: TTextTitleProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
11
|
-
declare const DialogHeader: {
|
|
12
|
-
(props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
13
|
-
displayName: string;
|
|
14
|
-
};
|
|
15
|
-
export default DialogHeader;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { type SerializedStyles } from '@emotion/react';
|
|
3
|
-
type StyleProps = {
|
|
4
|
-
size: 'm' | 'l' | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 16 | 'scale';
|
|
5
|
-
zIndex?: number;
|
|
6
|
-
};
|
|
7
|
-
export declare const getModalContentStyles: (props: StyleProps) => SerializedStyles;
|
|
8
|
-
export declare const ClickableDialogContent: import("@emotion/styled").StyledComponent<import("@radix-ui/react-dialog").DialogContentProps & import("react").RefAttributes<HTMLDivElement> & {
|
|
9
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
10
|
-
} & StyleProps, {}, {}>;
|
|
11
|
-
export declare const DialogOverlay: import("@emotion/styled").StyledComponent<{
|
|
12
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
13
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
14
|
-
} & Pick<StyleProps, "zIndex">, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
15
|
-
export declare const DialogContent: import("@emotion/styled").StyledComponent<{
|
|
16
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
17
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
18
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
19
|
-
export {};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import type { ReactElement, SyntheticEvent } from 'react';
|
|
2
|
-
import type { TIconProps } from '@commercetools-uikit/design-system';
|
|
3
|
-
type MessageDescriptor = {
|
|
4
|
-
id: string;
|
|
5
|
-
description?: string | object;
|
|
6
|
-
defaultMessage?: string;
|
|
7
|
-
};
|
|
8
|
-
type Label = string | MessageDescriptor;
|
|
9
|
-
type Props = {
|
|
10
|
-
label?: Label;
|
|
11
|
-
onClick: (event: SyntheticEvent) => void;
|
|
12
|
-
isDisabled?: boolean;
|
|
13
|
-
dataAttributes?: {
|
|
14
|
-
[key: string]: string;
|
|
15
|
-
};
|
|
16
|
-
children?: never;
|
|
17
|
-
};
|
|
18
|
-
type PrimaryButtonProps = {
|
|
19
|
-
iconLeft?: ReactElement<TIconProps>;
|
|
20
|
-
} & Props;
|
|
21
|
-
declare const FormPrimaryButton: {
|
|
22
|
-
({ label, isDisabled, dataAttributes, ...props }: PrimaryButtonProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
23
|
-
displayName: string;
|
|
24
|
-
};
|
|
25
|
-
type SecondaryButtonProps = {
|
|
26
|
-
iconLeft?: ReactElement<TIconProps>;
|
|
27
|
-
} & Props;
|
|
28
|
-
declare const FormSecondaryButton: {
|
|
29
|
-
({ label, isDisabled, dataAttributes, ...props }: SecondaryButtonProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
30
|
-
displayName: string;
|
|
31
|
-
};
|
|
32
|
-
declare const FormDeleteButton: {
|
|
33
|
-
({ label, isDisabled, dataAttributes, ...props }: Props): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
34
|
-
displayName: string;
|
|
35
|
-
};
|
|
36
|
-
export { FormPrimaryButton, FormSecondaryButton, FormDeleteButton };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { type ReactElement } from 'react';
|
|
2
|
-
type TTitleSize = 'big' | 'medium' | 'small';
|
|
3
|
-
type Props = {
|
|
4
|
-
title: string;
|
|
5
|
-
titleSize?: TTitleSize;
|
|
6
|
-
truncate?: boolean;
|
|
7
|
-
subtitle?: string | ReactElement;
|
|
8
|
-
children?: never;
|
|
9
|
-
};
|
|
10
|
-
declare const PageHeaderTitle: {
|
|
11
|
-
({ titleSize, truncate, ...props }: Props): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
12
|
-
displayName: string;
|
|
13
|
-
};
|
|
14
|
-
export default PageHeaderTitle;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
-
type Props = {
|
|
3
|
-
title: string;
|
|
4
|
-
subtitle?: string | ReactElement;
|
|
5
|
-
/**
|
|
6
|
-
* This code is used to configure which Custom Views are available for this page.
|
|
7
|
-
*/
|
|
8
|
-
customViewLocatorCode?: string;
|
|
9
|
-
/**
|
|
10
|
-
* Replaces the title/subtitle row with a custom one (for special use cases)
|
|
11
|
-
*/
|
|
12
|
-
customTitleRow?: ReactNode;
|
|
13
|
-
children?: ReactNode;
|
|
14
|
-
};
|
|
15
|
-
declare const PageHeader: {
|
|
16
|
-
(props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
17
|
-
displayName: string;
|
|
18
|
-
};
|
|
19
|
-
export default PageHeader;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { MouseEvent, KeyboardEvent, ReactNode } from 'react';
|
|
2
|
-
type MessageDescriptor = {
|
|
3
|
-
id: string;
|
|
4
|
-
description?: string | object;
|
|
5
|
-
defaultMessage?: string;
|
|
6
|
-
values?: Record<string, ReactNode>;
|
|
7
|
-
};
|
|
8
|
-
type Label = string | MessageDescriptor;
|
|
9
|
-
type Props = {
|
|
10
|
-
color?: 'surface' | 'neutral';
|
|
11
|
-
previousPathLabel?: Label;
|
|
12
|
-
onClick: (event: MouseEvent<HTMLButtonElement> | KeyboardEvent<HTMLButtonElement>) => void;
|
|
13
|
-
children?: never;
|
|
14
|
-
};
|
|
15
|
-
declare const PageTopBar: {
|
|
16
|
-
({ color, previousPathLabel, ...props }: Props): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
17
|
-
displayName: string;
|
|
18
|
-
};
|
|
19
|
-
export default PageTopBar;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const ContentWrapper: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
-
export declare const ModalContentWrapper: import("@emotion/styled").StyledComponent<{
|
|
7
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
8
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
9
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
10
|
-
export declare const PageWrapper: import("@emotion/styled").StyledComponent<{
|
|
11
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
12
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
13
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
type TControlsContainterProps = {
|
|
3
|
-
tabControls: ReactNode;
|
|
4
|
-
formControls?: ReactNode;
|
|
5
|
-
children?: never;
|
|
6
|
-
};
|
|
7
|
-
declare const ControlsContainter: {
|
|
8
|
-
(props: TControlsContainterProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
9
|
-
displayName: string;
|
|
10
|
-
};
|
|
11
|
-
declare const TabularPageContainer: import("@emotion/styled").StyledComponent<{
|
|
12
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
13
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
14
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
15
|
-
declare const FormControlsContainer: import("@emotion/styled").StyledComponent<{
|
|
16
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
17
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
18
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
19
|
-
declare const CustomViewsSelectorWrapper: import("@emotion/styled").StyledComponent<{
|
|
20
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
21
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
22
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
23
|
-
declare const TabularModalPageContainer: import("@emotion/styled").StyledComponent<{
|
|
24
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
25
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
26
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
27
|
-
export { ControlsContainter, TabularPageContainer, TabularModalPageContainer, FormControlsContainer, CustomViewsSelectorWrapper, };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const MainPageContainer: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
-
export declare const Divider: import("@emotion/styled").StyledComponent<{
|
|
7
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
8
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
9
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHRElement>, HTMLHRElement>, {}>;
|
|
10
|
-
export declare const MainPageContent: import("@emotion/styled").StyledComponent<{
|
|
11
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
12
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
13
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { type ReactNode, type SyntheticEvent } from 'react';
|
|
2
|
-
import type { CSSObject } from '@emotion/react';
|
|
3
|
-
declare const getDefaultParentSelector: () => HTMLElement;
|
|
4
|
-
type MessageDescriptor = {
|
|
5
|
-
id: string;
|
|
6
|
-
description?: string | object;
|
|
7
|
-
defaultMessage?: string;
|
|
8
|
-
};
|
|
9
|
-
type Label = string | MessageDescriptor;
|
|
10
|
-
export type TModalPageSize = 10 | 20 | 30 | 'scale';
|
|
11
|
-
type Props = {
|
|
12
|
-
/**
|
|
13
|
-
* @deprecated Not used anymore, as the value is controlled via the Stacking Layer System.
|
|
14
|
-
*/
|
|
15
|
-
level?: number;
|
|
16
|
-
title: string;
|
|
17
|
-
isOpen: boolean;
|
|
18
|
-
onClose?: (event: SyntheticEvent) => void;
|
|
19
|
-
children: ReactNode;
|
|
20
|
-
zIndex?: number;
|
|
21
|
-
/**
|
|
22
|
-
* @deprecated Not used anymore, as the value is controlled via the Stacking Layer System.
|
|
23
|
-
*/
|
|
24
|
-
baseZIndex?: number;
|
|
25
|
-
getParentSelector?: typeof getDefaultParentSelector;
|
|
26
|
-
shouldDelayOnClose?: boolean;
|
|
27
|
-
afterOpenStyles?: string | CSSObject;
|
|
28
|
-
topBarColor?: 'surface' | 'neutral';
|
|
29
|
-
currentPathLabel?: string;
|
|
30
|
-
previousPathLabel?: Label;
|
|
31
|
-
hidePathLabel?: boolean;
|
|
32
|
-
size?: TModalPageSize;
|
|
33
|
-
hideTopBar?: boolean;
|
|
34
|
-
};
|
|
35
|
-
declare const ModalPage: {
|
|
36
|
-
({ size, getParentSelector, shouldDelayOnClose, ...props }: Props): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
37
|
-
displayName: string;
|
|
38
|
-
};
|
|
39
|
-
export default ModalPage;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { TModalPageSize } from './modal-page';
|
|
3
|
-
export declare const stylesBySize: {
|
|
4
|
-
'10': {
|
|
5
|
-
width: string;
|
|
6
|
-
transitionTime: number;
|
|
7
|
-
};
|
|
8
|
-
'20': {
|
|
9
|
-
width: string;
|
|
10
|
-
transitionTime: number;
|
|
11
|
-
};
|
|
12
|
-
'30': {
|
|
13
|
-
width: string;
|
|
14
|
-
transitionTime: number;
|
|
15
|
-
};
|
|
16
|
-
scale: {
|
|
17
|
-
width: string;
|
|
18
|
-
transitionTime: number;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
export declare const ModalOverlay: import("@emotion/styled").StyledComponent<{
|
|
22
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
23
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
24
|
-
} & {
|
|
25
|
-
size: TModalPageSize;
|
|
26
|
-
zIndex?: number | undefined;
|
|
27
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
28
|
-
export declare const ModalContent: import("@emotion/styled").StyledComponent<import("@radix-ui/react-dialog").DialogContentProps & import("react").RefAttributes<HTMLDivElement> & {
|
|
29
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
30
|
-
} & {
|
|
31
|
-
size: TModalPageSize;
|
|
32
|
-
}, {}, {}>;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
ProjectProduction: {
|
|
3
|
-
id: string;
|
|
4
|
-
defaultMessage: string;
|
|
5
|
-
};
|
|
6
|
-
ProjectSuspended: {
|
|
7
|
-
id: string;
|
|
8
|
-
defaultMessage: string;
|
|
9
|
-
};
|
|
10
|
-
ProjectExpired: {
|
|
11
|
-
id: string;
|
|
12
|
-
defaultMessage: string;
|
|
13
|
-
};
|
|
14
|
-
ProjectWillExpire: {
|
|
15
|
-
id: string;
|
|
16
|
-
defaultMessage: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
export default _default;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from 'react';
|
|
2
|
-
type TProps = {
|
|
3
|
-
/**
|
|
4
|
-
* The text to be displayed below the commercetools logo.
|
|
5
|
-
*/
|
|
6
|
-
welcomeMessage?: string;
|
|
7
|
-
/**
|
|
8
|
-
* Renders a node below the content. This is usually the place for rendering
|
|
9
|
-
* links to the privacy, terms, etc pages.
|
|
10
|
-
*/
|
|
11
|
-
legalMessage?: ReactNode;
|
|
12
|
-
/**
|
|
13
|
-
* The `normal` scale uses an horizontal contraint size of `8` (384px).
|
|
14
|
-
* The `wide` scale uses an horizontal contraint size of `15` (742px).
|
|
15
|
-
* The `wide` scale can be used for rendering the content in 2 columns.
|
|
16
|
-
*/
|
|
17
|
-
contentScale?: 'normal' | 'wide';
|
|
18
|
-
/**
|
|
19
|
-
* If `contentScale` is `normal`, the content is rendered in one column.
|
|
20
|
-
* If `contentScale` is `wide`, you need to pass 2 children as they will be displayed
|
|
21
|
-
* in two columns.
|
|
22
|
-
*/
|
|
23
|
-
children: ReactNode;
|
|
24
|
-
};
|
|
25
|
-
declare const PublicPageLayout: FC<TProps>;
|
|
26
|
-
export default PublicPageLayout;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const Container: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
-
export declare const ContainerColumn: import("@emotion/styled").StyledComponent<{
|
|
7
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
8
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
9
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
10
|
-
export declare const ContainerColumnWide: import("@emotion/styled").StyledComponent<{
|
|
11
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
12
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
13
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './use-custom-view-locator-selector';
|