@muraldevkit/ui-toolkit 2.25.0 → 2.26.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.
|
@@ -4,6 +4,10 @@ import { ModalSize, ModalState } from '../constants';
|
|
|
4
4
|
import { MrlDeviceClient } from '../../../contexts/MrlDeviceProvider';
|
|
5
5
|
import './MrlModal.global.scss';
|
|
6
6
|
interface ModalProps extends MrlComponentProps {
|
|
7
|
+
/**
|
|
8
|
+
* Aria label for the modal
|
|
9
|
+
*/
|
|
10
|
+
ariaLabel?: string;
|
|
7
11
|
/**
|
|
8
12
|
* Content of the modal
|
|
9
13
|
*/
|
|
@@ -47,5 +51,5 @@ interface ModalProps extends MrlComponentProps {
|
|
|
47
51
|
* @param {React.ReactElement} props.children - Children to be rendered within the modal. The first child is used as the trigger.
|
|
48
52
|
* @returns {React.ReactElement} an instance of the MrlModal
|
|
49
53
|
*/
|
|
50
|
-
export declare const MrlModal: ({ children, className, client, closable, loading, size, state, hookClose, attrs }: ModalProps) => ReactElement;
|
|
54
|
+
export declare const MrlModal: ({ ariaLabel, children, className, client, closable, loading, size, state, hookClose, attrs }: ModalProps) => ReactElement;
|
|
51
55
|
export {};
|