@commercetools-frontend/application-components 20.9.3 → 20.10.4
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.dev.js +1 -1
- package/dist/commercetools-frontend-application-components.cjs.prod.js +1 -1
- package/dist/commercetools-frontend-application-components.esm.js +1 -1
- package/dist/declarations/src/components/dialogs/confirmation-dialog/confirmation-dialog.d.ts +107 -107
- package/dist/declarations/src/components/dialogs/confirmation-dialog/index.d.ts +1 -1
- package/dist/declarations/src/components/dialogs/form-dialog/form-dialog.d.ts +107 -107
- 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/dialogs/info-dialog/info-dialog.d.ts +15 -15
- package/dist/declarations/src/components/dialogs/internals/dialog-container.d.ts +17 -17
- package/dist/declarations/src/components/dialogs/internals/dialog-content.d.ts +6 -6
- package/dist/declarations/src/components/dialogs/internals/dialog-footer.d.ts +27 -27
- package/dist/declarations/src/components/dialogs/internals/dialog-header.d.ts +11 -11
- package/dist/declarations/src/components/dialogs/internals/dialog.styles.d.ts +6 -6
- package/dist/declarations/src/components/maintenance-page-layout/index.d.ts +1 -1
- package/dist/declarations/src/components/maintenance-page-layout/maintenance-page-layout.d.ts +24 -24
- package/dist/declarations/src/components/modal-pages/custom-form-modal-page/custom-form-modal-page.d.ts +189 -189
- 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/form-modal-page.d.ts +114 -114
- 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/info-modal-page/info-modal-page.d.ts +26 -26
- package/dist/declarations/src/components/modal-pages/internals/default-form-buttons.d.ts +32 -32
- package/dist/declarations/src/components/modal-pages/internals/messages.d.ts +11 -11
- package/dist/declarations/src/components/modal-pages/internals/modal-page-header-title.d.ts +13 -13
- package/dist/declarations/src/components/modal-pages/internals/modal-page-header.d.ts +11 -11
- package/dist/declarations/src/components/modal-pages/internals/modal-page-top-bar.d.ts +20 -20
- package/dist/declarations/src/components/modal-pages/internals/modal-page.d.ts +28 -28
- package/dist/declarations/src/components/modal-pages/internals/modal-page.styles.d.ts +18 -18
- 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 +192 -192
- package/dist/declarations/src/components/page-not-found/index.d.ts +1 -1
- package/dist/declarations/src/components/page-not-found/messages.d.ts +11 -11
- package/dist/declarations/src/components/page-not-found/page-not-found.d.ts +5 -5
- package/dist/declarations/src/components/page-unauthorized/index.d.ts +1 -1
- package/dist/declarations/src/components/page-unauthorized/messages.d.ts +15 -15
- package/dist/declarations/src/components/page-unauthorized/page-unauthorized.d.ts +5 -5
- package/dist/declarations/src/components/portals-container/index.d.ts +1 -1
- package/dist/declarations/src/components/portals-container/portals-container.d.ts +5 -5
- package/dist/declarations/src/components/public-page-layout/index.d.ts +1 -1
- package/dist/declarations/src/components/public-page-layout/public-page-layout.d.ts +9 -9
- package/dist/declarations/src/hooks/use-modal-state/index.d.ts +1 -1
- package/dist/declarations/src/hooks/use-modal-state/use-modal-state.d.ts +6 -6
- package/dist/declarations/src/index.d.ts +14 -14
- package/dist/declarations/src/utils/filter-data-attributes.d.ts +1 -1
- package/dist/declarations/src/version.d.ts +2 -2
- package/package.json +12 -12
package/dist/declarations/src/components/modal-pages/tabular-modal-page/tabular-modal-page.d.ts
CHANGED
|
@@ -1,192 +1,192 @@
|
|
|
1
|
-
import { ReactElement, 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
|
-
level?: number;
|
|
10
|
-
title: string;
|
|
11
|
-
isOpen: boolean;
|
|
12
|
-
onClose?: (event: SyntheticEvent) => void;
|
|
13
|
-
children: ReactNode;
|
|
14
|
-
zIndex?: number;
|
|
15
|
-
baseZIndex?: number;
|
|
16
|
-
getParentSelector?: () => HTMLElement;
|
|
17
|
-
shouldDelayOnClose?: boolean;
|
|
18
|
-
topBarCurrentPathLabel?: string;
|
|
19
|
-
topBarPreviousPathLabel?: Label;
|
|
20
|
-
customTitleRow?: ReactNode;
|
|
21
|
-
tabControls: ReactNode;
|
|
22
|
-
subtitle?: string | ReactElement;
|
|
23
|
-
formControls?: ReactNode;
|
|
24
|
-
hideControls: boolean;
|
|
25
|
-
};
|
|
26
|
-
declare const TabularModalPage: {
|
|
27
|
-
(props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
28
|
-
displayName: string;
|
|
29
|
-
defaultProps: Pick<Props, "hideControls">;
|
|
30
|
-
FormPrimaryButton: {
|
|
31
|
-
(props: {
|
|
32
|
-
label: string | {
|
|
33
|
-
id: string;
|
|
34
|
-
description?: string | object | undefined;
|
|
35
|
-
defaultMessage?: string | undefined;
|
|
36
|
-
};
|
|
37
|
-
onClick: (event: SyntheticEvent<Element, Event>) => void;
|
|
38
|
-
isDisabled: boolean;
|
|
39
|
-
dataAttributes: {
|
|
40
|
-
[key: string]: string;
|
|
41
|
-
};
|
|
42
|
-
children?: undefined;
|
|
43
|
-
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
44
|
-
displayName: string;
|
|
45
|
-
defaultProps: Pick<{
|
|
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
|
-
}, "label" | "isDisabled" | "dataAttributes">;
|
|
58
|
-
};
|
|
59
|
-
FormSecondaryButton: {
|
|
60
|
-
(props: {
|
|
61
|
-
label: string | {
|
|
62
|
-
id: string;
|
|
63
|
-
description?: string | object | undefined;
|
|
64
|
-
defaultMessage?: string | undefined;
|
|
65
|
-
};
|
|
66
|
-
onClick: (event: SyntheticEvent<Element, Event>) => void;
|
|
67
|
-
isDisabled: boolean;
|
|
68
|
-
dataAttributes: {
|
|
69
|
-
[key: string]: string;
|
|
70
|
-
};
|
|
71
|
-
children?: undefined;
|
|
72
|
-
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
73
|
-
displayName: string;
|
|
74
|
-
defaultProps: Pick<{
|
|
75
|
-
label: string | {
|
|
76
|
-
id: string;
|
|
77
|
-
description?: string | object | undefined;
|
|
78
|
-
defaultMessage?: string | undefined;
|
|
79
|
-
};
|
|
80
|
-
onClick: (event: SyntheticEvent<Element, Event>) => void;
|
|
81
|
-
isDisabled: boolean;
|
|
82
|
-
dataAttributes: {
|
|
83
|
-
[key: string]: string;
|
|
84
|
-
};
|
|
85
|
-
children?: undefined;
|
|
86
|
-
}, "label" | "isDisabled" | "dataAttributes">;
|
|
87
|
-
};
|
|
88
|
-
FormDeleteButton: {
|
|
89
|
-
(props: {
|
|
90
|
-
label: string | {
|
|
91
|
-
id: string;
|
|
92
|
-
description?: string | object | undefined;
|
|
93
|
-
defaultMessage?: string | undefined;
|
|
94
|
-
};
|
|
95
|
-
onClick: (event: SyntheticEvent<Element, Event>) => void;
|
|
96
|
-
isDisabled: boolean;
|
|
97
|
-
dataAttributes: {
|
|
98
|
-
[key: string]: string;
|
|
99
|
-
};
|
|
100
|
-
children?: undefined;
|
|
101
|
-
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
102
|
-
displayName: string;
|
|
103
|
-
defaultProps: Pick<{
|
|
104
|
-
label: string | {
|
|
105
|
-
id: string;
|
|
106
|
-
description?: string | object | undefined;
|
|
107
|
-
defaultMessage?: string | undefined;
|
|
108
|
-
};
|
|
109
|
-
onClick: (event: SyntheticEvent<Element, Event>) => void;
|
|
110
|
-
isDisabled: boolean;
|
|
111
|
-
dataAttributes: {
|
|
112
|
-
[key: string]: string;
|
|
113
|
-
};
|
|
114
|
-
children?: undefined;
|
|
115
|
-
}, "label" | "isDisabled" | "dataAttributes">;
|
|
116
|
-
};
|
|
117
|
-
Intl: {
|
|
118
|
-
cancel: {
|
|
119
|
-
id: string;
|
|
120
|
-
defaultMessage: string;
|
|
121
|
-
};
|
|
122
|
-
revert: {
|
|
123
|
-
id: string;
|
|
124
|
-
defaultMessage: string;
|
|
125
|
-
};
|
|
126
|
-
confirm: {
|
|
127
|
-
id: string;
|
|
128
|
-
defaultMessage: string;
|
|
129
|
-
};
|
|
130
|
-
save: {
|
|
131
|
-
id: string;
|
|
132
|
-
defaultMessage: string;
|
|
133
|
-
};
|
|
134
|
-
update: {
|
|
135
|
-
id: string;
|
|
136
|
-
defaultMessage: string;
|
|
137
|
-
};
|
|
138
|
-
create: {
|
|
139
|
-
id: string;
|
|
140
|
-
defaultMessage: string;
|
|
141
|
-
};
|
|
142
|
-
delete: {
|
|
143
|
-
id: string;
|
|
144
|
-
defaultMessage: string;
|
|
145
|
-
};
|
|
146
|
-
add: {
|
|
147
|
-
id: string;
|
|
148
|
-
defaultMessage: string;
|
|
149
|
-
};
|
|
150
|
-
remove: {
|
|
151
|
-
id: string;
|
|
152
|
-
defaultMessage: string;
|
|
153
|
-
};
|
|
154
|
-
close: {
|
|
155
|
-
id: string;
|
|
156
|
-
defaultMessage: string;
|
|
157
|
-
};
|
|
158
|
-
edit: {
|
|
159
|
-
id: string;
|
|
160
|
-
defaultMessage: string;
|
|
161
|
-
};
|
|
162
|
-
open: {
|
|
163
|
-
id: string;
|
|
164
|
-
defaultMessage: string;
|
|
165
|
-
};
|
|
166
|
-
activate: {
|
|
167
|
-
id: string;
|
|
168
|
-
defaultMessage: string;
|
|
169
|
-
};
|
|
170
|
-
deactivate: {
|
|
171
|
-
id: string;
|
|
172
|
-
defaultMessage: string;
|
|
173
|
-
};
|
|
174
|
-
active: {
|
|
175
|
-
id: string;
|
|
176
|
-
defaultMessage: string;
|
|
177
|
-
};
|
|
178
|
-
inactive: {
|
|
179
|
-
id: string;
|
|
180
|
-
defaultMessage: string;
|
|
181
|
-
};
|
|
182
|
-
enable: {
|
|
183
|
-
id: string;
|
|
184
|
-
defaultMessage: string;
|
|
185
|
-
};
|
|
186
|
-
disable: {
|
|
187
|
-
id: string;
|
|
188
|
-
defaultMessage: string;
|
|
189
|
-
};
|
|
190
|
-
};
|
|
191
|
-
};
|
|
192
|
-
export default TabularModalPage;
|
|
1
|
+
import { ReactElement, 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
|
+
level?: number;
|
|
10
|
+
title: string;
|
|
11
|
+
isOpen: boolean;
|
|
12
|
+
onClose?: (event: SyntheticEvent) => void;
|
|
13
|
+
children: ReactNode;
|
|
14
|
+
zIndex?: number;
|
|
15
|
+
baseZIndex?: number;
|
|
16
|
+
getParentSelector?: () => HTMLElement;
|
|
17
|
+
shouldDelayOnClose?: boolean;
|
|
18
|
+
topBarCurrentPathLabel?: string;
|
|
19
|
+
topBarPreviousPathLabel?: Label;
|
|
20
|
+
customTitleRow?: ReactNode;
|
|
21
|
+
tabControls: ReactNode;
|
|
22
|
+
subtitle?: string | ReactElement;
|
|
23
|
+
formControls?: ReactNode;
|
|
24
|
+
hideControls: boolean;
|
|
25
|
+
};
|
|
26
|
+
declare const TabularModalPage: {
|
|
27
|
+
(props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
28
|
+
displayName: string;
|
|
29
|
+
defaultProps: Pick<Props, "hideControls">;
|
|
30
|
+
FormPrimaryButton: {
|
|
31
|
+
(props: {
|
|
32
|
+
label: string | {
|
|
33
|
+
id: string;
|
|
34
|
+
description?: string | object | undefined;
|
|
35
|
+
defaultMessage?: string | undefined;
|
|
36
|
+
};
|
|
37
|
+
onClick: (event: SyntheticEvent<Element, Event>) => void;
|
|
38
|
+
isDisabled: boolean;
|
|
39
|
+
dataAttributes: {
|
|
40
|
+
[key: string]: string;
|
|
41
|
+
};
|
|
42
|
+
children?: undefined;
|
|
43
|
+
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
44
|
+
displayName: string;
|
|
45
|
+
defaultProps: Pick<{
|
|
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
|
+
}, "label" | "isDisabled" | "dataAttributes">;
|
|
58
|
+
};
|
|
59
|
+
FormSecondaryButton: {
|
|
60
|
+
(props: {
|
|
61
|
+
label: string | {
|
|
62
|
+
id: string;
|
|
63
|
+
description?: string | object | undefined;
|
|
64
|
+
defaultMessage?: string | undefined;
|
|
65
|
+
};
|
|
66
|
+
onClick: (event: SyntheticEvent<Element, Event>) => void;
|
|
67
|
+
isDisabled: boolean;
|
|
68
|
+
dataAttributes: {
|
|
69
|
+
[key: string]: string;
|
|
70
|
+
};
|
|
71
|
+
children?: undefined;
|
|
72
|
+
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
73
|
+
displayName: string;
|
|
74
|
+
defaultProps: Pick<{
|
|
75
|
+
label: string | {
|
|
76
|
+
id: string;
|
|
77
|
+
description?: string | object | undefined;
|
|
78
|
+
defaultMessage?: string | undefined;
|
|
79
|
+
};
|
|
80
|
+
onClick: (event: SyntheticEvent<Element, Event>) => void;
|
|
81
|
+
isDisabled: boolean;
|
|
82
|
+
dataAttributes: {
|
|
83
|
+
[key: string]: string;
|
|
84
|
+
};
|
|
85
|
+
children?: undefined;
|
|
86
|
+
}, "label" | "isDisabled" | "dataAttributes">;
|
|
87
|
+
};
|
|
88
|
+
FormDeleteButton: {
|
|
89
|
+
(props: {
|
|
90
|
+
label: string | {
|
|
91
|
+
id: string;
|
|
92
|
+
description?: string | object | undefined;
|
|
93
|
+
defaultMessage?: string | undefined;
|
|
94
|
+
};
|
|
95
|
+
onClick: (event: SyntheticEvent<Element, Event>) => void;
|
|
96
|
+
isDisabled: boolean;
|
|
97
|
+
dataAttributes: {
|
|
98
|
+
[key: string]: string;
|
|
99
|
+
};
|
|
100
|
+
children?: undefined;
|
|
101
|
+
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
102
|
+
displayName: string;
|
|
103
|
+
defaultProps: Pick<{
|
|
104
|
+
label: string | {
|
|
105
|
+
id: string;
|
|
106
|
+
description?: string | object | undefined;
|
|
107
|
+
defaultMessage?: string | undefined;
|
|
108
|
+
};
|
|
109
|
+
onClick: (event: SyntheticEvent<Element, Event>) => void;
|
|
110
|
+
isDisabled: boolean;
|
|
111
|
+
dataAttributes: {
|
|
112
|
+
[key: string]: string;
|
|
113
|
+
};
|
|
114
|
+
children?: undefined;
|
|
115
|
+
}, "label" | "isDisabled" | "dataAttributes">;
|
|
116
|
+
};
|
|
117
|
+
Intl: {
|
|
118
|
+
cancel: {
|
|
119
|
+
id: string;
|
|
120
|
+
defaultMessage: string;
|
|
121
|
+
};
|
|
122
|
+
revert: {
|
|
123
|
+
id: string;
|
|
124
|
+
defaultMessage: string;
|
|
125
|
+
};
|
|
126
|
+
confirm: {
|
|
127
|
+
id: string;
|
|
128
|
+
defaultMessage: string;
|
|
129
|
+
};
|
|
130
|
+
save: {
|
|
131
|
+
id: string;
|
|
132
|
+
defaultMessage: string;
|
|
133
|
+
};
|
|
134
|
+
update: {
|
|
135
|
+
id: string;
|
|
136
|
+
defaultMessage: string;
|
|
137
|
+
};
|
|
138
|
+
create: {
|
|
139
|
+
id: string;
|
|
140
|
+
defaultMessage: string;
|
|
141
|
+
};
|
|
142
|
+
delete: {
|
|
143
|
+
id: string;
|
|
144
|
+
defaultMessage: string;
|
|
145
|
+
};
|
|
146
|
+
add: {
|
|
147
|
+
id: string;
|
|
148
|
+
defaultMessage: string;
|
|
149
|
+
};
|
|
150
|
+
remove: {
|
|
151
|
+
id: string;
|
|
152
|
+
defaultMessage: string;
|
|
153
|
+
};
|
|
154
|
+
close: {
|
|
155
|
+
id: string;
|
|
156
|
+
defaultMessage: string;
|
|
157
|
+
};
|
|
158
|
+
edit: {
|
|
159
|
+
id: string;
|
|
160
|
+
defaultMessage: string;
|
|
161
|
+
};
|
|
162
|
+
open: {
|
|
163
|
+
id: string;
|
|
164
|
+
defaultMessage: string;
|
|
165
|
+
};
|
|
166
|
+
activate: {
|
|
167
|
+
id: string;
|
|
168
|
+
defaultMessage: string;
|
|
169
|
+
};
|
|
170
|
+
deactivate: {
|
|
171
|
+
id: string;
|
|
172
|
+
defaultMessage: string;
|
|
173
|
+
};
|
|
174
|
+
active: {
|
|
175
|
+
id: string;
|
|
176
|
+
defaultMessage: string;
|
|
177
|
+
};
|
|
178
|
+
inactive: {
|
|
179
|
+
id: string;
|
|
180
|
+
defaultMessage: string;
|
|
181
|
+
};
|
|
182
|
+
enable: {
|
|
183
|
+
id: string;
|
|
184
|
+
defaultMessage: string;
|
|
185
|
+
};
|
|
186
|
+
disable: {
|
|
187
|
+
id: string;
|
|
188
|
+
defaultMessage: string;
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
export default TabularModalPage;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from './page-not-found';
|
|
1
|
+
export { default } from './page-not-found';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
title: {
|
|
3
|
-
id: string;
|
|
4
|
-
defaultMessage: string;
|
|
5
|
-
};
|
|
6
|
-
paragraph1: {
|
|
7
|
-
id: string;
|
|
8
|
-
defaultMessage: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: {
|
|
3
|
+
id: string;
|
|
4
|
+
defaultMessage: string;
|
|
5
|
+
};
|
|
6
|
+
paragraph1: {
|
|
7
|
+
id: string;
|
|
8
|
+
defaultMessage: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
declare const PageNotFound: {
|
|
2
|
-
(): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
|
-
displayName: string;
|
|
4
|
-
};
|
|
5
|
-
export default PageNotFound;
|
|
1
|
+
declare const PageNotFound: {
|
|
2
|
+
(): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
|
+
displayName: string;
|
|
4
|
+
};
|
|
5
|
+
export default PageNotFound;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from './page-unauthorized';
|
|
1
|
+
export { default } from './page-unauthorized';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
title: {
|
|
3
|
-
id: string;
|
|
4
|
-
defaultMessage: string;
|
|
5
|
-
};
|
|
6
|
-
paragraph1: {
|
|
7
|
-
id: string;
|
|
8
|
-
defaultMessage: string;
|
|
9
|
-
};
|
|
10
|
-
paragraph2: {
|
|
11
|
-
id: string;
|
|
12
|
-
defaultMessage: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: {
|
|
3
|
+
id: string;
|
|
4
|
+
defaultMessage: string;
|
|
5
|
+
};
|
|
6
|
+
paragraph1: {
|
|
7
|
+
id: string;
|
|
8
|
+
defaultMessage: string;
|
|
9
|
+
};
|
|
10
|
+
paragraph2: {
|
|
11
|
+
id: string;
|
|
12
|
+
defaultMessage: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const PageUnauthorized: {
|
|
2
|
-
(): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
|
-
displayName: string;
|
|
4
|
-
};
|
|
5
|
-
export default PageUnauthorized;
|
|
1
|
+
export declare const PageUnauthorized: {
|
|
2
|
+
(): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
|
+
displayName: string;
|
|
4
|
+
};
|
|
5
|
+
export default PageUnauthorized;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from './portals-container';
|
|
1
|
+
export { default } from './portals-container';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
declare const PortalsContainer: {
|
|
2
|
-
(): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
|
-
displayName: string;
|
|
4
|
-
};
|
|
5
|
-
export default PortalsContainer;
|
|
1
|
+
declare const PortalsContainer: {
|
|
2
|
+
(): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
|
+
displayName: string;
|
|
4
|
+
};
|
|
5
|
+
export default PortalsContainer;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from './public-page-layout';
|
|
1
|
+
export { default } from './public-page-layout';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { FC, ReactNode } from 'react';
|
|
2
|
-
declare type TProps = {
|
|
3
|
-
welcomeMessage?: string;
|
|
4
|
-
legalMessage?: ReactNode;
|
|
5
|
-
contentScale?: 'normal' | 'wide';
|
|
6
|
-
children: ReactNode;
|
|
7
|
-
};
|
|
8
|
-
declare const PublicPageLayout: FC<TProps>;
|
|
9
|
-
export default PublicPageLayout;
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
declare type TProps = {
|
|
3
|
+
welcomeMessage?: string;
|
|
4
|
+
legalMessage?: ReactNode;
|
|
5
|
+
contentScale?: 'normal' | 'wide';
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
};
|
|
8
|
+
declare const PublicPageLayout: FC<TProps>;
|
|
9
|
+
export default PublicPageLayout;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from './use-modal-state';
|
|
1
|
+
export { default } from './use-modal-state';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
declare const useModalState: (isInitiallyOpen?: boolean) => {
|
|
2
|
-
isModalOpen: boolean;
|
|
3
|
-
openModal: () => void;
|
|
4
|
-
closeModal: () => void;
|
|
5
|
-
};
|
|
6
|
-
export default useModalState;
|
|
1
|
+
declare const useModalState: (isInitiallyOpen?: boolean) => {
|
|
2
|
+
isModalOpen: boolean;
|
|
3
|
+
openModal: () => void;
|
|
4
|
+
closeModal: () => void;
|
|
5
|
+
};
|
|
6
|
+
export default useModalState;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { default as version } from './version';
|
|
2
|
-
export { default as InfoDialog } from './components/dialogs/info-dialog';
|
|
3
|
-
export { default as ConfirmationDialog } from './components/dialogs/confirmation-dialog';
|
|
4
|
-
export { default as FormDialog } from './components/dialogs/form-dialog';
|
|
5
|
-
export { default as InfoModalPage } from './components/modal-pages/info-modal-page';
|
|
6
|
-
export { default as FormModalPage } from './components/modal-pages/form-modal-page';
|
|
7
|
-
export { default as TabularModalPage } from './components/modal-pages/tabular-modal-page';
|
|
8
|
-
export { default as CustomFormModalPage } from './components/modal-pages/custom-form-modal-page';
|
|
9
|
-
export { default as PublicPageLayout } from './components/public-page-layout';
|
|
10
|
-
export { default as MaintenancePageLayout } from './components/maintenance-page-layout';
|
|
11
|
-
export { default as PageNotFound } from './components/page-not-found';
|
|
12
|
-
export { default as PageUnauthorized } from './components/page-unauthorized';
|
|
13
|
-
export { default as PortalsContainer } from './components/portals-container';
|
|
14
|
-
export { default as useModalState } from './hooks/use-modal-state';
|
|
1
|
+
export { default as version } from './version';
|
|
2
|
+
export { default as InfoDialog } from './components/dialogs/info-dialog';
|
|
3
|
+
export { default as ConfirmationDialog } from './components/dialogs/confirmation-dialog';
|
|
4
|
+
export { default as FormDialog } from './components/dialogs/form-dialog';
|
|
5
|
+
export { default as InfoModalPage } from './components/modal-pages/info-modal-page';
|
|
6
|
+
export { default as FormModalPage } from './components/modal-pages/form-modal-page';
|
|
7
|
+
export { default as TabularModalPage } from './components/modal-pages/tabular-modal-page';
|
|
8
|
+
export { default as CustomFormModalPage } from './components/modal-pages/custom-form-modal-page';
|
|
9
|
+
export { default as PublicPageLayout } from './components/public-page-layout';
|
|
10
|
+
export { default as MaintenancePageLayout } from './components/maintenance-page-layout';
|
|
11
|
+
export { default as PageNotFound } from './components/page-not-found';
|
|
12
|
+
export { default as PageUnauthorized } from './components/page-unauthorized';
|
|
13
|
+
export { default as PortalsContainer } from './components/portals-container';
|
|
14
|
+
export { default as useModalState } from './hooks/use-modal-state';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function filterDataAttributes<T extends object>(obj: T): Partial<T>;
|
|
1
|
+
export default function filterDataAttributes<T extends object>(obj: T): Partial<T>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "20.
|
|
2
|
-
export default _default;
|
|
1
|
+
declare const _default: "20.10.4";
|
|
2
|
+
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/application-components",
|
|
3
|
-
"version": "20.
|
|
3
|
+
"version": "20.10.4",
|
|
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": {
|
|
@@ -31,13 +31,13 @@
|
|
|
31
31
|
"prepare": "./../../scripts/version.js replace"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@babel/runtime": "7.
|
|
35
|
-
"@babel/runtime-corejs3": "7.
|
|
36
|
-
"@commercetools-frontend/application-shell-connectors": "20.
|
|
37
|
-
"@commercetools-frontend/assets": "20.
|
|
38
|
-
"@commercetools-frontend/constants": "20.
|
|
39
|
-
"@commercetools-frontend/i18n": "20.
|
|
40
|
-
"@commercetools-frontend/l10n": "20.
|
|
34
|
+
"@babel/runtime": "7.15.4",
|
|
35
|
+
"@babel/runtime-corejs3": "7.15.4",
|
|
36
|
+
"@commercetools-frontend/application-shell-connectors": "20.10.4",
|
|
37
|
+
"@commercetools-frontend/assets": "20.10.1",
|
|
38
|
+
"@commercetools-frontend/constants": "20.10.1",
|
|
39
|
+
"@commercetools-frontend/i18n": "20.10.4",
|
|
40
|
+
"@commercetools-frontend/l10n": "20.10.4",
|
|
41
41
|
"@commercetools-uikit/async-select-input": "^12.2.2",
|
|
42
42
|
"@commercetools-uikit/card": "^12.2.2",
|
|
43
43
|
"@commercetools-uikit/constraints": "^12.2.2",
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
"@commercetools-uikit/secondary-icon-button": "^12.2.2",
|
|
52
52
|
"@commercetools-uikit/spacings": "^12.2.2",
|
|
53
53
|
"@commercetools-uikit/text": "^12.2.2",
|
|
54
|
-
"@emotion/react": "11.
|
|
54
|
+
"@emotion/react": "11.5.0",
|
|
55
55
|
"@emotion/styled": "11.3.0",
|
|
56
56
|
"@types/lodash": "^4.14.167",
|
|
57
57
|
"@types/prop-types": "^15.7.3",
|
|
58
|
-
"@types/react": "^17.0.
|
|
59
|
-
"@types/react-dom": "^17.0.
|
|
58
|
+
"@types/react": "^17.0.16",
|
|
59
|
+
"@types/react-dom": "^17.0.9",
|
|
60
60
|
"@types/react-modal": "^3.10.4",
|
|
61
61
|
"lodash": "4.17.21",
|
|
62
62
|
"prop-types": "15.7.2",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"react": "17.0.2",
|
|
68
68
|
"react-dom": "17.0.2",
|
|
69
|
-
"react-intl": "5.
|
|
69
|
+
"react-intl": "5.21.0"
|
|
70
70
|
},
|
|
71
71
|
"peerDependencies": {
|
|
72
72
|
"react": "17.x",
|