@elliemae/ds-modal-slide 3.17.0-next.9 → 3.17.0
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/types/DSModalSlide.d.ts +44 -0
- package/dist/types/components/Footer.d.ts +55 -0
- package/dist/types/components/Header.d.ts +26 -0
- package/dist/types/components/blocks.d.ts +11 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/tests/DSModalSlide.test.d.ts +1 -0
- package/package.json +8 -8
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import ModalHeader from './components/Header.js';
|
|
3
|
+
import ModalFooter from './components/Footer.js';
|
|
4
|
+
declare const DSModalSlide: {
|
|
5
|
+
(props: any): React.ReactPortal | null;
|
|
6
|
+
propTypes: {
|
|
7
|
+
/**
|
|
8
|
+
* If the modal slide is centered or not
|
|
9
|
+
*/
|
|
10
|
+
centered: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
11
|
+
/**
|
|
12
|
+
* If the modal slide is visible or not
|
|
13
|
+
*/
|
|
14
|
+
isOpen: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
15
|
+
/**
|
|
16
|
+
* Main content of the modal
|
|
17
|
+
*/
|
|
18
|
+
children: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
19
|
+
/**
|
|
20
|
+
* If the modal slide takes the full width or not
|
|
21
|
+
*/
|
|
22
|
+
fullWidth: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
23
|
+
/**
|
|
24
|
+
* If the modal slide has a header, only available for full width option
|
|
25
|
+
*/
|
|
26
|
+
header: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
27
|
+
/**
|
|
28
|
+
* Ratio of fade out
|
|
29
|
+
*/
|
|
30
|
+
fadeOut: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
31
|
+
/**
|
|
32
|
+
* Ratio of fade in
|
|
33
|
+
*/
|
|
34
|
+
fadeIn: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
35
|
+
/**
|
|
36
|
+
* Override the panel height to scroll height of the container
|
|
37
|
+
*/
|
|
38
|
+
overrideHeight: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
39
|
+
};
|
|
40
|
+
displayName: string;
|
|
41
|
+
};
|
|
42
|
+
declare const DSModalSlideWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").DocumentedReactComponent<any>;
|
|
43
|
+
export { ModalHeader, ModalFooter, DSModalSlide, DSModalSlideWithSchema };
|
|
44
|
+
export default DSModalSlide;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
declare const ModalFooter: {
|
|
2
|
+
({ confirmLabel, rejectLabel, onConfirm, onReject, confirmProps, rejectProps, }: {
|
|
3
|
+
confirmLabel?: string | undefined;
|
|
4
|
+
rejectLabel?: string | undefined;
|
|
5
|
+
onConfirm: any;
|
|
6
|
+
onReject: any;
|
|
7
|
+
confirmProps?: {
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
} | undefined;
|
|
10
|
+
rejectProps?: {
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
} | undefined;
|
|
13
|
+
}): import("react/jsx-runtime.js").JSX.Element;
|
|
14
|
+
propTypes: {
|
|
15
|
+
/**
|
|
16
|
+
* Confirm Label
|
|
17
|
+
*/
|
|
18
|
+
confirmLabel: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
19
|
+
/**
|
|
20
|
+
* Reject Label
|
|
21
|
+
*/
|
|
22
|
+
rejectLabel: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
23
|
+
/**
|
|
24
|
+
* Callback
|
|
25
|
+
*/
|
|
26
|
+
onConfirm: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
27
|
+
/**
|
|
28
|
+
* Callback
|
|
29
|
+
*/
|
|
30
|
+
onReject: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
31
|
+
/**
|
|
32
|
+
* Extra DSButton props for confirm btn.
|
|
33
|
+
*/
|
|
34
|
+
confirmProps: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
35
|
+
/**
|
|
36
|
+
* Extra DSButton props for reject btn.
|
|
37
|
+
*/
|
|
38
|
+
rejectProps: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
39
|
+
};
|
|
40
|
+
displayName: string;
|
|
41
|
+
};
|
|
42
|
+
declare const DSModalSlideFooterWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").DocumentedReactComponent<{
|
|
43
|
+
confirmLabel?: string | undefined;
|
|
44
|
+
rejectLabel?: string | undefined;
|
|
45
|
+
onConfirm: any;
|
|
46
|
+
onReject: any;
|
|
47
|
+
confirmProps?: {
|
|
48
|
+
disabled: boolean;
|
|
49
|
+
} | undefined;
|
|
50
|
+
rejectProps?: {
|
|
51
|
+
disabled: boolean;
|
|
52
|
+
} | undefined;
|
|
53
|
+
}>;
|
|
54
|
+
export { DSModalSlideFooterWithSchema };
|
|
55
|
+
export default ModalFooter;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const ModalHeader: {
|
|
2
|
+
({ innerRef, title: headerTitle, onClose, toolbar }: {
|
|
3
|
+
innerRef?: null | undefined;
|
|
4
|
+
title?: string | undefined;
|
|
5
|
+
onClose?: (() => null) | undefined;
|
|
6
|
+
toolbar?: null | undefined;
|
|
7
|
+
}): import("react/jsx-runtime.js").JSX.Element;
|
|
8
|
+
propTypes: {
|
|
9
|
+
/** on modal close callback */
|
|
10
|
+
onClose: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
11
|
+
/** modal toolbar component */
|
|
12
|
+
toolbar: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
13
|
+
/** modal title */
|
|
14
|
+
title: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
15
|
+
innerRef: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
16
|
+
};
|
|
17
|
+
displayName: string;
|
|
18
|
+
};
|
|
19
|
+
declare const DSModalSlideHeaderWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").DocumentedReactComponent<{
|
|
20
|
+
innerRef?: null | undefined;
|
|
21
|
+
title?: string | undefined;
|
|
22
|
+
onClose?: (() => null) | undefined;
|
|
23
|
+
toolbar?: null | undefined;
|
|
24
|
+
}>;
|
|
25
|
+
export { DSModalSlideHeaderWithSchema };
|
|
26
|
+
export default ModalHeader;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Wrapper: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
3
|
+
export declare const Overlay: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
4
|
+
export declare const Content: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
5
|
+
export declare const Title: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
6
|
+
export declare const BreadcrumTitle: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
7
|
+
export declare const HeaderLeftSide: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
8
|
+
export declare const ActualContent: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
9
|
+
export declare const Header: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
10
|
+
export declare const Footer: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
11
|
+
export declare const FooterWrapper: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-modal-slide",
|
|
3
|
-
"version": "3.17.0
|
|
3
|
+
"version": "3.17.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Modal Slide",
|
|
6
6
|
"files": [
|
|
@@ -51,13 +51,13 @@
|
|
|
51
51
|
"indent": 4
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@elliemae/ds-button": "3.17.0
|
|
55
|
-
"@elliemae/ds-classnames": "3.17.0
|
|
56
|
-
"@elliemae/ds-grid": "3.17.0
|
|
57
|
-
"@elliemae/ds-
|
|
58
|
-
"@elliemae/ds-
|
|
59
|
-
"@elliemae/ds-separator": "3.17.0
|
|
60
|
-
"@elliemae/ds-system": "3.17.0
|
|
54
|
+
"@elliemae/ds-button": "3.17.0",
|
|
55
|
+
"@elliemae/ds-classnames": "3.17.0",
|
|
56
|
+
"@elliemae/ds-grid": "3.17.0",
|
|
57
|
+
"@elliemae/ds-props-helpers": "3.17.0",
|
|
58
|
+
"@elliemae/ds-icons": "3.17.0",
|
|
59
|
+
"@elliemae/ds-separator": "3.17.0",
|
|
60
|
+
"@elliemae/ds-system": "3.17.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@testing-library/react": "~12.1.3",
|