@m4l/components 9.1.49 → 9.1.50
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.
|
@@ -48,7 +48,7 @@ import { DialogProps } from './types';
|
|
|
48
48
|
* @returns {JSX.Element} Rendered dialog component.
|
|
49
49
|
* @author cesar - automatic
|
|
50
50
|
* @createdAt 2024-11-06 10:50:22 - automatic
|
|
51
|
-
* @updatedAt
|
|
51
|
+
* @updatedAt 2025-01-02 10:02:18 - automatic
|
|
52
52
|
* @updatedUser cesar - automatic
|
|
53
53
|
*/
|
|
54
54
|
export declare const Dialog: import('react').ForwardRefExoticComponent<Omit<DialogProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -12,7 +12,8 @@ const Dialog = forwardRef((props, ref) => {
|
|
|
12
12
|
color,
|
|
13
13
|
dataTestId,
|
|
14
14
|
children,
|
|
15
|
-
fullScreen
|
|
15
|
+
fullScreen,
|
|
16
|
+
...others
|
|
16
17
|
} = props;
|
|
17
18
|
const ownerState = {
|
|
18
19
|
dialogVariant: variant,
|
|
@@ -28,7 +29,7 @@ const Dialog = forwardRef((props, ref) => {
|
|
|
28
29
|
ref,
|
|
29
30
|
role: "dialog-role",
|
|
30
31
|
ownerState,
|
|
31
|
-
...
|
|
32
|
+
...others,
|
|
32
33
|
children
|
|
33
34
|
}
|
|
34
35
|
);
|