@dfds-ui/modal 2.2.0-alpha.98e68873 → 2.2.0-alpha.9bb1ab0f
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/modal/Modal.d.ts +1 -1
- package/cjs/modal/ModalAction.d.ts +2 -2
- package/cjs/modal/ModalActionsContainer.d.ts +1 -1
- package/cjs/modal/ModalBody.d.ts +3 -3
- package/cjs/modal/ModalCloseButton.d.ts +1 -1
- package/cjs/modal/ModalDialog.d.ts +6 -6
- package/cjs/modal/ModalDialog.js +8 -8
- package/cjs/modal/ModalFooter.d.ts +1 -1
- package/cjs/modal/ModalHeader.d.ts +1 -1
- package/cjs/modal/ModalHeadline.d.ts +1 -1
- package/cjs/modal/ModalPanel.d.ts +4 -4
- package/cjs/modal/ReactModalWrapper.d.ts +1 -1
- package/modal/Modal.d.ts +1 -1
- package/modal/ModalAction.d.ts +2 -2
- package/modal/ModalActionsContainer.d.ts +1 -1
- package/modal/ModalBody.d.ts +3 -3
- package/modal/ModalCloseButton.d.ts +1 -1
- package/modal/ModalDialog.d.ts +6 -6
- package/modal/ModalDialog.js +5 -5
- package/modal/ModalFooter.d.ts +1 -1
- package/modal/ModalHeader.d.ts +1 -1
- package/modal/ModalHeadline.d.ts +1 -1
- package/modal/ModalPanel.d.ts +4 -4
- package/modal/ReactModalWrapper.d.ts +1 -1
- package/package.json +8 -8
package/modal/ModalPanel.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
|
-
export
|
|
2
|
+
export type ModalPanelProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Determines if the modal should be shown or not.
|
|
5
5
|
*/
|
|
@@ -23,7 +23,7 @@ export declare type ModalPanelProps = {
|
|
|
23
23
|
children?: ReactNode;
|
|
24
24
|
};
|
|
25
25
|
export declare const ModalPanel: ({ isOpen, shouldCloseOnEsc, onRequestClose, zIndex, className, children, }: ModalPanelProps) => React.JSX.Element;
|
|
26
|
-
export
|
|
26
|
+
export type ModalPanelHeaderProps = {
|
|
27
27
|
/**
|
|
28
28
|
* className to be assigned to component
|
|
29
29
|
*/
|
|
@@ -31,7 +31,7 @@ export declare type ModalPanelHeaderProps = {
|
|
|
31
31
|
children: ReactNode;
|
|
32
32
|
};
|
|
33
33
|
export declare const ModalPanelHeader: ({ className, children }: ModalPanelHeaderProps) => React.JSX.Element;
|
|
34
|
-
export
|
|
34
|
+
export type ModalPanelContent = {
|
|
35
35
|
/**
|
|
36
36
|
* className to be assigned to component
|
|
37
37
|
*/
|
|
@@ -39,7 +39,7 @@ export declare type ModalPanelContent = {
|
|
|
39
39
|
children: ReactNode;
|
|
40
40
|
};
|
|
41
41
|
export declare const ModalPanelContent: ({ className, children }: ModalPanelContent) => React.JSX.Element;
|
|
42
|
-
export
|
|
42
|
+
export type ModalPanelFooterProps = {
|
|
43
43
|
/**
|
|
44
44
|
* className to be assigned to component
|
|
45
45
|
*/
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Modal components",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
|
-
"version": "2.2.0-alpha.
|
|
6
|
+
"version": "2.2.0-alpha.9bb1ab0f",
|
|
7
7
|
"sideEffects": false,
|
|
8
8
|
"main": "./cjs/index.js",
|
|
9
9
|
"module": "./index.js",
|
|
@@ -11,19 +11,19 @@
|
|
|
11
11
|
"typings": "./index.d.ts",
|
|
12
12
|
"peerDependencies": {
|
|
13
13
|
"@emotion/react": "11.14.0",
|
|
14
|
-
"@emotion/styled": "11.14.
|
|
14
|
+
"@emotion/styled": "11.14.1",
|
|
15
15
|
"react": ">= 18.3.1",
|
|
16
16
|
"react-dom": ">= 18.3.1"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@dfds-ui/colors": "2.2.0-alpha.
|
|
20
|
-
"@dfds-ui/icons": "2.2.0-alpha.
|
|
21
|
-
"@dfds-ui/react-components": "2.2.0-alpha.
|
|
22
|
-
"@dfds-ui/theme": "2.2.0-alpha.
|
|
23
|
-
"@dfds-ui/typography": "2.2.0-alpha.
|
|
19
|
+
"@dfds-ui/colors": "2.2.0-alpha.9bb1ab0f",
|
|
20
|
+
"@dfds-ui/icons": "2.2.0-alpha.9bb1ab0f",
|
|
21
|
+
"@dfds-ui/react-components": "2.2.0-alpha.9bb1ab0f",
|
|
22
|
+
"@dfds-ui/theme": "2.2.0-alpha.9bb1ab0f",
|
|
23
|
+
"@dfds-ui/typography": "2.2.0-alpha.9bb1ab0f",
|
|
24
24
|
"react-modal": "3.16.3"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "9bb1ab0fca74964da6edd580e53f175a223b4f49",
|
|
27
27
|
"publishConfig": {
|
|
28
28
|
"access": "public"
|
|
29
29
|
}
|