@elliemae/ds-modal 3.17.0-next.11 → 3.17.0-next.14
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/DSModal.d.ts +1 -2
- package/dist/types/v1/DSModal.d.ts +2 -3
- package/dist/types/v1/ModalFeedBack/ModalFeedBack.d.ts +1 -2
- package/dist/types/v2/DSModal.d.ts +1 -2
- package/dist/types/v2/components/DecisionHeader.d.ts +1 -2
- package/dist/types/v2/components/FeedbackIcon.d.ts +1 -2
- package/dist/types/v2/components/Footer.d.ts +1 -2
- package/dist/types/v2/components/FormHeader.d.ts +1 -2
- package/dist/types/v2/components/ModalContent.d.ts +1 -2
- package/dist/types/v2/components/SelectionHeader.d.ts +1 -2
- package/dist/types/v2/components/Title.d.ts +1 -2
- package/package.json +10 -10
package/dist/types/DSModal.d.ts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import PropTypes from 'prop-types';
|
|
3
2
|
import { DSModalContent } from './v2/DSModal.js';
|
|
4
3
|
declare const DSModal: {
|
|
5
4
|
({ version, ...rest }: {
|
|
6
5
|
[x: string]: any;
|
|
7
6
|
version?: number | undefined;
|
|
8
|
-
}): JSX.Element;
|
|
7
|
+
}): import("react/jsx-runtime.js").JSX.Element;
|
|
9
8
|
propTypes: {
|
|
10
9
|
version: PropTypes.Requireable<number>;
|
|
11
10
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import PropTypes from 'prop-types';
|
|
3
2
|
declare const DSModal: {
|
|
4
3
|
({ containerProps, className, dataTestId, additionalFooterCssClass, style, iconCloseSize, modalType, showHeader, showFooter, children, centered, confirmLabel, modalTitle, size, isOpen, onClose, onAfterOpen, onConfirm, onReject, rejectLabel, shouldCloseOnOverlayClick, hasError, hasWarning, hasSuccess, hasInfo, hasHelp, actionsRef, appElement, overridePropsConfirmButton, overridePropsRejectButton, zIndex, }: {
|
|
@@ -33,7 +32,7 @@ declare const DSModal: {
|
|
|
33
32
|
overridePropsConfirmButton?: {} | undefined;
|
|
34
33
|
overridePropsRejectButton?: {} | undefined;
|
|
35
34
|
zIndex?: number | undefined;
|
|
36
|
-
}): JSX.Element;
|
|
35
|
+
}): import("react/jsx-runtime.js").JSX.Element;
|
|
37
36
|
propTypes: {
|
|
38
37
|
className: PropTypes.Requireable<string>;
|
|
39
38
|
/**
|
|
@@ -47,7 +46,7 @@ declare const DSModal: {
|
|
|
47
46
|
/**
|
|
48
47
|
* Select size for the close icon
|
|
49
48
|
*/
|
|
50
|
-
iconCloseSize: PropTypes.Requireable<"xxl" | "
|
|
49
|
+
iconCloseSize: PropTypes.Requireable<"xxl" | "m" | "xxs" | "xs" | "s" | "l" | "xl">;
|
|
51
50
|
/**
|
|
52
51
|
* ['default', 'alert', 'confirm', 'notification', 'warning', 'error', 'success', 'help', 'info']
|
|
53
52
|
*/
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const ModalFeedBack: ({ className, modalType, hasError, hasWarning, hasSuccess, hasInfo, hasHelp, }: {
|
|
3
2
|
className?: string | undefined;
|
|
4
3
|
modalType?: null | undefined;
|
|
@@ -7,5 +6,5 @@ declare const ModalFeedBack: ({ className, modalType, hasError, hasWarning, hasS
|
|
|
7
6
|
hasSuccess?: boolean | undefined;
|
|
8
7
|
hasInfo?: boolean | undefined;
|
|
9
8
|
hasHelp?: boolean | undefined;
|
|
10
|
-
}) => JSX.Element;
|
|
9
|
+
}) => import("react/jsx-runtime.js").JSX.Element;
|
|
11
10
|
export default ModalFeedBack;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { DSModalContent } from './components/ModalContent.js';
|
|
3
2
|
declare const DSModal: {
|
|
4
3
|
({ containerProps, className, style, size, modalType, modalSubType, modalTitle, dataTestId, centered, showRejectButton, showClose, searchProps, actionsRef, additionalFooterCssClass, overridePropsConfirmButton, overridePropsRejectButton, children, isOpen, onClose, onAfterOpen, onConfirm, onReject, rejectLabel, confirmLabel, shouldCloseOnOverlayClick, appElement, zIndex, removePadding, }: {
|
|
@@ -30,7 +29,7 @@ declare const DSModal: {
|
|
|
30
29
|
appElement?: string | undefined;
|
|
31
30
|
zIndex: any;
|
|
32
31
|
removePadding?: boolean | undefined;
|
|
33
|
-
}): JSX.Element;
|
|
32
|
+
}): import("react/jsx-runtime.js").JSX.Element;
|
|
34
33
|
propTypes: {
|
|
35
34
|
/** inject props to container wrapper */
|
|
36
35
|
containerProps: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const Footer: ({ additionalFooterCssClass, actionsRef, rejectLabel, onReject, overridePropsRejectButton, confirmLabel, onConfirm, overridePropsConfirmButton, showRejectButton, }: {
|
|
3
2
|
additionalFooterCssClass: any;
|
|
4
3
|
actionsRef: any;
|
|
@@ -9,5 +8,5 @@ export declare const Footer: ({ additionalFooterCssClass, actionsRef, rejectLabe
|
|
|
9
8
|
onConfirm: any;
|
|
10
9
|
overridePropsConfirmButton: any;
|
|
11
10
|
showRejectButton: any;
|
|
12
|
-
}) => JSX.Element;
|
|
11
|
+
}) => import("react/jsx-runtime.js").JSX.Element;
|
|
13
12
|
export default Footer;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const FormHeader: ({ showClose, modalTitle, modalType, onClose }: {
|
|
3
2
|
showClose: any;
|
|
4
3
|
modalTitle: any;
|
|
5
4
|
modalType: any;
|
|
6
5
|
onClose: any;
|
|
7
|
-
}) => JSX.Element;
|
|
6
|
+
}) => import("react/jsx-runtime.js").JSX.Element;
|
|
8
7
|
export default FormHeader;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const DSModalContent: ({ containerProps, modalType, modalSubType, modalTitle, showRejectButton, showClose, searchProps, actionsRef, additionalFooterCssClass, overridePropsConfirmButton, overridePropsRejectButton, children, onClose, onConfirm, onReject, rejectLabel, confirmLabel, removePadding, }: {
|
|
3
2
|
containerProps?: {} | undefined;
|
|
4
3
|
modalType?: string | undefined;
|
|
@@ -18,4 +17,4 @@ export declare const DSModalContent: ({ containerProps, modalType, modalSubType,
|
|
|
18
17
|
rejectLabel?: string | undefined;
|
|
19
18
|
confirmLabel?: string | undefined;
|
|
20
19
|
removePadding?: boolean | undefined;
|
|
21
|
-
}) => JSX.Element;
|
|
20
|
+
}) => import("react/jsx-runtime.js").JSX.Element;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const SelectionHeader: ({ searchProps, modalTitle, modalType, showClose }: {
|
|
3
2
|
searchProps?: {} | undefined;
|
|
4
3
|
modalTitle: any;
|
|
5
4
|
modalType: any;
|
|
6
5
|
showClose: any;
|
|
7
|
-
}) => JSX.Element;
|
|
6
|
+
}) => import("react/jsx-runtime.js").JSX.Element;
|
|
8
7
|
export default SelectionHeader;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-modal",
|
|
3
|
-
"version": "3.17.0-next.
|
|
3
|
+
"version": "3.17.0-next.14",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Modal",
|
|
6
6
|
"files": [
|
|
@@ -102,15 +102,15 @@
|
|
|
102
102
|
"prop-types": "~15.8.1",
|
|
103
103
|
"react-modal": "~3.16.1",
|
|
104
104
|
"styled-components": "~5.3.9",
|
|
105
|
-
"@elliemae/ds-button": "3.17.0-next.
|
|
106
|
-
"@elliemae/ds-classnames": "3.17.0-next.
|
|
107
|
-
"@elliemae/ds-form": "3.17.0-next.
|
|
108
|
-
"@elliemae/ds-
|
|
109
|
-
"@elliemae/ds-
|
|
110
|
-
"@elliemae/ds-
|
|
111
|
-
"@elliemae/ds-
|
|
112
|
-
"@elliemae/ds-
|
|
113
|
-
"@elliemae/ds-
|
|
105
|
+
"@elliemae/ds-button": "3.17.0-next.14",
|
|
106
|
+
"@elliemae/ds-classnames": "3.17.0-next.14",
|
|
107
|
+
"@elliemae/ds-form": "3.17.0-next.14",
|
|
108
|
+
"@elliemae/ds-icon": "3.17.0-next.14",
|
|
109
|
+
"@elliemae/ds-icons": "3.17.0-next.14",
|
|
110
|
+
"@elliemae/ds-props-helpers": "3.17.0-next.14",
|
|
111
|
+
"@elliemae/ds-shared": "3.17.0-next.14",
|
|
112
|
+
"@elliemae/ds-system": "3.17.0-next.14",
|
|
113
|
+
"@elliemae/ds-utilities": "3.17.0-next.14"
|
|
114
114
|
},
|
|
115
115
|
"devDependencies": {
|
|
116
116
|
"@testing-library/jest-dom": "~5.16.5",
|