@commercetools-frontend/application-components 20.9.4 → 20.10.5

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.
Files changed (47) hide show
  1. package/dist/commercetools-frontend-application-components.cjs.dev.js +17 -6
  2. package/dist/commercetools-frontend-application-components.cjs.prod.js +8 -2
  3. package/dist/commercetools-frontend-application-components.esm.js +17 -6
  4. package/dist/declarations/src/components/dialogs/confirmation-dialog/confirmation-dialog.d.ts +107 -107
  5. package/dist/declarations/src/components/dialogs/confirmation-dialog/index.d.ts +1 -1
  6. package/dist/declarations/src/components/dialogs/form-dialog/form-dialog.d.ts +107 -107
  7. package/dist/declarations/src/components/dialogs/form-dialog/index.d.ts +1 -1
  8. package/dist/declarations/src/components/dialogs/info-dialog/index.d.ts +1 -1
  9. package/dist/declarations/src/components/dialogs/info-dialog/info-dialog.d.ts +15 -15
  10. package/dist/declarations/src/components/dialogs/internals/dialog-container.d.ts +17 -17
  11. package/dist/declarations/src/components/dialogs/internals/dialog-content.d.ts +6 -6
  12. package/dist/declarations/src/components/dialogs/internals/dialog-footer.d.ts +27 -27
  13. package/dist/declarations/src/components/dialogs/internals/dialog-header.d.ts +11 -11
  14. package/dist/declarations/src/components/dialogs/internals/dialog.styles.d.ts +6 -6
  15. package/dist/declarations/src/components/maintenance-page-layout/index.d.ts +1 -1
  16. package/dist/declarations/src/components/maintenance-page-layout/maintenance-page-layout.d.ts +24 -24
  17. package/dist/declarations/src/components/modal-pages/custom-form-modal-page/custom-form-modal-page.d.ts +191 -189
  18. package/dist/declarations/src/components/modal-pages/custom-form-modal-page/index.d.ts +1 -1
  19. package/dist/declarations/src/components/modal-pages/form-modal-page/form-modal-page.d.ts +116 -114
  20. package/dist/declarations/src/components/modal-pages/form-modal-page/index.d.ts +1 -1
  21. package/dist/declarations/src/components/modal-pages/info-modal-page/index.d.ts +1 -1
  22. package/dist/declarations/src/components/modal-pages/info-modal-page/info-modal-page.d.ts +28 -26
  23. package/dist/declarations/src/components/modal-pages/internals/default-form-buttons.d.ts +32 -32
  24. package/dist/declarations/src/components/modal-pages/internals/messages.d.ts +11 -11
  25. package/dist/declarations/src/components/modal-pages/internals/modal-page-header-title.d.ts +13 -13
  26. package/dist/declarations/src/components/modal-pages/internals/modal-page-header.d.ts +11 -11
  27. package/dist/declarations/src/components/modal-pages/internals/modal-page-top-bar.d.ts +20 -20
  28. package/dist/declarations/src/components/modal-pages/internals/modal-page.d.ts +30 -28
  29. package/dist/declarations/src/components/modal-pages/internals/modal-page.styles.d.ts +18 -18
  30. package/dist/declarations/src/components/modal-pages/tabular-modal-page/index.d.ts +1 -1
  31. package/dist/declarations/src/components/modal-pages/tabular-modal-page/tabular-modal-page.d.ts +194 -192
  32. package/dist/declarations/src/components/page-not-found/index.d.ts +1 -1
  33. package/dist/declarations/src/components/page-not-found/messages.d.ts +11 -11
  34. package/dist/declarations/src/components/page-not-found/page-not-found.d.ts +5 -5
  35. package/dist/declarations/src/components/page-unauthorized/index.d.ts +1 -1
  36. package/dist/declarations/src/components/page-unauthorized/messages.d.ts +15 -15
  37. package/dist/declarations/src/components/page-unauthorized/page-unauthorized.d.ts +5 -5
  38. package/dist/declarations/src/components/portals-container/index.d.ts +1 -1
  39. package/dist/declarations/src/components/portals-container/portals-container.d.ts +5 -5
  40. package/dist/declarations/src/components/public-page-layout/index.d.ts +1 -1
  41. package/dist/declarations/src/components/public-page-layout/public-page-layout.d.ts +9 -9
  42. package/dist/declarations/src/hooks/use-modal-state/index.d.ts +1 -1
  43. package/dist/declarations/src/hooks/use-modal-state/use-modal-state.d.ts +6 -6
  44. package/dist/declarations/src/index.d.ts +14 -14
  45. package/dist/declarations/src/utils/filter-data-attributes.d.ts +1 -1
  46. package/dist/declarations/src/version.d.ts +2 -2
  47. package/package.json +10 -10
@@ -1,107 +1,107 @@
1
- import { ReactNode, SyntheticEvent } from 'react';
2
- declare type MessageDescriptor = {
3
- id: string;
4
- description?: string | object;
5
- defaultMessage?: string;
6
- };
7
- declare type Label = string | MessageDescriptor;
8
- declare type Props = {
9
- isOpen: boolean;
10
- onClose?: (event: SyntheticEvent) => void;
11
- title: string;
12
- size?: 'm' | 'l' | 7 | 8 | 9 | 10 | 'scale';
13
- zIndex?: number;
14
- children: ReactNode;
15
- labelSecondary: Label;
16
- labelPrimary: Label;
17
- isPrimaryButtonDisabled?: boolean;
18
- onCancel: (event: SyntheticEvent) => void;
19
- onConfirm: (event: SyntheticEvent) => void;
20
- dataAttributesSecondaryButton?: {
21
- [key: string]: string;
22
- };
23
- dataAttributesPrimaryButton?: {
24
- [key: string]: string;
25
- };
26
- getParentSelector?: () => HTMLElement;
27
- };
28
- declare const ConfirmationDialog: {
29
- (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
30
- displayName: string;
31
- defaultProps: Pick<Props, "labelSecondary" | "labelPrimary">;
32
- Intl: {
33
- cancel: {
34
- id: string;
35
- defaultMessage: string;
36
- };
37
- revert: {
38
- id: string;
39
- defaultMessage: string;
40
- };
41
- confirm: {
42
- id: string;
43
- defaultMessage: string;
44
- };
45
- save: {
46
- id: string;
47
- defaultMessage: string;
48
- };
49
- update: {
50
- id: string;
51
- defaultMessage: string;
52
- };
53
- create: {
54
- id: string;
55
- defaultMessage: string;
56
- };
57
- delete: {
58
- id: string;
59
- defaultMessage: string;
60
- };
61
- add: {
62
- id: string;
63
- defaultMessage: string;
64
- };
65
- remove: {
66
- id: string;
67
- defaultMessage: string;
68
- };
69
- close: {
70
- id: string;
71
- defaultMessage: string;
72
- };
73
- edit: {
74
- id: string;
75
- defaultMessage: string;
76
- };
77
- open: {
78
- id: string;
79
- defaultMessage: string;
80
- };
81
- activate: {
82
- id: string;
83
- defaultMessage: string;
84
- };
85
- deactivate: {
86
- id: string;
87
- defaultMessage: string;
88
- };
89
- active: {
90
- id: string;
91
- defaultMessage: string;
92
- };
93
- inactive: {
94
- id: string;
95
- defaultMessage: string;
96
- };
97
- enable: {
98
- id: string;
99
- defaultMessage: string;
100
- };
101
- disable: {
102
- id: string;
103
- defaultMessage: string;
104
- };
105
- };
106
- };
107
- export default ConfirmationDialog;
1
+ import { ReactNode, SyntheticEvent } from 'react';
2
+ declare type MessageDescriptor = {
3
+ id: string;
4
+ description?: string | object;
5
+ defaultMessage?: string;
6
+ };
7
+ declare type Label = string | MessageDescriptor;
8
+ declare type Props = {
9
+ isOpen: boolean;
10
+ onClose?: (event: SyntheticEvent) => void;
11
+ title: string;
12
+ size?: 'm' | 'l' | 7 | 8 | 9 | 10 | 'scale';
13
+ zIndex?: number;
14
+ children: ReactNode;
15
+ labelSecondary: Label;
16
+ labelPrimary: Label;
17
+ isPrimaryButtonDisabled?: boolean;
18
+ onCancel: (event: SyntheticEvent) => void;
19
+ onConfirm: (event: SyntheticEvent) => void;
20
+ dataAttributesSecondaryButton?: {
21
+ [key: string]: string;
22
+ };
23
+ dataAttributesPrimaryButton?: {
24
+ [key: string]: string;
25
+ };
26
+ getParentSelector?: () => HTMLElement;
27
+ };
28
+ declare const ConfirmationDialog: {
29
+ (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
30
+ displayName: string;
31
+ defaultProps: Pick<Props, "labelSecondary" | "labelPrimary">;
32
+ Intl: {
33
+ cancel: {
34
+ id: string;
35
+ defaultMessage: string;
36
+ };
37
+ revert: {
38
+ id: string;
39
+ defaultMessage: string;
40
+ };
41
+ confirm: {
42
+ id: string;
43
+ defaultMessage: string;
44
+ };
45
+ save: {
46
+ id: string;
47
+ defaultMessage: string;
48
+ };
49
+ update: {
50
+ id: string;
51
+ defaultMessage: string;
52
+ };
53
+ create: {
54
+ id: string;
55
+ defaultMessage: string;
56
+ };
57
+ delete: {
58
+ id: string;
59
+ defaultMessage: string;
60
+ };
61
+ add: {
62
+ id: string;
63
+ defaultMessage: string;
64
+ };
65
+ remove: {
66
+ id: string;
67
+ defaultMessage: string;
68
+ };
69
+ close: {
70
+ id: string;
71
+ defaultMessage: string;
72
+ };
73
+ edit: {
74
+ id: string;
75
+ defaultMessage: string;
76
+ };
77
+ open: {
78
+ id: string;
79
+ defaultMessage: string;
80
+ };
81
+ activate: {
82
+ id: string;
83
+ defaultMessage: string;
84
+ };
85
+ deactivate: {
86
+ id: string;
87
+ defaultMessage: string;
88
+ };
89
+ active: {
90
+ id: string;
91
+ defaultMessage: string;
92
+ };
93
+ inactive: {
94
+ id: string;
95
+ defaultMessage: string;
96
+ };
97
+ enable: {
98
+ id: string;
99
+ defaultMessage: string;
100
+ };
101
+ disable: {
102
+ id: string;
103
+ defaultMessage: string;
104
+ };
105
+ };
106
+ };
107
+ export default ConfirmationDialog;
@@ -1 +1 @@
1
- export { default } from './confirmation-dialog';
1
+ export { default } from './confirmation-dialog';
@@ -1,107 +1,107 @@
1
- import { SyntheticEvent, ReactNode } from 'react';
2
- declare type MessageDescriptor = {
3
- id: string;
4
- description?: string | object;
5
- defaultMessage?: string;
6
- };
7
- declare type Label = string | MessageDescriptor;
8
- declare type Props = {
9
- isOpen: boolean;
10
- onClose?: (event: SyntheticEvent) => void;
11
- title: string;
12
- size?: 'm' | 'l' | 7 | 8 | 9 | 10 | 'scale';
13
- zIndex?: number;
14
- children: ReactNode;
15
- labelSecondary: Label;
16
- labelPrimary: Label;
17
- isPrimaryButtonDisabled?: boolean;
18
- onSecondaryButtonClick: (event: SyntheticEvent) => void;
19
- onPrimaryButtonClick: (event: SyntheticEvent) => void;
20
- dataAttributesSecondaryButton?: {
21
- [key: string]: string;
22
- };
23
- dataAttributesPrimaryButton?: {
24
- [key: string]: string;
25
- };
26
- getParentSelector?: () => HTMLElement;
27
- };
28
- declare const FormDialog: {
29
- (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
30
- displayName: string;
31
- defaultProps: Pick<Props, "labelSecondary" | "labelPrimary">;
32
- Intl: {
33
- cancel: {
34
- id: string;
35
- defaultMessage: string;
36
- };
37
- revert: {
38
- id: string;
39
- defaultMessage: string;
40
- };
41
- confirm: {
42
- id: string;
43
- defaultMessage: string;
44
- };
45
- save: {
46
- id: string;
47
- defaultMessage: string;
48
- };
49
- update: {
50
- id: string;
51
- defaultMessage: string;
52
- };
53
- create: {
54
- id: string;
55
- defaultMessage: string;
56
- };
57
- delete: {
58
- id: string;
59
- defaultMessage: string;
60
- };
61
- add: {
62
- id: string;
63
- defaultMessage: string;
64
- };
65
- remove: {
66
- id: string;
67
- defaultMessage: string;
68
- };
69
- close: {
70
- id: string;
71
- defaultMessage: string;
72
- };
73
- edit: {
74
- id: string;
75
- defaultMessage: string;
76
- };
77
- open: {
78
- id: string;
79
- defaultMessage: string;
80
- };
81
- activate: {
82
- id: string;
83
- defaultMessage: string;
84
- };
85
- deactivate: {
86
- id: string;
87
- defaultMessage: string;
88
- };
89
- active: {
90
- id: string;
91
- defaultMessage: string;
92
- };
93
- inactive: {
94
- id: string;
95
- defaultMessage: string;
96
- };
97
- enable: {
98
- id: string;
99
- defaultMessage: string;
100
- };
101
- disable: {
102
- id: string;
103
- defaultMessage: string;
104
- };
105
- };
106
- };
107
- export default FormDialog;
1
+ import { SyntheticEvent, ReactNode } from 'react';
2
+ declare type MessageDescriptor = {
3
+ id: string;
4
+ description?: string | object;
5
+ defaultMessage?: string;
6
+ };
7
+ declare type Label = string | MessageDescriptor;
8
+ declare type Props = {
9
+ isOpen: boolean;
10
+ onClose?: (event: SyntheticEvent) => void;
11
+ title: string;
12
+ size?: 'm' | 'l' | 7 | 8 | 9 | 10 | 'scale';
13
+ zIndex?: number;
14
+ children: ReactNode;
15
+ labelSecondary: Label;
16
+ labelPrimary: Label;
17
+ isPrimaryButtonDisabled?: boolean;
18
+ onSecondaryButtonClick: (event: SyntheticEvent) => void;
19
+ onPrimaryButtonClick: (event: SyntheticEvent) => void;
20
+ dataAttributesSecondaryButton?: {
21
+ [key: string]: string;
22
+ };
23
+ dataAttributesPrimaryButton?: {
24
+ [key: string]: string;
25
+ };
26
+ getParentSelector?: () => HTMLElement;
27
+ };
28
+ declare const FormDialog: {
29
+ (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
30
+ displayName: string;
31
+ defaultProps: Pick<Props, "labelSecondary" | "labelPrimary">;
32
+ Intl: {
33
+ cancel: {
34
+ id: string;
35
+ defaultMessage: string;
36
+ };
37
+ revert: {
38
+ id: string;
39
+ defaultMessage: string;
40
+ };
41
+ confirm: {
42
+ id: string;
43
+ defaultMessage: string;
44
+ };
45
+ save: {
46
+ id: string;
47
+ defaultMessage: string;
48
+ };
49
+ update: {
50
+ id: string;
51
+ defaultMessage: string;
52
+ };
53
+ create: {
54
+ id: string;
55
+ defaultMessage: string;
56
+ };
57
+ delete: {
58
+ id: string;
59
+ defaultMessage: string;
60
+ };
61
+ add: {
62
+ id: string;
63
+ defaultMessage: string;
64
+ };
65
+ remove: {
66
+ id: string;
67
+ defaultMessage: string;
68
+ };
69
+ close: {
70
+ id: string;
71
+ defaultMessage: string;
72
+ };
73
+ edit: {
74
+ id: string;
75
+ defaultMessage: string;
76
+ };
77
+ open: {
78
+ id: string;
79
+ defaultMessage: string;
80
+ };
81
+ activate: {
82
+ id: string;
83
+ defaultMessage: string;
84
+ };
85
+ deactivate: {
86
+ id: string;
87
+ defaultMessage: string;
88
+ };
89
+ active: {
90
+ id: string;
91
+ defaultMessage: string;
92
+ };
93
+ inactive: {
94
+ id: string;
95
+ defaultMessage: string;
96
+ };
97
+ enable: {
98
+ id: string;
99
+ defaultMessage: string;
100
+ };
101
+ disable: {
102
+ id: string;
103
+ defaultMessage: string;
104
+ };
105
+ };
106
+ };
107
+ export default FormDialog;
@@ -1 +1 @@
1
- export { default } from './form-dialog';
1
+ export { default } from './form-dialog';
@@ -1 +1 @@
1
- export { default } from './info-dialog';
1
+ export { default } from './info-dialog';
@@ -1,15 +1,15 @@
1
- import { SyntheticEvent, ReactNode } from 'react';
2
- declare type Props = {
3
- isOpen: boolean;
4
- onClose?: (event: SyntheticEvent) => void;
5
- size?: 'm' | 'l' | 7 | 8 | 9 | 10 | 'scale';
6
- zIndex?: number;
7
- title: string;
8
- children: ReactNode;
9
- getParentSelector?: () => HTMLElement;
10
- };
11
- declare const InfoDialog: {
12
- (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
13
- displayName: string;
14
- };
15
- export default InfoDialog;
1
+ import { SyntheticEvent, ReactNode } from 'react';
2
+ declare type Props = {
3
+ isOpen: boolean;
4
+ onClose?: (event: SyntheticEvent) => void;
5
+ size?: 'm' | 'l' | 7 | 8 | 9 | 10 | 'scale';
6
+ zIndex?: number;
7
+ title: string;
8
+ children: ReactNode;
9
+ getParentSelector?: () => HTMLElement;
10
+ };
11
+ declare const InfoDialog: {
12
+ (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
13
+ displayName: string;
14
+ };
15
+ export default InfoDialog;
@@ -1,17 +1,17 @@
1
- import { ReactNode, SyntheticEvent } from 'react';
2
- declare const getDefaultParentSelector: () => HTMLElement;
3
- declare type Props = {
4
- isOpen: boolean;
5
- onClose?: (event: SyntheticEvent) => void;
6
- size: 'm' | 'l' | 7 | 8 | 9 | 10 | 'scale';
7
- zIndex: number;
8
- title: string;
9
- children: ReactNode;
10
- getParentSelector: typeof getDefaultParentSelector;
11
- };
12
- declare const DialogContainer: {
13
- (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
14
- displayName: string;
15
- defaultProps: Pick<Props, "size" | "zIndex" | "getParentSelector">;
16
- };
17
- export default DialogContainer;
1
+ import { ReactNode, SyntheticEvent } from 'react';
2
+ declare const getDefaultParentSelector: () => HTMLElement;
3
+ declare type Props = {
4
+ isOpen: boolean;
5
+ onClose?: (event: SyntheticEvent) => void;
6
+ size: 'm' | 'l' | 7 | 8 | 9 | 10 | 'scale';
7
+ zIndex: number;
8
+ title: string;
9
+ children: ReactNode;
10
+ getParentSelector: typeof getDefaultParentSelector;
11
+ };
12
+ declare const DialogContainer: {
13
+ (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
14
+ displayName: string;
15
+ defaultProps: Pick<Props, "size" | "zIndex" | "getParentSelector">;
16
+ };
17
+ export default DialogContainer;
@@ -1,6 +1,6 @@
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> | undefined;
5
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
- export default DialogContent;
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> | undefined;
5
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
+ export default DialogContent;
@@ -1,27 +1,27 @@
1
- import { SyntheticEvent } from 'react';
2
- declare type MessageDescriptor = {
3
- id: string;
4
- description?: string | object;
5
- defaultMessage?: string;
6
- };
7
- declare type Label = string | MessageDescriptor;
8
- declare type Props = {
9
- labelSecondary: Label;
10
- labelPrimary: Label;
11
- onCancel: (event: SyntheticEvent) => void;
12
- onConfirm: (event: SyntheticEvent) => void;
13
- isPrimaryButtonDisabled: boolean;
14
- dataAttributesPrimaryButton: {
15
- [key: string]: string;
16
- };
17
- dataAttributesSecondaryButton: {
18
- [key: string]: string;
19
- };
20
- children?: never;
21
- };
22
- declare const DialogFooter: {
23
- (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
24
- displayName: string;
25
- defaultProps: Pick<Props, "isPrimaryButtonDisabled" | "dataAttributesSecondaryButton" | "dataAttributesPrimaryButton">;
26
- };
27
- export default DialogFooter;
1
+ import { SyntheticEvent } from 'react';
2
+ declare type MessageDescriptor = {
3
+ id: string;
4
+ description?: string | object;
5
+ defaultMessage?: string;
6
+ };
7
+ declare type Label = string | MessageDescriptor;
8
+ declare type Props = {
9
+ labelSecondary: Label;
10
+ labelPrimary: Label;
11
+ onCancel: (event: SyntheticEvent) => void;
12
+ onConfirm: (event: SyntheticEvent) => void;
13
+ isPrimaryButtonDisabled: boolean;
14
+ dataAttributesPrimaryButton: {
15
+ [key: string]: string;
16
+ };
17
+ dataAttributesSecondaryButton: {
18
+ [key: string]: string;
19
+ };
20
+ children?: never;
21
+ };
22
+ declare const DialogFooter: {
23
+ (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
24
+ displayName: string;
25
+ defaultProps: Pick<Props, "isPrimaryButtonDisabled" | "dataAttributesSecondaryButton" | "dataAttributesPrimaryButton">;
26
+ };
27
+ export default DialogFooter;
@@ -1,11 +1,11 @@
1
- import { SyntheticEvent } from 'react';
2
- declare type Props = {
3
- title: string;
4
- onClose?: (event: SyntheticEvent) => void;
5
- children?: never;
6
- };
7
- declare const DialogHeader: {
8
- (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
9
- displayName: string;
10
- };
11
- export default DialogHeader;
1
+ import { SyntheticEvent } from 'react';
2
+ declare type Props = {
3
+ title: string;
4
+ onClose?: (event: SyntheticEvent) => void;
5
+ children?: never;
6
+ };
7
+ declare const DialogHeader: {
8
+ (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
9
+ displayName: string;
10
+ };
11
+ export default DialogHeader;
@@ -1,6 +1,6 @@
1
- declare type StyleProps = {
2
- size: 'm' | 'l' | 7 | 8 | 9 | 10 | 'scale';
3
- };
4
- export declare const getModalContentStyles: (props: StyleProps) => import("@emotion/utils").SerializedStyles;
5
- export declare const getModalOverlayStyles: () => import("@emotion/utils").SerializedStyles;
6
- export {};
1
+ declare type StyleProps = {
2
+ size: 'm' | 'l' | 7 | 8 | 9 | 10 | 'scale';
3
+ };
4
+ export declare const getModalContentStyles: (props: StyleProps) => import("@emotion/utils").SerializedStyles;
5
+ export declare const getModalOverlayStyles: () => import("@emotion/utils").SerializedStyles;
6
+ export {};
@@ -1 +1 @@
1
- export { default } from './maintenance-page-layout';
1
+ export { default } from './maintenance-page-layout';
@@ -1,24 +1,24 @@
1
- import { ReactNode } from 'react';
2
- import PropTypes from 'prop-types';
3
- export declare type Props = {
4
- imageSrc: string;
5
- title: ReactNode;
6
- label?: string;
7
- paragraph1: ReactNode;
8
- paragraph2?: ReactNode;
9
- bodyContent?: ReactNode;
10
- children?: never;
11
- };
12
- declare const MaintenancePageLayout: {
13
- (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
14
- displayName: string;
15
- propTypes: {
16
- imageSrc: PropTypes.Validator<string>;
17
- label: PropTypes.Requireable<string>;
18
- title: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
19
- paragraph1: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
20
- paragraph2: PropTypes.Requireable<PropTypes.ReactNodeLike>;
21
- bodyContent: PropTypes.Requireable<PropTypes.ReactNodeLike>;
22
- };
23
- };
24
- export default MaintenancePageLayout;
1
+ import { ReactNode } from 'react';
2
+ import PropTypes from 'prop-types';
3
+ export declare type Props = {
4
+ imageSrc: string;
5
+ title: ReactNode;
6
+ label?: string;
7
+ paragraph1: ReactNode;
8
+ paragraph2?: ReactNode;
9
+ bodyContent?: ReactNode;
10
+ children?: never;
11
+ };
12
+ declare const MaintenancePageLayout: {
13
+ (props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
14
+ displayName: string;
15
+ propTypes: {
16
+ imageSrc: PropTypes.Validator<string>;
17
+ label: PropTypes.Requireable<string>;
18
+ title: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
19
+ paragraph1: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
20
+ paragraph2: PropTypes.Requireable<PropTypes.ReactNodeLike>;
21
+ bodyContent: PropTypes.Requireable<PropTypes.ReactNodeLike>;
22
+ };
23
+ };
24
+ export default MaintenancePageLayout;