@commercetools-frontend/application-components 0.0.0-FEC-157-preview-releases-20241126230331

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 (102) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +7 -0
  3. package/dist/commercetools-frontend-application-components.cjs.d.ts +2 -0
  4. package/dist/commercetools-frontend-application-components.cjs.d.ts.map +1 -0
  5. package/dist/commercetools-frontend-application-components.cjs.dev.js +2878 -0
  6. package/dist/commercetools-frontend-application-components.cjs.js +7 -0
  7. package/dist/commercetools-frontend-application-components.cjs.prod.js +2168 -0
  8. package/dist/commercetools-frontend-application-components.esm.js +2807 -0
  9. package/dist/declarations/src/components/custom-views/custom-view-loader/custom-view-loader.d.ts +8 -0
  10. package/dist/declarations/src/components/custom-views/custom-view-loader/index.d.ts +1 -0
  11. package/dist/declarations/src/components/custom-views/custom-view-loader/messages.d.ts +7 -0
  12. package/dist/declarations/src/components/custom-views/custom-views-selector/custom-views-selector.d.ts +10 -0
  13. package/dist/declarations/src/components/custom-views/custom-views-selector/index.d.ts +1 -0
  14. package/dist/declarations/src/components/custom-views/custom-views-selector/messages.d.ts +7 -0
  15. package/dist/declarations/src/components/custom-views/custom-views-selector/use-custom-views-connector.d.ts +11 -0
  16. package/dist/declarations/src/components/detail-pages/custom-form-detail-page/custom-form-detail-page.d.ts +237 -0
  17. package/dist/declarations/src/components/detail-pages/custom-form-detail-page/index.d.ts +1 -0
  18. package/dist/declarations/src/components/detail-pages/form-detail-page/form-detail-page.d.ts +180 -0
  19. package/dist/declarations/src/components/detail-pages/form-detail-page/index.d.ts +1 -0
  20. package/dist/declarations/src/components/detail-pages/info-detail-page/index.d.ts +1 -0
  21. package/dist/declarations/src/components/detail-pages/info-detail-page/info-detail-page.d.ts +59 -0
  22. package/dist/declarations/src/components/detail-pages/tabular-detail-page/index.d.ts +1 -0
  23. package/dist/declarations/src/components/detail-pages/tabular-detail-page/tabular-detail-page.d.ts +240 -0
  24. package/dist/declarations/src/components/dialogs/confirmation-dialog/confirmation-dialog.d.ts +111 -0
  25. package/dist/declarations/src/components/dialogs/confirmation-dialog/index.d.ts +1 -0
  26. package/dist/declarations/src/components/dialogs/form-dialog/form-dialog.d.ts +113 -0
  27. package/dist/declarations/src/components/dialogs/form-dialog/index.d.ts +1 -0
  28. package/dist/declarations/src/components/dialogs/info-dialog/index.d.ts +1 -0
  29. package/dist/declarations/src/components/dialogs/info-dialog/info-dialog.d.ts +19 -0
  30. package/dist/declarations/src/components/dialogs/internals/dialog-container.d.ts +18 -0
  31. package/dist/declarations/src/components/dialogs/internals/dialog-content.d.ts +6 -0
  32. package/dist/declarations/src/components/dialogs/internals/dialog-footer.d.ts +29 -0
  33. package/dist/declarations/src/components/dialogs/internals/dialog-header.d.ts +15 -0
  34. package/dist/declarations/src/components/dialogs/internals/dialog.styles.d.ts +8 -0
  35. package/dist/declarations/src/components/drawer/drawer.d.ts +181 -0
  36. package/dist/declarations/src/components/drawer/index.d.ts +1 -0
  37. package/dist/declarations/src/components/internals/default-form-buttons.d.ts +38 -0
  38. package/dist/declarations/src/components/internals/messages.d.ts +11 -0
  39. package/dist/declarations/src/components/internals/page-header-title.d.ts +15 -0
  40. package/dist/declarations/src/components/internals/page-header.d.ts +15 -0
  41. package/dist/declarations/src/components/internals/page-top-bar.d.ts +20 -0
  42. package/dist/declarations/src/components/internals/page.styles.d.ts +13 -0
  43. package/dist/declarations/src/components/internals/tabular-page.d.ts +27 -0
  44. package/dist/declarations/src/components/main-pages/custom-form-main-page/custom-form-main-page.d.ts +233 -0
  45. package/dist/declarations/src/components/main-pages/custom-form-main-page/index.d.ts +1 -0
  46. package/dist/declarations/src/components/main-pages/form-main-page/form-main-page.d.ts +174 -0
  47. package/dist/declarations/src/components/main-pages/form-main-page/index.d.ts +1 -0
  48. package/dist/declarations/src/components/main-pages/info-main-page/index.d.ts +1 -0
  49. package/dist/declarations/src/components/main-pages/info-main-page/info-main-page.d.ts +45 -0
  50. package/dist/declarations/src/components/main-pages/internals/main-page.styles.d.ts +13 -0
  51. package/dist/declarations/src/components/main-pages/tabular-main-page/index.d.ts +1 -0
  52. package/dist/declarations/src/components/main-pages/tabular-main-page/tabular-main-page.d.ts +228 -0
  53. package/dist/declarations/src/components/maintenance-page-layout/index.d.ts +1 -0
  54. package/dist/declarations/src/components/maintenance-page-layout/maintenance-page-layout.d.ts +15 -0
  55. package/dist/declarations/src/components/modal-pages/custom-form-modal-page/custom-form-modal-page.d.ts +207 -0
  56. package/dist/declarations/src/components/modal-pages/custom-form-modal-page/index.d.ts +1 -0
  57. package/dist/declarations/src/components/modal-pages/form-modal-page/form-modal-page.d.ts +129 -0
  58. package/dist/declarations/src/components/modal-pages/form-modal-page/index.d.ts +1 -0
  59. package/dist/declarations/src/components/modal-pages/info-modal-page/index.d.ts +1 -0
  60. package/dist/declarations/src/components/modal-pages/info-modal-page/info-modal-page.d.ts +38 -0
  61. package/dist/declarations/src/components/modal-pages/internals/modal-page.d.ts +40 -0
  62. package/dist/declarations/src/components/modal-pages/internals/modal-page.styles.d.ts +31 -0
  63. package/dist/declarations/src/components/modal-pages/tabular-modal-page/index.d.ts +1 -0
  64. package/dist/declarations/src/components/modal-pages/tabular-modal-page/tabular-modal-page.d.ts +211 -0
  65. package/dist/declarations/src/components/modal-pages/utils/index.d.ts +1 -0
  66. package/dist/declarations/src/components/modal-pages/utils/modal-page-top-bar.d.ts +27 -0
  67. package/dist/declarations/src/components/page-content-containers/page-content-full/index.d.ts +2 -0
  68. package/dist/declarations/src/components/page-content-containers/page-content-full/page-content-full.d.ts +6 -0
  69. package/dist/declarations/src/components/page-content-containers/page-content-narrow/index.d.ts +2 -0
  70. package/dist/declarations/src/components/page-content-containers/page-content-narrow/page-content-narrow.d.ts +6 -0
  71. package/dist/declarations/src/components/page-content-containers/page-content-wide/index.d.ts +2 -0
  72. package/dist/declarations/src/components/page-content-containers/page-content-wide/page-content-wide.d.ts +12 -0
  73. package/dist/declarations/src/components/page-not-found/index.d.ts +1 -0
  74. package/dist/declarations/src/components/page-not-found/messages.d.ts +11 -0
  75. package/dist/declarations/src/components/page-not-found/page-not-found.d.ts +5 -0
  76. package/dist/declarations/src/components/page-unauthorized/index.d.ts +1 -0
  77. package/dist/declarations/src/components/page-unauthorized/messages.d.ts +15 -0
  78. package/dist/declarations/src/components/page-unauthorized/page-unauthorized.d.ts +5 -0
  79. package/dist/declarations/src/components/portals-container/index.d.ts +1 -0
  80. package/dist/declarations/src/components/portals-container/portals-container.d.ts +44 -0
  81. package/dist/declarations/src/components/project-stamp/messages.d.ts +19 -0
  82. package/dist/declarations/src/components/project-stamp/project-stamp.d.ts +9 -0
  83. package/dist/declarations/src/components/public-page-layout/index.d.ts +8 -0
  84. package/dist/declarations/src/components/public-page-layout/public-page-layout.d.ts +26 -0
  85. package/dist/declarations/src/components/public-page-layout/public-page-layout.styles.d.ts +13 -0
  86. package/dist/declarations/src/components/tab-header/index.d.ts +1 -0
  87. package/dist/declarations/src/components/tab-header/tab-header.d.ts +37 -0
  88. package/dist/declarations/src/components/tab-header/tab.styles.d.ts +2 -0
  89. package/dist/declarations/src/hooks/use-custom-view-locator-selector/index.d.ts +1 -0
  90. package/dist/declarations/src/hooks/use-custom-view-locator-selector/use-custom-view-locator-selector.d.ts +5 -0
  91. package/dist/declarations/src/hooks/use-modal-state/index.d.ts +1 -0
  92. package/dist/declarations/src/hooks/use-modal-state/use-modal-state.d.ts +6 -0
  93. package/dist/declarations/src/index.d.ts +35 -0
  94. package/dist/declarations/src/theming.d.ts +13 -0
  95. package/dist/declarations/src/types/generated/settings.d.ts +2116 -0
  96. package/dist/declarations/src/utils/filter-data-attributes.d.ts +1 -0
  97. package/dist/declarations/src/version.d.ts +2 -0
  98. package/dist/public-page-layout-3fba954d.esm.js +110 -0
  99. package/dist/public-page-layout-81be35b4.cjs.dev.js +128 -0
  100. package/dist/public-page-layout-d365f38f.cjs.prod.js +108 -0
  101. package/materials/media-queries.css +15 -0
  102. package/package.json +103 -0
@@ -0,0 +1,181 @@
1
+ import type { ReactElement, ReactNode, SyntheticEvent } from 'react';
2
+ import { type CSSObject } from '@emotion/styled';
3
+ type MessageDescriptor = {
4
+ id: string;
5
+ description?: string | object;
6
+ defaultMessage?: string;
7
+ };
8
+ type Label = string | MessageDescriptor;
9
+ type TDrawerSize = 10 | 20 | 30;
10
+ type TDrawerProps = {
11
+ size: TDrawerSize;
12
+ isOpen: boolean;
13
+ onClose?: (event: SyntheticEvent) => void;
14
+ children: ReactNode;
15
+ topBarColor?: 'neutral' | 'surface';
16
+ title: string;
17
+ subtitle?: string;
18
+ zIndex?: number;
19
+ getParentSelector?: () => HTMLElement;
20
+ shouldDelayOnClose?: boolean;
21
+ afterOpenStyles?: string | CSSObject;
22
+ hideControls?: boolean;
23
+ formControls?: ReactNode;
24
+ isPrimaryButtonDisabled?: boolean;
25
+ isSecondaryButtonDisabled?: boolean;
26
+ dataAttributesPrimaryButton?: {
27
+ [key: string]: string;
28
+ };
29
+ dataAttributesSecondaryButton?: {
30
+ [key: string]: string;
31
+ };
32
+ labelPrimaryButton?: Label;
33
+ labelSecondaryButton?: Label;
34
+ onPrimaryButtonClick: (event: SyntheticEvent) => void;
35
+ onSecondaryButtonClick: (event: SyntheticEvent) => void;
36
+ iconLeftSecondaryButton?: ReactElement;
37
+ };
38
+ declare function Drawer(props: TDrawerProps): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
39
+ declare namespace Drawer {
40
+ var displayName: string;
41
+ var defaultProps: Pick<TDrawerProps, "size" | "onSecondaryButtonClick" | "onPrimaryButtonClick" | "hideControls">;
42
+ var FormPrimaryButton: {
43
+ (props: {
44
+ iconLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
45
+ } & {
46
+ label: string | {
47
+ id: string;
48
+ description?: string | object | undefined;
49
+ defaultMessage?: string | undefined;
50
+ };
51
+ onClick: (event: SyntheticEvent<Element, Event>) => void;
52
+ isDisabled: boolean;
53
+ dataAttributes: {
54
+ [key: string]: string;
55
+ };
56
+ children?: undefined;
57
+ }): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
58
+ displayName: string;
59
+ defaultProps: Pick<{
60
+ label: string | {
61
+ id: string;
62
+ description?: string | object | undefined;
63
+ defaultMessage?: string | undefined;
64
+ };
65
+ onClick: (event: SyntheticEvent<Element, Event>) => void;
66
+ isDisabled: boolean;
67
+ dataAttributes: {
68
+ [key: string]: string;
69
+ };
70
+ children?: undefined;
71
+ }, "label" | "isDisabled" | "dataAttributes">;
72
+ };
73
+ var FormSecondaryButton: {
74
+ (props: {
75
+ iconLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
76
+ } & {
77
+ label: string | {
78
+ id: string;
79
+ description?: string | object | undefined;
80
+ defaultMessage?: string | undefined;
81
+ };
82
+ onClick: (event: SyntheticEvent<Element, Event>) => void;
83
+ isDisabled: boolean;
84
+ dataAttributes: {
85
+ [key: string]: string;
86
+ };
87
+ children?: undefined;
88
+ }): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
89
+ displayName: string;
90
+ defaultProps: Pick<{
91
+ iconLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
92
+ } & {
93
+ label: string | {
94
+ id: string;
95
+ description?: string | object | undefined;
96
+ defaultMessage?: string | undefined;
97
+ };
98
+ onClick: (event: SyntheticEvent<Element, Event>) => void;
99
+ isDisabled: boolean;
100
+ dataAttributes: {
101
+ [key: string]: string;
102
+ };
103
+ children?: undefined;
104
+ }, "label" | "isDisabled" | "dataAttributes">;
105
+ };
106
+ var Intl: {
107
+ cancel: {
108
+ id: string;
109
+ defaultMessage: string;
110
+ };
111
+ revert: {
112
+ id: string;
113
+ defaultMessage: string;
114
+ };
115
+ confirm: {
116
+ id: string;
117
+ defaultMessage: string;
118
+ };
119
+ save: {
120
+ id: string;
121
+ defaultMessage: string;
122
+ };
123
+ update: {
124
+ id: string;
125
+ defaultMessage: string;
126
+ };
127
+ create: {
128
+ id: string;
129
+ defaultMessage: string;
130
+ };
131
+ delete: {
132
+ id: string;
133
+ defaultMessage: string;
134
+ };
135
+ add: {
136
+ id: string;
137
+ defaultMessage: string;
138
+ };
139
+ remove: {
140
+ id: string;
141
+ defaultMessage: string;
142
+ };
143
+ close: {
144
+ id: string;
145
+ defaultMessage: string;
146
+ };
147
+ edit: {
148
+ id: string;
149
+ defaultMessage: string;
150
+ };
151
+ open: {
152
+ id: string;
153
+ defaultMessage: string;
154
+ };
155
+ activate: {
156
+ id: string;
157
+ defaultMessage: string;
158
+ };
159
+ deactivate: {
160
+ id: string;
161
+ defaultMessage: string;
162
+ };
163
+ active: {
164
+ id: string;
165
+ defaultMessage: string;
166
+ };
167
+ inactive: {
168
+ id: string;
169
+ defaultMessage: string;
170
+ };
171
+ enable: {
172
+ id: string;
173
+ defaultMessage: string;
174
+ };
175
+ disable: {
176
+ id: string;
177
+ defaultMessage: string;
178
+ };
179
+ };
180
+ }
181
+ export default Drawer;
@@ -0,0 +1 @@
1
+ export { default } from './drawer';
@@ -0,0 +1,38 @@
1
+ import type { ReactElement, SyntheticEvent } from 'react';
2
+ type MessageDescriptor = {
3
+ id: string;
4
+ description?: string | object;
5
+ defaultMessage?: string;
6
+ };
7
+ type Label = string | MessageDescriptor;
8
+ type Props = {
9
+ label: Label;
10
+ onClick: (event: SyntheticEvent) => void;
11
+ isDisabled: boolean;
12
+ dataAttributes: {
13
+ [key: string]: string;
14
+ };
15
+ children?: never;
16
+ };
17
+ type PrimaryButtonProps = {
18
+ iconLeft?: ReactElement;
19
+ } & Props;
20
+ declare const FormPrimaryButton: {
21
+ (props: PrimaryButtonProps): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
22
+ displayName: string;
23
+ defaultProps: Pick<Props, "label" | "isDisabled" | "dataAttributes">;
24
+ };
25
+ type SecondaryButtonProps = {
26
+ iconLeft?: ReactElement;
27
+ } & Props;
28
+ declare const FormSecondaryButton: {
29
+ (props: SecondaryButtonProps): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
30
+ displayName: string;
31
+ defaultProps: Pick<SecondaryButtonProps, "label" | "isDisabled" | "dataAttributes">;
32
+ };
33
+ declare const FormDeleteButton: {
34
+ (props: Props): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
35
+ displayName: string;
36
+ defaultProps: Pick<Props, "label" | "isDisabled" | "dataAttributes">;
37
+ };
38
+ export { FormPrimaryButton, FormSecondaryButton, FormDeleteButton };
@@ -0,0 +1,11 @@
1
+ declare const messages: {
2
+ back: {
3
+ id: string;
4
+ defaultMessage: string;
5
+ };
6
+ close: {
7
+ id: string;
8
+ defaultMessage: string;
9
+ };
10
+ };
11
+ export default messages;
@@ -0,0 +1,15 @@
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
+ (props: Props): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
12
+ displayName: string;
13
+ defaultProps: Pick<Props, "truncate" | "titleSize">;
14
+ };
15
+ export default PageHeaderTitle;
@@ -0,0 +1,15 @@
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
+ children?: ReactNode;
10
+ };
11
+ declare const PageHeader: {
12
+ (props: Props): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
13
+ displayName: string;
14
+ };
15
+ export default PageHeader;
@@ -0,0 +1,20 @@
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
+ (props: Props): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
17
+ displayName: string;
18
+ defaultProps: Pick<Props, "color" | "previousPathLabel">;
19
+ };
20
+ export default PageTopBar;
@@ -0,0 +1,13 @@
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> | 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> | 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> | undefined;
13
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,27 @@
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/types/jsx-namespace").EmotionJSX.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> | 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> | 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> | 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> | undefined;
26
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
27
+ export { ControlsContainter, TabularPageContainer, TabularModalPageContainer, FormControlsContainer, CustomViewsSelectorWrapper, };
@@ -0,0 +1,233 @@
1
+ import type { ReactElement, ReactNode } from 'react';
2
+ type CustomFormMainPageProps = {
3
+ /**
4
+ * The title of the page.
5
+ */
6
+ title?: string;
7
+ /**
8
+ * The subtitle of the page.
9
+ */
10
+ subtitle?: string | ReactElement;
11
+ /**
12
+ * Replaces the title/subtitle row with a custom one (for special use cases).
13
+ */
14
+ customTitleRow?: ReactNode;
15
+ /**
16
+ * This code is used to configure which Custom Views are available for this page.
17
+ */
18
+ customViewLocatorCode?: string;
19
+ /**
20
+ * Any React node displayed as the content within the page.
21
+ */
22
+ children: ReactNode;
23
+ /**
24
+ * Any React node to be rendered as the form controls.
25
+ */
26
+ formControls?: ReactNode;
27
+ /**
28
+ * Determines if the form controls should be rendered.
29
+ */
30
+ hideControls?: boolean;
31
+ /**
32
+ * Determines whether the divider between header and content should be hidden.
33
+ * (default: false)
34
+ */
35
+ hideDivider?: boolean;
36
+ };
37
+ declare const CustomFormMainPage: {
38
+ (props: CustomFormMainPageProps): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
39
+ displayName: string;
40
+ defaultProps: Pick<CustomFormMainPageProps, "hideControls" | "hideDivider">;
41
+ PageHeaderTitle: {
42
+ (props: {
43
+ title: string;
44
+ titleSize: "big" | "small" | "medium";
45
+ truncate: boolean;
46
+ subtitle?: string | ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
47
+ children?: undefined;
48
+ }): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
49
+ displayName: string;
50
+ defaultProps: Pick<{
51
+ title: string;
52
+ titleSize: "big" | "small" | "medium";
53
+ truncate: boolean;
54
+ subtitle?: string | ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
55
+ children?: undefined;
56
+ }, "truncate" | "titleSize">;
57
+ };
58
+ FormPrimaryButton: {
59
+ (props: {
60
+ iconLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
61
+ } & {
62
+ label: string | {
63
+ id: string;
64
+ description?: string | object | undefined;
65
+ defaultMessage?: string | undefined;
66
+ };
67
+ onClick: (event: import("react").SyntheticEvent<Element, Event>) => void;
68
+ isDisabled: boolean;
69
+ dataAttributes: {
70
+ [key: string]: string;
71
+ };
72
+ children?: undefined;
73
+ }): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
74
+ displayName: string;
75
+ defaultProps: Pick<{
76
+ label: string | {
77
+ id: string;
78
+ description?: string | object | undefined;
79
+ defaultMessage?: string | undefined;
80
+ };
81
+ onClick: (event: import("react").SyntheticEvent<Element, Event>) => void;
82
+ isDisabled: boolean;
83
+ dataAttributes: {
84
+ [key: string]: string;
85
+ };
86
+ children?: undefined;
87
+ }, "label" | "isDisabled" | "dataAttributes">;
88
+ };
89
+ FormSecondaryButton: {
90
+ (props: {
91
+ iconLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
92
+ } & {
93
+ label: string | {
94
+ id: string;
95
+ description?: string | object | undefined;
96
+ defaultMessage?: string | undefined;
97
+ };
98
+ onClick: (event: import("react").SyntheticEvent<Element, Event>) => void;
99
+ isDisabled: boolean;
100
+ dataAttributes: {
101
+ [key: string]: string;
102
+ };
103
+ children?: undefined;
104
+ }): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
105
+ displayName: string;
106
+ defaultProps: Pick<{
107
+ iconLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
108
+ } & {
109
+ label: string | {
110
+ id: string;
111
+ description?: string | object | undefined;
112
+ defaultMessage?: string | undefined;
113
+ };
114
+ onClick: (event: import("react").SyntheticEvent<Element, Event>) => void;
115
+ isDisabled: boolean;
116
+ dataAttributes: {
117
+ [key: string]: string;
118
+ };
119
+ children?: undefined;
120
+ }, "label" | "isDisabled" | "dataAttributes">;
121
+ };
122
+ FormDeleteButton: {
123
+ (props: {
124
+ label: string | {
125
+ id: string;
126
+ description?: string | object | undefined;
127
+ defaultMessage?: string | undefined;
128
+ };
129
+ onClick: (event: import("react").SyntheticEvent<Element, Event>) => void;
130
+ isDisabled: boolean;
131
+ dataAttributes: {
132
+ [key: string]: string;
133
+ };
134
+ children?: undefined;
135
+ }): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
136
+ displayName: string;
137
+ defaultProps: Pick<{
138
+ label: string | {
139
+ id: string;
140
+ description?: string | object | undefined;
141
+ defaultMessage?: string | undefined;
142
+ };
143
+ onClick: (event: import("react").SyntheticEvent<Element, Event>) => void;
144
+ isDisabled: boolean;
145
+ dataAttributes: {
146
+ [key: string]: string;
147
+ };
148
+ children?: undefined;
149
+ }, "label" | "isDisabled" | "dataAttributes">;
150
+ };
151
+ Intl: {
152
+ cancel: {
153
+ id: string;
154
+ defaultMessage: string;
155
+ };
156
+ revert: {
157
+ id: string;
158
+ defaultMessage: string;
159
+ };
160
+ confirm: {
161
+ id: string;
162
+ defaultMessage: string;
163
+ };
164
+ save: {
165
+ id: string;
166
+ defaultMessage: string;
167
+ };
168
+ update: {
169
+ id: string;
170
+ defaultMessage: string;
171
+ };
172
+ create: {
173
+ id: string;
174
+ defaultMessage: string;
175
+ };
176
+ delete: {
177
+ id: string;
178
+ defaultMessage: string;
179
+ };
180
+ add: {
181
+ id: string;
182
+ defaultMessage: string; /**
183
+ * The subtitle of the page.
184
+ */
185
+ };
186
+ remove: {
187
+ id: string;
188
+ defaultMessage: string; /**
189
+ * Replaces the title/subtitle row with a custom one (for special use cases).
190
+ */
191
+ };
192
+ close: {
193
+ id: string;
194
+ defaultMessage: string;
195
+ };
196
+ edit: {
197
+ id: string;
198
+ defaultMessage: string;
199
+ };
200
+ open: {
201
+ id: string;
202
+ defaultMessage: string;
203
+ };
204
+ activate: {
205
+ id: string;
206
+ defaultMessage: string;
207
+ };
208
+ deactivate: {
209
+ id: string;
210
+ defaultMessage: string;
211
+ };
212
+ active: {
213
+ id: string;
214
+ defaultMessage: string;
215
+ };
216
+ inactive: {
217
+ id: string;
218
+ defaultMessage: string; /**
219
+ * Determines whether the divider between header and content should be hidden.
220
+ * (default: false)
221
+ */
222
+ };
223
+ enable: {
224
+ id: string;
225
+ defaultMessage: string;
226
+ };
227
+ disable: {
228
+ id: string;
229
+ defaultMessage: string;
230
+ };
231
+ };
232
+ };
233
+ export default CustomFormMainPage;
@@ -0,0 +1 @@
1
+ export { default } from './custom-form-main-page';