@muraldevkit/ui-toolkit 4.49.1 → 4.49.2-dev-5BFf.1
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.
|
@@ -50,12 +50,22 @@ declare class MrlRovingTabindex extends React.Component<RovingPropTypes> {
|
|
|
50
50
|
* Runs when the MrlRovingTabindex component mounts
|
|
51
51
|
*/
|
|
52
52
|
componentDidMount(): void;
|
|
53
|
+
/**
|
|
54
|
+
* Runs when the MrlRovingTabindex component unmounts
|
|
55
|
+
*/
|
|
56
|
+
componentWillUnmount(): void;
|
|
53
57
|
/**
|
|
54
58
|
* Runs when the MrlRovingTabindex component updates
|
|
55
59
|
* @param {RovingPropTypes} prevProps - the props before the component updated
|
|
56
60
|
*/
|
|
57
61
|
componentDidUpdate(prevProps: RovingPropTypes): void;
|
|
58
62
|
handleRef: (ref: HTMLDivElement) => HTMLDivElement;
|
|
63
|
+
/**
|
|
64
|
+
* Handles focus changes to detect when focus leaves the roving tabindex container
|
|
65
|
+
* @param {FocusEvent} event - the focus event
|
|
66
|
+
* @returns {void}
|
|
67
|
+
*/
|
|
68
|
+
handleFocusChange: (event: FocusEvent) => void;
|
|
59
69
|
/**
|
|
60
70
|
* Sets component array of elements
|
|
61
71
|
* @returns {void}
|