@muraldevkit/ui-toolkit 2.29.3 → 2.29.4
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.
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React, { ReactElement } from 'react';
|
|
2
2
|
import { AttrsObject } from '../../../utils';
|
|
3
3
|
import { MrlTooltipAnchor, MrlTooltipPosition, MrlTooltipVariant } from '../constants';
|
|
4
|
+
import '../../../styles/shared/a11y-helpers/a11y.global.scss';
|
|
4
5
|
interface MrlTooltipProps {
|
|
5
6
|
/** The arrow position of the tooltip in relation to its trigger's content */
|
|
6
7
|
anchor?: MrlTooltipAnchor;
|
|
@@ -18,7 +18,7 @@ interface MrlTooltipContentProps {
|
|
|
18
18
|
/** The kind of tooltip to be rendered */
|
|
19
19
|
kind: MrlTooltipVariant;
|
|
20
20
|
/** The id of the tooltip used for aria-describedby in the parent component */
|
|
21
|
-
id
|
|
21
|
+
id?: string;
|
|
22
22
|
/** The placement of the tooltip in relation to its trigger */
|
|
23
23
|
position: MrlTooltipPosition;
|
|
24
24
|
/** The tooltip content to display */
|