@elliemae/ds-modal 2.0.0-alpha.1 → 2.0.0-alpha.13
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/cjs/DSModal.js +40 -35
- package/cjs/constants.js +1 -1
- package/cjs/index.js +1 -1
- package/cjs/v1/DSModal.js +60 -55
- package/cjs/v1/DSModalWrapper.js +25 -18
- package/cjs/v1/ModalFeedBack/ModalFeedBack.js +25 -30
- package/cjs/v2/DSModal.js +49 -42
- package/cjs/v2/blocks.js +72 -48
- package/cjs/v2/components/DecisionHeader.js +22 -20
- package/cjs/v2/components/FeedbackIcon.js +17 -23
- package/cjs/v2/components/Footer.js +45 -37
- package/cjs/v2/components/FormHeader.js +31 -29
- package/cjs/v2/components/ModalContent.js +85 -77
- package/cjs/v2/components/SelectionHeader.js +29 -22
- package/cjs/v2/components/Title.js +12 -9
- package/cjs/v2/helpers.js +21 -16
- package/esm/DSModal.js +5 -0
- package/esm/v1/DSModal.js +48 -42
- package/esm/v1/DSModalWrapper.js +24 -17
- package/esm/v1/ModalFeedBack/ModalFeedBack.js +19 -20
- package/esm/v2/DSModal.js +42 -35
- package/esm/v2/blocks.js +72 -48
- package/esm/v2/components/DecisionHeader.js +21 -18
- package/esm/v2/components/FeedbackIcon.js +11 -12
- package/esm/v2/components/Footer.js +43 -35
- package/esm/v2/components/FormHeader.js +30 -27
- package/esm/v2/components/ModalContent.js +84 -76
- package/esm/v2/components/SelectionHeader.js +27 -19
- package/esm/v2/components/Title.js +11 -8
- package/esm/v2/helpers.js +21 -16
- package/package.json +13 -4
- package/types/v1/DSModal.d.ts +1 -1
- package/types/v2/DSModal.d.ts +197 -28
- package/types/v2/components/SelectionHeader.d.ts +1 -1
- package/cjs/package.json +0 -7
- package/esm/package.json +0 -7
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import 'core-js/modules/esnext.async-iterator.filter.js';
|
|
2
|
+
import 'core-js/modules/esnext.iterator.constructor.js';
|
|
3
|
+
import 'core-js/modules/esnext.iterator.filter.js';
|
|
4
|
+
import 'core-js/modules/esnext.async-iterator.for-each.js';
|
|
5
|
+
import 'core-js/modules/esnext.iterator.for-each.js';
|
|
1
6
|
import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
|
|
2
7
|
import _jsx from '@babel/runtime/helpers/esm/jsx';
|
|
3
8
|
import 'react';
|
|
4
|
-
import DSSearchBox from '@elliemae/ds-
|
|
9
|
+
import { DSSearchBox } from '@elliemae/ds-form';
|
|
5
10
|
import { ModalHeader, ModalHeaderTopRight } from '../blocks.js';
|
|
6
11
|
import { Title } from './Title.js';
|
|
7
12
|
import { jsx } from 'react/jsx-runtime';
|
|
@@ -9,23 +14,26 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
9
14
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
10
15
|
|
|
11
16
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
12
|
-
const SelectionHeader =
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
},
|
|
17
|
+
const SelectionHeader = _ref => {
|
|
18
|
+
let {
|
|
19
|
+
searchProps = {},
|
|
20
|
+
modalTitle,
|
|
21
|
+
modalType,
|
|
22
|
+
showClose
|
|
23
|
+
} = _ref;
|
|
24
|
+
return /*#__PURE__*/_jsx(ModalHeader, {
|
|
25
|
+
classProps: {
|
|
26
|
+
type: 'selection'
|
|
27
|
+
}
|
|
28
|
+
}, void 0, /*#__PURE__*/_jsx(Title, {
|
|
29
|
+
modalTitle: modalTitle,
|
|
30
|
+
modalType: modalType
|
|
31
|
+
}), showClose && /*#__PURE__*/_jsx(ModalHeaderTopRight, {
|
|
32
|
+
classProps: {
|
|
33
|
+
type: 'selection'
|
|
34
|
+
},
|
|
35
|
+
"data-testid": "modal-search-box"
|
|
36
|
+
}, void 0, /*#__PURE__*/jsx(DSSearchBox, _objectSpread({}, searchProps))));
|
|
37
|
+
};
|
|
30
38
|
|
|
31
39
|
export { SelectionHeader, SelectionHeader as default };
|
|
@@ -2,13 +2,16 @@ import _jsx from '@babel/runtime/helpers/esm/jsx';
|
|
|
2
2
|
import 'react';
|
|
3
3
|
import { ModalTitle } from '../blocks.js';
|
|
4
4
|
|
|
5
|
-
const Title =
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
5
|
+
const Title = _ref => {
|
|
6
|
+
let {
|
|
7
|
+
modalTitle,
|
|
8
|
+
modalType
|
|
9
|
+
} = _ref;
|
|
10
|
+
return /*#__PURE__*/_jsx(ModalTitle, {
|
|
11
|
+
classProps: {
|
|
12
|
+
type: modalType
|
|
13
|
+
}
|
|
14
|
+
}, void 0, modalTitle);
|
|
15
|
+
};
|
|
13
16
|
|
|
14
17
|
export { Title, Title as default };
|
package/esm/v2/helpers.js
CHANGED
|
@@ -1,31 +1,36 @@
|
|
|
1
1
|
import { MODAL_TYPE_V2, MODAL_SUB_TYPE_V2 } from '../constants.js';
|
|
2
2
|
|
|
3
|
-
function showDecision({
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
function showDecision(_ref) {
|
|
4
|
+
let {
|
|
5
|
+
modalType
|
|
6
|
+
} = _ref;
|
|
6
7
|
return [MODAL_TYPE_V2.INFORMATION, MODAL_TYPE_V2.DECISION].indexOf(modalType) > -1;
|
|
7
8
|
}
|
|
8
|
-
function showFeedBack({
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
function showFeedBack(_ref2) {
|
|
10
|
+
let {
|
|
11
|
+
modalType,
|
|
12
|
+
modalSubType
|
|
13
|
+
} = _ref2;
|
|
12
14
|
return showDecision({
|
|
13
15
|
modalType
|
|
14
16
|
}) && Object.values(MODAL_SUB_TYPE_V2).indexOf(modalSubType) > -1;
|
|
15
17
|
}
|
|
16
|
-
function showFooter({
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
function showFooter(_ref3) {
|
|
19
|
+
let {
|
|
20
|
+
modalType
|
|
21
|
+
} = _ref3;
|
|
19
22
|
return modalType !== MODAL_TYPE_V2.INFORMATION;
|
|
20
23
|
}
|
|
21
|
-
function showSelection({
|
|
22
|
-
|
|
23
|
-
|
|
24
|
+
function showSelection(_ref4) {
|
|
25
|
+
let {
|
|
26
|
+
modalType
|
|
27
|
+
} = _ref4;
|
|
24
28
|
return modalType === MODAL_TYPE_V2.SELECTION;
|
|
25
29
|
}
|
|
26
|
-
function showForm({
|
|
27
|
-
|
|
28
|
-
|
|
30
|
+
function showForm(_ref5) {
|
|
31
|
+
let {
|
|
32
|
+
modalType
|
|
33
|
+
} = _ref5;
|
|
29
34
|
return modalType === MODAL_TYPE_V2.FORM;
|
|
30
35
|
}
|
|
31
36
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-modal",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.13",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Modal",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -96,12 +96,21 @@
|
|
|
96
96
|
"build": "node ../../scripts/build/build.js"
|
|
97
97
|
},
|
|
98
98
|
"dependencies": {
|
|
99
|
-
"@elliemae/ds-
|
|
100
|
-
"@elliemae/ds-classnames": "2.0.0-alpha.
|
|
99
|
+
"@elliemae/ds-button": "2.0.0-alpha.13",
|
|
100
|
+
"@elliemae/ds-classnames": "2.0.0-alpha.13",
|
|
101
|
+
"@elliemae/ds-form": "2.0.0-alpha.13",
|
|
102
|
+
"@elliemae/ds-icon": "2.0.0-alpha.13",
|
|
103
|
+
"@elliemae/ds-icons": "2.0.0-alpha.13",
|
|
104
|
+
"@elliemae/ds-shared": "2.0.0-alpha.13",
|
|
105
|
+
"@elliemae/ds-system": "2.0.0-alpha.13",
|
|
101
106
|
"prop-types": "~15.7.2",
|
|
102
|
-
"react-
|
|
107
|
+
"react-desc": "~4.1.3",
|
|
103
108
|
"react-modal": "~3.12.1"
|
|
104
109
|
},
|
|
110
|
+
"devDependencies": {
|
|
111
|
+
"@testing-library/jest-dom": "~5.15.0",
|
|
112
|
+
"@testing-library/react": "~12.1.2"
|
|
113
|
+
},
|
|
105
114
|
"peerDependencies": {
|
|
106
115
|
"lodash": "^4.17.21",
|
|
107
116
|
"react": "~17.0.2",
|
package/types/v1/DSModal.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ declare const DSModal: {
|
|
|
7
7
|
dataTestId?: string | undefined;
|
|
8
8
|
additionalFooterCssClass?: string | undefined;
|
|
9
9
|
style?: {} | undefined;
|
|
10
|
-
iconCloseSize?:
|
|
10
|
+
iconCloseSize?: string | undefined;
|
|
11
11
|
modalType?: string | undefined;
|
|
12
12
|
showHeader?: boolean | undefined;
|
|
13
13
|
showFooter?: boolean | undefined;
|
package/types/v2/DSModal.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
import { DSModalContent } from './components/ModalContent';
|
|
3
4
|
declare const DSModal: {
|
|
@@ -33,59 +34,227 @@ declare const DSModal: {
|
|
|
33
34
|
}): JSX.Element;
|
|
34
35
|
propTypes: {
|
|
35
36
|
/** inject props to container wrapper */
|
|
36
|
-
containerProps:
|
|
37
|
+
containerProps: {
|
|
38
|
+
defaultValue<T = unknown>(arg: T): {
|
|
39
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
40
|
+
};
|
|
41
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
42
|
+
};
|
|
37
43
|
/** css class */
|
|
38
|
-
className:
|
|
44
|
+
className: {
|
|
45
|
+
defaultValue<T = unknown>(arg: T): {
|
|
46
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
47
|
+
};
|
|
48
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
49
|
+
};
|
|
39
50
|
/** style object for container wrapper */
|
|
40
|
-
style:
|
|
51
|
+
style: {
|
|
52
|
+
defaultValue<T = unknown>(arg: T): {
|
|
53
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
54
|
+
};
|
|
55
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
56
|
+
};
|
|
41
57
|
/** modal container title */
|
|
42
|
-
modalTitle:
|
|
58
|
+
modalTitle: {
|
|
59
|
+
defaultValue<T = unknown>(arg: T): {
|
|
60
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
61
|
+
};
|
|
62
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
63
|
+
};
|
|
43
64
|
/** center container */
|
|
44
|
-
centered:
|
|
65
|
+
centered: {
|
|
66
|
+
defaultValue<T = unknown>(arg: T): {
|
|
67
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
68
|
+
};
|
|
69
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
70
|
+
};
|
|
45
71
|
/** show reject button */
|
|
46
|
-
showRejectButton:
|
|
72
|
+
showRejectButton: {
|
|
73
|
+
defaultValue<T = unknown>(arg: T): {
|
|
74
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
75
|
+
};
|
|
76
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
77
|
+
};
|
|
47
78
|
/** show close button */
|
|
48
|
-
showClose:
|
|
49
|
-
|
|
79
|
+
showClose: {
|
|
80
|
+
defaultValue<T = unknown>(arg: T): {
|
|
81
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
82
|
+
};
|
|
83
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
84
|
+
};
|
|
85
|
+
searchProps: {
|
|
86
|
+
defaultValue<T = unknown>(arg: T): {
|
|
87
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
88
|
+
};
|
|
89
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
90
|
+
};
|
|
50
91
|
/** css class for footer */
|
|
51
|
-
additionalFooterCssClass:
|
|
92
|
+
additionalFooterCssClass: {
|
|
93
|
+
defaultValue<T = unknown>(arg: T): {
|
|
94
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
95
|
+
};
|
|
96
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
97
|
+
};
|
|
52
98
|
/** override props confirm button */
|
|
53
|
-
overridePropsConfirmButton:
|
|
99
|
+
overridePropsConfirmButton: {
|
|
100
|
+
defaultValue<T = unknown>(arg: T): {
|
|
101
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
102
|
+
};
|
|
103
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
104
|
+
};
|
|
54
105
|
/** override props reject button */
|
|
55
|
-
overridePropsRejectButton:
|
|
106
|
+
overridePropsRejectButton: {
|
|
107
|
+
defaultValue<T = unknown>(arg: T): {
|
|
108
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
109
|
+
};
|
|
110
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
111
|
+
};
|
|
56
112
|
/** controlled isOpen flag */
|
|
57
|
-
isOpen:
|
|
113
|
+
isOpen: {
|
|
114
|
+
defaultValue<T = unknown>(arg: T): {
|
|
115
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
116
|
+
};
|
|
117
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
118
|
+
};
|
|
58
119
|
/** close callback */
|
|
59
|
-
onClose:
|
|
120
|
+
onClose: {
|
|
121
|
+
defaultValue<T = unknown>(arg: T): {
|
|
122
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
123
|
+
};
|
|
124
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
125
|
+
};
|
|
60
126
|
/** after open callback */
|
|
61
|
-
onAfterOpen:
|
|
127
|
+
onAfterOpen: {
|
|
128
|
+
defaultValue<T = unknown>(arg: T): {
|
|
129
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
130
|
+
};
|
|
131
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
132
|
+
};
|
|
62
133
|
/** confirm callback */
|
|
63
|
-
onConfirm:
|
|
134
|
+
onConfirm: {
|
|
135
|
+
defaultValue<T = unknown>(arg: T): {
|
|
136
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
137
|
+
};
|
|
138
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
139
|
+
};
|
|
64
140
|
/** reject callback */
|
|
65
|
-
onReject:
|
|
141
|
+
onReject: {
|
|
142
|
+
defaultValue<T = unknown>(arg: T): {
|
|
143
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
144
|
+
};
|
|
145
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
146
|
+
};
|
|
66
147
|
/** reject label */
|
|
67
|
-
rejectLabel:
|
|
148
|
+
rejectLabel: {
|
|
149
|
+
defaultValue<T = unknown>(arg: T): {
|
|
150
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
151
|
+
};
|
|
152
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
153
|
+
};
|
|
68
154
|
/** confirm text string */
|
|
69
|
-
confirmLabel:
|
|
155
|
+
confirmLabel: {
|
|
156
|
+
defaultValue<T = unknown>(arg: T): {
|
|
157
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
158
|
+
};
|
|
159
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
160
|
+
};
|
|
70
161
|
/** modal container size */
|
|
71
|
-
size:
|
|
162
|
+
size: {
|
|
163
|
+
defaultValue<T = unknown>(arg: T): {
|
|
164
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
165
|
+
};
|
|
166
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
167
|
+
};
|
|
72
168
|
/** modal sub type */
|
|
73
|
-
modalSubType:
|
|
169
|
+
modalSubType: {
|
|
170
|
+
defaultValue<T = unknown>(arg: T): {
|
|
171
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
172
|
+
};
|
|
173
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
174
|
+
};
|
|
74
175
|
/** modal type */
|
|
75
|
-
modalType:
|
|
176
|
+
modalType: {
|
|
177
|
+
defaultValue<T = unknown>(arg: T): {
|
|
178
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
179
|
+
};
|
|
180
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
181
|
+
};
|
|
76
182
|
/** ref for modal footer actions */
|
|
77
|
-
actionsRef:
|
|
183
|
+
actionsRef: {
|
|
184
|
+
defaultValue<T = unknown>(arg: T): {
|
|
185
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
186
|
+
};
|
|
187
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
188
|
+
};
|
|
78
189
|
/** modal container children */
|
|
79
|
-
children:
|
|
190
|
+
children: {
|
|
191
|
+
defaultValue<T = unknown>(arg: T): {
|
|
192
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
193
|
+
};
|
|
194
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
195
|
+
};
|
|
80
196
|
/** close on click outside container */
|
|
81
|
-
shouldCloseOnOverlayClick:
|
|
82
|
-
|
|
197
|
+
shouldCloseOnOverlayClick: {
|
|
198
|
+
defaultValue<T = unknown>(arg: T): {
|
|
199
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
200
|
+
};
|
|
201
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
202
|
+
};
|
|
203
|
+
appElement: {
|
|
204
|
+
defaultValue<T = unknown>(arg: T): {
|
|
205
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
206
|
+
};
|
|
207
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
208
|
+
};
|
|
83
209
|
/** zindex for modal container */
|
|
84
|
-
zIndex:
|
|
210
|
+
zIndex: {
|
|
211
|
+
defaultValue<T = unknown>(arg: T): {
|
|
212
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
213
|
+
};
|
|
214
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
215
|
+
};
|
|
85
216
|
/** remove modal builtin padding */
|
|
86
|
-
removePadding:
|
|
217
|
+
removePadding: {
|
|
218
|
+
defaultValue<T = unknown>(arg: T): {
|
|
219
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
220
|
+
};
|
|
221
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
222
|
+
};
|
|
87
223
|
};
|
|
88
224
|
};
|
|
89
|
-
declare const DSModalWithSchema:
|
|
225
|
+
declare const DSModalWithSchema: {
|
|
226
|
+
(props?: {
|
|
227
|
+
containerProps?: {} | undefined;
|
|
228
|
+
className?: string | undefined;
|
|
229
|
+
style?: {} | undefined;
|
|
230
|
+
size?: string | undefined;
|
|
231
|
+
modalType?: string | undefined;
|
|
232
|
+
modalSubType?: null | undefined;
|
|
233
|
+
modalTitle?: string | undefined;
|
|
234
|
+
dataTestId?: string | undefined;
|
|
235
|
+
centered?: boolean | undefined;
|
|
236
|
+
showRejectButton?: boolean | undefined;
|
|
237
|
+
showClose?: boolean | undefined;
|
|
238
|
+
searchProps?: {} | undefined;
|
|
239
|
+
actionsRef?: (() => null) | undefined;
|
|
240
|
+
additionalFooterCssClass: any;
|
|
241
|
+
overridePropsConfirmButton?: {} | undefined;
|
|
242
|
+
overridePropsRejectButton?: {} | undefined;
|
|
243
|
+
children: any;
|
|
244
|
+
isOpen?: boolean | undefined;
|
|
245
|
+
onClose?: (() => null) | undefined;
|
|
246
|
+
onAfterOpen?: (() => null) | undefined;
|
|
247
|
+
onConfirm?: (() => null) | undefined;
|
|
248
|
+
onReject?: (() => null) | undefined;
|
|
249
|
+
rejectLabel?: string | undefined;
|
|
250
|
+
confirmLabel?: string | undefined;
|
|
251
|
+
shouldCloseOnOverlayClick?: boolean | undefined;
|
|
252
|
+
appElement?: string | undefined;
|
|
253
|
+
zIndex?: number | undefined;
|
|
254
|
+
removePadding?: boolean | undefined;
|
|
255
|
+
} | undefined): JSX.Element;
|
|
256
|
+
propTypes: unknown;
|
|
257
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
258
|
+
};
|
|
90
259
|
export { DSModalContent, DSModalWithSchema };
|
|
91
260
|
export default DSModal;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const SelectionHeader: ({ searchProps, modalTitle, modalType, showClose
|
|
2
|
+
export declare const SelectionHeader: ({ searchProps, modalTitle, modalType, showClose }: {
|
|
3
3
|
searchProps?: {} | undefined;
|
|
4
4
|
modalTitle: any;
|
|
5
5
|
modalType: any;
|
package/cjs/package.json
DELETED