@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
|
@@ -69,7 +69,7 @@ var PageNotFoundSVG__default = /*#__PURE__*/_interopDefault(PageNotFoundSVG);
|
|
|
69
69
|
var FailedAuthorizationSVG__default = /*#__PURE__*/_interopDefault(FailedAuthorizationSVG);
|
|
70
70
|
|
|
71
71
|
// NOTE: This string will be replaced in the `prepare` script by the `scripts/version.js` file.
|
|
72
|
-
var version = '20.
|
|
72
|
+
var version = '20.10.4';
|
|
73
73
|
|
|
74
74
|
function _EMOTION_STRINGIFIED_CSS_ERROR__$8() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
75
75
|
|
|
@@ -68,7 +68,7 @@ var PageNotFoundSVG__default = /*#__PURE__*/_interopDefault(PageNotFoundSVG);
|
|
|
68
68
|
var FailedAuthorizationSVG__default = /*#__PURE__*/_interopDefault(FailedAuthorizationSVG);
|
|
69
69
|
|
|
70
70
|
// NOTE: This string will be replaced in the `prepare` script by the `scripts/version.js` file.
|
|
71
|
-
var version = '20.
|
|
71
|
+
var version = '20.10.4';
|
|
72
72
|
|
|
73
73
|
var getConstraintForGridStyle = function getConstraintForGridStyle(size) {
|
|
74
74
|
switch (size) {
|
|
@@ -36,7 +36,7 @@ import PageNotFoundSVG from '@commercetools-frontend/assets/images/desert-fox.sv
|
|
|
36
36
|
import FailedAuthorizationSVG from '@commercetools-frontend/assets/images/folder-full-locked.svg';
|
|
37
37
|
|
|
38
38
|
// NOTE: This string will be replaced in the `prepare` script by the `scripts/version.js` file.
|
|
39
|
-
var version = '20.
|
|
39
|
+
var version = '20.10.4';
|
|
40
40
|
|
|
41
41
|
function _EMOTION_STRINGIFIED_CSS_ERROR__$8() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
42
42
|
|
package/dist/declarations/src/components/dialogs/confirmation-dialog/confirmation-dialog.d.ts
CHANGED
|
@@ -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';
|