react-magma-dom 4.10.0-next.8 → 4.10.0-next.9
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/components/Drawer/Drawer.d.ts +5 -0
- package/dist/components/Modal/Modal.d.ts +6 -1
- package/dist/esm/index.js +52 -41
- package/dist/esm/index.js.map +1 -1
- package/dist/hooks/useDeviceDetect.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/properties.json +41 -31
- package/dist/react-magma-dom.cjs.development.js +52 -40
- package/dist/react-magma-dom.cjs.development.js.map +1 -1
- package/dist/react-magma-dom.cjs.production.min.js +1 -1
- package/dist/react-magma-dom.cjs.production.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -27,6 +27,11 @@ export interface DrawerProps extends Omit<ModalProps, 'size'> {
|
|
|
27
27
|
* @default DrawerPosition.top
|
|
28
28
|
*/
|
|
29
29
|
position?: DrawerPosition;
|
|
30
|
+
/**
|
|
31
|
+
* Shows a background overlay when the drawer is open.
|
|
32
|
+
* @default true
|
|
33
|
+
*/
|
|
34
|
+
showBackgroundOverlay?: boolean;
|
|
30
35
|
isInverse?: boolean;
|
|
31
36
|
}
|
|
32
37
|
export declare const Drawer: React.ForwardRefExoticComponent<DrawerProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -46,7 +46,7 @@ export interface ModalProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
46
46
|
*/
|
|
47
47
|
isBackgroundClickDisabled?: boolean;
|
|
48
48
|
/**
|
|
49
|
-
* If true, the close button the
|
|
49
|
+
* If true, the close button the modal will be suppressed
|
|
50
50
|
* @default false
|
|
51
51
|
*/
|
|
52
52
|
isCloseButtonHidden?: boolean;
|
|
@@ -83,6 +83,11 @@ export interface ModalProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
83
83
|
* @default ModalSize.medium
|
|
84
84
|
*/
|
|
85
85
|
size?: ModalSize;
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
* @default true
|
|
89
|
+
*/
|
|
90
|
+
showBackgroundOverlay?: boolean;
|
|
86
91
|
/**
|
|
87
92
|
* @internal
|
|
88
93
|
*/
|